:root {
  --page-bg: #F6F7FA;
  --text: #13244E;
  --brand-navy: #13244E;
  --brand-orange: #FD5233;
  --accent-text: #B93A1F;   /* dunklere Orange-Variante für Text (AA-Kontrast) */
  --line: #DDE2EC;
  --muted: #4A5676;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  width: min(100% - 3rem, 42rem);
  margin-inline: auto;
  padding-block: 4rem 5rem;
  text-align: center;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  line-height: 1.6;
}

.logo {
  width: clamp(72px, 14vw, 104px);
  height: auto;
  border-radius: 22%;
  margin-bottom: 1.5rem;
}

.line { margin: 0; }

.line + .line {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.primary {
  font-weight: 500;
  color: var(--brand-navy);
  font-size: clamp(1.25rem, 3.4vw, 1.75rem);
}

.line + .line { width: 100%; }

.legal {
  position: fixed;
  inset-inline: 0;
  bottom: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.legal a {
  color: var(--accent-text);
  text-underline-offset: 3px;
}

.legal a:focus-visible,
.legal a:hover { text-decoration-thickness: 2px; }

.legal a:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 480px) {
  main { width: min(100% - 2rem, 42rem); }
}
