/* ==========================================================================
   Jobriver v2 – Brutto-Netto-Rechner. Basis aus v2-core.css.
   Diagrammfarben per dataviz-Validator geprüft (hell #fff / dunkel #18131f):
   Netto #724fff / #8466ff · Steuern #e0782b / #d9752c · Sozial #0f9d8a / #1aa893
   ========================================================================== */

:root {
    --bn-netto: #724fff;
    --bn-steuer: #e0782b;
    --bn-sozial: #0f9d8a;
    --bn-hero: linear-gradient(180deg, var(--bg) 0%, #f5f1ff 45%, var(--bg) 100%);
}
:root[data-theme="dark"] {
    --bn-netto: #8466ff;
    --bn-steuer: #d9752c;
    --bn-sozial: #1aa893;
    --bn-hero: linear-gradient(180deg, var(--bg) 0%, #161026 45%, var(--bg) 100%);
}

.btn--light { background: #fff; color: var(--plum); }
.btn--light:hover { background: #f1ecff; }
.btn--ghost-dark { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--ghost-dark:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Kopf ---------- */
.bn-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(72px + clamp(36px, 5vw, 72px)) 0 clamp(48px, 6vw, 88px); background: var(--bn-hero); }
.bn-hero__glow { position: absolute; inset: -25% -10% 0; z-index: -1; opacity: var(--hero-glow-o); background: radial-gradient(35% 50% at 10% 20%, rgba(178, 157, 255, .45), transparent 70%), radial-gradient(30% 45% at 90% 15%, rgba(255, 168, 220, .28), transparent 70%); filter: blur(24px); -webkit-mask-image: linear-gradient(#000 40%, transparent 90%); mask-image: linear-gradient(#000 40%, transparent 90%); }
.bn-hero__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.bn-hero__copy { position: sticky; top: 112px; padding-top: 24px; }
.bn-title { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); line-height: 1.04; font-weight: 600; letter-spacing: -.04em; }
.bn-lead { margin-top: 20px; max-width: 520px; font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); }
.bn-trust { list-style: none; display: grid; gap: 10px; margin-top: 26px; }
.bn-trust li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink-2); }
.bn-trust svg { width: 18px; height: 18px; flex: none; padding: 3px; border-radius: 50%; background: var(--brand-50); fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.bn-hero__also { margin-top: 26px; color: var(--muted); }

/* ---------- Rechner-Karte ---------- */
.calc { position: relative; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.calc__tabs { display: flex; gap: 4px; padding: 10px 10px 0; border-bottom: 1px solid var(--line); }
.calc__tab { position: relative; min-height: 46px; padding: 0 18px; border: 0; background: transparent; font-weight: 550; color: var(--muted); }
.calc__tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2.5px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transition: transform .3s var(--ease); }
.calc__tab:hover { color: var(--ink); }
.calc__tab.is-on { color: var(--ink); }
.calc__tab.is-on::after { transform: scaleX(1); }
.calc__body { display: grid; gap: 18px; padding: clamp(18px, 2.4vw, 28px); }

.f { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.f__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.f__label { padding: 0; font-size: .875rem; font-weight: 550; color: var(--ink); }
.f__muted { font-weight: 450; color: var(--muted); }
.f__hint { font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.money { position: relative; display: flex; align-items: center; }
.money input { width: 100%; height: 64px; padding: 0 60px 0 18px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface); font: 600 1.75rem var(--font); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; outline: none; transition: border-color .2s, box-shadow .2s; -moz-appearance: textfield; }
.money input::-webkit-outer-spin-button, .money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.money input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(114, 79, 255, .15); }
.money__unit { position: absolute; right: 18px; font-weight: 550; color: var(--muted); pointer-events: none; }
.money--sm input { height: 48px; padding-right: 76px; font-size: 1rem; font-weight: 550; border-radius: 12px; }
.money--sm .money__unit { right: 14px; font-size: .8125rem; }

/* Schieberegler mit gefüllter Spur */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--brand) var(--p, 30%), var(--brand-50) var(--p, 30%)); }
.range::-moz-range-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--brand) var(--p, 30%), var(--brand-50) var(--p, 30%)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 4px 10px -2px rgba(114, 79, 255, .5); transition: transform .15s; }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(114, 79, 255, .3); }

/* Steuerklassen als Segment */
.stkl { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); }
.stkl__opt { position: relative; }
.stkl__opt input { position: absolute; opacity: 0; pointer-events: none; }
.stkl__opt span { display: grid; place-items: center; min-height: 42px; border-radius: 10px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.stkl__opt span:hover { color: var(--ink); }
.stkl__opt input:checked + span { background: var(--surface); color: var(--brand-700); box-shadow: 0 1px 2px rgba(21, 17, 31, .08), 0 4px 12px -4px rgba(60, 30, 140, .25); }
.stkl__opt input:focus-visible + span { outline: 2.5px solid var(--brand); outline-offset: 1px; }

/* Pillen-Schalter (Buttons oder Radios) */
.pill-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); }
.pill-switch button, .pill-switch label span { display: grid; place-items: center; min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font-size: .8125rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.pill-switch label { position: relative; flex: 1; }
.pill-switch label input { position: absolute; opacity: 0; pointer-events: none; }
.pill-switch button[aria-pressed="true"], .pill-switch label input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(21, 17, 31, .08); }
.pill-switch label input:focus-visible + span { outline: 2.5px solid var(--brand); outline-offset: 1px; }
.pill-switch--full { display: flex; width: 100%; }
.pill-switch--full label span { min-height: 42px; font-size: .875rem; }
.pill-switch--dark { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.pill-switch--dark button { color: #cfc4f3; }
.pill-switch--dark button[aria-pressed="true"] { background: #fff; color: var(--plum); }

.sel { position: relative; }
.sel::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.sel select { width: 100%; height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); font: 500 .9375rem var(--font); color: var(--ink); -webkit-appearance: none; appearance: none; cursor: pointer; }
.sel select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(114, 79, 255, .15); }

.step { display: grid; grid-template-columns: 48px 1fr 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.step button { border: 0; background: var(--tint); font-size: 1.25rem; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s; }
.step button:hover { background: var(--brand-50); color: var(--brand-700); }
.step input { min-width: 0; border: 0; background: var(--surface); text-align: center; font: 600 1rem var(--font); color: var(--ink); font-variant-numeric: tabular-nums; }

.more { border-top: 1px dashed var(--line-2); padding-top: 14px; }
.more summary { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-weight: 600; cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); font-weight: 700; transition: transform .25s var(--ease); }
.more[open] summary::before { transform: rotate(45deg); }
.more summary span { font-size: .8125rem; font-weight: 450; color: var(--muted); }
.more__body { padding-top: 16px; }
[data-pkv][hidden] { display: none; }

/* Ergebnis (dunkel, wie die Tool-Karten) */
.res { padding: clamp(20px, 2.6vw, 30px); background: radial-gradient(90% 80% at 0% 0%, #3a2373, transparent 60%), linear-gradient(160deg, var(--plum-2), var(--plum)); color: #e9e3fb; }
.res__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.res__label { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #c9b8ff; }
.res__value { margin-top: 6px; font-size: clamp(2.8rem, 2rem + 3vw, 4.2rem); line-height: 1; font-weight: 600; letter-spacing: -.045em; color: #fff; font-variant-numeric: tabular-nums; }
.res__value small { font-size: .45em; font-weight: 550; color: #cfc4f3; letter-spacing: 0; }
.res__sub { margin-top: 8px; font-size: .9375rem; color: #cfc4f3; }
.split { display: flex; gap: 2px; height: 14px; margin-top: 20px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.split__seg { flex: 0 0 0%; min-width: 0; transition: flex-basis .5s var(--ease); }
.split__seg--netto { background: #9a82ff; }
.split__seg--steuer { background: #e8873f; }
.split__seg--sozial { background: #22b39c; }
.split__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: .8125rem; color: #cfc4f3; }
.split__legend li { display: inline-flex; align-items: center; gap: 7px; }
.split__legend b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.split__legend--light { margin-top: 16px; color: var(--muted); }
.k { display: inline-block; width: 10px; height: 10px; flex: none; border-radius: 3px; }
.k--netto { background: var(--bn-netto); }
.k--steuer { background: var(--bn-steuer); }
.k--sozial { background: var(--bn-sozial); }
.res .k--netto { background: #9a82ff; } .res .k--steuer { background: #e8873f; } .res .k--sozial { background: #22b39c; }
.k--line { height: 3px; border-radius: 2px; }
.res__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; font-size: .875rem; font-weight: 550; transition: background-color .2s, border-color .2s; }
.tbtn:hover { background: rgba(255, 255, 255, .12); }
.tbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tbtn .i-ok { display: none; }
.tbtn.is-ok { border-color: #4ade9f; color: #b6f4dc; }
.tbtn.is-ok .i-ok { display: block; }
.tbtn.is-ok .i-copy { display: none; }
.calc__note { padding: 14px clamp(18px, 2.4vw, 28px) 18px; font-size: .75rem; line-height: 1.55; color: var(--muted); background: var(--tint); border-top: 1px solid var(--line); }
.calc__note strong { color: var(--ink-2); }

/* ---------- Kennzahlen-Band ---------- */
.bn-band { margin: 0 var(--edge); padding: clamp(28px, 4vw, 44px) 0; border-radius: var(--r-xl); background: var(--tint); border: 1px solid var(--line); }
.bn-band__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.kpi { display: flex; flex-direction: column; gap: 4px; }
.kpi span { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-700); }
.kpi b { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 600; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.kpi small { font-size: .875rem; color: var(--muted); }

/* ---------- Sektionen ---------- */
.sec-head { max-width: 760px; margin-bottom: 36px; }
.sec-lead { margin-top: 14px; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); }
.card { position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: clamp(18px, 2.6vw, 30px); }
.card__k { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.bd-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.wf { margin-top: 14px; }
.wf__svg { display: block; max-width: 100%; overflow: visible; }
.wf__base { stroke: var(--line-2); stroke-width: 1; }
.wf__link { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 3; }
.wf__hit { fill: transparent; }
.wf__bar { cursor: default; outline: none; }
.wf__bar rect:not(.wf__hit) { transition: opacity .2s; }
.wf__bar--total rect:not(.wf__hit) { fill: var(--bn-netto); }
.wf__bar--steuer rect:not(.wf__hit) { fill: var(--bn-steuer); }
.wf__bar--sozial rect:not(.wf__hit) { fill: var(--bn-sozial); }
.wf:hover .wf__bar rect:not(.wf__hit), .wf:focus-within .wf__bar rect:not(.wf__hit) { opacity: .45; }
.wf .wf__bar:hover rect:not(.wf__hit), .wf .wf__bar:focus rect:not(.wf__hit) { opacity: 1; }
.wf__bar:focus-visible .wf__hit { stroke: var(--brand); stroke-width: 2; }
.wf__val { font: 600 12px var(--font); fill: var(--ink); font-variant-numeric: tabular-nums; }
.wf__name { font: 500 12px var(--font); fill: var(--muted); }
.tip { position: absolute; z-index: 5; display: grid; gap: 2px; min-width: 180px; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: .8125rem; box-shadow: var(--shadow-lg); pointer-events: none; }
.tip[hidden] { display: none; }
.tip b { font-weight: 600; }
.tip span { display: flex; align-items: center; gap: 6px; opacity: .85; }

.bd-table { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.bd-table th, .bd-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: right; }
.bd-table td { white-space: nowrap; }
.bd-table thead th { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bd-table th:first-child, .bd-table td:first-child { text-align: left; }
.bd-table tbody th { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.bd-row--total th, .bd-row--total td { font-weight: 700; color: var(--ink); }
.bd-row--total:last-child th, .bd-row--total:last-child td { border-bottom: 0; color: var(--brand-700); }
.bd-row:not(.bd-row--total) td { color: var(--ink-2); }

.formula { margin-top: 20px; border-radius: var(--r-lg); background: var(--tint); border: 1px solid var(--line); }
.formula summary { display: flex; align-items: center; gap: 12px; padding: 18px 22px; font-weight: 600; cursor: pointer; list-style: none; }
.formula summary::-webkit-details-marker { display: none; }
.formula summary .qa__plus { margin-left: auto; }
.formula[open] .qa__plus { background: var(--brand); transform: rotate(180deg); }
.formula[open] .qa__plus::before, .formula[open] .qa__plus::after { background: #fff; }
.formula[open] .qa__plus::after { transform: rotate(0); }
.formula__k { padding: 3px 9px; border-radius: 6px; background: var(--brand-50); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-700); }
.formula__body { padding: 0 22px 22px; }
.fx { list-style: none; counter-reset: fx; display: grid; gap: 2px; }
.fx li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); font-size: .9375rem; color: var(--ink-2); }
.fx li b { font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fx li.is-sum { border-bottom-style: solid; color: var(--ink); font-weight: 600; }
.fx li.is-sum b { color: var(--brand-700); }
.fx__note { margin-top: 14px; font-size: .8125rem; line-height: 1.55; color: var(--muted); }

/* Kurve */
.curve { margin-top: 6px; }
.curve__svg { display: block; max-width: 100%; overflow: visible; }
.curve__grid { stroke: var(--line); stroke-width: 1; }
.curve__ax { font: 500 12px var(--font); fill: var(--muted); }
.curve__mark { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 4 4; }
.curve__mlabel { font: 600 11px var(--font); fill: var(--muted); }
.curve__line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.curve__line--q { stroke: var(--bn-netto); }
.curve__line--g { stroke: var(--bn-steuer); stroke-dasharray: 0; }
.curve__you { stroke: var(--ink); stroke-width: 1.5; opacity: .55; }
.curve__dot { fill: var(--bn-netto); stroke: var(--surface); stroke-width: 3; }
.curve__ylabel { font: 700 13px var(--font); fill: var(--ink); }
.curve__end { font: 600 12px var(--font); fill: var(--ink-2); }
.curve__cross { stroke: var(--ink-2); stroke-width: 1; }
.curve__hit { fill: transparent; cursor: crosshair; outline: none; }
.curve__hit:focus-visible { stroke: var(--brand); stroke-width: 2; }
.curve-card { overflow: visible; }
.tbl-alt { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.tbl-alt summary { font-size: .875rem; font-weight: 600; color: var(--brand-700); cursor: pointer; }
.tbl-alt__wrap { overflow-x: auto; margin-top: 10px; }

/* Erhöhung + Arbeitgeber */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.duo__h { margin: 6px 0 18px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.raise .money { margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips .chip { min-height: 36px; font-size: .875rem; }
.raise__out { margin: 22px 0 14px; padding: 18px; border-radius: var(--r); background: var(--tint); }
.raise__big { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 600; letter-spacing: -.035em; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.raise__big small { font-size: .5em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.raise__bar { height: 10px; margin: 12px 0 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.raise__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--bn-netto), #b28dff); transition: width .5s var(--ease); }
.raise__sub { font-size: .9375rem; color: var(--ink-2); }
.ag__rows { display: grid; margin-bottom: 14px; }
.ag__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; color: var(--ink-2); }
.ag__rows b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ag__sum { border-bottom: 0 !important; margin-top: 6px; padding: 14px 16px !important; border-radius: var(--r); background: var(--plum); color: #e9e3fb !important; }
.ag__sum b { color: #fff !important; font-size: 1.125rem; }

/* Vergleich */
.cmp { display: grid; gap: 4px; }
.cmp__row { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) 100px; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cmp__name { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp__name a:hover { color: var(--brand-700); }
.cmp__track { position: relative; height: 8px; border-radius: 999px; background: var(--brand-50); }
.cmp__dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--bn-netto); box-shadow: 0 0 0 3px var(--surface); }
.cmp__you { position: absolute; top: -8px; bottom: -8px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--ink); transition: left .5s var(--ease); }
.cmp__val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.cmp .f__hint { margin-top: 10px; }
.cmp__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 18px; }

/* Wissen + FAQ */
.tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(56px, 7vw, 96px); }
.tip-card h3 { margin: 14px 0 6px; font-size: 1.125rem; font-weight: 600; }
.tip-card p { font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.tip-card a { color: var(--brand-700); font-weight: 550; }
.tip-card__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); }
.tip-card__ico svg { width: 20px; height: 20px; fill: none; stroke: var(--brand-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Abschluss */
.bn-end { margin: 0 var(--edge) clamp(16px, 2vw, 24px); padding: clamp(48px, 6vw, 80px) 0; border-radius: var(--r-xl); background: radial-gradient(80% 120% at 85% 0%, #3b2580, var(--plum) 70%); color: #d9d2ee; }
.bn-end__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.bn-end__h { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; color: #fff; }
.bn-end p { margin-top: 10px; color: #cfc4f3; }
.bn-end__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .bn-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .bn-hero__copy { position: static; padding-top: 0; }
    .bd-grid, .duo { grid-template-columns: minmax(0, 1fr); }
    .bn-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tips { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
    .faq.bn-faq { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .f-grid { grid-template-columns: minmax(0, 1fr); }
    .calc__tab { padding: 0 12px; font-size: .9375rem; }
    .stkl__opt span { min-height: 40px; font-size: .9375rem; }
    .money input { font-size: 1.5rem; height: 58px; }
    .bn-band__grid { gap: 20px 14px; }
    .cmp__row { grid-template-columns: minmax(0, 1fr) 84px; }
    .cmp__track { grid-column: 1 / -1; grid-row: 2; }
    .wf__val { font-size: 11px; }
    .wf__name { font-size: 11px; }
    .bd-table { font-size: .875rem; }
    .card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .split__seg, .raise__bar i, .cmp__you { transition: none; }
}

/* Dunkel: gewählte Segmente klar absetzen (Surface ≈ Tint wäre unsichtbar) */
:root[data-theme="dark"] .stkl__opt input:checked + span,
:root[data-theme="dark"] .pill-switch:not(.pill-switch--dark) button[aria-pressed="true"],
:root[data-theme="dark"] .pill-switch label input:checked + span { background: rgba(140, 110, 255, .26); color: #fff; box-shadow: inset 0 0 0 1px rgba(178, 157, 255, .45); }
figure.card { margin: 0; }
.table-card { overflow-x: auto; }

/* Mobil-Feinschliff (Audit 11.10.2026) */
.formula__k { flex: none; white-space: nowrap; }
@media (max-width: 560px) {
    .res__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .res__actions .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
    .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .chips .chip { justify-content: center; }
}
