/* Hallmark · pre-emit critique: P4 H5 E4 S5 R5 V4
 * Ratgeber zur Altersvorsorge-Reform 2027. Baut auf altersvorsorge-ingolstadt.css auf
 * (Palette A, Richtung B "Die Antwort zuerst", Gambetta 600, Montserrat, Open Sans).
 * Hier stehen nur die Bauteile, die es auf der Reform-Seite nicht gibt.
 * Zitrus heißt weiter ausschließlich "das legt der Staat drauf". Keine Linien, keine Seitenbalken.
 * Signatur Kinderzulage: Kipp-Punkt-Rechner (zwei Datenbalken, Sie gegen Staat, plus Zitrus-Zone am Regler).
 * Signatur Selbstständige: Lage-Wähler (echte Radioknöpfe, ohne Skript stehen alle Lagen untereinander).
 * states: default · hover · focus · active · disabled · checked
 *
 * Seit 12.10.2026 (Stefanie: "Ratgeber sehr kahl"): Kacheln mit flachen Piktogrammen wie die
 * Lebenslagen auf der Startseite (ck-start.css, Block "Kacheln"). Keine Zitat-Etiketten, keine Eyebrows.
 * Schlüsselzahlen stehen in Blau- oder Koralle-Kacheln, Zitrus nur noch bei echter Staatsförderung.
 * Ausgedachte Hervorhebungen ohne Staatsgeld tragen das Koralle-Band .rg-mark statt Zitrus.
 * ========================================================================== */

/* Fließtext mindestens 17 px */
.av-body main { font-size: 1.0625rem; }

/* Ohne Skript stehen alle Lagen untereinander, die Knöpfe hätten dann nichts zu schalten */
html:not(.av-js) .rg-wahl { display: none; }

/* Kopf: Stand und Prüftermin stehen sichtbar oben, nicht erst im Kleingedruckten */
.rg-meta {
    margin-top: 1.4rem;
    font-family: 'General Sans', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--av-muted);
}
.rg-meta a { color: var(--av-ink); text-decoration: underline; text-decoration-color: var(--av-blau); text-underline-offset: 3px; }
.rg-meta a:hover { color: var(--av-blau); }
.rg-meta a:active { color: var(--av-ink); text-decoration-thickness: 2px; }
.rg-meta a:focus-visible { outline: 2px solid var(--av-ink); outline-offset: 2px; border-radius: 2px; }

.rg-hero h1 { max-width: 17ch; font-size: clamp(2.3rem, 6.2vw, 5.5rem); }
.rg-hero-index h1 { max-width: 19ch; font-size: clamp(2.3rem, 5.8vw, 5.2rem); }
.rg-index-lead { margin-top: clamp(1.5rem, 3vw, 2.25rem); max-width: 44ch; }

/* Piktogramm im Kopf: breit oben rechts neben der H1, schmal klein über ihr */
.rg-hero .av-container { position: relative; }
.rg-pikto.rg-hero-pikto { --pw: 92px; margin-bottom: 1.25rem; }
@media (min-width: 1000px) {
    .rg-hero h1 { max-width: 14ch; }
    .rg-hero-index h1 { max-width: 15ch; }
    .rg-pikto.rg-hero-pikto { position: absolute; top: 0.5rem; right: var(--av-gut); --pw: clamp(220px, 22vw, 320px); margin: 0; }
}

/* Koralle-Band: hebt ein Wort hervor, das kein Staatsgeld ist (Zitrus bleibt der Förderung vorbehalten) */
.rg-mark {
    background: linear-gradient(#FFB39F, #FFB39F) no-repeat 0 90% / var(--p, 100%) 34%;
    transition: --p 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
    padding: 0 0.06em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* --------------------------------------------------------------------------
   Kacheln und Piktogramme (Muster aus ck-start.css, Block "Kacheln")
   -------------------------------------------------------------------------- */
.rg-kachel { position: relative; display: flex; flex-direction: column; border-radius: 18px; padding: clamp(22px, 2.6vw, 36px); min-width: 0; }
.rg-k-koralle { background: var(--koralle); color: var(--ink); }
.rg-k-blau { background: var(--blau-800); color: var(--auf-dunkel); }
.rg-k-tief { background: var(--blau-900); color: var(--auf-dunkel); }
.rg-k-hell { background: #fff; box-shadow: inset 0 0 0 1px var(--linie); color: var(--ink); }
.rg-k-flaeche { background: var(--flaeche); color: var(--ink); }
.av-body .rg-k-koralle h2, .av-body .rg-k-koralle h3, .av-body .rg-k-koralle p, .av-body .rg-k-koralle dt,
.av-body .rg-k-koralle .rg-anker-zahl, .av-body .rg-k-koralle .rg-jahr-zahl, .av-body .rg-k-koralle .rg-kipp-zahl,
.av-body .rg-k-koralle .rg-kipp-text, .av-body .rg-k-koralle .rg-glied-zahl, .av-body .rg-k-koralle .rg-glied-text { color: var(--ink); }
.av-body .rg-k-blau h2, .av-body .rg-k-blau h3, .av-body .rg-k-blau .rg-anker-zahl, .av-body .rg-k-blau .rg-eintrag-zahl,
.av-body .rg-k-tief h2, .av-body .rg-k-tief h3, .av-body .rg-k-tief .rg-jahr-zahl, .av-body .rg-k-tief dt, .av-body .rg-k-tief .rg-kipp-zahl, .av-body .rg-k-tief .rg-glied-zahl { color: var(--auf-dunkel); }
.av-body .rg-k-blau p, .av-body .rg-k-tief p, .av-body .rg-k-tief .rg-kipp-text, .av-body .rg-k-tief .rg-glied-text { color: var(--auf-dunkel-2); }
.av-body .rg-k-blau .rg-anker-zahl, .av-body .rg-k-blau .rg-eintrag-zahl { color: var(--auf-dunkel); }
.rg-pikto { display: block; flex: none; width: var(--pw, 96px); height: auto; }
.rg-kachel > .rg-pikto { align-self: flex-end; margin-bottom: 1.25rem; }
@keyframes rg-schweben { 50% { transform: translateY(-6px); } }
.rg-schwebt { animation: rg-schweben 5s ease-in-out infinite; }

/* --------------------------------------------------------------------------
   Kipp-Punkt-Rechner (Kinderzulage)
   -------------------------------------------------------------------------- */
.rg-tool-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    margin-bottom: 1.5rem;
}
.rg-monat-label {
    display: block;
    font-family: 'General Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--av-ink);
    margin-bottom: 0.4rem;
}
.rg-monat {
    font-family: 'General Sans', system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(2.6rem, 5vw, 3.5rem);
    line-height: 1;
    color: var(--av-ink);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.rg-monat small { font-size: 1rem; font-weight: 700; margin-left: 0.35rem; }

/* Regler mit der Zone, in der der Staat mehr zahlt als Sie */
.rg-regler { position: relative; margin-top: 2rem; }
/* Flach und niedrig in vollem Zitrus: hier legt der Staat mehr drauf als Sie */
.rg-zone {
    position: absolute;
    top: calc(var(--av-thumb) / 2 - 6px);
    height: 12px;
    background: var(--av-gold);
    border-radius: 6px;
    pointer-events: none;
}
.rg-zone-wert {
    position: absolute;
    right: 0;
    bottom: calc(100% + 4px);
    font-family: 'General Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--av-ink);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.rg-regler .av-range-wrap { position: relative; z-index: 1; margin-top: 0; }
/* Spur in Grau statt Schwarz, damit die gelbe Zone das Kräftigste am Regler bleibt */
.rg-regler .av-range-wrap input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--av-muted); }
.rg-regler .av-range-wrap input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--av-muted); }
.rg-regler .av-range-wrap input[type="range"]::-webkit-slider-thumb { margin-top: calc(var(--av-thumb) / -2 + 2px); }
.rg-achse {
    position: relative;
    height: 1.4rem;
    margin-top: 0.45rem;
    font-family: 'General Sans', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--av-muted);
    font-variant-numeric: tabular-nums;
}
.rg-achse span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.rg-achse span:first-child { transform: none; }
.rg-achse span:last-child { transform: translateX(-100%); }

/* Zwei Datenbalken auf derselben Skala: wer zahlt mehr ins Jahr */
.rg-waage { margin: 2.25rem 0 0; display: grid; gap: 1rem; }
.rg-zeile {
    display: grid;
    grid-template-columns: minmax(7.5rem, 10rem) minmax(0, 1fr) 6.5rem;
    align-items: center;
    gap: 0.5rem 1.25rem;
}
.rg-zeile dt {
    font-family: 'General Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--av-ink);
}
.rg-zeile dd { margin: 0; min-width: 0; }
.rg-balken {
    /* volle Breite, sichtbar ist nur der Anteil: clip-path kostet kein Neu-Layout und behält die runden Ecken */
    display: block;
    width: 100%;
    height: 2.75rem;
    border-radius: 8px;
    clip-path: inset(0 calc(100% - var(--anteil, 0%)) 0 0 round 8px);
    transition: clip-path 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.rg-balken-sie { background: var(--av-blau); }
.rg-balken-staat { background: var(--av-gold); }
.rg-wert {
    text-align: right;
    font-family: 'General Sans', system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    color: var(--av-ink);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.rg-satz {
    margin-top: 1.75rem;
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    line-height: 1.55;
    color: var(--av-ink);
    max-width: 52ch;
}
.rg-satz strong { font-weight: 700; }
.rg-kippsatz { margin-top: 0.8rem; max-width: 56ch; }
.rg-hinweis { margin-top: 1.4rem; font-size: 1.0625rem; color: var(--av-muted); max-width: 60ch; }

/* Kipp-Leiter: bis zu welchem Monatsbeitrag der Staat mehr zahlt. Das sind IHRE Beiträge, deshalb kein Zitrus */
.rg-kipp { background: var(--av-page); padding: clamp(3rem, 6vw, 5rem) 0 !important; }
.rg-kipp-liste {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
    align-items: stretch;
}
/* Jede Stufe eine Kachel: dunkles Blau auf der blauen Fläche, die wichtigste in Koralle */
.rg-kipp-liste > .rg-kachel { padding: clamp(20px, 2vw, 28px); justify-content: flex-end; }
.rg-kipp-liste dt {
    font-family: 'General Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--av-ink);
    margin-bottom: 0.4rem;
}
.rg-kipp-liste dd { margin: 0; }
.rg-kipp-zahl {
    display: block;
    font-family: var(--av-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1;
    color: var(--av-ink);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.rg-kipp-text { display: block; margin-top: 0.7rem; max-width: 26ch; font-size: 1.0625rem; line-height: 1.5; }
/* Zwei Kinder ist der häufigste Fall, deshalb die eine große Zahl */
.rg-kipp-gross dt { font-size: 1.1rem; }
.rg-kipp-gross .rg-kipp-zahl { font-size: clamp(4rem, 8vw, 7rem); letter-spacing: -0.035em; line-height: 0.9; }
.rg-kipp-gross .rg-kipp-text { font-size: clamp(1.0625rem, 1.4vw, 1.2rem); max-width: 30ch; margin-top: 1rem; }

/* --------------------------------------------------------------------------
   Regeln und Gesetzestext
   -------------------------------------------------------------------------- */
.rg-regeln-sec { background: var(--av-surface); padding: clamp(4rem, 9vw, 7.5rem) 0 !important; }
.rg-regeln {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
    margin-top: clamp(2.5rem, 6vw, 4rem);
}
.rg-regeln-sec.rg-grau { background: var(--av-page); }
.rg-regel { grid-column: 1 / -1; }
/* Die zwei Regeln mit Zahl werden Zahlen-Kacheln (Blau groß, Koralle daneben), die ohne Zahl helle Kacheln mit Piktogramm */
.rg-anker-gross { grid-column: 1 / 8; }
.rg-anker-gross + .rg-anker { grid-column: 8 / 13; }
.rg-anker > .rg-pikto { --pw: 132px; }
.rg-anker-zahl {
    font-family: var(--av-display);
    font-weight: 600;
    font-size: clamp(3rem, 5.4vw, 4.75rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: var(--av-ink);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    margin-top: auto;
    margin-bottom: 1rem;
}
.rg-anker-gross .rg-anker-zahl { font-size: clamp(4.5rem, 10.5vw, 9.5rem); }
/* Versicherungen: "5 Mio. €" ist doppelt so lang wie eine Jahreszahl und liefe sonst aus der Kachel */
.rg-anker-lang .rg-anker-zahl { font-size: clamp(3rem, 7.4vw, 6.75rem); }
.rg-zeile-regel { grid-column: span 6; }
.rg-zeile-regel > .rg-pikto { --pw: auto; height: 76px; max-width: 136px; align-self: flex-start; }
.rg-regel.rg-zeile-regel h3 { font-family: 'General Sans', system-ui, sans-serif; font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.3; margin-bottom: 0.5rem; }
.rg-regel h3 {
    font-family: var(--av-display);
    font-weight: 600;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--av-ink);
    margin-bottom: 0.8rem;
}
.rg-regel p { max-width: 46ch; }
.rg-regel p + p { margin-top: 0.7rem; }

/* Das Gesetz im Wortlaut: große Schrift auf dem Grund, keine Linie davor */
.rg-gesetz { margin-top: clamp(3rem, 6vw, 5rem); max-width: 54rem; }
.rg-gesetz blockquote {
    margin: 0;
    font-family: var(--av-display);
    font-weight: 400;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    line-height: 1.45;
    color: var(--av-ink);
}
.rg-gesetz blockquote + blockquote { margin-top: 1.1rem; }
/* Hochwasser: das stärkere Zitat wird der Fokus der Sektion, das zweite bleibt klein als Beleg */
.rg-gesetz-fokus { max-width: 60rem; }
.rg-gesetz-fokus .rg-zitat-gross {
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    line-height: 1.22;
    letter-spacing: -0.015em;
    font-weight: 400;
}
.rg-gesetz-fokus .rg-zitat-gross + blockquote {
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
    max-width: 46rem;
    font-size: clamp(1.0625rem, 1.5vw, 1.2rem);
    color: var(--av-muted);
}
.rg-gesetz figcaption {
    margin-top: 1.1rem;
    font-family: 'General Sans', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--av-muted);
}
.rg-gesetz figcaption a { color: var(--av-ink); text-decoration: underline; text-decoration-color: var(--av-blau); text-underline-offset: 3px; }
.rg-gesetz figcaption a:hover { color: var(--av-blau); }
.rg-gesetz figcaption a:active { color: var(--av-ink); text-decoration-thickness: 2px; }
.rg-gesetz figcaption a:focus-visible { outline: 2px solid var(--av-ink); outline-offset: 2px; }
.rg-uebersetzt { margin-top: 1.25rem; max-width: 52ch; font-size: clamp(1.0625rem, 1.4vw, 1.15rem); }
/* Abstand zwischen Kachel-Zeitleiste und dem Satz darunter */
.rg-kipp-liste + .rg-uebersetzt { margin-top: clamp(2rem, 4vw, 3rem); }
/* Fließtext nie unter 17px, auch im Abschluss und in Abschnitts-Einleitungen */
.av-body .av-person-more { font-size: 1.0625rem; }
@media (max-width: 640px) { .av-body .av-section-lead { font-size: 1.0625rem; } }
/* Hochwasser: die Folgerung aus den Zitaten steht mit Abstand und etwas mehr Gewicht, sonst hängt sie lose unter der Quellzeile */
.rg-gesetz-fokus + .rg-uebersetzt { margin-top: clamp(2.25rem, 4.5vw, 3.25rem); max-width: 40ch; font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.4; color: var(--av-ink); }

/* Wer bekommt die Kinderzulage: 2027 gegen 2028 */
.rg-jahre-sec { background: var(--av-surface); padding: clamp(4rem, 9vw, 7.5rem) 0 !important; }
.rg-jahre {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    margin-top: clamp(2.5rem, 6vw, 4rem);
    align-items: stretch;
}
.rg-jahr > .rg-pikto { --pw: auto; height: 112px; max-width: 150px; }
.rg-jahr-zahl {
    font-family: var(--av-display);
    font-weight: 600;
    font-size: clamp(4.5rem, 10vw, 8.5rem);
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: var(--av-blau);
    font-variant-numeric: tabular-nums;
    margin-bottom: 1.4rem;
}
.rg-jahr h3 {
    font-family: 'General Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(1.15rem, 1.7vw, 1.35rem);
    line-height: 1.3;
    color: var(--av-ink);
    margin-bottom: 0.6rem;
}
/* Eine Aussage statt Schlagwort plus gleichlautender Unterzeile (Kritik 12.10.2026) */
.av-body .rg-jahr h3.rg-jahr-satz { font-family: var(--av-display); font-weight: 600; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.12; letter-spacing: -0.015em; margin: 0.4rem 0 1rem; max-width: 18ch; }
.rg-jahr p { max-width: 44ch; }
.rg-jahr p + p { margin-top: 0.7rem; }

/* --------------------------------------------------------------------------
   Lage-Wähler (Selbstständige)
   -------------------------------------------------------------------------- */
.rg-wahl-sec { background: var(--av-surface); padding: clamp(4rem, 9vw, 7.5rem) 0 !important; }
.rg-wahl { border: 0; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; min-width: 0; }
.rg-wahl legend {
    font-family: 'General Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--av-ink);
    margin-bottom: 0.9rem;
    padding: 0;
}
.rg-wahl-knoepfe { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.rg-wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.rg-wahl label {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    font-family: 'General Sans', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--av-ink);
    background: var(--av-page);
    border-radius: 50px;
    padding: 0.7rem 1.2rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.rg-wahl label:hover { background: var(--av-champ-d); }
.rg-wahl label:active { transform: translateY(1px); background: var(--av-on-navy); }
.rg-wahl input:focus-visible + label { outline: 2px solid var(--av-ink); outline-offset: 2px; }
.rg-wahl input:checked + label { background: var(--av-blau); color: var(--bg-white); }
.rg-wahl input:checked + label::before { content: '\2713'; margin-right: 0.45rem; }
.rg-wahl input:checked + label:hover { background: var(--av-blau-d); }

.rg-lagen { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 1.5rem; }
.rg-lage {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem clamp(2rem, 5vw, 5rem);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--linie);
    border-radius: 18px;
    padding: clamp(1.5rem, 4vw, 3.25rem);
    scroll-margin-top: 96px;
    align-content: start;
}
/* Jede Lage trägt ihr Piktogramm über der Frage */
.rg-lage-pikto { display: block; width: auto; height: 60px; max-width: 96px; margin-bottom: 1.1rem; }
/* Die Lebenslage ist die Überschrift, die Antwort steht darunter (Kritik 12.10.2026: klein über groß wirkte wie ein Etikett) */
.rg-lage-kopf h3 {
    font-family: var(--av-display);
    font-weight: 600;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--av-ink);
    margin-bottom: 0.8rem;
}
/* --av-ink ist seit 11.10. dasselbe Blau wie --av-blau, deshalb hier das echte Dunkel */
.av-body .rg-lage:not(.rg-lage-haupt) .rg-lage-kopf h3 { color: var(--ink, #141B33); }
.rg-lage-antwort {
    font-family: var(--av-display);
    font-weight: 600;
    font-size: clamp(1.2rem, 1.7vw, 1.4rem);
    line-height: 1.3;
    letter-spacing: -0.005em;
    color: var(--av-blau);
    /* General Sans ist breiter als Gambetta: lange Wörter wie "Elementarschaden." dürfen nie aus der Spalte laufen */
    overflow-wrap: break-word;
    hyphens: auto;
}
.rg-lage-zahl, .rg-eintrag-zahl {
    font-family: var(--av-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--av-ink);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.rg-lage-zahl { margin-top: 1.4rem; font-size: clamp(2.2rem, 4vw, 3.25rem); }
.rg-lage-text p { max-width: 50ch; }
.rg-lage-text p + p, .rg-lage-text p + ul, .rg-lage-text ul + p { margin-top: 0.8rem; }
.rg-bed {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}
.rg-bed li {
    position: relative;
    padding-left: 1.75rem;
    max-width: 48ch;
}
.rg-bed li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'General Sans', system-ui, sans-serif;
    font-weight: 800;
    color: var(--av-blau);
}
.rg-lage-text a, .rg-text-link { color: var(--av-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--av-blau); text-underline-offset: 3px; }
.rg-lage-text a:hover, .rg-text-link:hover { color: var(--av-blau); }
.rg-lage-text a:active, .rg-text-link:active { color: var(--av-ink); text-decoration-thickness: 2px; }
.rg-lage-text a:focus-visible, .rg-text-link:focus-visible { outline: 2px solid var(--av-ink); outline-offset: 2px; border-radius: 2px; }

/* --------------------------------------------------------------------------
   Steuer-Rechnung: Zulage plus Steuer, als Gleichung gesetzt
   -------------------------------------------------------------------------- */
.rg-steuer-sec { background: var(--av-page); padding: clamp(4rem, 9vw, 7.5rem) 0 !important; }
.rg-gleichung {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1.25rem clamp(1rem, 3vw, 2.25rem);
    margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
}
.rg-glied { margin: 0; }
/* Jedes Glied der Rechnung als Kachel, das Ergebnis in Koralle */
.rg-gleichung .rg-glied.rg-kachel { padding: clamp(20px, 2.4vw, 32px); }
.rg-gleichung { align-items: center; }
.rg-ergebnis { align-items: center; }
.rg-glied-zahl {
    display: block;
    font-family: var(--av-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    font-size: clamp(2.4rem, 5vw, 4.25rem);
    line-height: 1.05;
    color: var(--av-ink);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.rg-glied-text { display: block; margin-top: 0.6rem; max-width: 20ch; font-family: 'General Sans', system-ui, sans-serif; font-weight: 600; font-size: 1.0625rem; line-height: 1.45; color: var(--av-muted); }
.rg-op {
    font-family: var(--av-display);
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.3;
    color: var(--av-muted);
}
/* Das Ergebnis steht immer in eigener Zeile, das Gleichheitszeichen davor, nie allein am Zeilenende */
.rg-ergebnis { flex-basis: 100%; display: flex; align-items: flex-start; gap: clamp(1rem, 3vw, 2.25rem); }
.rg-ergebnis .rg-op { line-height: 1.6; }
.rg-glied-summe .rg-glied-zahl { font-size: clamp(3.2rem, 7vw, 6rem); }
.rg-steuer-text { margin-top: clamp(2rem, 4vw, 3rem); max-width: 60ch; }
.rg-steuer-text p + p { margin-top: 0.8rem; }

.av-body .av-step { font-family: 'General Sans', system-ui, sans-serif; }
/* Plus und Minus am Kinder-Zähler: Tippfläche mindestens 44px */
.av-body .av-kids .av-step { width: 44px; height: 44px; }
/* Keine einzelnen Wörter allein in der letzten Zeile einer Überschrift */
.av-body main h2 { text-wrap: balance; }

/* --------------------------------------------------------------------------
   Blaue Fläche: eine Sektion je Beitrag im Logo-Blau, damit die lange Strecke Farbe bekommt.
   Weiß darauf 5,2:1, deshalb alles in Weiß, kein Grau. Der Zitrus-Marker bleibt gelb mit dunkler Schrift.
   -------------------------------------------------------------------------- */
.rg-blau { background: var(--av-blau) !important; color: var(--bg-white); }
.rg-blau h2,
.rg-blau h3,
.rg-blau p,
.rg-blau .av-frage,
.rg-blau .rg-jahr-zahl,
.rg-blau .rg-glied-zahl,
.rg-blau .rg-glied-text,
.rg-blau dt,
.rg-blau .rg-kipp-zahl,
.rg-blau .rg-kipp-text,
.rg-blau .rg-op { color: var(--bg-white); }
.rg-blau .av-schicht { color: var(--av-ink); }
/* Solange die Zitrus-Fläche noch nicht durchgelaufen ist, steht der Betrag weiß auf Blau */
.av-js .rg-blau [data-schicht]:not(.av-da) { color: var(--bg-white); }
.rg-blau [data-schicht] { transition: --p 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.2s ease 0.35s; }
.rg-blau ::selection { background: var(--bg-white); color: var(--av-blau); }
/* Knöpfe und Links auf Blau: der blaue Telefon-Knopf wird weiß, damit er nicht in der Fläche verschwindet */
.av-body .rg-blau .btn-primary { background: var(--bg-white); border-color: var(--bg-white); color: var(--av-blau); box-shadow: none; }
.av-body .rg-blau .btn-primary:hover { background: var(--av-on-navy); border-color: var(--av-on-navy); color: var(--av-blau-d); }
.av-body .rg-blau .btn-primary:active { background: var(--av-press-navy); border-color: var(--av-press-navy); color: var(--av-ink); }
.av-body .rg-blau .btn:focus-visible { outline: 2px solid var(--bg-white); outline-offset: 3px; }
.rg-blau .av-person-more a { color: var(--bg-white); text-decoration-color: var(--bg-white); }
.rg-blau .av-person-more a:hover { color: var(--av-on-navy); text-decoration-thickness: 2px; }
.rg-blau .av-person-more a:active { color: var(--bg-white); }
.rg-blau .av-person-more a:focus-visible { outline-color: var(--bg-white); }

/* --------------------------------------------------------------------------
   Übersicht /ratgeber/: ruhiges Bento-Raster. Der Hauptartikel als große Koralle-Kachel,
   Hochwasser blau, die zwei Vorsorge-Themen weiß, die Reform als hellblaue Querkachel.
   Die ganze Kachel ist klickbar über den Link in der Überschrift (gestreckter Link).
   -------------------------------------------------------------------------- */
.rg-liste-sec { background: var(--av-surface); padding: clamp(3rem, 7vw, 6rem) 0 !important; }
.rg-bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rg-bento > .rg-kachel { transition: transform 0.35s var(--ck-ease), box-shadow 0.35s var(--ck-ease); }
.rg-bento > .rg-kachel:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(20, 27, 51, 0.45); }
.rg-bento > .rg-k-hell:hover { box-shadow: inset 0 0 0 1px var(--linie), 0 18px 40px -20px rgba(20, 27, 51, 0.35); }
.rg-bento > .rg-kachel:active { transform: translateY(-1px) scale(0.99); transition-duration: 0.1s; }
.rg-b-gross { grid-column: span 2; grid-row: span 2; min-height: 600px; }
.rg-b-breit { grid-column: span 2; min-height: 290px; }
/* Großes Bild, mittig im freien Raum: vorher standen rund 350 px Leere unter dem Haus (Kritik 12.10.2026) */
.rg-b-gross > .rg-pikto { --pw: min(440px, 88%); align-self: center; margin-block: auto; }
.rg-b-breit > .rg-pikto { --pw: 190px; margin-bottom: auto; }
.rg-b-klein > .rg-pikto { --pw: 104px; margin-bottom: auto; }
.rg-bento h2 { margin-top: 1.25rem; font-size: clamp(1.4rem, 1.9vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; max-width: 22ch; text-wrap: balance; }
.rg-b-gross h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); max-width: 16ch; }
.rg-b-klein h2 { font-size: clamp(1.2rem, 1.45vw, 1.4rem); hyphens: auto; -webkit-hyphens: auto; }
.rg-k-link { color: inherit; text-decoration: none; }
.rg-k-link::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.rg-k-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.14em; }
.rg-k-link:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.rg-k-koralle .rg-k-link:focus-visible, .rg-k-hell .rg-k-link:focus-visible { outline-color: var(--ink); }
.rg-eintrag-zahl {
    margin-top: 1rem;
    font-family: var(--av-display);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    font-size: clamp(2.4rem, 3.4vw, 3rem);
    color: var(--av-blau);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.rg-b-gross .rg-eintrag-zahl { font-size: clamp(3.4rem, 6.4vw, 6rem); }
.av-body .rg-k-koralle .rg-eintrag-zahl { color: var(--ink); }
.rg-eintrag-zahl .av-schicht-voll { color: var(--ink); }
.rg-bento .rg-kachel p:not(.rg-eintrag-zahl) { margin-top: 0.6rem; max-width: 40ch; line-height: 1.55; }
.rg-b-gross p:not(.rg-eintrag-zahl) { font-size: 1.15rem; }
.rg-k-mehr {
    display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start;
    margin-top: 1.25rem; min-height: 44px; padding: 0 1rem; border-radius: 999px;
    font-family: 'General Sans', system-ui, sans-serif; font-weight: 600; font-size: 1rem;
    background: var(--flaeche); color: var(--blau-800);
}
.rg-k-koralle .rg-k-mehr { background: var(--ink); color: var(--auf-dunkel); }
.rg-k-blau .rg-k-mehr { background: rgba(255, 250, 245, 0.16); color: var(--auf-dunkel); }
.rg-k-flaeche .rg-k-mehr { background: var(--blau-800); color: var(--auf-dunkel); }
.rg-k-mehr svg { transition: transform 0.3s var(--ck-ease); }
.rg-kachel:hover .rg-k-mehr svg { transform: translateX(4px); }
/* Reform-Querverweis als breite Kachel unter den vier Beiträgen */
.rg-weiter { margin-top: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem clamp(1.5rem, 4vw, 3.5rem); }
.rg-weiter > .rg-pikto { --pw: 132px; margin: 0; align-self: center; }
.rg-weiter h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; max-width: 24ch; }
.rg-weiter-satz { margin-top: 0.5rem; max-width: 52ch; color: var(--ink-2); }
.rg-weiter .rg-k-mehr { margin-top: 0; text-decoration: none; }
.rg-weiter .rg-k-mehr:hover { background: var(--blau-900); }
.rg-weiter .rg-k-mehr:active { transform: translateY(1px); }
.rg-weiter .rg-k-mehr:focus-visible { outline: 3px solid var(--blau-800); outline-offset: 3px; }
.rg-weiter .rg-k-mehr:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Abschluss: Erstgespräch als Koralle-Knopf neben Telefon und WhatsApp
   -------------------------------------------------------------------------- */
.av-cta-row { align-items: center; }
.av-cta-row .ck-btn-cta { min-height: 54px; }
.av-body .rg-blau .ck-btn-cta:focus-visible { outline: 3px solid var(--auf-dunkel); outline-offset: 3px; }
.av-body .rg-blau .ck-btn-cta, .av-body .rg-blau .ck-btn-cta:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Responsiv
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
    .rg-kipp-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rg-kipp-gross { grid-column: 1 / -1; order: -1; }
    .rg-anker-gross, .rg-anker-gross + .rg-anker { grid-column: 1 / -1; }
    .rg-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rg-b-gross { grid-row: auto; min-height: 0; }
    .rg-b-gross > .rg-pikto { --pw: 240px; }
    .rg-b-klein { grid-column: span 1; }
}

@media (max-width: 820px) {
    .rg-lage, .rg-jahre { grid-template-columns: minmax(0, 1fr); }
    .rg-zeile-regel { grid-column: 1 / -1; }
    .rg-weiter { grid-template-columns: minmax(0, 1fr); }
    .rg-weiter > .rg-pikto { --pw: 104px; }
}

@media (max-width: 640px) {
    .rg-zeile { grid-template-columns: minmax(0, 1fr) auto; }
    .rg-zeile .rg-spur { grid-column: 1 / -1; grid-row: 2; }
    .rg-balken { height: 2.25rem; }
    .rg-op { align-self: center; }
    .rg-wahl label { white-space: normal; }
    .rg-bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .rg-b-gross, .rg-b-breit, .rg-b-klein { grid-column: 1 / -1; min-height: 0; }
    .rg-b-gross > .rg-pikto { --pw: 180px; }
    .rg-b-breit > .rg-pikto { --pw: 120px; }
    .rg-regeln, .rg-jahre, .rg-kipp-liste { gap: 12px; }
    .av-cta-row .ck-btn { width: 100%; }
}

@media (max-width: 480px) {
    .rg-kipp-liste { grid-template-columns: minmax(0, 1fr); }
    .rg-kipp-gross .rg-kipp-zahl { font-size: clamp(3.4rem, 19vw, 5rem); }
    .rg-kipp-gross { order: 0; }
    /* Die Lagen sind zu lang für zwei je Zeile, als gleich breite Liste lesen sie sich ruhiger als ein Flatterrand */
    .rg-wahl-knoepfe { display: grid; grid-template-columns: minmax(0, 1fr); }
    .rg-gleichung { flex-direction: column; align-items: stretch; gap: 0.6rem; }
    .rg-op, .rg-ergebnis .rg-op { line-height: 1; align-self: center; }
    .rg-ergebnis { flex-direction: column; align-items: stretch; gap: 0.6rem; }
    .rg-kachel { padding: 20px; }
    .rg-anker-gross .rg-anker-zahl { font-size: clamp(3.6rem, 21vw, 5rem); }
    .rg-anker-lang .rg-anker-zahl { font-size: clamp(2.6rem, 14.5vw, 3.6rem); }
    .rg-b-gross .rg-eintrag-zahl { font-size: clamp(2.6rem, 14vw, 3.4rem); }
    .rg-jahr-zahl { font-size: clamp(3.6rem, 19vw, 5rem); }
}

@media (prefers-reduced-motion: reduce) {
    .rg-balken { transition: none !important; }
    .rg-schwebt { animation: none; }
    .rg-mark { transition: none; }
    .rg-bento > .rg-kachel, .rg-k-mehr svg { transition: none; }
    .rg-bento > .rg-kachel:hover, .rg-bento > .rg-kachel:active { transform: none; }
    .rg-kachel:hover .rg-k-mehr svg, .rg-weiter .rg-k-mehr:hover svg { transform: none; }
}

/* Teilen-Link unter dem Artikel */
.rg-teilen { padding-block: 2rem; text-align: center; }
.rg-teilen a { display: inline-block; padding-block: 0.7rem; color: var(--av-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--av-blau); text-underline-offset: 3px; }
.rg-teilen a:hover { color: var(--av-blau); }
.rg-teilen a:focus-visible { outline: 2px solid var(--av-ink); outline-offset: 2px; border-radius: 2px; }

/* Artikel Versicherungen: eine Haupt-Lage als blaue Fläche, die übrigen als Raster */
.rg-lage-haupt { background: var(--av-blau); box-shadow: none; }
.rg-lage-haupt h3, .rg-lage-haupt .rg-lage-antwort, .rg-lage-haupt p { color: var(--bg-white); }
.rg-lage-haupt h3 { font-size: clamp(1.7rem, 2.9vw, 2.5rem); }
.rg-lage-haupt .rg-lage-text a { color: var(--bg-white); text-decoration-color: var(--bg-white); }
.rg-lage-haupt .rg-lage-text a:focus-visible { outline-color: var(--bg-white); }
.rg-jahr-wort { font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -0.02em; }
@media (min-width: 900px) {
    .rg-lagen-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rg-lagen-raster .rg-lage { grid-template-columns: minmax(0, 1fr); }
    .rg-lagen-raster .rg-lage-haupt { grid-column: 1 / -1; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
    /* Zwei Karten nebeneinander: 3.4rem trennte "Krankentage-geld." (QS 11.10.2026) */
    .rg-lagen-raster .rg-lage:not(.rg-lage-haupt) h3 { font-size: clamp(1.4rem, 1.9vw, 1.7rem); }
}

@media (max-width: 480px) {
    .rg-lage-haupt h3 { font-size: clamp(1.5rem, 7vw, 2rem); }
    .rg-jahr-wort { overflow-wrap: anywhere; }
}

/* Hochwasser-Artikel: engere Sektion, damit zwei Zahlenbühnen nicht gleich hoch stehen */
.rg-regeln-sec.rg-eng { padding: clamp(3rem, 6vw, 5rem) 0 !important; }
.rg-lage-haupt .rg-lage-text a:focus-visible { outline-offset: 2px; }
/* Beraterzeile am Artikelende mindestens 17px */
.av-body .av-berater-name { font-size: 1.0625rem; }
/* Fragen als Karten statt loser Textspalten (Kritik 12.10.2026), nur im Ratgeber */
.av-faq-grid { column-gap: 16px; }
.av-faq-item { margin-bottom: 16px; padding: 1.5rem 1.6rem 1.6rem; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); }
.av-faq-item h3 { color: var(--ink, #141B33); }
.av-faq-item[open] summary h3 { margin-bottom: 0.7rem; }
@media (max-width: 640px) {
    .av-faq-item { margin-bottom: 10px; padding: 0.35rem 1.1rem; }
    .av-faq-item[open] > p:last-child { padding-bottom: 1.1rem; }
    .av-faq-item summary::after { background: var(--flaeche, #ECEFFB); }
}
/* Autorenbox im Artikel-Kopf als Karte mit Gesicht, sitzt oben neben dem Vorspann statt unten zu schweben (Kritik 12.10.2026) */
.rg-hero .av-hero-unten { align-items: start; }
.rg-hero .av-berater { align-items: center; padding: 1.25rem 1.4rem; border-radius: 18px; background: var(--flaeche, #ECEFFB); }
.rg-hero .av-berater img { flex: none; width: 76px; height: 76px; border-radius: 50%; border: 3px solid var(--koralle, #FF8466); object-fit: cover; }
.rg-hero .av-berater-satz { margin: 0.15rem 0 0.8rem; }
@media (max-width: 480px) {
    /* bei 320 ragte der Anruf-Knopf neben dem Gesicht über die Karte */
    .rg-hero .av-berater { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
    .rg-hero .av-berater img { width: 64px; height: 64px; }
}
