/* ===========================================================================
   page.css — gemeinsames Stylesheet der Inhaltsseiten (SEO-Cluster).
   Kein Tailwind: die Startseite bringt ihr eigenes vorkompiliertes tailwind.css
   mit, das genau ihre Klassen enthaelt. Textseiten brauchen davon fast nichts,
   also stehen sie auf eigenen Fuessen — ~8 KB, eine Datei fuer alle fuenf,
   ein Jahr im Cache. Farben und Schrift sind dieselben wie auf der Startseite.
   ACHTUNG: Neue Tailwind-Klassen auf der STARTSEITE muessen in tailwind.css
   vorhanden sein — es gibt keinen Laufzeit-Compiler mehr, der sie nachbaut.
   =========================================================================== */

@font-face{
  font-family:'Manrope';
  src:url('fonts/Manrope-Variable.woff2') format('woff2-variations');
  font-weight:200 800;font-style:normal;font-display:swap;
}

*{box-sizing:border-box}

:root{
  --deep:#07212E; --ink:#0B2A3D; --ocean:#0E6E9E; --ocean2:#0F7FB6;
  --aqua:#16B4D6; --aqualt:#5FD3EA; --mist:#ECF5F9; --sand:#E7D3B5;
  --rule:rgba(11,42,61,.12);
}

html{scroll-behavior:smooth}
body{
  margin:0;font-family:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
  color:var(--ink);background:#fff;line-height:1.65;-webkit-font-smoothing:antialiased;
  font-size:17px;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--ocean)}
a:focus-visible,button:focus-visible{outline:2px solid var(--aqua);outline-offset:3px}

.wrap{max-width:62rem;margin:0 auto;padding:0 1.5rem}
/* Die Textspalte teilt sich die LINKE Kante mit dem Kopfbereich (.wrap),
   statt eigenstaendig mittig zu stehen — sonst springt der Blick beim
   Uebergang vom Einstieg in den Fliesstext um gut 140 px nach rechts.
   Die Lesebreite von ~44rem bleibt, sie wird nur innen begrenzt. */
.narrow{max-width:62rem;margin:0 auto;padding:0 1.5rem}
.narrow > *{max-width:44rem}
.head{font-weight:760;letter-spacing:-.03em}
.label{font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}

/* ---------- Kopf ---------- */
header.site{background:var(--deep);color:#fff;padding:1.15rem 0;position:relative;z-index:2}
header.site .bar{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
header.site a{color:#fff;text-decoration:none}
header.site .brand{font-weight:700;font-size:1.05rem;letter-spacing:-.02em}
header.site nav{display:flex;flex-wrap:wrap;gap:.4rem 1.5rem;font-size:.85rem;font-weight:600}
header.site nav a{color:rgba(255,255,255,.72)}
header.site nav a:hover,header.site nav a[aria-current]{color:var(--aqualt)}
header.site nav a[aria-current]{cursor:default}
@media (max-width:720px){ header.site .bar{flex-direction:column;align-items:flex-start;gap:.85rem} }

/* ---------- Einstieg ---------- */
.intro{background:var(--deep);color:#fff;padding:3.4rem 0 3.8rem}
.intro .label{color:var(--aqualt)}
.intro h1{
  font-size:clamp(1.95rem,4.6vw,3rem);line-height:1.08;margin:.95rem 0 0;
  text-wrap:balance;max-width:22ch;font-weight:760;letter-spacing:-.03em;
}
.intro .lede{margin:1.35rem 0 0;max-width:40rem;color:rgba(255,255,255,.84);font-size:1.06rem}
.intro .meta{
  margin:1.9rem 0 0;padding-top:1.2rem;border-top:1px solid rgba(255,255,255,.16);
  font-size:.83rem;color:rgba(255,255,255,.6);display:flex;flex-wrap:wrap;gap:.4rem 1.6rem;
}

/* ---------- Fliesstext ---------- */
article{padding:3.4rem 0 1rem}
article h2{
  font-size:clamp(1.35rem,2.7vw,1.75rem);line-height:1.2;margin:3.2rem 0 .9rem;
  font-weight:760;letter-spacing:-.028em;text-wrap:balance;
}
article h2:first-child{margin-top:0}
article h3{font-size:1.08rem;line-height:1.35;margin:2.1rem 0 .5rem;font-weight:750;letter-spacing:-.015em}
article p{margin:0 0 1.15rem}
article > .narrow > p:first-of-type{font-size:1.09rem}
article ul,article ol{margin:0 0 1.3rem;padding-left:1.25rem}
article li{margin:0 0 .55rem}
article li::marker{color:var(--ocean)}
article strong{font-weight:720}
article a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(14,110,158,.35)}
article a:hover{text-decoration-color:var(--ocean)}

/* Kernaussage einer Sektion — steht bewusst vorne, damit sie zitierbar ist. */
.key{
  margin:0 0 1.5rem;padding:1.1rem 1.3rem;background:var(--mist);
  border-left:3px solid var(--ocean);border-radius:0 .7rem .7rem 0;
  font-size:1.02rem;line-height:1.6;
}
.key p{margin:0}

.note{
  margin:2rem 0;padding:1.15rem 1.3rem;border:1px solid var(--rule);border-radius:.9rem;
  font-size:.94rem;color:rgba(11,42,61,.8);background:#fff;
}
.note p{margin:0 0 .7rem}
.note p:last-child{margin:0}
.note .label{color:var(--ocean);display:block;margin-bottom:.55rem}

/* ---------- Tabellen ---------- */
.tablewrap{overflow-x:auto;margin:0 0 1.7rem;border:1px solid var(--rule);border-radius:.9rem}
table{border-collapse:collapse;width:100%;font-size:.93rem;min-width:30rem}
th,td{text-align:left;padding:.78rem 1rem;border-bottom:1px solid var(--rule);vertical-align:top}
thead th{background:var(--mist);font-weight:720;font-size:.8rem;letter-spacing:.02em;
  text-transform:uppercase;color:rgba(11,42,61,.75);white-space:nowrap}
tbody tr:last-child td{border-bottom:0}
td.num{font-variant-numeric:tabular-nums;white-space:nowrap}

/* ---------- Zahlenreihe ---------- */
.figures{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin:2.2rem 0 2.4rem;
  padding:1.6rem 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.figures .n{font-size:clamp(1.5rem,4vw,2rem);font-weight:770;letter-spacing:-.035em;
  color:var(--ocean);font-variant-numeric:tabular-nums;line-height:1}
.figures .t{margin:.45rem 0 0;font-size:.86rem;color:rgba(11,42,61,.75);line-height:1.45}
@media (max-width:640px){ .figures{grid-template-columns:1fr;gap:1.2rem} }

/* ---------- Fragen ---------- */
.faq{margin:1.4rem 0 0;border-top:1px solid var(--rule)}
.faq details{border-bottom:1px solid var(--rule)}
.faq summary{
  cursor:pointer;padding:1.05rem 2rem 1.05rem 0;font-weight:720;font-size:1rem;
  list-style:none;position:relative;line-height:1.4;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";position:absolute;right:.35rem;top:1.45rem;width:.62rem;height:.62rem;
  border-right:2px solid var(--ocean);border-bottom:2px solid var(--ocean);
  transform:rotate(45deg);transition:transform .25s ease;
}
.faq details[open] summary::after{transform:rotate(-135deg)}
.faq details > div{padding:0 0 1.2rem}
.faq details > div p:last-child{margin:0}

/* ---------- Handlungsband ---------- */
.cta{background:var(--deep);color:#fff;margin-top:4rem;padding:3.4rem 0}
.cta h2{font-size:clamp(1.4rem,3vw,2rem);margin:0 0 .9rem;font-weight:760;
  letter-spacing:-.03em;line-height:1.15;text-wrap:balance;max-width:24ch}
.cta p{margin:0 0 1.7rem;color:rgba(255,255,255,.8);max-width:36rem}
.knopf{
  display:inline-block;background:var(--aqua);color:var(--deep);text-decoration:none;
  font-weight:680;padding:.92rem 1.75rem;border-radius:999px;font-size:.95rem;
  transition:background .2s ease;
}
.knopf:hover{background:var(--aqualt)}
.knopf.ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.3);margin-left:.6rem}
.knopf.ghost:hover{background:rgba(255,255,255,.1)}
@media (max-width:520px){ .knopf.ghost{margin:.7rem 0 0} .cta .knopf{display:block;text-align:center} }

/* ---------- Weiterlesen ---------- */
.more{padding:3.4rem 0;background:var(--mist)}
.more h2{font-size:1.3rem;margin:0 0 1.5rem;font-weight:760;letter-spacing:-.025em}
.more ul{list-style:none;margin:0;padding:0;display:grid;gap:.9rem;
  grid-template-columns:repeat(auto-fit,minmax(16rem,1fr))}
.more a{
  display:block;height:100%;background:#fff;border:1px solid var(--rule);border-radius:.9rem;
  padding:1.15rem 1.25rem;text-decoration:none;color:var(--ink);transition:border-color .2s ease;
}
.more a:hover{border-color:rgba(14,110,158,.45)}
/* Volles Ozean-Blau statt 75 %: bei 11 px reicht die abgeschwaechte Variante
   nicht fuer 4,5:1 (gemessen 3,45:1). Voll gemessen 5,6:1. */
.more .k{display:block;font-size:.7rem;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--ocean)}
.more .h{display:block;margin:.45rem 0 0;font-weight:730;line-height:1.35;letter-spacing:-.015em}

/* ---------- Fuss ---------- */
footer.site{padding:2rem 0 3rem;border-top:1px solid var(--rule);
  font-size:.85rem;color:rgba(11,42,61,.78)}
footer.site .wrap{display:flex;flex-wrap:wrap;gap:.6rem 1.6rem;justify-content:space-between}
footer.site a{color:rgba(11,42,61,.78);text-decoration:none}
footer.site a:hover{color:var(--ocean)}

.skip{position:absolute;left:-9999px}
.skip:focus{left:1rem;top:1rem;z-index:99;background:#fff;color:var(--ink);
  padding:.7rem 1.1rem;border-radius:.5rem;box-shadow:0 8px 24px -8px rgba(0,0,0,.4)}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important}
  html{scroll-behavior:auto}
}
