/* Landing page — cinematic hero + scroll-linked sections
   Nutzt vorhandene --scroll-progress und [data-reveal] Infrastruktur aus script.js
   Neue: [data-reveal-stagger], .home-* Klassen, scroll-linked transforms via CSS. */

/* ======================================================================
   HERO PLUS  — bigger, bolder, more animation
   ====================================================================== */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 8rem 0 4rem;
  isolation: isolate;
  overflow: hidden;
}

/* Animiertes Farb-Feld: 3 driftende Radial-Gradients + Grid + Noise */
.home-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(700px 500px at 20% 25%, rgba(120, 100, 255, 0.35), transparent 55%),
    radial-gradient(600px 450px at 82% 65%, rgba(60, 200, 255, 0.32), transparent 55%),
    radial-gradient(500px 400px at 50% 100%, rgba(255, 80, 180, 0.22), transparent 60%);
  z-index: -2;
  filter: blur(20px);
  animation: heroPlusDrift 22s ease-in-out infinite alternate;
  transform: translateY(calc(var(--scroll-progress, 0) * -80px)) scale(1.02);
  will-change: transform;
}

@keyframes heroPlusDrift {
  0%   { transform: translate(0%, 0%) scale(1.02); }
  50%  { transform: translate(-4%, 3%) scale(1.08); }
  100% { transform: translate(3%, -2%) scale(1.04); }
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 200, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 200, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 78%);
  z-index: -1;
  transform: translateY(calc(var(--scroll-progress, 0) * -30px));
  pointer-events: none;
}

.home-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  /* Nicht width:100% - das hat die Containerbreite ueberschrieben und den Text an
     den linken Bildschirmrand geklebt. */
  width: min(var(--container, 1240px), calc(100% - 48px));
}
.home-hero-copy { min-width: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  color: rgba(240, 245, 255, 0.9);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
body.anim-ready .hero-badge { animation: badgeIn 0.7s cubic-bezier(0.19, 1, 0.22, 1) both; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: badgePulse 2.2s ease-out infinite; }
@keyframes badgeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes badgePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); } 60% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } }

.home-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 1.5rem;
}
/* Zeilen sind Standard sichtbar. Wenn Animationen unterstuetzt sind und JS
   die Klasse .anim-ready am body setzt, laufen die Reveal-Animationen.
   So bleibt der Text immer lesbar, selbst wenn CSS/JS Probleme haben. */
.home-hero h1 .hero-line { display: block; }
body.anim-ready .home-hero h1 .hero-line {
  opacity: 0;
  transform: translateY(28px);
  animation: heroLineIn 0.85s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
body.anim-ready .home-hero h1 .hero-line:nth-child(1) { animation-delay: 0.05s; }
body.anim-ready .home-hero h1 .hero-line:nth-child(2) { animation-delay: 0.18s; }
body.anim-ready .home-hero h1 .hero-line:nth-child(3) { animation-delay: 0.31s; }
@keyframes heroLineIn { to { opacity: 1; transform: none; } }

.home-hero h1 .hero-accent {
  background: linear-gradient(135deg, #7cc8ff 0%, #a48cff 55%, #ff7fb3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(140, 180, 255, 0.35));
}

.home-hero p.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(230, 235, 245, 0.75);
  line-height: 1.55;
  max-width: 32rem;
  margin: 0 0 2rem;
}
body.anim-ready .home-hero p.hero-lead {
  opacity: 0;
  animation: heroLineIn 0.85s 0.44s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.home-hero-cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}
body.anim-ready .home-hero-cta {
  opacity: 0;
  animation: heroLineIn 0.85s 0.55s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.25s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.25s ease;
  border: 1px solid transparent;
}
.hero-btn svg { width: 16px; height: 16px; }
.hero-btn:hover { transform: translateY(-2px); }

.hero-btn-primary {
  background: linear-gradient(135deg, #fff, #d4e6ff);
  color: #04070a;
  box-shadow: 0 15px 40px -12px rgba(180, 200, 255, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.hero-btn-primary:hover { box-shadow: 0 22px 50px -12px rgba(180, 200, 255, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.hero-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(240, 245, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}
.hero-btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.2); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  margin-top: 2.25rem;
}
body.anim-ready .hero-trust {
  opacity: 0;
  animation: heroLineIn 0.85s 0.7s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(200, 215, 235, 0.6);
  font-size: 0.85rem;
  letter-spacing: -0.005em;
}
.hero-trust span::before {
  content: "✓";
  color: #7cc8ff;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Orbit-Visual rechts — Ring, Pulse-Dots, Center-Mark */
.home-hero-orbit {
  position: relative;
  aspect-ratio: 1;
  /* Explizite Breite: mit margin:auto allein schrumpft das Grid-Item auf 0 px,
     weil alle Kinder absolut positioniert sind - dann war das Logo unsichtbar. */
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  transform-style: preserve-3d;
  will-change: transform;
}
body.anim-ready .home-hero-orbit {
  opacity: 0;
  animation: orbitReveal 1s 0.3s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
@keyframes orbitReveal { to { opacity: 1; } }

.home-hero-orbit::before,
.home-hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(120, 200, 255, 0.15);
  animation: ringRotate 30s linear infinite;
}
.home-hero-orbit::before { inset: 5%; border-color: rgba(120, 200, 255, 0.2); }
.home-hero-orbit::after { inset: 15%; border-color: rgba(164, 140, 255, 0.18); animation-direction: reverse; animation-duration: 40s; }
@keyframes ringRotate { to { transform: rotate(360deg); } }

.orbit-core {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(120, 200, 255, 0.15), rgba(164, 140, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 80px -20px rgba(120, 180, 255, 0.5);
  display: grid;
  place-items: center;
  animation: coreFloat 6s ease-in-out infinite alternate;
}
.orbit-core img { width: 65%; height: 65%; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5)); }
@keyframes coreFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.orbit-pulse {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #7cc8ff;
  box-shadow: 0 0 20px rgba(124, 200, 255, 0.8), 0 0 0 0 rgba(124, 200, 255, 0.6);
  animation: orbitPulse 3s ease-out infinite;
}
.orbit-pulse.a { top: 8%; left: 50%; }
.orbit-pulse.b { top: 50%; right: 3%; background: #a48cff; box-shadow: 0 0 20px rgba(164, 140, 255, 0.8), 0 0 0 0 rgba(164, 140, 255, 0.6); animation-delay: 1s; }
.orbit-pulse.c { bottom: 15%; left: 15%; background: #ff7fb3; box-shadow: 0 0 20px rgba(255, 127, 179, 0.8), 0 0 0 0 rgba(255, 127, 179, 0.6); animation-delay: 2s; }
@keyframes orbitPulse {
  0%   { box-shadow: 0 0 20px currentColor, 0 0 0 0 rgba(124, 200, 255, 0.55); }
  70%  { box-shadow: 0 0 20px currentColor, 0 0 0 24px rgba(124, 200, 255, 0); }
  100% { box-shadow: 0 0 20px currentColor, 0 0 0 0 rgba(124, 200, 255, 0); }
}

.orbit-chip {
  position: absolute;
  padding: 0.55rem 0.85rem;
  background: rgba(10, 15, 24, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-size: 0.72rem;
  color: rgba(230, 240, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5);
  animation: chipFloat 5s ease-in-out infinite alternate;
}
.orbit-chip b { color: #fff; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.orbit-chip small { color: rgba(180, 195, 215, 0.65); font-size: 0.7rem; }
.orbit-chip { white-space: nowrap; }
.orbit-chip.top { top: 4%; left: -8%; animation-delay: 0.4s; }
.orbit-chip.bottom { bottom: 8%; right: -8%; animation-delay: 1.2s; }
@keyframes chipFloat { from { transform: translateY(0); } to { transform: translateY(-8px); } }

/* Scroll-Indicator */
.home-hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(200, 215, 235, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: calc(1 - var(--scroll-progress, 0) * 6);
  pointer-events: none;
}
.home-hero-scroll-hint span::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  margin: 12px auto 0;
  background: linear-gradient(to bottom, rgba(140, 180, 255, 0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
/* Auf niedrigen Bildschirmen wuerde der Hinweis in die Trust-Zeile rutschen. */
@media (max-height: 880px), (max-width: 960px) { .home-hero-scroll-hint { display: none; } }
.stat-label { overflow-wrap: anywhere; hyphens: auto; }
@keyframes scrollLine {
  0%,100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.3); }
}

/* ======================================================================
   MARQUEE  — signal strip
   ====================================================================== */
.home-marquee {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}
.home-marquee::before,
.home-marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.home-marquee::before { left: 0; background: linear-gradient(to right, var(--bg, #03070b), transparent); }
.home-marquee::after { right: 0; background: linear-gradient(to left, var(--bg, #03070b), transparent); }
.marquee-track {
  display: flex;
  gap: 3.5rem;
  animation: marqueeScroll 40s linear infinite;
  will-change: transform;
}
.marquee-track span {
  color: rgba(180, 195, 220, 0.55);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
}
.marquee-track span::after {
  content: "◆";
  color: rgba(140, 180, 255, 0.35);
  font-size: 0.55rem;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ======================================================================
   STATS BAND — grosse Zahlen mit Counter-Animation via CSS
   ====================================================================== */
.home-stats {
  padding: 6rem 0;
  position: relative;
}
.home-stats::before {
  content: "";
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 1200px; height: 400px;
  background: radial-gradient(ellipse, rgba(120, 100, 255, 0.14), transparent 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat {
  padding: 2rem 1.75rem;
  background: linear-gradient(180deg, rgba(16, 22, 32, 0.6), rgba(10, 14, 22, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), border-color 0.3s ease;
}
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(120, 200, 255, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 200, 255, 0.25);
}
.stat:hover::before { opacity: 1; }
.stat-value {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #fff, #b8d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin: 0.75rem 0 0;
  color: rgba(200, 215, 235, 0.6);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ======================================================================
   FEATURE SECTION mit Scroll-Reveal Grid
   ====================================================================== */
.home-features {
  padding: 6rem 0;
  position: relative;
}
.section-head-x {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}
.section-head-x .eyebrow {
  color: rgba(120, 200, 255, 0.9);
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}
.section-head-x h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.05;
  font-weight: 800;
}
.section-head-x h2 span {
  background: linear-gradient(135deg, #7cc8ff, #a48cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head-x .lead {
  color: rgba(215, 225, 240, 0.7);
  font-size: 1.1rem;
  line-height: 1.55;
  margin: 0;
  max-width: 34rem;
}

.feature-cards-x {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feat-card {
  position: relative;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(16, 22, 32, 0.65), rgba(10, 14, 22, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), border-color 0.3s ease;
}
.feat-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(120, 200, 255, 0.4), transparent 55%, rgba(255, 127, 179, 0.3));
  -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 0.35s ease;
  pointer-events: none;
}
.feat-card:hover { transform: translateY(-6px); }
.feat-card:hover::before { opacity: 1; }

.feat-num {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(120, 200, 255, 0.1);
  border: 1px solid rgba(120, 200, 255, 0.25);
  border-radius: 8px;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", monospace;
  font-size: 0.7rem;
  color: #7cc8ff;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.feat-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  font-weight: 700;
  line-height: 1.25;
}
.feat-card p {
  margin: 0;
  color: rgba(215, 225, 240, 0.68);
  font-size: 0.95rem;
  line-height: 1.55;
}
.feat-icon-slot {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  color: rgba(120, 200, 255, 0.4);
}
.feat-icon-slot svg { width: 26px; height: 26px; }

/* ======================================================================
   SHOWCASE — Comparison Before/After
   ====================================================================== */
.home-showcase {
  padding: 6rem 0;
  position: relative;
}
.showcase-panel {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(16, 22, 32, 0.7), rgba(10, 14, 22, 0.9));
  padding: 3rem 3rem 0;
}
.showcase-panel::before {
  content: "";
  position: absolute;
  top: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(120, 100, 255, 0.25), transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.showcase-header {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin-bottom: 3rem;
}
.showcase-header .eyebrow {
  color: rgba(120, 200, 255, 0.9);
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 0.75rem;
}
.showcase-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 800;
}
.showcase-header p {
  color: rgba(215, 225, 240, 0.7);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.55;
}

.showcase-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
  z-index: 1;
  padding-bottom: 3rem;
}
.showcase-col {
  padding: 1.75rem;
}
.showcase-col:first-child {
  border-right: 1px dashed rgba(255, 255, 255, 0.1);
}
.showcase-col h3 {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(180, 195, 220, 0.65);
  font-weight: 700;
}
.showcase-col.after h3 { color: #7cc8ff; }
.showcase-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: ui-monospace, "Cascadia Code", "SF Mono", monospace;
}
.showcase-row:last-child { border-bottom: none; }
.showcase-row .metric { color: rgba(200, 215, 235, 0.72); font-size: 0.9rem; }
.showcase-row .value { color: #fff; font-size: 1.1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.showcase-col.after .value { color: #7cc8ff; }
.showcase-col.after .delta {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 2px 8px;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 6px;
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 700;
}
.showcase-col.after .delta.down { background: rgba(255, 100, 130, 0.12); border-color: rgba(255, 100, 130, 0.3); color: #ff8fa8; }

/* ======================================================================
   FINAL CTA
   ====================================================================== */
.home-cta {
  padding: 7rem 0 5rem;
  position: relative;
  text-align: center;
}
.cta-panel {
  position: relative;
  border-radius: 32px;
  padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  background:
    radial-gradient(ellipse at top, rgba(120, 100, 255, 0.25), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(60, 200, 255, 0.15), transparent 60%),
    linear-gradient(180deg, rgba(16, 22, 32, 0.7), rgba(10, 14, 22, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 800;
  line-height: 1.05;
  background: linear-gradient(135deg, #fff 0%, #b8d4ff 60%, #a48cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-panel p {
  color: rgba(215, 225, 240, 0.75);
  font-size: 1.1rem;
  max-width: 40rem;
  margin: 0 auto 2rem;
  line-height: 1.55;
}
.cta-actions {
  display: inline-flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ======================================================================
   REVEAL — smoother than default site.css
   ====================================================================== */
[data-reveal-slow] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}
[data-reveal-slow].visible { opacity: 1; transform: translateY(0); }

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.19, 1, 0.22, 1), transform 0.75s cubic-bezier(0.19, 1, 0.22, 1);
}
[data-reveal-stagger].visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-stagger].visible > *:nth-child(1) { transition-delay: 0.04s; }
[data-reveal-stagger].visible > *:nth-child(2) { transition-delay: 0.14s; }
[data-reveal-stagger].visible > *:nth-child(3) { transition-delay: 0.24s; }
[data-reveal-stagger].visible > *:nth-child(4) { transition-delay: 0.34s; }
[data-reveal-stagger].visible > *:nth-child(5) { transition-delay: 0.44s; }
[data-reveal-stagger].visible > *:nth-child(6) { transition-delay: 0.54s; }

/* Count-up (JS setzt --count-to und --count-suffix; wir animieren via CSS Custom Prop Trick) */
[data-counter] {
  display: inline-block;
}

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 960px) {
  .home-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .home-hero-orbit { max-width: 320px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-cards-x { grid-template-columns: 1fr; }
  .section-head-x { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 2.5rem; }
  .showcase-columns { grid-template-columns: 1fr; }
  .showcase-col:first-child { border-right: none; border-bottom: 1px dashed rgba(255, 255, 255, 0.1); }
  .showcase-panel { padding: 2rem 1.5rem 0; }
}

@media (max-width: 640px) {
  .home-hero { padding: 6rem 0 3rem; min-height: auto; }
  .home-hero h1 .line { display: inline; }
  .home-hero-orbit { max-width: 240px; }
  .orbit-chip { display: none; }
  .home-hero::before { animation-duration: 30s; }
  .stats-grid { gap: 1rem; }
  .stat { padding: 1.5rem 1.25rem; }
  .home-features, .home-stats, .home-showcase { padding: 4rem 0; }
  .home-cta { padding: 5rem 0 3rem; }
  .cta-panel { border-radius: 24px; }
  .marquee-track { animation-duration: 30s; }
}

/* ======================================================================
   NAV-FIXES (gelten auch fuer alle anderen Seiten wenn home.css geladen ist,
   aber die kritischen Regeln gehoeren global - siehe site.css Patch)
   ====================================================================== */

@media (prefers-reduced-motion: reduce) {
  .home-hero::before, .home-hero::after,
  .home-hero-orbit::before, .home-hero-orbit::after,
  .orbit-core, .orbit-pulse, .orbit-chip,
  .marquee-track, .home-hero-scroll-hint span::after,
  .home-hero h1 .line, .home-hero p.hero-lead,
  .home-hero-cta, .hero-trust,
  .hero-badge {
    animation: none !important;
  }
  [data-reveal-slow], [data-reveal-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
