/* ==========================================================================
   Design Tokens — Klinische Klarheit
   ========================================================================== */
:root{
  --primary: #1D4B6E;
  --primary-ink: oklch(30% 0.08 240);
  --primary-soft: oklch(92% 0.02 240);
  --accent: #A9C6B4;
  --accent-ink: oklch(45% 0.07 155);
  --bg: #FFFFFF;
  --bg-subtle: oklch(97.5% 0.006 240);
  --bg-tint: oklch(94% 0.015 155);
  --text: #16222E;
  --text-muted: oklch(42% 0.03 240);
  --border: oklch(88% 0.012 240);
  --radius: 4px;
  --radius-feature: 28px;
  --shadow-sm: 0 1px 2px oklch(30% 0.05 240 / 0.07), 0 1px 1px oklch(30% 0.05 240 / 0.04);
  --shadow-md: 0 12px 32px oklch(30% 0.08 240 / 0.12), 0 2px 8px oklch(30% 0.08 240 / 0.06);
  --space-unit: 0.5rem;
  --space-section-sm: clamp(3rem, 2.4rem + 2.5vw, 4rem);
  --space-section-md: clamp(4rem, 3rem + 4vw, 6rem);
  --space-section-lg: clamp(5rem, 3.5rem + 6vw, 8rem);
  --space-section-xl: clamp(6rem, 4rem + 8vw, 10rem);
  --container: 1200px;
  --container-narrow: 760px;
  --font-display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-base: 280ms;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body{
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe{ max-width: 100%; height: auto; display: block; }
svg{ max-width: 100%; height: auto; }
.icon{ width: 1.4em; height: 1.4em; flex: 0 0 auto; vertical-align: middle; max-width: 32px; max-height: 32px; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font: inherit; cursor: pointer; }
input, textarea{ font: inherit; }

p, li{ text-wrap: pretty; max-width: 65ch; }
h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--primary-ink);
  text-wrap: pretty;
  margin: 0 0 0.5em;
}
h1{ font-size: clamp(2.75rem, 2rem + 3.2vw, 4.5rem); line-height: 1.05; letter-spacing: -0.01em; }
h2{ font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.625rem); }
h3{ font-size: clamp(1.4rem, 1.2rem + 0.9vw, 2rem); }
h4{ font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.375rem); }
.eyebrow{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: block;
  margin-bottom: 0.9em;
}
.lead{ font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem); color: var(--text-muted); max-width: 60ch; }
.serif-accent{ font-family: var(--font-display); font-style: italic; color: var(--accent-ink); }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container{ max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 1rem + 2vw, 2.5rem); }
.container-narrow{ max-width: var(--container-narrow); margin-inline: auto; padding-inline: clamp(1.25rem, 1rem + 2vw, 2.5rem); }
.section{ padding-block: var(--space-section-md); }
.section--sm{ padding-block: var(--space-section-sm); }
.section--lg{ padding-block: var(--space-section-lg); }
.section--xl{ padding-block: var(--space-section-xl); }
.section--subtle{ background: var(--bg-subtle); }
.section--tint{ background: var(--bg-tint); }
.align-right{ text-align: right; margin-left: auto; }
.align-right .lead{ margin-left: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:active{ transform: scale(0.98); }
.btn--primary{ background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover{ background: var(--primary-ink); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn--ghost{ background: transparent; color: var(--primary); border-color: var(--border); }
.btn--ghost:hover{ background: var(--bg-subtle); border-color: var(--primary); }
.btn--on-dark{ background: #fff; color: var(--primary-ink); }
.btn--on-dark:hover{ background: var(--accent); }

/* ==========================================================================
   Fact grid (narrow sidebar pattern)
   ========================================================================== */
.fact-list{ display: flex; flex-direction: column; gap: 1.5rem; }
.fact-item{ border-top: 1px solid var(--border); padding-top: 1rem; }
.fact-item dt{ font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.35rem; }
.fact-item dd{ margin: 0; font-family: var(--font-display); font-size: 1.15rem; color: var(--primary-ink); }

/* ==========================================================================
   Skip link & focus states
   ========================================================================== */
.skip-link{
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--primary); color: #fff; padding: 0.85rem 1.5rem; border-radius: var(--radius);
}
.skip-link:focus{ left: 1rem; top: 1rem; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}
