/* =============================================================
   V2 — Auralis-inspiriert: dunkel, futuristisch, Scrollytelling-Hero
   Lädt NACH styles.css (überschreibt gezielt). Marken-Rot als Akzent.
   ============================================================= */

/* Anthrazit statt Pechschwarz — "dunkel aber nicht zu dunkel, freundlich, seriös" */
html.v2 { --color-bg: #0e131f; --color-surface: #161d2c; --color-surface-2: #1f2839; }
html.v2 body {
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(94,200,232,0.06), transparent 60%),
    radial-gradient(900px 600px at -8% 12%, rgba(226,35,26,0.10), transparent 55%),
    #0e131f;
}
/* Lenis smooth-scroll verträgt sich nicht mit CSS scroll-behavior:smooth */
html.v2 { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
/* Trust-Sektionen unter dem Hero einen Hauch heller/freundlicher */
html.v2 .section--surface { background: #131a28; }

/* ---------- Scrollytelling-Hero ---------- */
.shero { position: relative; height: 520vh; background: #0a0f18; }
.shero__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate; contain: layout paint; }
.shero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; object-fit: cover; background: #0a0f18 url('assets/frames-v2/f-001.jpg') center / cover no-repeat; }
.shero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 28%, transparent 34%, rgba(5,7,12,0.70) 100%),
    linear-gradient(180deg, rgba(5,7,12,0.62) 0%, rgba(5,7,12,0.18) 38%, rgba(5,7,12,0.82) 100%);
}
/* dezente futuristische Lichtspuren (Neon) */
.shero__pin::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(94,200,232,0.10) 50%, transparent 50.3%),
    linear-gradient(0deg, transparent 49.6%, rgba(226,35,26,0.08) 50%, transparent 50.4%);
  background-size: 7% 100%, 100% 9%;
  mix-blend-mode: screen;
}

/* HUD */
.shero__hud {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: grid; grid-template-rows: auto 1fr auto; padding: clamp(1rem, 2.4vw, 2rem);
}
.shero__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; pointer-events: auto; }
.shero__brand { font-family: "Poppins", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; font-size: clamp(0.8rem, 1.2vw, 1rem); color: #fff; }
.shero__brand em { font-family: "Source Serif 4", serif; font-style: italic; text-transform: none; letter-spacing: 0; color: rgba(255,255,255,0.8); }
.shero__navpill { --lq-radius: 999px; display: flex; gap: clamp(0.8rem, 1.6vw, 1.4rem); padding: 0.55em 1.2em; }
.shero__navpill a { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.82); font-weight: 600; }
.shero__navpill a:hover { color: #fff; }
.shero__call {
  display: inline-flex; align-items: center; gap: 0.5em; pointer-events: auto;
  background: var(--color-primary); color: #fff; font-weight: 600; font-size: 0.85rem;
  padding: 0.75em 1.3em; border-radius: 999px; box-shadow: 0 8px 28px rgba(226,35,26,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.shero__call:hover { transform: scale(1.05); box-shadow: 0 14px 36px rgba(226,35,26,0.55); }

/* Seiten-Mikrotext */
.shero__side { position: absolute; top: 50%; transform: translateY(-50%); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); line-height: 1.9; }
.shero__side--left { left: clamp(1rem, 2.4vw, 2rem); max-width: 200px; text-align: justify; }
.shero__side--right { right: clamp(1rem, 2.4vw, 2rem); display: grid; gap: 0.55em; text-align: right; }
.shero__side--right span { position: relative; }

/* Mittige, gestufte Headline */
.shero__center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 1rem; z-index: 2; }
.shero__stage { grid-area: 1 / 1; opacity: 0; transform: translateY(14px) scale(0.99); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); display: grid; gap: clamp(1rem, 2.5vw, 1.8rem); justify-items: center; pointer-events: none; }
.shero__stage.is-active { opacity: 1; transform: none; }
.shero__stage.is-active .shero__cta { pointer-events: auto; }
.shero h1 {
  font-family: "Anton", "Sora", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.9rem, 5.2vw, 4.6rem); line-height: 0.95; letter-spacing: 0.005em; color: #fff;
  text-shadow: 0 6px 50px rgba(0,0,0,0.6);
}
.shero h1 em { font-style: normal; color: var(--color-primary); }
.shero__cta {
  display: inline-flex; align-items: center; gap: 0.6em; background: var(--color-primary); color: #fff;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.15rem);
  padding: 1em 1.8em; border-radius: 999px; box-shadow: 0 12px 36px rgba(226,35,26,0.45);
  position: relative; transition: transform 0.2s;
}
.shero__cta:hover { transform: scale(1.05); }
.shero__cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(226,35,26,0.5); animation: callPulse 2.6s ease-out infinite; pointer-events: none; }

/* Scroll-Hinweis */
.shero__hint { justify-self: center; align-self: end; display: grid; justify-items: center; gap: 0.5em; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6); transition: opacity 0.4s; }
.shero__hint i { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,0.5); border-radius: 12px; position: relative; }
.shero__hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: sheroDot 1.6s ease-in-out infinite; }
@keyframes sheroDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }

/* V2: Section-Headings etwas „futuristischer" (Uppercase, tighter) */
html.v2 .section-head h2, html.v2 .split h2, html.v2 .kasko__body h2, html.v2 .cta-band h2 {
  text-transform: uppercase; letter-spacing: -0.01em;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .shero { height: 440vh; }
  .shero__navpill { display: none; }
  .shero__side { display: none; }
  .shero h1 { font-size: clamp(1.7rem, 9vw, 3rem); }
  .shero__brand { font-size: 0.72rem; letter-spacing: 0.16em; }
  .shero__call { font-size: 0.78rem; padding: 0.65em 1em; }
}
@media (prefers-reduced-motion: reduce) {
  .shero__hint i::after { animation: none; }
  .shero__intro { animation: none; transition: none; }
}

/* ---------- Glas-Trust-Chip (dockt je Akt an die Headline) ---------- */
.shero__chip {
  display: inline-flex; align-items: center; gap: 0.55em;
  margin-top: 0.2rem; padding: 0.5em 1.05em; border-radius: 999px;
  font-family: "Poppins", sans-serif; font-weight: 500; font-size: clamp(0.74rem, 1.1vw, 0.9rem);
  letter-spacing: 0.01em; color: rgba(255,255,255,0.92);
  /* KEIN backdrop-filter: liegt über dem pro-Frame neu gezeichneten Canvas → würde ruckeln.
     Stattdessen solides, leicht transparentes Dunkel — sieht über den dunklen Frames wie Glas aus. */
  background: rgba(10,14,22,0.52);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}
/* Nav-Pille im Hero: Blur ebenfalls raus (lag über dem Canvas) */
.shero__navpill { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10,14,22,0.42); }

/* ---------- Geschmeidigkeit: backdrop-filter überall raus (rechnet beim Scrollen pro Frame neu) ---------- */
html.v2 .card,
html.v2 .quote,
html.v2 .faq__item,
html.v2 .form,
html.v2 .kasko__card,
html.v2 .callback,
html.v2 .uspbar,
html.v2 .brandmarquee {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  background: var(--color-surface);
}
html.v2 .section--surface .card,
html.v2 .section--surface .quote,
html.v2 .section--surface .faq__item {
  background: var(--color-surface-2);
}
html.v2 .header.is-scrolled,
html.v2 .sticky-cta {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  background: color-mix(in srgb, var(--color-bg) 95%, transparent);
}
html.v2 body { background-attachment: scroll; }  /* fixed-Background = teurer Repaint beim Scrollen */
.shero__chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--color-primary); box-shadow: 0 0 10px 1px rgba(226,35,26,0.7);
}

/* ---------- Intro-/Lade-Overlay (rotes Logo "formt sich", dann startet die Fahrt) ---------- */
.shero__intro {
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 45%, #131a28 0%, #0a0f18 70%);
  transition: opacity 0.8s var(--ease);
}
.shero__intro.is-done { opacity: 0; pointer-events: none; }
.shero__intro-logo {
  width: clamp(120px, 22vw, 200px); height: auto;
  opacity: 0; transform: translateY(8px) scale(0.96);
  animation: introLogo 1.5s var(--ease) forwards;
  filter: drop-shadow(0 8px 30px rgba(226,35,26,0.35));
}
.shero__intro::after {
  content: ""; position: absolute; left: 50%; bottom: clamp(2rem, 8vh, 5rem); transform: translateX(-50%);
  width: 120px; height: 2px; border-radius: 2px; overflow: hidden;
  background: rgba(255,255,255,0.12);
}
.shero__intro::before {
  content: ""; position: absolute; left: 50%; bottom: clamp(2rem, 8vh, 5rem); transform: translateX(-50%);
  width: 120px; height: 2px; border-radius: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  background-size: 50% 100%; background-repeat: no-repeat;
  animation: introBar 1.3s linear infinite;
}
@keyframes introLogo { 0% { opacity: 0; transform: translateY(8px) scale(0.96); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes introBar { from { background-position: -60% 0; } to { background-position: 160% 0; } }
