/* =========================================================================
   srg-wissen Marketing-Site  v3 — DARK MODE (Stedi-faithful)
   Hintergrund: tiefes Petrol-Schwarz · Akzent: Mint
   ========================================================================= */

:root,
:root[data-theme="dark"] {
  /* Farben — Dark-Mode (Default) */
  --bg: #031815;
  --bg-soft: #052420;
  --bg-card: #06302a;
  --bg-card-hover: #073931;
  --line: rgba(62, 232, 181, 0.10);
  --line-strong: rgba(62, 232, 181, 0.22);
  --ink: #e5f4ef;
  --ink-soft: #9cb5ad;
  --ink-mute: #5e7872;
  --mint: #3ee8b5;
  --mint-soft: rgba(62, 232, 181, 0.12);
  --mint-glow: rgba(62, 232, 181, 0.35);
  --mint-strong: #2dd4a4;
  --warn: #fbbf24;
  --bad: #f87171;

  /* Schatten-Stärken (für hover-elevation) */
  --shadow-card: 0 0 0 1px rgba(62,232,181,0.05), 0 30px 80px -20px rgba(0,0,0,0.6);
  --shadow-soft: 0 8px 24px -8px rgba(0,0,0,0.4);

  /* Typografie */
  --font-sans: "Geist", "Söhne", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --container: 1240px;
  --container-narrow: 920px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light-Mode */
:root[data-theme="light"] {
  --bg: #f7f8fa;
  --bg-soft: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f4f3;
  --line: rgba(13, 148, 136, 0.12);
  --line-strong: rgba(13, 148, 136, 0.25);
  --ink: #0a1814;
  --ink-soft: #3d4d48;
  --ink-mute: #6b7d77;
  --mint: #0d9488;
  --mint-soft: rgba(13, 148, 136, 0.10);
  --mint-glow: rgba(13, 148, 136, 0.22);
  --mint-strong: #0f766e;
  --warn: #b45309;
  --bad: #dc2626;
  --shadow-card: 0 1px 2px rgba(13,148,136,0.04), 0 12px 32px -12px rgba(13,148,136,0.12);
  --shadow-soft: 0 4px 16px -4px rgba(13,148,136,0.10);
}

/* Theme-Transition (alle direkten Children kriegen smooth color/bg-Übergang) */
html, body, .site-header, .hero, .section, .section-alt, .section-dark, .section-cta,
.problem-card, .bento-cell, .tl-card, .price-card, .browser-mockup, .audio-flow,
.editor, .phone-mockup, .compare-card, .tenant-browser, .tenant-tab, .tenant-content,
.btn, input, select, textarea {
  transition: background-color 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease);
}

/* =================== RESET =================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-feature-settings: "ss01", "cv01";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 200ms var(--ease); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
code { font-family: var(--font-mono); font-size: 0.9em; background: rgba(62, 232, 181, 0.08); padding: 0.1em 0.4em; border-radius: 4px; color: var(--mint); border: 1px solid var(--line); }
::selection { background: var(--mint); color: var(--bg); }

/* =================== CONTAINER =================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}
.section-narrow { max-width: var(--container-narrow); margin-left: auto; margin-right: auto; }
.centered { text-align: center; }

/* =================== REVEAL ON SCROLL =================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =================== PILOT-BANNER (über dem Header, sticky, sehr deutlich) =================== */
.pilot-banner {
  position: sticky;
  top: 0;
  z-index: 110;
  background: linear-gradient(90deg, #0d3b30, #102e26);
  border-bottom: 1px solid rgba(62, 232, 181, 0.55);
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.5;
}
.pilot-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  min-height: 40px;
}
.pilot-banner-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ee8b5;
  box-shadow: 0 0 10px rgba(62, 232, 181, 0.85);
  animation: pilot-pulse 2.4s ease-in-out infinite;
}
@keyframes pilot-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.25); }
}
.pilot-banner-text { flex: 1 1 auto; }
.pilot-banner-text strong { color: #3ee8b5; font-weight: 600; }
.pilot-banner-text a {
  color: #3ee8b5;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pilot-banner-text a:hover { color: #ffffff; }

/* Light-Mode-Anpassung */
:root[data-theme="light"] .pilot-banner {
  background: linear-gradient(90deg, #d5f0e3, #e6f7ee);
  border-bottom-color: rgba(15, 122, 92, 0.45);
  color: #0a3327;
}
:root[data-theme="light"] .pilot-banner-text strong,
:root[data-theme="light"] .pilot-banner-text a { color: #0f7a5c; }
:root[data-theme="light"] .pilot-banner-text a:hover { color: #064033; }
:root[data-theme="light"] .pilot-banner-dot {
  background: #0f7a5c;
  box-shadow: 0 0 10px rgba(15, 122, 92, 0.6);
}

/* =================== HEADER =================== */
.site-header {
  position: sticky;
  top: 40px;
  z-index: 100;
  background: rgba(3, 24, 21, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
:root[data-theme="light"] .site-header { background: rgba(247, 250, 248, 0.85); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo-mark { display: block; height: auto; }
.logo-text { font-size: 18px; }

.primary-nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 400;
}
.primary-nav a:hover { color: var(--ink); }

.header-actions { display: flex; gap: 10px; align-items: center; }

/* Theme-Toggle (Sun/Moon-Switch) */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 200ms var(--ease);
}
.theme-toggle:hover { border-color: var(--mint); color: var(--mint); background: var(--mint-soft); }
.theme-toggle .icon-sun,
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }
/* Fallback wenn kein data-theme gesetzt (initial-render vor JS) */
:root:not([data-theme]) .theme-toggle .icon-sun { display: block; }

/* =================== BUTTONS =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  border: 1px solid transparent;
  transition: all 200ms var(--ease);
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn .arrow { display: inline-block; transition: transform 200ms var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Primary = Mint solid */
.btn-primary {
  background: var(--mint);
  color: #021c17;
  box-shadow: 0 0 0 0 var(--mint-glow);
}
.btn-primary:hover {
  background: var(--mint-strong);
  box-shadow: 0 0 24px 4px var(--mint-glow);
  transform: translateY(-1px);
}

/* Ghost = transparent border */
.btn-ghost {
  color: var(--ink-soft);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--ink); }

/* Ghost-dark = sichtbarer border */
.btn-ghost-dark {
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost-dark:hover { border-color: var(--mint); background: var(--mint-soft); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--mint); color: var(--mint); }

.btn-cta-primary {
  background: var(--mint);
  color: #021c17;
  box-shadow: 0 0 30px 4px var(--mint-glow);
}
.btn-cta-primary:hover {
  background: #fff;
  color: var(--bg);
  box-shadow: 0 0 40px 6px rgba(255,255,255,0.3);
}
.btn-cta-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.2);
  color: white;
}
.btn-cta-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.04);
}

/* =================== HERO =================== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
}

/* Animated background — Aurora + organic lines */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  animation: float 22s var(--ease) infinite alternate;
}
.glow-1 {
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(62, 232, 181, 0.45) 0%, transparent 60%);
  top: -200px; left: -200px;
}
.glow-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.30) 0%, transparent 60%);
  bottom: -100px; right: -100px;
  animation-delay: -8s;
}
@keyframes float {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 50px) scale(1.15); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62, 232, 181, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 232, 181, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center center;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
}

/* Analyse-Linien auf dem Grid — reine CSS-div-Animation, zuverlässig sichtbar */
.hero-pulses {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
/* Horizontale: sehr dezenter Mint-Strahl wandert von links nach rechts */
.pulse-h {
  position: absolute;
  left: 0;
  height: 1px;
  width: 220px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(62, 232, 181, 0.0) 30%,
    rgba(62, 232, 181, 0.15) 70%,
    rgba(62, 232, 181, 0.35) 100%);
  border-radius: 1px;
  animation: pulseSlideH 7s linear infinite;
  will-change: transform;
}
@keyframes pulseSlideH {
  0%   { transform: translateX(-280px); opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { transform: translateX(100vw); opacity: 0; }
}
.pulse-1 { animation-delay: 0s;   animation-duration: 6s; }
.pulse-2 { animation-delay: 1.8s; animation-duration: 7.8s; }
.pulse-3 { animation-delay: 3.6s; animation-duration: 6.8s; }

/* Vertikale: gleiche Logik, andere Achse */
.pulse-v {
  position: absolute;
  top: 0;
  width: 1px;
  height: 180px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(62, 232, 181, 0.0) 30%,
    rgba(62, 232, 181, 0.15) 70%,
    rgba(62, 232, 181, 0.35) 100%);
  border-radius: 1px;
  animation: pulseSlideV 7s linear infinite;
  will-change: transform;
}
@keyframes pulseSlideV {
  0%   { transform: translateY(-220px); opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}
.pulse-4 { animation-delay: 0.8s; animation-duration: 6.5s; }
.pulse-5 { animation-delay: 2.6s; animation-duration: 8s; }
.pulse-6 { animation-delay: 4.4s; animation-duration: 6.2s; }

@media (prefers-reduced-motion: reduce) {
  .pulse-h, .pulse-v { animation: none; opacity: 0; }
}

/* =================== LIGHT-MODE Spezialfälle =================== */
:root[data-theme="light"] {
  /* Hero-Glow: dezenter auf hellem BG */
}
:root[data-theme="light"] .hero-glow { opacity: 0.25; }
:root[data-theme="light"] .pulse-h,
:root[data-theme="light"] .pulse-v {
  background: linear-gradient(var(--pulse-dir, 90deg),
    transparent 0%,
    rgba(13, 148, 136, 0.0) 30%,
    rgba(13, 148, 136, 0.20) 70%,
    rgba(13, 148, 136, 0.45) 100%);
}
:root[data-theme="light"] .pulse-v { --pulse-dir: 180deg; }

/* Hero-Grid Linien dezenter auf hell */
:root[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(13, 148, 136, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 148, 136, 0.06) 1px, transparent 1px);
}

/* Marquee-Hintergrund: weiß statt Bg-Soft (zu wenig Kontrast) */
:root[data-theme="light"] .trust-marquee { background: var(--bg-soft); }

/* Card-Shadows: dezent statt blendend */
:root[data-theme="light"] .problem-card,
:root[data-theme="light"] .bento-cell,
:root[data-theme="light"] .tl-card,
:root[data-theme="light"] .price-card,
:root[data-theme="light"] .compare-card,
:root[data-theme="light"] .tenant-browser,
:root[data-theme="light"] .audio-flow {
  box-shadow: var(--shadow-soft);
}
:root[data-theme="light"] .browser-mockup,
:root[data-theme="light"] .phone-mockup {
  box-shadow: 0 24px 64px -16px rgba(0,0,0,0.18), 0 0 0 1px rgba(13,148,136,0.10);
}

/* Mockups (Browser/Phone/Compare) bleiben optisch dark, weil "Bildschirm-Inhalt" */
/* → keine spezielle Anpassung nötig, inline-styles bleiben dark wie konzipiert */

/* CTA-Section bleibt DARK auch im Light-Mode (Stedi-Stil-Kontrast) */
:root[data-theme="light"] .section-cta {
  background: #02100e;
  color: #fff;
  border-color: transparent;
}

/* Footer bleibt hell auf hellem Theme */
:root[data-theme="light"] .site-footer { background: var(--bg-soft); }

/* Form-Inputs auf hell anders */
:root[data-theme="light"] input[type="text"],
:root[data-theme="light"] input[type="email"],
:root[data-theme="light"] input[type="password"],
:root[data-theme="light"] input[type="number"],
:root[data-theme="light"] textarea,
:root[data-theme="light"] select,
:root[data-theme="light"] .news-input {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

/* Btn-primary: invertieren (dark BG, hell-mint Text wäre seltsam) */
:root[data-theme="light"] .btn-primary {
  background: var(--ink);
  color: white;
}
:root[data-theme="light"] .btn-primary:hover {
  background: #1a2030;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.25);
}
:root[data-theme="light"] .btn-cta-primary {
  background: var(--mint);
  color: white;
}
:root[data-theme="light"] .btn-cta-primary:hover {
  background: var(--mint-strong);
  color: white;
}

/* Hero-Eyebrow auf hell besser lesbar */
:root[data-theme="light"] .hero-eyebrow {
  background: rgba(13, 148, 136, 0.10);
  border-color: rgba(13, 148, 136, 0.25);
}

/* Sidebar/Section-Dark bleibt DARK (das ist USP-Audio-Workflow-Section) */
.section-dark, .section-cta {
  /* Diese Sections sind absichtlich immer dark im Stedi-Style */
}

/* Organische SVG-Pfade als zusätzlicher Layer */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(62, 232, 181, 0.35) 50%, transparent),
    radial-gradient(2px 2px at 80% 60%, rgba(62, 232, 181, 0.25) 50%, transparent),
    radial-gradient(1.5px 1.5px at 40% 75%, rgba(255,255,255,0.18) 50%, transparent),
    radial-gradient(1.5px 1.5px at 70% 20%, rgba(255,255,255,0.15) 50%, transparent),
    radial-gradient(1px 1px at 90% 85%, rgba(62, 232, 181, 0.25) 50%, transparent),
    radial-gradient(1px 1px at 10% 60%, rgba(255,255,255,0.12) 50%, transparent);
  background-size: 1400px 800px;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text { max-width: 600px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mint);
  background: var(--mint-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 28px;
}
.dot-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 var(--mint);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--mint-glow); }
  50% { box-shadow: 0 0 0 6px transparent; }
}

.hero-title {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: #fff;
  overflow-wrap: break-word;
}
.accent-grad {
  background: linear-gradient(90deg, var(--mint) 0%, #5eead4 50%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: gradShift 8s linear infinite;
}
@keyframes gradShift {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 36px;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-num {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.meta-label {
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.4;
}

/* =================== HERO VISUAL — Browser-Mockup =================== */
.hero-visual {
  perspective: 1200px;
  position: relative;
}
.browser-mockup {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(62, 232, 181, 0.05),
    0 30px 90px -20px rgba(0, 0, 0, 0.6),
    0 0 80px -10px var(--mint-glow);
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform 800ms var(--ease-out);
}
.hero-visual:hover .browser-mockup {
  transform: rotateY(0) rotateX(0);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--line);
}
.browser-dots {
  display: flex; gap: 6px;
}
.browser-dots > span {
  width: 10px; height: 10px; border-radius: 50%;
}
.browser-dots > span:nth-child(1) { background: #ff5f56; }
.browser-dots > span:nth-child(2) { background: #ffbd2e; }
.browser-dots > span:nth-child(3) { background: #27c93f; }
.browser-dots-dark > span:nth-child(1) { background: #5a3e3c; }
.browser-dots-dark > span:nth-child(2) { background: #5a503c; }
.browser-dots-dark > span:nth-child(3) { background: #3c5a45; }

.browser-url {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.browser-content { padding: 0; }

.app-shell { padding: 18px; }
.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--mint), #14b8a6);
  color: #021c17;
  font-weight: 700;
  font-size: 15px;
}
.brand-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.brand-sub { font-size: 11px; color: var(--ink-mute); }

.user-bubble {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
}

.app-main { position: relative; }
.diag-card-hero {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr;
  gap: 14px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.diag-image-hero {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(62, 232, 181, 0.10), transparent),
    repeating-linear-gradient(45deg, #1a3833 0 6px, #14302c 6px 12px);
  position: relative;
  min-height: 160px;
  overflow: hidden;
}
.diag-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(62, 232, 181, 0.18) 50%, transparent 65%);
  background-size: 200% 100%;
  animation: shimmer 3.5s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}
.diag-tag-hero {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 10px;
  background: var(--mint);
  color: #021c17;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.diag-meta-hero { font-size: 12px; }
.diag-row-hero {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}
.diag-row-hero:last-of-type { border: none; }
.diag-label { color: var(--ink-mute); }
.diag-meta-hero strong { color: var(--ink); font-weight: 500; }
.diag-warn-hero {
  margin-top: 8px;
  padding: 6px 8px;
  background: rgba(251, 191, 36, 0.10);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: var(--warn);
  border-radius: 5px;
  font-size: 10.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.warn-icon { width: 12px; height: 12px; flex-shrink: 0; color: var(--warn); }
.diag-conf-hero {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: var(--ink-mute);
}
.conf-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.conf-fill {
  height: 100%;
  width: 84%;
  background: linear-gradient(90deg, var(--mint), #5eead4);
  border-radius: 2px;
  animation: confGrow 1.4s var(--ease-out) 0.5s both;
}
@keyframes confGrow {
  from { width: 0; }
  to { width: 84%; }
}

/* Floating Stats */
.float-stat {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.5), 0 0 30px -8px var(--mint-glow);
  animation: bob 4s var(--ease-out) infinite alternate;
}
.float-stat.stat-1 {
  top: -18px;
  right: -16px;
  animation-delay: -1s;
}
.float-stat.stat-2 {
  bottom: -14px;
  left: -20px;
  animation-delay: -2.5s;
}
.float-num {
  font-size: 18px;
  font-weight: 600;
  color: var(--mint);
  line-height: 1;
}
.float-lbl {
  font-size: 10px;
  color: var(--ink-mute);
  margin-top: 4px;
  line-height: 1.3;
}
@keyframes bob {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* =================== MARQUEE (Trust) =================== */
.trust-marquee {
  padding: 56px 0 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.trust-label {
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin: 0 0 28px;
  font-weight: 500;
}
.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.m-item {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  font-weight: 500;
}
.m-dot { color: var(--mint); opacity: 0.5; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =================== SECTIONS =================== */
.section {
  padding: 120px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-soft);
}
.section-dark {
  background: #02100e;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 1000px 400px at 50% 100%, var(--mint-soft), transparent);
  pointer-events: none;
}
.section-dark > .container { position: relative; z-index: 1; }

.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mint);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--mint); }

.sec-title {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: #fff;
}
.sec-lead {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* =================== PROBLEM GRID =================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: all 300ms var(--ease);
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), var(--mint-soft), transparent 40%);
  opacity: 0;
  transition: opacity 300ms var(--ease);
  pointer-events: none;
}
.problem-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.problem-card:hover::before { opacity: 1; }

.problem-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mint);
  margin-bottom: 18px;
  font-weight: 500;
}
.problem-card h3 {
  font-size: 19px;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: #fff;
  font-weight: 500;
}
.problem-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}
.problem-tag {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-mute);
}

/* =================== USP LAYOUT =================== */
.usp-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.usp-layout.reverse > :first-child { order: 2; }
.usp-side h2 {
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  font-weight: 600;
  color: #fff;
}
.usp-lead {
  color: var(--ink-soft);
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.6;
}

.check-list, .check-list-dark {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li, .check-list-dark li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.check-list li::before, .check-list-dark li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background-color: var(--mint-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%233ee8b5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3 3 7-7'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* =================== CODE-EDITOR =================== */
.editor {
  background: #010c0a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow:
    0 0 0 1px rgba(62, 232, 181, 0.05),
    0 30px 80px -20px rgba(0,0,0,0.6),
    0 0 80px -20px var(--mint-glow);
}
.editor-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #051815;
  border-bottom: 1px solid var(--line);
}
.editor-tabs { display: flex; gap: 4px; }
.editor-tab {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  padding: 5px 12px;
  border-radius: 5px;
  border: 1px solid transparent;
}
.editor-tab.active {
  background: rgba(62, 232, 181, 0.08);
  border-color: var(--line-strong);
  color: var(--mint);
}
.editor-body {
  display: grid;
  grid-template-columns: 44px 1fr;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
}
.line-numbers {
  display: flex;
  flex-direction: column;
  padding: 18px 0;
  color: var(--ink-mute);
  font-size: 12px;
  text-align: right;
  user-select: none;
  border-right: 1px solid var(--line);
}
.line-numbers span { padding: 0 12px; }
.code {
  margin: 0;
  padding: 18px 22px;
  color: #d6dfdb;
  white-space: pre;
  overflow-x: auto;
}
.tk-c, .cmt { color: #5e7872; font-style: italic; }
.tk-k, .kw  { color: #5eead4; }
.tk-s, .str { color: #fbbf24; }
.fn { color: #67e8f9; }
.par { color: #f9a8d4; }
.ty { color: #c4b5fd; }
.editor-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #02110e;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-mute);
}
.status-right { margin-left: auto; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; }
.status-ok { background: var(--mint); box-shadow: 0 0 8px var(--mint); }

/* =================== AUDIO-FLOW (Voice-Chat-Visualisierung) =================== */
.audio-flow {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 22px 22px 18px;
  box-shadow:
    0 0 0 1px rgba(62, 232, 181, 0.05),
    0 30px 80px -20px rgba(0,0,0,0.55),
    0 0 70px -20px var(--mint-glow);
}
.af-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.af-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mint);
  font-weight: 600;
}
.af-tag {
  font-size: 12px;
  color: var(--ink-mute);
  font-family: var(--font-mono);
}
.af-msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.af-left { justify-content: flex-start; }
.af-right { flex-direction: row-reverse; }
.af-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  color: white;
  font-size: 14px;
  flex-shrink: 0;
}
.af-ahmad { background: linear-gradient(135deg, #f59e0b, #d97706); }
.af-meyer { background: linear-gradient(135deg, var(--mint), #14b8a6); color: #021c17; }
.af-bubble {
  flex: 1;
  background: rgba(0,0,0,0.32);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  max-width: 380px;
}
.af-right .af-bubble {
  background: linear-gradient(135deg, var(--mint-soft), rgba(94, 234, 212, 0.04));
  border-color: var(--line-strong);
}
.af-bubble-back {
  border-color: var(--line-strong);
  background: rgba(62, 232, 181, 0.06);
}
.af-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  flex-wrap: wrap;
}
.af-meta strong {
  color: var(--ink);
  font-weight: 500;
  font-size: 13px;
}
.af-lang {
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.af-lang-ar { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.af-lang-de { background: var(--mint-soft); color: var(--mint); }
.af-back-tag {
  font-size: 10.5px;
  color: var(--mint);
  margin-left: auto;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Voice-Bubble: Play-Button + Waveform + Duration */
.af-voice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}
.af-play {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--mint);
  color: #021c17;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform 200ms var(--ease);
}
.af-play:hover { transform: scale(1.08); }

/* Waveform: 15 Balken in unterschiedlichen Höhen, animiert pulsierend */
.af-wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 28px;
}
.af-wave span {
  flex: 1;
  background: var(--ink-mute);
  border-radius: 2px;
  height: 30%;
  transform-origin: center;
  animation: wave 1.4s ease-in-out infinite;
}
.af-wave span:nth-child(1)  { height: 40%; animation-delay: 0s; }
.af-wave span:nth-child(2)  { height: 70%; animation-delay: -0.1s; }
.af-wave span:nth-child(3)  { height: 50%; animation-delay: -0.2s; }
.af-wave span:nth-child(4)  { height: 85%; animation-delay: -0.3s; }
.af-wave span:nth-child(5)  { height: 65%; animation-delay: -0.4s; }
.af-wave span:nth-child(6)  { height: 45%; animation-delay: -0.5s; }
.af-wave span:nth-child(7)  { height: 90%; animation-delay: -0.6s; }
.af-wave span:nth-child(8)  { height: 60%; animation-delay: -0.7s; }
.af-wave span:nth-child(9)  { height: 75%; animation-delay: -0.8s; }
.af-wave span:nth-child(10) { height: 50%; animation-delay: -0.9s; }
.af-wave span:nth-child(11) { height: 40%; animation-delay: -1.0s; }
.af-wave span:nth-child(12) { height: 65%; animation-delay: -1.1s; }
.af-wave span:nth-child(13) { height: 35%; animation-delay: -1.2s; }
.af-wave span:nth-child(14) { height: 55%; animation-delay: -1.3s; }
.af-wave span:nth-child(15) { height: 25%; animation-delay: -1.4s; }
.af-wave-mint span { background: var(--mint); opacity: 0.7; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.7); opacity: 0.6; }
  50%      { transform: scaleY(1.1); opacity: 1; }
}
.af-dur {
  font-size: 11px;
  color: var(--ink-mute);
  font-family: var(--font-mono);
  flex-shrink: 0;
}

/* Übersetzte Vorschau unter Voice-Bubble */
.af-translate {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--ink-soft);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.af-translate-icon {
  color: var(--mint);
  font-weight: 600;
}
.af-translate em { font-style: normal; }

.af-text {
  margin: 0;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
}

/* Pfeil/Flow-Schritt zwischen Messages */
.af-flow-arrow {
  display: flex;
  justify-content: center;
  padding: 6px 0;
}
.af-flow-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--mint);
  background: var(--mint-soft);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 500;
}
.af-flow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}

/* Audit-Footer */
.af-audit {
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-mute);
}
.af-audit-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: pulse 2s ease-in-out infinite;
}

/* =================== DIAGNOSE-STACK (Phone + Safety) =================== */
.diag-stack {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0;
  perspective: 1200px;
}

.phone-mockup {
  width: 280px;
  background: #0a1816;
  border: 8px solid #1a2625;
  border-radius: 36px;
  padding: 0;
  position: relative;
  box-shadow:
    0 30px 70px -10px rgba(0,0,0,0.7),
    0 0 60px -20px var(--mint-glow),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  transform: rotate(-4deg);
  transition: transform 600ms var(--ease-out);
}
.diag-stack:hover .phone-mockup { transform: rotate(-2deg) translateY(-4px); }

.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 16px;
  background: #1a2625;
  border-radius: 0 0 14px 14px;
}
.phone-screen {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  min-height: 480px;
}
.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 18px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
}
.phone-app-bar {
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mint);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-app-icon { width: 16px; height: 16px; color: var(--mint); }
.phone-photo {
  height: 180px;
  background: linear-gradient(135deg, #1a3833, #2a5048);
  position: relative;
  overflow: hidden;
  margin: 12px;
  border-radius: 10px;
}
.photo-shimmer {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 8px, transparent 8px 16px),
    linear-gradient(110deg, transparent 35%, rgba(62, 232, 181, 0.20) 50%, transparent 65%);
  background-size: auto, 200% 100%;
  animation: shimmer 3.5s ease-in-out infinite;
}
.phone-result {
  padding: 0 14px 18px;
  font-size: 11.5px;
}
.phone-result-row {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.phone-result-row:last-of-type { border-bottom: none; }
.dot-r-mini, .dot-y-mini, .dot-g-mini { width: 6px; height: 6px; border-radius: 50%; }
.dot-r-mini { background: #f87171; }
.dot-y-mini { background: #fbbf24; }
.dot-g-mini { background: var(--mint); }
.phone-key { color: var(--ink-mute); }
.phone-result strong { color: var(--ink); font-weight: 500; }
.phone-warn {
  margin-top: 10px;
  padding: 7px 10px;
  background: rgba(251, 191, 36, 0.10);
  border-radius: 6px;
  color: var(--warn);
  font-size: 10.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.warn-icon-sm { width: 12px; height: 12px; flex-shrink: 0; color: var(--warn); }

.safety-card {
  position: absolute;
  right: 0;
  bottom: 30px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 12px;
  width: 180px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6), 0 0 30px -10px var(--mint-glow);
  transform: rotate(6deg);
  transition: transform 600ms var(--ease-out);
}
.diag-stack:hover .safety-card { transform: rotate(3deg); }
.safety-head {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 12px;
  color: var(--mint);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.safety-combo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.safety-chip {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--ink);
}
.safety-chip-mat { background: rgba(255,255,255,0.04); color: var(--ink); }
.safety-chip-bad { background: rgba(248, 113, 113, 0.12); color: #fca5a5; border-color: rgba(248, 113, 113, 0.3); }
.safety-plus { color: var(--ink-mute); font-weight: 600; font-size: 14px; }
.safety-verdict {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #fca5a5;
  font-weight: 500;
  padding: 8px 10px;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 6px;
}
.safety-x {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #f87171;
  color: #021c17;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}

/* =================== COMPARE-CARD =================== */
.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
}
.compare-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  margin-bottom: 16px;
}
.compare-tab {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ink-mute);
  border-radius: 6px;
  cursor: pointer;
  transition: all 200ms var(--ease);
}
.compare-tab.active {
  background: var(--mint-soft);
  color: var(--mint);
}
.compare-tab:hover:not(.active) { color: var(--ink); }
.compare-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.compare-img-2 {
  height: 180px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 10px;
}
.compare-img-2.before {
  background: linear-gradient(135deg, #2a2520, #3a302a);
}
.dirt-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(80,60,40,0.6), transparent 25%),
    radial-gradient(circle at 70% 60%, rgba(70,50,30,0.5), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(60,40,20,0.4), transparent 25%);
}
.compare-img-2.after {
  background: linear-gradient(135deg, #2a4540, #3a5a52);
}
.clean-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  animation: shimmer 3s ease-in-out infinite;
}
.img-label {
  position: relative; z-index: 1;
  font-size: 11px;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--ink-soft);
  font-weight: 500;
}
.compare-bands-2 {
  font-family: var(--font-mono);
  font-size: 12.5px;
  display: grid;
  gap: 6px;
}
.band-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.band-key { color: var(--ink-mute); }
.band-val { font-weight: 600; }
.band-bad { color: #f87171; }
.band-good { color: var(--mint); }
.band-great { color: #5eead4; }
.approve-2 {
  justify-content: flex-start;
  gap: 8px;
  background: var(--mint-soft);
  border-color: var(--line-strong);
  color: var(--mint);
}
.check-svg {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--mint);
  color: #021c17;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 12px;
}

/* =================== MULTI-TENANT-BROWSER =================== */
.multi-tenant-wrap { text-align: center; }
.tenant-browser {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 56px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6), 0 0 60px -20px var(--mint-glow);
  text-align: left;
}
.tenant-tabs {
  display: flex;
  gap: 0;
  flex: 1;
  overflow: hidden;
}
.tenant-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--ink-mute);
  border-right: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  cursor: pointer;
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-mono);
}
.tenant-tab.active {
  background: var(--bg-card);
  color: var(--ink);
  border-bottom: 2px solid var(--mint);
}
.tt-fav {
  width: 16px; height: 16px;
  border-radius: 4px;
  font-size: 10px;
  display: grid; place-items: center;
  color: white;
  font-weight: 700;
  font-family: var(--font-sans);
}
.tt1-color { background: #0d9488; }
.tt2-color { background: #2563eb; }
.tt3-color { background: #d97706; }
.tt1-color-text { color: #0d9488; }

.tenant-content { padding: 24px; min-height: 320px; }
.tenant-page { display: flex; flex-direction: column; gap: 20px; }
.tp-header {
  padding: 18px 20px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tt1-bg { background: linear-gradient(135deg, rgba(13,148,136,0.18), rgba(13,148,136,0.05)); border: 1px solid rgba(13,148,136,0.3); }
.tp-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
  color: #fff;
}
.tp-mark {
  width: 32px; height: 32px;
  background: #0d9488;
  color: white;
  border-radius: 6px;
  display: grid; place-items: center;
  font-weight: 700;
}
.tp-actions { display: flex; gap: 6px; }
.tp-pill {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
}
.tp-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tp-stat {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 10px;
}
.tp-stat-num {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.tp-stat-lbl {
  font-size: 12px;
  color: var(--ink-mute);
}
.tp-demo-tag {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(251, 191, 36, 0.15);
  color: var(--warn);
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: middle;
  font-weight: 600;
}
.tp-demo-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--ink-mute);
  font-style: italic;
  text-align: center;
}

.tenant-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-mute);
  font-family: var(--font-mono);
}

/* =================== STIMMEN (Chat) =================== */
.section-quotes {
  background: var(--bg-soft);
  padding: 120px 0;
}
.chat-stack {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}
.chat-msg {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.chat-msg.right { flex-direction: row-reverse; }
.chat-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}
.avatar-m { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.avatar-k { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.avatar-s { background: linear-gradient(135deg, #d97706, #f59e0b); }
.chat-body { flex: 1; max-width: 560px; }
.chat-msg.right .chat-body { text-align: right; }
.chat-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  align-items: baseline;
  font-size: 13px;
  color: var(--ink-mute);
}
.chat-msg.right .chat-meta { justify-content: flex-end; }
.chat-meta strong { color: var(--ink); font-weight: 500; }
.chat-role { color: var(--mint); font-size: 12px; }
.chat-time { color: var(--ink-mute); font-size: 12px; margin-left: auto; }
.chat-msg.right .chat-time { margin-left: 0; margin-right: auto; }
.chat-bubble {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  position: relative;
  text-align: left;
}
.chat-msg.right .chat-bubble {
  background: linear-gradient(135deg, var(--mint-soft), rgba(94, 234, 212, 0.05));
  border-color: var(--line-strong);
}

/* =================== TIMELINE =================== */
.timeline {
  display: grid;
  gap: 18px;
  margin-top: 40px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, var(--mint), transparent);
}
.tl-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
}
.tl-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  color: var(--mint);
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 17px;
  position: relative;
  z-index: 1;
}
.tl-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  transition: all 300ms var(--ease);
}
.tl-card:hover {
  border-color: var(--line-strong);
  transform: translateX(4px);
}
.tl-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.tl-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.tl-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  background: var(--mint-soft);
  color: var(--mint);
  border-radius: 6px;
  font-size: 12px;
  font-family: var(--font-mono);
}

/* =================== PRICING =================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 300ms var(--ease);
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.price-card.highlight {
  border: 1px solid var(--mint);
  background: linear-gradient(180deg, rgba(62, 232, 181, 0.06), var(--bg-card));
  box-shadow: 0 0 40px -10px var(--mint-glow);
}
.price-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mint);
  color: #021c17;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 600;
}
.price-name {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.price-value {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 4px;
  color: #fff;
}
.price-value span { font-size: 14px; color: var(--ink-mute); font-weight: 400; }
.price-note { font-size: 13px; color: var(--ink-mute); margin-bottom: 24px; }
.price-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  flex: 1;
}
.price-list li {
  padding-left: 26px;
  position: relative;
  color: var(--ink-soft);
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background-color: var(--mint-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%233ee8b5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3 3 7-7'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* =================== BENTO (Security) =================== */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.bento-cell {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: all 300ms var(--ease);
  position: relative;
  overflow: hidden;
}
.bento-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), var(--mint-soft), transparent 60%);
  opacity: 0;
  transition: opacity 300ms var(--ease);
  pointer-events: none;
}
.bento-cell:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.bento-cell:hover::before { opacity: 1; }
.bento-cell.big { grid-column: span 2; }
.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--mint-soft);
  color: var(--mint);
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.bento-icon svg { width: 24px; height: 24px; display: block; }
.bento-cell h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.bento-cell p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.bento-tag, .bento-uptime {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mint);
  display: flex; align-items: center; gap: 6px;
}
.uptime-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: pulse 2s ease-in-out infinite;
}

/* =================== FINAL CTA =================== */
.section-cta {
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #02100e;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cta-glow {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--mint-glow), transparent 60%);
  filter: blur(80px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  animation: pulse-cta 6s ease-in-out infinite alternate;
}
@keyframes pulse-cta {
  0% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.15); }
}
.cta-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.cta-title {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: #fff;
  font-weight: 600;
}
.cta-sub {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 36px;
  line-height: 1.55;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.cta-foot { font-size: 13.5px; color: var(--ink-mute); margin: 0; }

/* =================== FOOTER =================== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 72px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2.5fr;
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-claim {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 320px;
  margin-bottom: 24px;
  line-height: 1.55;
}
.footer-pilot-note {
  max-width: 380px;
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 2px solid rgba(62, 232, 181, 0.6);
  background: rgba(62, 232, 181, 0.06);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.footer-pilot-note a { color: var(--mint); text-decoration: underline; text-underline-offset: 2px; }
.footer-pilot-note a:hover { color: var(--ink); }

.newsletter {
  display: flex;
  gap: 8px;
  max-width: 360px;
}
.news-input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
}
.news-input:focus { border-color: var(--mint); }
.news-input::placeholder { color: var(--ink-mute); }
.news-btn {
  padding: 10px 16px;
  background: var(--mint-soft);
  color: var(--mint);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 200ms var(--ease);
}
.news-btn:hover { background: var(--mint); color: #021c17; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-cols h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin: 0 0 16px;
  font-weight: 600;
}
.footer-cols a {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 5px 0;
}
.footer-cols a:hover { color: var(--mint); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 12.5px;
  color: var(--ink-mute);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 540px; margin: 0 auto; width: 100%; }
  .usp-layout { grid-template-columns: 1fr; gap: 48px; }
  .usp-layout.reverse > :first-child { order: 0; }
  .bento-cell.big { grid-column: span 1; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 760px) {
  .primary-nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .header-actions .btn-primary { padding: 8px 14px; font-size: 13px; }
  .container { padding: 0 20px; }
  .hero { padding: 60px 0 50px; min-height: auto; }
  .hero-title { font-size: clamp(32px, 8vw, 48px); }
  .hero-meta { gap: 18px; flex-wrap: wrap; }
  .meta-num { font-size: 22px; }
  .problem-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .compare-images { grid-template-columns: 1fr; }
  .tp-body { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .marquee-track { gap: 24px; }
  .m-item { font-size: 13px; }
  .browser-mockup { transform: none; }
  .phone-mockup { transform: none; }
  .safety-card { display: none; }
  .float-stat { display: none; }
}
@media (max-width: 460px) {
  .footer-cols { grid-template-columns: 1fr; }
  .tl-step { grid-template-columns: 1fr; gap: 12px; }
  .timeline::before { display: none; }
}

/* =================== FOCUS =================== */
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =================== LIGHT-MODE Kontrast-Fix =================== */
/* Alle hartkodierten weissen Headings/Werte in Light-Mode auf dunkle Schrift
   zwingen, damit sie auf hellem Hintergrund lesbar bleiben. Ausgenommen:
   Elemente, die auf farbigem Hintergrund stehen (.section-cta, mint-Buttons). */
:root[data-theme="light"] .hero-title,
:root[data-theme="light"] .meta-num,
:root[data-theme="light"] .sec-title,
:root[data-theme="light"] .sec-lead,
:root[data-theme="light"] .problem-card h3,
:root[data-theme="light"] .problem-card p,
:root[data-theme="light"] .tl-card h3,
:root[data-theme="light"] .tl-card p,
:root[data-theme="light"] .price-value,
:root[data-theme="light"] .price-name,
:root[data-theme="light"] .price-list li,
:root[data-theme="light"] .bento-cell h3,
:root[data-theme="light"] .bento-cell p,
:root[data-theme="light"] .tp-brand,
:root[data-theme="light"] .brand-name,
:root[data-theme="light"] .footer-claim,
:root[data-theme="light"] .footer-cols h4,
:root[data-theme="light"] .footer-cols a {
  color: var(--ink);
}

/* Akzent-Untertoene fuer feiner kontrastierte Stellen */
:root[data-theme="light"] .problem-card p,
:root[data-theme="light"] .tl-card p,
:root[data-theme="light"] .bento-cell p,
:root[data-theme="light"] .footer-claim,
:root[data-theme="light"] .sec-lead {
  color: var(--ink-soft);
}

/* WICHTIG: .section-dark bleibt absichtlich dunkel (siehe Z. 509+893).
   Im Light-Mode muss Text DARIN trotzdem HELL bleiben, sonst dunkel-auf-dunkel. */
:root[data-theme="light"] .section-dark .usp-side h2,
:root[data-theme="light"] .section-dark .usp-side p,
:root[data-theme="light"] .section-dark .usp-lead,
:root[data-theme="light"] .section-dark .check-list-dark li,
:root[data-theme="light"] .section-dark .check-list-dark li strong,
:root[data-theme="light"] .section-dark .eyebrow-light,
:root[data-theme="light"] .section-dark h2,
:root[data-theme="light"] .section-dark h3,
:root[data-theme="light"] .section-dark p,
:root[data-theme="light"] .section-cta h2,
:root[data-theme="light"] .section-cta p {
  color: #e5f4ef !important;
}
:root[data-theme="light"] .section-dark .usp-side p,
:root[data-theme="light"] .section-dark p {
  color: #9cb5ad !important;
}
:root[data-theme="light"] .section-dark .usp-side h2,
:root[data-theme="light"] .section-dark h2,
:root[data-theme="light"] .section-dark h3 {
  color: #e5f4ef !important;
}
:root[data-theme="light"] .section-dark .check-list-dark li,
:root[data-theme="light"] .section-dark .check-list-dark li strong {
  color: #e5f4ef !important;
}

/* Footer-Links: kleiner Hover-Akzent */
:root[data-theme="light"] .footer-cols a:hover {
  color: var(--mint-strong);
}
