/* Steuerpolster – Startseite im Fintech-Stil.
   Geist (selbst gehostet), Navy-Tinte, Smaragd als Marke, Mint als Akzent auf Dunkel, weiche Karten. */

@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f6f8fa;
  --surface-2: #eef2f6;
  --ink: #0b1220;
  --ink-2: #344054;
  --muted: #667085;
  --line: #e4e7ec;
  --line-2: #d0d5dd;
  --brand: #0e7a5f;
  --brand-600: #0b6650;
  --brand-50: #e9f7f1;
  --brand-100: #c9ecdd;
  --mint: #3ddc97;
  --navy: #0b1220;
  --on-dark: #a8b3c7;
  --warn: #c2410c;
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100;
  --axis: #c3c9d4;
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -14px rgba(16, 24, 40, .14);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, .04), 0 32px 72px -28px rgba(11, 18, 32, .32);
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 400 16.5px/1.6 var(--font); -webkit-font-smoothing: antialiased; hyphens: auto; overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 650; text-wrap: balance; hyphens: manual; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand-100); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--brand-100); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.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; }
.skip { position: absolute; left: 16px; top: -100px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 60; }
.skip:focus { top: 12px; }
.hint { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin-top: 6px; }
.print-only { display: none; }
.pot-figure, .stat-v, .plan-price, .r-figure, .tile .val, table.data td, .pay li .a, .tl-amt, .slider-val input, .fc-value, .stack-legend b, .mobile-bar strong { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border: 0; border-radius: 12px;
  background: var(--brand); color: #fff; font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .12), inset 0 1px 0 rgba(255, 255, 255, .14); transition: background .2s, transform .15s var(--ease), box-shadow .2s; }
.btn:hover { background: var(--brand-600); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(16, 24, 40, .05); }
.btn-ghost:hover { background: var(--surface); }
.btn-light { background: #fff; color: var(--brand); box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .35); }
.btn-light:hover { background: var(--brand-50); }
.btn-block { width: 100%; }
.btn[disabled] { background: var(--surface-2); color: #98a2b3; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-link, .btn.ghost { background: none; border: 0; padding: 0; height: auto; box-shadow: none; min-height: 32px; display: inline-flex; align-items: center; gap: 6px;
  font: 600 14.5px/1.3 var(--font); color: var(--brand); cursor: pointer; text-decoration: none; }
.btn-link:hover, .btn.ghost:hover { text-decoration: underline; text-underline-offset: 3px; background: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 8px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; text-decoration: none; }
.link-arrow::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px) rotate(45deg); }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-size: 12px; font-weight: 600; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid rgba(228, 231, 236, .8); }
.nav-in { height: 64px; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 17px; letter-spacing: -0.01em; }
.logo svg { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px;
  background: radial-gradient(52% 60% at 78% 34%, rgba(61, 220, 151, .20), transparent 70%), radial-gradient(40% 50% at 8% 0%, rgba(14, 122, 95, .07), transparent 70%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(11, 18, 32, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 18, 32, .045) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 70% at 60% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 70% at 60% 30%, #000 30%, transparent 75%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(16, 24, 40, .04); font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(61, 220, 151, .25); flex: none; }
.hero h1 { margin: 22px 0 18px; font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.045em; }
.hero-lead { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.checks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14.5px; color: var(--ink-2); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { width: 18px; height: 18px; fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; background: var(--brand-50); border-radius: 50%; padding: 1px; }

/* Spartopf-Karte */
.hero-visual { position: relative; }
.card { background: #fff; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.pot { max-width: 440px; margin-left: auto; padding: 24px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
.pot-head { display: flex; align-items: center; gap: 12px; }
.pot-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); display: grid; place-items: center; flex: none; }
.pot-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pot-name { font-weight: 650; color: var(--ink); line-height: 1.2; }
.pot-sub { font-size: 13.5px; color: var(--muted); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-size: 12.5px; font-weight: 600; }
.live .dot { width: 6px; height: 6px; box-shadow: none; animation: pulse 1.8s ease-in-out infinite; background: var(--brand); }
.pot-label { margin-top: 22px; font-size: 14px; color: var(--muted); }
.pot-figure { color: var(--ink); font-size: 52px; font-weight: 650; letter-spacing: -0.045em; line-height: 1.1; }
.pot-figure output { display: inline-block; transition: transform .3s var(--ease), color .3s; }
.pot-figure output.tick { transform: translateY(-3px); color: var(--brand); }
.stack { display: flex; gap: 3px; height: 10px; margin-top: 14px; border-radius: 999px; overflow: hidden; background: var(--surface-2); }
.stack span { height: 100%; transition: width .5s var(--ease); }
.st-svs { background: var(--brand); }
.st-est { background: var(--navy); }
.stack-legend { display: grid; gap: 6px; margin-top: 12px; font-size: 14px; }
.stack-legend > span { display: flex; align-items: center; gap: 8px; }
.stack-legend i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.stack-legend .k-svs { background: var(--brand); }
.stack-legend .k-est { background: var(--navy); }
.stack-legend b { margin-left: auto; color: var(--ink); font-weight: 600; }
.slider { margin-top: 20px; padding: 16px; border-radius: var(--radius); background: var(--surface); }
.slider-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.slider-top label { font-size: 14px; font-weight: 600; color: var(--ink); }
.slider-val { display: inline-flex; align-items: baseline; gap: 4px; font-weight: 650; color: var(--ink); font-size: 18px; }
.slider-val input { width: 6.4ch; border: 0; background: transparent; font: 650 18px/1 var(--font); color: var(--ink); text-align: right; padding: 4px 2px; border-radius: 8px; }
.slider-val input:focus { outline: none; background: #fff; box-shadow: 0 0 0 3px var(--brand-100); }
input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 6px; margin: 16px 0 4px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(to right, var(--brand) var(--p, 27%), #dbe1e8 var(--p, 27%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 2px 6px rgba(16, 24, 40, .2); transition: transform .15s; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 2px 6px rgba(16, 24, 40, .2); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ex { height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font: 500 13px/1 var(--font); cursor: pointer; transition: box-shadow .2s, color .2s, background .2s; }
.ex:hover { box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand); }
.ex[aria-pressed="true"] { background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand); }
.next { margin-top: 18px; }
.next-title { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.next ul { list-style: none; padding: 0; }
.next li { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; font-size: 14px; border-top: 1px solid var(--line); }
.next li:first-child { border-top: 0; }
.next .nd { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.next .nl { color: var(--ink-2); display: flex; align-items: center; gap: 8px; min-width: 0; }
.next .nl span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.next .nl i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.next .na { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.pot-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.float-card { position: absolute; left: 24px; bottom: -40px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); animation: bob 6s ease-in-out infinite; }
.fc-ico { width: 36px; height: 36px; border-radius: 10px; background: #fff1e8; display: grid; place-items: center; }
.fc-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--warn); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fc-label { font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.fc-value { font-size: 15px; font-weight: 650; color: var(--ink); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Kennzahlen ---------- */
.stats { border-block: 1px solid var(--line); background: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; }
.stat + .stat { box-shadow: inset 1px 0 0 var(--line); }
.stat-v { font-size: 30px; font-weight: 650; letter-spacing: -0.035em; color: var(--ink); line-height: 1.15; }
.stat-l { font-size: 14px; color: var(--muted); margin-top: 4px; max-width: 24ch; }

/* ---------- Sektionen ---------- */
.section { padding: 112px 0; }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.row-head { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--brand); margin-bottom: 12px; }
.eyebrow.on-dark { color: var(--mint); }
.section h2 { font-size: clamp(2rem, 1.35rem + 2.1vw, 3rem); line-height: 1.08; letter-spacing: -0.04em; }
.sec-lead { font-size: 18px; color: var(--muted); margin-top: 16px; max-width: 36em; }
.sec-head.center .sec-lead { margin-inline: auto; }
.sec-lead a { color: var(--brand); font-weight: 600; text-decoration: none; }

/* So funktioniert's */
.how-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.how-copy .link-arrow { margin-top: 24px; }
.timeline { list-style: none; padding: 8px 28px; }
.timeline li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.tl-date { font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 2px; }
.tl-title { font-weight: 600; color: var(--ink); }
.tl-text { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.tl-amt { font-weight: 650; color: var(--ink); white-space: nowrap; }
.timeline li.hot .tl-amt { color: var(--warn); }
.timeline li.hot .tl-date { color: var(--warn); }
.timeline li.tl-foot { display: block; border-bottom: 0; padding: 14px 0 10px; font-size: 13px; color: var(--muted); }

/* ---------- Rechner ---------- */
.workspace { background: var(--surface); }
.calc { display: grid; grid-template-columns: 370px minmax(0, 1fr); gap: 24px; align-items: start; }
.inputs { position: sticky; top: 84px; padding: 24px; max-height: calc(100vh - 104px); overflow: auto; overscroll-behavior: contain; min-width: 0; }
.results { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.r-block { min-width: 0; }
fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
legend, label.legend { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg2 label { display: block; cursor: pointer; }
.seg2 input { position: absolute; opacity: 0; pointer-events: none; }
.seg2 label span { display: block; height: 100%; padding: 11px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 12.5px; line-height: 1.35; color: var(--muted); transition: box-shadow .2s, background .2s; }
.seg2 label strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.seg2 label:hover span { box-shadow: inset 0 0 0 1px var(--brand); }
.seg2 input:checked + span { background: var(--brand-50); box-shadow: inset 0 0 0 2px var(--brand); }
.seg2 input:focus-visible + span { outline: 3px solid var(--brand-100); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: block; margin-bottom: 12px; }
.field > span:first-child { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
input[type="number"], input[type="text"], select, textarea {
  width: 100%; font: 400 15px/1.3 var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 10px 12px; min-height: 44px; transition: border-color .2s, box-shadow .2s; }
.slider-val input[type="text"] { width: 6.4ch; min-height: 0; border: 0; background: transparent; font: 650 18px/1 var(--font); padding: 4px 2px; border-radius: 8px; }
input[type="number"]:focus, input[type="text"]:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.slider-val input[type="text"]:focus { background: #fff; }
.money { position: relative; display: block; }
.money input { padding-right: 30px; text-align: right; font-variant-numeric: tabular-nums; }
.money::after { content: "€"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; font-size: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.check strong { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.check input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
details.more { margin-top: 4px; border-top: 1px solid var(--line); }
details.more summary { cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s var(--ease); margin-right: 4px; }
details.more[open] summary::after { transform: rotate(-135deg); }
details.more > div { padding-bottom: 8px; }
.form-foot { border-top: 1px solid var(--line); padding-top: 14px; }
.years-edit { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.years-edit th { text-align: left; font-weight: 600; padding: 4px; color: var(--muted); }
.years-edit td { padding: 3px 4px; }
.years-edit input { min-height: 36px; padding: 6px 8px; font-size: 13.5px; text-align: right; }

.r-block { padding: 24px; }
.r-block h3 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: 16px; }
.r-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.r-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.r-hero { position: relative; overflow: hidden; }
.r-hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -220px; background: radial-gradient(closest-side, rgba(61, 220, 151, .18), transparent); pointer-events: none; }
.r-hero > * { position: relative; }
.r-label { font-size: 14px; color: var(--muted); }
.r-figure { font-size: 46px; font-weight: 650; letter-spacing: -0.045em; line-height: 1.1; color: var(--ink); margin: 4px 0 10px; }
.r-figure small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.r-sub { font-size: 15px; max-width: 62ch; }
.r-sub strong { color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.tile { background: var(--surface); border-radius: 12px; padding: 14px 16px; }
.tile .lab { font-size: 13px; color: var(--muted); }
.tile .val { font-size: 21px; font-weight: 650; letter-spacing: -0.03em; color: var(--ink); line-height: 1.3; }
.callout { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; }
.callout p { margin: 0; }
.callout .ico { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.callout.warn { background: #fff7ed; box-shadow: inset 0 0 0 1px #fed7aa; color: #7c2d12; }
.callout.warn .ico { background: var(--warn); color: #fff; }
.callout.info { background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100); color: #064e3b; }
.callout.info .ico { background: var(--brand); color: #fff; }

ul.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; margin: 0 0 8px; list-style: none; font-size: 13px; color: var(--ink-2); }
ul.legend li { display: flex; align-items: center; gap: 6px; }
ul.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: #eef1f5; stroke-width: 1; }
.chart .axis-label { fill: var(--muted); font-size: 12px; font-family: var(--font); }
.chart .x-label { fill: var(--ink-2); font-size: 12.5px; font-family: var(--font); }
.chart .x-label.cur { font-weight: 650; fill: var(--ink); }
.chart .cap { fill: var(--ink); font-size: 12px; font-weight: 600; font-family: var(--font); }
.chart .band { fill: transparent; }
.chart .band:hover, .chart .band:focus { fill: var(--surface); outline: none; }
.chart .baseline { stroke: var(--axis); stroke-width: 1; }
.tooltip { position: absolute; pointer-events: none; background: var(--navy); color: #fff; padding: 10px 12px; border-radius: 12px; font-size: 13px; min-width: 200px; z-index: 5; transform: translate(-50%, -100%); box-shadow: var(--shadow-lg); }
.tooltip b { display: block; margin-bottom: 4px; }
.tooltip .tr { display: flex; justify-content: space-between; gap: 12px; color: #d5dbe6; }
.tooltip .tr i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-right: 6px; }
.tooltip .tot { margin-top: 4px; padding-top: 4px; border-top: 1px solid rgba(255, 255, 255, .15); font-weight: 600; color: #fff; }

.tbl-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
table.data th { font-size: 12.5px; font-weight: 600; color: var(--muted); vertical-align: bottom; white-space: normal; line-height: 1.25; }
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data td.wrap { white-space: normal; }
table.data tr.cur td { background: var(--brand-50); }
table.data tr.best td { font-weight: 600; color: var(--ink); }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; margin-left: 6px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 11.5px; font-weight: 600; vertical-align: middle; }
.tag.good { background: var(--brand-50); color: var(--brand); }
.tag.bad { background: #fef3f2; color: #b42318; }
.neg { color: var(--brand); }

.pay { list-style: none; padding: 0; margin: 0; }
.pay li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.pay li:last-child { border-bottom: 0; }
.pay li .d { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.pay li .a { font-weight: 600; color: var(--ink); white-space: nowrap; }
.pay li .k { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; }

.tips { display: grid; gap: 12px; }
.tip { background: var(--surface); border-radius: var(--radius); padding: 16px 18px; }
.tip h3 { font-size: 15.5px; margin-bottom: 4px; letter-spacing: -0.01em; }
.tip p { font-size: 14.5px; color: var(--muted); max-width: 70ch; }
.tip .act { margin-top: 8px; }
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.partner { background: var(--surface); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 6px; }
.partner .ad { font-size: 12px; color: var(--muted); }

/* ---------- Funktionen ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 28px; transition: transform .25s var(--ease), box-shadow .25s; }
.feat:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
.f-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); display: grid; place-items: center; }
.f-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 18px; margin: 18px 0 8px; letter-spacing: -0.015em; }
.feat p { font-size: 15.5px; color: var(--muted); }

/* ---------- Vertrauen (dunkel) ---------- */
.trust { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.trust::before { content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -240px; background: radial-gradient(closest-side, rgba(61, 220, 151, .16), transparent); pointer-events: none; }
.trust-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.trust h2 { color: #fff; }
.trust .sec-lead { color: var(--on-dark); }
.trust-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.trust-list li { display: flex; gap: 16px; padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.t-ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(61, 220, 151, .12); display: grid; place-items: center; flex: none; }
.t-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.t-title { color: #fff; font-weight: 600; }
.t-text { font-size: 14.5px; margin-top: 2px; }

/* ---------- Preise ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.plan { padding: 32px; display: flex; flex-direction: column; }
.plan-pro { box-shadow: inset 0 0 0 2px var(--brand), var(--shadow-lg); }
.plan-top { display: flex; align-items: center; justify-content: space-between; }
.plan-name { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.plan-price { margin-top: 8px; font-size: 44px; font-weight: 650; letter-spacing: -0.045em; color: var(--ink); line-height: 1.15; }
.plan-price > span:last-child { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-left: 30px; font-size: 15px; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-50); }
.plan-list li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); }
.offer-act { display: grid; gap: 10px; }
.offer-act .btn { width: 100%; }
.license { display: flex; gap: 8px; }
.license input { min-width: 0; }
.license .btn { width: auto; }
.lic-msg { font-size: 13px; color: var(--muted); }
.plus-on { font-weight: 600; color: var(--brand); }

/* ---------- FAQ ---------- */
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.qs details { border-bottom: 1px solid var(--line); }
.qs details:first-child { border-top: 1px solid var(--line); }
.qs summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink-2); font-weight: 500; font-size: 18px; transition: transform .25s var(--ease), background .2s; }
.qs details[open] summary::after { transform: rotate(45deg); background: var(--brand-50); color: var(--brand); }
.qs details p { padding: 0 48px 22px 0; color: var(--muted); }
.qs details p a { color: var(--brand); font-weight: 600; text-decoration: none; }

/* ---------- Ratgeber ---------- */
.guides { background: var(--surface); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide { display: flex; flex-direction: column; gap: 14px; padding: 22px; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.guide:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
.g-tag { align-self: flex-start; height: 24px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-size: 12px; font-weight: 600; }
.g-title { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.g-title::after { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s var(--ease), border-color .2s; }
.guide:hover .g-title::after { border-color: var(--brand); transform: translateX(3px) rotate(45deg); }

/* ---------- CTA ---------- */
.cta-band { padding: 0 0 112px; background: var(--surface); }
.cta-in.wrap { width: calc(100% - 48px); max-width: 1152px; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 56px; border-radius: 24px; color: #d6f5e7;
  background: radial-gradient(60% 120% at 100% 0%, rgba(61, 220, 151, .35), transparent 60%), var(--brand); box-shadow: var(--shadow-lg); }
.cta-in h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); letter-spacing: -0.035em; line-height: 1.15; }
.cta-in p { margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--on-dark); padding: 72px 0 32px; font-size: 14.5px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .logo { color: #fff; }
.foot-brand p { margin-top: 16px; max-width: 36ch; font-size: 14px; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-h { color: #fff; font-weight: 600; margin-bottom: 4px; }
.foot-col a { color: var(--on-dark); text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); font-size: 13px; }

/* ---------- Mobile Leiste, Dialog ---------- */
.mobile-bar { display: none; }
dialog { border: 0; border-radius: var(--radius-lg); padding: 0; max-width: 680px; width: calc(100% - 32px); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); }
dialog::backdrop { background: rgba(11, 18, 32, .5); backdrop-filter: blur(2px); }
dialog .dlg { padding: 24px; }
dialog h2 { font-size: 20px; margin-bottom: 16px; }
dialog textarea { min-height: 300px; font-size: 14px; line-height: 1.5; }
.noscript { padding: 24px; }

/* ---------- Bewegung ---------- */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { transform: none; transition: opacity .2s; }
  .float-card, .live .dot { animation: none; }
  .feat:hover, .guide:hover { transform: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .hero-in, .how-in, .trust-in, .faq-in { grid-template-columns: 1fr; gap: 48px; }
  .pot { margin: 0 auto; }
  .float-card { left: auto; right: 8px; bottom: -36px; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .inputs { position: static; max-height: none; overflow: visible; }
  .feat-grid, .guide-grid { grid-template-columns: 1fr 1fr; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { box-shadow: inset 0 1px 0 var(--line); }
  .stat:nth-child(4) { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}

/* ---------- Telefon ---------- */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; }
  .hero { padding: 40px 0 72px; }
  .hero h1 { font-size: 2.55rem; }
  .hero-lead { font-size: 17px; }
  .hero-cta .btn { flex: 1; }
  .pot { padding: 18px; }
  .pot-figure { font-size: 44px; }
  .float-card { display: none; }
  .stat { padding: 22px 16px; }
  .stat-v { font-size: 24px; }
  .section { padding: 80px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-head.row-head { flex-direction: column; align-items: flex-start; }
  .timeline { padding: 4px 18px; }
  .timeline li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .tl-date { grid-column: 1 / -1; }
  .feat-grid, .guide-grid, .plans { grid-template-columns: 1fr; }
  .plan { padding: 24px; }
  .r-block { padding: 18px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .pay li { grid-template-columns: minmax(0, 1fr) auto; }
  .pay li .d { grid-column: 1 / -1; }
  .r-figure { font-size: 38px; }
  .cta-in.wrap { width: calc(100% - 32px); }
  .cta-in { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .cta-in .btn { width: 100%; }
  .foot-in { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; }
  .qs details p { padding-right: 0; }
  .mobile-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px;
    background: var(--navy); color: #fff; padding: 14px 16px; border-radius: 14px; text-decoration: none; font-size: 15px; box-shadow: var(--shadow-lg); }
  .mobile-bar strong { font-weight: 650; }
  .mobile-bar .go { font-weight: 600; color: var(--mint); }
  body { padding-bottom: 76px; }
}

/* ---------- Druck = PDF-Fahrplan ---------- */
@media print {
  .nav, .hero, .stats, .how, .features, .trust, .pricing, .faq, .guides, .cta-band, .footer, .sec-head, .no-print, .tooltip, dialog, .skip, .mobile-bar { display: none !important; }
  body { padding: 0; }
  .workspace { background: #fff; padding: 0; }
  .calc { display: block; }
  .card { box-shadow: none; border: 1px solid #ddd; }
  .r-hero::before { display: none; }
  .print-only { display: block; margin-bottom: 16px; }
  .r-block { break-inside: avoid; margin-bottom: 12px; }
  .js .rv { opacity: 1; transform: none; }
}
