/* =====================================================================
   MAKIVA — Futuristic Edition
   Dark, cinematic, "Weltkonzern"-Niveau. Navy #1c2e78 + Blau #0081cc
   als Marken-Basis, futuristisch inszeniert mit Glow, Tiefe, Bewegung.
   Vanilla CSS, mobile-first, keine externen Requests.
   ===================================================================== */

/* ---------- Fonts (lokal, DSGVO) ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../assets/fonts/bricolage-grotesque-latin.woff2') format('woff2');
  font-weight: 200 800; font-display: swap; font-style: normal;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../assets/fonts/bricolage-grotesque-latin-ext.woff2') format('woff2');
  font-weight: 200 800; font-display: swap; font-style: normal;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 400 600; font-display: swap; font-style: normal;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Marke */
  --navy: #1c2e78;
  --navy-deep: #101c52;
  --blue: #0081cc;
  --blue-bright: #29a4ea;
  --blue-soft: #7cc6f2;
  --signal: #29d38a;

  /* Bühne — heller, luftiger Navy statt Fast-Schwarz */
  --bg: #101a3e;
  --bg-2: #17224f;
  --ink-0: #f7faff;
  --ink-1: #e7edfc;
  --ink-2: #bdc7e3;
  --ink-3: #a6b1d0;

  /* Glas / Flächen */
  --glass: rgba(38, 54, 104, 0.5);
  --glass-2: rgba(30, 44, 90, 0.6);
  --line: rgba(160, 190, 245, 0.18);
  --line-strong: rgba(160, 195, 248, 0.36);

  /* Farbverläufe */
  --grad-brand: linear-gradient(120deg, #1c2e78 0%, #0081cc 55%, #29a4ea 100%);
  --grad-text: linear-gradient(100deg, #7cc6f2 0%, #29a4ea 40%, #eef3ff 100%);
  --glow-blue: 0 0 0 1px rgba(41, 164, 234, 0.25), 0 18px 60px -18px rgba(0, 129, 204, 0.55);

  /* Maße */
  --container: 1200px;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink-1);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  cursor: auto;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--blue); color: #fff; padding: .75rem 1.25rem; border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }

/* =====================================================================
   ATMOSPHÄRE — fixe Hintergrund-Ebenen
   ===================================================================== */
.atmos { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.neural { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }

.aurora {
  position: absolute; inset: -20% -10%;
  background:
    radial-gradient(40% 40% at 18% 12%, rgba(0, 129, 204, .30), transparent 70%),
    radial-gradient(45% 45% at 85% 20%, rgba(28, 46, 120, .45), transparent 70%),
    radial-gradient(50% 50% at 70% 85%, rgba(41, 164, 234, .18), transparent 70%),
    radial-gradient(45% 45% at 15% 90%, rgba(28, 46, 120, .35), transparent 70%);
  filter: blur(30px);
  animation: aurora 26s ease-in-out infinite alternate;
}
@keyframes aurora {
  0% { transform: translate3d(-2%, -1%, 0) scale(1.05); }
  50% { transform: translate3d(3%, 2%, 0) scale(1.12); }
  100% { transform: translate3d(-1%, 3%, 0) scale(1.08); }
}

.gridfloor {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124, 170, 235, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 170, 235, .06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 15%, transparent 75%);
  opacity: .5;
}

.grain {
  position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scanline {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(41, 164, 234, .04) 50%, transparent);
  background-size: 100% 6px; opacity: .4;
}

/* Verlaufender Übergang bg → tiefer nach unten */
body::after {
  content: ''; position: fixed; inset: 0; z-index: -3;
  background: radial-gradient(120% 90% at 50% -10%, #21316f 0%, var(--bg) 60%);
}

/* =====================================================================
   FEINSCHLIFF — Scrollbeam, Cursor
   ===================================================================== */
.scrollbeam {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, .75);
  z-index: 120; transition: width .1s linear;
}
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 460px; height: 460px; z-index: 100;
  margin: -230px 0 0 -230px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(41, 164, 234, .12), transparent 62%);
  opacity: 0; transition: opacity .3s var(--ease);
  will-change: transform;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  --btn-bg: var(--blue);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1;
  padding: .95rem 1.5rem; border-radius: 999px; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.btn-sm { padding: .7rem 1.15rem; font-size: .92rem; }
.btn-lg { padding: 1.1rem 1.9rem; font-size: 1.05rem; }

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 70%, var(--blue-bright) 100%);
  background-size: 180% 180%; background-position: 0% 50%;
  box-shadow: 0 12px 40px -12px rgba(0, 129, 204, .7);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 18px 55px -14px rgba(41, 164, 234, .85); }

.btn-signal {
  color: #04120c; font-weight: 700;
  background: linear-gradient(120deg, #29d38a, #6ff0c0);
  box-shadow: 0 14px 45px -12px rgba(41, 211, 138, .6);
}
.btn-signal:hover { transform: translateY(-2px); box-shadow: 0 20px 60px -14px rgba(41, 211, 138, .8); }

.btn-ghost {
  color: var(--ink-0);
  border: 1px solid var(--line-strong);
  background: rgba(124, 170, 235, .05);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--blue-bright); background: rgba(41, 164, 234, .12); box-shadow: 0 10px 30px -12px rgba(41, 164, 234, .5); }

.btn-outline {
  color: var(--ink-0); border: 1px solid var(--line-strong); background: transparent;
}
.btn-outline:hover { border-color: var(--blue-bright); color: #fff; background: rgba(41, 164, 234, .1); transform: translateY(-2px); }
/* Hell-Modus: Hover-Text NICHT weiß (unlesbar auf hellem Button), sondern dunkles Navy */
[data-theme="light"] .btn-outline:hover { color: var(--ink-0); }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header[data-state="scrolled"] {
  background: rgba(16, 26, 62, .72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
/* Original-Logo im Hell-Modus, invertierte weiße Variante im Dark-Modus — automatischer Wechsel. */
.brand-logo { height: 38px; width: auto; display: block; }
.brand-logo--ondark { display: none; }
[data-theme="dark"] .brand-logo--onlight { display: none; }
[data-theme="dark"] .brand-logo--ondark { display: block; }
@media (max-width: 480px) { .brand-logo { height: 32px; } }

.nav-links { display: none; gap: .35rem; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a {
  position: relative; padding: .55rem .85rem; border-radius: 10px; font-size: .95rem;
  color: var(--ink-1); transition: color .25s var(--ease);
}
.nav-links a span { position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; height: 1px;
  background: linear-gradient(90deg, var(--blue-bright), var(--signal)); transform: scaleX(0);
  transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover { color: #fff; }
/* Hell-Modus: Hover-Text NICHT weiß (unlesbar), sondern dunkles Navy —
   das lesbare Gegenstück zu Weiß auf dunklem Grund. */
[data-theme="light"] .nav-links a:hover { color: var(--ink-0); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: .75rem; }
/* Etwas mehr Luft zwischen Hell/Dunkel-Schalter und dem Erstgespräch-Button */
.nav-actions .theme-toggle { margin-right: .4rem; }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 8px; }
@media (min-width: 900px) { .nav-toggle { display: none; } }
.nav-toggle-bar { width: 24px; height: 2px; background: var(--ink-0); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: rgba(16, 26, 62, .96); backdrop-filter: blur(18px);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav nav { display: flex; flex-direction: column; padding: 1rem var(--pad) 1.5rem; gap: .25rem; }
.mobile-nav a { padding: .85rem .5rem; color: var(--ink-1); border-bottom: 1px solid var(--line); }
.mobile-nav a.btn { margin-top: .75rem; justify-content: center; border-bottom: none; color: #fff; }

/* =====================================================================
   REVEAL-Animation
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding: clamp(7rem, 14vh, 10rem) 0 4rem; }
.hero-grid { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }

.hero-status, .cta-status {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-1); font-family: var(--font-mono); font-weight: 500;
  padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(124, 170, 235, .05); margin-bottom: 1.6rem;
}
.status-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 0 rgba(41, 211, 138, .6); animation: pulse 2.4s ease-out infinite;
}
.status-dot--sm { width: 7px; height: 7px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(41, 211, 138, .55); } 70% { box-shadow: 0 0 0 10px rgba(41, 211, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(41, 211, 138, 0); } }

.hero-title {
  font-weight: 700; letter-spacing: -0.035em; line-height: 0.98;
  font-size: clamp(3rem, 8.5vw, 6rem); color: var(--ink-0); margin-bottom: 1.5rem;
}
.hero-title .line { display: block; }
.hero-title .grad {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero-sub { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: var(--ink-1); max-width: 40ch; margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.6rem; }

.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts b {
  font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.6rem); font-weight: 700; line-height: 1;
  color: var(--ink-0); font-variant-numeric: tabular-nums;
}
.hero-facts b span { font: inherit; color: inherit; margin: 0; }
.hero-facts li > span { font-size: .92rem; color: var(--ink-2); margin-top: .45rem; }

/* Hero-Scroll-Hinweis */
.hero-scroll {
  display: none; position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  flex-direction: column; align-items: center; gap: .5rem;
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-3);
  font-family: var(--font-mono);
}
@media (min-width: 980px) { .hero-scroll { display: inline-flex; } }
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(var(--blue-bright), transparent); overflow: hidden; position: relative; }
.hero-scroll-line::after { content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--signal); animation: scrolldrop 1.8s ease-in-out infinite; }
@keyframes scrolldrop { 0% { top: -50%; } 100% { top: 100%; } }

/* ---------- Hero-Demo: Orbit + Hologramm-Telefon ---------- */
.hero-demo { position: relative; display: flex; flex-direction: column; align-items: center; }
.orbit { position: absolute; inset: -8% 0 0 0; display: grid; place-items: center; pointer-events: none; }
.orbit-ring {
  position: absolute; border: 1px solid rgba(124, 170, 235, .16); border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.orbit-ring--1 { width: 320px; height: 320px; animation: spin 34s linear infinite; border-top-color: rgba(41, 164, 234, .4); }
.orbit-ring--2 { width: 440px; height: 440px; animation: spin 52s linear infinite reverse; border-left-color: rgba(41, 211, 138, .3); }
.orbit-ring--3 { width: 560px; height: 560px; animation: spin 72s linear infinite; border-bottom-color: rgba(124, 170, 235, .25); }
.orbit-node { position: absolute; width: 8px; height: 8px; border-radius: 50%; top: 50%; left: 50%; }
.orbit-node--a { background: var(--blue-bright); box-shadow: 0 0 12px var(--blue-bright); transform: translate(-50%, -50%) rotate(0deg) translateX(160px); animation: spin 34s linear infinite; }
.orbit-node--b { background: var(--signal); box-shadow: 0 0 12px var(--signal); transform: translate(-50%, -50%) rotate(120deg) translateX(220px); animation: spin 52s linear infinite reverse; }
.orbit-node--c { background: var(--blue-soft); box-shadow: 0 0 12px var(--blue-soft); transform: translate(-50%, -50%) rotate(240deg) translateX(280px); animation: spin 72s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (max-width: 560px) { .orbit-ring--3, .orbit-ring--2, .orbit-node--b, .orbit-node--c { display: none; } }

.callscene { position: relative; z-index: 1; perspective: 1400px; }
.hero-demo-caption { margin-top: 1.5rem; text-align: center; font-size: .9rem; color: var(--ink-2); max-width: 34ch; position: relative; z-index: 1; }

/* Telefon */
.phone {
  position: relative; width: min(300px, 74vw); aspect-ratio: 1 / 2; margin-inline: auto;
  border-radius: 40px; padding: 12px;
  background: linear-gradient(160deg, rgba(30, 42, 84, .9), rgba(8, 13, 30, .95));
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(124, 170, 235, .1), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform-style: preserve-3d; transition: transform .3s var(--ease);
}
.phone-glow {
  position: absolute; inset: -30% -20%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 129, 204, .35), transparent 65%);
  filter: blur(20px); animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { opacity: .7; } 50% { opacity: 1; } }
.phone-island { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 76px; height: 20px; background: #05070f; border-radius: 12px; z-index: 3; }

.phone-bar {
  display: flex; align-items: center; gap: .5rem; padding: .7rem .95rem;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, rgba(28, 46, 120, .55), rgba(13, 20, 44, .2));
  color: var(--ink-0); font-size: .8rem; height: 52px;
}
.phone-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(41, 164, 234, .18); color: var(--blue-soft); }
.phone-title { flex: 1; font-weight: 600; letter-spacing: -.01em; }
.phone-live { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-mono); font-size: .68rem; color: var(--signal); text-transform: uppercase; letter-spacing: .08em; }

.phone-screen {
  position: relative; height: calc(100% - 52px);
  border-radius: 0 0 28px 28px; overflow: hidden;
  /* TEST: helleres Button-Blau als Screen-Hintergrund. Zum Zurücksetzen die
     nächste Zeile wieder aktivieren und die darunter auskommentieren:
     background: radial-gradient(120% 80% at 50% 0%, rgba(40, 60, 140, .4), rgba(12, 20, 48, .92)); */
  background: linear-gradient(165deg, var(--navy) 0%, var(--blue) 80%, var(--blue-bright) 100%);
}
.call-view {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 1rem; padding: 1.5rem 1.25rem; text-align: center;
  opacity: 0; visibility: hidden; transform: scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s;
}
.phone[data-call-state="incoming"] .call-view--incoming,
.phone[data-call-state="live"] .call-view--live,
.phone[data-call-state="qualify"] .call-view--qualify,
.phone[data-call-state="handover"] .call-view--handover {
  opacity: 1; visibility: visible; transform: none;
}

/* 1) incoming */
.call-ring { position: relative; display: grid; place-items: center; width: 96px; height: 96px; }
.call-ring-pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(41, 164, 234, .5); animation: ringpulse 2s ease-out infinite; }
.call-ring-pulse--2 { animation-delay: 1s; }
@keyframes ringpulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.call-ring-core { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--grad-brand); color: #fff; box-shadow: 0 10px 30px -8px rgba(0, 129, 204, .7); }
.call-label { font-weight: 600; color: var(--ink-0); font-size: 1rem; }
.call-time { font-family: var(--font-mono); color: var(--ink-2); font-size: .85rem; }

/* 2) live */
.call-view--live { justify-content: center; align-items: center; gap: 1.1rem; }
.talk-chip { display: inline-flex; align-items: center; gap: .4rem; align-self: center; padding: .3rem .7rem; border-radius: 999px; background: rgba(124, 170, 235, .1); border: 1px solid var(--line); font-size: .72rem; font-family: var(--font-mono); color: var(--ink-1); text-transform: uppercase; letter-spacing: .06em; }
.talk-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); }
.phone[data-call-state="live"] .call-view--live[data-speaker="makiva"] .talk-chip-dot { background: var(--blue-bright); box-shadow: 0 0 8px var(--blue-bright); }
.talk-stage { position: relative; width: 100%; min-height: 5.5em; display: grid; }
.talk-line { grid-area: 1 / 1; font-size: 1.02rem; line-height: 1.4; color: var(--ink-0); font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); text-align: center; }
.talk-line.is-active { opacity: 1; transform: none; }
.wave { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 26px; align-self: center; }
.wave-bar { width: 4px; height: 30%; border-radius: 2px; background: linear-gradient(var(--blue-bright), var(--signal)); animation: wave 1.1s ease-in-out infinite; }
.wave-bar:nth-child(2n) { animation-delay: .15s; } .wave-bar:nth-child(3n) { animation-delay: .3s; } .wave-bar:nth-child(4n) { animation-delay: .45s; } .wave-bar:nth-child(5n) { animation-delay: .6s; }
@keyframes wave { 0%, 100% { height: 20%; } 50% { height: 95%; } }

/* 3) qualify */
.call-view--qualify { justify-content: flex-start; padding-top: 2rem; gap: .9rem; }
.qualify-title { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-soft); align-self: flex-start; }
.qualify-list { list-style: none; width: 100%; display: flex; flex-direction: column; gap: .6rem; }
.qualify-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem;
  padding: .6rem .8rem; border-radius: 12px; text-align: left;
  background: rgba(124, 170, 235, .06); border: 1px solid var(--line);
  opacity: 0; transform: translateX(-10px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.qualify-row.is-filled { opacity: 1; transform: none; }
.qualify-key { font-size: .72rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.qualify-val { font-size: .9rem; color: var(--ink-0); font-weight: 600; }
.qualify-check { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(41, 211, 138, .16); color: var(--signal); opacity: 0; transform: scale(.5); transition: opacity .3s var(--ease) .15s, transform .3s var(--ease) .15s; }
.qualify-row.is-filled .qualify-check { opacity: 1; transform: none; }

/* 4) handover */
.handover-card { width: 100%; border-radius: 16px; padding: 1rem; background: rgba(124, 170, 235, .07); border: 1px solid var(--line-strong); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.handover-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .85rem; }
.handover-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 600; color: var(--signal); }
.handover-badge-ic { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(41, 211, 138, .18); }
.handover-time { font-family: var(--font-mono); font-size: .75rem; color: var(--ink-2); }
.handover-fields { display: flex; flex-direction: column; gap: .55rem; }
.handover-fields div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); }
.handover-fields div:last-child { border-bottom: none; padding-bottom: 0; }
.handover-fields dt { font-size: .78rem; color: var(--ink-2); }
.handover-fields dd { font-size: .88rem; color: var(--ink-0); font-weight: 600; text-align: right; }
.prio { display: inline-block; padding: .18rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.prio-high { background: rgba(255, 107, 107, .16); color: #ff9a9a; }

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee { position: relative; overflow: hidden; padding: 1.4rem 0; border-block: 1px solid var(--line); background: rgba(13, 21, 52, .4); margin-top: 2rem; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee-track { display: inline-flex; align-items: center; white-space: nowrap; animation: marquee 34s linear infinite; }
/* Abstand als margin (nicht flex-gap): sonst fehlt bei translateX(-50%) ein halber
   Abstand am Loop-Ende -> sichtbare Lücke/Ruckeln. Mit margin an JEDEM Element geht -50% exakt auf. */
.marquee-track > span { margin-right: 2.5rem; }
.marquee-track span:not(.marquee-dot) { font-family: var(--font-mono); font-size: .95rem; letter-spacing: .02em; color: var(--ink-1); text-transform: uppercase; }
.marquee-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 8px var(--blue-bright); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   SECTIONS / gemeinsame Bausteine
   ===================================================================== */
.section { position: relative; padding: clamp(4.5rem, 11vh, 8rem) 0; }
/* Handy: straffere vertikale Abstände (kein zu großer Leerraum zwischen Bereichen). */
@media (max-width: 640px) { .section { padding: 3.75rem 0; } }
.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: .84rem; text-transform: uppercase; letter-spacing: .15em; color: var(--blue-soft); margin-bottom: 1.1rem; }
.eyebrow-line { width: 28px; height: 1px; background: linear-gradient(90deg, var(--blue-bright), transparent); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink-0); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-0); }
.section-lead { margin-top: 1.1rem; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--ink-1); }

/* Bento-Glaskarte + Glow-Rand + Glare */
.bento {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, rgba(42, 58, 112, .5), rgba(28, 40, 82, .55));
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.bento::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(41, 164, 234, .5), transparent 40%, transparent 60%, rgba(41, 211, 138, .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s var(--ease);
}
.bento:hover { border-color: var(--line-strong); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); }
.bento:hover::before { opacity: 1; }
/* Glare-Fleck vom Zeiger (via JS-Variablen) */
.bento::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(41, 164, 234, .16), transparent 60%);
  transition: opacity .3s var(--ease);
}
.bento:hover::after { opacity: 1; }

/* =====================================================================
   PROBLEM
   ===================================================================== */
.problem-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .problem-grid { grid-template-columns: 1.1fr 0.9fr; } }
.problem-copy p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-1); }
.problem-visual { display: grid; gap: 1.25rem; }
@media (min-width: 520px) { .problem-visual { grid-template-columns: 1fr 1fr; } }
.ring-card { position: relative; border-radius: var(--radius); padding: 1.75rem 1.5rem; text-align: center; background: linear-gradient(160deg, rgba(42, 58, 112, .5), rgba(28, 40, 82, .55)); border: 1px solid var(--line); }
.ring-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1rem; background: rgba(255, 107, 107, .12); color: #ff9a9a; }
.ring-card--solved .ring-icon { background: rgba(41, 211, 138, .14); color: var(--signal); }
.ring-label { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.ring-count { font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); font-weight: 700; line-height: 1.1; color: #ff9a9a; font-variant-numeric: tabular-nums; }
.ring-count--good { color: var(--signal); }
.ring-desc { font-size: .9rem; color: var(--ink-2); margin-top: .35rem; }

/* =====================================================================
   GEWINN
   ===================================================================== */
.gewinn-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .gewinn-grid { grid-template-columns: 1.15fr 1fr; align-items: stretch; } }
.gewinn-vis { padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: clamp(1.5rem, 3.5vh, 2.75rem); justify-content: space-between; }
.gewinn-vis-head { display: flex; flex-direction: column; gap: .85rem; }
.gewinn-vis-title { font-size: clamp(1.35rem, 1.05rem + 1.1vw, 1.85rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 600; color: var(--ink-0); }
.bento-kicker { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-soft); }
.gewinn-compare { display: flex; flex-direction: column; gap: 1.4rem; }
.compare-col { display: flex; flex-direction: column; gap: .6rem; }
.compare-label { font-size: .85rem; color: var(--ink-2); font-weight: 600; }
.compare-label--good { color: var(--signal); }
.compare-bar { height: 18px; border-radius: 999px; background: rgba(124, 170, 235, .08); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.compare-fill { display: block; height: 100%; width: 0; border-radius: 999px; transition: width 1.4s var(--ease); }
.compare-fill--before { background: linear-gradient(90deg, #46507e, #6b76ad); }
.compare-fill--after { background: linear-gradient(90deg, var(--blue), var(--signal)); box-shadow: 0 0 18px rgba(41, 211, 138, .4); }
.is-in .compare-fill { width: var(--to); }
.compare-figure { font-size: .88rem; color: var(--ink-2); }
.compare-figure--good { color: var(--ink-0); }

/* Ablauf-Flow: kompakte Pill-Kette, füllt den Kasten visuell statt mit Leere */
.gewinn-flow { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.flow-chip { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .02em; color: var(--ink-1); padding: .4rem .7rem; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(124, 170, 235, .06); }
.flow-chip--done { color: var(--signal); border-color: rgba(41, 211, 138, .4); background: rgba(41, 211, 138, .08); }
.flow-arrow { display: inline-flex; color: var(--blue-soft); opacity: .8; }

.gewinn-vis-note { display: flex; align-items: center; gap: .55rem; font-size: .85rem; color: var(--ink-2); }

.gewinn-list { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 620px) { .gewinn-list { grid-template-columns: 1fr 1fr; } }
.gewinn-item { display: flex; flex-direction: column; gap: 1rem; padding: 1.85rem 1.75rem; align-items: flex-start; }
.gewinn-ic { flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: rgba(41, 164, 234, .12); color: var(--blue-soft); border: 1px solid var(--line); }
.gewinn-text h3 { margin-bottom: .55rem; font-size: 1.18rem; }
.gewinn-text p { font-size: .96rem; line-height: 1.65; color: var(--ink-2); }
.gewinn-cta { margin-top: 2.5rem; text-align: center; }

/* =====================================================================
   ABLAUF
   ===================================================================== */
.steps { list-style: none; display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 2rem 1.6rem; }
.step-top { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.3rem; }
.step-badge {
  flex: none; display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  color: #fff; background: linear-gradient(140deg, var(--navy), var(--blue));
  box-shadow: 0 12px 28px -10px rgba(0, 129, 204, .75), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.step-index { font-family: var(--font-mono); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--blue-soft); }
.step-body h3 { margin-bottom: .5rem; font-size: 1.25rem; }
.step-body p { font-size: .95rem; color: var(--ink-2); }

/* =====================================================================
   BRANCHEN
   ===================================================================== */
.branchen-switch {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 2rem;
  width: fit-content; max-width: 100%;
  padding: .45rem; border: 1px solid var(--line); border-radius: 18px;
  background: rgba(38, 54, 104, .32); backdrop-filter: blur(8px);
}
.branche-tab {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.05rem; border-radius: 13px; font-size: .92rem; font-weight: 600;
  color: var(--ink-1); border: 1px solid transparent; background: transparent;
  transition: color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.tab-ic { display: inline-grid; place-items: center; color: var(--blue-soft); transition: color .25s var(--ease), transform .25s var(--ease); }
.branche-tab:hover { color: #fff; transform: translateY(-1px); }
.branche-tab:hover .tab-ic { transform: scale(1.1); }
.branche-tab.is-active { color: #fff; background: linear-gradient(120deg, var(--navy), var(--blue)); box-shadow: 0 12px 30px -12px rgba(0, 129, 204, .7), inset 0 1px 0 rgba(255, 255, 255, .12); }
.branche-tab.is-active .tab-ic { color: #fff; }
/* Hell-Modus: Hover-Text eines NICHT aktiven Tabs darf nicht weiß werden (sonst unlesbar auf hellem Grund) */
[data-theme="light"] .branche-tab:not(.is-active):hover { color: var(--ink-0); }
[data-theme="light"] .branche-tab:not(.is-active):hover .tab-ic { color: var(--blue); }
/* Handy: 5 Reiter als gleichmäßiges 2-Spalten-Raster (kein unförmiger Umbruch).
   Der 5. Reiter spannt über die volle Breite -> saubere, symmetrische Aufteilung. */
@media (max-width: 600px) {
  .branchen-switch { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .branche-tab { justify-content: center; text-align: center; padding: .72rem .5rem; font-size: .85rem; }
  .branche-tab:last-child { grid-column: 1 / -1; }
}

.branche-panels { position: relative; }
.branche-panel { padding: clamp(1.5rem, 4vw, 2.5rem); }
.branche-panel[hidden] { display: none; }
.branche-panel.is-active { animation: fadeup .5s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (min-width: 820px) { .branche-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; } }
.branche-tag { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-soft); margin-bottom: 1rem; }
.dialog-line { margin-bottom: 1rem; }
.dialog-line span { display: inline-block; font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: .3rem; }
.dialog-line p { font-size: 1.02rem; line-height: 1.5; color: var(--ink-0); padding: .85rem 1.1rem; border-radius: 14px; }
.dialog-caller p { background: rgba(124, 170, 235, .06); border: 1px solid var(--line); }
.dialog-ai p { background: linear-gradient(140deg, rgba(28, 46, 120, .4), rgba(0, 129, 204, .18)); border: 1px solid var(--line-strong); }
.branche-points { list-style: none; display: flex; flex-direction: column; gap: .9rem; }
.branche-points li { position: relative; padding-left: 1.9rem; font-size: .95rem; color: var(--ink-1); }
.branche-points li::before { content: ''; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle, var(--signal) 40%, transparent 42%); box-shadow: 0 0 10px rgba(41, 211, 138, .5); }

/* =====================================================================
   PAKETE
   ===================================================================== */
.paket-grid { display: grid; gap: 1.5rem; }
/* Gleiche Höhe wie auf der alten Seite: align-items stretch + CTA unten */
@media (min-width: 900px) { .paket-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.paket { padding: 2rem 1.75rem; display: flex; flex-direction: column; }
.paket--featured { border-color: var(--line-strong); box-shadow: 0 30px 80px -30px rgba(0, 129, 204, .5); }
.paket--featured::before { opacity: .85; }
/* Featured: navy→blau Kopfblock, der bis an die Kartenränder läuft (Struktur wie alte Seite) */
.paket--featured .paket-head {
  margin: -2rem -1.75rem 1.3rem; padding: 1.9rem 1.75rem 1.3rem;
  background: linear-gradient(120deg, var(--navy), var(--blue));
  border-radius: var(--radius) var(--radius) 0 0;
}
.paket--featured .paket-head h3 { color: #fff; }
.paket--featured .paket-tag { color: rgba(255, 255, 255, .82); }
.paket-badge { position: absolute; top: 1.1rem; right: 1.1rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .34rem .78rem; border-radius: 999px; background: var(--signal); color: #04241a; box-shadow: 0 0 0 1px rgba(41, 211, 138, .5), 0 0 16px rgba(41, 211, 138, .7); }
.paket-head h3 { font-size: 1.5rem; }
.paket-tag { font-size: .85rem; color: var(--ink-2); margin-top: .2rem; }
.paket-price { display: flex; align-items: baseline; gap: .3rem; margin-top: 1.4rem; flex-wrap: wrap; }
.paket-price-pre { font-size: .85rem; color: var(--ink-2); }
.paket-price-amount { font-size: clamp(2rem, 1.6rem + 1.5vw, 2.6rem); font-weight: 700; color: var(--ink-0); letter-spacing: -.02em; }
.paket-price-unit { font-size: .9rem; color: var(--ink-2); }
.paket-price-note { font-size: .78rem; color: var(--ink-3); margin-top: .3rem; }
.paket-desc { margin-top: 1.1rem; font-size: .93rem; color: var(--ink-2); }
.paket-includes { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-soft); }
/* Starter hat kein „Alles aus … plus" — trotzdem die Trennlinie über der Liste, für ein einheitliches Bild */
.paket-desc + .paket-list { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.paket-list { list-style: none; margin-top: 1.1rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.paket-list li { position: relative; padding-left: 1.8rem; font-size: .92rem; color: var(--ink-1); }
.paket-list li::before { content: ''; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; box-shadow: 0 0 12px -3px rgba(41, 164, 234, .85); }
.paket-cta { margin-top: 1.75rem; width: 100%; }
.paket-note { margin-top: 2rem; text-align: center; font-size: .85rem; color: var(--ink-3); max-width: 66ch; margin-inline: auto; }

/* =====================================================================
   VERTRAUEN
   ===================================================================== */
.vertrauen-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .vertrauen-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.vertrauen-signature { display: flex; align-items: center; gap: .6rem; margin-top: 1.5rem; font-family: var(--font-mono); font-size: .82rem; color: var(--ink-2); }
.trust-list { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 620px) { .trust-list { grid-template-columns: 1fr 1fr; } }
.trust-item { display: flex; gap: .9rem; padding: 1.25rem; border-radius: 16px; background: linear-gradient(160deg, rgba(42, 58, 112, .42), rgba(28, 40, 82, .46)); border: 1px solid var(--line); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
/* Hover-Versatz entfernt: die 3D-Tilt-Bewegung (JS) übernimmt jetzt den Transform. */
.trust-item:hover { border-color: var(--line-strong); }
.trust-check { flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(41, 211, 138, .2); color: #5cecb0; box-shadow: 0 0 0 1px rgba(41, 211, 138, .4), 0 0 16px -6px rgba(41, 211, 138, .6); }
.trust-text h3 { font-size: 1rem; margin-bottom: .3rem; }
.trust-text p { font-size: .87rem; color: var(--ink-2); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-list { display: flex; flex-direction: column; gap: .85rem; max-width: 820px; }
.faq-item { border-radius: 16px; border: 1px solid var(--line); background: rgba(38, 54, 104, .38); overflow: hidden; transition: border-color .3s var(--ease), background .3s var(--ease); }
.faq-item[open] { border-color: var(--line-strong); background: rgba(42, 58, 112, .55); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.4rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 1.05rem; font-weight: 600; color: var(--ink-0); }
.faq-mark { position: relative; flex: none; width: 20px; height: 20px; }
.faq-mark::before, .faq-mark::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--blue-bright); border-radius: 2px; }
.faq-mark::before { width: 14px; height: 2px; }
.faq-mark::after { width: 2px; height: 14px; transition: transform .3s var(--ease); }
.faq-item[open] .faq-mark::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { padding: 0 1.4rem 1.4rem; }
.faq-a p { color: var(--ink-2); font-size: .95rem; }
.faq-a a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   CTA-BAND
   ===================================================================== */
.cta-band { position: relative; }
.cta-inner {
  position: relative; text-align: center; max-width: 780px; margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem); border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(28, 46, 120, .55), rgba(0, 129, 204, .22));
  border: 1px solid var(--line-strong); overflow: hidden;
}
.cta-inner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% -10%, rgba(41, 164, 234, .3), transparent 70%); }
.cta-status { justify-content: center; margin-inline: auto; }
.cta-band h2 { margin: .5rem 0 1.1rem; }
.cta-lead { color: var(--ink-1); max-width: 52ch; margin-inline: auto; }
.cta-actions { margin-top: 2rem; }
@media (max-width: 600px) { .cta-br { display: none; } }

/* =====================================================================
   KONTAKT
   ===================================================================== */
.kontakt-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .kontakt-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.kontakt-copy p:not(.eyebrow) { color: var(--ink-1); margin-top: 1rem; }
.kontakt-info { list-style: none; margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.kontakt-info li { display: flex; align-items: center; gap: .8rem; }
.kontakt-info-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(41, 164, 234, .12); color: var(--blue-soft); border: 1px solid var(--line); flex: none; }
.kontakt-info a:hover { color: var(--blue-bright); }

.kontakt-form { padding: clamp(1.5rem, 4vw, 2.25rem); display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .kontakt-form { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink-1); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink-0); padding: .8rem .95rem; border-radius: 12px;
  background: rgba(12, 20, 48, .5); border: 1px solid var(--line); transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(41, 164, 234, .18); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237cc6f2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; }
.field select option { background: #17224f; color: var(--ink-0); }
.field-error { font-size: .78rem; color: #ff9a9a; }
.field-error[hidden] { display: none; }
/* Honeypot: für Menschen unsichtbar, für Bots ausfüllbar (Spam-Schutz) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
.form-hint { font-size: .8rem; color: var(--ink-3); }
.form-status { grid-column: 1 / -1; font-size: .9rem; padding: .8rem 1rem; border-radius: 12px; }
.form-status[hidden] { display: none; }
.form-status.ok { background: rgba(41, 211, 138, .12); color: var(--signal); border: 1px solid rgba(41, 211, 138, .3); }
.form-status.err { background: rgba(255, 107, 107, .12); color: #ff9a9a; border: 1px solid rgba(255, 107, 107, .3); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; background: rgba(13, 21, 52, .5); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.brand--footer { display: inline-flex; align-items: center; }
.brand-footer-logo { height: 40px; width: auto; display: block; }
/* Theme-Umschaltung auch im Footer erzwingen. Zwei-Klassen-Selektoren
   überstimmen das obige .brand-footer-logo (gleiche Spezifität, spätere Zeile),
   sonst blieb im Hell-Modus das weiße Dark-Logo zusätzlich sichtbar. */
.brand-footer-logo.brand-logo--ondark { display: none; }
[data-theme="dark"] .brand-footer-logo.brand-logo--onlight { display: none; }
[data-theme="dark"] .brand-footer-logo.brand-logo--ondark { display: block; }
.footer-tagline { margin-top: 1rem; font-size: .92rem; color: var(--ink-2); max-width: 42ch; }
.footer-status { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem; font-family: var(--font-mono); font-size: .8rem; color: var(--ink-2); }
.footer-social { margin-top: 1.1rem; }
.footer-social a { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .8rem; color: var(--ink-2); transition: color .25s var(--ease); width: fit-content; }
.footer-social a:hover { color: var(--blue-bright); }
.footer-social svg { flex: none; }
.footer-col-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 1rem; font-weight: 600; }
.footer-col { display: flex; flex-direction: column; gap: .7rem; }
.footer-col a { font-size: .92rem; color: var(--ink-2); transition: color .25s var(--ease); width: fit-content; }
.footer-col a:hover { color: var(--blue-bright); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.footer-bottom p { font-size: .82rem; color: var(--ink-3); }

/* =====================================================================
   Sub-Pages (Impressum / Datenschutz)
   ===================================================================== */
.legal-header { position: relative; background: rgba(16, 26, 62, .72); backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--line); }
.legal-header .nav-inner { justify-content: space-between; }
.legal-back { font-family: var(--font-mono); font-size: .85rem; color: var(--ink-2); transition: color .25s var(--ease); }
.legal-back:hover { color: var(--blue-bright); }

.legal { padding: clamp(8rem, 16vh, 10rem) 0 4rem; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); color: var(--ink-0); letter-spacing: -.03em; margin-bottom: 1rem; }
.legal-lead { font-size: 1.1rem; color: var(--ink-2); margin-bottom: 2rem; }
.legal h2 { font-size: 1.3rem; margin: 2.5rem 0 .75rem; }
.legal h3 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: .8rem; }
.legal a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 3px; }
.legal-dl { margin-bottom: .8rem; }
.legal-dl dt { color: var(--ink-0); font-weight: 600; margin-top: .6rem; }
.legal-dl dd { color: var(--ink-2); margin-left: 0; }
.legal-list { padding-left: 1.4rem; margin-bottom: .8rem; }
.legal-list li { color: var(--ink-2); }
.legal-meta { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-3); font-family: var(--font-mono); }

/* =====================================================================
   THEME-UMSCHALTER (Dark ⇄ Hell)
   ===================================================================== */
.theme-toggle {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px;
  color: var(--ink-1); border: 1px solid var(--line); background: rgba(124, 170, 235, .05);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.theme-toggle:hover { color: var(--ink-0); border-color: var(--line-strong); transform: translateY(-1px); }
.theme-toggle .ic-moon { display: none; }
[data-theme="light"] .theme-toggle .ic-sun { display: none; }
[data-theme="light"] .theme-toggle .ic-moon { display: block; }

/* =====================================================================
   HELLES THEME  —  [data-theme="light"]
   Struktur & Animationen bleiben identisch; nur Farb-/Flächenwerte
   werden hell. Standard ist Hell; per Toggle auf Dunkel umschaltbar.
   ===================================================================== */
[data-theme="light"] {
  --bg: #eaeef8;
  --bg-2: #ffffff;
  --ink-0: #101a38;
  --ink-1: #29335a;
  --ink-2: #55618a;
  --ink-3: #5c678d;
  --line: rgba(28, 46, 120, 0.12);
  --line-strong: rgba(28, 46, 120, 0.24);
  --blue-soft: #1f7bc0;
  --grad-text: linear-gradient(100deg, #0081cc 0%, #1c2e78 92%);
}
[data-theme="light"] body { color: var(--ink-1); }
[data-theme="light"] body::after { background: radial-gradient(120% 90% at 50% -10%, #d7e0f9 0%, var(--bg) 60%); }
[data-theme="light"] .aurora { opacity: .7; }
[data-theme="light"] .gridfloor { background-image: linear-gradient(rgba(28, 46, 120, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 46, 120, .05) 1px, transparent 1px); }
[data-theme="light"] .grain { opacity: .03; }
[data-theme="light"] .neural { opacity: .52; }

/* Header / Nav */
[data-theme="light"] .site-header[data-state="scrolled"] { background: rgba(255, 255, 255, .8); border-bottom-color: var(--line); }
[data-theme="light"] .mobile-nav { background: rgba(255, 255, 255, .96); }
[data-theme="light"] .nav-toggle-bar { background: var(--ink-0); }

/* Scroll-Balken: weiß wäre unsichtbar -> Markenblau */
[data-theme="light"] .scrollbeam { background: linear-gradient(90deg, #1c2e78, #0081cc); box-shadow: 0 0 10px rgba(0, 129, 204, .5); }

/* Flächen / Karten */
[data-theme="light"] .bento { background: linear-gradient(160deg, #ffffff, #f3f6fd); box-shadow: 0 1px 2px rgba(16, 26, 56, .04); }
[data-theme="light"] .bento:hover { box-shadow: 0 26px 54px -30px rgba(28, 46, 120, .4); }
[data-theme="light"] .ring-card { background: #ffffff; box-shadow: 0 1px 2px rgba(16, 26, 56, .05); }
[data-theme="light"] .trust-item { background: #ffffff; box-shadow: 0 1px 2px rgba(16, 26, 56, .04); }
[data-theme="light"] .faq-item { background: #ffffff; }
[data-theme="light"] .faq-item[open] { background: #f3f6fd; }
[data-theme="light"] .field input, [data-theme="light"] .field select, [data-theme="light"] .field textarea { background: #ffffff; }
[data-theme="light"] .field select option { background: #ffffff; color: var(--ink-0); }
[data-theme="light"] .marquee { background: rgba(255, 255, 255, .6); }
[data-theme="light"] .branchen-switch { background: rgba(255, 255, 255, .7); }
[data-theme="light"] .site-footer { background: rgba(255, 255, 255, .6); }

/* Status-Chips / Dialog-Blasen */
[data-theme="light"] .hero-status, [data-theme="light"] .cta-status { background: rgba(28, 46, 120, .05); color: var(--ink-2); }
[data-theme="light"] .dialog-caller p { background: #eef2fb; border-color: var(--line); }
[data-theme="light"] .dialog-ai p { background: linear-gradient(140deg, rgba(28, 46, 120, .1), rgba(0, 129, 204, .12)); border-color: var(--line-strong); }

/* Ghost-Button auf Hell */
[data-theme="light"] .btn-ghost { background: rgba(28, 46, 120, .04); border-color: var(--line-strong); }
[data-theme="light"] .btn-ghost:hover { background: rgba(0, 129, 204, .1); }

/* CTA-Band bleibt kräftiges Blau mit weißem Text (Kontrastanker) */
[data-theme="light"] .cta-inner { background: linear-gradient(150deg, #1c2e78, #0081cc); border-color: transparent; }
[data-theme="light"] .cta-inner::before { opacity: .4; }
[data-theme="light"] .cta-inner h2 { color: #fff; }
[data-theme="light"] .cta-lead { color: rgba(255, 255, 255, .92); }
[data-theme="light"] .cta-status { background: rgba(255, 255, 255, .14); color: #fff; }

/* Das Handy bleibt in BEIDEN Themes dunkel (echtes Gerät). Damit die Schrift
   im Handy-Screen immer weiß und clean lesbar bleibt, setzen wir die Ink-Variablen
   lokal auf die hellen Werte zurück — unabhängig vom Seiten-Theme. */
[data-theme="light"] .phone {
  --ink-0: #f7faff;
  --ink-1: #dfe6f7;
  --ink-2: #b3bfe0;
  --ink-3: #93a0c4;
  --blue-soft: #7cc6f2;
}

/* Rechtsseiten-Header im Hell-Theme ebenfalls hell */
[data-theme="light"] .legal-header { background: rgba(255, 255, 255, .8); }

/* =====================================================================
   MOBILE-FEINSCHLIFF — Flüssigkeit, Proportionen, Schärfe
   Zähmt teure Dauer-Repaints (dauer-animierte Blur-Flächen, Blend-Overlays,
   backdrop-filter beim Scrollen) und lockert die Hero-Typografie auf kleinen
   Screens. Der Look bleibt erhalten — nur ruhiger und flüssiger.
   ===================================================================== */
@media (max-width: 700px) {
  /* Flüssigkeit: keine dauer-animierten, geblurrten Vollflächen (Haupt-Ruckelquelle) */
  .aurora { animation: none; }
  .phone-glow { animation: none; }
  /* Schärfe + Performance: Rausch-/Scan-Overlays raus (wirken auf dem Handy „grieselig") */
  .grain, .scanline { display: none; }
  /* Header-Blur beim Scrollen leichter berechnen */
  .site-header { -webkit-backdrop-filter: blur(10px) saturate(130%); backdrop-filter: blur(10px) saturate(130%); }
  /* Segmented-Control ohne Live-Blur — spart Repaints, Optik bleibt */
  .branchen-switch { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (max-width: 560px) {
  /* Proportionen: weniger Leerraum oben, Titel weniger blockig/gedrängt */
  .hero { padding: 5.5rem 0 2.5rem; }
  .hero-title { font-size: clamp(2.4rem, 10vw, 3rem); line-height: 1.06; }
}
