/* Deskville Startseite: hell und freundlich als Standard, dunkel wie die Etage bei Nacht auf Wunsch.
   Abendblau für Handlungen, genau ein gelbes Licht pro Ansicht. Scroll-Effekte lesen CSS-Variablen,
   die landing.js setzt (--p, --night, --copy-o ...). Ohne JS bleibt alles lesbar. */

/* ---------------- Theme-Werte ---------------- */
body.landing {
  --bg: #f6f3ee;
  --bg-2: #efeae2;
  --card: #ffffff;
  --card-line: rgba(29, 27, 43, 0.08);
  --card-shadow: 0 1px 2px rgba(60, 44, 20, 0.05), 0 24px 50px -34px rgba(60, 44, 20, 0.45);
  --media: #f1ede6;
  --media-2: #e9e4dc;
  --ink: #1d1b2b;
  --text: #1d1b2b;
  --text-2: #5b5868;
  --text-3: #6a6676;
  --accent: #3552d9;
  --accent-strong: #2f4bc9;
  --accent-ink: #ffffff;
  --accent-text: #2f4bc9;
  --accent-soft: #e3e8fd;
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px #3552d9;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-strong: rgba(255, 255, 255, 0.92);
  --glass-line: rgba(29, 27, 43, 0.1);
  --hover-tint: rgba(29, 27, 43, 0.06);
  --hero-bg: #e9e4dc;
  --scrim-1: rgba(246, 243, 238, 0.95);
  --scrim-2: rgba(246, 243, 238, 0.62);
  --nacht: 0;
  --dim-col: #f6f3ee;
  --claim-1: #1d1b2b;
  --claim-2: #3552d9;
  --claim-halo: rgba(246, 243, 238, 0.94);
  --licht-aus: #e2dccf;
  --glow: 0 0 0.1em rgba(255, 207, 90, 0.9), 0 0 0.45em rgba(255, 207, 90, 0.45);
  --grain-o: 0.05;
  --grain-mode: multiply;
  --spot: rgba(53, 82, 217, 0.08);
  --spot-line: rgba(53, 82, 217, 0.28);
  --phone-glow: rgba(53, 82, 217, 0.2);
  --pill-bg: #ffffff;
  --pill-line: #e7e1d7;
  --pill-ring: rgba(53, 82, 217, 0.16);
  --pill-on: #3552d9;
  --bubble-shadow: 0 1px 2px rgba(60, 44, 20, 0.06), 0 16px 30px -18px rgba(60, 44, 20, 0.55);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1); /* easeOutBack: kurzes Überschwingen */
  --bubble-in: #f1ede6;
  --cast-bg: #e3e8fd;
  --cast-text: #2f4bc9;
  --cast-line: rgba(53, 82, 217, 0.22);
  --window-shadow: 0 0 0 1px rgba(29, 27, 43, 0.08), 0 50px 120px -60px rgba(53, 82, 217, 0.55), 0 30px 70px -40px rgba(60, 44, 20, 0.55);
  --priv-2: #efeae2;
  --cut: #ffffff;
  --tinte: #1d1b2b;
  --gut: clamp(20px, 5vw, 56px);
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
}
html[data-theme='dunkel'] body.landing {
  --bg: #16131e;
  --bg-2: #120f19;
  --card: #1c1925;
  --card-line: rgba(246, 243, 238, 0.07);
  --card-shadow: none;
  --media: #15121d;
  --media-2: #2a2536;
  --ink: #f4efe6;
  --text: #f4efe6;
  --text-2: #b9b3c4;
  --text-3: #9a94a7;
  --accent: #3552d9;
  --accent-strong: #4863e6;
  --accent-ink: #ffffff;
  --accent-text: #8ea2ff;
  --accent-soft: #1f2547;
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px #8ea2ff;
  --glass: rgba(22, 19, 30, 0.5);
  --glass-strong: rgba(22, 19, 30, 0.82);
  --glass-line: rgba(246, 243, 238, 0.12);
  --hover-tint: rgba(246, 243, 238, 0.08);
  --hero-bg: #0e0c14;
  --scrim-1: rgba(14, 12, 20, 0.9);
  --scrim-2: rgba(14, 12, 20, 0.5);
  --nacht: 1;
  --dim-col: #0e0c14;
  --claim-1: #f6f3ee;
  --claim-2: #b5c1ff;
  --claim-halo: rgba(14, 12, 20, 0.86);
  --licht-aus: #3a3220;
  --glow: 0 0 0.12em rgba(255, 207, 90, 0.95), 0 0 0.5em rgba(255, 207, 90, 0.5), 0 0 1.4em rgba(255, 207, 90, 0.28);
  --grain-o: 0.08;
  --grain-mode: overlay;
  --spot: rgba(142, 162, 255, 0.14);
  --spot-line: rgba(142, 162, 255, 0.25);
  --phone-glow: rgba(53, 82, 217, 0.35);
  --pill-bg: #211d2b;
  --pill-line: #3a3448;
  --pill-ring: rgba(142, 162, 255, 0.22);
  --pill-on: #8ea2ff;
  --bubble-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.9);
  --bubble-in: #2a2536;
  --cast-bg: #1f2547;
  --cast-text: #dfe5ff;
  --cast-line: rgba(142, 162, 255, 0.3);
  --window-shadow: 0 0 0 1px rgba(246, 243, 238, 0.08), 0 50px 140px -50px rgba(53, 82, 217, 0.7), 0 30px 80px -30px rgba(0, 0, 0, 0.85);
  --priv-2: #120f19;
  --cut: #16131e;
}

body.landing ::selection { background: rgba(53, 82, 217, 0.2); }
html[data-theme='dunkel'] body.landing ::selection { background: rgba(142, 162, 255, 0.35); color: #fff; }
.landing a { color: var(--accent-text); }
.landing a:hover { color: var(--accent-strong); }
html[data-theme='dunkel'] .landing a:hover { color: #b5c1ff; }
/* Knöpfe behalten ihre Schriftfarbe, auch als Link */
.landing a.btn, .landing a.btn:hover { color: var(--accent-ink); }
.landing a.btn.ghost, .landing a.btn.ghost:hover { color: var(--ink); }
.landing h1, .landing h2, .landing h3 { color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; }

/* Knöpfe */
.landing .btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 30px -12px rgba(53, 82, 217, 0.8); }
.landing .btn:hover { color: #fff; background: var(--accent-strong); }
.landing .btn .i { transition: transform 0.25s var(--ease); }
.landing .btn:hover .i { transform: translateX(3px); }
.landing .btn.ghost { background: var(--glass); border-color: var(--glass-line); color: var(--ink); box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.landing .btn.ghost:hover { background: var(--glass-strong); border-color: var(--glass-line); color: var(--ink); }
.landing :focus-visible { box-shadow: var(--ring); }

/* Etikett über Abschnitten: eine Sprechblase aus dem Büro, Emoji plus Klartext, leicht schräg.
   Ploppt beim ersten Einblenden einmal kurz auf. */
.label {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 28px; padding: 10px 17px 10px 12px;
  border-radius: 20px 20px 20px 5px; background: var(--pill-bg); border: 1px solid var(--pill-line); box-shadow: var(--bubble-shadow);
  font: 650 16px/1 var(--font); letter-spacing: -0.02em; color: var(--ink);
  rotate: -3deg; transform-origin: 0 100%;
}
.label span { font-size: 20px; }
.js [data-reveal] .label { scale: 0.86; rotate: -9deg; transition: scale 0.6s var(--ease-pop) 0.2s, rotate 0.6s var(--ease-pop) 0.2s; }
.js [data-reveal].in .label { scale: 1; rotate: -3deg; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2, .privacy h2 { margin: 0; font: 700 clamp(44px, 6.6vw, 104px)/0.92 var(--font); letter-spacing: -0.055em; color: var(--ink); text-wrap: balance; }
.privacy h2 { font-size: clamp(40px, 5.2vw, 80px); }

/* ---------------- Navigation: schwebende Pille ---------------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: var(--z-top); transform: translateX(-50%);
  width: min(820px, 100% - 24px); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 7px 7px 7px 18px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav.scrolled { background: var(--glass-strong); box-shadow: 0 16px 44px -20px rgba(29, 27, 43, 0.45); }
html[data-theme='dunkel'] .nav.scrolled { box-shadow: 0 16px 44px -18px rgba(0, 0, 0, 0.85); }
.nav .brand { color: var(--ink); }
.nav .brand .wordmark { height: 19px; }
.nav .wordmark .wm-px { fill: currentColor; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { color: var(--text-2); font: 500 14px/1 var(--font); padding: 10px 13px; border-radius: 999px; }
.nav-links a:hover { color: var(--ink); background: var(--hover-tint); text-decoration: none; }
.nav-end { display: flex; align-items: center; gap: 10px; }
.landing .nav-cta { border-radius: 999px; min-height: 36px; padding: 8px 16px; }

/* ---------------- 1 · Header ---------------- */
.hero { position: relative; height: 220vh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--hero-bg); isolation: isolate; }
.hero-world { position: absolute; inset: 0; transform: scale(var(--zoom, 1)); transform-origin: 62% 56%; will-change: transform; }
.hero-world canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-world canvas.ready { opacity: 1; }
/* Nacht mit Taschenlampe: nur im dunklen Theme. Der Lichtkegel folgt der Maus, beim Scrollen geht das Licht an. */
.hero-night {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: calc(var(--night, 1) * var(--nacht));
  background: radial-gradient(circle at var(--mx, 70%) var(--my, 42%), rgba(14, 12, 20, 0) 0, rgba(14, 12, 20, 0.28) 150px, rgba(14, 12, 20, 0.94) 330px);
}
.hero-stage::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: var(--copy-o, 1);
  background:
    linear-gradient(90deg, var(--scrim-1) 0%, var(--scrim-2) 42%, transparent 70%),
    linear-gradient(0deg, var(--scrim-1) 0%, transparent 45%);
}
.hero-stage::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: var(--dim-col); opacity: var(--dim, 0); }
.grain {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: var(--grain-o); mix-blend-mode: var(--grain-mode);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-copy {
  position: absolute; z-index: 4; left: var(--gut); right: var(--gut); bottom: clamp(64px, 12vh, 140px); max-width: 1200px;
  opacity: var(--copy-o, 1); transform: translate3d(0, var(--copy-y, 0px), 0); will-change: transform, opacity;
}
.hero-title { margin: 0 0 clamp(18px, 2.2vw, 28px); font: 700 clamp(54px, 10.4vw, 172px)/0.86 var(--font); letter-spacing: -0.058em; color: var(--ink); }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.05em 0.03em 0.12em; margin: -0.05em -0.03em -0.12em; }
.hero-title .w > span { display: inline-block; transform: translate3d(0, 110%, 0); animation: hoch 1.15s var(--ease) 0.1s forwards; }
.hero-title .w:nth-child(2) > span { animation-delay: 0.22s; }
.hero-title .w:nth-child(3) > span { animation-delay: 0.34s; }
/* Der Punkt ist das Lichtpixel: flackert an wie eine Neonröhre */
.licht { display: inline-block; width: 0.14em; height: 0.14em; margin-left: 0.035em; background: var(--licht-aus); vertical-align: baseline; animation: licht-an 1.7s step-end 1.25s forwards; }
.hero-lead { max-width: 33em; margin: 0 0 28px; font: 400 clamp(17px, 1.45vw, 21px)/1.5 var(--font); color: var(--text-2); opacity: 0; animation: einblenden 0.9s var(--ease) 0.6s forwards; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: einblenden 0.9s var(--ease) 0.75s forwards; }

.hero-claim {
  position: absolute; inset: 0; z-index: 4; margin: 0; display: grid; place-content: center; gap: 0.05em; text-align: center; pointer-events: none;
  font: 700 clamp(48px, 9vw, 150px)/0.9 var(--font); letter-spacing: -0.055em; color: var(--claim-1);
  opacity: var(--claim-o, 0); transform: scale(var(--claim-s, 0.92));
}
.hero-claim span:last-child { color: var(--claim-2); }
.hero-claim::before { content: ''; position: absolute; inset: 18% 8%; z-index: -1; background: radial-gradient(closest-side, var(--claim-halo), transparent); }

/* Oberfläche baut sich über der Welt auf (wie in der App, in beiden Themes gleich) */
.hero-ui { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.ui-bubbles { position: absolute; top: clamp(86px, 14vh, 130px); left: 50%; display: flex; gap: 10px; opacity: var(--ui1, 0); transform: translate(-50%, calc((1 - var(--ui1, 0)) * -36px)); }
.bubble {
  position: relative; width: clamp(104px, 10vw, 140px); aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden;
  border-radius: 14px; background: #1c1925; box-shadow: 0 0 0 1px rgba(246, 243, 238, 0.1), 0 20px 44px -18px rgba(0, 0, 0, 0.75);
}
.bubble img { width: 46%; aspect-ratio: 1; border-radius: 22%; image-rendering: pixelated; }
.bubble b { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border-radius: 7px; background: rgba(14, 12, 20, 0.6); color: #fff; font: 600 11px/1 var(--font); }
.bubble b .i { width: 12px; height: 12px; color: #ff8a7a; stroke-width: 2.2; }
.bubble.talk { box-shadow: 0 0 0 2.5px #3ddc84, 0 20px 44px -18px rgba(0, 0, 0, 0.75); }
.bubble.self { box-shadow: 0 0 0 1px rgba(142, 162, 255, 0.5), 0 20px 44px -18px rgba(0, 0, 0, 0.75); }
.ui-dock {
  position: absolute; left: 50%; bottom: clamp(18px, 4vh, 34px); display: flex; align-items: center; gap: 4px; padding: 6px;
  border-radius: 18px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 1px 2px rgba(22, 19, 30, 0.2), 0 24px 50px -18px rgba(0, 0, 0, 0.6);
  opacity: var(--ui2, 0); transform: translate(-50%, calc((1 - var(--ui2, 0)) * 70px));
}
.ui-dock i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #5b5868; }
.ui-dock i .i { width: 21px; height: 21px; }
.ui-dock i.on { background: #e3e8fd; color: #2f4bc9; }
.ui-dock i.sep { width: 1px; height: 24px; margin: 0 4px; background: #e7e1d7; border-radius: 0; }
.ui-toast {
  position: absolute; left: 50%; bottom: calc(clamp(18px, 4vh, 34px) + 72px); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 7px 7px 7px 9px; border-radius: 14px; background: #16131e; color: #f6f3ee; font: 500 14px/1 var(--font);
  box-shadow: 0 0 0 1px #3a3448, 0 20px 44px -18px rgba(0, 0, 0, 0.75);
  opacity: var(--ui3, 0); transform: translate(-50%, calc((1 - var(--ui3, 0)) * 26px));
}
.ui-toast img { width: 28px; height: 28px; border-radius: 8px; image-rendering: pixelated; }
.ui-toast b { font-weight: 650; }
.ui-toast em { font-style: normal; font-weight: 600; padding: 8px 11px; border-radius: 9px; background: #8ea2ff; color: #16131e; }
.hero-note { position: absolute; z-index: 4; right: var(--gut); bottom: 22px; margin: 0; font: 500 12px/1 var(--mono); color: var(--text-3); opacity: var(--copy-o, 1); }
.scroll-cue { position: absolute; z-index: 4; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 1.5px solid var(--glass-line); opacity: var(--copy-o, 1); }
.scroll-cue i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--ink); animation: rollen 1.8s var(--ease) infinite; }

/* ---------------- 2 · Laufband ---------------- */
.band { position: relative; z-index: 2; overflow: hidden; padding: clamp(18px, 2.6vw, 30px) 0; background: var(--abendblau); color: var(--kreide); transform: skewY(var(--skew, 0deg)); transition: transform 0.45s var(--ease); }
.band-row { display: flex; transform: translateX(var(--bp, 0px)); }
.band-row.rev { transform: translateX(calc(var(--bp, 0px) * -1)); }
.band-track { display: flex; flex: none; align-items: center; gap: clamp(18px, 2.4vw, 36px); padding-right: clamp(18px, 2.4vw, 36px); white-space: nowrap; font: 700 clamp(40px, 7.2vw, 116px)/1.04 var(--font); letter-spacing: -0.05em; animation: lauf 46s linear infinite; }
.band-row.rev .band-track { animation-direction: reverse; animation-duration: 52s; color: transparent; -webkit-text-stroke: 1.5px rgba(246, 243, 238, 0.82); }
.band-track i { flex: none; width: 0.16em; height: 0.16em; background: rgba(246, 243, 238, 0.55); }
.band-row.rev .band-track i { background: rgba(22, 19, 30, 0.6); }

/* ---------------- 3 · So läuft's ---------------- */
.story { position: relative; height: 330vh; }
.story-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; max-width: 1440px; margin: 0 auto; padding: 0 var(--gut);
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(28px, 5vw, 84px);
}
.steps-live { list-style: none; margin: 0; padding: 0; display: grid; }
.steps-live li { grid-area: 1 / 1; opacity: 0; transform: translateY(30px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); }
.steps-live li.is-on { opacity: 1; transform: none; }
.steps-live .n { display: inline-block; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; }
.steps-live h3 { margin: 14px 0 18px; font: 700 clamp(52px, 7.4vw, 120px)/0.9 var(--font); letter-spacing: -0.058em; color: var(--ink); }
.steps-live p { max-width: 28em; margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--text-2); }
.story-bar { width: 220px; height: 3px; margin-top: 36px; border-radius: 3px; overflow: hidden; background: var(--hover-tint); }
.story-bar span { display: block; height: 100%; background: var(--accent-text); transform-origin: left; transform: scaleX(var(--sp, 0)); }
.story-window { position: relative; aspect-ratio: 4 / 3; max-height: 78vh; width: 100%; overflow: hidden; border-radius: 26px; background: #0e0c14; box-shadow: var(--window-shadow); }
.story-window canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.sov { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s var(--ease); pointer-events: none; }
.sov.is-on { opacity: 1; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; white-space: nowrap;
  background: rgba(14, 12, 20, 0.78); color: #f6f3ee; font: 500 13px/1 var(--font);
  box-shadow: 0 0 0 1px rgba(246, 243, 238, 0.12), 0 16px 34px -16px rgba(0, 0, 0, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chip img { width: 26px; height: 26px; border-radius: 50%; image-rendering: pixelated; background: #332d41; }
.chip > [data-icon] { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #1f2547; color: #8ea2ff; }
.chip > [data-icon] .i { width: 15px; height: 15px; }
.chip em { font-style: normal; color: #b9b3c4; }
.chip.lock > [data-icon] { background: #3a3220; color: var(--licht); }
.sov-1 .chip { left: 6%; top: 8%; }
.sov-1 .chip em::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #2fb36a; }
.click { position: absolute; left: 58%; top: 58%; width: 0; height: 0; }
.click::before, .click::after, .click i { content: ''; position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(142, 162, 255, 0.9); animation: klick 2.4s var(--ease) infinite; }
.click::after { animation-delay: 0.35s; }
.click i { border: 0; background: rgba(142, 162, 255, 0.35); width: 14px; height: 14px; left: -7px; top: -7px; animation: tupfer 2.4s var(--ease) infinite; }
.sov-2 .ui-bubbles.sm { position: absolute; top: 7%; left: 50%; transform: translateX(-50%); opacity: 1; }
.ui-bubbles.sm .bubble { width: clamp(92px, 9vw, 124px); }
.sov-2 .chip { left: 6%; bottom: 8%; }
.sov-3 .chip { left: 6%; top: 8%; }
.sov-3 .ui-toast { opacity: 1; transform: translateX(-50%); bottom: 8%; }

/* ---------------- 4 · Funktionen ---------------- */
.features { padding: clamp(100px, 14vw, 190px) 0 clamp(80px, 10vw, 140px); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; grid-column: span 2; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; overflow: hidden;
  border-radius: 24px; background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--card-shadow);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { border-color: var(--spot-line); }
.card::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s var(--ease); background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), var(--spot), transparent 62%); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card h3 { margin: 6px 0 0; font: 650 clamp(20px, 1.7vw, 24px)/1.15 var(--font); letter-spacing: -0.03em; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.5; max-width: 34em; }
.card-media { position: relative; display: grid; place-items: center; min-height: 190px; margin-bottom: 10px; border-radius: 16px; background: var(--media); overflow: hidden; }
.c-phone { grid-column: span 3; grid-row: span 2; }
.c-phone .card-media { flex: 1; min-height: 420px; background: radial-gradient(420px 300px at 50% 60%, var(--phone-glow), transparent 70%), var(--media); }
.c-desk, .c-status { grid-column: span 3; }
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.phone {
  width: 250px; display: grid; gap: 6px; padding: 14px 12px 18px; border-radius: 34px; background: #f6f3ee; color: #1d1b2b;
  box-shadow: 0 0 0 6px #16131e, 0 0 0 7px #3a3448, 0 40px 80px -30px rgba(22, 19, 30, 0.75); transform: rotate(-4deg);
}
.phone-island { justify-self: center; width: 74px; height: 20px; margin-bottom: 8px; border-radius: 999px; background: #16131e; }
.phone-title { margin: 0 6px 6px; font: 600 12px/1 var(--font); letter-spacing: 0.04em; color: #2f4bc9; text-transform: uppercase; }
.phone-row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: #fff; font: 600 14px/1.2 var(--font); }
.phone-row img { width: 34px; height: 34px; border-radius: 10px; image-rendering: pixelated; background: #f1ede6; }
.phone-row small { display: block; font: 400 11.5px/1.3 var(--font); color: #6a6676; }
.phone-row i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #3552d9; color: #fff; }
.phone-row i .i { width: 15px; height: 15px; }
.pills { gap: 10px; align-content: center; justify-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 13px; border-radius: 999px; background: var(--pill-bg); border: 1px solid var(--pill-line); font: 600 15px/1 var(--font); color: var(--ink); animation: pille 4.5s var(--ease) infinite; }
.pill:nth-child(2) { animation-delay: 1.5s; translate: 26px 0; }
.pill:nth-child(3) { animation-delay: 3s; translate: -18px 0; }
.landing .dot { box-shadow: none; }
.react img { width: 96px; height: 96px; border-radius: 26px; image-rendering: pixelated; background: var(--media-2); }
.fly { position: absolute; left: 50%; top: 58%; font-size: 30px; line-height: 1; opacity: 0; animation: fliegen 3.6s var(--ease) infinite; }
.fly:nth-of-type(2) { animation-delay: 1.2s; margin-left: 34px; }
.fly:nth-of-type(3) { animation-delay: 2.4s; margin-left: -52px; }
.share { align-content: center; }
.share-win { position: relative; width: 78%; aspect-ratio: 16 / 9; border-radius: 12px; background: #fff; border: 1px solid var(--card-line); display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 8%; padding: 16% 10% 10%; box-shadow: 0 30px 60px -34px rgba(22, 19, 30, 0.7); }
.share-win i { position: absolute; top: 7%; width: 6px; height: 6px; border-radius: 50%; background: #e7e1d7; }
.share-win i:nth-child(1) { left: 5%; } .share-win i:nth-child(2) { left: 9%; } .share-win i:nth-child(3) { left: 13%; }
.share-win b { display: block; border-radius: 4px; background: #3552d9; transform-origin: bottom; animation: balken 3.2s var(--ease) infinite alternate; }
.share-win b:nth-of-type(1) { height: 40%; } .share-win b:nth-of-type(2) { height: 75%; background: #8ea2ff; animation-delay: 0.4s; } .share-win b:nth-of-type(3) { height: 58%; background: #1d1b2b; animation-delay: 0.8s; }
.share .chip { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); }
.chat { gap: 8px; align-content: center; justify-items: start; padding: 16px; }
.chat > span { max-width: 92%; padding: 9px 12px; border-radius: 14px; font: 500 13.5px/1.35 var(--font); }
.msg-in { display: inline-flex; align-items: center; gap: 8px; background: var(--bubble-in); color: var(--ink); border-radius: 4px 14px 14px 14px; }
.msg-in img { width: 22px; height: 22px; border-radius: 7px; image-rendering: pixelated; }
.msg-out { justify-self: end; background: #3552d9; color: #fff; border-radius: 14px 4px 14px 14px; }
.msg-cast { display: inline-flex; gap: 8px; align-items: center; background: var(--cast-bg); color: var(--cast-text); border: 1px solid var(--cast-line); }
.msg-cast .i { width: 16px; height: 16px; color: var(--accent-text); flex: none; }

/* ---------------- 5 · Datenschutz ---------------- */
.privacy { padding: clamp(100px, 14vw, 190px) 0; background: linear-gradient(180deg, var(--bg), var(--priv-2)); }
.privacy-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.privacy-lead { max-width: 32em; margin: 24px 0 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--text-2); }
.numbers { list-style: none; margin: clamp(36px, 4vw, 52px) 0 32px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.numbers b { display: block; margin-bottom: 6px; font: 700 clamp(58px, 7vw, 108px)/0.9 var(--font); letter-spacing: -0.055em; color: var(--ink); font-variant-numeric: tabular-nums; }
.numbers small { margin-left: 0.04em; font-size: 0.5em; color: var(--accent-text); }
.numbers li > span { color: var(--text-2); font-size: 15px; }
.privacy-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.privacy-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 999px; border: 1px solid var(--card-line); background: var(--card); color: var(--text-2); font-size: 13.5px; }
.privacy-facts .i { width: 16px; height: 16px; color: var(--accent-text); }
.facade {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(8px, 1.1vw, 14px); padding: clamp(22px, 3vw, 36px);
  border-radius: 28px; background: var(--abendblau); box-shadow: 0 60px 140px -50px rgba(53, 82, 217, 0.7);
}
.facade i { aspect-ratio: 1; border-radius: 3px; background: #16131e; transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.facade i.an { background: #dfe5ff; box-shadow: 0 0 16px rgba(223, 229, 255, 0.45); }
.facade i.du { background: var(--licht); box-shadow: 0 0 22px rgba(255, 207, 90, 0.75); }

/* ---------------- 6 · Vergleich ---------------- */
.compare-sec { padding: clamp(90px, 12vw, 170px) 0 clamp(60px, 8vw, 110px); }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cmp { padding: clamp(26px, 3.2vw, 44px); border-radius: 28px; }
.cmp h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; font: 650 20px/1.2 var(--font); letter-spacing: -0.02em; }
.cmp h3 span { font-size: 24px; }
.cmp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.cmp li { font: 650 clamp(21px, 2.3vw, 32px)/1.18 var(--font); letter-spacing: -0.035em; }
.cmp.old { background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); }
.cmp.old h3 { color: var(--text-3); }
.cmp.old li { color: var(--text-3); }
.cmp.old li span { position: relative; }
.cmp.old li span::after { content: ''; position: absolute; left: -3px; right: -3px; top: 54%; height: 3px; border-radius: 3px; background: #e0503f; transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.compare.in .cmp.old li span::after { transform: scaleX(1); }
.compare.in .cmp.old li:nth-child(1) span::after { transition-delay: 0.35s; }
.compare.in .cmp.old li:nth-child(2) span::after { transition-delay: 0.55s; }
.compare.in .cmp.old li:nth-child(3) span::after { transition-delay: 0.75s; }
.compare.in .cmp.old li:nth-child(4) span::after { transition-delay: 0.95s; }
.cmp.new { background: var(--abendblau); color: #fff; box-shadow: 0 50px 120px -50px rgba(53, 82, 217, 0.8); }
.cmp.new h3 { color: rgba(255, 255, 255, 0.82); }
.cmp.new li { display: flex; align-items: flex-start; gap: 12px; color: #fff; }
.cmp.new li .i { width: 28px; height: 28px; margin-top: 0.08em; flex: none; stroke-width: 2.4; color: #fff; }

/* ---------------- 7 · Los geht's ---------------- */
.go { padding: clamp(60px, 8vw, 110px) 0; }
.go-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.go-steps li { padding: 26px 26px 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); }
.go-steps .n { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 16px; background: var(--media); border: 1px solid var(--card-line); font-size: 28px; line-height: 1; }
.go-steps h3 { margin: 0 0 8px; font: 650 24px/1.15 var(--font); letter-spacing: -0.03em; }
.go-steps p { margin: 0; color: var(--text-2); }

/* ---------------- 8 · Schluss ---------------- */
.finale { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); }
.finale-in { position: relative; overflow: hidden; padding: clamp(44px, 7vw, 110px); border-radius: 34px; background: var(--abendblau); color: #fff; }
.finale-in::after {
  content: ''; position: absolute; top: -10%; right: -6%; width: 52%; height: 130%; pointer-events: none;
  background: conic-gradient(from 90deg at 22px 22px, rgba(14, 12, 20, 0) 25%, rgba(14, 12, 20, 0.42) 0) 0 0 / 46px 46px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.finale h2 { position: relative; z-index: 1; margin: 0 0 26px; font: 700 clamp(64px, 11vw, 188px)/0.86 var(--font); letter-spacing: -0.06em; color: var(--kreide); }
.finale p { position: relative; z-index: 1; max-width: 30em; margin: 0 0 32px; font-size: clamp(17px, 1.5vw, 21px); color: rgba(255, 255, 255, 0.88); }
.landing .finale .btn { position: relative; z-index: 1; background: var(--kreide); color: var(--tinte); box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.5); }
.landing .finale .btn:hover { background: #fff; color: var(--tinte); }

/* ---------------- 9 · Fuß mit großer Wortmarke ---------------- */
.site-foot { padding: 10px 0 34px; }
.foot-wm { display: block; width: 100%; height: auto; margin: 10px 0 26px; overflow: visible; }
.foot-wm .wm-t { fill: var(--ink); }
.foot-wm .wm-px { fill: var(--licht-aus); }
.foot-mark.on .wm-px { animation: licht-an-fill 1.7s step-end 0.25s forwards; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; color: var(--text-3); font-size: 13px; }
.foot-row nav { display: flex; gap: 20px; }
.foot-row a { color: var(--text-2); }
.foot-row p { margin: 0; }

/* ---------------- Einblenden beim Scrollen ---------------- */
.js [data-reveal] { opacity: 0; translate: 0 34px; transition: opacity 0.9s var(--ease), translate 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; translate: 0 0; }

/* ---------------- Bewegungen ---------------- */
@keyframes hoch { to { transform: none; } }
@keyframes einblenden { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes licht-an {
  0% { background: var(--licht-aus); box-shadow: none; }
  7% { background: var(--licht); box-shadow: var(--glow); }
  13% { background: var(--licht-aus); box-shadow: none; }
  21% { background: var(--licht); box-shadow: var(--glow); }
  25% { background: var(--licht-aus); box-shadow: none; }
  38%, 100% { background: var(--licht); box-shadow: var(--glow); }
}
@keyframes licht-an-fill {
  0% { fill: var(--licht-aus); }
  7% { fill: var(--licht); }
  13% { fill: var(--licht-aus); }
  21% { fill: var(--licht); }
  25% { fill: var(--licht-aus); }
  38%, 100% { fill: var(--licht); }
}
@keyframes rollen { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes lauf { to { transform: translateX(-50%); } }
@keyframes klick { 0% { transform: scale(0.3); opacity: 0; } 15% { opacity: 1; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes tupfer { 0%, 100% { transform: scale(1); opacity: 0.9; } 10% { transform: scale(0.6); } }
@keyframes pille { 0%, 60%, 100% { box-shadow: 0 0 0 0 transparent; border-color: var(--pill-line); } 12%, 40% { box-shadow: 0 0 0 4px var(--pill-ring); border-color: var(--pill-on); } }
@keyframes fliegen { 0% { opacity: 0; transform: translate(-50%, 10px) scale(0.6); } 15% { opacity: 1; transform: translate(-50%, -10px) scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -110px) scale(1.1); } }
@keyframes balken { from { transform: scaleY(0.55); } to { transform: scaleY(1); } }

/* ---------------- Kleine Bildschirme ---------------- */
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .c-phone, .c-desk, .c-status { grid-column: span 1; grid-row: auto; }
  .c-phone { grid-column: span 2; }
  .c-phone .card-media { min-height: 380px; }
  .privacy-in { grid-template-columns: 1fr; }
  .facade { max-width: 520px; }
}
@media (max-width: 760px) {
  .nav { padding-left: 14px; gap: 10px; }
  .nav-links { display: none; }
  .nav-end { gap: 8px; }
  .hero-copy { bottom: 74px; }
  .hero-stage::before { background: linear-gradient(0deg, var(--scrim-1) 0%, var(--scrim-2) 50%, transparent 82%); }
  .hero-note { display: none; }
  .ui-bubbles { gap: 6px; }
  .ui-dock i { width: 34px; height: 34px; }
  .ui-dock i .i { width: 18px; height: 18px; }
  .story { height: 300vh; }
  .story-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 22px; padding-top: 84px; }
  .story-window { order: -1; aspect-ratio: 16 / 11; max-height: 42svh; border-radius: 20px; }
  .steps-live h3 { font-size: clamp(42px, 13vw, 64px); margin: 10px 0 12px; }
  .story-bar { margin-top: 22px; }
  .story-copy { align-self: start; }
  .bento { grid-template-columns: 1fr; }
  .c-phone { grid-column: auto; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .compare { grid-template-columns: 1fr; }
  .go-steps { grid-template-columns: 1fr; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}

/* ---------------- Weniger Bewegung ---------------- */
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero-stage { position: relative; }
  .hero-night { opacity: calc(0.6 * var(--nacht)); }
  .hero-claim, .hero-ui, .scroll-cue { display: none; }
  .hero-title .w > span, .hero-lead, .hero-ctas { animation: none; transform: none; opacity: 1; }
  .licht { animation: none; background: var(--licht); box-shadow: var(--glow); }
  .band { transform: none; }
  .band-row, .band-row.rev { transform: none; }
  .band-track { animation: none; }
  .story { height: auto; }
  .story-stage { position: relative; height: auto; padding-top: 90px; padding-bottom: 90px; }
  .steps-live { gap: 34px; }
  .steps-live li { grid-area: auto; opacity: 1; transform: none; }
  .story-bar, .sov:not(.sov-1) { display: none; }
  .card { transform: none; }
  .js [data-reveal] { opacity: 1; translate: none; }
  .js [data-reveal] .label { scale: 1; rotate: -3deg; transition: none; }
  .foot-wm .wm-px { fill: var(--licht); }
  .pill, .fly, .share-win b, .click::before, .click::after, .click i { animation: none; }
  .fly { opacity: 1; transform: translate(-50%, -40px); }
}
