/* ============================================================
   aortendissektion.de — Übergangsseite zum Relaunch
   Statisch · keine Cookies · keine externen Anfragen
   Schriften lokal gehostet (DSGVO-konform)
   Design-Tokens nach docs/aortendissektion-rahmendaten.md §4
   ============================================================ */

/* ---------- Schriften: lokal, kein Google-Server ---------- */

/* Inter — Fließtext (Variable Font, Schnitte 100–900) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Merriweather — Überschriften */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/merriweather-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/merriweather-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   Tokens
   ============================================================ */
:root {
  /* Farben — verbindlicher Hausstil */
  --petrol:      #005F73;   /* Leitfarbe: Überschriften, Links, Struktur */
  --petrol-dark: #003D4A;   /* Footer, dunkle Flächen */
  --orange:      #E9822E;   /* Akzent: Hover, Marker, sparsam */
  --ink:         #1F2426;   /* Fließtext */
  --muted:       #5B6567;   /* Sekundärtext */
  --alarm:       #B3261E;   /* NUR Notfall-Banner */

  /* Abgeleitete Flächentöne */
  --petrol-hell: #e8f1f3;
  --orange-hell: #fdf4ec;
  --alarm-hell:  #fdeeeb;
  --rand:        #d9e2e5;
  --flaeche:     #ffffff;
  --flaeche-alt: #f5f9fa;

  /* Schriftfamilien */
  --schrift-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --schrift-titel: 'Merriweather', Georgia, 'Times New Roman', serif;

  /* Fluide Abstände — wachsen stufenlos mit der Fensterbreite */
  --raum-xs: clamp(0.4rem,  0.36rem + 0.20vw, 0.55rem);
  --raum-s:  clamp(0.7rem,  0.60rem + 0.50vw, 1.00rem);
  --raum-m:  clamp(1.1rem,  0.90rem + 1.00vw, 1.75rem);
  --raum-l:  clamp(1.6rem,  1.20rem + 2.00vw, 2.75rem);
  --raum-xl: clamp(2.2rem,  1.55rem + 3.20vw, 4.25rem);

  /* Fluide Maße */
  --rand-abstand: clamp(1rem, 0.8rem + 1vw, 1.6rem);
  --radius:       clamp(8px, 7px + 0.25vw, 12px);
  --max-breite:   940px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--schrift-text);
  font-size: clamp(1rem, 0.93rem + 0.35vw, 1.1rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--flaeche);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: var(--petrol); }
a:hover { color: var(--orange); }

h1, h2, h3 {
  font-family: var(--schrift-titel);
  font-weight: 700;
  line-height: 1.25;
  color: var(--petrol);
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.3rem, 1.05rem + 1.2vw, 1.75rem); margin-top: 0; }
h3 { font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem); }

.wrap {
  max-width: var(--max-breite);
  margin: 0 auto;
  padding: 0 var(--rand-abstand);
}

/* ---------- Skip-Link ---------- */
.skip-link {
  position: absolute; left: -9999px;
  background: var(--petrol-dark); color: #fff;
  padding: var(--raum-s) var(--raum-m);
  z-index: 100;
}
.skip-link:focus { left: 0; top: 0; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  background: var(--petrol-dark);
  color: #fff;
  padding: var(--raum-s) 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--raum-s);
  text-decoration: none;
  color: #fff;
}
.brand:hover { color: #fff; }
.brand-logo {
  height: clamp(40px, 34px + 1.4vw, 52px);
  width: auto;
  flex-shrink: 0;
}
.brand-text strong {
  display: block;
  font-family: var(--schrift-titel);
  font-size: clamp(1.02rem, 0.92rem + 0.5vw, 1.22rem);
  letter-spacing: 0;
}
.brand-text small {
  display: block;
  font-size: clamp(.72rem, .68rem + 0.2vw, .8rem);
  opacity: .85;
  line-height: 1.35;
}

/* ---------- Relaunch-Hinweis ---------- */
.relaunch {
  background: linear-gradient(160deg, var(--petrol-dark) 0%, var(--petrol) 80%);
  color: #fff;
  padding: var(--raum-xl) 0;
}
.relaunch h1 {
  color: #fff;
  font-size: clamp(1.5rem, 1.15rem + 1.9vw, 2.3rem);
  margin: 0 0 var(--raum-s);
}
.relaunch .badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--schrift-text);
  font-size: clamp(.7rem, .66rem + 0.2vw, .78rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  border-radius: 100px;
  padding: var(--raum-xs) var(--raum-s);
  margin-bottom: var(--raum-s);
}
.relaunch p { max-width: 42rem; margin: 0 0 var(--raum-s); opacity: .95; }
.relaunch p:last-child { margin-bottom: 0; }
.relaunch strong { color: #fff; }

/* Sprungmarke zur Notfall-Sektion am Seitenende */
.notfall-sprung { margin-top: var(--raum-m) !important; }
.notfall-sprung a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.notfall-sprung a:hover { color: #fff; opacity: .8; }

/* ---------- Notfall ---------- */
.notfall {
  background: var(--alarm-hell);
  border: 2px solid var(--alarm);
  border-radius: var(--radius);
  padding: var(--raum-m) var(--raum-l);
  margin: var(--raum-l) 0;
}
.notfall h2 { color: var(--alarm); margin-bottom: var(--raum-s); }
.notfall h3 { color: var(--alarm); }
.notfall strong.alarm { color: var(--alarm); }
.notfall ol { margin: var(--raum-s) 0 0; padding-left: 1.4rem; }
.notfall li { margin-bottom: var(--raum-xs); }
.notruf {
  display: inline-block;
  background: var(--alarm); color: #fff;
  font-weight: 700; border-radius: 8px;
  padding: .3rem .8rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  text-decoration: none;
  white-space: nowrap;
}
.notruf:hover { background: #8d1e18; color: #fff; }

/* Symptomliste */
.symptome { list-style: none; padding: 0; margin: var(--raum-s) 0 0; }
.symptome li {
  padding: var(--raum-xs) 0 var(--raum-xs) 1.9rem;
  position: relative;
  border-bottom: 1px solid rgba(179,38,30,.2);
}
.symptome li:last-child { border-bottom: 0; }
.symptome li::before {
  content: "!";
  position: absolute; left: 0; top: .5rem;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--alarm); color: #fff;
  font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: var(--raum-xl) 0; }
.abschnitt-alt { background: var(--flaeche-alt); }
.abschnitt-kopf { max-width: 44rem; margin-bottom: var(--raum-m); }
.abschnitt-kopf .vorzeile {
  font-family: var(--schrift-text);
  text-transform: uppercase; letter-spacing: .08em;
  font-size: clamp(.74rem, .71rem + 0.18vw, .81rem);
  font-weight: 700; color: var(--orange);
  margin: 0 0 var(--raum-xs);
}

/* Begriffe */
.begriffe { margin: var(--raum-s) 0 0; }
.begriffe dt { font-weight: 700; color: var(--petrol); margin-top: var(--raum-s); }
.begriffe dd { margin: .15rem 0 0 0; }

/* Link-Karten */
.karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: var(--raum-m);
  margin-top: var(--raum-m);
}
.karte {
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: var(--raum-m);
}
.karte h3 { margin-top: 0; margin-bottom: var(--raum-xs); }
.karte p { margin: 0 0 var(--raum-s); }
.karte ul { margin: 0; padding-left: 1.1rem; }
.karte li { margin-bottom: var(--raum-xs); }

/* Zentren-Liste */
.zentren {
  columns: 2;
  column-gap: var(--raum-l);
  list-style: none;
  padding: 0;
  margin: var(--raum-s) 0 0;
}
.zentren li {
  padding: .3rem 0 .3rem 1.2rem;
  position: relative;
  break-inside: avoid;
}
.zentren li::before {
  content: "▸";
  position: absolute; left: 0;
  color: var(--petrol);
}
@media (max-width: 620px) { .zentren { columns: 1; } }

/* Kontakt */
.kontakt-box {
  background: var(--orange-hell);
  border-left: 5px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--raum-m) var(--raum-l);
}

blockquote {
  margin: var(--raum-m) 0;
  padding: var(--raum-s) var(--raum-m);
  border-left: 4px solid var(--petrol);
  background: var(--petrol-hell);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}
blockquote cite {
  display: block; margin-top: var(--raum-xs);
  font-style: normal; font-size: .88rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--petrol-dark);
  color: rgba(255,255,255,.85);
  padding: var(--raum-l) 0 var(--raum-m);
  font-size: clamp(.88rem, .84rem + 0.2vw, .96rem);
}
.footer-disclaimer {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: var(--raum-m) var(--raum-l);
  margin-bottom: var(--raum-m);
}
.footer-disclaimer strong { color: #fff; }
.footer-disclaimer p { margin: var(--raum-xs) 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange); }
.footer-links {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: var(--raum-xs) var(--raum-m);
  padding: 0; margin: 0;
}
.footer-meta {
  margin-top: var(--raum-m); padding-top: var(--raum-s);
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: .85rem;
  display: flex; flex-wrap: wrap;
  gap: var(--raum-xs) var(--raum-l);
  justify-content: space-between;
}

/* ---------- Rechtsseiten ---------- */
.rechtstext { padding: var(--raum-l) 0 var(--raum-m); }
.rechtstext h1 { font-size: clamp(1.45rem, 1.15rem + 1.4vw, 1.95rem); }
.rechtstext h2 {
  font-size: clamp(1.1rem, 0.98rem + 0.6vw, 1.35rem);
  margin-top: var(--raum-l);
}
.platzhalter-feld {
  background: #fff8e1;
  border: 1px dashed #d09b1c;
  border-radius: 6px;
  padding: .15rem .5rem;
  font-family: Consolas, "Courier New", monospace;
  font-size: .9em;
}

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