/* MeineSparquote – Landingpage „Vorsorgebericht“ (Geschäftsbericht-Satz) */

@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo-latin-var.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-style: normal;
    font-display: swap;
}

:root {
    --papier: #ffffff;
    --flaeche: #f3f6f4;
    --tinte: #0f1713;
    --tinte-2: #46534d;
    --tinte-3: #5f6c66;
    --linie: #dfe5e2;
    --linie-2: #c4cec9;
    --gruen: #005940;
    --gruen-tief: #00402e;
    --gruen-nacht: #00301f;
    --gruen-text: #cfe4d9;
    --gelb: #ffde00;
    --fehler: #b3261e;

    --breite: 84rem;
    --rand: clamp(1.25rem, 4vw, 3.5rem);
    --abschnitt: clamp(4.5rem, 7.5vw, 7rem);
    --r-abb: 14px;
    --schatten-abb: 0 30px 60px -34px rgba(15, 23, 19, 0.38), 0 2px 6px rgba(15, 23, 19, 0.06);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 5rem;
    scrollbar-color: #bcc7c2 transparent;
    scrollbar-width: thin;
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    font-family: "Archivo", "Segoe UI", system-ui, sans-serif;
    font-size: 1.0625rem;
    font-weight: 400;
    font-stretch: 100%;
    line-height: 1.6;
    color: var(--tinte);
    background: var(--papier);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gelb); color: var(--tinte); }
:focus-visible { outline: 2px solid var(--gruen); outline-offset: 3px; border-radius: 4px; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; }
p, h1, h2, h3, figure, dl, dd, ul, ol { margin: 0; }
h1, h2, h3 { font-weight: inherit; text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }

.innen { max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }

.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    background: var(--gruen); color: #fff; padding: 0.7rem 1rem; border-radius: 999px;
    font-weight: 560; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typografie ---------- */
.display {
    font-stretch: 118%;
    font-weight: 300;
    font-size: clamp(2.4rem, 4.7vw, 4.3rem);
    line-height: 1.03;
    letter-spacing: -0.028em;
}
.kapitel-titel {
    font-stretch: 114%;
    font-weight: 330;
    font-size: clamp(1.85rem, 2.6vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
h3 {
    font-stretch: 106%;
    font-weight: 540;
    font-size: 1.2rem;
    line-height: 1.3;
    letter-spacing: -0.005em;
}
.lead {
    font-size: clamp(1.1rem, 1.4vw, 1.25rem);
    line-height: 1.5;
    color: var(--tinte-2);
    max-width: 54ch;
}
kbd {
    font: inherit; font-size: 0.85em; font-weight: 560;
    padding: 0.05em 0.45em; border-radius: 6px;
    border: 1px solid currentColor; opacity: 0.9;
}

/* ---------- Knöpfe ---------- */
.knopf {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    height: 2.75rem; padding: 0 1.25rem;
    border: 0; border-radius: 999px;
    background: var(--gruen); color: #fff;
    font: inherit; font-stretch: 106%; font-weight: 560; font-size: 0.95rem; letter-spacing: 0.005em; line-height: 1.3;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.knopf:hover { background: var(--gruen-tief); }
.knopf:active { transform: translateY(1px); }
.knopf svg { width: 1.05em; height: 1.05em; transition: transform 0.3s var(--ease); }
.knopf:hover svg { transform: translateX(3px); }
.knopf--gross { height: 3.5rem; padding: 0 1.8rem; font-size: 1.05rem; }
.knopf--hell { background: #fff; color: var(--gruen); }
.knopf--hell:hover { background: var(--gruen-text); }
.knopf--linie { background: transparent; color: var(--tinte); box-shadow: inset 0 0 0 1px var(--linie-2); }
.knopf--linie:hover { background: transparent; box-shadow: inset 0 0 0 1px var(--tinte); }

.textlink {
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.32em;
    text-decoration-color: var(--linie-2);
    transition: text-decoration-color 0.2s;
}
.textlink:hover { text-decoration-color: var(--tinte); }

/* ---------- Kopfzeile ---------- */
.kopf {
    position: sticky; top: 0; z-index: 50;
    background: var(--papier);
    border-bottom: 1px solid var(--linie);
}
.kopf .innen {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    height: 4.25rem; position: relative;
}
.marke {
    display: inline-flex; align-items: center; gap: 0.6rem;
    text-decoration: none; flex: none;
    font-stretch: 110%; font-weight: 560; font-size: 1.12rem; letter-spacing: -0.01em;
}
.marke img { width: 30px; height: 30px; }
.marke em { font-style: normal; color: var(--gruen); }
.nav { display: flex; align-items: center; gap: 2rem; font-size: 0.95rem; }
.nav a:not(.knopf) {
    color: var(--tinte-2); text-decoration: none; padding: 0.35rem 0;
    background: linear-gradient(currentColor, currentColor) left 100% / 0 1px no-repeat;
    transition: background-size 0.3s var(--ease), color 0.2s;
}
.nav a:not(.knopf):hover { color: var(--tinte); background-size: 100% 1px; }
.menu-knopf {
    display: none;
    width: 2.75rem; height: 2.75rem; border-radius: 999px;
    border: 1px solid var(--linie-2); background: var(--papier); color: var(--tinte);
    align-items: center; justify-content: center; cursor: pointer;
}
.menu-knopf svg { width: 1.2rem; height: 1.2rem; }

/* ---------- Titel mit Kennzahl ---------- */
.titel { padding-top: clamp(1.75rem, 3.2vw, 2.75rem); }
.titel h1 { max-width: 62rem; }
.titel-fuss {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem 4rem; align-items: end;
    margin-top: clamp(1.1rem, 2vw, 1.6rem);
}
.handlung { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }

.kennzahl {
    margin-top: clamp(1.75rem, 3vw, 2.4rem);
    border-top: 1px solid var(--tinte);
    padding-top: 1.25rem;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 1.5rem clamp(2rem, 4vw, 4rem);
}
.kz-text { display: flex; flex-direction: column; }
.kz-zahl {
    font-stretch: 112%;
    font-weight: 250;
    font-size: clamp(3.6rem, 6.6vw, 6.4rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--gruen);
    white-space: nowrap;
    font-variant-numeric: tabular-nums lining-nums;
}
.kz-label {
    margin-top: 0.7rem;
    display: flex; align-items: center; gap: 0.6rem;
    font-stretch: 104%; font-weight: 500; font-size: 1rem;
}
.marker {
    width: 0.8rem; height: 0.8rem; border-radius: 2px; flex: none;
    background: var(--gelb); box-shadow: inset 0 0 0 1px rgba(15, 23, 19, 0.14);
}
.kz-werte { margin-top: clamp(0.9rem, 1.8vw, 1.4rem); }
.kz-werte div {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    border-top: 1px solid var(--linie); padding: 0.55rem 0;
}
.kz-werte dt { color: var(--tinte-2); font-size: 0.95rem; }
.kz-werte dd {
    font-stretch: 108%; font-weight: 420; font-size: 1.15rem;
    font-variant-numeric: tabular-nums lining-nums; white-space: nowrap;
}

.kz-grafik { position: relative; min-width: 0; }
.grafik { position: relative; height: clamp(12.5rem, 17.5vw, 16rem); }
.grafik svg { width: 100%; height: 100%; overflow: visible; }
.grafik text {
    font-family: inherit; font-size: 12.5px; fill: var(--tinte-3);
    font-variant-numeric: tabular-nums lining-nums;
}
.grafik .t-stark { fill: var(--tinte); font-weight: 560; font-size: 13px; }
.grafik .gitter { stroke: var(--linie); stroke-width: 1; }
.grafik .achse { stroke: var(--tinte); stroke-width: 1; }
.grafik .linie-wunsch { fill: none; stroke: var(--tinte); stroke-width: 1.75; stroke-linejoin: round; }
.grafik .linie-rente { fill: none; stroke: var(--gruen); stroke-width: 1.75; }
.grafik .flaeche-luecke { fill: var(--gelb); }
.grafik .marke-67 { stroke: var(--tinte); stroke-width: 1; stroke-dasharray: 2 4; }
.grafik .punkt { fill: var(--papier); stroke: var(--tinte); stroke-width: 1.75; }
.grafik .punkt--rente { stroke: var(--gruen); }
.js .grafik.zeichnet .linie-wunsch,
.js .grafik.zeichnet .linie-rente { stroke-dashoffset: var(--len); }
.js .grafik.zeichnet .flaeche-luecke,
.js .grafik.zeichnet .etikett { opacity: 0; }
.grafik .linie-wunsch, .grafik .linie-rente { transition: stroke-dashoffset 1.25s var(--ease); }
.grafik .linie-rente { transition-delay: 0.25s; }
.grafik .flaeche-luecke, .grafik .etikett { transition: opacity 0.7s var(--ease) 0.75s; }
.kz-grafik figcaption { margin-top: 0.7rem; }

.abb-zeile { font-size: 0.85rem; line-height: 1.5; color: var(--tinte-3); max-width: 78ch; }
.abb-zeile b { color: var(--tinte); font-weight: 560; margin-right: 0.35rem; }
.nur-klein { display: none; }

/* Annahmen = Live-Rechner */
.annahmen {
    margin-top: clamp(1.1rem, 1.8vw, 1.5rem);
    border-top: 1px solid var(--linie);
    padding-top: 1rem;
    display: grid;
    grid-template-columns: minmax(7.5rem, 0.75fr) repeat(5, minmax(0, 1fr));
    gap: 1rem clamp(1.1rem, 2.2vw, 2.25rem);
    align-items: end;
}
.annahmen-titel { align-self: start; }
.annahmen-name { font-stretch: 106%; font-weight: 560; font-size: 1.05rem; line-height: 1.4; }
.annahmen-titel p:not(.annahmen-name) { font-size: 0.85rem; line-height: 1.4; color: var(--tinte-3); margin-top: 0.2rem; }
.feld label { display: block; font-size: 0.85rem; line-height: 1.4; color: var(--tinte-2); margin-bottom: 0.25rem; }
.eingabe {
    display: flex; align-items: baseline;
    border-bottom: 1px solid var(--tinte);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.eingabe:hover { border-bottom-color: var(--gruen); }
.eingabe:focus-within { border-bottom-color: var(--gruen); box-shadow: 0 1px 0 0 var(--gruen); }
.eingabe:has(input[aria-invalid="true"]) { border-bottom-color: var(--fehler); box-shadow: 0 1px 0 0 var(--fehler); }
.eingabe input {
    flex: 1; min-width: 0; width: 100%;
    border: 0; background: transparent; padding: 0.1rem 0 0.3rem; margin: 0;
    font: inherit; font-stretch: 108%; font-weight: 380; font-size: 1.45rem; line-height: 1.3;
    color: var(--tinte); caret-color: var(--gruen);
    font-variant-numeric: tabular-nums lining-nums;
}
.eingabe input:focus { outline: none; }
.eingabe .einheit { color: var(--tinte-3); font-size: 1rem; margin-left: 0.35rem; }
.regler { display: flex; align-items: center; gap: 0.8rem; height: 2.45rem; }
.regler output {
    font-stretch: 108%; font-weight: 380; font-size: 1.45rem; line-height: 1;
    font-variant-numeric: tabular-nums lining-nums; min-width: 4.2ch; text-align: right;
}
input[type="range"] {
    -webkit-appearance: none; appearance: none;
    flex: 1; min-width: 0; height: 2px; margin: 0; cursor: pointer;
    background: linear-gradient(var(--gruen), var(--gruen)) 0 0 / var(--p, 50%) 100% no-repeat, var(--linie-2);
    border-radius: 2px;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--papier); border: 2px solid var(--gruen);
    box-shadow: 0 2px 6px rgba(15, 23, 19, 0.2);
    transition: transform 0.2s var(--ease);
}
input[type="range"]::-moz-range-thumb {
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--papier); border: 2px solid var(--gruen);
    box-shadow: 0 2px 6px rgba(15, 23, 19, 0.2);
}
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(0, 89, 64, 0.22); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(0, 89, 64, 0.22); }
.hinweis { grid-column: 2 / -1; font-size: 0.85rem; line-height: 1.5; color: var(--tinte-3); max-width: 92ch; }

/* ---------- Kapitel im Satzspiegel: Randspalte + Inhalt ---------- */
.kapitel { padding-block: var(--abschnitt); }
.titel + .kapitel { padding-top: clamp(5rem, 8.5vw, 8rem); }
.satz {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2.25rem 2rem;
    align-items: start;
}
.satz > .satz-rand, .satz > .satz-inhalt { border-top: 1px solid var(--tinte); padding-top: 1.5rem; }
.satz-rand { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; }
.satz-inhalt { grid-column: 5 / -1; min-width: 0; }
.satz-text { color: var(--tinte-2); max-width: 34ch; }
.satz--offen > .satz-rand, .satz--offen > .satz-inhalt { border-top-color: var(--linie); }

/* Ablauf: Schritte als Register in der Randspalte */
.schritte { display: flex; flex-direction: column; width: 100%; margin-top: 0.6rem; }
.schritt {
    -webkit-appearance: none; appearance: none;
    display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: 0.75rem; row-gap: 0.15rem;
    width: 100%;
    padding: 0.85rem 0 0.95rem; margin: 0;
    border: 0; border-top: 1px solid var(--linie); border-radius: 0;
    background: none; color: inherit; text-align: left;
    font: inherit; cursor: pointer;
    position: relative;
    transition: color 0.2s;
}
.schritt:last-child { border-bottom: 1px solid var(--linie); }
.schritt::before {
    content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0;
    background: var(--gruen); transition: width 0.45s var(--ease);
}
.schritt:focus-visible { outline-offset: 2px; }
.schritt .nr {
    grid-row: 1 / span 2;
    font-stretch: 112%; font-weight: 280; font-size: 1.75rem; line-height: 1.05;
    color: var(--tinte-3); font-variant-numeric: tabular-nums lining-nums;
    transition: color 0.25s;
}
.schritt .name { font-stretch: 106%; font-weight: 540; font-size: 1.05rem; line-height: 1.35; }
.schritt .text { font-size: 0.92rem; line-height: 1.45; color: var(--tinte-2); }
.schritt:hover .name { color: var(--gruen); }
.schritt[aria-selected="true"]::before { width: 100%; }
.schritt[aria-selected="true"] .nr { color: var(--gruen); }

.abb { margin: 0; }
.abb-rahmen {
    background: var(--flaeche);
    border-radius: var(--r-abb);
    aspect-ratio: 16 / 10.5;
    display: flex; align-items: center; justify-content: center;
    padding: clamp(1.25rem, 3.2vw, 2.75rem);
    overflow: hidden;
}
.abb-rahmen--frei { aspect-ratio: auto; }
.abb-rahmen img {
    width: auto; max-width: 100%; max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--schatten-abb);
    transition: opacity 0.22s ease, transform 0.45s var(--ease);
}
.abb-rahmen.wechselt img { opacity: 0; transform: translateY(6px); }
.abb figcaption { margin-top: 0.9rem; }
.schritt-text-mobil { display: none; }

/* Kundenmodus: grüne Kapiteltrennseite */
.kapitel--gruen { background: var(--gruen); color: #fff; }
.kapitel--gruen :focus-visible { outline-color: var(--gelb); }
.km {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2.5rem 2rem; align-items: center;
}
.km-text { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
.km-text p { color: var(--gruen-text); }
.km-text .knopf { margin-top: 0.6rem; }
.km-bild { grid-column: 5 / -1; }
.km-bild img {
    border-radius: 12px;
    box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.km-bild figcaption { margin-top: 1rem; color: var(--gruen-text); }
.km-bild figcaption b { color: #fff; }

/* Bericht und Protokoll */
.dokumente { display: flex; flex-direction: column; width: 100%; margin-top: 0.4rem; }
.dokument { border-top: 1px solid var(--linie); padding: 1.1rem 0 1.3rem; display: flex; flex-direction: column; gap: 0.45rem; }
.dokument:last-child { border-bottom: 1px solid var(--linie); }
.dokument p { color: var(--tinte-2); font-size: 0.98rem; }

/* Leistungsübersicht */
.leistungen > div {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0.4rem 2rem;
    border-bottom: 1px solid var(--linie); padding: 1.05rem 0 1.15rem;
}
.leistungen > div:first-child { padding-top: 0.15rem; }
.leistungen dt { font-stretch: 106%; font-weight: 540; line-height: 1.4; }
.leistungen dd { color: var(--tinte-2); font-size: 0.98rem; line-height: 1.55; }

/* Konditionen: drei Lizenzen mit durchlaufenden Zeilen */
.konditionen {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(5, auto);
    column-gap: clamp(1.25rem, 2.4vw, 2.25rem);
    font-variant-numeric: tabular-nums lining-nums;
}
.tarif { grid-row: 1 / span 5; display: grid; grid-template-rows: subgrid; }
.tarif > * { padding: 1rem 0; border-bottom: 1px solid var(--linie); }
.tarif-name {
    padding-top: 0.15rem;
    font-stretch: 110%; font-weight: 420; font-size: 1.35rem; line-height: 1.3; letter-spacing: -0.01em;
}
.preis {
    display: block;
    font-stretch: 112%; font-weight: 280;
    font-size: clamp(2.1rem, 3vw, 2.7rem); line-height: 1; letter-spacing: -0.035em;
}
.preis--text { font-size: clamp(1.6rem, 2.2vw, 2.05rem); letter-spacing: -0.02em; padding-top: 0.35rem; }
.preis-zusatz { display: block; margin-top: 0.45rem; font-size: 0.88rem; line-height: 1.45; color: var(--tinte-3); }
.tarif-fuer { color: var(--tinte-2); font-size: 0.98rem; }
.tarif-liste { display: flex; flex-direction: column; gap: 0.5rem; color: var(--tinte-2); font-size: 0.98rem; }
.tarif-liste li { display: flex; gap: 0.6rem; align-items: baseline; }
.tarif-liste svg, .fakten svg { width: 0.95rem; height: 0.95rem; flex: none; color: var(--gruen); transform: translateY(0.12em); }
.tarif-aktion { border-bottom: 0; padding-top: 1.4rem; }

/* Praxis und Datenschutz */
.praxis { padding-bottom: clamp(1rem, 2vw, 2rem); }
.praxis-satz { font-stretch: 108%; font-weight: 330; font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.3; letter-spacing: -0.012em; }
.partner { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.partner img { height: 44px; width: auto; border-radius: 6px; }
.partner .schild { background: #fff; box-shadow: inset 0 0 0 1px var(--linie); padding: 2px 6px; box-sizing: content-box; height: 40px; }
.fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.fakten li { display: flex; gap: 0.7rem; align-items: baseline; border-bottom: 1px solid var(--linie); padding: 0.9rem 0; }
.fakten li:nth-child(-n+2) { padding-top: 0.15rem; }

/* Fragen */
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem;
    padding: 1.1rem 0;
    font-stretch: 106%; font-weight: 500; font-size: 1.12rem; line-height: 1.4;
}
.fragen details:first-child summary { padding-top: 0.15rem; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary svg {
    width: 1.1rem; height: 1.1rem; flex: none; margin-top: 0.2rem; color: var(--gruen);
    transition: transform 0.3s var(--ease);
}
.fragen details[open] summary svg { transform: rotate(45deg); }
.fragen summary:hover { color: var(--gruen); }
.fragen details p { padding: 0 0 1.4rem; color: var(--tinte-2); max-width: 68ch; }

/* Schluss */
.schluss { padding-bottom: var(--abschnitt); }
.schluss-band {
    border-top: 1px solid var(--tinte); padding-top: 2rem;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end;
}
.schluss-band h2 {
    font-stretch: 118%; font-weight: 300;
    font-size: clamp(2.3rem, 4.6vw, 4.1rem); line-height: 1.04; letter-spacing: -0.028em;
}
.schluss-band p { margin-top: 1rem; color: var(--tinte-2); font-size: 1.15rem; }

/* Fuß */
.fuss { background: var(--gruen-nacht); color: var(--gruen-text); padding-block: 3.5rem 2.5rem; font-size: 0.92rem; }
.fuss .innen { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; }
.fuss-text { display: flex; flex-direction: column; gap: 1.25rem; max-width: 34rem; }
.fuss .partner img { height: 40px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; align-self: start; }
.fuss nav a { color: #fff; text-decoration: none; }
.fuss nav a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.fuss :focus-visible { outline-color: var(--gelb); }
.copy { grid-column: 1 / -1; border-top: 1px solid rgba(207, 228, 217, 0.2); padding-top: 1.25rem; font-size: 0.82rem; }

/* ---------- Kurze Desktop-Bildschirme: Annahmen bleiben im ersten Bildschirm ---------- */
@media (min-width: 901px) and (max-height: 860px) {
    .display { font-size: clamp(2.3rem, 4vw, 3.6rem); }
    .titel { padding-top: 1.5rem; }
    .titel-fuss { margin-top: 0.9rem; }
    .lead { font-size: 1.08rem; }
    .kennzahl { margin-top: 1.25rem; padding-top: 1rem; }
    .kz-zahl { font-size: clamp(3.4rem, 5.6vw, 5.2rem); }
    .kz-werte div { padding: 0.4rem 0; }
    .grafik { height: clamp(11rem, 14.5vw, 13rem); }
    .annahmen { margin-top: 0.9rem; padding-top: 0.8rem; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
    .nav { gap: 1.4rem; }
    .annahmen { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .annahmen-titel { grid-column: 1 / -1; display: flex; gap: 0.75rem; align-items: baseline; }
    .annahmen-titel p:not(.annahmen-name) { margin: 0; }
    .hinweis { grid-column: 1 / -1; }
    .satz-rand { grid-column: 1 / span 4; }
    .satz-inhalt { grid-column: 5 / -1; }
    .km-text { grid-column: 1 / span 5; }
    .km-bild { grid-column: 6 / -1; }
    .konditionen { column-gap: 1.25rem; }
}

@media (max-width: 900px) {
    .menu-knopf { display: inline-flex; }
    .nav {
        display: none;
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--papier);
        border-bottom: 1px solid var(--linie);
        padding: 0.5rem var(--rand) 1.25rem;
        box-shadow: 0 24px 40px -30px rgba(15, 23, 19, 0.35);
    }
    .nav.offen { display: flex; }
    .nav a:not(.knopf) { padding: 0.95rem 0; border-bottom: 1px solid var(--linie); background: none; font-size: 1.05rem; }
    .nav .knopf { margin-top: 1rem; height: 3rem; }

    .titel-fuss { grid-template-columns: 1fr; }
    .kennzahl { grid-template-columns: 1fr; }
    .kz-werte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.25rem; }
    .kz-werte div { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
    .kz-werte dt { font-size: 0.85rem; line-height: 1.35; }
    .annahmen { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .satz { gap: 1.5rem; }
    .satz-rand, .satz-inhalt { grid-column: 1 / -1; }
    .satz > .satz-inhalt { border-top: 0; padding-top: 0; }
    .satz--offen > .satz-inhalt { border-top: 0; }

    .schritte {
        flex-direction: row;
        overflow-x: auto; scroll-snap-type: x mandatory;
        scrollbar-width: none;
        width: auto; align-self: stretch;
        margin-inline: calc(-1 * var(--rand)); padding-inline: var(--rand);
        gap: 1rem;
    }
    .schritte::-webkit-scrollbar { display: none; }
    .schritt {
        flex: 0 0 8.75rem; scroll-snap-align: start; scroll-margin-left: var(--rand);
        grid-template-columns: 1fr; row-gap: 0.25rem;
        border-top: 2px solid var(--linie); padding: 0.8rem 0 0.6rem;
    }
    .schritt:last-child { border-bottom: 0; }
    .schritt::before { top: -2px; }
    .schritt .nr { grid-row: auto; }
    .schritt .text { display: none; }
    .schritt-text-mobil { display: block; color: var(--tinte-2); margin-bottom: 1rem; }
    .abb-rahmen { aspect-ratio: auto; min-height: 15rem; padding: 1rem; }

    .km-text, .km-bild { grid-column: 1 / -1; }
    .konditionen { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 2.5rem; }
    .tarif { grid-row: auto; display: flex; flex-direction: column; border-top: 1px solid var(--tinte); }
    .tarif > * { padding: 0.9rem 0; }
    .tarif-name { padding-top: 1rem; }
    .fuss .innen { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .nur-gross { display: none; }
    .nur-klein { display: inline; }
    .handlung .knopf { width: 100%; height: 3.25rem; }
    .handlung { gap: 1rem; }
    .handlung .textlink { margin-inline: auto; }
    .kz-werte { grid-template-columns: 1fr; }
    .kz-werte div { flex-direction: row; align-items: baseline; }
    .annahmen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem 1.25rem; }
    .eingabe input, .regler output { font-size: 1.3rem; }
    .regler-feld { grid-column: 1 / -1; }
    .leistungen > div { grid-template-columns: 1fr; gap: 0.3rem; }
    .fakten { grid-template-columns: 1fr; }
    .fakten li:nth-child(2) { padding-top: 0.9rem; }
    .abb-rahmen { margin-inline: calc(-1 * var(--rand)); border-radius: 0; padding: 1rem var(--rand); min-height: 0; }
    .tarif-aktion .knopf { width: 100%; height: 3rem; }
    .schluss-band { grid-template-columns: 1fr; }
    .schluss-band .knopf { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation-duration: 0.01ms !important; }
}
