/* nalu studios · Ratgeber im Leitfaden-Design (Beitrag, Übersicht, Rubrik, Autor). Gewählt am 13.11.2026.
   Nur auf Ratgeber-, Rubrik- und Autorenseiten geladen, liegt NACH style.css und nutzt dessen Farben, Schrift, Pillen und Abstände.
   Bewegung nach Emil: unter 300 ms, nur transform und opacity, Hover nur mit Maus, reduzierte Bewegung beachtet. */

:root { --rg-breite: 1140px; }
html { -webkit-tap-highlight-color: transparent; }
.rg {
  --rg-head: var(--white);
  --rg-text: rgb(245 245 247 / 0.86);
  --rg-muted: var(--on-dark-muted);
  --rg-line: rgb(255 255 255 / 0.14);
  --rg-akzent: var(--orange);
  --rg-flaeche: rgb(255 255 255 / 0.035);
  --rg-link: var(--white);
}
.rg a, .rg button, .rg summary { touch-action: manipulation; }
.rg summary, .rg button, .rubrik, .filter, .seiten button { -webkit-user-select: none; user-select: none; }
.rg :focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- Bausteine ---------- */

/* Brotkrumen */
.krumen ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; row-gap: 4px; font-size: 14px; line-height: 1.4; color: var(--rg-muted); }
.krumen li + li::before { content: '/'; margin: 0 10px; opacity: 0.5; }
.krumen a { color: inherit; text-decoration: none; }
.krumen [aria-current] { color: var(--rg-head); }
@media (hover: hover) and (pointer: fine) { .krumen a:hover { color: var(--rg-head); text-decoration: underline; text-underline-offset: 3px; } }
@media (max-width: 600px) { article .krumen li[aria-current] { display: none; } }

/* Rubrik-Chip: Pille wie im Kopf, mit dem orangen Punkt der Labels */
.rubrik {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; justify-self: start;
  min-height: 40px; padding: 0 16px; border: 1px solid var(--rg-line); border-radius: 999px;
  font-size: 14px; font-weight: 500; line-height: 1; color: var(--rg-head); text-decoration: none;
  transition: transform var(--t-press) var(--ease-out);
}
.rubrik::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--orange); flex: none; }
a.rubrik:active { transform: scale(0.97); }
.rubrik--still { min-height: 36px; }
@media (hover: hover) and (pointer: fine) { a.rubrik:hover { border-color: currentColor; } }

/* Autorenzeile: Foto rund, Name führt zur Autorenbox */
.autor-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.autor-zeile__foto { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 1px var(--rg-line); flex: none; }
.autor-zeile__wer { display: grid; gap: 2px; min-width: 0; }
.autor-zeile__wer a, .autor-zeile__name { font-size: 16px; font-weight: 600; color: var(--rg-head); text-decoration: none; }
.autor-zeile__wer span:not(.autor-zeile__name) { font-size: 14px; color: var(--rg-muted); }
@media (hover: hover) and (pointer: fine) { .autor-zeile__wer a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--orange); } }

/* Titelbild ohne Text, mit sachlicher Bildunterschrift (16:9, am Handy 1:1; das Motiv sitzt dafür in der Mitte) */
.titelbild { margin: 0; }
.titelbild img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #1a1a1d; }
@media (max-width: 600px) { .titelbild img { aspect-ratio: 1 / 1; } }
.titelbild figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--rg-muted); max-width: 70ch; }

/* Kurz gefasst */
.kurz { border: 1px solid var(--rg-line); border-radius: 20px; padding: clamp(20px, 2.4vw, 28px); background: var(--rg-flaeche); }
.kurz h2 { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; color: var(--rg-head); margin: 0 0 14px; }
.kurz ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.kurz li { position: relative; padding-left: 22px; font-size: 17px; line-height: 1.5; color: var(--rg-text); }
.kurz li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 999px; background: var(--orange); }

/* Inhaltsverzeichnis: details, am Handy zu, ab 1024 px offen (ratgeber.js setzt open einmal beim Laden) */
.verzeichnis { border-block: 1px solid var(--rg-line); }
.verzeichnis summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; font-size: 17px; font-weight: 500; color: var(--rg-head); }
.verzeichnis summary::-webkit-details-marker { display: none; }
.verzeichnis summary small { font-size: 14px; font-weight: 400; color: var(--rg-muted); margin-left: 10px; }
.verzeichnis ol { list-style: none; padding: 0 0 16px; margin: 0; display: grid; }
.verzeichnis a { display: flex; align-items: baseline; gap: 14px; min-height: 40px; padding-block: 8px; font-size: 16px; line-height: 1.4; color: var(--rg-text); text-decoration: none; }
.verzeichnis .nr { flex: none; width: 24px; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--rg-akzent); }
@media (hover: hover) and (pointer: fine) { .verzeichnis a:hover { color: var(--rg-head); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--orange); } }

/* Plus wird Minus: dasselbe Zeichen wie bei den Fragen der Startseite */
.plus { position: relative; width: 14px; height: 14px; flex: none; }
.plus::before, .plus::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform var(--t-ui) var(--ease-out); }
.plus::after { transform: rotate(90deg); }
details[open] > summary .plus::after { transform: rotate(0deg); }
/* Inhalt eines Aufklappers blendet kurz ein. Die Höhe springt (kein Layout animieren), nur Deckkraft und ein kleiner Weg. */
@media (prefers-reduced-motion: no-preference) {
  details[open] > summary + * { animation: rg-auf 200ms var(--ease-out) both; }
  @keyframes rg-auf { from { opacity: 0; transform: translateY(-4px); } }
}
@media (prefers-reduced-motion: reduce) {
  details[open] > summary + * { animation: rg-blende 150ms ease both; }
  @keyframes rg-blende { from { opacity: 0; } }
}

/* Fließtext mit nummerierten H2 */
.beitrag p, .beitrag li { font-size: 18px; line-height: 1.65; color: var(--rg-text); }
.beitrag p + p, .beitrag ul + p, .beitrag ol + p, .beitrag table + p { margin-top: 14px; }
.beitrag ul, .beitrag ol { padding-left: 22px; margin: 14px 0 0; display: grid; gap: 8px; }
.beitrag li::marker { color: var(--orange); }
.beitrag a:not(.quelle):not(.pill) { color: var(--rg-link); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.einstieg p:first-child { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--rg-head); }
.abschnitt { scroll-margin-top: 8px; }
.abschnitte { display: flex; flex-direction: column; gap: clamp(44px, 5vw, 60px); }
.abschnitt h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -0.025em; color: var(--rg-head); margin: 0 0 16px; }
.abschnitt h2 .nr { flex: none; display: inline-grid; place-items: center; min-width: 44px; height: 30px; padding: 0 10px; border: 1px solid var(--rg-line); border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--rg-akzent); transform: translateY(-5px); }

/* Faktenzeile: drei Etiketten als kleine Karten, am Handy eine Liste */
.fakten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
.fakten div { min-width: 0; padding: 12px 14px; border: 1px solid var(--rg-line); border-radius: 14px; background: var(--rg-flaeche); }
.fakten dt { font-size: 14px; color: var(--rg-muted); }
.fakten dd { margin: 4px 0 0; font-size: 15px; line-height: 1.4; color: var(--rg-head); }
@media (max-width: 600px) {
  .fakten { grid-template-columns: 1fr; gap: 0; padding: 0 14px; border: 1px solid var(--rg-line); border-radius: 14px; background: var(--rg-flaeche); }
  .fakten div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 10px 0; border: 0; border-radius: 0; background: none; }
  .fakten div + div { border-top: 1px solid var(--rg-line); }
  .fakten dd { margin: 0; }
}

/* [n]-Sprungmarke zur Quelle: lesbare Größe statt hochgestellt, Tippfläche größer als das Zeichen */
.quelle { position: relative; display: inline; margin-left: 2px; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--rg-akzent); text-decoration: none; }
.quelle::after { content: ''; position: absolute; inset: -10px -6px; }
@media (hover: hover) and (pointer: fine) { .quelle:hover { text-decoration: underline; text-underline-offset: 3px; } }

/* Tabelle class="ba-tab": am Rechner Zeilen, am Handy Karten mit dem Spaltennamen an jeder Zelle */
.ba-tab { margin: 22px 0 4px; width: 100%; border-collapse: collapse; font-size: 16px; }
.ba-tab caption { text-align: left; font-size: 16px; font-weight: 600; color: var(--rg-head); padding-bottom: 12px; }
.ba-tab th { text-align: left; font-size: 14px; font-weight: 500; color: var(--rg-muted); padding: 0 16px 10px 0; border-bottom: 1px solid var(--rg-line); }
.ba-tab td { padding: 13px 16px 13px 0; border-bottom: 1px solid var(--rg-line); vertical-align: top; line-height: 1.45; color: var(--rg-text); }
.ba-tab td:first-child { font-weight: 600; color: var(--rg-head); }
@media (min-width: 641px) { .ba-tab td:first-child { white-space: nowrap; } }
@media (max-width: 640px) {
  .ba-tab, .ba-tab tbody, .ba-tab tr, .ba-tab td { display: block; width: 100%; }
  .ba-tab thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ba-tab caption { display: block; }
  .ba-tab tr { border: 1px solid var(--rg-line); border-radius: 16px; padding: 4px 16px; margin-bottom: 10px; background: var(--rg-flaeche); }
  .ba-tab td { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 11px 0; }
  .ba-tab td:last-child { border-bottom: 0; }
  .ba-tab td::before { content: attr(data-label); font-size: 14px; font-weight: 400; color: var(--rg-muted); }
}

/* Häufige Fragen als Aufklapper, Frage als h3 */
.fragen h2, .quellen h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -0.025em; color: var(--rg-head); margin: 0 0 18px; scroll-margin-top: 8px; }
.fragen__liste { border-top: 1px solid var(--rg-line); }
.fragen details { border-bottom: 1px solid var(--rg-line); }
.fragen summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding-block: 14px; color: var(--rg-head); }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary h3 { margin: 0; font-size: clamp(18px, 1.5vw, 21px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.3; }
.fragen details p { padding-bottom: 20px; font-size: 17px; line-height: 1.6; color: var(--rg-text); max-width: 62ch; }
.magazin-fragen { padding-top: clamp(64px, 8vw, 112px); }

/* Quellen nummeriert, Ziel der Sprungmarke wird markiert */
.quellen ol { list-style: none; padding: 0; margin: 0; counter-reset: q; border-top: 1px solid var(--rg-line); }
.quellen li { counter-increment: q; display: grid; grid-template-columns: 36px minmax(0, 1fr); padding: 12px 0; border-bottom: 1px solid var(--rg-line); font-size: 15px; line-height: 1.55; color: var(--rg-muted); scroll-margin-top: 24px; }
.quellen li::before { content: '[' counter(q) ']'; color: var(--rg-akzent); font-variant-numeric: tabular-nums; }
.quellen li:target { background: rgb(255 106 43 / 0.1); box-shadow: -8px 0 0 rgb(255 106 43 / 0.1), 8px 0 0 rgb(255 106 43 / 0.1); }
.quellen b { font-weight: 500; color: var(--rg-head); }
.quellen a { color: var(--rg-link); overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: var(--rg-line); text-underline-offset: 3px; }

/* Transparenzzeile */
.transparenz { font-size: 15px; line-height: 1.55; color: var(--rg-muted); padding-top: 18px; border-top: 1px solid var(--rg-line); }
.transparenz a { color: var(--rg-link); text-underline-offset: 3px; }

/* Autorenbox #autor: Daten stehen nur hier, die Autorenzeile im Kopf verweist darauf */
.autorbox { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 28px; align-items: start; padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--rg-line); border-radius: 22px; background: var(--rg-flaeche); scroll-margin-top: 8px; }
.autorbox__foto { grid-row: span 2; width: 120px; height: 120px; border-radius: 18px; object-fit: cover; object-position: 50% 18%; }
.autorbox__kopf { display: grid; gap: 4px; }
.autorbox__kopf small { font-size: 14px; color: var(--rg-muted); }
.autorbox h2 { font-size: clamp(26px, 2.2vw, 32px); letter-spacing: -0.03em; color: var(--rg-head); }
.autorbox__rolle { font-size: 15px; color: var(--rg-muted); }
.autorbox p:not(.autorbox__rolle) { font-size: 16px; line-height: 1.55; color: var(--rg-text); max-width: 56ch; margin-top: 10px; }
.autorbox__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.autorbox__links .pill { min-height: 44px; font-size: 15px; padding: 0 18px; }
@media (max-width: 600px) {
  .autorbox { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; }
  .autorbox__foto { grid-row: auto; width: 76px; height: 76px; border-radius: 14px; }
  .autorbox__text { grid-column: 1 / -1; }
}

/* Brücke zur Leistung: die dunkle Karte aus Manus Angebot */
.bruecke {
  --rg-line: rgb(255 255 255 / 0.12);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px clamp(28px, 4vw, 56px);
  padding: clamp(24px, 3vw, 40px); border-radius: 24px; color: var(--white);
  background: linear-gradient(160deg, rgb(28 28 31 / 0.92), rgb(16 16 18 / 0.96)), #161618;
  border: 1px solid rgb(255 255 255 / 0.09);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.07), 0 40px 80px -40px rgb(0 0 0 / 0.8);
}
.bruecke__text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.bruecke__text small { font-size: 14px; color: var(--rg-muted); }
.bruecke h3 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.03em; line-height: 1.08; }
.bruecke p { font-size: 16px; line-height: 1.55; color: var(--rg-text); max-width: 46ch; }
.bruecke__knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.bruecke__knoepfe a:not(.pill) { font-size: 15px; color: var(--white); text-underline-offset: 4px; text-decoration-color: var(--orange); min-height: 44px; display: inline-flex; align-items: center; }
.bruecke ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rg-line); }
.bruecke li { font-size: 15px; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--rg-line); color: var(--rg-text); position: relative; }
.bruecke li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 12px; height: 6px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.bruecke__wer { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.bruecke__wer img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; object-position: 50% 20%; }
.bruecke__wer span { font-size: 14px; color: var(--rg-muted); line-height: 1.4; }
.bruecke__wer b { display: block; font-weight: 600; color: var(--white); font-size: 15px; }
@media (max-width: 760px) { .bruecke { grid-template-columns: 1fr; } }

/* Fallstudien-Karte: Bild, Zahlen von der Fallstudie, ganze Karte klickbar */
.fallkarte { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--rg-line); border-radius: 22px; overflow: hidden; background: var(--rg-flaeche); transition: transform var(--t-press) var(--ease-out); }
.fallkarte__bild { overflow: hidden; background: #1a1a1d; }
.fallkarte__bild img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 0; transition: transform 280ms var(--ease-out); }
.fallkarte__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px 32px; padding: clamp(20px, 2.4vw, 30px); }
.fallkarte__kopf { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.fallkarte__text small { font-size: 14px; color: var(--rg-muted); }
.fallkarte h3 { font-size: clamp(24px, 2vw, 30px); letter-spacing: -0.03em; color: var(--rg-head); }
.fallkarte h3 a { color: inherit; text-decoration: none; }
.fallkarte h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.fallkarte p { font-size: 15px; line-height: 1.5; color: var(--rg-text); }
.fallkarte__zahlen { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rg-line); align-self: start; }
.fallkarte__zahlen li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rg-line); font-size: 14px; line-height: 1.35; color: var(--rg-muted); }
.fallkarte__zahlen b { font-size: clamp(24px, 2.2vw, 30px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; color: var(--rg-head); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fallkarte__mehr { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 500; color: var(--rg-head); display: inline-flex; gap: 8px; }
.fallkarte__mehr i { font-style: normal; transition: transform var(--t-ui) var(--ease-out); }
.fallkarte:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .fallkarte:hover .fallkarte__bild img { transform: scale(1.02); }
  .fallkarte:hover .fallkarte__mehr i { transform: translateX(3px); }
}
@media (max-width: 600px) { .fallkarte__text { grid-template-columns: 1fr; } .fallkarte__bild img { aspect-ratio: 16 / 10; } }

/* Weiterlesen: drei ruhige Karten */
.leit-weiter { padding-bottom: var(--section); }
.weiterlesen h2 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.025em; color: var(--rg-head); margin-bottom: 20px; }
.weiterlesen ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.weiterlesen a { display: flex; flex-direction: column; gap: 12px; height: 100%; min-height: 188px; padding: 22px; border: 1px solid var(--rg-line); border-radius: 20px; background: var(--rg-flaeche); color: var(--rg-head); text-decoration: none; transition: transform var(--t-press) var(--ease-out); }
.weiterlesen a:active { transform: scale(0.98); }
.weiterlesen small { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--rg-muted); }
.weiterlesen small::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--orange); }
.weiterlesen b { font-size: 20px; font-weight: 400; line-height: 1.25; letter-spacing: -0.015em; }
.weiterlesen span { margin-top: auto; display: flex; justify-content: space-between; font-size: 14px; color: var(--rg-muted); }
.weiterlesen span i { font-style: normal; color: var(--rg-head); transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .weiterlesen a:hover { border-color: rgb(255 255 255 / 0.4); }
  .weiterlesen a:hover span i { transform: translateX(3px); }
}
@media (max-width: 860px) { .weiterlesen ul { grid-template-columns: 1fr; } .weiterlesen a { min-height: 0; } }

/* ---------- Beitrag: Leitfaden (Verzeichnis als Seitenleiste am Rechner, am Handy wie Lesefluss) ---------- */
.leit-breite { max-width: var(--rg-breite); margin-inline: auto; }
.leit-kopf { padding-top: clamp(120px, 12vw, 168px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 32px; }
.leit-kopf > * { grid-column: 1 / -1; }
.leit-kopf h1 { font-size: clamp(40px, 5.4vw, 84px); line-height: 0.98; letter-spacing: -0.045em; max-width: 17ch; color: var(--rg-head); overflow-wrap: break-word; }
.leit-kopf .unterzeile { grid-column: 2; font-size: 17px; line-height: 1.55; color: var(--rg-muted); max-width: 46ch; }
.kopf-meta { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 16px 24px; margin: 12px 0 0; padding-block: 18px; border-block: 1px solid var(--rg-line); }
.kopf-meta > div { display: grid; gap: 6px; align-content: start; min-width: 0; }
.kopf-meta dt { font-size: 14px; color: var(--rg-muted); }
.kopf-meta dd { margin: 0; font-size: 16px; line-height: 1.4; color: var(--rg-head); }
.kopf-meta .autor-zeile { gap: 12px; }
.kopf-meta .autor-zeile__foto { width: 40px; height: 40px; }
.leitfaden { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0 clamp(40px, 6vw, 96px); padding-block: clamp(40px, 5vw, 72px) var(--section); }
.seitenleiste { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: 22px; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); overflow: auto; overscroll-behavior: contain; scrollbar-width: none; }
.seitenleiste .verzeichnis { border-top: 0; }
.seitenleiste .verzeichnis ol { position: relative; padding-left: 16px; }
.seitenleiste .verzeichnis ol::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 24px; width: 1px; background: var(--rg-line); }
.seitenleiste .verzeichnis li { position: relative; }
.seitenleiste .verzeichnis a::before { content: ''; position: absolute; left: -16px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--orange); opacity: 0; transform: scaleY(0.4); transition: opacity var(--t-ui) ease, transform var(--t-ui) var(--ease-out); }
.seitenleiste .verzeichnis a[aria-current='true'] { color: var(--rg-head); }
.seitenleiste .verzeichnis a[aria-current='true']::before { opacity: 1; transform: none; }
.seite-mini { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--rg-line); }
.seite-mini p { font-size: 15px; line-height: 1.5; color: var(--rg-text); }
.seite-mini .pill { min-height: 44px; font-size: 15px; justify-self: start; }
.leit-inhalt { display: flex; flex-direction: column; gap: clamp(44px, 5vw, 60px); min-width: 0; }
.fortschritt { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 61; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@media (min-width: 1024px) {
  .seitenleiste .verzeichnis summary { pointer-events: none; min-height: 40px; }
  .seitenleiste .verzeichnis summary .plus { display: none; }
}
@media (max-width: 1023px) {
  .leitfaden { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .seitenleiste { position: static; max-height: none; overflow: visible; }
  .seite-mini { display: none; }
  .seitenleiste .verzeichnis { border-top: 1px solid var(--rg-line); }
}
@media (max-width: 760px) {
  .leit-kopf .unterzeile { grid-column: 1 / -1; }
  .kopf-meta { grid-template-columns: 1fr 1fr; }
  .kopf-meta > div:first-child { grid-column: 1 / -1; }
}

/* ---------- Übersicht und Rubrik als Magazin ---------- */
.magazin-kopf { padding-top: clamp(128px, 14vw, 200px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 32px; }
.magazin-kopf > * { grid-column: 1 / -1; }
.magazin-kopf h1 { font-size: clamp(42px, 6.4vw, 104px); line-height: 0.98; letter-spacing: -0.045em; max-width: 14ch; color: var(--rg-head); overflow-wrap: break-word; }
.magazin-kopf p { grid-column: 2; font-size: 17px; line-height: 1.55; color: var(--rg-muted); max-width: 46ch; }
.filterleiste { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 4vw, 48px); }
.filter { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid var(--rg-line); border-radius: 999px; font-size: 15px; color: var(--rg-head); text-decoration: none; transition: transform var(--t-press) var(--ease-out); }
.filter b { font-weight: 400; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--rg-muted); }
.filter:active { transform: scale(0.97); }
.filter[aria-current] { background: var(--white); color: #121214; border-color: var(--white); }
.filter[aria-current] b { color: #55565b; }
@media (hover: hover) and (pointer: fine) { .filter:not([aria-current]):hover { border-color: currentColor; } }
/* Aufmacher: Bild 4:3 am Rechner, 1:1 am Handy (die Titelbilder halten das Motiv dafür in der Mitte) */
.aufmacher { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px clamp(28px, 4.5vw, 72px); align-items: center; margin-top: clamp(40px, 5vw, 64px); }
.aufmacher__bild { border-radius: 6px; overflow: hidden; background: #1a1a1d; }
.aufmacher__bild img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 280ms var(--ease-out); }
.aufmacher__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.aufmacher h2 { font-size: clamp(30px, 3vw, 46px); line-height: 1.04; letter-spacing: -0.035em; color: var(--rg-head); }
.aufmacher h2 a { color: inherit; text-decoration: none; }
.aufmacher h2 a::after { content: ''; position: absolute; inset: 0; }
.aufmacher p { font-size: 17px; line-height: 1.55; color: var(--rg-text); max-width: 44ch; }
.aufmacher .rubrik { position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .aufmacher:hover .aufmacher__bild img { transform: scale(1.02); }
  .aufmacher:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--orange); }
}
@media (max-width: 860px) { .aufmacher { grid-template-columns: 1fr; } .magazin-kopf p { grid-column: 1 / -1; } }
@media (max-width: 600px) { .aufmacher__bild img { aspect-ratio: 1 / 1; } }
.alle { padding-top: clamp(64px, 8vw, 112px); scroll-margin-top: 96px; }
.alle__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.alle__kopf h2 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.025em; color: var(--rg-head); }
.alle__kopf span { font-size: 14px; color: var(--rg-muted); }
.zeilen { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rg-line); }
.zeilen li { border-bottom: 1px solid var(--rg-line); }
.zeilen li[hidden] { display: none; }
.zeilen a { display: grid; grid-template-columns: 170px minmax(0, 1fr) 300px; gap: 6px 28px; align-items: baseline; padding-block: 20px; color: var(--rg-head); text-decoration: none; transition: opacity var(--t-press) ease; }
.zeilen a:active { opacity: 0.6; }
.zeilen__rubrik { font-size: 14px; color: var(--rg-akzent); }
.zeilen__titel { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.3; letter-spacing: -0.015em; }
.zeilen__meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--rg-muted); white-space: nowrap; }
.zeilen__meta img { width: 26px; height: 26px; border-radius: 999px; object-fit: cover; object-position: 50% 20%; }
.zeilen__meta span + span::before { content: '·'; margin-right: 10px; }
@media (hover: hover) and (pointer: fine) { .zeilen a:hover .zeilen__titel { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--orange); } }
.zeilen--autor a { grid-template-columns: 150px minmax(0, 1fr) 150px; }
@media (max-width: 960px) {
  .zeilen a, .zeilen--autor a { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 18px; }
  .zeilen__meta { white-space: normal; flex-wrap: wrap; }
}
.seiten { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.seiten[hidden] { display: none; }
.seiten button { min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rg-line); background: transparent; color: var(--rg-head); font: 500 15px/1 var(--font); cursor: pointer; transition: transform var(--t-press) var(--ease-out); }
.seiten button:active { transform: scale(0.97); }
.seiten button[aria-current='page'] { background: var(--white); color: #121214; border-color: var(--white); }
.seiten span { font-size: 14px; color: var(--rg-muted); margin-left: 8px; }
@media (hover: hover) and (pointer: fine) { .seiten button:not([aria-current='page']):hover { border-color: currentColor; } }
.schreiber { padding-top: clamp(64px, 8vw, 112px); }
.schreiber__kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 32px; align-items: end; margin-bottom: 28px; }
.schreiber__kopf h2 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.03em; color: var(--rg-head); }
.schreiber__kopf p { font-size: 17px; line-height: 1.55; color: var(--rg-muted); max-width: 46ch; }
.schreiber ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.schreiber li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; padding: 22px; border: 1px solid var(--rg-line); border-radius: 22px; background: var(--rg-flaeche); }
.schreiber img { width: 88px; height: 88px; border-radius: 18px; object-fit: cover; object-position: 50% 18%; }
.schreiber h3 { font-size: 24px; letter-spacing: -0.02em; color: var(--rg-head); }
.schreiber__rolle { font-size: 14px; line-height: 1.4; color: var(--rg-muted); margin-top: 4px; }
.schreiber__satz { font-size: 15px; line-height: 1.5; color: var(--rg-text); margin-top: 12px; }
.schreiber__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--rg-head); text-underline-offset: 4px; text-decoration-color: var(--orange); }
.schreiber__link i { font-style: normal; transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .schreiber__link:hover i { transform: translateX(3px); } }
@media (max-width: 960px) { .schreiber ul, .schreiber__kopf { grid-template-columns: 1fr; } }

/* ---------- Autorenseite ---------- */
.autor-kopf { padding-top: clamp(120px, 13vw, 180px); display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px clamp(32px, 6vw, 112px); align-items: end; }
.autor-kopf .krumen { grid-column: 1 / -1; }
.autor-kopf__foto { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #c8c8c8; }
.autor-kopf__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.autor-kopf__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 6px; min-width: 0; }
.autor-kopf h1 { font-size: clamp(44px, 6.4vw, 104px); line-height: 0.96; letter-spacing: -0.045em; color: var(--rg-head); overflow-wrap: break-word; }
.autor-kopf__rolle { font-size: clamp(18px, 1.5vw, 21px); color: var(--rg-head); }
.autor-kopf__bio { font-size: 17px; line-height: 1.6; color: var(--rg-text); max-width: 54ch; }
.autor-kopf__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 760px) { .autor-kopf { grid-template-columns: 1fr; } .autor-kopf__foto { max-width: 300px; } }
.autor-teil { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px 32px; padding-top: clamp(56px, 7vw, 96px); }
.autor-teil--letzter { padding-bottom: var(--section); }
.autor-teil > h2 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.025em; color: var(--rg-head); }
.stationen { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rg-line); }
.stationen li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 6px 24px; padding-block: 16px; border-bottom: 1px solid var(--rg-line); }
.stationen .wann { font-size: 15px; color: var(--rg-muted); font-variant-numeric: tabular-nums; }
.stationen span:last-child { font-size: 17px; line-height: 1.45; color: var(--rg-head); }
.schwerpunkte { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.schwerpunkte li { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--rg-line); border-radius: 999px; font-size: 15px; color: var(--rg-head); }
@media (max-width: 760px) { .autor-teil { grid-template-columns: 1fr; } .stationen li { grid-template-columns: 1fr; } }

/* Reduzierte Bewegung: keine Wege und kein Zoomen mehr, Deckkraft bleibt (sie hilft beim Verstehen) */
@media (prefers-reduced-motion: reduce) {
  .fallkarte, .fallkarte__bild img, .fallkarte__mehr i, .weiterlesen a, .weiterlesen span i, .aufmacher__bild img, .rubrik, .filter, .seiten button, .schreiber__link i { transition: none; }
  .fallkarte:hover .fallkarte__bild img, .aufmacher:hover .aufmacher__bild img { transform: none; }
  .fallkarte:hover .fallkarte__mehr i, .weiterlesen a:hover span i, .schreiber__link:hover i { transform: none; }
  .fallkarte:active, .weiterlesen a:active, .filter:active, a.rubrik:active, .seiten button:active { transform: none; }
  .seitenleiste .verzeichnis a::before { transform: none; transition: opacity var(--t-ui) ease; }
}

/* Code-Beispiele im Fließtext (z. B. llms.txt): umbrechen statt über den Rand laufen */
.beitrag pre { margin: 16px 0 0; padding: 16px 18px; max-width: 100%; border: 1px solid var(--rg-line); border-radius: 14px; background: var(--rg-flaeche); white-space: pre-wrap; overflow-wrap: anywhere; }
.beitrag code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; line-height: 1.6; color: var(--rg-text); overflow-wrap: anywhere; }
