/* ============================================================
   VisiCore — Powering your Displays.
   Design: "Premium Display" — dunkles Navy, Cyan-Glow,
   die Seite wirkt selbst wie ein hochwertiger Bildschirm.
   ============================================================ */

/* ---------- Fonts (selbst gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/sora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0;
}

/* ---------- Design Tokens ---------- */
:root {
  --bg: #070b12;
  --bg-raised: #0d131d;
  --bg-card: #0f1622;
  --line: rgba(120, 170, 210, 0.14);
  --line-strong: rgba(120, 180, 220, 0.28);
  --ink: #e8f0f7;
  --ink-dim: #9fb2c5;
  --ink-faint: #64788d;
  --cyan: #4cc3e8;
  --cyan-bright: #6fd8f7;
  --cyan-deep: #1793bd;
  --glow: rgba(76, 195, 232, 0.35);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Instrument Sans', 'Segoe UI', sans-serif;
  --wrap: 1160px;
  --header-h: 76px;
  --shadow: rgba(0, 0, 0, 0.7);
  --shadow-strong: rgba(0, 0, 0, 0.85);
  --status-green: #5fd99a;
  --status-green-text: #8fe7b8;
  --status-green-bg: rgba(95, 217, 154, 0.1);
  --status-green-border: rgba(95, 217, 154, 0.4);
  --status-red-text: #ff9c9c;
  --status-red-bg: rgba(255, 107, 107, 0.08);
  --status-red-border: rgba(255, 107, 107, 0.35);
  --status-amber: #f5b942;
  --ghost-stroke: rgba(110, 180, 220, 0.09);
  --on-accent: #04121b;
  color-scheme: dark;
}

/* ---------- Heller Modus ---------- */
:root[data-theme="light"] {
  --bg: #f6f8fb;
  --bg-raised: #eef2f7;
  --bg-card: #ffffff;
  --line: rgba(30, 60, 90, 0.12);
  --line-strong: rgba(20, 50, 80, 0.22);
  --ink: #10202f;
  --ink-dim: #45607a;
  --ink-faint: #7891a8;
  --cyan: #0f8fc0;
  --cyan-bright: #1baed6;
  --cyan-deep: #0b6f94;
  --glow: rgba(15, 143, 192, 0.25);
  --shadow: rgba(30, 41, 59, 0.12);
  --shadow-strong: rgba(30, 41, 59, 0.18);
  --status-green: #1f9d63;
  --status-green-text: #1f9d63;
  --status-green-bg: rgba(31, 157, 99, 0.1);
  --status-green-border: rgba(31, 157, 99, 0.35);
  --status-red-text: #d64545;
  --status-red-bg: rgba(214, 69, 69, 0.08);
  --status-red-border: rgba(214, 69, 69, 0.32);
  --status-amber: #b8790a;
  --ghost-stroke: rgba(15, 40, 60, 0.07);
  color-scheme: light;
}

/* Geräte-Mockups (TV/Handy/Browser-Fenster) simulieren echte Bildschirme
   und bleiben bewusst in beiden Modi dunkel — alle Tokens innerhalb
   dieser Container werden auf ihre Dunkel-Werte zurückgesetzt, damit
   Text/Rahmen/Hintergrund darin nicht mit dem Hellmodus umschalten. */
:root[data-theme="light"] .tv,
:root[data-theme="light"] .phone,
:root[data-theme="light"] .browser {
  --bg: #070b12;
  --bg-raised: #0d131d;
  --bg-card: #0f1622;
  --line: rgba(120, 170, 210, 0.14);
  --line-strong: rgba(120, 180, 220, 0.28);
  --ink: #e8f0f7;
  --ink-dim: #9fb2c5;
  --ink-faint: #64788d;
  --cyan: #4cc3e8;
  --cyan-bright: #6fd8f7;
  --cyan-deep: #1793bd;
  --glow: rgba(76, 195, 232, 0.35);
  --shadow: rgba(0, 0, 0, 0.7);
  --shadow-strong: rgba(0, 0, 0, 0.85);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

/* overflow-x: clip verhindert (anders als hidden), dass überstehende
   Deko-Elemente das Layout auf Mobilgeräten aufweiten */
html { overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Feines Raster im Hintergrund — wie die Pixelmatrix eines Displays */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(110, 160, 200, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 160, 200, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}

main { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-bright); }

::selection { background: var(--cyan-deep); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Utility ---------- */
.accent { color: var(--cyan); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan));
  border-radius: 2px;
}

.section { padding: 108px 0; position: relative; }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 16px 0 14px; }
.section-head p { color: var(--ink-dim); font-size: 18px; }

/* Scroll-Reveal — gestaffelt über --reveal-delay (setzt main.js pro Karte) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan-deep));
  color: #04121b;
  box-shadow: 0 6px 28px -6px var(--glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -6px var(--glow);
  color: #04121b;
}
.btn-ghost {
  background: rgba(76, 195, 232, 0.06);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-bright); background: rgba(76, 195, 232, 0.1); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
}
.logo:hover { color: var(--ink); }
.logo .vc-visi { color: var(--cyan); }
.logo .vc-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  margin-left: 5px;
  box-shadow: 0 0 10px var(--glow);
  align-self: center;
}

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-dim);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav .btn { padding: 11px 24px; font-size: 14.5px; }
.main-nav a.btn-primary { color: #04121b; } /* Menü-Linkfarbe darf den Button nicht überschreiben */
.main-nav a.btn-primary:hover { color: #04121b; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 11px;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 84px) 0 100px;
  overflow: hidden;
}
/* Lichtkegel hinter dem Hero — wie der Glow eines Screens im dunklen Raum */
.hero::before {
  content: '';
  position: absolute;
  top: -280px;
  right: -180px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(76, 195, 232, 0.14) 0%, transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -350px;
  left: -250px;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(23, 147, 189, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  margin: 20px 0 22px;
}
.hero-sub {
  font-size: 19px;
  color: var(--ink-dim);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-trust {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  list-style: none;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: var(--ink-dim);
}
.hero-trust svg { flex: none; }

/* Animierter Display-Mockup */
.hero-visual { position: relative; }
.tv {
  position: relative;
  border-radius: 18px;
  background: #10161f;
  border: 1px solid var(--line-strong);
  padding: 14px;
  box-shadow:
    0 40px 90px -30px var(--shadow-strong),
    0 0 80px -20px var(--glow);
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
}
.tv-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #060a10;
}
.tv-stand {
  width: 42%;
  height: 10px;
  margin: 14px auto 0;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #141b26, #0a0f16);
  border: 1px solid var(--line);
  border-top: none;
}

/* Cursor-reaktives Mockup: Screen "wacht auf" bei Mausbewegung über den Hero
   (nur Desktop-Maus, siehe .tv-awake-Toggle in js/main.js "Wow-Effekte").
   Bewusst nur für den Hero-TV, NICHT für den zweiten .tv in .demo-stage. */
.hero-visual .tv-screen {
  transition: box-shadow 0.6s ease, filter 0.6s ease;
  animation: tv-power-on 1.1s ease-out 0.9s both;
}
@keyframes tv-power-on {
  0%   { filter: brightness(0.15) saturate(0.6); }
  8%   { filter: brightness(1.35) saturate(1.3); }
  14%  { filter: brightness(0.3) saturate(0.7); }
  22%  { filter: brightness(1.15) saturate(1.15); }
  30%  { filter: brightness(0.8) saturate(0.9); }
  100% { filter: brightness(1) saturate(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual .tv-screen { animation: none; filter: brightness(1) saturate(1); }
}
.hero-visual .tv.tv-awake .tv-screen {
  filter: brightness(1.12) saturate(1.1);
  box-shadow:
    0 0 0 1px rgba(76, 195, 232, 0.35),
    0 0 46px 6px rgba(76, 195, 232, 0.28),
    inset 0 0 30px rgba(76, 195, 232, 0.12);
}

/* Rotierende Demo-Slides */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9%;
  opacity: 0;
  animation: slide-cycle 15s infinite;
}
.slide:nth-child(1) { animation-delay: 1s; background: linear-gradient(140deg, #0c2233 0%, #071018 70%); }
.slide:nth-child(2) { animation-delay: 6s; background: linear-gradient(140deg, #1a1206 0%, #0c0903 70%); }
.slide:nth-child(3) { animation-delay: 11s; background: linear-gradient(140deg, #0a1f14 0%, #060f0a 70%); }

@keyframes slide-cycle {
  0%      { opacity: 0; transform: scale(1.04); }
  3%, 30% { opacity: 1; transform: scale(1); }
  36%, 100% { opacity: 0; transform: scale(1); }
}

.slide-tag {
  font-family: var(--font-display);
  font-size: clamp(8px, 1.1vw, 11px);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 4%;
}
.slide-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}
.slide-meta {
  margin-top: 5%;
  font-size: clamp(9px, 1.3vw, 13px);
  color: rgba(255, 255, 255, 0.65);
}
.slide:nth-child(1) .slide-tag { color: var(--cyan); }
.slide:nth-child(2) .slide-tag { color: #f5b942; }
.slide:nth-child(3) .slide-tag { color: #5fd99a; }

/* Foto-Hintergründe in den Demo-Bildschirmen */
.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 7, 12, 0.86) 0%, rgba(3, 7, 12, 0.55) 52%, rgba(3, 7, 12, 0.08) 100%);
}
.slide > *:not(.slide-bg):not(.slide-scrim),
.demo-slide > *:not(.slide-bg):not(.slide-scrim) { position: relative; z-index: 2; }
.slide-bg { z-index: 0; }
.slide-scrim { z-index: 1; }

/* Fortschrittsbalken unten im Screen */
.tv-progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  width: 100%;
  transform-origin: left;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-bright));
  animation: progress 5s linear infinite;
  z-index: 5;
}
@keyframes progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Kleines schwebendes Badge am Mockup */
.tv-badge {
  position: absolute;
  left: -26px;
  bottom: 46px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 50px -12px var(--shadow);
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: float 5.5s ease-in-out infinite, badge-connect 0.5s ease-out 1.7s forwards;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes badge-connect {
  from { opacity: 0; filter: blur(4px); }
  to   { opacity: 1; filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .tv-badge { animation: none; opacity: 1; }
}
.tv-badge .pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--status-green);
  box-shadow: 0 0 0 0 rgba(95, 217, 154, 0.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(95, 217, 154, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(95, 217, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 217, 154, 0); }
}
.tv-badge strong { font-size: 13.5px; display: block; font-family: var(--font-display); }
.tv-badge small { font-size: 12px; color: var(--ink-faint); }

/* ---------- Stats-Band ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 42px 0;
}
.stat { text-align: center; }
.stat b {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--cyan);
  display: block;
  letter-spacing: -0.02em;
}
.stat span { color: var(--ink-dim); font-size: 15px; }

/* ---------- Problem / Lösung ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.compare-col {
  border-radius: var(--radius-lg);
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.compare-col.is-new {
  border-color: rgba(76, 195, 232, 0.4);
  background: linear-gradient(160deg, rgba(76, 195, 232, 0.08), var(--bg-card) 55%);
  box-shadow: 0 0 60px -25px var(--glow);
}
.compare-col h3 {
  font-size: 20px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.compare-col ul { list-style: none; display: grid; gap: 14px; }
.compare-col li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-dim);
  font-size: 16px;
}
.compare-col li svg { flex: none; margin-top: 4px; }

/* Motion-Grafik: Chaos-vs-Klarheit-Icon je Spalte */
.compare-art { width: 56px; height: 56px; margin-bottom: 16px; }
.compare-art svg { width: 100%; height: 100%; display: block; }
.compare-art--old .compare-curl {
  transform-box: fill-box;
  transform-origin: 100% 0%;
  animation: paper-curl 4.5s ease-in-out infinite;
}
.compare-art--old svg { animation: paper-flicker 3.6s ease-in-out infinite; }
@keyframes paper-curl {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-16deg); }
}
@keyframes paper-flicker {
  0%, 86%, 100% { opacity: 1; }
  89% { opacity: 0.55; }
  91% { opacity: 1; }
  93% { opacity: 0.7; }
  95% { opacity: 1; }
}
.compare-art--new .compare-ping {
  transform-box: fill-box;
  transform-origin: center;
  animation: netmap-pulse 2.4s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .compare-art--old .compare-curl { animation: none; transform: rotate(-8deg); }
  .compare-art--old svg { animation: none; }
  .compare-art--new .compare-ping { animation: none; opacity: 0; }
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  background: var(--bg-card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px -20px var(--shadow);
}
.feature:hover::after { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(76, 195, 232, 0.1);
  border: 1px solid rgba(76, 195, 232, 0.25);
  margin-bottom: 22px;
}
.feature h3 { font-size: 18.5px; margin-bottom: 10px; }
.feature p { color: var(--ink-dim); font-size: 15.5px; }

/* ---------- Schritte ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 30px 34px;
  background: var(--bg-card);
}
.step-num {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(76, 195, 232, 0.05) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--ink-dim); font-size: 15.5px; }

/* ---------- Zielgruppen ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.audience {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  background: var(--bg-card);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.audience:hover { border-color: rgba(76, 195, 232, 0.45); transform: translateY(-4px); }
.audience h3 { font-size: 17px; margin: 16px 0 8px; }
.audience p { font-size: 14.5px; color: var(--ink-dim); }

/* ---------- Live-Netzwerkkarte (stilisiert, nicht geografisch) ---------- */
.netmap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 40px 32px 30px;
  box-shadow: 0 30px 70px -35px var(--shadow);
}
.netmap-svg { display: block; width: 100%; height: auto; }
.netmap-line { fill: none; stroke: var(--line-strong); stroke-width: 1.4; stroke-dasharray: 3 5; }
.netmap-hub circle:last-child { fill: var(--cyan); }
.netmap-hub-ring {
  fill: none; stroke: var(--cyan); stroke-width: 1.5; opacity: 0.55;
  transform-box: fill-box; transform-origin: center;
  animation: netmap-pulse 2.4s ease-out infinite;
}
.netmap-node circle:last-child { fill: var(--cyan-bright); }
.netmap-ping {
  fill: none; stroke: var(--cyan-bright); stroke-width: 1.4; opacity: 0.6;
  transform-box: fill-box; transform-origin: center;
  animation: netmap-pulse 2.6s ease-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes netmap-pulse {
  0%   { opacity: 0.55; transform: scale(1); }
  70%  { opacity: 0; transform: scale(3.2); }
  100% { opacity: 0; transform: scale(3.2); }
}
.netmap-legend {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 24px; margin-top: 24px; font-size: 14px; color: var(--ink-dim);
}
.netmap-legend li { display: flex; align-items: center; gap: 8px; }
.netmap-legend li::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan-bright); flex: none;
}
.netmap-caption {
  margin-top: 18px; text-align: center; font-size: 13px;
  font-style: italic; color: var(--ink-faint);
}
@media (prefers-reduced-motion: reduce) {
  .netmap-hub-ring, .netmap-ping { animation: none; opacity: 0; }
}

/* ---------- Preise ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  background: var(--bg-card);
  position: relative;
}
.plan.is-featured {
  border-color: rgba(76, 195, 232, 0.55);
  background: linear-gradient(170deg, rgba(76, 195, 232, 0.1), var(--bg-card) 50%);
  box-shadow: 0 0 70px -25px var(--glow);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan-deep));
  color: #04121b;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan h3 { font-size: 20px; }
.plan-desc { color: var(--ink-dim); font-size: 14.5px; margin: 8px 0 24px; min-height: 44px; }
.plan-price {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.plan-price small {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0;
}
.plan-price .ab {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-dim);
  vertical-align: super;
  margin-right: 2px;
}
.plan ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 26px 0 32px;
  flex: 1;
}
.plan li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-dim);
}
.plan li svg { flex: none; margin-top: 4px; }
.plan .btn { width: 100%; }
.pricing-note {
  margin-top: 28px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 14px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item[open] { border-color: rgba(76, 195, 232, 0.4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--cyan);
  transition: transform 0.25s ease;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 26px 24px;
  color: var(--ink-dim);
  font-size: 15.5px;
}

/* ---------- Blog ---------- */
.blog-list { max-width: 780px; display: grid; gap: 14px; }
.blog-post {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.blog-post[open], .blog-post:target { border-color: rgba(76, 195, 232, 0.4); }
.blog-post summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.blog-post summary::-webkit-details-marker { display: none; }
.blog-post summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--cyan);
  transition: transform 0.25s ease;
  flex: none;
  order: 3;
  margin-left: auto;
}
.blog-post[open] summary::after { transform: rotate(45deg); }
.blog-post-title {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
}
.blog-post-date {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-faint);
  white-space: nowrap;
}
.blog-post-body {
  padding: 0 26px 24px;
  color: var(--ink-dim);
  font-size: 15.5px;
}
.blog-post-body p { margin-bottom: 14px; }
.blog-post-body p:last-child { margin-bottom: 0; }
.blog-post-body h3 { font-size: 17.5px; margin: 22px 0 10px; color: var(--ink); }
.blog-post-image { width: 100%; max-height: 320px; object-fit: cover; border-radius: var(--radius); margin-bottom: 4px; display: block; }
.blog-post-body ul { color: var(--ink-dim); margin: 0 0 14px 22px; display: grid; gap: 6px; }
.blog-post-body strong { color: var(--ink); }
.blog-post-body blockquote { border: none; margin: 0 0 6px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.blog-post-body blockquote::before { content: '\201E'; color: var(--cyan); }
.blog-post-body blockquote::after { content: '\201C'; color: var(--cyan); }
.blog-post-body cite { display: block; font-style: normal; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--cyan); margin-bottom: 14px; }
.blog-post-body cite small { display: block; color: var(--ink-faint); font-weight: 400; font-family: var(--font-body); margin-top: 2px; }

/* ---------- Kontakt ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-info { display: grid; gap: 26px; }
.contact-line {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-line .feature-icon { width: 46px; height: 46px; margin: 0; flex: none; }
.contact-line strong { display: block; font-family: var(--font-display); font-size: 15.5px; }
.contact-line a, .contact-line span { color: var(--ink-dim); font-size: 15.5px; }
.contact-line a:hover { color: var(--cyan); }
.contact-vcard-btn { justify-self: start; margin-top: 4px; }

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 40px;
  display: grid;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-dim);
}
.field label .req { color: var(--cyan); }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(76, 195, 232, 0.15);
}
.field textarea { min-height: 140px; resize: vertical; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-dim);
}
.consent input {
  flex: none;
  width: 19px; height: 19px;
  margin-top: 2px;
  accent-color: var(--cyan);
  cursor: pointer;
}

/* Honeypot — für Menschen unsichtbar */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
}
.form-status.ok {
  display: block;
  background: var(--status-green-bg);
  border: 1px solid var(--status-green-border);
  color: var(--status-green-text);
}
.form-status.err {
  display: block;
  background: var(--status-red-bg);
  border: 1px solid var(--status-red-border);
  color: var(--status-red-text);
}

/* ---------- CTA-Band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(76, 195, 232, 0.35);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(76, 195, 232, 0.16), transparent 55%),
    var(--bg-card);
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 14px; }
.cta-band p { color: var(--ink-dim); max-width: 560px; margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 85%, black);
  padding: 64px 0 36px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 48px;
}
.footer-brand p { color: var(--ink-faint); font-size: 15px; margin-top: 14px; max-width: 320px; }
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: var(--ink-dim); font-size: 15px; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--ink-faint);
  font-size: 13.5px;
}
.footer-bottom a { color: var(--ink-faint); }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 200;
  width: min(430px, calc(100vw - 48px));
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 30px 80px -20px var(--shadow-strong);
  backdrop-filter: blur(12px);
  transform: translateY(24px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, visibility 0.4s;
}
.cookie-banner.show {
  transform: none;
  opacity: 1;
  visibility: visible;
}
.cookie-banner h3 {
  font-size: 17px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-banner p { font-size: 14px; color: var(--ink-dim); margin-bottom: 18px; }
.cookie-banner p a { text-decoration: underline; text-underline-offset: 3px; }

.cookie-options { display: grid; gap: 10px; margin-bottom: 20px; }
.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
}
.cookie-option .co-label strong { display: block; font-size: 14px; font-family: var(--font-display); }
.cookie-option .co-label small { color: var(--ink-faint); font-size: 12.5px; }

/* Switch */
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track {
  position: absolute; inset: 0;
  background: rgba(120, 170, 210, 0.2);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.switch .track::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s ease;
}
.switch input:checked + .track { background: var(--cyan-deep); }
.switch input:checked + .track::before { transform: translateX(18px); }
.switch input:disabled + .track { opacity: 0.55; cursor: not-allowed; }

.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions .btn { padding: 12px 18px; font-size: 14px; }
.cookie-actions .btn-wide { grid-column: 1 / -1; }

.whatsapp-btn {
  position: fixed;
  right: 20px;
  bottom: 188px;
  z-index: 150;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  color: var(--cyan);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -8px var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.whatsapp-btn:hover { transform: scale(1.08); border-color: var(--cyan); }

.theme-toggle {
  position: fixed;
  right: 20px;
  bottom: 132px;
  z-index: 150;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  color: var(--cyan);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -8px var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.theme-toggle:hover { transform: scale(1.08); border-color: var(--cyan); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }
.theme-toggle::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan);
  opacity: 0;
  pointer-events: none;
  animation: theme-toggle-pulse 2.4s ease-out infinite;
}
@keyframes theme-toggle-pulse {
  0% { opacity: 0.55; transform: scale(0.85); }
  70% { opacity: 0; transform: scale(1.4); }
  100% { opacity: 0; transform: scale(1.4); }
}
@media (prefers-reduced-motion: reduce) {
  .theme-toggle::before { animation: none; display: none; }
}

/* Kreisförmiger Wipe-Effekt beim Theme-Wechsel (siehe js/main.js) */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-new(root) {
  clip-path: circle(0% at var(--vt-x, 50%) var(--vt-y, 50%));
  animation: vt-circle-reveal 0.6s ease-in-out forwards;
}
@keyframes vt-circle-reveal {
  to { clip-path: circle(var(--vt-r, 150%) at var(--vt-x, 50%) var(--vt-y, 50%)); }
}

.cookie-reopen {
  position: fixed;
  bottom: 76px;
  right: 20px;
  z-index: 150;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  color: var(--cyan);
  cursor: pointer;
  display: none;
  place-items: center;
  box-shadow: 0 10px 30px -8px var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cookie-reopen:hover { transform: scale(1.08); border-color: var(--cyan); }
.cookie-reopen.show { display: grid; }

/* ---------- Downloads-Seite (APK-Karten) ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 32px;
}
.download-meta {
  color: var(--ink-faint);
  font-size: 13px;
  margin: 4px 0 14px;
}
.download-btn { width: 100%; }

/* ---------- Rechtsseiten ---------- */
.legal-page { padding: calc(var(--header-h) + 70px) 0 100px; }
.legal-page .wrap { max-width: 800px; }
.legal-page h1 { font-size: clamp(30px, 4vw, 42px); margin: 14px 0 10px; }
.legal-updated { color: var(--ink-faint); font-size: 14.5px; margin-bottom: 44px; }
.legal-body h2 {
  font-size: 22px;
  margin: 44px 0 14px;
  padding-top: 8px;
}
.legal-body h3 { font-size: 17.5px; margin: 26px 0 10px; }
.legal-body p { color: var(--ink-dim); margin-bottom: 14px; }
.legal-body ul { color: var(--ink-dim); margin: 0 0 14px 22px; display: grid; gap: 6px; }
.legal-body strong { color: var(--ink); }
.legal-body address {
  font-style: normal;
  color: var(--ink-dim);
  border-left: 2px solid var(--cyan);
  padding: 4px 0 4px 18px;
  margin: 18px 0;
}
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px;
  font-size: 14.5px;
}
.legal-body th, .legal-body td {
  text-align: left;
  padding: 11px 14px;
  border: 1px solid var(--line);
  color: var(--ink-dim);
}
.legal-body th {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(76, 195, 232, 0.06);
}

/* ---------- Slide-Artwork im Hero-TV ---------- */
.slide { padding-right: 42%; }
.slide-art {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 33%;
}
.slide-art svg { width: 100%; height: auto; display: block; }

/* ---------- Schwebendes Smartphone am Hero ---------- */
.phone {
  position: absolute;
  right: -14px;
  bottom: -34px;
  width: 158px;
  background: #10161f;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 9px;
  box-shadow: 0 26px 60px -16px var(--shadow-strong), 0 0 46px -18px var(--glow);
  animation: float 6.5s ease-in-out 0.8s infinite;
  z-index: 3;
}
.phone-screen {
  background: #070b12;
  border-radius: 17px;
  padding: 13px 12px;
  overflow: hidden;
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.phone-head .vc-visi { color: var(--cyan); }
.phone-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px;
  margin-bottom: 8px;
}
.phone-thumb {
  height: 34px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0c2233, #14405c);
  position: relative;
  overflow: hidden;
  margin-bottom: 7px;
}
.phone-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.14) 50%, transparent 60%);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}
.phone-line { height: 5px; border-radius: 3px; background: rgba(159, 178, 197, 0.3); margin-bottom: 5px; }
.phone-line.short { width: 62%; margin-bottom: 0; }
.phone-btn {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  color: #04121b;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan-deep));
  border-radius: 100px;
  padding: 7px 0;
}

/* ---------- Plattform-Sektion (Browser-Mockup) ---------- */
.platform-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.platform-copy h2 { font-size: clamp(28px, 4vw, 40px); margin: 16px 0 16px; }
.platform-copy > p { color: var(--ink-dim); font-size: 17.5px; margin-bottom: 26px; }
.platform-points { list-style: none; display: grid; gap: 14px; }
.platform-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-dim); font-size: 16px; }
.platform-points li svg { flex: none; margin-top: 4px; }
.platform-points b { color: var(--ink); }

/* Motion-Grafik: Pinnwand-Zettel löst sich, Bildschirm leuchtet dahinter auf */
.zettel-art { width: 100%; max-width: 360px; margin-inline: auto; }
.zettel-art svg { width: 100%; height: auto; display: block; overflow: visible; }
.zettel-fly {
  transform-box: fill-box;
  transform-origin: center;
  animation: zettel-fly 5.5s ease-in-out infinite;
}
@keyframes zettel-fly {
  0%, 20%   { transform: translate(0, 0) rotate(4deg); opacity: 1; }
  55%       { transform: translate(74px, -58px) rotate(30deg); opacity: 0; }
  56%, 100% { transform: translate(0, 0) rotate(4deg); opacity: 1; }
}
.zettel-screen {
  animation: zettel-glow 3.4s ease-in-out infinite;
}
@keyframes zettel-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(76, 195, 232, 0)); }
  50%      { filter: drop-shadow(0 0 10px rgba(76, 195, 232, 0.55)); }
}
@media (prefers-reduced-motion: reduce) {
  .zettel-fly { animation: none; }
  .zettel-screen { animation: none; filter: drop-shadow(0 0 6px rgba(76, 195, 232, 0.35)); }
}

.browser {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #0c121b;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px var(--shadow-strong), 0 0 70px -25px var(--glow);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 19, 29, 0.9);
}
.browser-bar .b-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-bar .b-dot:nth-child(1) { background: #ff6b6b; }
.browser-bar .b-dot:nth-child(2) { background: #f5b942; }
.browser-bar .b-dot:nth-child(3) { background: #5fd99a; }
.browser-url {
  flex: 1;
  max-width: 250px;
  margin-left: 10px;
  font-size: 12px;
  color: var(--ink-faint);
  background: rgba(7, 11, 18, 0.8);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.browser-url svg { flex: none; }
.browser-body { display: grid; grid-template-columns: 168px 1fr; min-height: 350px; }
.b-side {
  border-right: 1px solid var(--line);
  padding: 18px 12px;
  background: rgba(7, 11, 18, 0.55);
}
.b-side .logo { font-size: 15px; margin: 0 8px 18px; display: block; }
.b-side .logo .vc-dot { width: 5px; height: 5px; }
.b-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-dim);
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 3px;
}
.b-nav-item.active {
  background: rgba(76, 195, 232, 0.12);
  color: var(--cyan-bright);
  font-weight: 600;
}
.b-nav-item svg { flex: none; opacity: 0.8; }
.b-main { padding: 20px 22px; }
.b-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.b-head h5 { font-family: var(--font-display); font-size: 15px; color: var(--ink); }
.b-new {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  color: #04121b;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan-deep));
  border-radius: 100px;
  padding: 7px 14px;
}
.b-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.b-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0f1622; /* Teil des Browser-Mockups, bleibt in beiden Modi dunkel */
  padding: 9px;
}
.b-thumb { height: 52px; border-radius: 7px; margin-bottom: 8px; position: relative; overflow: hidden; }
.b-card:nth-child(1) .b-thumb { background: linear-gradient(135deg, #14405c, #0c2233); }
.b-card:nth-child(2) .b-thumb { background: linear-gradient(135deg, #5c4514, #33260c); }
.b-card:nth-child(3) .b-thumb { background: linear-gradient(135deg, #14512f, #0c3320); }
.b-thumb svg { position: absolute; inset: 0; margin: auto; }
.b-card b { display: block; font-size: 11.5px; color: var(--ink); font-family: var(--font-display); margin-bottom: 5px; }
.b-chip {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 100px;
  padding: 2.5px 9px;
}
.b-chip.live { background: rgba(95, 217, 154, 0.14); color: #5fd99a; }
.b-chip.plan { background: rgba(245, 185, 66, 0.14); color: #f5b942; }
.b-screens {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(7, 11, 18, 0.5);
  padding: 12px 14px;
}
.b-screens h6 {
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 9px;
}
.b-screen-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--ink-dim);
  padding: 5px 0;
}
.b-screen-row .st { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.b-screen-row .st.on { background: #5fd99a; box-shadow: 0 0 8px rgba(95, 217, 154, 0.7); }
.b-screen-row .st.on.p1 { animation: pulse 2.2s infinite; }
.b-screen-row .st.off { background: rgba(159, 178, 197, 0.3); }
.b-screen-row .b-time { margin-left: auto; font-size: 11px; color: var(--ink-faint); }

/* ---------- Illustrationen in den Schritten ---------- */
.step-art {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.step-art svg { height: 100%; width: auto; max-width: 100%; }

/* ---------- Szenen-Bilder der Zielgruppen ---------- */
.audience-art {
  height: 150px;
  border-radius: 12px;
  margin-bottom: 4px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.audience-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.audience:hover .audience-art img { transform: scale(1.07); }

/* ============================================================
   Version 2.0
   ============================================================ */

/* ---------- Skip-Link (Barrierefreiheit) ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 300;
  background: var(--cyan);
  color: #04121b;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 0 0 12px 12px;
  transition: top 0.25s ease;
}
.skip-link:focus { top: 0; color: #04121b; }

/* ---------- Live-Demo ---------- */
.demo-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 34px;
}
.demo-tab {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-dim);
  background: rgba(76, 195, 232, 0.05);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 12px 26px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.demo-tab:hover { border-color: var(--cyan); color: var(--ink); }
.demo-tab.active {
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan-deep));
  color: #04121b;
  border-color: transparent;
  box-shadow: 0 6px 24px -6px var(--glow);
}
.demo-stage { max-width: 760px; margin-inline: auto; }
.demo-stage .tv { transform: none; }
.demo-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9% 42% 9% 9%;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
}
.demo-slide.active { opacity: 1; visibility: visible; transform: none; }
.demo-slide .slide-art { width: 30%; }
.demo-hint {
  text-align: center;
  color: var(--ink-faint);
  font-size: 14.5px;
  margin-top: 22px;
}

/* ---------- Ersparnis-Rechner ---------- */
.calc-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 44px;
}
.calc-fields { display: grid; gap: 32px; align-content: start; }
.calc-wrap > * { min-width: 0; }
.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}
.calc-field output {
  color: var(--cyan-bright);
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}
.calc-field input[type='range'] {
  width: 100%;
  accent-color: var(--cyan);
  cursor: pointer;
  height: 6px;
}
.calc-note { color: var(--ink-faint); font-size: 13.5px; }
.calc-result {
  border: 1px solid rgba(76, 195, 232, 0.4);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(76, 195, 232, 0.12), transparent 65%),
    color-mix(in srgb, var(--bg) 60%, transparent);
  padding: 32px;
  display: grid;
  gap: 20px;
  align-content: center;
  text-align: center;
}
.calc-row span { display: block; color: var(--ink-dim); font-size: 14px; margin-bottom: 4px; }
.calc-row b {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.calc-row.highlight b {
  font-size: 40px;
  color: var(--status-green);
  text-shadow: 0 0 30px color-mix(in srgb, var(--status-green) 35%, transparent);
}
:root[data-theme="light"] .calc-row.highlight b { text-shadow: none; }
.calc-row b.pop { animation: calcpop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes calcpop {
  0% { transform: scale(1); }
  45% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.calc-divider { height: 1px; background: var(--line); }

/* Motion-Grafik: Ersparnis-Messbalken, reagiert live auf die Regler */
.calc-gauge { width: 100%; }
.calc-gauge svg { width: 100%; height: auto; display: block; overflow: visible; }
.calc-gauge-fill { transition: width 0.4s cubic-bezier(0.34, 1.2, 0.64, 1); }
.calc-gauge-coin {
  transform-box: fill-box;
  transform-origin: center;
}
.calc-gauge-coin-circle, .calc-gauge-coin-label {
  transition: cx 0.4s cubic-bezier(0.34, 1.2, 0.64, 1), x 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.calc-gauge-coin.pop { animation: calcpop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1); }
@media (prefers-reduced-motion: reduce) {
  .calc-gauge-fill, .calc-gauge-coin-circle, .calc-gauge-coin-label { transition: none; }
  .calc-gauge-coin.pop { animation: none; }
}

/* ---------- VisiCore Player (Hardware) ---------- */
.player-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.player-figure {
  background: linear-gradient(170deg, #ffffff, #e9eef4);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: 0 40px 90px -30px var(--shadow-strong), 0 0 70px -30px var(--glow);
  position: relative;
}
.player-figure img { width: 100%; height: auto; border-radius: 8px; }
.player-figure .player-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #0d1218;
  color: var(--cyan);
  border-radius: 100px;
  padding: 7px 15px;
}
.player-copy h2 { font-size: clamp(28px, 4vw, 40px); margin: 16px 0 16px; }
.player-copy > p { color: var(--ink-dim); font-size: 17.5px; margin-bottom: 26px; }
.player-specs {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 30px;
}
.player-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(76, 195, 232, 0.04);
  padding: 11px 14px;
}
.player-specs svg { flex: none; }
.player-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.player-option {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 24px 22px;
}
.player-option.is-featured {
  border-color: rgba(76, 195, 232, 0.5);
  background: linear-gradient(170deg, rgba(76, 195, 232, 0.09), var(--bg-card) 60%);
}
.player-option .po-badge {
  position: absolute;
  top: -11px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan-deep));
  color: #04121b;
  border-radius: 100px;
  padding: 4px 12px;
}
.player-option h3 { font-size: 16px; margin-bottom: 4px; }
.player-option .po-price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cyan-bright);
  margin-bottom: 12px;
}
.player-option .po-price small { font-size: 12.5px; font-weight: 500; color: var(--ink-faint); letter-spacing: 0; }
.player-option ul { list-style: none; display: grid; gap: 7px; }
.player-option li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--ink-dim); }
.player-option li svg { flex: none; margin-top: 3px; }
.player-note { color: var(--ink-faint); font-size: 14px; }
.player-note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Versprechen & Vertrauen ---------- */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.promise {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.promise:hover { border-color: rgba(76, 195, 232, 0.45); transform: translateY(-4px); }
.promise .feature-icon { margin: 0 auto 16px; }
.promise h3 { font-size: 16px; margin-bottom: 8px; }
.promise p { font-size: 13.5px; color: var(--ink-dim); }

.founder {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(76, 195, 232, 0.35);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 0% 50%, rgba(76, 195, 232, 0.1), transparent 55%),
    var(--bg-card);
  padding: 40px 44px;
}
.founder-mark {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan-deep));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #04121b;
  flex: none;
  box-shadow: 0 0 40px -8px var(--glow);
}
.founder-photo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  background: rgba(76, 195, 232, 0.06); /* Hauch von Tiefe hinter dem freigestellten Foto */
  flex: none;
  align-self: start;
}
.founder blockquote {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--ink);
  border: none;
  margin: 0 0 14px;
}
.founder blockquote::before { content: '\201E'; color: var(--cyan); font-size: 26px; }
.founder blockquote::after { content: '\201C'; color: var(--cyan); font-size: 26px; }
.founder cite {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
}
.founder cite small { display: block; color: var(--ink-faint); font-weight: 400; font-family: var(--font-body); margin-top: 2px; }

.pilot-banner {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px dashed rgba(95, 217, 154, 0.5);
  border-radius: var(--radius);
  background: rgba(95, 217, 154, 0.05);
  padding: 24px 30px;
}
.pilot-banner strong { font-family: var(--font-display); font-size: 17px; display: block; margin-bottom: 4px; }
.pilot-banner p { color: var(--ink-dim); font-size: 15px; margin: 0; }
.pilot-banner .btn { flex: none; }

/* ---------- Kundenstimmen (aktivieren, sobald echte Zitate vorliegen) ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial .stars { color: var(--status-amber); font-size: 15px; letter-spacing: 3px; }
.testimonial blockquote { border: none; margin: 0; color: var(--ink-dim); font-size: 15.5px; line-height: 1.65; flex: 1; }
.testimonial cite {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.testimonial cite small { display: block; color: var(--ink-faint); font-weight: 400; font-family: var(--font-body); }

/* ---------- Nach-oben-Button ---------- */
.to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 150;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  color: var(--cyan);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -8px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, border-color 0.2s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--cyan); }

/* ---------- 404 ---------- */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 24px;
}
.error-page .err-code {
  font-family: var(--font-display);
  font-size: clamp(90px, 18vw, 160px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(76, 195, 232, 0.06) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-page h1 { font-size: clamp(22px, 4vw, 32px); margin: 10px 0 14px; }
.error-page p { color: var(--ink-dim); max-width: 440px; margin: 0 auto 30px; }

/* ============================================================
   WOW-OVERHAUL (v3)
   ============================================================ */

/* ---------- Hero-Foto als Atmosphäre-Ebene ---------- */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 12%, color-mix(in srgb, var(--bg) 72%, transparent) 45%, color-mix(in srgb, var(--bg) 30%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 60%, transparent) 0%, transparent 30%, transparent 60%, var(--bg) 100%);
}
.hero .aurora, .hero .wrap { position: relative; }

/* ---------- Aurora: wabernde Farbnebel im Hero ---------- */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.aurora span:nth-child(1) {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(76, 195, 232, 0.4), transparent 65%);
  top: -160px; right: -60px;
  animation: drift1 16s ease-in-out infinite alternate, aurora-rise 1.4s ease-out 0.4s both;
}
.aurora span:nth-child(2) {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(23, 100, 189, 0.36), transparent 65%);
  bottom: -140px; left: -120px;
  animation: drift2 20s ease-in-out infinite alternate, aurora-rise 1.4s ease-out 0.4s both;
}
.aurora span:nth-child(3) {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(111, 216, 247, 0.22), transparent 65%);
  top: 30%; left: 34%;
  animation: drift3 24s ease-in-out infinite alternate, aurora-rise 1.4s ease-out 0.4s both;
}
@keyframes aurora-rise {
  from { opacity: 0; }
  to   { opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora span { animation: none; opacity: 0.55; }
}
@keyframes drift1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-120px, 90px) scale(1.15); } }
@keyframes drift2 { from { transform: translate(0, 0) scale(1); } to { transform: translate(140px, -70px) scale(1.1); } }
@keyframes drift3 { from { transform: translate(0, 0) scale(0.9); } to { transform: translate(-90px, -110px) scale(1.2); } }

/* ---------- Hero XXL ---------- */
.hero h1 {
  font-size: clamp(38px, 5.6vw, 74px);
  letter-spacing: -0.03em;
  line-height: 1.06;
  overflow-wrap: break-word;
  hyphens: auto;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--cyan-bright), var(--cyan), #8ee6ff, var(--cyan-bright));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5.5s linear infinite;
}
.hero h1 .accent::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 0.85em;
  margin-left: 2px;
  background: var(--cyan-bright);
  animation: blink 1s step-start infinite;
  vertical-align: -0.1em;
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes shine { to { background-position: -220% 0; } }

/* Einlauf-Animation beim Seitenstart */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: none; }
}
.hero-copy > * { opacity: 0; animation: heroIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.3s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.44s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.58s; }
.hero-visual { opacity: 0; animation: heroIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards; }

/* ---------- Cursor-Spotlight ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 195, 232, 0.08), transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.cursor-glow.on { opacity: 1; }
/* mix-blend-mode: screen wirkt auf hellem Hintergrund nicht — Effekt im Hellmodus deaktivieren */
:root[data-theme="light"] .cursor-glow { display: none !important; }
@media (pointer: coarse) { .cursor-glow { display: none; } }

/* ---------- Laufband-Ticker ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-raised) 60%, transparent);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 56px;
}
.marquee-track span i {
  font-style: normal;
  color: var(--cyan);
  font-size: 12px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Geisterwörter hinter Sektionen ---------- */
.ghost-word {
  position: absolute;
  top: 26px;
  right: 0;
  max-width: 100%;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(70px, 13vw, 170px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--ghost-stroke);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}
.section > .wrap { position: relative; z-index: 1; }

/* ---------- Bento-Grid für Funktionen ---------- */
.features-grid.bento { grid-template-columns: repeat(4, 1fr); }
.features-grid.bento .feature:nth-child(1) {
  grid-column: span 2;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(76, 195, 232, 0.14), transparent 55%),
    var(--bg-card);
  border-color: rgba(76, 195, 232, 0.35);
}
.features-grid.bento .feature:nth-child(2) { grid-column: span 2; }
.features-grid.bento .feature:nth-child(6) { grid-column: span 2; }
.features-grid.bento .feature:nth-child(1) h3 { font-size: 22px; }
.features-grid.bento .feature:nth-child(1) p { font-size: 16.5px; }

/* 3D-Tilt-Karten */
.feature, .plan, .audience { transform-style: preserve-3d; }
.tilting { transition: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 640px; }
  .tv { transform: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .platform-wrap { grid-template-columns: 1fr; gap: 44px; }
  .calc-wrap { grid-template-columns: 1fr; padding: 32px 26px; }
  .player-wrap { grid-template-columns: 1fr; gap: 40px; }
  .player-figure { max-width: 480px; margin-inline: auto; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid.bento { grid-template-columns: repeat(2, 1fr); }
  .features-grid.bento .feature:nth-child(n) { grid-column: span 1; }
  .features-grid.bento .feature:nth-child(1) { grid-column: span 2; }
  .ghost-word { font-size: clamp(56px, 11vw, 110px); opacity: 0.8; }
  .contact-wrap { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg); /* voll deckend — sonst scheint der Hero durch */
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    box-shadow: 0 30px 60px -20px var(--shadow-strong);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .main-nav .btn { margin-top: 18px; }
  .nav-toggle { display: block; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .steps, .compare, .features-grid, .audience-grid { grid-template-columns: 1fr; }
  .netmap { padding: 28px 20px 22px; }
  .netmap-legend { font-size: 13px; gap: 8px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .stats .wrap { grid-template-columns: 1fr; gap: 26px; }
  /* Auf dem Handy: Telefon-Mockup weg, Badge unter den TV statt darüber */
  .phone { display: none; }
  .tv-badge {
    position: static;
    margin: 16px auto 0;
    width: fit-content;
    animation: none;
  }
  .hero { padding-bottom: 56px; }
  .hero .wrap { gap: 40px; }
  /* Zweiter Hero-Button entfällt auf schmalen Screens, damit die Hero-CTAs
     nicht mit dem schwebenden Button-Stapel (WhatsApp/Theme/Cookie) unten
     links kollidieren */
  .hero-ctas .btn-ghost { display: none; }
  .browser-body { grid-template-columns: 1fr; }
  .b-side { display: none; }
  .b-cards { grid-template-columns: repeat(2, 1fr); }
  .b-cards .b-card:nth-child(3) { display: none; }
  .slide { padding-right: 40%; }
  .demo-tab { padding: 10px 18px; font-size: 13.5px; }
  .player-specs, .player-options { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
  .ghost-word { display: none; }
  /* Lange Button-Texte dürfen auf schmalen Screens umbrechen */
  .btn { white-space: normal; }
  .calc-row.highlight b { font-size: 30px; }
  .calc-row b { font-size: 22px; }
  .features-grid.bento { grid-template-columns: 1fr; }
  .features-grid.bento .feature:nth-child(1) { grid-column: span 1; }
  .founder { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
  .founder-mark, .founder-photo { margin-inline: auto; }
  .pilot-banner { flex-direction: column; text-align: center; }
  .to-top { bottom: 14px; right: 14px; }
  .cookie-reopen { bottom: 68px; right: 14px; }
  .theme-toggle { bottom: 122px; right: 14px; }
  .whatsapp-btn { bottom: 176px; right: 14px; }
  /* Erst nach dem Scrollen einblenden (kein freier Platz im Hero auf kleinen Screens) */
  .whatsapp-btn, .theme-toggle {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }
  .whatsapp-btn.show, .theme-toggle.show {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .cta-band { padding: 48px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 22px; }
}
