:root {
  /*
   * Neutrale, institutionelle Gestaltung mit dunklem Rot als Akzent.
   * Bitte bei Bedarf mit den verbindlichen KUG-Corporate-Design-Farben abgleichen.
   */
  --kug-accent: #567093;
  --kug-accent-dark: #567093;
  --text: #202124;
  --muted: #5f6368;
  --line: #dedfe2;
  --page-bg: #ffffff;
  --soft-bg: #f6f6f5;
  --content-width: 920px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--kug-accent-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  border: 2px solid var(--kug-accent);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.header-inner,
.content,
.footer-inner {
  width: min(calc(100% - 48px), var(--content-width));
  margin-inline: auto;
}

.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.logo {
  display: block;
  width: min(280px, 52vw);
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
}

.brand-fallback {
  display: none;
  color: var(--kug-accent-dark);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.2;
}

.header-label {
  color: var(--muted);
  font-size: 20px;
  text-align: right;
}

.content {
  padding-top: clamp(42px, 7vw, 78px);
  padding-bottom: clamp(48px, 8vw, 88px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--kug-accent-dark);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--kug-accent);
}

h1 {
  max-width: 780px;
  margin: 0 0 24px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

p {
  max-width: 760px;
  margin: 0 0 18px;
}

.lead {
  font-size: clamp(1.12rem, 2.1vw, 1.32rem);
  line-height: 1.65;
}

.notice {
  max-width: 800px;
  margin-top: 32px;
  padding: 22px 26px;
  background: var(--soft-bg);
  border-left: 4px solid var(--kug-accent);
}

.notice h2 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.4;
}

.notice p {
  margin: 0;
}

.after-notice {
  margin-top: 24px; /* Erzeugt Abstand zum Element darüber */
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--kug-accent-dark);
  border-radius: 2px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.button-primary {
  background: var(--kug-accent-dark);
  color: #fff;
}

.button-primary:hover {
  background: #5f151d;
  color: #fff;
}

.button-secondary {
  background: #fff;
  color: var(--kug-accent-dark);
}

.button-secondary:hover {
  background: var(--soft-bg);
}

.small-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fafafa;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px 28px;
  padding-block: 20px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 600px) {
  .header-inner,
  .content,
  .footer-inner {
    width: min(calc(100% - 32px), var(--content-width));
  }

  .header-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-block: 18px;
  }

  .logo {
    width: min(250px, 78vw);
  }

  .header-label {
    text-align: left;
  }

  .notice {
    padding: 18px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
