/* ==========================================================================
   DB Konnect – Design-System
   Helles, ruhiges Layout: viel Weißraum, eine Akzentfarbe, System-Schrift
   (auf Apple-Geräten San Francisco). Keine externen Schriften, keine Cookies.
   ========================================================================== */

:root {
    --ink: #1d1d1f;
    --ink-2: #6e6e73;
    --ink-3: #86868b;
    --bg: #ffffff;
    --bg-alt: #f5f5f7;
    --line: #d2d2d7;
    --line-soft: rgba(0, 0, 0, .08);

    --accent: #0068d6;
    --accent-hover: #0a7aef;
    --link: #0066cc;
    --good: #14833f;
    --bad: #86868b;
    --error: #d70015;
    --star: #f5a623;

    --d-bg: #000000;
    --d-surface: #161617;
    --d-surface-2: #1f1f21;
    --d-ink: #f5f5f7;
    --d-ink-2: #a1a1a6;
    --d-line: rgba(255, 255, 255, .12);
    --d-accent: #2997ff;
    --d-green: #30d158;
    --d-amber: #ffd60a;

    --r-l: 28px;
    --r-m: 18px;
    --r-s: 12px;

    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --nav-h: 52px;
    --wrap: 1120px;
    --pad: clamp(20px, 5vw, 40px);
    --ease: cubic-bezier(.2, .8, .2, 1);

    color-scheme: light;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.47;
    letter-spacing: -.011em;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid rgba(0, 104, 214, .55); outline-offset: 3px; border-radius: 6px; }

.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: fixed; left: 16px; top: -80px; z-index: 300;
    background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 980px;
}
.skip:focus { top: 12px; text-decoration: none; }

/* ---------- Layout ---------- */

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: calc(820px + 2 * var(--pad)); }

.sec { padding-block: clamp(76px, 11vw, 150px); }
.sec--alt { background: var(--bg-alt); }
.sec--dark { background: var(--d-bg); color: var(--d-ink); }
.sec--flush-top { padding-top: 0; }

.sec-head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 76px); }
.sec-head--center { margin-inline: auto; text-align: center; }

/* ---------- Typografie ---------- */

.eyebrow {
    display: block;
    font-size: clamp(1rem, .5vw + .9rem, 1.3125rem);
    font-weight: 600; letter-spacing: -.012em;
    color: var(--accent); margin-bottom: 12px;
}
.sec--dark .eyebrow { color: var(--d-accent); }

.display {
    font-size: clamp(2.375rem, 5.6vw, 4.75rem);
    line-height: 1.06; font-weight: 600; letter-spacing: -.032em;
    text-wrap: balance;
}
.h2 {
    font-size: clamp(2rem, 4.4vw, 3.5rem);
    line-height: 1.08; font-weight: 600; letter-spacing: -.028em;
    text-wrap: balance;
}
.h2--statement { font-size: clamp(1.75rem, 3.5vw, 2.875rem); line-height: 1.13; }
.h2 .soft, .display .soft { color: var(--ink-3); }
.sec--dark .h2 .soft { color: var(--d-ink-2); }

.h3 { font-size: clamp(1.375rem, 1.6vw, 1.75rem); line-height: 1.16; font-weight: 600; letter-spacing: -.02em; }

.lead {
    font-size: clamp(1.125rem, .6vw + 1rem, 1.3125rem);
    line-height: 1.4; color: var(--ink-2); letter-spacing: -.014em;
    text-wrap: pretty;
}
.sec--dark .lead { color: var(--d-ink-2); }
.sec-head .lead { margin-top: 20px; max-width: 720px; }
.sec-head--center .lead { margin-inline: auto; }

.grad {
    background: linear-gradient(92deg, #0068d6 0%, #008fb8 50%, #0a9d6a 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.sec--dark .grad, .on-dark .grad { background-image: linear-gradient(92deg, #2997ff 0%, #40c8e0 50%, #30d158 100%); }

.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons & Links ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 11px 22px;
    font-size: 17px; font-weight: 400; line-height: 1.2; letter-spacing: -.014em;
    color: #fff; background: var(--accent);
    border-radius: 980px; border: 0; white-space: nowrap;
    transition: background-color .25s ease, transform .25s var(--ease);
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 54px; padding: 15px 30px; font-size: 18px; font-weight: 500; }
.btn--sm { min-height: 32px; padding: 6px 14px; font-size: 13px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }

.more {
    display: inline-flex; align-items: baseline; gap: .3em;
    font-size: inherit; color: var(--link);
}
.more::after { content: "›"; font-size: 1.15em; line-height: 1; transition: transform .25s var(--ease); }
.more:hover::after { transform: translateX(3px); }
.sec--dark .more { color: var(--d-accent); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.cta-row--center { justify-content: center; }
.cta-row .more { font-size: clamp(1.0625rem, .4vw + 1rem, 1.3125rem); }
.sec-cta { margin-top: clamp(40px, 6vw, 72px); }

/* ---------- Navigation ---------- */

.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, background-color .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line-soft); }
.nav.is-dark { background: rgba(22, 22, 23, .8); border-bottom-color: rgba(255, 255, 255, .1); }
.nav.is-dark .brand, .nav.is-dark .nav-links a { color: var(--d-ink); }
.nav.is-dark .brand { --logo-k: #161617; }
.nav.is-dark .nav-toggle span { background: var(--d-ink); }
.nav.is-dark .btn { background: var(--d-accent); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand svg rect { fill: currentColor; transition: fill .3s ease; }
.brand svg .k { fill: var(--logo-k, #fff); }
.brand svg .ks { fill: none; stroke: var(--logo-k, #fff); }
.brand, .nav-links a { transition: color .3s ease, opacity .2s ease; }
.brand span span { font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav-links a { font-size: 13px; letter-spacing: -.005em; color: var(--ink); opacity: .82; transition: opacity .2s ease; }
.nav-links a:hover { opacity: 1; text-decoration: none; }

.nav-end { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -12px; position: relative; }
.nav-toggle span {
    position: absolute; left: 13px; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px;
    transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.menu {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
    padding: 28px var(--pad) 40px; overflow-y: auto;
    display: flex; flex-direction: column;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
.menu a.menu-link {
    display: block; padding: 10px 0; color: var(--ink);
    font-size: 28px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2;
    opacity: 0; transform: translateY(-8px);
    transition: opacity .4s ease, transform .5s var(--ease);
}
.menu.is-open a.menu-link { opacity: 1; transform: none; }
.menu.is-open a.menu-link:nth-child(2) { transition-delay: .03s; }
.menu.is-open a.menu-link:nth-child(3) { transition-delay: .06s; }
.menu.is-open a.menu-link:nth-child(4) { transition-delay: .09s; }
.menu.is-open a.menu-link:nth-child(5) { transition-delay: .12s; }
.menu.is-open a.menu-link:nth-child(6) { transition-delay: .15s; }
.menu.is-open a.menu-link:nth-child(7) { transition-delay: .18s; }
.menu a.menu-link:hover { text-decoration: none; }
.menu-foot { margin-top: auto; padding-top: 32px; }
.menu-foot p { margin-top: 16px; font-size: 14px; color: var(--ink-2); text-align: center; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */

.hero { padding-top: calc(var(--nav-h) + clamp(44px, 8vw, 96px)); text-align: center; overflow: hidden; }
.hero-copy { max-width: 1010px; margin-inline: auto; }
.hero .eyebrow { font-size: clamp(.9375rem, .4vw + .85rem, 1.1875rem); color: var(--ink-2); font-weight: 500; margin-bottom: 18px; }
.hero .lead { max-width: 700px; margin: 24px auto 0; }
.hero .cta-row { margin-top: 32px; }

.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero-media {
    position: relative; margin: clamp(44px, 6vw, 76px) auto 0;
    width: min(1320px, calc(100% - 2 * var(--pad)));
    aspect-ratio: 16 / 8.4; border-radius: var(--r-l); overflow: hidden;
    background: #dfe7ee; transform-origin: 50% 100%;
    animation: rise 1.1s var(--ease) .3s both;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) and (min-width: 700px) {
        .hero-media { animation: heroGrow linear both; animation-timeline: view(); animation-range: entry 10% cover 42%; }
    }
}
@keyframes heroGrow { from { transform: scale(.9); } to { transform: scale(1); } }

.assure {
    display: grid; grid-template-columns: repeat(4, 1fr);
    margin-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(60px, 8vw, 110px);
    text-align: left;
}
.assure li {
    display: flex; align-items: center; gap: 12px; padding: 6px 20px;
    font-size: clamp(.9375rem, .3vw + .88rem, 1.0625rem); font-weight: 600; letter-spacing: -.014em; line-height: 1.25;
    border-left: 1px solid var(--line);
}
.assure li:first-child { border-left: 0; padding-left: 0; }
.assure svg { width: 24px; height: 24px; flex: none; color: var(--good); }

@media (max-width: 900px) {
    .assure { grid-template-columns: 1fr 1fr; gap: 18px 0; }
    .assure li:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) {
    .hero-media { aspect-ratio: 4 / 3.3; border-radius: 22px; }
    .assure { grid-template-columns: 1fr; gap: 0; }
    .assure li { border-left: 0; padding: 14px 0; border-top: 1px solid var(--line-soft); }
    .assure li:first-child { border-top: 0; }
    .hero .cta-row { flex-direction: column; gap: 16px; }
    .hero .btn--lg { width: 100%; }
}

/* ---------- Karten (Bento) ---------- */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
    position: relative; overflow: hidden;
    background: var(--bg); border-radius: var(--r-l);
    padding: clamp(28px, 3.4vw, 44px);
    display: flex; flex-direction: column;
}
.sec:not(.sec--alt) .tile { background: var(--bg-alt); }
.tile--4 { grid-column: span 4; }
.tile--3 { grid-column: span 3; }
.tile--2 { grid-column: span 2; }
.tile--dark { background: #000 !important; color: var(--d-ink); }
.tile--dark p { color: var(--d-ink-2); }
.tile .h3 { margin-bottom: 12px; }
.tile p { color: var(--ink-2); text-wrap: pretty; }
.tile-kicker { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; letter-spacing: -.006em; }
.tile--dark .tile-kicker { color: var(--d-ink-2); }
.tile-icon { width: 44px; height: 44px; margin-bottom: 22px; color: var(--accent); }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 6px 0 28px; }
.trio-val { font-size: clamp(2.75rem, 5.2vw, 4.5rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.trio-val small { font-size: .5em; font-weight: 600; letter-spacing: -.02em; margin-left: .06em; }
.trio-pre { display: block; font-size: 13px; font-weight: 600; color: var(--ink-3); height: 20px; }
.trio-lbl { display: block; margin-top: 10px; font-size: 14px; line-height: 1.3; color: var(--ink-2); font-weight: 500; }

.tile--media { padding: 0; flex-direction: row; }
.tile--media .tile-img { flex: 0 0 44%; position: relative; min-height: 280px; }
.tile--media .tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--media .tile-body { padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; justify-content: center; }

.spark { margin-top: auto; padding-top: 28px; }
.spark svg { width: 100%; height: auto; overflow: visible; }
.spark-line { stroke-dasharray: 620; stroke-dashoffset: 620; }
.in .spark-line, .no-js .spark-line { animation: draw 2.2s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spark-cap { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; font-weight: 600; }
.spark-cap span:first-child { color: var(--d-green); }
.spark-cap span:last-child { color: var(--d-accent); }

@media (max-width: 900px) {
    .bento { grid-template-columns: 1fr; }
    .tile--4, .tile--3, .tile--2 { grid-column: auto; }
    .tile--media { flex-direction: column; }
    .tile--media .tile-img { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 480px) {
    .trio { gap: 10px; }
    .trio-lbl { font-size: 12.5px; }
}

/* ---------- Fallbeispiel ---------- */

.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: clamp(48px, 7vw, 88px); }
.figure { border-top: 1px solid var(--line); padding-top: 22px; }
.figure-val { font-size: clamp(2.5rem, 5.6vw, 4.75rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.figure-lbl { margin-top: 12px; font-size: clamp(.9375rem, .3vw + .9rem, 1.0625rem); color: var(--ink-2); font-weight: 500; }

.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.case-card {
    position: sticky; top: calc(var(--nav-h) + 28px);
    background: var(--bg-alt); border-radius: var(--r-l); overflow: hidden;
    padding: clamp(28px, 3vw, 40px) clamp(28px, 3vw, 40px) 0;
}
.case-card .h3 { margin-bottom: 4px; }
.case-card p { color: var(--ink-2); }
.case-card picture { margin-top: 12px; }
.case-card img { width: 86%; margin-inline: auto; }

.steps { counter-reset: step; }
.step { position: relative; padding: 0 0 clamp(30px, 4vw, 44px) 62px; counter-increment: step; }
.step::before {
    content: counter(step); position: absolute; left: 0; top: -3px;
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: 16px; font-weight: 600; color: var(--ink); background: var(--bg-alt);
    font-variant-numeric: tabular-nums;
}
.step::after { content: ""; position: absolute; left: 18.5px; top: 43px; bottom: 6px; width: 1px; background: var(--line); }
.step:last-child { padding-bottom: 0; }
.step:last-child::after { display: none; }
.step-title { font-size: clamp(1.25rem, .6vw + 1.1rem, 1.5rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 8px; }
.step p { color: var(--ink-2); text-wrap: pretty; }
.step p strong { color: var(--ink); }
.sec--alt .step::before { background: #fff; }

@media (max-width: 900px) {
    .case { grid-template-columns: 1fr; }
    .case-card { position: static; }
    .case-card img { width: min(72%, 320px); }
}
@media (max-width: 640px) {
    .figures { grid-template-columns: 1fr; gap: 0; }
    .figure { padding: 20px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
    .figure-val { font-size: 2.375rem; }
    .figure-lbl { margin: 0; text-align: right; }
    .step { padding-left: 54px; }
}

/* ---------- Segment-Umschalter ---------- */

.seg {
    display: inline-flex; padding: 4px; gap: 2px; max-width: 100%;
    background: rgba(118, 118, 128, .14); border-radius: 980px;
}
.seg button {
    padding: 10px 22px; border-radius: 980px;
    font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.2;
    transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.seg button[aria-selected="true"] { background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.sec--dark .seg { background: rgba(118, 118, 128, .3); }
.sec--dark .seg button { color: var(--d-ink); }
.sec--dark .seg button[aria-selected="true"] { background: #636366; box-shadow: none; }
.seg-wrap { display: flex; justify-content: center; margin-bottom: clamp(32px, 5vw, 56px); }
[role="tabpanel"][hidden] { display: none; }
@media (max-width: 560px) {
    .seg { width: 100%; }
    .seg button { flex: 1; padding: 10px 10px; font-size: 13.5px; }
}

/* ---------- So funktioniert es (Animation) ---------- */

.flow-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.flow-head .lead { margin-top: 18px; }

.flow {
    --cyc: 18s;
    background: var(--d-surface); border-radius: var(--r-l);
    padding: clamp(24px, 4.5vw, 56px);
}
.flow-chart { position: relative; max-width: 780px; margin: 0 auto; }
.flow-chart-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 30px; font-size: 12px; }
.flow-chart-top span:first-child { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--d-ink-2); }
.flow-chart-top span:last-child { color: rgba(255, 255, 255, .4); }
.flow-plot { position: relative; }
.flow-plot svg { width: 100%; height: auto; overflow: visible; }
.flow-cursor {
    position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .05));
    animation: fl-cursor var(--cyc) linear infinite;
}
.flow-tag { position: absolute; transform: translateX(-50%); font-size: 12px; font-weight: 600; white-space: nowrap; }
.flow-tag--low { color: var(--d-green); }
.flow-tag--high { color: var(--d-accent); }
.flow-sun, .flow-moon { position: absolute; top: -26px; transform: translateX(-50%); }
.flow-sun { width: 18px; height: 18px; border-radius: 50%; background: var(--d-amber); box-shadow: 0 0 20px rgba(255, 214, 10, .55); }
.flow-moon { width: 15px; height: 15px; border-radius: 50%; box-shadow: inset -4px -3px 0 0 #d1d1d6; }
.flow-axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--d-ink-2); }
.flow-axis .is-low { color: var(--d-green); font-weight: 600; }
.flow-axis .is-high { color: var(--d-accent); font-weight: 600; }

.flow-scene { display: flex; align-items: stretch; justify-content: center; margin-top: clamp(32px, 5vw, 52px); }
.flow-node {
    flex: 0 0 188px; text-align: center;
    background: var(--d-surface-2); border: 1px solid var(--d-line); border-radius: var(--r-m);
    padding: 24px 16px 20px;
}
.flow-node-art { height: 66px; display: grid; place-items: center; margin-bottom: 14px; }
.flow-node small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--d-ink-2); margin-bottom: 4px; }
.flow-node strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.flow-node span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--d-ink-2); }
.flow-node .flow-val { margin-top: 6px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--d-ink); font-variant-numeric: tabular-nums; }
.flow-node--buy .flow-val { color: var(--d-green); }
.flow-node--sell .flow-val { color: var(--d-accent); }

.pv { display: grid; grid-template-columns: repeat(3, 20px); gap: 3px; transform: perspective(140px) rotateX(16deg); }
.pv i { height: 15px; border-radius: 2.5px; background: linear-gradient(135deg, #1d4ed8, #60a5fa); }
.pv i:nth-child(n+4) { background: linear-gradient(135deg, #2563eb, #93c5fd); }

.batt { display: flex; flex-direction: column; align-items: center; }
.batt-cap { width: 16px; height: 5px; border-radius: 3px 3px 0 0; background: rgba(255, 255, 255, .4); }
.batt-body { position: relative; width: 38px; height: 58px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 8px; overflow: hidden; display: flex; align-items: flex-end; padding: 2px; }
.batt-fill { width: 100%; height: 12%; border-radius: 4px; background: linear-gradient(180deg, #5ee08a, var(--d-green)); animation: fl-fill var(--cyc) linear infinite; }

.euro { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; font-weight: 600; color: var(--d-accent); background: rgba(41, 151, 255, .14); border: 1px solid rgba(41, 151, 255, .35); }

.flow-link { flex: 0 1 148px; min-width: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 0 10px; text-align: center; }
.flow-link em { font-style: normal; font-size: 12px; font-weight: 600; line-height: 1.35; }
.flow-link small { font-size: 12px; color: rgba(255, 255, 255, .45); }
.flow-link--charge em { color: var(--d-green); animation: fl-charge var(--cyc) linear infinite; }
.flow-link--sell em { color: var(--d-accent); animation: fl-sell var(--cyc) linear infinite; }
.track { position: relative; display: block; width: 100%; height: 12px; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.track b { position: absolute; top: 2px; left: 0; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; opacity: 0; animation: fl-dot-x 1.8s linear infinite; }
.track b:nth-child(2) { animation-delay: -.6s; }
.track b:nth-child(3) { animation-delay: -1.2s; }
.track-phase { position: absolute; inset: 0; }
.flow-link--charge .track-phase { animation: fl-charge-dots var(--cyc) linear infinite; }
.flow-link--charge .track b { background: var(--d-green); box-shadow: 0 0 10px rgba(48, 209, 88, .8); }
.flow-link--sell .track-phase { animation: fl-sell-dots var(--cyc) linear infinite; }
.flow-link--sell .track b { background: var(--d-accent); box-shadow: 0 0 10px rgba(41, 151, 255, .8); }

.flow-bypass { position: relative; max-width: 860px; margin: 0 auto; padding: 0 94px; }
.flow-bypass-rail { position: relative; height: 34px; border: 2px solid rgba(255, 255, 255, .12); border-top: 0; border-radius: 0 0 16px 16px; }
.flow-bypass-rail .track { position: absolute; left: 0; right: 0; bottom: -7px; }
.flow-bypass-rail .track::before { display: none; }
.flow-bypass-rail .track b { background: var(--d-amber); box-shadow: 0 0 10px rgba(255, 214, 10, .7); animation-duration: 3.6s; }
.flow-bypass-rail .track b:nth-child(2) { animation-delay: -1.2s; }
.flow-bypass-rail .track b:nth-child(3) { animation-delay: -2.4s; }
.flow-bypass-rail .track-phase { animation: fl-direct-dots var(--cyc) linear infinite; }
.flow-bypass p { margin-top: 16px; text-align: center; font-size: 12px; font-weight: 600; line-height: 1.45; color: var(--d-amber); animation: fl-direct var(--cyc) linear infinite; }
.flow-bypass p small { display: block; font-weight: 400; color: rgba(255, 255, 255, .45); margin-top: 2px; font-size: 12px; }

.flow-fazit {
    display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%;
    margin: clamp(28px, 4vw, 44px) auto 0; padding: 12px 22px;
    border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid var(--d-line);
    font-size: 14.5px; line-height: 1.4; color: var(--d-ink);
}
.flow-fazit::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--d-accent), var(--d-green)); }

@keyframes fl-cursor { from { left: 0; } to { left: 100%; } }
@keyframes fl-fill { 0%, 44% { height: 12%; } 64%, 72% { height: 100%; } 90%, 100% { height: 12%; } }
@keyframes fl-charge { 0%, 42% { opacity: .5; } 45%, 63% { opacity: 1; } 66%, 100% { opacity: .5; } }
@keyframes fl-sell { 0%, 70% { opacity: .5; } 73%, 89% { opacity: 1; } 92%, 100% { opacity: .5; } }
@keyframes fl-direct { 0%, 25% { opacity: .5; } 28%, 42% { opacity: 1; } 45%, 63% { opacity: .5; } 66%, 70% { opacity: 1; } 73%, 100% { opacity: .5; } }
@keyframes fl-charge-dots { 0%, 43% { opacity: 0; } 45%, 63% { opacity: 1; } 65%, 100% { opacity: 0; } }
@keyframes fl-sell-dots { 0%, 71% { opacity: 0; } 73%, 89% { opacity: 1; } 91%, 100% { opacity: 0; } }
@keyframes fl-direct-dots { 0%, 26% { opacity: 0; } 28%, 42% { opacity: 1; } 44%, 64% { opacity: 0; } 66%, 70% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes fl-dot-x { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes fl-dot-y { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

@media (max-width: 860px) {
    .flow-scene { flex-direction: column; align-items: center; }
    .flow-node { flex: none; width: min(100%, 300px); display: grid; grid-template-columns: 76px 1fr; column-gap: 14px; align-items: center; text-align: left; padding: 16px 18px; }
    .flow-node-art { grid-row: span 4; margin: 0; }
    .flow-link { flex: none; min-width: 0; width: min(100%, 300px); flex-direction: row; justify-content: flex-start; gap: 16px; padding: 10px 0 10px 51px; text-align: left; }
    .flow-link .track { order: -1; flex: none; width: 12px; height: 54px; }
    .flow-link .track::before { left: 5px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
    .flow-link .track b { left: 6px; top: 0; margin: -4px 0 0 -4px; animation-name: fl-dot-y; }
    .flow-link small { display: none; }
    .flow-bypass { padding: 0; margin-top: 20px; }
    .flow-bypass-rail { display: none; }
    .flow-bypass p { margin-top: 0; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 214, 10, .28); }
    .flow-bypass p br { display: none; }
    .flow-fazit { border-radius: 16px; align-items: flex-start; }
    .flow-fazit::before { margin-top: 6px; }
    .flow-tag { font-size: 11px; }
}

/* ---------- Live-Marktdaten ---------- */

.market { background: var(--d-surface); border-radius: var(--r-l); padding: clamp(20px, 4vw, 48px); min-height: 380px; }
.mk-loading { display: grid; place-items: center; min-height: 320px; color: var(--d-ink-2); font-size: 15px; }
.mk-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 22px; }
.mk-date { font-size: clamp(1.25rem, 1vw + 1rem, 1.75rem); font-weight: 600; letter-spacing: -.02em; }
.mk-source { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 1.45; color: var(--d-ink-2); }
.mk-source a { color: var(--d-ink); }
.mk-source b { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--d-green); }
.mk-pulse { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--d-green); }
.mk-pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--d-green); opacity: 0; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

.mk-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.mk-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--d-ink); transition: background-color .2s ease; }
.mk-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .18); }
.mk-btn:disabled { opacity: .3; cursor: default; }
.mk-select {
    flex: 1 1 200px; max-width: 360px; height: 40px; padding: 0 38px 0 16px; border-radius: 980px;
    background: rgba(255, 255, 255, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23f5f5f7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 15px center;
    color: var(--d-ink); border: 0; font-size: 14px; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.mk-select option { color: #000; }
.mk-today { height: 40px; padding: 0 18px; border-radius: 980px; background: var(--d-accent); color: #fff; font-size: 14px; font-weight: 500; }

.mk-chart { position: relative; }
.mk-chart svg { width: 100%; height: auto; }
.mk-bar { transition: opacity .15s ease; }
.mk-chart svg:hover .mk-bar { opacity: .55; }
.mk-chart svg:hover .mk-bar:hover { opacity: 1; }
.mk-tip {
    position: absolute; pointer-events: none; z-index: 2; min-width: 126px;
    padding: 8px 12px; border-radius: 10px; background: rgba(245, 245, 247, .96); color: #1d1d1f;
    font-size: 12px; line-height: 1.35; box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
    opacity: 0; transition: opacity .15s ease;
}
.mk-tip.is-on { opacity: 1; }
.mk-tip span { display: block; }
.mk-tip span:last-child { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

.mk-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.mk-metric { background: var(--d-surface-2); border-radius: var(--r-m); padding: 20px 22px; }
.mk-metric-lbl { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--d-ink-2); }
.mk-metric-val { margin-top: 6px; font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--d-accent); }
.mk-metric-val.is-neg { color: var(--d-green); }
.mk-metric-val .unit { font-size: .42em; font-weight: 500; letter-spacing: 0; margin-left: .35em; color: var(--d-ink-2); }
.mk-metric-time { margin-top: 4px; font-size: 13px; color: var(--d-ink-2); }
.mk-callout { margin-top: 22px; font-size: clamp(1rem, .5vw + .95rem, 1.1875rem); line-height: 1.45; color: var(--d-ink-2); max-width: 820px; text-wrap: pretty; }
.mk-callout strong { color: var(--d-ink); }
@media (max-width: 520px) {
    .mk-metrics { gap: 10px; }
    .mk-metric { padding: 16px; }
}

/* ---------- Rentabilität / Kalkulator-Fenster ---------- */

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split p { color: var(--ink-2); margin-top: 20px; text-wrap: pretty; }

.win { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0, 0, 0, .06); }
.win-bar { position: relative; height: 40px; display: flex; align-items: center; padding: 0 14px; background: #f6f6f6; border-bottom: 1px solid var(--line-soft); }
.win-dots { display: flex; gap: 7px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d9d9de; }
.win-dots i:nth-child(1) { background: #ff5f57; }
.win-dots i:nth-child(2) { background: #febc2e; }
.win-dots i:nth-child(3) { background: #28c840; }
.win-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.win-tabs { display: flex; gap: 2px; padding: 8px 10px 0; background: #fbfbfd; border-bottom: 1px solid var(--line-soft); font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.win-tabs span { padding: 7px 12px; border-radius: 8px 8px 0 0; }
.win-tabs .is-on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 0 0 1px var(--line-soft); }

.calc { width: 100%; border-collapse: collapse; font-size: 11.5px; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.calc th, .calc td { padding: 7px 8px; text-align: right; white-space: nowrap; border-bottom: 1px solid rgba(0, 0, 0, .05); }
.calc th:first-child, .calc td:first-child { text-align: left; padding-left: 14px; font-weight: 600; color: var(--ink); }
.calc th:last-child, .calc td:last-child { padding-right: 14px; }
.calc thead th { font-weight: 600; color: var(--ink-2); background: #fbfbfd; }
.calc thead tr:first-child th { text-align: center; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; padding-block: 6px; border-left: 1px solid rgba(0, 0, 0, .05); }
.calc thead tr:first-child th:first-child { border-left: 0; }
.calc td { color: var(--ink-2); }
.calc .g-in { color: #b25000; }
.calc .g-fin { color: #b25000; }
.calc .g-brutto { color: var(--good); }
.calc .g-netto { color: var(--accent); }
.calc td.pos { color: var(--good); font-weight: 600; }
.calc td.neg { color: #c9302c; }
.calc td.net { color: var(--accent); font-weight: 600; }
.calc td.cum { color: var(--ink); font-weight: 600; }
.calc .gap td { text-align: center; color: var(--ink-3); padding-block: 2px; letter-spacing: .3em; }
.calc tfoot td { background: #fbfbfd; font-weight: 600; border-bottom: 0; border-top: 1px solid var(--line); }
.win-foot { display: flex; justify-content: flex-end; gap: 18px; padding: 9px 14px; font-size: 11.5px; color: var(--ink-3); background: #f6f6f6; border-top: 1px solid var(--line-soft); font-variant-numeric: tabular-nums; }
.win-foot b { font-weight: 600; }
.win-foot b:first-of-type { color: var(--good); }
.win-foot b:last-of-type { color: var(--accent); }
.win-note { margin-top: 14px; font-size: 12px; color: var(--ink-3); text-align: center; }

@media (max-width: 1080px) {
    .calc .c-x { display: none; }
}
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .calc .c-y { display: none; }
    .calc { font-size: 11px; }
    .calc th, .calc td { padding-inline: 6px; }
    .win-tabs span:nth-child(n+4) { display: none; }
}

/* ---------- Vergleich ---------- */

.cmp { position: relative; background: var(--bg-alt); border-radius: var(--r-l); padding: 10px; }
.cmp::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 10px; width: calc(50% - 10px); background: #fff; border-radius: 20px; box-shadow: 0 12px 40px -12px rgba(0, 0, 0, .14); }
.cmp-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.cmp-cell { display: flex; gap: 14px; align-items: flex-start; padding: 20px clamp(18px, 3vw, 36px); border-top: 1px solid var(--line-soft); line-height: 1.4; }
.cmp-row:nth-child(-n+2) .cmp-cell { border-top: 0; }
.cmp-cell:first-child { font-weight: 500; }
.cmp-cell:last-child { color: var(--ink-2); }
.cmp-head .cmp-cell { padding-block: 26px 16px; font-size: clamp(1.125rem, .8vw + 1rem, 1.5rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.cmp-head .cmp-cell:last-child { color: var(--ink-3); }
.ico { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; }
.ico svg { width: 12px; height: 12px; }
.ico--yes { background: var(--good); color: #fff; }
.ico--no { background: rgba(0, 0, 0, .08); color: var(--ink-3); }

@media (max-width: 700px) {
    .cmp { padding: 0; background: none; }
    .cmp::before { display: none; }
    .cmp-row { grid-template-columns: 1fr; background: var(--bg-alt); border-radius: var(--r-m); margin-top: 12px; overflow: hidden; }
    .cmp-cell { border-top: 0 !important; padding: 16px 18px; }
    .cmp-cell:first-child { background: #fff; margin: 6px 6px 0; border-radius: 13px; box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .14); }
    .cmp-head { background: none; margin-top: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
    .cmp-head .cmp-cell { padding: 0 0 8px; background: none !important; margin: 0 !important; box-shadow: none !important; font-size: 15px; }
    .cmp-head .cmp-cell::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: var(--good); }
    .cmp-head .cmp-cell:last-child::before { background: var(--line); }
    .cmp-head .cmp-cell { gap: 8px; }
}

/* ---------- Kennzahlen & Stimmen ---------- */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; margin-bottom: clamp(60px, 9vw, 120px); }
.stat-val { font-size: clamp(3rem, 8.5vw, 6.5rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.stat-val .star { color: var(--star); font-size: .58em; vertical-align: .22em; margin-left: .08em; letter-spacing: 0; }
.stat-val .plus { color: var(--accent); }
.stat-lbl { margin-top: 12px; font-size: clamp(.9375rem, .5vw + .9rem, 1.3125rem); color: var(--ink-2); font-weight: 500; }
@media (max-width: 560px) {
    .stats { gap: 8px; }
    .stat-val { font-size: 2.625rem; }
    .stat-lbl { font-size: 13px; line-height: 1.25; }
}

.voices { columns: 3 300px; column-gap: 20px; }
.voice {
    break-inside: avoid; margin-bottom: 20px;
    background: #fff; border-radius: var(--r-l); padding: clamp(24px, 2.6vw, 34px);
    display: flex; flex-direction: column; gap: 22px;
}
.voice blockquote { font-size: 17px; line-height: 1.47; color: var(--ink); text-wrap: pretty; }
.voice blockquote em { font-style: normal; font-weight: 600; }
.voice-meta { border-top: 1px solid var(--line-soft); padding-top: 16px; }
.voice-who { font-size: 14px; font-weight: 600; line-height: 1.35; }
.voice-src { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.voice-src .stars { color: var(--star); letter-spacing: 1px; font-size: 14px; }
.voice-src .g { font-weight: 600; color: var(--ink); }

/* ---------- Prozess ---------- */

.process { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.process-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.process-list li { display: grid; grid-template-columns: clamp(52px, 7vw, 92px) 1fr; gap: 8px; padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-num { font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 600; letter-spacing: -.04em; line-height: .95; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.process-list h3 { font-size: clamp(1.25rem, .6vw + 1.1rem, 1.5rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 8px; }
.process-list p { color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 900px) {
    .process { grid-template-columns: 1fr; }
    .process-head { position: static; }
}

/* ---------- Mission (Bild) ---------- */

.cine { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: #fff; background: #1a1a1c; overflow: hidden; }
.cine picture, .cine img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cine img { object-fit: cover; }
.cine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .68) 100%); }
.cine .wrap { position: relative; z-index: 1; padding-block: clamp(48px, 8vw, 110px); }
.cine .h2 { max-width: 920px; }
.cine .h2 .soft { color: rgba(255, 255, 255, .72); }

.quad { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quad .tile-num { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .quad { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 24px 0; text-align: left;
    font-size: clamp(1.0625rem, .7vw + .95rem, 1.375rem); font-weight: 600; letter-spacing: -.018em; line-height: 1.25;
}
.faq-q:hover { color: var(--accent); }
.faq-plus { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt); transition: transform .4s var(--ease), background-color .2s ease; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13.25px; height: 1.5px; border-radius: 2px; background: var(--ink); }
.faq-plus::after { transform: rotate(90deg); }
.sec--alt .faq-plus { background: #fff; }
.faq-q[aria-expanded="true"] .faq-plus { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 52px 26px 0; color: var(--ink-2); max-width: 720px; text-wrap: pretty; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.no-js .faq-a { grid-template-rows: 1fr; }

/* ---------- Kontakt ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-points { margin-top: 32px; display: grid; gap: 14px; }
.contact-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.contact-points svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--good); }
.contact-direct { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.contact-direct a { display: block; width: fit-content; margin-top: 6px; font-size: clamp(1.125rem, .6vw + 1rem, 1.3125rem); font-weight: 600; color: var(--ink); letter-spacing: -.016em; }

.form-card { background: #fff; border-radius: var(--r-l); padding: clamp(24px, 4vw, 48px); }
.sec:not(.sec--alt) .form-card { background: var(--bg-alt); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; letter-spacing: -.006em; }
.field label span { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 54px; padding: 14px 16px;
    font-size: 17px; line-height: 1.3; color: var(--ink);
    background: #fff; border: 1px solid var(--ink-3); border-radius: var(--r-s);
    transition: border-color .2s ease, box-shadow .2s ease;
    -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select {
    padding-right: 44px; cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d1d1f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 17px center;
}
.field select:invalid { color: var(--ink-3); }
.field ::placeholder { color: #b0b0b5; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 104, 214, .16); }
.field .hint { font-size: 12px; color: var(--ink-3); }
.field .err { display: none; font-size: 12.5px; color: var(--error); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); background-color: #fff5f5; }
.field.has-error .err { display: block; }
.field.has-error .hint { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 0; border-radius: 6px; border: 1px solid var(--ink-3); background: #fff; -webkit-appearance: none; appearance: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.consent input:checked { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--accent); }
.consent.has-error input { border-color: var(--error); box-shadow: 0 0 0 4px rgba(215, 0, 21, .12); }
.form-actions { grid-column: 1 / -1; margin-top: 6px; }
.form-fine { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.form-msg { display: none; grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--r-s); background: #fff5f5; color: var(--error); font-size: 14.5px; line-height: 1.45; }
.form-msg.is-on { display: block; }
.form-msg a { color: inherit; text-decoration: underline; }

.form-done { display: none; text-align: center; padding: clamp(24px, 5vw, 56px) 0; }
.form-done.is-on { display: block; animation: rise .7s var(--ease) both; }
.form-done-ico { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: var(--good); color: #fff; display: grid; place-items: center; }
.form-done-ico svg { width: 30px; height: 30px; }
.form-done p { margin-top: 10px; color: var(--ink-2); }

@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.footer { background: var(--bg-alt); color: var(--ink-2); font-size: 12px; line-height: 1.5; padding: 28px 0 32px; }
.sec--alt + .footer { border-top: 1px solid var(--line); }
.footer a { color: #424245; }
.footer-note { padding-bottom: 20px; border-bottom: 1px solid var(--line); max-width: none; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.footer-cols h2 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 10px; letter-spacing: 0; }
.footer-cols li { margin-top: 8px; }
.footer-brand .brand { font-size: 17px; margin-bottom: 12px; }
.footer-brand .brand svg { width: 22px; height: 22px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; }
.footer-base ul { display: flex; gap: 0; }
.footer-base li + li { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); }
@media (max-width: 760px) {
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Rechtstexte ---------- */

.legal { padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(72px, 10vw, 130px); }
.legal h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 600; letter-spacing: -.032em; line-height: 1.05; }
.legal-meta { margin-top: 14px; color: var(--ink-2); }
.legal-body { margin-top: clamp(36px, 5vw, 60px); }
.legal-body section { padding: clamp(26px, 3.4vw, 38px) 0; border-top: 1px solid var(--line); }
.legal-body h2 { font-size: clamp(1.375rem, 1vw + 1.15rem, 1.75rem); font-weight: 600; letter-spacing: -.022em; line-height: 1.2; margin-bottom: 14px; }
.legal-body h3 { font-size: 17px; font-weight: 600; margin: 22px 0 8px; }
.legal-body p { color: #424245; margin-bottom: 12px; max-width: 760px; text-wrap: pretty; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body ul { margin: 8px 0 14px; display: grid; gap: 7px; max-width: 760px; }
.legal-body ul li { position: relative; padding-left: 20px; color: #424245; }
.legal-body ul li::before { content: ""; position: absolute; left: 3px; top: .66em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
.legal-body strong { color: var(--ink); }
.legal-box { background: var(--bg-alt); border-radius: var(--r-m); padding: 22px 24px; margin: 6px 0 14px; max-width: 760px; }
.legal-box p { margin-bottom: 0; color: var(--ink); }
.legal-toc { margin-top: 28px; columns: 2 260px; column-gap: 32px; font-size: 15px; }
.legal-toc li { padding: 4px 0; break-inside: avoid; }

.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 64px); }
.dl > div { padding: 22px 0; border-top: 1px solid var(--line); }
.dl dt { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.dl dd { margin: 0; font-size: clamp(1.0625rem, .4vw + 1rem, 1.1875rem); line-height: 1.4; }
.dl dd a { color: var(--link); }
@media (max-width: 640px) { .dl { grid-template-columns: 1fr; } }

.notfound { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 60px) 0 80px; }
.notfound .lead { margin: 18px auto 32px; max-width: 520px; }

/* ---------- Scroll-Einblendung ---------- */

.js .rv { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); will-change: opacity, transform; }
.js .rv.in { opacity: 1; transform: none; }
.js .rv[data-d="1"] { transition-delay: .08s; }
.js .rv[data-d="2"] { transition-delay: .16s; }
.js .rv[data-d="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .js .rv { opacity: 1; transform: none; }
    .flow-cursor { display: none; }
    .batt-fill { height: 70%; }
    .spark-line { stroke-dashoffset: 0; }
}

@media print {
    .nav, .menu, .footer-cols { display: none; }
    .js .rv { opacity: 1; transform: none; }
}

/* ---------- Ergänzungen ---------- */
[hidden] { display: none !important; }
.grad { -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Feinschliff Mobil ---------- */
.trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) {
    .trio { grid-template-columns: 1fr; gap: 0; margin-bottom: 22px; }
    .trio > div { display: grid; grid-template-columns: 5.6em 1fr; column-gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-soft); }
    .trio > div:first-child { border-top: 0; padding-top: 4px; }
    .trio-pre { grid-column: 2; height: auto; }
    .trio-val { grid-row: 1 / span 2; font-size: 3rem; }
    .trio-lbl { grid-column: 2; margin-top: 2px; font-size: 14px; }
    .calc { font-size: 10.5px; }
    .calc th, .calc td { padding: 7px 4px; }
    .calc th:first-child, .calc td:first-child { padding-left: 10px; }
    .calc th:last-child, .calc td:last-child, .calc .g-netto, .calc td.net { padding-right: 10px; }
    .calc thead tr:first-child th { letter-spacing: .02em; font-size: 9.5px; }
    .win-title { font-size: 11.5px; }
}
