/* ============================================================
   LESESEITEN — Ratgeber
   Dieselben Token wie die Startseite, aber auf Lesen getrimmt:
   ruhige Spalte, klare Hierarchie, nichts das vom Text ablenkt.
   ============================================================ */

.lese-fortschritt{
  position:fixed;top:0;left:0;height:2px;width:0;z-index:60;
  background:linear-gradient(90deg,var(--rose),#F5C6A0);
  transition:width .1s linear;
}

.brotkrumen{
  font-family:'IBM Plex Mono',ui-monospace,monospace;
  font-size:11px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--nebel);display:flex;gap:9px;flex-wrap:wrap;align-items:center;
  margin:0 0 22px;
}
.brotkrumen a{color:var(--nebel);text-decoration:none;border-bottom:1px solid transparent}
.brotkrumen a:hover,.brotkrumen a:focus-visible{color:var(--rose);border-bottom-color:var(--rose)}
.brotkrumen span[aria-hidden]{opacity:.45}

.lese{
  max-width:1180px;margin:0 auto;padding:0 var(--rand);
  display:grid;grid-template-columns:minmax(0,1fr);gap:0;
}
@media(min-width:1080px){
  .lese{grid-template-columns:minmax(0,1fr) 236px;gap:56px;align-items:start}
}

.lese-kopf{padding:112px 0 0}
.lese-rubrik{
  font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.2em;
  text-transform:uppercase;color:var(--rose);margin:0 0 14px;
}
.lese h1{
  font-size:clamp(1.9rem,4.6vw,3rem);line-height:1.08;font-weight:800;
  letter-spacing:-.02em;margin:0 0 18px;text-wrap:balance;max-width:19ch;
}

/* Die Kernantwort steht ganz oben — das ist der Punkt, den Suchmaschinen
   und Sprachmodelle zitieren. Deshalb optisch abgesetzt, nicht versteckt. */
.kurzantwort{
  border:1px solid var(--linie);border-left:3px solid var(--rose);
  border-radius:10px;background:var(--karte);
  padding:22px 24px;margin:0 0 8px;max-width:66ch;
}
.kurzantwort p{margin:0;font-size:1.02rem;line-height:1.68;color:var(--tinte)}
.kurzantwort .marke{
  display:block;font-family:'IBM Plex Mono',monospace;font-size:10.5px;
  letter-spacing:.18em;text-transform:uppercase;color:var(--rose);margin-bottom:10px;
}

.lese-meta{
  font-family:'IBM Plex Mono',monospace;font-size:11.5px;color:var(--nebel);
  margin:16px 0 0;display:flex;gap:16px;flex-wrap:wrap;
}

.lese-text{max-width:66ch;padding:8px 0 0}
.lese-text h2{
  font-size:clamp(1.28rem,2.5vw,1.65rem);line-height:1.22;font-weight:600;
  letter-spacing:-.01em;margin:52px 0 14px;scroll-margin-top:84px;text-wrap:balance;
}
.lese-text h2::before{
  content:"";display:block;width:34px;height:1px;background:var(--rose);
  margin-bottom:16px;opacity:.7;
}
.lese-text p{margin:0 0 17px;line-height:1.72;color:#DCD8D0}
.lese-text p:last-child{margin-bottom:0}
.lese-text strong{color:var(--tinte);font-weight:600}
.lese-text a{color:var(--rose);text-decoration:none;border-bottom:1px solid rgba(228,142,158,.4)}
.lese-text a:hover,.lese-text a:focus-visible{border-bottom-color:var(--rose)}

/* Inhaltsverzeichnis: klebt mit, zeigt den gelesenen Abschnitt */
.inhalt{display:none}
@media(min-width:1080px){
  .inhalt{
    display:block;position:sticky;top:96px;
    font-size:13.5px;line-height:1.45;
  }
  .inhalt b{
    display:block;font-family:'IBM Plex Mono',monospace;font-size:10.5px;
    letter-spacing:.18em;text-transform:uppercase;color:var(--nebel);
    margin-bottom:14px;font-weight:400;
  }
  .inhalt ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
  .inhalt a{
    display:block;color:var(--nebel);text-decoration:none;
    padding:6px 0 6px 13px;border-left:1px solid var(--linie);
    transition:color .2s ease,border-color .2s ease;
  }
  .inhalt a:hover,.inhalt a:focus-visible{color:var(--tinte);border-left-color:var(--linie-hell)}
  .inhalt a[aria-current="true"]{color:var(--rose);border-left-color:var(--rose)}
}

/* Fragen und Antworten — aufklappbar, aber im Quelltext immer vollständig */
.fragen{margin:64px 0 0;max-width:66ch}
.fragen > h2{
  font-size:clamp(1.28rem,2.5vw,1.65rem);font-weight:600;margin:0 0 20px;
  letter-spacing:-.01em;scroll-margin-top:84px;
}
.fragen details{
  border-top:1px solid var(--linie);
}
.fragen details:last-of-type{border-bottom:1px solid var(--linie)}
.fragen summary{
  cursor:pointer;padding:17px 34px 17px 0;position:relative;
  font-weight:600;font-size:1rem;line-height:1.45;color:var(--tinte);
  list-style:none;
}
.fragen summary::-webkit-details-marker{display:none}
.fragen summary::after{
  content:"";position:absolute;right:6px;top:24px;
  width:9px;height:9px;border-right:1.5px solid var(--rose);border-bottom:1.5px solid var(--rose);
  transform:rotate(45deg);transition:transform .22s ease;
}
.fragen details[open] summary::after{transform:rotate(-135deg);top:27px}
.fragen summary:focus-visible{outline:2px solid var(--rose);outline-offset:3px;border-radius:4px}
.fragen details p{
  margin:0 0 19px;line-height:1.7;color:#DCD8D0;padding-right:12px;
}

/* Quellen: die Belegkette. Bewusst vollständig, nicht eingeklappt. */
.quellen{margin:64px 0 0;max-width:66ch}
.quellen h2{font-size:1.2rem;font-weight:600;margin:0 0 6px}
.quellen > p{color:var(--nebel);font-size:14.5px;margin:0 0 18px}
.quellen ol{
  margin:0;padding:0;list-style:none;counter-reset:q;
  display:flex;flex-direction:column;gap:13px;
}
.quellen li{
  counter-increment:q;padding-left:34px;position:relative;
  font-size:14.5px;line-height:1.55;color:var(--nebel);
}
.quellen li::before{
  content:counter(q);position:absolute;left:0;top:1px;
  font-family:'IBM Plex Mono',monospace;font-size:11px;color:var(--rose);
  border:1px solid var(--linie);border-radius:5px;
  min-width:23px;text-align:center;padding:2px 0;
}
.quellen a{color:var(--tinte);text-decoration:none;border-bottom:1px solid var(--linie-hell)}
.quellen a:hover,.quellen a:focus-visible{color:var(--rose);border-bottom-color:var(--rose)}

/* Weiterlesen */
.weiterlesen{margin:64px 0 0}
.weiterlesen h2{font-size:1.2rem;font-weight:600;margin:0 0 18px}
.karten{
  display:grid;gap:14px;
  grid-template-columns:repeat(auto-fit,minmax(238px,1fr));
}
.karte{
  border:1px solid var(--linie);border-radius:11px;background:var(--karte);
  padding:19px 20px;text-decoration:none;display:flex;flex-direction:column;gap:8px;
  transition:border-color .22s ease,transform .22s ease;
}
.karte:hover,.karte:focus-visible{border-color:var(--linie-hell);transform:translateY(-2px)}
.karte em{
  font-style:normal;font-family:'IBM Plex Mono',monospace;font-size:10.5px;
  letter-spacing:.16em;text-transform:uppercase;color:var(--rose);
}
.karte b{font-size:1rem;font-weight:600;color:var(--tinte);line-height:1.34}
.karte span{font-size:14px;color:var(--nebel);line-height:1.5}

/* Der eine Aufruf am Ende — zurückhaltend, die Seite verkauft nicht */
.lese-cta{
  margin:64px 0 0;border:1px solid var(--linie);border-radius:12px;
  background:var(--karte);padding:26px 26px 28px;max-width:66ch;
}
.lese-cta b{display:block;font-size:1.14rem;font-weight:600;margin-bottom:8px}
.lese-cta p{margin:0 0 18px;color:var(--nebel);line-height:1.65}
.lese-cta a{
  display:inline-block;background:var(--rose);color:#0E2430;font-weight:600;
  text-decoration:none;border-radius:8px;padding:11px 20px;font-size:.94rem;
  transition:transform .18s ease;
}
.lese-cta a:hover,.lese-cta a:focus-visible{transform:translateY(-1px)}

/* Übersichtsseite */
.uebersicht-kopf{padding:112px 0 0;max-width:66ch}
.uebersicht-kopf h1{margin-bottom:16px}
.uebersicht-kopf p{color:var(--nebel);line-height:1.7;margin:0}
.uebersicht-liste{
  margin:44px 0 0;display:grid;gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(292px,1fr));
}
.uebersicht-liste .karte{padding:24px 24px 26px;gap:10px}
.uebersicht-liste .karte span{font-size:14.5px}
.uebersicht-liste .karte .zahlen{
  font-family:'IBM Plex Mono',monospace;font-size:11px;color:var(--nebel);
  letter-spacing:.06em;margin-top:4px;
}

@media(max-width:700px){
  .lese-kopf,.uebersicht-kopf{padding-top:88px}
  .kurzantwort{padding:19px 20px}
  .lese-text h2{margin-top:44px}
}
@media(prefers-reduced-motion:reduce){
  .karte,.lese-cta a{transition:none}
  .karte:hover{transform:none}
}


/* ============================================================
   BÜHNE — das Bild über dem Titel
   Scrollgetrieben: das Bild zieht langsamer mit als die Seite,
   der Schleier darüber wird dichter, damit die Schrift trägt.
   Beides läuft über CSS-Variablen, die lesen.js setzt.
   ============================================================ */
.lese-buehne{
  position:relative;height:clamp(300px,52svh,520px);
  overflow:hidden;background:var(--karte);
  margin-bottom:0;
}
.lese-buehne img{
  position:absolute;inset:0;width:100%;height:126%;
  object-fit:cover;object-position:center 42%;
  transform:translate3d(0,var(--zug,0px),0) scale(var(--zoom,1));
  transform-origin:center 30%;
  will-change:transform;
}
/* Zwei Schleier: einer legt den Grundton der Seite über das Bild,
   der zweite wird beim Scrollen dichter und hält den Text lesbar. */
.lese-buehne::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(to bottom,rgba(14,36,48,.30) 0%,rgba(14,36,48,.10) 34%,rgba(14,36,48,.86) 88%,var(--grund) 100%),
    linear-gradient(to right,rgba(14,36,48,.62) 0%,rgba(14,36,48,.16) 62%,rgba(14,36,48,0) 100%);
}
.lese-buehne::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:var(--grund);opacity:var(--schleier,0);
}
.buehne-text{
  position:relative;z-index:3;height:100%;
  max-width:1180px;margin:0 auto;padding:0 var(--rand) 34px;
  display:flex;flex-direction:column;justify-content:flex-end;
}
.buehne-text .buehne-zeile{margin-bottom:16px}
.buehne-text h1{
  margin:0;max-width:17ch;
  text-shadow:0 2px 34px rgba(14,36,48,.66);
}
.buehne-text .lese-rubrik{text-shadow:0 1px 18px rgba(14,36,48,.7)}

/* Auf einer Seite MIT Bühne startet der Text direkt darunter */
.lese-buehne + .lese .lese-kopf,
.lese-buehne + .lese .uebersicht-kopf{padding-top:38px}

/* Bildnachweis: die Bilder sind Illustrationen, das gehört hingeschrieben */
/* Der Nachweis gehört dorthin, wo das Bild noch zu sehen ist —
   am unteren Bühnenrand ist längst der Seitengrund darüber. */
.buehne-zeile{
  display:flex;align-items:baseline;justify-content:space-between;
  gap:18px;flex-wrap:wrap;
}
.buehne-zeile .brotkrumen{margin-bottom:0}
.buehne-nachweis{
  font-family:'IBM Plex Mono',ui-monospace,monospace;
  font-size:10px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--nebel);opacity:.7;white-space:nowrap;
}

@media(max-width:700px){
  .lese-buehne{height:clamp(280px,46svh,380px)}
  .buehne-text{padding-bottom:24px}
  .buehne-nachweis{display:none}
  /* 17ch sind auf einem Telefon zu eng — der Titel bricht sonst
     in vier Zeilen und drückt die Bühne auseinander. */
  .buehne-text h1{max-width:none;font-size:clamp(1.62rem,6.4vw,2.1rem)}
}
@media(prefers-reduced-motion:reduce){
  .lese-buehne img{transform:none;height:100%}
}

/* Sprunglink: nur sichtbar, wenn er per Tastatur erreicht wird */
.sprung{
  position:absolute;left:-9999px;top:0;z-index:80;
  background:var(--rose);color:#0E2430;font-weight:600;
  padding:11px 18px;border-radius:0 0 8px 0;text-decoration:none;
}
.sprung:focus{left:0}
