/* ============================================================
   Kundenwert-Check – Design von hollermeier.com
   Dunkel #1D241D · Fuß #161C16 · Beige #F6F4EF · Überschrift #2E372E
   Text #211D18 / #4A5048 · Salbei #7E8E77 · Bronze #C08A4E
   Gold-Verlauf #F3D6A6 → #D9A86C → #B77D40 · Terrakotta #C0503A
   Plus Jakarta Sans (lokal), Kacheln mit 8 px Rundung, keine Schatten.
   Mobil zuerst: alles ist auf ~360 px Breite ausgelegt.
   ============================================================ */

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("fonts/PlusJakartaSans-Variable.ttf") format("truetype-variations"),
         url("fonts/PlusJakartaSans-Variable.ttf") format("truetype");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --dark: #1D241D;
    --dark-2: #161C16;
    --beige: #F6F4EF;
    --heading: #2E372E;
    --fg: #211D18;
    --text: #4A5048;
    --muted: #5C625B;
    --sage: #7E8E77;
    --sage-dark: #5E6E57;
    --bronze: #C08A4E;
    --bronze-h: #A8743C;
    --gold-1: #F3D6A6;
    --gold-2: #D9A86C;
    --gold-3: #B77D40;
    --terra: #C0503A;
    --light: #F6F4EF;
    --light-70: rgba(246, 244, 239, 0.72);
    --light-55: rgba(246, 244, 239, 0.55);
    --border: rgba(46, 55, 46, 0.10);
    --border-2: rgba(46, 55, 46, 0.20);
    --ring: rgba(192, 138, 78, 0.55);
    --radius: 8px;
    --gold-gradient: linear-gradient(100deg, #F3D6A6 0%, #D9A86C 45%, #B77D40 100%);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    color: var(--fg);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    background: var(--beige);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; outline: none; }

a { color: var(--bronze-h); text-underline-offset: 2px; }
a:hover { color: var(--heading); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
h1, h2, h3 { color: var(--heading); margin: 0 0 .45em; line-height: 1.2; font-weight: 700; }
h1 { font-size: 2rem; letter-spacing: -0.5px; }
h2 { font-size: 1.6rem; letter-spacing: -0.5px; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
b, strong { font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.nowrap, .amt { white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--dark); color: #fff; padding: 8px 14px; border-radius: var(--radius); z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

.gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
}

/* ---------- Kopfleiste (wie hollermeier.com) ---------- */
.topbar {
    position: sticky; top: 0; z-index: 40;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.topbar-inner { max-width: 1040px; margin: 0 auto; height: 64px; padding: 0 20px; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; height: 34px; width: auto; }
.topbar-hint { margin-left: auto; font-size: 13.5px; font-weight: 700; color: var(--heading); letter-spacing: .2px; white-space: nowrap; }
@media (min-width: 768px) { .topbar-inner { height: 78px; } .brand img { height: 42px; } }

/* ---------- Dunkle Bänder ---------- */
.band { background: var(--dark); color: var(--light); padding: 30px 18px 40px; }
.band-inner { max-width: 720px; margin: 0 auto; }
@media (min-width: 768px) { .band { padding: 44px 24px 56px; } }
.band h1 { color: var(--light); font-size: 2.05rem; line-height: 1.12; margin-bottom: 14px; }
@media (min-width: 768px) { .band h1 { font-size: 2.6rem; } }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .3px; color: var(--gold-2); margin: 0 0 12px; }
.eyebrow-sep { opacity: .6; padding: 0 2px; }
.band .lead { font-size: 1.06rem; line-height: 1.65; color: var(--light-70); margin: 0; max-width: 620px; }
.band .lead b { color: var(--light); }
.band-meta { margin: 18px 0 0; font-size: 14px; font-weight: 600; color: var(--light-55); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.band-meta i { display: inline-block; width: 4px; height: 4px; border-radius: 1px; background: var(--gold-2); }

/* Fortschritt (auf dunkel) */
.progress { margin: 0 0 26px; }
.progress-label { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; color: var(--light-55); margin-bottom: 8px; }
.progress-label span:first-child { color: var(--light); }
.progress-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.progress-bar span { height: 4px; border-radius: 2px; background: rgba(246, 244, 239, 0.14); }
.progress-bar span.done { background: var(--gold-2); }
.progress-bar span.current { background: linear-gradient(90deg, var(--gold-2) 0 50%, rgba(246, 244, 239, 0.14) 50% 100%); }

/* ---------- Inhalt ---------- */
.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 22px 16px 40px; }
@media (min-width: 768px) { .wrap { padding: 32px 24px 56px; } }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 18px; margin-bottom: 14px; }
@media (min-width: 640px) { .card { padding: 24px 26px; } }

/* ---------- Fragen ---------- */
.question { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 16px; margin: 0 0 14px; min-width: 0; }
@media (min-width: 640px) { .question { padding: 24px 26px; } }
.question > legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; display: flex; gap: 12px; align-items: flex-start; }
.question > legend + * { clear: both; }
.q-no {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: var(--radius); background: var(--sage); color: #fff;
    font-size: 13px; font-weight: 800; letter-spacing: .5px; margin-top: 1px;
}
.q-title { font-size: 1.1rem; font-weight: 700; color: var(--heading); line-height: 1.4; }
.q-hint { clear: both; font-size: .92rem; color: var(--muted); margin: -6px 0 14px; }

.options { display: grid; gap: 8px; grid-template-columns: 1fr; }
.options.two { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .options.four { grid-template-columns: repeat(4, 1fr); } }
.option {
    position: relative; display: flex; align-items: center; gap: 12px;
    min-height: 52px; padding: 12px 14px; margin: 0;
    background: #fff; border: 1px solid var(--border-2); border-radius: var(--radius);
    font-weight: 600; font-size: .97rem; color: var(--fg); cursor: pointer; user-select: none;
    transition: border-color .12s, background .12s, color .12s;
}
.option:hover { border-color: var(--sage); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .dot { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(46, 55, 46, 0.30); background: #fff; transition: border .12s; }
.option .sub { display: block; font-weight: 500; font-size: .84rem; color: var(--muted); }
.option:has(input:checked) { border-color: var(--heading); background: var(--beige); box-shadow: inset 0 0 0 1px var(--heading); }
.option:has(input:checked) .dot { border: 6px solid var(--heading); }
.option:has(input:focus-visible) { outline: 3px solid var(--ring); outline-offset: 2px; }
.options.compact .option { justify-content: center; text-align: center; padding: 10px 8px; }
.options.compact .option .dot { display: none; }
.options.two .option:last-child:nth-child(odd) { grid-column: 1 / -1; }
.options.compact .option:has(input:checked) { background: var(--heading); color: #fff; box-shadow: none; }
.options.compact .option:has(input:checked) .sub { color: rgba(255, 255, 255, 0.75); }

/* Ja / Teilweise / Nein */
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.segmented .option { justify-content: center; min-height: 48px; padding: 10px 6px; }
.segmented .option .dot { display: none; }
.segmented .option:has(input:checked) { color: #fff; box-shadow: none; }
.segmented .option[data-v="ja"]:has(input:checked) { background: var(--sage); border-color: var(--sage); }
.segmented .option[data-v="teilweise"]:has(input:checked) { background: var(--bronze); border-color: var(--bronze); }
.segmented .option[data-v="nein"]:has(input:checked) { background: var(--terra); border-color: var(--terra); }

/* Schieberegler */
.slider { padding: 2px 2px 0; }
.slider-wert { display: block; font-size: 2.1rem; font-weight: 800; color: var(--heading); letter-spacing: -0.5px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.slider input[type="range"] {
    -webkit-appearance: none; appearance: none; display: block;
    width: 100%; height: 8px; margin: 18px 0 10px; border-radius: 4px; cursor: pointer;
    background: linear-gradient(to right, var(--bronze) 0 var(--p, 20%), rgba(46, 55, 46, 0.12) var(--p, 20%) 100%);
}
.slider input[type="range"]:focus { outline: none; }
.slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 30px; height: 30px; border-radius: 50%;
    background: #fff; border: 3px solid var(--bronze); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); cursor: grab;
}
.slider input[type="range"]::-moz-range-thumb {
    width: 24px; height: 24px; border-radius: 50%;
    background: #fff; border: 3px solid var(--bronze); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); cursor: grab;
}
.slider input[type="range"]::-moz-range-track { background: transparent; }
.slider input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px var(--ring); }
.slider input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px var(--ring); }
.slider-skala { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Zahlenfelder */
.reveal { margin-top: 12px; padding: 14px; border-radius: var(--radius); background: var(--beige); }
.reveal[hidden] { display: none; }
.reveal + .reveal { margin-top: 10px; }
.field-label { display: block; font-weight: 600; font-size: .93rem; color: var(--heading); margin: 0 0 6px; }
.money { position: relative; display: flex; align-items: stretch; }
.money input {
    width: 100%; padding: 12px 64px 12px 14px; font: inherit; font-size: 1.05rem; font-weight: 600;
    background: #fff; border: 1px solid var(--border-2); border-radius: var(--radius); color: var(--fg);
    font-variant-numeric: tabular-nums;
}
.money input::placeholder { color: #9BA197; font-weight: 500; }
.money input:focus { outline: none; border-color: var(--heading); box-shadow: 0 0 0 3px rgba(192, 138, 78, 0.25); }
.money .unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.field-foot { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 7px; font-size: .85rem; color: var(--muted); }
.chip {
    display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 6px;
    border: 1px solid var(--border-2); background: #fff; color: var(--heading);
    font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer;
}
.chip:hover { border-color: var(--heading); }
.soft-warn { margin-top: 8px; padding: 8px 10px; border-radius: 6px; background: rgba(192, 138, 78, 0.14); color: #6E4C16; font-size: .87rem; }
.soft-warn[hidden] { display: none; }

.q-error { margin: 10px 0 0; color: var(--terra); font-size: .88rem; font-weight: 600; }
.q-error[hidden] { display: none; }
.question.has-error { border-color: rgba(192, 80, 58, 0.55); }
input[aria-invalid="true"] { border-color: var(--terra) !important; }

/* ---------- Knöpfe + Navigation ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; min-height: 50px; border-radius: var(--radius); border: 1px solid transparent;
    font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-gold { background: var(--bronze); color: #fff; }
.btn-gold:hover { background: var(--bronze-h); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(46, 55, 46, 0.28); color: var(--heading); }
.btn-ghost:hover { border-color: var(--heading); color: var(--heading); background: #fff; }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 1.05rem; }

.step-nav {
    position: sticky; bottom: 0; z-index: 10;
    display: flex; gap: 10px; align-items: center;
    margin: 18px -16px -40px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--border);
}
.step-nav .btn-gold { flex: 1; }
.step-nav .btn-ghost { padding: 14px 18px; }
@media (min-width: 640px) {
    .step-nav { position: static; margin: 22px 0 0; padding: 0; background: none; border: 0; }
    .step-nav .btn-gold { flex: 0 0 auto; margin-left: auto; min-width: 240px; }
}

/* ---------- Ergebnis: Raster (Desktop: Inhalt links, Auswertung fest rechts) ---------- */
.result-grid {
    max-width: 720px; margin: 0 auto; padding: 0 16px 40px;
    display: grid; grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "hero" "hebel" "aside" "rest";
}
/* Dunkles Band über die ganze Breite, obwohl der Kopf nur in der linken Spalte steht */
.result-hero {
    grid-area: hero; padding: 30px 0 34px; margin-bottom: 22px;
    background: none;
    border-image: linear-gradient(var(--dark), var(--dark)) fill 0 / / 0 100vmax;
}
.result-hebel { grid-area: hebel; }
.result-aside { grid-area: aside; }
.result-rest { grid-area: rest; }
.band-note { margin: 14px 0 0; font-size: .95rem; color: var(--light-70); }
@media (min-width: 768px) {
    .result-grid { padding: 0 24px 56px; }
    .result-hero { padding: 44px 0 48px; margin-bottom: 32px; }
}
@media (min-width: 1024px) {
    .result-grid {
        max-width: 1140px; column-gap: 48px;
        grid-template-columns: minmax(0, 1fr) 370px;
        grid-template-areas: "hero aside" "hebel aside" "rest aside";
    }
    .result-hero { padding-right: 8px; }
    .hero-cta { display: none; }
    /* Auswertungs-Box: weiße Karte, die beim Scrollen seitlich stehen bleibt */
    .result-aside .cta-box {
        position: sticky; top: 100px; margin: 40px 0 40px;
        max-height: calc(100vh - 120px); overflow-y: auto;
        background: #fff; color: var(--fg); border: 1px solid var(--border); border-top: 4px solid var(--bronze);
        padding: 24px 22px 20px; box-shadow: 0 16px 40px rgba(29, 36, 29, 0.14);
    }
    .result-aside .cta-box .eyebrow { color: var(--bronze-h); }
    .result-aside .cta-box h2 { color: var(--heading); font-size: 1.35rem; margin-bottom: 12px; }
    .result-aside .cta-box .gold { background: none; color: var(--bronze-h); -webkit-text-fill-color: var(--bronze-h); }
    .result-aside .cta-liste { gap: 8px; margin-bottom: 16px; }
    .result-aside .cta-liste li { color: var(--text); font-size: .9rem; }
    .result-aside .cta-liste b { color: var(--heading); }
    .result-aside .cta-liste li::before { border-color: var(--bronze); }
    .result-aside .lead-form { padding: 0; }
    .result-aside .form-grid { grid-template-columns: 1fr; gap: 10px; }
    .result-aside .consent { font-size: .8rem; margin: 12px 0; }
    .result-aside .cta-text, .result-aside .cta-next p { color: var(--text); }
    .result-aside .cta-text b, .result-aside .cta-next b { color: var(--heading); }
    .result-aside .cta-next { border-top-color: var(--border); }
}

/* ---------- Ergebnis: Kopf ---------- */
.band .result-h1 { font-size: 1.5rem; line-height: 1.25; margin-bottom: 14px; }
.result-h1 .big { display: block; margin: 6px 0 4px; font-size: 2.6rem; font-weight: 800; line-height: 1.05; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.result-h1 .bis { font-size: .5em; font-weight: 600; letter-spacing: 0; color: var(--light-55); -webkit-text-fill-color: var(--light-55); }
@media (min-width: 768px) {
    .band .result-h1 { font-size: 1.8rem; }
    .result-h1 .big { font-size: 3.6rem; }
}

.komp { margin: 28px 0 0; }
.komp figcaption { font-size: 13.5px; font-weight: 700; color: var(--light); }
.komp figcaption span { font-weight: 500; color: var(--light-55); }
.komp-bar { display: flex; gap: 3px; height: 20px; margin: 10px 0 12px; border-radius: 6px; overflow: hidden; }
.seg { display: block; min-width: 6px; flex-basis: 0; transform-origin: left center; animation: kwc-grow .7s cubic-bezier(.2, .8, .2, 1) both; }
.seg-a { background: var(--sage); }
.seg-w { background: var(--gold-2); }
.seg-z { background: var(--gold-3); }
.seg-e { background: var(--gold-1); }
.komp-legende { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 28px; }
@media (min-width: 640px) { .komp-legende { grid-template-columns: 1fr 1fr; } }
.komp-legende li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(246, 244, 239, 0.09); font-size: 14.5px; color: var(--light-70); }
.komp-legende b { color: var(--light); font-variant-numeric: tabular-nums; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.hero-cta { margin-top: 26px; }
@media (max-width: 479px) { .hero-cta { width: 100%; } }

/* ---------- Ergebnis: Potenzial ---------- */
.block { margin: 6px 0 30px; }
.block > h2 { margin-bottom: 10px; }
.eyebrow-terra { color: var(--terra); }
.eyebrow-dark { color: var(--bronze-h); }
.pot-h2 { font-size: 1.4rem; line-height: 1.3; }
.pot-zahl { display: block; margin: 4px 0; font-size: 2.1rem; font-weight: 800; color: var(--terra); letter-spacing: -0.5px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pot-zahl .bis { font-size: .55em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.kw-zahl { display: block; margin: 4px 0; font-size: 2.1rem; font-weight: 800; color: var(--heading); letter-spacing: -0.5px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kw-zahl .bis { font-size: .55em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
@media (min-width: 768px) { .kw-zahl { font-size: 2.7rem; } }
.karte-h { font-size: 1.15rem; margin-bottom: 16px; letter-spacing: 0; }
/* Zusammensetzung auf weißer Karte */
.komp-hell { margin: 0; }
.komp-hell figcaption { color: var(--heading); }
.komp-hell figcaption span { color: var(--muted); }
.komp-hell .komp-legende li { color: var(--text); border-bottom-color: var(--border); }
.komp-hell .komp-legende b { color: var(--heading); }
@media (min-width: 768px) { .pot-h2 { font-size: 1.6rem; } .pot-zahl { font-size: 2.7rem; } }
.note { padding: 12px 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); color: var(--text); font-size: .95rem; margin: 12px 0 0; }

.hebel-karte { margin-top: 18px; }
.hebel-karte h3 { margin-bottom: 16px; }
.hebel-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.hebel { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.hebel-kopf { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.hebel-name { font-weight: 700; color: var(--heading); }
.hebel-name em { font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .3px; background: var(--heading); color: #fff; padding: 2px 7px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
.hebel-anteil { font-weight: 800; color: var(--heading); font-variant-numeric: tabular-nums; }
.hebel-spur { height: 12px; border-radius: 4px; background: rgba(46, 55, 46, 0.07); overflow: hidden; }
.hebel-balken { display: block; height: 100%; border-radius: 4px; transform-origin: left center; animation: kwc-grow .7s cubic-bezier(.2, .8, .2, 1) both; }
.hebel-status { font-size: 12.5px; font-weight: 700; min-width: 76px; text-align: right; }
.hebel.rot .hebel-balken { background: var(--terra); }
.hebel.gelb .hebel-balken { background: var(--bronze); }
.hebel.gruen .hebel-balken { background: var(--sage); }
.hebel.rot .hebel-status { color: var(--terra); }
.hebel.gelb .hebel-status { color: var(--bronze-h); }
.hebel.gruen .hebel-status { color: var(--sage-dark); }
.hebel-legende { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 18px 0 0; font-size: 12.5px; color: var(--muted); }
.lg::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.lg.rot::before { background: var(--terra); }
.lg.gelb::before { background: var(--bronze); }
.lg.gruen::before { background: var(--sage); }
.lg-text { margin-left: auto; }
@media (max-width: 479px) { .lg-text { margin-left: 0; width: 100%; } }
.hebel-tipp { margin-top: 18px; padding: 14px 16px; background: var(--beige); border-left: 3px solid var(--bronze); border-radius: 0 var(--radius) var(--radius) 0; font-size: .95rem; color: var(--text); }
.hebel-tipp b { color: var(--heading); }

/* ---------- Ergebnis: Formular (dunkles Band wie der Abschluss der Website) ---------- */
.cta-box { background: var(--dark); color: var(--light); border-radius: var(--radius); padding: 28px 20px; margin: 4px 0 34px; scroll-margin-top: 90px; }
@media (max-width: 639px) { .cta-box { margin-left: -16px; margin-right: -16px; border-radius: 0; padding: 32px 16px; } }
@media (min-width: 640px) { .cta-box { padding: 36px 34px; } }
.cta-box h2 { color: var(--light); font-size: 1.6rem; line-height: 1.2; margin-bottom: 16px; }
@media (min-width: 768px) { .cta-box h2 { font-size: 1.9rem; } }
.cta-liste { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.cta-liste li { position: relative; padding-left: 28px; color: var(--light-70); font-size: .98rem; line-height: 1.5; }
.cta-liste li::before {
    content: ""; position: absolute; left: 4px; top: 3px; width: 7px; height: 12px;
    border-right: 2.5px solid var(--gold-2); border-bottom: 2.5px solid var(--gold-2); transform: rotate(45deg);
}
.cta-liste b { color: var(--light); }
.lead-form { background: #fff; color: var(--fg); border-radius: var(--radius); padding: 20px 16px; }
@media (min-width: 640px) { .lead-form { padding: 24px 24px 20px; } }
.form-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-field label { display: block; font-weight: 600; font-size: .92rem; color: var(--heading); margin-bottom: 6px; }
.form-field input {
    width: 100%; padding: 13px 14px; font: inherit; font-size: 1rem; background: #fff;
    border: 1px solid var(--border-2); border-radius: var(--radius); color: var(--fg);
}
.form-field input:focus { outline: none; border-color: var(--heading); box-shadow: 0 0 0 3px rgba(192, 138, 78, 0.25); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 16px 0 16px; font-size: .86rem; line-height: 1.5; color: var(--text); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--heading); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0 0 14px; padding: 10px 12px; border-radius: 6px; background: rgba(192, 80, 58, 0.10); color: var(--terra); font-size: .9rem; font-weight: 600; }
.form-error[hidden] { display: none; }
.form-note { margin: 10px 0 0; text-align: center; font-size: .85rem; color: var(--muted); }
.cta-text { color: var(--light-70); }
.cta-text b { color: var(--light); }
.cta-next { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(246, 244, 239, 0.12); }
.cta-next p { color: var(--light-70); }
.cta-next b { color: var(--light); }

/* ---------- Ergebnis: Ampel als Zeitleiste ---------- */
.timeline { list-style: none; margin: 14px 0 0; padding: 0; }
.tl { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding-bottom: 14px; }
.tl:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 46px; bottom: 6px; border-left: 2px dashed rgba(46, 55, 46, 0.20); }
.tl-badge {
    width: 40px; height: 40px; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 0 0 6px var(--beige); position: relative; z-index: 1;
}
.tl.rot .tl-badge { background: var(--terra); }
.tl.gelb .tl-badge { background: var(--bronze); }
.tl.gruen .tl-badge { background: var(--sage); }
.tl-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.tl-meta { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.tl-status { font-weight: 700; margin-left: 4px; }
.tl.rot .tl-status { color: var(--terra); }
.tl.gelb .tl-status { color: var(--bronze-h); }
.tl.gruen .tl-status { color: var(--sage-dark); }
.tl-text { margin: 0; font-size: 1.02rem; font-weight: 700; color: var(--heading); line-height: 1.4; }

/* ---------- So haben wir gerechnet ---------- */
details.calc { padding: 0; overflow: hidden; }
details.calc > summary {
    list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 700; color: var(--heading);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
details.calc > summary::-webkit-details-marker { display: none; }
details.calc > summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--bronze); font-weight: 600; }
details.calc[open] > summary::after { content: "–"; }
.calc-body { padding: 0 18px 20px; border-top: 1px solid var(--border); }
@media (min-width: 640px) { details.calc > summary { padding: 18px 26px; } .calc-body { padding: 0 26px 26px; } }
.calc-body h3 { margin: 22px 0 8px; font-size: .98rem; }
.adjust { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 560px) { .adjust { grid-template-columns: repeat(3, 1fr); } }
.adjust .money input { font-size: 1rem; padding: 10px 56px 10px 12px; }
.kv { width: 100%; border-collapse: collapse; font-size: .9rem; }
.kv th, .kv td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.kv th { font-weight: 500; color: var(--muted); padding-right: 12px; }
.kv td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 12px; }
@media (max-width: 479px) { .kv { font-size: .82rem; } .kv td { padding-left: 8px; } }
.kv tr.sum td, .kv tr.sum th { color: var(--heading); font-weight: 700; border-bottom: 2px solid var(--border-2); }
.assume { margin: 6px 0 0; padding-left: 1.1em; font-size: .9rem; color: var(--text); }
.assume li { margin-bottom: 4px; }

/* Termin (zweitrangig) */
.termin { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.termin b { color: var(--heading); }
.termin p { margin: 2px 0 0; color: var(--muted); font-size: .93rem; }

.restart { text-align: center; margin: 8px 0 0; }
.linkish { background: none; border: 0; padding: 6px; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font-size: .9rem; }
.linkish:hover { color: var(--heading); }

/* Leiste unten auf dem Handy */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}
.sticky-cta[hidden] { display: none; }
@media (min-width: 1024px) { .sticky-cta { display: none !important; } }

/* ---------- Fuß ---------- */
.footer { background: var(--dark-2); color: var(--light-55); padding: 26px 18px calc(26px + env(safe-area-inset-bottom)); }
.footer-inner { max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.footer-logo { display: block; height: 28px; width: auto; }
.footer-links { display: flex; gap: 20px; font-size: 13.5px; font-weight: 600; }
.footer-links a { color: var(--light-70); text-decoration: none; }
.footer-links a:hover { color: var(--gold-2); }

/* ---------- Bewegung ---------- */
.screen { animation: kwc-in .25s ease-out; }
@keyframes kwc-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes kwc-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .screen, .seg, .hebel-balken { animation: none; } }
