/* =========================================================================
   DealerMate – Website-Stylesheet (v2)
   Eigene Datei, keine externen Ressourcen. 8-px-Raster.
   ========================================================================= */

:root {
  --ink: #070b14;
  --ink-2: #0b1222;
  --ink-3: #0e1630;
  --ink-line: rgba(255, 255, 255, .09);
  --ink-text: #e7ecf6;
  --ink-muted: #9aa6bd;

  --text: #0b1220;
  --text-2: #2b3445;
  --muted: #566074;
  --line: #e4e8f0;
  --line-2: #d6dce7;
  --soft: #f5f7fb;
  --white: #fff;

  --blue: #2563eb;
  --blue-5: #3b82f6;
  --blue-7: #1d4ed8;
  --blue-1: #eff4ff;
  --blue-3: #93c5fd;
  --cyan: #67e8f9;
  --amber: #f0a54a;
  --amber-ink: #8a4b06;
  --green: #22c55e;
  --red: #ef4444;

  --radius: 20px;
  --radius-lg: 28px;
  --hh: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .05), 0 1px 1px rgba(11, 18, 32, .03);
  --shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 8px 24px -8px rgba(11, 18, 32, .10);
  --shadow-lg: 0 2px 4px rgba(11, 18, 32, .04), 0 24px 64px -16px rgba(11, 18, 32, .22);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  font-feature-settings: 'cv11', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-7); }
:focus-visible { outline: 2px solid var(--blue-5); outline-offset: 3px; border-radius: 6px; }
[data-dark] :focus-visible, .hero :focus-visible { outline-color: var(--cyan); }
kbd {
  font: 600 .75em/1 'Inter', sans-serif;
  padding: .3em .5em; border-radius: 6px;
  background: #fff; border: 1px solid var(--line-2); border-bottom-width: 2px; color: var(--text-2);
}
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --b-pad: 12px 20px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--b-pad); min-height: 44px;
  border-radius: 12px; border: 1px solid transparent;
  font: 600 .9375rem/1.2 'Inter', sans-serif; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn-sm { --b-pad: 8px 14px; min-height: 38px; font-size: .875rem; border-radius: 10px; }
.btn-sm svg { width: 16px; height: 16px; }
.btn-lg { --b-pad: 15px 26px; min-height: 54px; font-size: 1rem; border-radius: 14px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #4b8dff 0%, #2563eb 55%, #1f56d6 100%);
  border-color: #1d4ed8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(7, 11, 20, .3), 0 10px 28px -8px rgba(37, 99, 235, .75);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 1px 2px rgba(7, 11, 20, .3), 0 16px 40px -10px rgba(59, 130, 246, .95); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-glass {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-glass:hover { color: #fff; background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .28); transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  --h-fg: #fff; --h-muted: rgba(231, 236, 246, .78); --h-bg: rgba(7, 11, 20, .72); --h-border: rgba(255, 255, 255, .08);
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hh);
  color: var(--h-fg);
  background: var(--h-bg);
  border-bottom: 1px solid var(--h-border);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  transition: background-color .35s, border-color .35s, color .35s;
}
.js .site-header.is-top { --h-bg: rgba(7, 11, 20, 0); --h-border: rgba(255, 255, 255, 0); -webkit-backdrop-filter: none; backdrop-filter: none; }
.js .site-header.on-light { --h-fg: var(--text); --h-muted: #3b4558; --h-bg: rgba(255, 255, 255, .78); --h-border: rgba(11, 18, 32, .08); }
.header-inner { max-width: 1500px; height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-right: auto; }
.brand:hover { color: inherit; }
.brand svg { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 6px 18px -6px rgba(37, 99, 235, .8); }
.brand-name { font-weight: 750; font-size: 1.1875rem; letter-spacing: -.03em; }
.brand-name span { color: var(--blue-5); }
.site-header.on-light .brand-name span { color: var(--blue); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; display: flex; gap: 4px; }
.nav-list a {
  display: block; padding: 8px 12px; border-radius: 9px;
  color: var(--h-muted); text-decoration: none; font-size: .9375rem; font-weight: 500;
  transition: color .2s, background-color .2s;
}
.nav-list a:hover { color: var(--h-fg); background: rgba(127, 140, 170, .12); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--h-border);
  background: transparent; color: inherit; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: calc(var(--hh) - 1px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 20px 24px;
    background: #070b14; color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .5);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { color: #e7ecf6; padding: 14px 4px; font-size: 1.0625rem; border-bottom: 1px solid rgba(255, 255, 255, .07); border-radius: 0; }
  .nav-list a:hover { background: transparent; color: #fff; }
  .nav .btn { align-self: stretch; min-height: 50px; }
  .site-header.on-light .nav { background: rgba(255, 255, 255, .98); color: var(--text); border-bottom-color: var(--line); box-shadow: 0 24px 48px -16px rgba(11, 18, 32, .2); }
  .site-header.on-light .nav-list a { color: var(--text-2); border-bottom-color: var(--line); }
  .js .site-header.is-top:has(.nav.is-open) { --h-bg: rgba(7, 11, 20, .97); }
}
/* Ohne JS: Navigation auf Mobilgeräten sichtbar lassen */
@media (max-width: 900px) {
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-header { height: auto; position: static; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  html:not(.js) .nav { position: static; visibility: visible; opacity: 1; transform: none; background: transparent; box-shadow: none; border: 0; padding: 0; width: 100%; flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .nav-list { flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .nav-list a { border: 0; padding: 6px 8px; font-size: .9375rem; }
  html:not(.js) .hero, html:not(.js) .legal-hero { padding-top: 48px; }
}

/* ---------- Gemeinsame Bausteine ---------- */
.section { position: relative; padding: clamp(88px, 11vw, 144px) 0; }
.s-white { background: var(--white); }
.s-soft { background: var(--soft); }
.s-dark { background: var(--ink); color: var(--ink-text); overflow: hidden; isolation: isolate; }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 20px; font-size: .8125rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
[data-dark] .eyebrow, .s-dark .eyebrow { color: var(--blue-3); }
.display {
  font-size: clamp(2.125rem, 4.6vw, 3.625rem);
  font-weight: 720; letter-spacing: -.04em; line-height: 1.04;
  text-wrap: balance;
}
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--muted); line-height: 1.6; margin-top: 20px; text-wrap: pretty; }
.s-dark .lead { color: var(--ink-muted); }
.section-head.center .lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.grad {
  background: linear-gradient(95deg, #a9c8ff 0%, #5b95ff 38%, #4f8dff 55%, #67e8f9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.u-line { position: relative; white-space: nowrap; }
.u-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; z-index: -1;
  background: linear-gradient(90deg, rgba(240, 165, 74, .55), rgba(240, 165, 74, .2));
  border-radius: 4px; transform-origin: left; transition: transform 1s var(--ease-out) .35s;
}
.js .reveal:not(.is-in) .u-line::after, .js .u-line.reveal:not(.is-in)::after { transform: scaleX(0); }
.js h2.reveal:not(.is-in) .u-line::after { transform: scaleX(0); }
.footnote { font-size: .8125rem; color: var(--muted); line-height: 1.55; }
.source { margin-top: 24px; font-size: .8125rem; color: var(--ink-muted); text-align: center; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  font-size: .8125rem; font-weight: 600; line-height: 1.3; white-space: nowrap;
  background: var(--blue-1); color: #1e40af; border: 1px solid #dbe6ff;
}
.chip.amber { background: #fff4e6; color: var(--amber-ink); border-color: #fde2bf; }
.chip.blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.mask {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 7px;
  font-size: .78em; font-weight: 650; letter-spacing: .04em; font-variant-numeric: tabular-nums;
  background: #fff4e6; color: var(--amber-ink); border: 1px dashed #f3c27f;
}
.tool {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 9px; font-size: .78rem; font-weight: 600;
  background: #fff; border: 1px solid var(--line-2); color: var(--text-2);
}
.tool.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.tool svg { width: 13px; height: 13px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; box-shadow: 0 0 0 3px rgba(34, 197, 94, .15); }
.dot.green { background: var(--green); box-shadow: 0 0 0 3px rgba(34, 197, 94, .16); }
.dot.slate { background: #94a3b8; box-shadow: 0 0 0 3px rgba(148, 163, 184, .2); }
.dot.blue { background: var(--blue-5); box-shadow: 0 0 0 3px rgba(59, 130, 246, .16); }
.dot.cyan { background: #06b6d4; box-shadow: 0 0 0 3px rgba(6, 182, 212, .16); }
.dot.amber { background: var(--amber); box-shadow: 0 0 0 3px rgba(240, 165, 74, .2); }
.dot.red { background: var(--red); box-shadow: 0 0 0 3px rgba(239, 68, 68, .16); }

.pill {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 5px 14px 5px 5px; margin: 0 0 28px;
  border-radius: 999px; font-size: .8125rem; font-weight: 500; color: #c9d4ea;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.pill > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-tag {
  flex: none; padding: 3px 10px; border-radius: 999px; font-weight: 650; font-size: .75rem; letter-spacing: .02em;
  color: #1b1204; background: linear-gradient(180deg, #ffc27a, var(--amber));
  box-shadow: 0 0 18px -2px rgba(240, 165, 74, .6);
}

/* ---------- Scroll-Reveal ---------- */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--ink-text);
  padding: calc(var(--hh) + clamp(32px, 3.4vw, 48px)) 0 0;
}
.hero-bg, .dark-bg, .cta-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgba(148, 170, 220, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 170, 220, .075) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 20%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 20%, #000 20%, transparent 72%);
}
.hero-noise { position: absolute; inset: 0; background-image: var(--noise); opacity: .07; mix-blend-mode: overlay; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.glow-a { width: 760px; height: 560px; right: -160px; top: -120px; background: radial-gradient(closest-side, rgba(37, 99, 235, .75), rgba(37, 99, 235, 0)); animation: drift-a 18s ease-in-out infinite alternate; }
.glow-b { width: 520px; height: 420px; left: -180px; top: 140px; background: radial-gradient(closest-side, rgba(34, 211, 238, .28), rgba(34, 211, 238, 0)); animation: drift-b 22s ease-in-out infinite alternate; }
.glow-c { width: 420px; height: 300px; right: 18%; bottom: 60px; background: radial-gradient(closest-side, rgba(240, 165, 74, .20), rgba(240, 165, 74, 0)); animation: drift-a 26s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 40px, 0) scale(1.08); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(80px, -30px, 0); } }

.hero-inner {
  max-width: 1500px;
  display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
  gap: clamp(40px, 4.5vw, 72px); align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.5rem, 4.9vw, 4.375rem);
  font-weight: 750; line-height: .98; letter-spacing: -.05em;
  color: #fff; margin: 0 0 28px;
  text-wrap: balance;
}
.hero h1 .grad { padding-right: .04em; }
.hero-sub { font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); line-height: 1.6; color: #b3bfd6; max-width: 34em; margin-bottom: 36px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: .9375rem; color: var(--ink-muted); flex-wrap: wrap; }
.hero-meta svg { width: 16px; height: 16px; color: var(--blue-3); }
.hero-meta a { color: #e7ecf6; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.hero-meta a:hover { color: #fff; border-bottom-color: #fff; }

.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px;
  margin: clamp(40px, 4vw, 56px) 0 0; padding: 0;
  font-size: .9375rem; color: #c3cde0;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 10px; }
.hero-trust svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: #0b1222; background: linear-gradient(180deg, #a5f3fc, #60a5fa); flex: none; }

/* ---------- Demo-Fenster ---------- */
.demo { position: relative; z-index: 1; }
.demo-halo {
  position: absolute; inset: 6% -4% 10% 4%; z-index: -1; border-radius: 40px;
  background: conic-gradient(from 210deg at 50% 50%, rgba(59, 130, 246, .0), rgba(59, 130, 246, .55), rgba(103, 232, 249, .35), rgba(240, 165, 74, .25), rgba(59, 130, 246, .0));
  filter: blur(60px); opacity: .7;
}
.dw {
  position: relative; margin: 0;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 31, 54, .94), rgba(11, 17, 31, .96));
  border: 1px solid rgba(255, 255, 255, .11);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 0 0 1px rgba(0, 0, 0, .35),
    0 50px 100px -30px rgba(0, 0, 0, .85),
    0 30px 80px -40px rgba(59, 130, 246, .55);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  padding-bottom: 56px;
}
.dw::before { /* Lichtkante oben */
  content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147, 197, 253, .9), transparent);
}
.dw-bar {
  display: flex; align-items: center; gap: 14px;
  height: 44px; padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .025);
  font-size: 0.8736rem; color: #9fb0cf;
}
.dw-dots { display: inline-flex; gap: 7px; }
.dw-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.dw-dots i:nth-child(1) { background: #ff5f57; } .dw-dots i:nth-child(2) { background: #febc2e; } .dw-dots i:nth-child(3) { background: #28c840; }
.dw-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #dfe7f6; margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-title svg { width: 16px; height: 16px; border-radius: 4px; flex: none; }
.dw-label { padding: 3px 9px; border-radius: 999px; font-size: 0.784rem; font-weight: 600; color: #ffd6a3; background: rgba(240, 165, 74, .12); border: 1px solid rgba(240, 165, 74, .3); white-space: nowrap; }

.dw-steps { list-style: none; display: flex; gap: 6px; padding: 10px 14px 0; counter-reset: s; }
.dw-step {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px 5px 6px; border-radius: 999px;
  font-size: 0.84rem; font-weight: 600; color: #7f8db0;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06);
  transition: color .4s, background-color .4s, border-color .4s;
}
.dw-step span {
  width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center;
  font-size: 0.7616rem; background: rgba(255, 255, 255, .08); color: #b9c5de; transition: background-color .4s, color .4s;
}
.dw-step.is-active { color: #fff; background: rgba(59, 130, 246, .16); border-color: rgba(96, 165, 250, .45); box-shadow: 0 0 24px -6px rgba(59, 130, 246, .8); }
.dw-step.is-active span { background: var(--blue-5); color: #fff; }
.dw-step.is-done { color: #c9d6ee; }
.dw-step.is-done span { background: rgba(103, 232, 249, .2); color: var(--cyan); }

.dw-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 10px; padding: 10px 14px 0; }
.dw-col { display: grid; gap: 10px; align-content: start; min-width: 0; }
.dw-panel {
  position: relative; min-width: 0;
  border-radius: 13px; padding: 11px 13px 12px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .07);
  transition: border-color .5s, box-shadow .5s, background-color .5s;
}
.dw-panel.is-focus { border-color: rgba(96, 165, 250, .5); box-shadow: 0 0 0 3px rgba(59, 130, 246, .12), 0 0 40px -12px rgba(59, 130, 246, .7); background: rgba(59, 130, 246, .05); }
.dw-ph { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.dw-pt { display: inline-flex; align-items: center; gap: 7px; font-size: 0.84rem; font-weight: 650; letter-spacing: .02em; color: #e3eaf8; text-transform: uppercase; }
.dw-pt svg { width: 14px; height: 14px; color: var(--blue-3); }
.dw-src { font-size: 0.7728rem; color: #7f8db0; white-space: nowrap; }

.lead-text { font-size: 0.84rem; line-height: 1.5; color: #b9c5dc; }
.lead-text p { margin: 0 0 .5em; }
.lead-text p:last-child { margin: 0; }
.pii { display: inline-flex; vertical-align: baseline; }
.pii-raw { display: none; }
.dw .mask { background: rgba(240, 165, 74, .14); color: #ffcf8f; border-color: rgba(240, 165, 74, .5); font-size: 0.784rem; padding: 1px 7px; }
.dw-note {
  display: flex; align-items: center; gap: 7px; margin: 10px 0 0;
  font-size: 0.8064rem; font-weight: 600; color: #7ee2b8;
}
.dw-note svg { width: 14px; height: 14px; flex: none; }
.dw-paste {
  position: absolute; left: 50%; top: 52%; z-index: 3;
  display: none; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 12px; color: #fff;
  background: rgba(15, 23, 42, .92); border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6), 0 0 30px -8px rgba(59, 130, 246, .7);
  transform: translate(-50%, -50%);
}
.dw-paste kbd { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; font-size: 0.896rem; }

.dw-busy { display: none; gap: 4px; }
.dw-busy i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-3); animation: busy 1s infinite ease-in-out; }
.dw-busy i:nth-child(2) { animation-delay: .15s; } .dw-busy i:nth-child(3) { animation-delay: .3s; }
@keyframes busy { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.dw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.dw .chip { font-size: 0.784rem; padding: 3px 9px; background: rgba(59, 130, 246, .14); color: #c7dbff; border-color: rgba(96, 165, 250, .3); }
.dw .chip.amber { background: rgba(240, 165, 74, .14); color: #ffd29b; border-color: rgba(240, 165, 74, .38); }
.dw-fields { margin: 0; display: grid; gap: 1px; border-radius: 9px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.dw-field { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 10px; padding: 6px 10px; background: rgba(11, 17, 31, .7); font-size: 0.8064rem; }
.dw-field dt { color: #8391b0; font-weight: 500; }
.dw-field dt em { display: block; font-style: normal; font-size: 0.6944rem; color: var(--amber); font-weight: 600; letter-spacing: .02em; }
.dw-field dd { margin: 0; color: #e3eaf8; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel { display: inline-flex; align-items: center; gap: 7px; padding: 3px 9px; border-radius: 7px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); max-width: 100%; transition: border-color .3s, box-shadow .3s; }
.sel-v { overflow: hidden; text-overflow: ellipsis; }
.dw-avail.is-choosing .sel { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(240, 165, 74, .2); }

.dw-draft { display: flex; flex-direction: column; }
.dw-live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7616rem; font-weight: 650; color: #7f8db0; text-transform: uppercase; letter-spacing: .06em; }
.dw-live i { width: 7px; height: 7px; border-radius: 50%; background: #7f8db0; }
.dw.t-writing .dw-live { color: #7ee2b8; }
.dw.t-writing .dw-live i { background: var(--green); box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ping 1.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
.draft-text { font-size: 1.0151rem; line-height: 1.7; color: #e6ecf8; flex: 1; }
.draft-text p { margin: 0 0 .7em; }
.draft-text .w { transition: opacity .35s ease, filter .35s ease; }
.dw.is-anim .draft-text .w:not(.on) { opacity: 0; filter: blur(4px); }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.dw-tools { display: flex; gap: 6px; justify-content: flex-end; margin-top: 10px; }
.dw .tool { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #cfd9ec; font-size: 0.784rem; padding: 5px 10px; }
.dw .tool.primary { background: linear-gradient(180deg, #4b8dff, #2563eb); border-color: #2563eb; color: #fff; box-shadow: 0 6px 18px -6px rgba(37, 99, 235, .9); transition: transform .15s, box-shadow .3s, background .3s; }
.copy-d { display: none; }
.dw.t-copied .tool.primary { background: linear-gradient(180deg, #34d399, #16a34a); border-color: #16a34a; box-shadow: 0 6px 22px -6px rgba(34, 197, 94, .9); }
.dw.t-copied .copy-l { display: none; }
.dw.t-copied .copy-d { display: inline; }
.dw.t-press .tool.primary { transform: scale(.94); }
.dw-foot { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 0.784rem; color: #8391b0; }
.dw-foot svg { width: 14px; height: 14px; flex: none; color: var(--blue-3); }
.dw-toast {
  position: absolute; right: 12px; bottom: 96px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 10px; font-size: 0.8064rem; font-weight: 600; color: #eafff3;
  background: rgba(10, 40, 28, .92); border: 1px solid rgba(52, 211, 153, .45);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6), 0 0 24px -6px rgba(34, 197, 94, .6);
  opacity: 0; transform: translateY(8px) scale(.96); pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease-out);
}
.dw-toast svg { width: 14px; height: 14px; color: #34d399; }
.dw.t-copied .dw-toast { opacity: 1; transform: none; }

/* Animationszustände (nur mit JS) */
.dw.is-anim .ln { transition: opacity .35s ease, transform .45s var(--ease-out); }
.dw.is-anim .ln:not(.on) { opacity: 0; transform: translateY(6px); }
.dw.is-anim .pii .pii-raw { display: inline; color: #e3eaf8; border-radius: 4px; transition: background-color .3s, box-shadow .3s; }
.dw.is-anim .pii .mask { display: none; }
.dw.is-anim .pii.scan .pii-raw { background: rgba(240, 165, 74, .28); box-shadow: 0 0 0 2px rgba(240, 165, 74, .35); }
.dw.is-anim .pii.masked .pii-raw { display: none; }
.dw.is-anim .pii.masked .mask { display: inline-flex; animation: pop .45s var(--ease-out); }
.dw.is-anim .dw-note { transition: opacity .4s, transform .4s var(--ease-out); }
.dw.is-anim:not(.t-masked) .dw-note { opacity: 0; transform: translateY(4px); }
.dw.t-paste .dw-paste { display: inline-flex; animation: pop .35s var(--ease-out); }
.dw.t-analyzing .dw-busy { display: inline-flex; }
.dw.is-anim .dw-chips .chip { transition: opacity .3s; }
.dw.is-anim .dw-chips .chip:not(.on) { opacity: 0; transform: scale(.6); }
.dw.is-anim .dw-chips .chip.on { animation: pop .5s var(--ease-out); }
.dw.is-anim .dw-field { transition: opacity .35s, transform .4s var(--ease-out); }
.dw.is-anim .dw-field:not(.on) { opacity: 0; transform: translateX(-6px); }
.dw.is-anim .dw-avail:not(.chosen) .sel-v { color: #7f8db0; }
.dw.is-anim .dw-avail:not(.chosen) .dot { background: #475569; box-shadow: none; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }

/* ---------- Stoppuhr ---------- */
.stopwatch {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center;
  width: calc(100% - 48px); margin: -44px auto 0;
  padding: 14px 22px 14px 14px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(23, 33, 58, .88), rgba(12, 18, 33, .92));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(59, 130, 246, .65);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.sw-ring { position: relative; width: 104px; height: 104px; flex: none; }
.sw-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.sw-track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 7; }
.sw-prog { fill: none; stroke: url(#swg); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 314.16; filter: drop-shadow(0 0 6px rgba(59, 130, 246, .8)); }
.sw-ticks line { stroke: rgba(255, 255, 255, .22); stroke-width: 1.2; }
.sw-ticks line.major { stroke: rgba(255, 255, 255, .45); stroke-width: 1.6; }
.sw-read { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.sw-time { font-size: 2.1rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum', 'ss01'; }
.sw-unit { font-size: 0.7392rem; font-weight: 600; color: #8391b0; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.stopwatch.is-done .sw-time { color: #a5f3fc; text-shadow: 0 0 24px rgba(103, 232, 249, .7); }
.stopwatch.is-done .sw-ring::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(103, 232, 249, .55); animation: ring-out 1.2s var(--ease-out) forwards; }
@keyframes ring-out { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.sw-side { min-width: 0; display: grid; gap: 8px; }
.sw-kicker { font-size: 0.8064rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: #9fb0cf; }
.sw-bars { display: grid; gap: 8px; }
.sw-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 10px; }
.sw-name { font-size: 0.8736rem; font-weight: 600; color: #e3eaf8; }
.sw-row.hand .sw-name { color: #ffd29b; }
.sw-track-bar { position: relative; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.sw-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #67e8f9, #3b82f6); box-shadow: 0 0 14px rgba(59, 130, 246, .9); min-width: 4px; }
.sw-range {
  position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(240, 165, 74, .55) 0 50%, transparent 50%),
    repeating-linear-gradient(-45deg, rgba(240, 165, 74, .55) 0 5px, rgba(240, 165, 74, .18) 5px 10px);
}
.sw-scale { display: flex; justify-content: space-between; padding-left: 94px; font-size: 0.7168rem; color: #6f7d9c; font-variant-numeric: tabular-nums; }
.sw-foot { font-size: 0.7616rem; color: #8391b0; }

.demo-ctrl { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 14px; padding-right: 24px; }
.demo-tag { font-size: .72rem; font-weight: 600; color: #8391b0; letter-spacing: .04em; margin-right: 4px; }
.demo-btn {
  width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; cursor: pointer;
  color: #dbe5f7; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  transition: background-color .2s, border-color .2s;
}
.demo-btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.demo-btn svg { width: 15px; height: 15px; }
.demo-btn .i-play { display: none; }
.demo-btn[aria-pressed="true"] .i-play { display: block; }
.demo-btn[aria-pressed="true"] .i-pause { display: none; }
html:not(.js) .demo-ctrl .demo-btn { display: none; }

/* ---------- Quellen-Band ---------- */
.sources { position: relative; margin-top: clamp(40px, 5vw, 56px); border-top: 1px solid rgba(255, 255, 255, .07); background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0)); padding: 36px 0 40px; }
.sources::before { content: ""; position: absolute; left: 50%; top: -1px; width: min(720px, 80%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(103, 232, 249, .7), transparent); }
.sources-inner { display: grid; gap: 20px; justify-items: center; text-align: center; }
.sources-title { margin: 0; font-size: .875rem; color: var(--ink-muted); }
.sources-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sources-list li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 14px;
  font-size: .9375rem; font-weight: 600; color: #e3eaf8;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
}
.src-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(59, 130, 246, .16); color: var(--blue-3); }
.src-ico svg { width: 16px; height: 16px; }
.sources-note { margin: 0; font-size: .875rem; font-weight: 600; color: #a5f3fc; }
.hero-footnote { margin-top: 28px; color: #7b88a4; text-align: center; max-width: 900px; font-size: .75rem; }

/* =========================================================================
   AUSGANGSLAGE
   ========================================================================= */
.problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.problem-head { position: sticky; top: calc(var(--hh) + 48px); }
.problem-list { list-style: none; border-top: 1px solid var(--line); }
.problem-list li {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 48px; gap: 20px; align-items: start;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.pl-num {
  font-size: 2.25rem; font-weight: 750; letter-spacing: -.05em; line-height: 1;
  background: linear-gradient(180deg, var(--blue) 0%, rgba(37, 99, 235, .25) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.problem-list h3 { font-size: 1.3125rem; font-weight: 680; margin-bottom: 8px; letter-spacing: -.025em; }
.problem-list p { color: var(--muted); margin: 0; }
.pl-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--blue); background: var(--blue-1); border: 1px solid #dbe6ff; transition: transform .4s var(--ease-out), background-color .3s, color .3s; }
.pl-ico svg { width: 22px; height: 22px; }
.problem-list li:hover .pl-ico { transform: rotate(-8deg) scale(1.06); background: var(--blue); color: #fff; }

/* =========================================================================
   ABLAUF
   ========================================================================= */
.flow { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.flow::before, .flow::after {
  content: ""; position: absolute; top: 28px; left: calc(16.66% + 8px); right: calc(16.66% + 8px); height: 2px; border-radius: 2px;
}
.flow::before { background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.flow::after { background: linear-gradient(90deg, var(--blue), var(--cyan)); transform-origin: left; transform: scaleX(var(--p, 1)); box-shadow: 0 0 12px rgba(59, 130, 246, .6); }
.flow-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.flow-num {
  position: relative; z-index: 1;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.375rem; font-weight: 750; color: #fff;
  background: radial-gradient(circle at 30% 25%, #60a5fa, #2563eb 60%, #1e40af);
  box-shadow: 0 0 0 6px var(--soft), 0 0 0 7px #dbe6ff, 0 12px 28px -8px rgba(37, 99, 235, .7);
  margin-bottom: 28px;
}
.flow-step h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -.03em; margin-bottom: 10px; }
.flow-step > p { color: var(--muted); font-size: .9688rem; max-width: 34ch; }
.flow-vis {
  width: 100%; margin-top: auto; padding: 18px; border-radius: 18px; text-align: left;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; gap: 10px; align-content: start; min-height: 168px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.flow-step:hover .flow-vis { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.flow-step > p { margin-bottom: 24px; }
.fv-paste { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1.5px dashed #bcd0f7; border-radius: 12px; background: #f6f9ff; font-size: .8125rem; color: var(--text-2); }
.fv-paste svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.fv-lines { display: grid; gap: 8px; }
.fv-lines i { display: block; height: 8px; border-radius: 4px; background: #edf0f5; }
.fv-lines i.blue { background: linear-gradient(90deg, #bfd4ff, #dbe6ff); }
.fv-row { display: flex; flex-wrap: wrap; gap: 6px; }
.fv-row.end { justify-content: flex-end; margin-top: 4px; }
.fv-kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 9px; background: var(--soft); font-size: .8125rem; }
.fv-kv span { color: var(--muted); }
.fv-kv b { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--text); text-align: right; }

/* =========================================================================
   FUNKTIONEN – BENTO
   ========================================================================= */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "a a b b"
    "a a c d"
    "e e f g"
    "h h i i";
}
.t-a { grid-area: a; } .t-b { grid-area: b; } .t-c { grid-area: c; } .t-d { grid-area: d; }
.t-e { grid-area: e; } .t-f { grid-area: f; } .t-g { grid-area: g; }
.t-h { grid-area: h; } .t-i { grid-area: i; }
.tile {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 20px;
  padding: 26px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s, opacity .9s var(--ease) var(--d, 0s);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(37, 99, 235, .09), transparent 60%);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfdaf0; }
.tile:hover::before { opacity: 1; }
.tile-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--blue); background: var(--blue-1); border: 1px solid #dbe6ff; margin-bottom: 16px; }
.tile-ico svg { width: 20px; height: 20px; }
.tile h3 { font-size: 1.1875rem; font-weight: 680; letter-spacing: -.025em; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.tv { margin-top: auto; }

/* A – dunkle Feature-Kachel */
.t-a { background: var(--ink-2); color: var(--ink-text); border-color: rgba(255, 255, 255, .06); padding: 32px; }
.t-a::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(600px 360px at 85% 0%, rgba(37, 99, 235, .45), transparent 60%), radial-gradient(400px 300px at 0% 100%, rgba(34, 211, 238, .16), transparent 60%); }
.t-a::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(103, 232, 249, .12), transparent 60%); }
.t-a:hover { border-color: rgba(255, 255, 255, .14); }
.t-a h3 { font-size: 1.625rem; color: #fff; letter-spacing: -.035em; }
.t-a p { color: var(--ink-muted); font-size: 1rem; max-width: 40ch; }
.t-a .tile-ico { background: rgba(59, 130, 246, .18); border-color: rgba(96, 165, 250, .35); color: var(--blue-3); }
.tv-analysis { display: grid; gap: 10px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.seg-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; }
.seg-k { font-size: .78rem; color: #8391b0; font-weight: 500; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border-radius: 10px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .06); justify-self: start; }
.seg i, .seg b { font-style: normal; font-size: .78rem; padding: 4px 10px; border-radius: 7px; }
.seg i { color: #7f8db0; font-weight: 500; }
.seg b { color: #fff; font-weight: 650; background: linear-gradient(180deg, #3b82f6, #2563eb); box-shadow: 0 4px 12px -4px rgba(37, 99, 235, .9); }
.wish { margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .07); }
.wish-k { display: block; font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: #8391b0; margin-bottom: 10px; }
.wish-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.t-a .chip { background: rgba(59, 130, 246, .14); color: #c7dbff; border-color: rgba(96, 165, 250, .3); white-space: normal; }
.t-a .chip.amber { background: rgba(240, 165, 74, .14); color: #ffd29b; border-color: rgba(240, 165, 74, .4); }
.t-a .chip.blue { background: linear-gradient(180deg, #3b82f6, #2563eb); color: #fff; border-color: transparent; box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .9); }
.js .t-a.is-in .wish-chips .chip { animation: float 6s ease-in-out infinite; }
.js .t-a.is-in .wish-chips .chip:nth-child(2) { animation-delay: -1.2s; }
.js .t-a.is-in .wish-chips .chip:nth-child(3) { animation-delay: -2.4s; }
.js .t-a.is-in .wish-chips .chip:nth-child(4) { animation-delay: -3.6s; }
.js .t-a.is-in .wish-chips .chip:nth-child(5) { animation-delay: -4.8s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* B – Maskierung */
.t-b { flex-direction: row; align-items: stretch; gap: 24px; }
.t-b .tile-copy { flex: 1 1 44%; }
.t-b .tv { flex: 1 1 56%; margin: 0; align-self: center; }
.tv-mask { display: grid; gap: 10px; }
.mrow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); font-size: .8125rem; min-width: 0; }
.mrow s { color: #8a93a6; text-decoration-color: rgba(239, 68, 68, .7); text-decoration-thickness: 1.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mrow svg { width: 14px; height: 14px; color: #9aa4b6; flex: none; margin-left: auto; }
.mrow .mask { flex: none; }
.mtags { display: flex; flex-wrap: wrap; gap: 6px; }
.mtags span { font-size: .72rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; color: var(--text-2); background: #fff; border: 1px solid var(--line); }

/* C – Lead-Drop */
.tv-drop { display: grid; gap: 12px; justify-items: start; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; }
.shot { aspect-ratio: 3 / 4; border-radius: 8px; border: 1.5px dashed #c9d6ee; background: #f8faff; }
.shot.full { border: 1px solid var(--line-2); background: #fff; display: grid; align-content: center; gap: 4px; padding: 5px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.shot.full::before, .shot.full::after { content: ""; position: absolute; left: 0; right: 0; height: 18%; background: #1f2937; }
.shot.full::before { top: 0; } .shot.full::after { bottom: 0; }
.shot.full i { display: block; height: 3px; border-radius: 2px; background: #cdd6e6; }
.shot.full i:nth-child(2) { width: 70%; }
.kbd-line { font-size: .8125rem; color: var(--muted); }

/* D – Verfügbarkeit */
.tv-status { list-style: none; display: grid; gap: 4px; }
.tv-status li { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 9px; font-size: .8125rem; color: var(--text-2); }
.tv-status li.on { background: var(--blue-1); color: var(--text); font-weight: 650; box-shadow: inset 0 0 0 1px #cfe0ff; }
.tv-status li svg { width: 15px; height: 15px; margin-left: auto; color: var(--blue); }

/* E – Tonalität */
.t-e { background: linear-gradient(135deg, #f4f8ff 0%, #ffffff 55%); flex-direction: row; gap: 28px; }
.t-e .tile-copy { flex: 1 1 48%; }
.t-e .tv { flex: 1 1 52%; margin: 0; align-self: center; display: grid; gap: 14px; }
.tone-pair { display: grid; gap: 8px; }
.tone-bad, .tone-good { display: block; padding: 11px 14px; border-radius: 12px; font-size: .875rem; }
.tone-bad { background: #fff; border: 1px solid var(--line); color: #8a93a6; }
.tone-bad s { text-decoration-color: rgba(239, 68, 68, .75); text-decoration-thickness: 1.5px; }
.tone-good { background: #fff; border: 1px solid #bcd3ff; color: var(--text); font-weight: 600; box-shadow: 0 0 0 4px rgba(37, 99, 235, .07), var(--shadow-sm); }
.tone-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tone-tags span { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text-2); }
.tone-tags svg { width: 13px; height: 13px; color: var(--blue); }

/* F – Übersetzung */
.tv-lang { display: grid; gap: 10px; }
.lang-seg { display: inline-flex; justify-self: start; gap: 3px; padding: 3px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); }
.lang-seg i, .lang-seg b { font-style: normal; font-size: .75rem; font-weight: 650; padding: 3px 10px; border-radius: 7px; }
.lang-seg i { color: var(--muted); }
.lang-seg b { background: var(--blue); color: #fff; }
.tv-lang p { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); font-size: .8125rem; color: var(--text-2); line-height: 1.5; }

/* G – Export */
.tv-export { display: grid; gap: 10px; justify-items: start; }
.cc { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 12px; background: #fff4e6; border: 1px solid #fde2bf; color: var(--amber-ink); font-size: .8125rem; font-weight: 650; }
.cc b { display: grid; place-items: center; width: 30px; height: 22px; border-radius: 5px; font-size: .7rem; letter-spacing: .04em; color: #fff; background: linear-gradient(180deg, #ef4444 0 33%, #fff 33% 66%, #ef4444 66%); color: transparent; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); position: relative; }
.cc b::after { content: "AT"; position: absolute; inset: 0; display: grid; place-items: center; color: #7f1d1d; font-size: .6rem; font-weight: 800; }
.mini-seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); }
.mini-seg i, .mini-seg b { font-style: normal; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 7px; }
.mini-seg i { color: var(--muted); }
.mini-seg b { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }

/* H – Checkliste */
.tv-check { list-style: none; display: grid; gap: 6px; }
.tv-check li { display: flex; align-items: center; gap: 10px; font-size: .8125rem; color: var(--text-2); padding: 6px 10px; border-radius: 9px; background: var(--soft); }
.tv-check i { width: 16px; height: 16px; border-radius: 5px; flex: none; border: 1.5px solid #b8c4da; background: #fff; position: relative; }
.tv-check li.ok i { background: var(--blue); border-color: var(--blue); }
.tv-check li.ok i::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tv-check li.open { background: #fff4e6; color: var(--amber-ink); font-weight: 600; }
.tv-check li.open i { border-color: var(--amber); }

/* I – Dokumente */
.tv-docs { position: relative; height: 104px; }
.doc {
  position: absolute; width: 58%; height: 92px; padding: 10px 10px 0; border-radius: 10px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: .72rem; font-weight: 650; color: var(--text-2); line-height: 1.25;
  transition: transform .45s var(--ease-out);
}
.doc::after { content: ""; position: absolute; left: 10px; right: 18px; top: 44px; height: 30px; background: repeating-linear-gradient(180deg, #e8ecf3 0 3px, transparent 3px 9px); }
.doc.d1 { left: 0; top: 10px; transform: rotate(-6deg); }
.doc.d2 { left: 21%; top: 4px; z-index: 1; border-color: #bcd3ff; color: var(--blue-7); }
.doc.d3 { left: 42%; top: 12px; transform: rotate(6deg); }
.t-i:hover .doc.d1 { transform: rotate(-10deg) translateX(-6px); }
.t-i:hover .doc.d3 { transform: rotate(10deg) translateX(6px); }

/* =========================================================================
   ZAHLEN
   ========================================================================= */
.glow-d { width: 900px; height: 520px; left: 50%; top: -220px; margin-left: -450px; background: radial-gradient(closest-side, rgba(37, 99, 235, .55), rgba(37, 99, 235, 0)); }
.s-dark .display { color: #fff; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.metric { position: relative; display: grid; gap: 10px; padding: 40px 32px; text-align: center; justify-items: center; }
.metric + .metric { border-left: 1px solid var(--ink-line); }
.metric-k { font-size: .8125rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-3); }
.metric-v {
  font-size: clamp(4.5rem, 10vw, 8.5rem); font-weight: 760; letter-spacing: -.065em; line-height: .9;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 30%, #8fb6ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px rgba(59, 130, 246, .35));
}
.metric-v small { font-size: .32em; letter-spacing: -.02em; margin-left: .08em; background: inherit; -webkit-background-clip: text; background-clip: text; }
.metric-d { font-size: .9375rem; color: var(--ink-muted); max-width: 26ch; }

.race { margin-top: 64px; padding: 32px; border-radius: 24px; background: rgba(255, 255, 255, .03); border: 1px solid var(--ink-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.race-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.race-head h3 { font-size: 1.25rem; font-weight: 680; color: #fff; }
.race-scale-label { font-size: .8125rem; color: var(--ink-muted); }
.race-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 18px; }
.race-name { font-weight: 650; color: #fff; display: grid; gap: 2px; }
.race-name span { font-size: .8125rem; font-weight: 500; color: var(--ink-muted); }
.race-track { position: relative; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.race-fill {
  position: absolute; left: 4px; top: 4px; bottom: 4px; width: calc(10% - 4px); border-radius: 10px;
  background: linear-gradient(90deg, #67e8f9, #3b82f6 70%, #2563eb);
  box-shadow: 0 0 24px rgba(59, 130, 246, .8), inset 0 1px 0 rgba(255, 255, 255, .4);
  transform-origin: left; transition: transform 1.2s var(--ease-out) .2s;
}
.race-fill b { position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%); white-space: nowrap; color: #a5f3fc; font-size: .9375rem; }
.race-hand { position: absolute; left: 4px; top: 4px; bottom: 4px; width: calc(50% - 4px); border-radius: 10px 0 0 10px; background: linear-gradient(90deg, rgba(240, 165, 74, .55), rgba(240, 165, 74, .75)); transform-origin: left; transition: transform 1.4s var(--ease-out) .35s; }
.race-range { position: absolute; left: 50%; top: 4px; bottom: 4px; right: 4px; border-radius: 0 10px 10px 0; background: repeating-linear-gradient(-45deg, rgba(240, 165, 74, .5) 0 8px, rgba(240, 165, 74, .16) 8px 16px); transform-origin: left; transition: transform 1.2s var(--ease-out) 1.2s; }
.race-hand-l { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: #1b1204; background: #ffd29b; padding: 3px 10px; border-radius: 8px; font-size: .875rem; }
.js .race:not(.is-in) .race-fill, .js .race:not(.is-in) .race-hand, .js .race:not(.is-in) .race-range { transform: scaleX(0); }
.race-axis { display: flex; justify-content: space-between; margin-left: 224px; padding: 4px 4px 0; font-size: .75rem; color: #6f7d9c; font-variant-numeric: tabular-nums; border-top: 1px dashed rgba(255, 255, 255, .1); }
.race-note { margin: 20px 0 0; font-size: .8125rem; color: var(--ink-muted); }

/* =========================================================================
   VERKAUFSLEITUNG – Dashboard
   ========================================================================= */
.dash-section { overflow: hidden; }
.dash-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.dash-points { list-style: none; display: grid; gap: 18px; margin-top: 36px; }
.dash-points li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.dp-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue); box-shadow: var(--shadow-sm); }
.dp-ico svg { width: 19px; height: 19px; }
.dash-points strong { display: block; font-weight: 650; margin-bottom: 2px; }
.dash-points span { color: var(--muted); font-size: .9375rem; }
.dash-stage { --t: .6; position: relative; perspective: 2200px; }
.dash {
  margin: 0; border-radius: 18px; overflow: hidden; background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgba(11, 18, 32, .04), 0 40px 90px -30px rgba(11, 18, 32, .35), 0 30px 60px -40px rgba(37, 99, 235, .4);
  transform: rotateY(calc(-11deg * var(--t))) rotateX(calc(5deg * var(--t))) rotateZ(calc(1deg * var(--t)));
  transform-origin: 30% 50%;
  transition: transform .2s linear;
  will-change: transform;
}
.dw-bar.light { background: #f8fafc; border-bottom-color: var(--line); color: var(--muted); }
.dw-bar.light .dw-dots i { opacity: .9; }
.dw-bar.light .dw-title { color: var(--text); }
.dw-bar.light .dw-label { color: var(--amber-ink); background: #fff4e6; border-color: #fde2bf; }
.dash-body { padding: 20px; display: grid; gap: 16px; background: linear-gradient(180deg, #fbfcfe, #f6f8fc); }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dash-top strong { font-size: 1.0625rem; letter-spacing: -.02em; }
.dash-filter { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 6px 10px; border-radius: 9px; background: #fff; border: 1px solid var(--line); color: var(--text-2); }
.dash-filter svg { width: 14px; height: 14px; color: var(--blue); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; gap: 2px; }
.kpi span { font-size: .72rem; color: var(--muted); font-weight: 500; }
.kpi b { font-size: 1.5rem; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: .68rem; color: var(--muted); }
.kpi.hl { background: linear-gradient(160deg, #2563eb, #1e40af); border-color: transparent; color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .8); }
.kpi.hl span, .kpi.hl em { color: #c7dbff; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 10px; }
.dcard-log { grid-column: 1 / -1; }
.dcard-bars { grid-column: 1 / -1; }
.dcard-bars .hbars { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.dcard { padding: 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.dcard h4 { font-size: .78rem; font-weight: 650; color: var(--text-2); margin-bottom: 10px; letter-spacing: 0; }
.area { width: 100%; height: 110px; }
.js .dash-stage:not(.is-in) .area-line { stroke-dasharray: 600; stroke-dashoffset: 600; }
.area-line { stroke-dasharray: 600; stroke-dashoffset: 0; transition: stroke-dashoffset 2s var(--ease-out) .3s; }
.donut-wrap { display: flex; align-items: center; gap: 14px; }
.donut-wrap svg { width: 96px; height: 96px; flex: none; }
.legend { list-style: none; display: grid; gap: 6px; font-size: .75rem; color: var(--text-2); }
.legend li { display: flex; align-items: center; gap: 7px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; }
.legend b { margin-left: 6px; }
.hbars { display: grid; gap: 7px; }
.hb { display: grid; grid-template-columns: 96px minmax(0, 1fr) 24px; align-items: center; gap: 8px; font-size: .72rem; color: var(--text-2); }
.hb i { height: 8px; border-radius: 4px; background: #eef2f7; overflow: hidden; }
.hb i b { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #60a5fa, #2563eb); transform-origin: left; transition: transform 1.1s var(--ease-out) .4s; }
.hb i b.amber { background: linear-gradient(90deg, #fbbf77, var(--amber)); }
.hb i b.slate { background: #94a3b8; }
.js .dash-stage:not(.is-in) .hb i b { transform: scaleX(0); }
.hb em { font-style: normal; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.log { width: 100%; border-collapse: collapse; font-size: .72rem; }
.log th { text-align: left; font-weight: 600; color: var(--muted); padding: 0 6px 6px 0; border-bottom: 1px solid var(--line); }
.log td { padding: 7px 6px 7px 0; border-bottom: 1px solid #f0f2f6; color: var(--text-2); white-space: nowrap; }
.log tr:last-child td { border-bottom: 0; }
.log .num { text-align: right; font-variant-numeric: tabular-nums; }
.dash-float {
  position: absolute; left: -28px; bottom: 36px; z-index: 2;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--line);
  box-shadow: 0 24px 48px -16px rgba(11, 18, 32, .3);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  animation: float 7s ease-in-out infinite;
}
.df-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.df-ico svg { width: 20px; height: 20px; }
.dash-float b { display: block; font-size: 1.125rem; letter-spacing: -.03em; }
.dash-float span { font-size: .75rem; color: var(--muted); }

/* =========================================================================
   KONTROLLE
   ========================================================================= */
.control { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ctl {
  position: relative; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), opacity .9s var(--ease) var(--d, 0s);
}
.ctl:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ctl h3 { font-size: 1.25rem; font-weight: 680; letter-spacing: -.025em; margin-bottom: 10px; }
.ctl p { color: var(--muted); font-size: .9688rem; }
.ctl-vis {
  height: 112px; margin-bottom: 24px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  background: radial-gradient(240px 120px at 50% 0%, #eaf1ff, transparent 70%), var(--soft);
  border: 1px solid var(--line);
}
.ctl-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px; font-size: .8125rem; font-weight: 650; background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(37, 99, 235, .8); }
.ctl-btn svg { width: 15px; height: 15px; }
.ctl-btn.ghost { background: #fff; color: #9aa4b6; box-shadow: none; border: 1px solid var(--line); text-decoration: line-through; text-decoration-color: rgba(239, 68, 68, .7); }
.ctl-vis .mask { font-size: .875rem; padding: 5px 12px; }
.edit-field { display: inline-flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; background: #fff; border: 1px solid #bcd3ff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .08); font-size: .78rem; color: var(--muted); }
.edit-field b { color: var(--text); font-size: .875rem; }
.edit-field svg { width: 15px; height: 15px; color: var(--blue); }

/* =========================================================================
   GRÜNDER
   ========================================================================= */
.founder { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.founder-photo { position: relative; max-width: 460px; }
.founder-photo::before {
  content: ""; position: absolute; inset: -14px; z-index: 0; border-radius: 34px;
  background: linear-gradient(140deg, rgba(37, 99, 235, .5), rgba(103, 232, 249, .3) 40%, rgba(240, 165, 74, .35));
  filter: blur(26px); opacity: .55;
}
.founder-photo img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 843 / 1000; object-fit: cover; object-position: 50% 12%; border-radius: 28px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .6); }
.founder-badge {
  position: absolute; z-index: 2; right: -20px; bottom: 32px;
  display: grid; padding: 14px 18px; border-radius: 16px; font-size: .8125rem; color: var(--muted);
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.founder-badge b { font-size: 1.625rem; letter-spacing: -.04em; color: var(--text); line-height: 1.1; }
.founder blockquote { position: relative; margin: 0 0 32px; }
.founder blockquote p {
  font-size: clamp(1.375rem, 2.3vw, 1.875rem); line-height: 1.38; font-weight: 560; letter-spacing: -.025em; color: var(--text);
  text-wrap: pretty;
}
.founder-id h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.founder-id p { color: var(--muted); margin: 2px 0 0; font-size: .9375rem; }
.founder-id { padding-left: 16px; border-left: 3px solid; border-image: linear-gradient(180deg, var(--blue), var(--cyan)) 1; margin-bottom: 28px; }
.founder-more { color: var(--muted); }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.product {
  position: relative; display: grid; gap: 4px; padding: 18px 44px 18px 18px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.product:hover { color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow); border-color: #c9d8f5; }
.product strong { font-size: 1rem; }
.product span { font-size: .875rem; color: var(--muted); line-height: 1.45; }
.product svg { position: absolute; right: 16px; top: 18px; width: 18px; height: 18px; color: var(--blue); transition: transform .3s var(--ease-out); }
.product:hover svg { transform: translate(2px, -2px); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--hh) + 48px); }
.faq-contact { display: grid; gap: 8px; margin-top: 28px; }
.faq-contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--text); }
.faq-contact a:hover { color: var(--blue); }
.faq-contact svg { width: 18px; height: 18px; color: var(--blue); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 24px 56px 24px 0; font-size: 1.125rem; font-weight: 620; letter-spacing: -.015em; line-height: 1.4;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .35s var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary { padding-right: 56px; }
.faq summary > * { pointer-events: none; }
.faq details summary { outline-offset: -2px; }
.faq summary:focus-visible { outline-offset: 4px; }
.faq summary { background-image: none; }
.faq summary::marker { content: ""; }
.faq details[open] summary { color: var(--blue-7); }
.faq-body { padding: 0 56px 24px 0; color: var(--muted); }
.faq-body p { margin-bottom: .75em; }
.faq details[open] .faq-body { animation: faq-in .45s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =========================================================================
   CTA
   ========================================================================= */
.cta-section { padding-top: 0; }
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 80px);
  border-radius: 32px; text-align: center; color: var(--ink-text);
  background: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(7, 11, 20, .55);
}
.cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.cta .hero-grid { -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000 20%, transparent 70%); }
.glow-e { width: 760px; height: 420px; left: 50%; top: -200px; margin-left: -380px; background: radial-gradient(closest-side, rgba(37, 99, 235, .8), rgba(37, 99, 235, 0)); animation: drift-b 16s ease-in-out infinite alternate; }
.glow-f { width: 420px; height: 280px; right: -80px; bottom: -120px; background: radial-gradient(closest-side, rgba(240, 165, 74, .3), rgba(240, 165, 74, 0)); }
.cta h2 { font-size: clamp(2rem, 4.8vw, 3.75rem); font-weight: 750; letter-spacing: -.045em; line-height: 1.03; color: #fff; margin: 0 auto 20px; max-width: 18ch; text-wrap: balance; }
.cta-sub { color: #b3bfd6; max-width: 560px; margin: 0 auto 36px; font-size: 1.0625rem; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-small { margin: 24px 0 0; font-size: .875rem; color: var(--ink-muted); }
.cta-small a { color: #dbe5f7; }
.cta-small a:hover { color: #fff; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: var(--ink-muted); padding: 72px 0 32px; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 90%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(96, 165, 250, .6), transparent); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.footer-about { max-width: 36ch; font-size: .9375rem; }
.site-footer h2 { font-size: .8125rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: #e7ecf6; margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--ink-muted); text-decoration: none; font-size: .9375rem; transition: color .2s; overflow-wrap: anywhere; }
.footer-links a:hover { color: #fff; }
.footer-word {
  margin: 56px 0 0; font-size: clamp(4rem, 15vw, 13rem); font-weight: 800; letter-spacing: -.06em; line-height: .8; text-align: center;
  background: linear-gradient(180deg, rgba(148, 170, 220, .16), rgba(148, 170, 220, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; white-space: nowrap;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--ink-line); font-size: .8125rem; }

/* =========================================================================
   RECHTSSEITEN
   ========================================================================= */
.legal-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--ink-text);
  padding: calc(var(--hh) + clamp(48px, 7vw, 88px)) 0 clamp(96px, 11vw, 136px);
}
.legal-hero h1 { font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 750; letter-spacing: -.045em; line-height: 1.02; color: #fff; margin-bottom: 14px; overflow-wrap: break-word; hyphens: auto; }
.legal-hero p { color: #b3bfd6; margin: 0; max-width: 720px; font-size: 1.0625rem; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--blue-3); }
.back-link:hover { color: #fff; }
.back-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.back-link:hover svg { transform: translateX(-3px); }
.stand { display: inline-flex; margin-top: 20px; padding: 4px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: #c9d4ea; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.legal { background: var(--soft); padding: 0 0 clamp(72px, 9vw, 112px); }
.legal-card {
  position: relative; max-width: 860px; margin: clamp(-72px, -6vw, -48px) auto 0;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: clamp(28px, 5vw, 56px);
  overflow-wrap: break-word;
}
.legal-card h2 { font-size: 1.3125rem; font-weight: 700; letter-spacing: -.02em; margin: 2.2em 0 .6em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { font-size: 1.0625rem; font-weight: 650; margin: 1.5em 0 .5em; }
.legal-card p, .legal-card li { color: var(--text-2); }
.legal-card ul, .legal-card ol { padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: 6px; }
.legal-card address { font-style: normal; margin-bottom: 1em; color: var(--text-2); }
.legal-card .notice { padding: 18px 20px; border-radius: 16px; background: var(--blue-1); border: 1px solid #d3e1ff; color: #1e3a8a; margin-bottom: 2em; }
.legal-card .notice p { color: inherit; margin: 0; }
.legal-card .notice p + p { margin-top: .6em; }
.legal-card .para { display: flex; gap: 10px; align-items: baseline; }
.legal-card .para span { color: var(--blue); font-weight: 750; flex: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1180px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
  .hero-copy { text-align: center; }
  .hero-copy .pill, .hero-actions, .hero-meta { justify-content: center; }
  .hero h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .demo { margin-top: 8px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b b" "c d" "e e" "f g" "h h" "i i"; }
  .dash-layout { grid-template-columns: minmax(0, 1fr); }
  .dash-stage { --t: .35 !important; max-width: 820px; }
}
@media (max-width: 900px) {
  .problem, .founder, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .problem-head, .faq-side { position: static; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 520px; margin: 0 auto; }
  .flow::before, .flow::after { top: 0; bottom: 0; left: 28px; right: auto; width: 2px; height: auto; }
  .flow::before { background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .flow::after { transform-origin: top; transform: scaleY(var(--p, 1)); }
  .flow-step { align-items: flex-start; text-align: left; padding-left: 84px; }
  .flow-num { position: absolute; left: 0; top: 0; margin: 0; }
  .flow-step > p { max-width: none; }
  .metrics { grid-template-columns: minmax(0, 1fr); }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--ink-line); }
  .race-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .race-axis { margin-left: 0; }
  .control { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .founder-photo { max-width: 400px; margin: 0 auto; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .dash-float { left: 12px; bottom: -24px; }
}
@media (max-width: 720px) {
  :root { --hh: 64px; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 12px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .dw-body { grid-template-columns: minmax(0, 1fr); }
  .dw-label { display: none; }
  .stopwatch { width: calc(100% - 24px); grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; padding: 18px 16px; }
  .sw-side { width: 100%; }
  .sw-kicker { text-align: center; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "b" "c" "d" "e" "f" "g" "h" "i"; }
  .t-b, .t-e, .t-h, .t-i { flex-direction: column; }
  .t-a { padding: 24px; }
  .t-a h3 { font-size: 1.375rem; }
  .seg-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .dash-stage { --t: 0 !important; }
  .dash-float { display: none; }
  .log td:nth-child(2) { white-space: normal; }
  .products { grid-template-columns: minmax(0, 1fr); }
  .founder-badge { right: 12px; }
  .race { padding: 20px; }
  .race-hand-l { font-size: .75rem; right: 10px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .problem-list li { grid-template-columns: 48px minmax(0, 1fr); }
  .pl-ico { display: none; }
  .pl-num { font-size: 1.75rem; }
  .faq summary { font-size: 1.0313rem; padding: 20px 44px 20px 0; }
  .faq-body { padding-right: 0; }
  .metric { padding: 32px 16px; }
}
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 2.375rem; }
  .btn-lg { width: 100%; }
  .hero-actions { flex-direction: column; }
  .dw-body, .dw-steps { padding-left: 10px; padding-right: 10px; }
  .dw-step { padding-right: 9px; font-size: .7rem; }
  .dw-field { grid-template-columns: 78px minmax(0, 1fr); }
  .sw-row { grid-template-columns: 70px minmax(0, 1fr); }
  .sw-scale { padding-left: 80px; }
  .sources-list li { font-size: .875rem; }
  .pill { font-size: .75rem; }
  .cta { border-radius: 24px; }
  .tile { padding: 22px; }
  .mrow { flex-wrap: wrap; }
  .mrow svg { margin-left: 0; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .glow { animation: none !important; }
  .dash { transform: none; }
  .dash-float { animation: none; }
}

@media print {
  .site-header, .hero-bg, .demo, .sources, .cta-bg { display: none !important; }
  .hero, .s-dark, .cta, .site-footer, .legal-hero { background: #fff !important; color: #000 !important; }
}

/* Hover-Übergänge nach dem Einblenden wieder schnell */
.js .tile.reveal.is-in, .js .ctl.reveal.is-in { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s, opacity .9s var(--ease) var(--d, 0s); }
.dw-body { transition: opacity .35s ease; }
.dw.t-fade .dw-body { opacity: 0; }

/* Ablauf: gleiche Zeilenhöhen über Subgrid */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .flow { grid-template-rows: auto auto auto auto; row-gap: 0; }
    .flow-step { display: grid; grid-row: span 4; grid-template-rows: subgrid; justify-items: center; }
    .flow-vis { margin-top: 0; align-self: stretch; }
  }
}
.flow-vis { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.flow-step { min-width: 0; }
.fv-kv { flex-wrap: wrap; }
.fv-kv b { margin-left: auto; }

@media (max-width: 720px) {
  .dcard-bars .hbars { grid-template-columns: minmax(0, 1fr); }
  .pill > span:last-child { white-space: normal; text-align: left; line-height: 1.35; }
  .pill { border-radius: 18px; }
  .display br { display: none; }
  .dw-toast { top: -14px; bottom: auto; right: 8px; }
}

/* Umlaufende Lichtkante am Demo-Fenster und an der Stoppuhr */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.dw::after, .stopwatch::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 4;
  background: conic-gradient(from var(--ang), transparent 0 64%, rgba(103, 232, 249, .0) 66%, rgba(103, 232, 249, .85) 78%, rgba(59, 130, 246, .9) 84%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin-ang 7s linear infinite;
}
.stopwatch::before { animation-duration: 5s; animation-direction: reverse; opacity: .8; }
@keyframes spin-ang { to { --ang: 360deg; } }
@media (prefers-reduced-motion: reduce) { .dw::after, .stopwatch::before { animation: none; } }
.demo-btn[hidden] { display: none; }
html:not(.js) .demo-ctrl { display: none; }
@media (prefers-reduced-motion: reduce) { .demo-ctrl { display: none; } }
@media (max-width: 900px) { html:not(.js) .site-header { background: var(--ink); } }

/* Module-Kacheln (breit) */
.t-h, .t-i { flex-direction: row; align-items: center; gap: 28px; }
.t-h .tile-copy, .t-i .tile-copy { flex: 1 1 46%; }
.t-h .tv, .t-i .tv { flex: 1 1 54%; margin: 0; }
.t-i .tv-docs { height: 112px; }

/* Demo: Skelett während der Analyse, Caret ohne Umbruch-Sprung */
.dw.is-anim:not(.t-masked) .dw-fields { opacity: 0; }
.dw-fields { transition: opacity .3s; }
.dw.t-analyzing .dw-fields { background: linear-gradient(90deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.04) 100%); background-size: 200% 100%; animation: shimmer 1.1s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: 0 0; } }
.caret { margin-left: 1px; margin-right: -3px; }

.ana-src { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ana-src span { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: #c7d2e8; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.ana-src svg { width: 14px; height: 14px; color: var(--blue-3); }
.ana-src em { margin-left: auto; font-style: normal; font-size: .75rem; font-weight: 650; color: #a5f3fc; }
@media (max-width: 720px) {
  .t-h, .t-i { flex-direction: column; align-items: stretch; }
  .dw-toast { display: none; }
  .flow-step { padding-left: 76px; }
}
@media (max-width: 420px) { .ana-src em { display: none; } }
