/* StockBuddy – Produktseite www.stockbuddy.com
   Layout: dunkler Hero mit Geräte-Mockups, dann helle Inhaltsflächen mit Karten,
   Verlauf Magenta -> Blau aus dem Corporate Design als durchgehender Akzent. */

@font-face { font-family: "Ubuntu"; src: url(fonts/ubuntu-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url(fonts/ubuntu-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/barlow-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/barlow-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/barlow-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* Corporate Design */
  --magenta: #d12c88;
  --plum: #9c2e77;
  --navy: #0d112f;
  --slate: #2d3659;
  --lavender: #8396ca;
  --blue: #213a8e;
  --grad: linear-gradient(100deg, #d12c88 0%, #9c2e77 45%, #213a8e 100%);
  /* Ableitungen */
  --bg: #f4f5fa;
  --surface: #ffffff;
  --ink: #0d112f;
  --ink-2: #3a4166;
  --muted: #646b8c;
  --line: #e1e4f0;
  --score: #7cc41f;
  --neg: #d6334a;

  --f-head: "Ubuntu", "Segoe UI", system-ui, sans-serif;
  --f-body: "Barlow", "Helvetica Neue", Arial, system-ui, sans-serif;

  --s--1: clamp(.85rem, .82rem + .12vw, .93rem);
  --s-0: clamp(1.02rem, .98rem + .2vw, 1.13rem);
  --s-1: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
  --s-2: clamp(1.55rem, 1.3rem + 1.1vw, 2.2rem);
  --s-3: clamp(2rem, 1.55rem + 2.1vw, 3.3rem);
  --s-4: clamp(2.5rem, 1.7rem + 3.8vw, 4.9rem);

  --r: 20px;
  --wrap: 1220px;
  --gut: clamp(16px, 4vw, 40px);
  --shadow: 0 24px 60px -30px rgba(13, 17, 47, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--s-0)/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--s-4); }
h2 { font-size: var(--s-3); }
h3 { font-size: var(--s-1); line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font: 600 var(--s--1)/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); display: inline-flex; gap: .6em; align-items: center; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }
.lead { font-size: var(--s-1); line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.prose { color: var(--ink-2); max-width: 60ch; }
.note { font-size: .82rem; color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: .6em 1em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 600 var(--s-0)/1 var(--f-body); text-decoration: none; padding: 1em 1.5em; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-position .4s ease, border-color .18s; white-space: nowrap; }
.btn-grad { background: var(--grad); background-size: 160% 100%; color: #fff; box-shadow: 0 12px 28px -12px rgba(209, 44, 136, .7); }
.btn-grad:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 34px -12px rgba(33, 58, 142, .7); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: #fff; }
.btn-ghost-dark { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--ink); }
.btn-sm { padding: .72em 1.15em; font-size: var(--s--1); }
.btn .arr { transition: transform .18s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .25s, box-shadow .25s; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.site-head.open, .site-head.open.scrolled { background: #0d112f; }
.site-head.scrolled:not(.open) { background: rgba(13, 17, 47, .92); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -20px rgba(0,0,0,.6); }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav-links { display: flex; gap: 1.6rem; font: 500 var(--s--1)/1 var(--f-body); }
.nav-links a { color: rgba(255,255,255,.82); text-decoration: none; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: .6rem; align-items: center; }
.head-right { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.head-login-mobile { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: .4rem; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 1.2rem; padding: 1.2rem var(--gut) 1.6rem; background: #0d112f; box-shadow: 0 30px 40px -10px rgba(0,0,0,.6); display: none; }
  .site-head.open .nav { display: flex; }
  .nav-links { flex-direction: column; gap: 1.1rem; font-size: var(--s-0); }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .head-login-mobile { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; padding-block: calc(76px + clamp(36px, 6vw, 80px)) clamp(64px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 14s ease-in-out infinite alternate; }
.hero::before { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: var(--magenta); }
.hero::after { width: 52vw; height: 52vw; right: -16vw; bottom: -24vw; background: var(--blue); animation-delay: -6s; }
@keyframes drift { to { transform: translate(6vw, 4vw) scale(1.08); } }
.hero-grid-lines { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); }
.hero-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 1.5rem; min-width: 0; }
.hero .eyebrow { color: #f3a3cf; }
.hero h1 .grad-text { background: linear-gradient(100deg, #ff5fb4, #b07bff 55%, #8396ca); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: rgba(255,255,255,.8); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: rgba(255,255,255,.75); font-size: var(--s--1); }
.hero-points li { display: inline-flex; gap: .5em; align-items: center; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.4 14.2L4.4 10l1.4-1.4 2.8 2.8 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.4 14.2L4.4 10l1.4-1.4 2.8 2.8 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center/contain no-repeat; }
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; } }

/* ---------- Geräte ---------- */
.devices { position: relative; padding-bottom: 8%; padding-right: 9%; min-width: 0; }
.laptop { position: relative; }
.laptop-screen { background: #14182f; border-radius: 16px 16px 0 0; padding: 2.2% 2.2% 3%; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.laptop-screen img { border-radius: 6px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; background: #fff; }
.laptop-base { height: 14px; margin-inline: -6%; background: linear-gradient(#cfd3e6, #8c92b0); border-radius: 0 0 14px 14px; position: relative; }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); background: #a8aec8; border-radius: 0 0 8px 8px; }
.phone { position: absolute; right: 0; bottom: 0; width: 31%; aspect-ratio: 9 / 19; background: #0a0d22; border-radius: 34px; padding: 9px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.14) inset; }
.phone-screen { position: relative; height: 100%; border-radius: 26px; overflow: hidden; background: #f6f7fb; display: flex; flex-direction: column; }
.phone-screen::before { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 34%; height: 16px; border-radius: 12px; background: #0a0d22; z-index: 2; }
.phone-bar { display: flex; align-items: center; gap: 6px; padding: 30px 12px 8px; background: #fff; border-bottom: 1px solid #eceef6; font: 700 11px/1 var(--f-head); color: #3c3c3b; flex-shrink: 0; }
.phone-bar img { width: 18px; height: 18px; }
.phone-feed { flex: 1; overflow: hidden; position: relative; }
.phone-feed img { width: 100%; animation: feed 16s ease-in-out infinite alternate; }
@keyframes feed { 0%, 15% { transform: translateY(0); } 85%, 100% { transform: translateY(-38%); } }
.chip { position: absolute; display: flex; align-items: center; gap: .6rem; background: #fff; color: var(--ink); border-radius: 14px; padding: .7rem .9rem; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); font-size: .85rem; line-height: 1.25; animation: float 6s ease-in-out infinite; }
.chip strong { font-family: var(--f-head); }
.chip .big { font: 700 1.5rem/1 var(--f-head); color: var(--score); }
.chip-score { left: -4%; top: 12%; }
.chip-chat { left: 6%; bottom: 2%; animation-delay: -3s; }
.chip-chat .dot { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; flex-shrink: 0; }
.chip-chat .dot img { width: 20px; filter: brightness(0) invert(1); }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 560px) { .chip-score { left: 0; top: 4%; } .chip-chat { display: none; } .phone { border-radius: 24px; padding: 6px; } .phone-screen { border-radius: 19px; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--grad); color: #fff; overflow: hidden; padding-block: 14px; }
.ticker-track { display: flex; gap: 0; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font: 700 var(--s-0)/1 var(--f-head); white-space: nowrap; padding-inline: 1.4rem; display: inline-flex; align-items: center; gap: 1.4rem; }
.ticker span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.6); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sektionen ---------- */
section { padding-block: clamp(64px, 9vw, 120px); }
.sec-head { display: grid; gap: 1rem; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Fakten */
.facts { padding-block: clamp(36px, 5vw, 56px); background: var(--surface); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.fact { display: grid; gap: .3rem; }
.fact .v { font: 700 var(--s-3)/1 var(--f-head); font-variant-numeric: tabular-nums; }
.fact .k { color: var(--muted); font-size: var(--s--1); }
@media (max-width: 760px) { .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Funktionen */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { position: relative; background: var(--surface); border-radius: var(--r); padding: 1.6rem; display: grid; gap: .7rem; align-content: start; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; overflow: hidden; }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card p { color: var(--ink-2); font-size: var(--s--1); line-height: 1.55; }
.ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(209,44,136,.12), rgba(33,58,142,.12)); color: var(--blue); }
.ico svg { width: 26px; height: 26px; }

/* Split-Abschnitte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: .6rem; color: var(--ink-2); }
.checks li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center; margin-top: 2px; }
.copy { display: grid; gap: 1.3rem; justify-items: start; }

/* Score-Karte (nachgebaut wie in der App) */
.score-card { background: var(--surface); border-radius: 24px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); display: grid; gap: 1.3rem; border: 1px solid var(--line); }
.score-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.score-top h3 { font-size: var(--s-1); }
.score-top .sub { color: var(--muted); font-size: var(--s--1); }
.score-badge { background: #e6f6d2; color: #4f8d0a; border-radius: 14px; padding: .55rem 1rem; font: 700 2rem/1 var(--f-head); display: flex; align-items: baseline; gap: .2rem; }
.score-badge small { font-size: 1rem; color: #5c7a35; font-weight: 500; }
.bars { display: grid; gap: .8rem; }
.bar { display: grid; grid-template-columns: 11.5em 1fr 3em; gap: .9rem; align-items: center; font-size: var(--s--1); }
.bar > span:first-child { font-weight: 600; }
.bar-track { height: 9px; border-radius: 9px; background: #e8eaf2; overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 9px; background: var(--score); transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.bars.in .bar-fill { width: var(--w); }
.bar-fill.warn { background: #d0a514; }
.bar > span:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
@media (max-width: 480px) { .bar { grid-template-columns: 1fr 2.6em; } .bar-track { grid-column: 1 / -1; grid-row: 2; } }

/* Profil-Tags */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { border-radius: 10px; padding: .55rem .9rem; font-weight: 600; font-size: var(--s--1); border: 1.5px solid; }
.tag.t1 { color: #213a8e; background: #e9edfa; border-color: #8396ca; }
.tag.t2 { color: #2f8a3f; background: #e4f6e7; border-color: #7fd08c; }
.tag.t3 { color: #a8862a; background: #faf3df; border-color: #dcc27a; }

/* Foto-Abschnitte */
.photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bubble { position: absolute; left: 6%; bottom: 7%; right: 18%; background: #fff; border-radius: 18px 18px 18px 4px; padding: 1rem 1.1rem; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); font-size: var(--s--1); color: var(--ink); }
.bubble b { color: var(--magenta); font-family: var(--f-head); display: block; margin-bottom: .2rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); counter-reset: st; }
.steps li { counter-increment: st; background: var(--surface); border-radius: var(--r); padding: 1.8rem 1.6rem; display: grid; gap: .7rem; align-content: start; border: 1px solid var(--line); position: relative; }
.steps li::before { content: counter(st); width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 1.3rem/46px var(--f-head); text-align: center; }
.steps p { color: var(--ink-2); font-size: var(--s--1); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Dunkle Bänder */
.dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.dark .prose, .dark .lead { color: rgba(255,255,255,.78); }
.dark .eyebrow { color: #f3a3cf; }
.dark .checks li { color: rgba(255,255,255,.85); }
.bg-img { position: absolute; inset: 0; z-index: -2; }
.bg-img img { width: 100%; height: 100%; object-fit: cover; }
.bg-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,17,47,.96) 0%, rgba(13,17,47,.82) 45%, rgba(13,17,47,.35) 100%); }
.dark .laptop-screen { border-color: rgba(255,255,255,.18); }

/* Musterdepot-Kennzahlen */
.mstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.14); border-radius: 16px; overflow: hidden; }
.mstats > div { background: rgba(13,17,47,.75); padding: 1.1rem 1.2rem; display: grid; gap: .3rem; }
.mstats .k { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.6); }
.mstats .v { font: 700 var(--s-1)/1.1 var(--f-head); }
@media (max-width: 560px) { .mstats { grid-template-columns: 1fr; } }

/* Geräte (einzeln) */
.device-solo { position: relative; max-width: 360px; margin-inline: auto; }
.device-solo .phone { position: relative; width: 100%; max-width: 300px; margin-inline: auto; display: block; }
.platforms { display: flex; flex-wrap: wrap; gap: .6rem; }
.platform { display: inline-flex; align-items: center; gap: .5rem; border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem .9rem; font-weight: 600; font-size: var(--s--1); background: var(--surface); }
.platform svg { width: 18px; height: 18px; color: var(--magenta); }

/* Preis */
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .price-wrap { grid-template-columns: 1fr; } }
.price-card { position: relative; border-radius: 26px; padding: 2px; background: var(--grad); box-shadow: 0 30px 70px -30px rgba(209,44,136,.55); }
.price-in { background: var(--surface); border-radius: 24px; padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 1.3rem; }
.price-tag { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.price-tag .amt { font: 700 var(--s-4)/1 var(--f-head); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-tag .per { color: var(--muted); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-robot { display: none; } }
.faq-robot { position: sticky; top: 100px; }
.faq-robot img { max-width: 360px; width: 100%; }
.faq details { background: var(--surface); border-radius: 16px; border: 1px solid var(--line); margin-bottom: .7rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 3.4rem 1.2rem 1.3rem; font: 700 var(--s-0)/1.35 var(--f-head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.2rem; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--grad); }
.faq summary::before { content: "+"; position: absolute; right: 1.2rem; top: 50%; width: 28px; line-height: 28px; margin-top: -14px; text-align: center; color: #fff; z-index: 1; font: 500 1.3rem/28px var(--f-body); transition: transform .25s; }
.faq details[open] summary::before { transform: rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.3rem; color: var(--ink-2); max-width: 68ch; }

/* Finale */
.final { text-align: center; }
.final .wrap { display: grid; gap: 1.4rem; justify-items: center; }
.final h2 { font-size: var(--s-4); max-width: 18ch; }

/* Footer */
.site-foot { background: var(--navy); color: rgba(255,255,255,.7); padding-block: 64px calc(110px + env(safe-area-inset-bottom, 0px)); font-size: var(--s--1); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h4 { margin: 0 0 .9rem; color: #fff; font: 700 1rem/1.2 var(--f-head); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot-grid a, .foot-grid button { color: rgba(255,255,255,.75); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.foot-grid a:hover, .foot-grid button:hover { color: #fff; text-decoration: underline; }
.foot-logo img { height: 34px; width: auto; margin-bottom: 1rem; }
.risk { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); line-height: 1.6; max-width: 110ch; }

/* Sticky (mobil) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; gap: .6rem; padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom, 0px)); background: rgba(13,17,47,.95); backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .25s; }
.sticky-cta .btn { flex: 1; }
.sticky-cta.show { transform: none; }
@media (max-width: 760px) { .sticky-cta { display: flex; } }

/* Cookie-Hinweis */
.consent { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 540px; margin-left: auto; background: #fff; color: var(--ink); border-radius: 20px; padding: 1.4rem; box-shadow: 0 30px 80px -20px rgba(13,17,47,.55); display: grid; gap: 1rem; font-size: var(--s--1); border-top: 5px solid var(--magenta); }
.consent-head { display: flex; gap: .7rem; align-items: center; }
.consent h2 { font-size: var(--s-1); }
.consent p { color: var(--ink-2); line-height: 1.5; }
.consent-opts { display: grid; gap: .7rem; }
.consent-opts label { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; align-items: start; line-height: 1.35; }
.consent-opts input { margin-top: 3px; accent-color: var(--magenta); }
.consent-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent-row .btn { flex: 1 1 auto; }

/* Reveal (Ruhezustand sichtbar, nur leichte Bewegung) */
.reveal { transform: translateY(22px); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { transform: none; }
  .bar-fill { width: var(--w); }
}

/* ---------- Assistent: Chat-Beispiel ---------- */
.chat { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; display: grid; }
.chat-head { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.chat-head img { width: 34px; height: 34px; }
.chat-head strong { font-family: var(--f-head); display: block; line-height: 1.1; }
.chat-head span { font-size: .8rem; color: var(--muted); }
.chat-body { display: grid; gap: .9rem; padding: 1.3rem 1.2rem; background: #f8f9fc; }
.msg { max-width: 86%; padding: .85rem 1rem; border-radius: 16px; font-size: var(--s--1); line-height: 1.5; }
.msg.user { justify-self: end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { justify-self: start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.msg.bot b { color: var(--magenta); }
.msg .mini { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .6rem; }
.msg .mini span { background: #eef0f7; border-radius: 8px; padding: .25rem .5rem; font-size: .78rem; font-weight: 600; }
.msg .mini .g { background: #e6f6d2; color: #4f8d0a; }
.msg .mini .w { background: #faf0d2; color: #8a6d10; }
.typing { display: inline-flex; gap: 4px; padding: .8rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; border-bottom-left-radius: 4px; justify-self: start; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--lavender); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .25; transform: translateY(-2px); } }
.chat-input { margin: 1rem 1.2rem 1.2rem; border-radius: 14px; padding: 2px; background: var(--grad); }
.chat-input div { background: #fff; border-radius: 12px; padding: .8rem 1rem; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: var(--s--1); }
.chat-input .send { width: 32px; height: 32px; border-radius: 9px; background: var(--magenta); color: #fff; display: grid; place-items: center; flex-shrink: 0; }

/* Entscheidungs-Ablauf auf dunklem Grund */
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps.four { grid-template-columns: 1fr; } }
.dark .steps li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.dark .steps p { color: rgba(255,255,255,.78); }
.dark .steps .tool { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #f3a3cf; font-weight: 600; }
.dark .sec-head h2 { color: #fff; }
.dark .sec-head .prose { color: rgba(255,255,255,.78); }

/* Feinschliff Assistent-Version */
.hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.3vw, 4.4rem); }
.nw { white-space: nowrap; }
.fact { min-width: 0; }
.fact .v { font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.7rem); overflow-wrap: anywhere; }

/* ---------- Rechtliche Unterseiten ---------- */
.legal-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; padding-block: calc(76px + clamp(32px, 5vw, 64px)) clamp(40px, 6vw, 72px); }
.legal-hero::before { content: ""; position: absolute; z-index: -1; width: 42vw; height: 42vw; left: -14vw; top: -22vw; border-radius: 50%; background: var(--magenta); filter: blur(80px); opacity: .45; }
.legal-hero::after { content: ""; position: absolute; z-index: -1; width: 40vw; height: 40vw; right: -14vw; bottom: -28vw; border-radius: 50%; background: var(--blue); filter: blur(80px); opacity: .55; }
.legal-hero .wrap { display: grid; gap: 1rem; justify-items: start; }
.legal-hero h1 { font-size: var(--s-3); }
.legal-hero .eyebrow { color: #f3a3cf; }
.legal-hero .stand { color: rgba(255,255,255,.7); font-size: var(--s--1); }
.back { display: inline-flex; align-items: center; gap: .45rem; color: rgba(255,255,255,.75); text-decoration: none; font-size: var(--s--1); }
.back:hover { color: #fff; }
.legal-main { padding-block: clamp(40px, 6vw, 80px); }
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr; } }
.legal-side { position: sticky; top: 96px; display: grid; gap: 1.4rem; }
@media (max-width: 900px) { .legal-side { position: static; order: 2; } }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; }
.side-box h2 { font: 600 .74rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: .2rem .4rem .8rem; }
.side-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.side-box a { display: block; padding: .55rem .7rem; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: var(--s--1); font-weight: 500; line-height: 1.3; }
.side-box a:hover { background: var(--bg); color: var(--ink); }
.side-box a[aria-current="page"] { background: linear-gradient(100deg, rgba(209,44,136,.12), rgba(33,58,142,.12)); color: var(--blue); font-weight: 600; box-shadow: inset 3px 0 0 var(--magenta); }
.toc a { font-weight: 400; padding-block: .4rem; }
@media (max-width: 900px) { .toc { display: none; } }
.legal-text { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 56px); min-width: 0; color: var(--ink-2); line-height: 1.7; overflow-wrap: break-word; }
.legal-text > * { max-width: 72ch; }
.legal-text > *:first-child { margin-top: 0; }
.legal-text p { margin: 0 0 1.05em; }
.legal-text h2 { font-size: var(--s-2); color: var(--ink); margin: 2.2em 0 .7em; padding-top: 1.4em; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.legal-text h2:first-child { border-top: 0; padding-top: 0; }
.legal-text h3 { font-size: var(--s-1); color: var(--ink); margin: 1.8em 0 .6em; }
.legal-text h4 { font: 700 var(--s-0)/1.3 var(--f-head); color: var(--blue); margin: 1.4em 0 .4em; }
.legal-text strong { color: var(--ink); }
.legal-text a { color: var(--magenta); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-text ul, .legal-text ol { margin: 0 0 1.2em; padding-left: 1.4em; display: grid; gap: .5em; }
.legal-text ul ul { margin: .5em 0 0; }
.legal-text li::marker { color: var(--magenta); font-weight: 700; }
.legal-cta { margin-top: 1.4rem; background: var(--navy); color: #fff; border-radius: 18px; padding: 1.2rem; display: grid; gap: .8rem; }
.legal-cta p { color: rgba(255,255,255,.8); font-size: var(--s--1); line-height: 1.45; }

/* ---------- Musterdepot (Live-Zahlen) ---------- */
.proof { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.proof > * { min-width: 0; }
.proof-main { padding: clamp(22px, 3vw, 36px); display: grid; gap: 1rem; align-content: center; position: relative; }
.proof-main::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad); }
.proof-big { font: 700 clamp(3rem, 2rem + 4vw, 5.2rem)/1 var(--f-head); letter-spacing: -.04em; color: #17914f; font-variant-numeric: tabular-nums; white-space: nowrap; }
.proof-big.neg { color: var(--neg); }
.proof .sub { color: var(--ink-2); font-size: var(--s--1); line-height: 1.6; max-width: 44ch; }
.proof-side { padding: clamp(22px, 3vw, 36px); border-left: 1px solid var(--line); display: grid; gap: 1.3rem; align-content: center; }
.proof-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding-bottom: 1.3rem; border-bottom: 1px dashed var(--line); }
.proof-stats .k { display: block; font: 600 .72rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .55rem; }
.proof-stats .v { font: 700 var(--s-1)/1.15 var(--f-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.proof-note { font-size: .86rem; color: var(--muted); line-height: 1.55; }
.proof-note strong { color: var(--ink-2); }
@media (max-width: 980px) { .proof { grid-template-columns: 1fr; } .proof-side { border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .proof-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.proof-stats .v { white-space: nowrap; }
@media (min-width: 561px) { .proof-stats { grid-template-columns: repeat(4, auto); justify-content: space-between; } }

/* ---------- Landingpages ---------- */
.gloss { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
@media (max-width: 960px) { .gloss { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gloss { grid-template-columns: 1fr; } }
.gloss div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; display: grid; gap: .5rem; align-content: start; }
.gloss dt { font: 700 var(--s-1)/1.2 var(--f-head); color: var(--ink); }
.gloss dd { margin: 0; color: var(--ink-2); font-size: var(--s--1); line-height: 1.55; }
.cost { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); margin-top: 2rem; }
@media (max-width: 760px) { .cost { grid-template-columns: 1fr; } }
.cost > div { border-radius: 18px; padding: 1.4rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); display: grid; gap: .35rem; }
.cost .k { font-size: .82rem; color: rgba(255,255,255,.7); }
.cost .v { font: 700 var(--s-2)/1 var(--f-head); font-variant-numeric: tabular-nums; }
.cost .s { font-size: .85rem; color: rgba(255,255,255,.7); }
.cost .us { background: var(--grad); border-color: transparent; }
.cost .us .k, .cost .us .s { color: rgba(255,255,255,.88); }
.mtable-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.mtable { width: 100%; border-collapse: collapse; font-size: var(--s--1); min-width: 520px; }
.mtable th, .mtable td { text-align: left; padding: .95rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.mtable tr:last-child td { border-bottom: 0; }
.mtable th { font: 600 .72rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: #f8f9fc; }
.mtable td:first-child { font-family: var(--f-head); font-weight: 700; color: var(--ink); white-space: nowrap; }
.mtable td { color: var(--ink-2); }
.mtable .num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); text-align: right; }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; padding: .45rem .9rem; font-weight: 600; font-size: var(--s--1); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.hero .persona-switch { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .82rem; color: rgba(255,255,255,.65); align-items: center; }
.hero .persona-switch a { color: rgba(255,255,255,.85); text-decoration: none; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: .3rem .7rem; }
.hero .persona-switch a[aria-current="page"] { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.hero-solo { position: relative; display: grid; place-items: center; min-width: 0; }
.hero-solo .chat { width: min(460px, 100%); position: relative; z-index: 1; }
.hero-solo .robot { position: absolute; right: -6%; bottom: -10%; width: 46%; max-width: 280px; opacity: .95; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
@media (max-width: 980px) { .hero-solo .robot { display: none; } }
.chat { color: var(--ink); }
.hero-copy h1 { overflow-wrap: break-word; hyphens: manual; }

/* Verlaufsschrift: Unterlängen (g, p, y) nicht abschneiden */
.grad-text { padding-bottom: .25em; margin-bottom: -.25em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.fact .v { line-height: 1.15; }

/* ---------- Testphase, Vertrauensleiste, Protect, Partner ---------- */
.cta-note { font-size: .86rem; color: rgba(255,255,255,.72); margin-top: -.4rem; max-width: 46ch; }
.trial-badge { justify-self: start; display: inline-flex; align-items: center; gap: .45rem; background: linear-gradient(100deg, rgba(209,44,136,.12), rgba(33,58,142,.12)); color: var(--magenta); font-weight: 700; font-size: var(--s--1); padding: .5rem .9rem; border-radius: 999px; }
.trial-badge::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .7rem; }
.trust-bar { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: clamp(22px, 3vw, 32px); }
.trust-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: center; }
@media (max-width: 980px) { .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust-row { grid-template-columns: 1fr; } }
.trust-item { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.trust-item img { width: 56px; height: 56px; flex-shrink: 0; }
.trust-item strong { display: block; font: 700 var(--s-0)/1.25 var(--f-head); color: var(--ink); }
.trust-item span:not(.trust-ico) { display: block; font-size: .84rem; color: var(--muted); line-height: 1.35; }
.trust-ico { width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(209,44,136,.12), rgba(33,58,142,.12)); color: var(--blue); }
.trust-ico svg { width: 26px; height: 26px; }
.protect-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-bottom: 2rem; }
@media (max-width: 760px) { .protect-grid { grid-template-columns: 1fr; } }
.protect-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 1.8rem; display: grid; gap: .8rem; align-content: start; }
.protect-card h3 { color: #fff; }
.protect-card p { color: rgba(255,255,255,.78); }
.protect-card .trust-ico { background: rgba(255,255,255,.1); color: #f3a3cf; }
#protect { background: radial-gradient(ellipse at 15% 0%, rgba(209,44,136,.35), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(33,58,142,.55), transparent 60%), var(--navy); }
.fine { margin-top: 1rem; font-size: .8rem; color: rgba(255,255,255,.6); }
.foot-partners { margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 1rem; }
.foot-partners-title { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 600; }
.foot-partners ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2.6rem; }
.foot-partners img { height: 30px; width: auto; opacity: .78; transition: opacity .2s; }
.foot-partners img:hover { opacity: 1; }
.foot-partners li:first-child img { height: 40px; }
.foot-partners + .risk { border-top: 0; padding-top: 0; margin-top: 2rem; }

/* Preisblock: Hinweis keine Geld-zurück-Garantie */
.price-fine { font-size: .82rem; line-height: 1.45; opacity: .75; margin: -.25rem 0 1rem; }
