/* Aktuelles: Grundlage und Bausteine für Beiträge (Auftrag 76, fester Stand seit Auftrag 85: Übersicht als Magazin, Beitrag als Journal).
   Seit Auftrag 96 auf dem CI-Fundament: Farben, Schrift, Knöpfe, Kopf und Fuß kommen aus ../assets/ci/ci.css (davor einbinden).
   Hier steht keine Farbe als Wert, nur Rollen (--rb-kopf, --rb-tx, --rb-leise, --rb-linie, --rb-karte, --rb-marke) und Tokens.
   Ein Abschnitt wird hell, indem er die Klasse rb-hell bekommt (Weiterlesen: rb-hell rb-weiss).
   Präfixe: a- Bausteine im Beitrag, b- Beitragskarte, u- nur Übersicht.
   Keine Klassennamen mit ad, banner, promo (Werbeblocker). */

:root {
  --rand: var(--rb-rand);
  --breite: var(--rb-breite);
  --spalte: calc(672px - 36px * var(--rb-m) + 100 * var(--rb-w));          /* Lesespalte, wächst mit der Schrift (Fundament: 1440 bis 1920 px) */
  --luft: var(--rb-luft);
  --kante: max(var(--rand), calc((100% - var(--breite)) / 2));
  --randspalte: calc(220px - 10px * var(--rb-m) + 70 * var(--rb-w));
  --a-weit: calc(1040px + 340 * var(--rb-w));          /* Bild, Film und Zahl im Beitrag */
  --aus: var(--rb-aus);
  --nav-h: var(--rb-kopf-h);
  --band-luft: clamp(52px, 7vw, var(--rb-a-9));                                  /* oben und unten in einem Band voller Breite */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 20px); }
body { margin: 0; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
b, strong { font-weight: var(--rb-w-mittel); }
[hidden] { display: none !important; }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.rand { width: min(100%, calc(var(--breite) + 2 * var(--rand))); margin-inline: auto; padding-inline: var(--rand); }
h1 { color: var(--rb-kopf); font-size: var(--rb-t-8); line-height: var(--rb-zh-kopf); letter-spacing: var(--rb-lw-kopf); font-weight: var(--rb-w-kopf); text-wrap: balance; }
h2 { color: var(--rb-kopf); font-size: var(--rb-t-7); line-height: var(--rb-zh-kopf); letter-spacing: var(--rb-lw-kopf); font-weight: var(--rb-w-kopf); text-wrap: balance; }
h3 { color: var(--rb-kopf); font-size: var(--rb-t-5); line-height: var(--rb-zh-mittel); letter-spacing: 0; font-weight: var(--rb-w-mittel); }

/* Bilder auf Petrol werden gehoben (rb-petrol-heben am Rahmen). Auf hellen Flächen bleibt das Bild, wie es ist. */
.rb-hell .rb-petrol-heben::after { content: none; }

/* ---------- Was überall gleich ist (Übersicht und Beitrag): Dachzeile und Rubrik als Marke (rb-marke), Zeile mit Autor, Datum und Dauer, Abschnittsmarke ---------- */
.dach { margin-bottom: var(--rb-a-4); }
.a-art { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; font-size: var(--rb-t-1); line-height: 1.5; color: var(--rb-leise); }
.a-art span:not(:last-child)::after { content: "·"; margin-left: 12px; }
.a-marke-h { font-size: var(--rb-t-5); line-height: var(--rb-zh-mittel); letter-spacing: 0; font-weight: var(--rb-w-mittel); }
.a-ki { display: none; }   /* kein Hinweis am einzelnen Bild (Runde 8), er steht im Fuß */

/* ---------- Kleinteile ---------- */
.a-marke { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: var(--rb-r-klein); border: 1px solid var(--rb-feld-rand); color: var(--rb-tx); font-size: var(--rb-t-1); font-weight: var(--rb-w-mittel); letter-spacing: var(--rb-lw-marke); text-transform: uppercase; vertical-align: 1px; }
.a-quelle { margin-top: 18px; font-size: var(--rb-t-1); line-height: 1.5; color: var(--rb-leise); max-width: 92ch; text-wrap: pretty; }
.a-folgt { display: grid; place-items: center; text-align: center; padding: 24px; border: 1px dashed var(--rb-feld-rand); border-radius: var(--rb-r-karte); color: var(--rb-leise); font-size: var(--rb-t-1); background: var(--rb-karte); }
.a-folgt b { display: block; color: var(--rb-tx); font-size: var(--rb-t-2); margin-bottom: 4px; }
/* Knöpfe kommen aus ci.css (rb-kn, rb-kn-zwei, rb-link). Hier nur, was ein Knopf mit Zeichen braucht. */
.rb-kn-zwei svg.rb-zeichen { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rb-kn-zwei.a-nur-zeichen { padding-inline: 0; width: var(--rb-kn-h); justify-content: center; }
.rb-kn-zwei:disabled { opacity: 0.4; cursor: default; pointer-events: none; }
a:hover > .rb-link, button:hover > .rb-link { --h: 1; }   /* Textlink als Teil einer größeren Fläche (Aufmacher, Kachel) */

/* ---------- Fortschritt beim Lesen ---------- */
.a-lauf { position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 49; height: 3px; pointer-events: none; }
.a-lauf span { display: block; height: 100%; background: var(--rb-gruen); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Aufmacher (Journal): Titel zuerst, das Bild darunter mit Unterschrift ---------- */
.a-kopf { position: relative; display: flex; flex-direction: column; padding: calc(var(--nav-h) + clamp(30px, 4.4vw, var(--rb-a-8))) 0 0; }
.a-kopf > .rand { order: 1; display: flex; flex-direction: column; align-items: flex-start; }
.a-kopf-rahmen { order: 2; width: min(calc(100% - 2 * var(--rand)), var(--breite)); aspect-ratio: 16 / 7; margin: clamp(26px, 3.6vw, var(--rb-a-7)) auto 0; border-radius: var(--rb-r-bild); overflow: hidden; background: var(--rb-karte-2); }
.a-kopf-bild { width: 100%; height: 100%; object-fit: cover; object-position: var(--fokus, 50% 50%); }
.a-kopf-bu { order: 3; width: min(calc(100% - 2 * var(--rand)), var(--breite)); margin: 10px auto 0; font-size: var(--rb-t-1); line-height: 1.45; color: var(--rb-leise); }
.a-zurueck { margin-bottom: 22px; }
.a-zurueck svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a-kopf h1 { margin-top: 12px; max-width: 15em; }
.a-vorspann { margin-top: clamp(18px, 2.2vw, 28px); max-width: 34em; font-size: var(--rb-t-4); line-height: 1.5; color: var(--rb-tx); text-wrap: pretty; }
.a-kopf .a-art { order: 9; margin-top: 22px; }
.a-kopf .a-von { display: none; }   /* der Autor steht in der Zeile (.a-art) */
@media (max-width: 700px) { .a-kopf-rahmen { aspect-ratio: 4 / 3; } }

/* ---------- Fließtext ---------- */
.a-text { width: min(100%, calc(var(--spalte) + 2 * var(--rand))); margin-inline: auto; padding-inline: var(--rand); font-size: var(--rb-t-3); line-height: 1.62; color: var(--rb-tx); }
.a-text > * + * { margin-top: 1.15em; }
.a-text h2 { margin-bottom: -0.2em; font-size: var(--rb-t-6); line-height: var(--rb-zh-mittel); }
.a-text h3 { margin-bottom: -0.4em; }
.a-text > * + h2 { margin-top: 2.1em; }
.a-text > h2:first-child { margin-top: 0; }
.a-text b, .a-text strong { color: var(--rb-kopf); }
.a-text a:not(.rb-kn):not(.rb-kn-zwei) { color: var(--rb-kopf); font-weight: var(--rb-w-mittel); text-decoration: underline; text-decoration-color: var(--rb-gruen); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.a-text a:not(.rb-kn):not(.rb-kn-zwei):hover { text-decoration-color: currentColor; }
.a-text ol.a-liste { counter-reset: n; display: grid; gap: 1.1em; }
.a-text ol.a-liste li { counter-increment: n; position: relative; padding-left: 2.6em; }
.a-text ol.a-liste li::before { content: counter(n); position: absolute; left: 0; top: 0.08em; display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: var(--rb-hauch); color: var(--rb-marke); font-weight: var(--rb-w-kopf); font-size: var(--rb-t-1); }
.a-text ol.a-liste b { display: block; }
.a-stueck { padding-block: clamp(34px, 4.6vw, var(--rb-a-8)); }
.a-stueck:first-of-type { padding-top: clamp(40px, 5.4vw, var(--rb-a-8)); }

/* Das Wichtigste in drei Sätzen */
.a-kurz { margin-top: 0; padding: var(--rb-karte-innen); border-radius: var(--rb-r-karte); background: var(--rb-karte); box-shadow: var(--rb-karte-schatten); }
.a-kurz p { color: var(--rb-marke); font-weight: var(--rb-w-mittel); font-size: var(--rb-t-1); letter-spacing: var(--rb-lw-marke); text-transform: uppercase; }
.a-kurz ul { margin-top: 12px; display: grid; gap: 12px; }
.a-kurz li { position: relative; padding-left: 26px; color: var(--rb-kopf); line-height: 1.45; }
.a-kurz li::before { content: ""; position: absolute; left: 2px; top: 0.56em; width: 10px; height: 10px; border-radius: 50%; background: var(--rb-gruen); }

/* ---------- Großes Zitat ---------- */
.a-zitat { width: min(100%, calc(var(--spalte) + 180px + 60 * var(--rb-w) + 2 * var(--rand))); margin-inline: auto; padding: clamp(28px, 4vw, var(--rb-a-7)) var(--rand); }
.a-zitat svg { width: 36px; height: 28px; fill: var(--rb-gruen); margin-bottom: 14px; }
.a-zitat p { padding-top: 0; color: var(--rb-kopf); font-size: var(--rb-t-6); line-height: var(--rb-zh-mittel); letter-spacing: var(--rb-lw-kopf); font-weight: var(--rb-w-kopf); text-wrap: balance; }
.a-zitat p span { color: var(--rb-leise); }
.a-zitat footer { margin-top: 18px; font-size: var(--rb-t-1); color: var(--rb-leise); }

/* ---------- Zahl mit Quelle ---------- */
.a-zahl { width: min(100%, calc(var(--a-weit) + 2 * var(--rand))); margin-inline: auto; padding: clamp(20px, 3vw, calc(var(--rb-a-7) - 8px)) var(--rand); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, var(--rb-a-8)); align-items: center; }
.a-zahl > b { font-size: var(--rb-t-zahl); line-height: var(--rb-zh-zahl); letter-spacing: var(--rb-lw-zahl); font-weight: var(--rb-w-kopf); color: var(--rb-gruen); font-variant-numeric: tabular-nums; }
.a-zahl p { color: var(--rb-kopf); font-size: var(--rb-t-5); line-height: 1.25; font-weight: var(--rb-w-mittel); text-wrap: balance; max-width: 22em; }
.a-zahl .a-quelle { max-width: 62ch; margin-top: 14px; color: var(--rb-leise); font-weight: var(--rb-w-text); font-size: var(--rb-t-1); }
@media (max-width: 640px) { .a-zahl { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Grafik in voller Breite. Dunkel: zweite Fläche des Fundaments (rb-dunkel rb-zwei), Einsätze in Petrol. Hell (rb-hell): Band in Nebel, Einsätze weiß. ---------- */
.a-breit { --a-einsatz: var(--rb-karte-2); background: var(--rb-fl); padding: var(--band-luft) 0; margin-block: clamp(20px, 3vw, calc(var(--rb-a-7) - 8px)); border-block: 1px solid var(--rb-linie); }   /* dunkel: rb-dunkel rb-zwei, hell: rb-hell */
.a-breit.rb-hell { --a-einsatz: var(--rb-karte); border-block-color: transparent; }
.a-breit-kopf { max-width: 46em; margin-bottom: clamp(26px, 3.4vw, var(--rb-a-7)); }
.a-breit-kopf h2 { font-size: var(--rb-t-6); line-height: var(--rb-zh-mittel); }
.a-breit-kopf p:not(.dach) { margin-top: 14px; font-size: var(--rb-t-4); line-height: 1.5; color: var(--rb-tx); }
.rb-marke.a-tun::before { content: none; }   /* das Handzeichen steht an der Stelle des Punkts */
.a-tun svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a-wahl .rb-chip.gruen[aria-pressed="true"] { background: var(--rb-gruen); color: var(--rb-knopf-schrift); }   /* der Laser ist grün */

/* ---------- Bild im Text, Bilderreihe ---------- */
.a-bild { width: min(100%, calc(var(--a-weit) + 2 * var(--rand))); margin-inline: auto; padding: clamp(14px, 2vw, 28px) var(--rand); }
.a-bild-in { position: relative; border-radius: var(--rb-r-bild); overflow: hidden; background: var(--rb-karte-2); }
.a-bild img { width: 100%; height: auto; }
.a-bild figcaption, .a-reihe figcaption { margin-top: 12px; font-size: var(--rb-t-1); line-height: 1.45; color: var(--rb-leise); max-width: 60ch; }
.a-bild figcaption b, .a-reihe figcaption b { color: var(--rb-kopf); }
.a-reihe { width: min(100%, calc(var(--breite) + 2 * var(--rand))); margin-inline: auto; padding: clamp(14px, 2vw, 28px) var(--rand); }
.a-reihe-bahn { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.a-reihe figure > div { position: relative; border-radius: var(--rb-r-karte); overflow: hidden; background: var(--rb-karte-2); aspect-ratio: 4 / 5; }
.a-reihe img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .a-reihe { padding-inline: 0; }
  .a-reihe-bahn { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--rand); scroll-padding-inline: var(--rand); scrollbar-width: none; }
  .a-reihe-bahn::-webkit-scrollbar { display: none; }
  .a-reihe figure { flex: 0 0 76%; scroll-snap-align: start; }
}

/* ---------- Video ---------- */
.a-video { width: min(100%, calc(var(--a-weit) + 2 * var(--rand))); margin-inline: auto; padding: clamp(14px, 2vw, 28px) var(--rand); }
.a-video-in { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--rb-r-bild); overflow: hidden; background: var(--rb-karte-2); }
.a-video-in img, .a-video-in video, .a-video-in iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.a-video-in::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(to top, rgba(0, 42, 56, 0.94), rgba(0, 42, 56, 0.7) 34%, rgba(0, 42, 56, 0)); pointer-events: none; }
.a-video-in.laeuft::after, .a-video-in.laeuft .a-start, .a-video-in.laeuft .a-video-titel { display: none; }
.a-start { --rb-spiel-g: clamp(60px, 6vw, 84px); position: absolute; left: clamp(16px, 2.4vw, 30px); bottom: clamp(16px, 2.4vw, 30px); z-index: 2; }
.a-video-titel { position: absolute; left: calc(clamp(16px, 2.4vw, 30px) + clamp(60px, 6vw, 84px) + 18px); bottom: clamp(16px, 2.4vw, 30px); z-index: 2; min-height: clamp(60px, 6vw, 84px); display: flex; flex-direction: column; justify-content: center; text-align: left; color: var(--rb-weiss); font-weight: var(--rb-w-mittel); font-size: var(--rb-t-3); line-height: 1.3; }
.a-video-titel small { font-weight: var(--rb-w-text); font-size: var(--rb-t-1); color: var(--rb-eis); }
.a-video figcaption { margin-top: 12px; font-size: var(--rb-t-1); color: var(--rb-leise); }
.a-video .a-folgt { aspect-ratio: 16 / 9; }
@media (max-width: 600px) { .a-video-in::after { inset: 15% 0 0; background: linear-gradient(to top, rgba(0, 42, 56, 0.97), rgba(0, 42, 56, 0.86) 42%, rgba(0, 42, 56, 0)); } }   /* kleines Bild: der Titel steht sonst auf hellen Stellen */

/* ---------- Audio mit Abspielleiste ---------- */
.a-ton { width: min(100%, calc(var(--spalte) + 2 * var(--rand))); margin-inline: auto; padding: clamp(14px, 2vw, 28px) var(--rand); }
.a-ton-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; align-items: center; padding: 18px 22px 18px 18px; border-radius: var(--rb-r-karte); background: var(--rb-karte); box-shadow: var(--rb-karte-schatten); }
.a-ton-start { --rb-spiel-g: 60px; grid-row: 1 / 3; }
.a-ton-start .pause { margin-left: 0; }
.a-ton-start .pause, .a-ton.spielt .a-ton-start .los { display: none; }
.a-ton.spielt .a-ton-start .pause { display: block; }
.a-ton-titel { color: var(--rb-kopf); font-weight: var(--rb-w-mittel); line-height: 1.3; }
.a-ton-titel small { display: block; font-weight: var(--rb-w-text); font-size: var(--rb-t-1); color: var(--rb-leise); }
.a-ton-leiste { display: flex; align-items: center; gap: 12px; font-size: var(--rb-t-1); color: var(--rb-tx); font-variant-numeric: tabular-nums; }
.a-ton-leiste input { flex: 1; min-width: 0; height: 24px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.a-ton-leiste input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--rb-gruen) var(--p, 0%), var(--rb-feld-rand) var(--p, 0%)); }
.a-ton-leiste input::-moz-range-track { height: 4px; border-radius: 2px; background: var(--rb-feld-rand); }
.a-ton-leiste input::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--rb-gruen); }
.a-ton-leiste input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: var(--rb-kopf); }
.a-ton-leiste input::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--rb-kopf); }
.a-ton.leer .a-ton-start { background: var(--rb-karte-2); color: var(--rb-leise); cursor: default; transform: none; }
.a-ton.leer .a-ton-start::before { content: none; }
.a-ton.leer .a-ton-leiste { color: var(--rb-leise); }

/* ---------- Beitragskarte (Übersicht und Weiterlesen) ---------- */
.b-karte { display: flex; flex-direction: column; }
.b-karte a { display: flex; flex-direction: column; height: 100%; }
.b-bild { position: relative; aspect-ratio: 16 / 9; border-radius: var(--rb-r-karte); overflow: hidden; background: var(--rb-karte-2); }
.b-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--aus); }
.b-karte a:hover .b-bild img { transform: scale(1.035); }
.b-zeichen { position: absolute; left: 14px; bottom: 14px; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--rb-gruen); color: var(--rb-knopf-schrift); }
.b-zeichen svg { width: 20px; height: 20px; fill: currentColor; }
.b-karte .b-rubrik { margin-top: 16px; }
.b-karte .a-art { order: 9; margin-top: 10px; }
.b-karte h3 { margin-top: 8px; text-wrap: balance; }
.b-karte :is(h2, h3) { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.16em; transition: text-decoration-color .2s; }
.b-karte a:hover :is(h2, h3) { text-decoration-color: var(--rb-gruen); }
.b-karte .b-kurz { margin-top: 8px; color: var(--rb-tx); line-height: 1.45; text-wrap: pretty; }
.b-karte.folgt .b-bild { display: grid; place-items: center; border: 1px dashed var(--rb-feld-rand); background: var(--rb-karte); color: var(--rb-leise); font-size: var(--rb-t-1); }

/* ---------- Weiterlesen (heller Abschnitt) ---------- */
.a-weiter { padding: var(--band-luft) 0; }
.a-weiter-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 3vw, calc(var(--rb-a-7) - 8px)); }
.a-weiter-kopf h2 { font-size: var(--rb-t-5); line-height: var(--rb-zh-mittel); letter-spacing: 0; font-weight: var(--rb-w-mittel); }
.a-weiter-kopf .rb-link { white-space: nowrap; }
.a-weiter-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(28px, 3vw, var(--rb-a-7)) clamp(18px, 2.2vw, 32px); }
.a-weiter-liste[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
/* ein einzelner Beitrag: Karte quer statt einsam in der ersten Spalte */
[data-n="1"] > .b-karte a { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto auto auto 1fr; column-gap: clamp(22px, 3.6vw, var(--rb-a-8)); }
[data-n="1"] > .b-karte .b-bild { grid-row: 1 / 7; }
[data-n="1"] > .b-karte .b-rubrik { grid-row: 2; grid-column: 2; margin-top: 0; }
[data-n="1"] > .b-karte .a-art { grid-row: 5; grid-column: 2; }
[data-n="1"] > .b-karte h3 { grid-row: 3; grid-column: 2; font-size: var(--rb-t-6); letter-spacing: var(--rb-lw-kopf); line-height: var(--rb-zh-mittel); font-weight: var(--rb-w-kopf); }
[data-n="1"] > .b-karte .b-kurz { grid-row: 4; grid-column: 2; font-size: var(--rb-t-4); max-width: 30em; }
@media (max-width: 640px) {
  [data-n="1"] > .b-karte a { display: flex; }
  [data-n="1"] > .b-karte .b-rubrik { margin-top: 16px; }
}

/* ---------- Schluss: der Weg zur Regionsanalyse ---------- */
.a-schluss { padding: clamp(20px, 3vw, calc(var(--rb-a-7) - 8px)) 0 var(--luft); }
.a-schluss-in { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, var(--rb-a-8)); align-items: end; padding: clamp(30px, 5vw, var(--rb-a-8)); border-radius: var(--rb-r-bild); background: radial-gradient(120% 140% at 100% 0%, rgba(134, 188, 37, 0.2), rgba(134, 188, 37, 0) 60%), var(--rb-karte); box-shadow: var(--rb-karte-schatten); }
.a-schluss h2 { max-width: 15em; }
.a-schluss p:not(.dach) { margin-top: 18px; max-width: 34em; font-size: var(--rb-t-4); line-height: 1.5; color: var(--rb-tx); }
.a-schluss small { display: block; margin-top: 12px; font-size: var(--rb-t-1); color: var(--rb-leise); }
@media (max-width: 820px) { .a-schluss-in { grid-template-columns: 1fr; align-items: start; } .a-schluss .rb-kn, .a-schluss .rb-kn .rb-kn-f { width: 100%; } .a-schluss .rb-kn-t { flex: 1; } }

/* ---------- Journal: Kapitelnummern, Inhaltsleiste, Randspalte ---------- */
article { counter-reset: teil; }
.a-text > h2 { counter-increment: teil; position: relative; }
.a-text > h2::before { content: counter(teil, decimal-leading-zero); display: block; margin-bottom: 10px; font-size: var(--rb-t-1); font-weight: var(--rb-w-mittel); letter-spacing: var(--rb-lw-marke); line-height: 1.3; color: var(--rb-marke); font-variant-numeric: tabular-nums; }
.a-inhalt { margin-bottom: 1.6em; padding: 16px 0 18px; border-block: 1px solid var(--rb-linie); font-size: var(--rb-t-2); line-height: 1.4; }
.a-inhalt p { font-weight: var(--rb-w-mittel); color: var(--rb-kopf); margin-bottom: 8px; }
.a-inhalt ol { counter-reset: i; display: grid; gap: 8px; }
.a-inhalt li { counter-increment: i; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); }
.a-inhalt li::before { content: counter(i, decimal-leading-zero); color: var(--rb-marke); font-weight: var(--rb-w-mittel); font-variant-numeric: tabular-nums; }
.a-text .a-inhalt a:not(.rb-kn):not(.rb-kn-zwei) { color: var(--rb-tx); font-weight: var(--rb-w-text); text-decoration: none; }
.a-text .a-inhalt a:not(.rb-kn):not(.rb-kn-zwei):hover { color: var(--rb-kopf); text-decoration: underline; text-decoration-color: var(--rb-gruen); }
@media (min-width: 1360px) {
  .a-text, .a-zitat, .a-bild, .a-ton { width: auto; max-width: none; margin-inline: 0; padding-inline: 0; margin-left: calc(var(--kante) + var(--randspalte)); }
  .a-text, .a-ton { width: var(--spalte); position: relative; }
  .a-zitat { width: calc(var(--spalte) + 180px + 60 * var(--rb-w)); }
  .a-bild { width: calc(var(--spalte) + 300px + 100 * var(--rb-w)); }
  .a-text > h2::before { position: absolute; right: 100%; top: 0.3em; width: var(--randspalte); margin: 0; padding-top: 10px; border-top: 1px solid var(--rb-linie); box-sizing: border-box; background: linear-gradient(var(--rb-fl), var(--rb-fl)) right / 40px 100% no-repeat; }
  .a-inhalt { position: absolute; left: calc(100% + 64px); top: 0; width: calc(250px + 50 * var(--rb-w)); margin: 0; }
  .a-zahl { width: auto; margin-inline: 0; margin-left: var(--kante); padding-inline: 0; grid-template-columns: var(--randspalte) minmax(0, calc(var(--spalte) + 60px)); gap: 0; align-items: start; }
  .a-zahl > b { font-size: var(--rb-t-zahl-klein); line-height: 0.9; padding-top: 12px; }   /* große Zahl in schmaler Spalte */
  .a-zahl > div { padding-top: 12px; border-top: 1px solid var(--rb-linie); }
}

/* ---------- Einblenden beim Scrollen ---------- */
.js .a-auf { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--aus), transform .8s var(--aus); }
.js .a-auf.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .a-auf { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.still .a-auf { opacity: 1 !important; transform: none !important; transition: none !important; }
