/* ============================================================
   GutachtenHero – Website (gutachten-hero.de)
   CI: Blau #2068E0 · Orange #F87000 · Anthrazit #1F2A37 · Hellgrau #F4F6F8
   Schrift: IBM Plex Sans (self-hosted, DSGVO-konform – kein Google-CDN)
   ============================================================ */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/plex-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/plex-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/plex-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/plex-700.woff2") format("woff2"); }

:root {
  --blau: #2068E0;
  --blau-dunkel: #1B57BD;
  --orange: #F87000;
  --orange-hell: #FF8A2B;
  --orange-text: #A84800; /* dunkles Orange für Eyebrow-Text auf hellem Grund – erfüllt WCAG-AA */
  --ink: #1F2A37;
  --grau: #F4F6F8;
  --muted: #5A6B80;
  --line: #E5EAF1;
  --nav-h: 60px;
  --radius: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: var(--blau); text-decoration: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-color: var(--line); background: rgba(255, 255, 255, .86); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(31, 42, 55, .78); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.btn-login {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blau); color: #fff; font-size: 14px; font-weight: 600;
  padding: 9px 20px; border-radius: 999px; transition: background .2s, transform .15s;
}
.btn-login:hover { background: var(--blau-dunkel); transform: translateY(-1px); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Nach-oben-Button (alle Seiten) ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blau); color: #fff; border: 0; cursor: pointer;
  box-shadow: 0 12px 28px -8px rgba(32, 104, 224, .6);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { background: var(--blau-dunkel); transform: translateY(0) scale(1.06); }
.to-top:focus-visible { outline: 3px solid rgba(32, 104, 224, .4); outline-offset: 3px; }
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
[dir="rtl"] .to-top { right: auto; left: 22px; }
@media (max-width: 560px) { .to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) {
  .to-top, .to-top.show { transition: opacity .2s ease; transform: none; }
}

/* ---------- Rückruf: Auslöser-Button (auf dunkler LD-Sektion) + Modal ---------- */
button.btn-primary { border: 0; font: inherit; cursor: pointer; }
/* Rückruf-Auslöser als <button> im Hero: gleiche Optik wie die Ghost-Links. */
button.btn-ghost { background: none; font: inherit; cursor: pointer; }
.rk-trigger {
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 16px; font-weight: 600;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .55); background: transparent; color: #fff;
  transition: background .2s, border-color .2s, transform .15s;
}
.rk-trigger:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateY(-1px); }
.rk-trigger:focus-visible { outline: 3px solid rgba(255, 255, 255, .5); outline-offset: 3px; }

.rk-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(11, 20, 38, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s ease; }
.rk-overlay.show { opacity: 1; }
.rk-overlay[hidden] { display: none; }
.rk-modal { width: 100%; max-width: 440px; background: #fff; border-radius: 22px; padding: 30px 28px 26px; box-shadow: 0 40px 100px -30px rgba(8, 20, 44, .6); position: relative; transform: translateY(10px) scale(.98); transition: transform .2s ease; max-height: 92vh; overflow-y: auto; }
.rk-overlay.show .rk-modal { transform: none; }
.rk-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--grau); color: var(--muted); font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
[dir="rtl"] .rk-close { right: auto; left: 14px; }
.rk-close:hover { background: #E7EBF1; color: var(--ink); }
.rk-modal h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 2px 40px 6px 0; }
[dir="rtl"] .rk-modal h2 { margin: 2px 0 6px 40px; }
.rk-lead { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin-bottom: 18px; }
.rk-form { display: flex; flex-direction: column; gap: 13px; }
.rk-field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.rk-field input, .rk-field textarea { font: inherit; font-weight: 400; font-size: 15px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.rk-field textarea { resize: vertical; min-height: 70px; }
.rk-field input:focus, .rk-field textarea:focus { outline: 0; border-color: var(--blau); box-shadow: 0 0 0 4px rgba(32, 104, 224, .12); }
.rk-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.rk-consent input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--blau); flex-shrink: 0; }
.rk-consent a { color: var(--blau); }
.rk-submit { margin-top: 4px; width: 100%; justify-content: center; }
.rk-submit[disabled] { opacity: .6; cursor: default; }
.rk-status { font-size: 14px; line-height: 1.5; margin: 2px 0 0; }
.rk-status.ok { color: #12A150; font-weight: 600; }
.rk-status.err { color: #D33; font-weight: 600; }
.rk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .rk-overlay, .rk-modal { transition: none; } }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--blau); color: #fff; font-size: 16px; font-weight: 600;
  padding: 13px 28px; border-radius: 999px; transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 10px 30px -10px rgba(32, 104, 224, .55);
}
.btn-primary:hover { background: var(--blau-dunkel); transform: translateY(-2px); }
.btn-white { display: inline-flex; align-items: center; gap: 9px; background: #fff; color: var(--blau-dunkel); font-size: 16px; font-weight: 700; padding: 13px 28px; border-radius: 999px; transition: transform .15s, box-shadow .2s; box-shadow: 0 12px 34px -12px rgba(0, 0, 0, .45); }
.btn-white:hover { transform: translateY(-2px); }
.btn-text { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; color: var(--blau); }
.btn-text:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + clamp(56px, 9vw, 110px)) 0 0; text-align: center; }
.eyebrow { display: inline-block; color: var(--orange-text); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: clamp(46px, 8.5vw, 96px); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; }
.grad {
  background: linear-gradient(92deg, var(--blau) 10%, var(--orange) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Hand-gezeichnete Markierung um die Hero-Headline (nativ per SVG + CSS, kein Framework).
   pathLength="1" normalisiert die Pfadlänge → dashoffset 1→0 „malt" die Linie. */
.hw-mark { position: relative; display: inline-block; z-index: 0; }
.hw-svg { position: absolute; left: 50%; bottom: -.30em; width: 105%; height: .46em; transform: translateX(-50%); color: var(--orange); overflow: visible; pointer-events: none; }
.hw-path { fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: hw-draw 1.5s cubic-bezier(.43, .13, .23, .96) .7s forwards; }
@keyframes hw-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hw-path { animation: none; stroke-dashoffset: 0; } }

/* ---------- Kundenstimmen (endlos scrollende Spalten) ---------- */
.tst-cols { display: flex; gap: 22px; justify-content: center; align-items: flex-start; max-width: 1140px; margin: clamp(34px, 5vw, 52px) auto 0; padding: 0 24px; }
.tst-col { width: 340px; flex: 0 0 auto; }
.tst-track { display: flex; flex-direction: column; gap: 22px; }
.tst-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 24px 22px; box-shadow: 0 18px 40px -26px rgba(14, 41, 87, .28); }
.tst-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tst-stars { color: var(--orange); font-size: 15px; letter-spacing: 1.5px; }
.tst-g { width: 18px; height: 18px; opacity: .9; }
.tst-card blockquote { margin: 0; font-size: 15.5px; line-height: 1.58; color: #28323f; }
.tst-foot { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.tst-av { width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; }
.tst-who { display: flex; flex-direction: column; line-height: 1.25; }
.tst-who b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.tst-who span { font-size: 12.5px; color: var(--muted); }
.tst-cta { text-align: center; margin-top: 32px; }
/* Endlos-Lauf nur, wenn site.js die Karten verdoppelt hat (.tst-on) — ohne JS bleiben die Karten statisch lesbar (SEO/a11y). */
.tst-cols.tst-on { max-height: 600px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 13%, #000 87%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 13%, #000 87%, transparent); }
.tst-cols.tst-on .tst-track { animation: tst-scroll 46s linear infinite; will-change: transform; }
.tst-cols.tst-on .tst-col.c2 .tst-track { animation-duration: 60s; }
.tst-cols.tst-on .tst-col.c3 .tst-track { animation-duration: 52s; }
.tst-cols.tst-on:hover .tst-track { animation-play-state: paused; }
@keyframes tst-scroll { to { transform: translateY(-50%); } }
@media (max-width: 980px) { .tst-col.c3 { display: none; } }
@media (max-width: 680px) { .tst-col.c2 { display: none; } .tst-col { width: min(90vw, 360px); } .tst-cols { padding: 0 16px; } }

/* ---------- FAQ (native <details>-Akkordeon) ---------- */
.faq { max-width: 760px; margin: clamp(28px, 4vw, 44px) auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq-item summary { list-style: none; cursor: pointer; padding: 19px 24px; font-size: 16.5px; font-weight: 600; color: var(--ink); display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s; flex: 0 0 auto; margin-top: 6px; }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item[open] summary { color: var(--blau); }
.faq-item summary:focus-visible { outline: 3px solid rgba(32, 104, 224, .4); outline-offset: 2px; border-radius: 16px; }
.faq-a { padding: 0 24px 20px; }
.faq-a p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.62; }
.faq-a a { color: var(--blau); }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }

/* ---------- Sprachumschalter ---------- */
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); padding: 6px 8px; border-radius: 9px; }
.lang-btn:hover { color: var(--ink); }
.lang-btn svg { width: 18px; height: 18px; }
.lang-btn:focus-visible { outline: 3px solid rgba(32, 104, 224, .4); outline-offset: 2px; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 172px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(14, 41, 87, .3); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s; z-index: 60; }
.lang-switch.offen .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font: inherit; font-size: 14px; color: var(--ink); padding: 9px 12px; border-radius: 9px; }
.lang-menu button:hover { background: var(--grau); }
.lang-menu button[aria-current="true"] { color: var(--blau); font-weight: 600; }
/* RTL (Arabisch): Grundausrichtung; zentrierte Sektionen bleiben zentriert */
[dir="rtl"] body { direction: rtl; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .lang-menu button { text-align: right; }
[dir="rtl"] .faq-item summary { flex-direction: row-reverse; }
[dir="rtl"] .cta-row.center, [dir="rtl"] .hero, [dir="rtl"] .section-head, [dir="rtl"] .lp-hero-inner, [dir="rtl"] .ld-inner { text-align: center; }
.hero-sub { max-width: 660px; margin: 26px auto 0; font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.hero-media { margin-top: clamp(48px, 7vw, 84px); }
/* Hero-Intro: Eyebrow, Headline und Subline gleiten beim Laden sanft ein (danach malt sich der Strich). */
.hero .eyebrow { animation: hero-in .7s cubic-bezier(.16, 1, .3, 1) both; }
.hero h1 { animation: hero-in .85s cubic-bezier(.16, 1, .3, 1) .08s both; }
.hero-sub { animation: hero-in .8s cubic-bezier(.16, 1, .3, 1) .22s both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(22px); } }
@media (prefers-reduced-motion: reduce) { .hero .eyebrow, .hero h1, .hero-sub { animation: none; } }

/* ---------- Vertrauens-Streifen (echte Nachweise) ---------- */
.trust-strip { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 11px 26px; margin: 30px auto 0; max-width: 780px; padding: 0; }
.trust-strip li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); }
.trust-strip strong { color: var(--ink); font-weight: 700; }
.trust-strip svg { width: 18px; height: 18px; color: var(--blau); flex-shrink: 0; }
.trust-strip .stars { color: var(--orange); letter-spacing: 1.5px; font-size: 15px; }
.dark .trust-strip li { color: rgba(255, 255, 255, .72); }
.dark .trust-strip strong { color: #fff; }
.dark .trust-strip svg { color: #8fb6f5; }
/* TÜV-Wortmarke ist schwarz → auf Blau nur lesbar auf weißem Chip */
.dark .trust-strip img { box-sizing: border-box; height: 27px; padding: 3px 6px; background: #fff; border-radius: 7px; }

/* ---------- Nachweis-Karten (Google-Bewertung, TÜV, Unabhängigkeit) ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.proof-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px 26px 30px; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease; }
.proof-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px -20px rgba(14, 41, 87, .25); }
.proof-ico { height: 48px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.proof-ico svg { width: 44px; height: 44px; }
.proof-ico.blau { width: 48px; border-radius: 16px; background: rgba(32, 104, 224, .1); color: var(--blau); }
.proof-ico.blau svg { width: 26px; height: 26px; }
.proof-zahl { font-size: clamp(25px, 3.2vw, 32px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.15; }
.proof-stars { color: var(--orange); font-size: 17px; letter-spacing: 3px; margin-top: 5px; }
.proof-card h3 { font-size: 16.5px; font-weight: 700; margin-top: 10px; letter-spacing: -.01em; color: var(--ink); }
.proof-card p { font-size: 14px; color: var(--muted); line-height: 1.55; margin-top: 7px; max-width: 300px; }
.proof-card .btn-text { font-size: 14px; margin-top: 13px; }
.proof-logo { height: 86px; display: flex; align-items: center; justify-content: center; margin: 8px 0 16px; }
.proof-logo img { height: 100%; width: auto; }
.proof-logo.gh { height: 38px; margin: 16px 0 18px; }
.proof-zahl.klein { font-size: clamp(21px, 2.6vw, 26px); }
.trust-strip img { height: 21px; width: auto; flex-shrink: 0; }

/* ---------- Medienrahmen ---------- */
.media-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--grau); aspect-ratio: 16 / 9;
  box-shadow: 0 40px 100px -28px rgba(14, 41, 87, .38);
}
.media-frame > img, .media-frame > video { width: 100%; height: 100%; object-fit: cover; }
.media-frame.ratio43 { aspect-ratio: 4 / 3; }

/* ---------- Sektionen ---------- */
.section { padding: clamp(84px, 10vw, 140px) 0; scroll-margin-top: var(--nav-h); }
.section.gray { background: var(--grau); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(44px, 6vw, 72px); }
.section-head h2, .section-head h1 { font-size: clamp(34px, 5vw, 62px); font-weight: 700; letter-spacing: -.02em; line-height: 1.06; }
.section-head .lead { margin-top: 18px; font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); }

/* ---------- Karten (Highlights) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(14, 41, 87, .25); }
.card h3 { font-size: 17px; font-weight: 700; margin: 16px 0 8px; letter-spacing: -.01em; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.icon-badge { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(32, 104, 224, .1); color: var(--blau); }
.icon-badge.orange { background: rgba(248, 112, 0, .12); color: var(--orange); }
.icon-badge svg { width: 22px; height: 22px; }

/* ---------- Feature-Zeilen ---------- */
.rows { display: grid; gap: clamp(56px, 8vw, 110px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 76px); align-items: center; }
.row h3 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
.row p { margin-top: 14px; font-size: clamp(15.5px, 2vw, 18px); color: var(--muted); }
.row ul { margin-top: 18px; list-style: none; display: grid; gap: 10px; }
.row li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 500; }
.row li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--blau); margin-top: 2px; }

/* ---------- Dunkle Sektion (Partner) ---------- */
.dark {
  background: radial-gradient(130% 130% at 18% 0%, #1B57BD 0%, #123C86 48%, #0B234E 100%);
  color: #fff;
}
.dark .eyebrow { color: var(--orange-hell); }
.dark .section-head .lead, .dark .row p, .dark .card p { color: rgba(255, 255, 255, .72); }
.dark .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.dark .card:hover { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .5); }
.dark .icon-badge { background: rgba(255, 255, 255, .12); color: var(--orange-hell); }
.dark .row li svg { color: var(--orange-hell); }
.dark .media-frame { box-shadow: 0 40px 100px -28px rgba(0, 0, 0, .55); }

/* ---------- Sicherheit ---------- */
.sicher-note { text-align: center; margin-top: 36px; font-size: 14px; color: var(--muted); }

/* ---------- App-Banner ---------- */
.app-banner {
  background: linear-gradient(130deg, var(--orange) 0%, var(--orange-hell) 100%);
  border-radius: 36px; color: #fff;
  padding: clamp(36px, 6vw, 64px);
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(28px, 5vw, 60px); align-items: center;
  box-shadow: 0 44px 110px -30px rgba(248, 112, 0, .5);
}
.app-copy h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
.app-copy p { margin-top: 14px; font-size: clamp(15.5px, 2vw, 18px); color: rgba(255, 255, 255, .92); max-width: 480px; }
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #10151D; color: #fff; border-radius: 13px; padding: 10px 18px;
  transition: transform .15s;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .sb-txt { line-height: 1.2; text-align: left; }
.store-badge .sb-top { display: block; font-size: 10.5px; font-weight: 500; opacity: .8; }
.store-badge .sb-bottom { display: block; font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.qr-card { background: #fff; border-radius: 22px; padding: 16px 16px 12px; text-align: center; box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .35); }
.qr-card img { width: 172px; height: 172px; margin: 0 auto; }
.qr-card span { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink); }

/* ---------- Telefon-Mockup ---------- */
.phone { width: 236px; border-radius: 42px; background: #0D1117; padding: 10px; box-shadow: 0 34px 80px -22px rgba(0, 0, 0, .55); }
.phone-screen { background: var(--grau); border-radius: 34px; overflow: hidden; height: 470px; display: flex; flex-direction: column; }
.p-head { background: #fff; padding: 14px 14px 10px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.p-head img { height: 16px; width: auto; }
.p-title { padding: 14px 14px 4px; font-size: 13px; font-weight: 700; color: var(--ink); }
.p-step { display: flex; justify-content: space-between; align-items: center; background: #fff; margin: 8px 12px 0; padding: 11px 13px; border-radius: 13px; font-size: 12px; font-weight: 600; color: var(--ink); }
.p-step .ok { color: #12A150; font-weight: 700; }
.p-send { margin: 14px 12px 0; background: var(--blau); color: #fff; text-align: center; padding: 11px; border-radius: 13px; font-size: 12.5px; font-weight: 700; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: #fff; }
.f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding: clamp(48px, 6vw, 72px) 0 44px; }
.f-brand img { height: 30px; width: auto; }
.f-brand p { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 300px; }
.f-col h3, .f-col h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.f-col a { display: block; font-size: 14.5px; color: rgba(31, 42, 55, .82); padding: 5px 0; }
.f-col a:hover { color: var(--blau); }
.f-bottom { border-top: 1px solid var(--line); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.f-bottom .medyon a { font-weight: 600; color: var(--blau); }

/* ---------- Rechtsseiten ---------- */
.legal-main { padding: calc(var(--nav-h) + 56px) 0 72px; }
.legal-main h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.legal-main h2 { font-size: 19px; font-weight: 700; margin-top: 34px; letter-spacing: -.01em; }
.legal-main p, .legal-main li { font-size: 15.5px; color: #33415A; }
.legal-main ul { padding-left: 22px; margin-top: 8px; }
.legal-main .muted { color: var(--muted); font-size: 14px; }

/* ---------- App-Seite (QR-Ziel) ---------- */
.app-page { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; justify-content: center; padding: calc(var(--nav-h) + 40px) 24px 64px; text-align: center; }
.app-page-card { max-width: 480px; }
.app-page-card .app-icon { width: 104px; height: 104px; border-radius: 26px; margin: 0 auto 24px; box-shadow: 0 24px 60px -18px rgba(14, 41, 87, .35); }
.app-page-card h1 { font-size: clamp(30px, 6vw, 40px); font-weight: 700; letter-spacing: -.02em; }
.app-page-card p { margin-top: 14px; font-size: 16.5px; color: var(--muted); }
.app-page-card .store-badges { justify-content: center; }
.app-page-card .store-badge { pointer-events: none; opacity: .92; }
.app-page-card .login-hint { margin-top: 30px; font-size: 15px; }

/* ---------- Mehrseiten: aktiver Nav-Punkt ---------- */
.nav-links a.active { color: var(--blau); font-weight: 600; }

/* ---------- Unterseiten-Hero ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(52px, 8vw, 96px)) 0 clamp(36px, 5vw, 56px); text-align: center; }
.page-hero h1 { font-size: clamp(38px, 6.5vw, 74px); font-weight: 700; letter-spacing: -.025em; line-height: 1.04; }
.page-hero .lead { max-width: 700px; margin: 20px auto 0; font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); }
.section.first { padding-top: calc(var(--nav-h) + clamp(52px, 8vw, 96px)); }

/* ---------- Ablauf-Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--blau); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.step p { margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---------- CTA-Band ---------- */
.cta-band { text-align: center; background: var(--grau); border-radius: 36px; padding: clamp(40px, 6vw, 68px) 24px; }
.cta-band h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
.cta-band p { color: var(--muted); margin-top: 12px; font-size: clamp(15px, 2vw, 18px); }
.cta-band .cta-row { margin-top: 28px; }
.cta-band.blue { background: linear-gradient(130deg, var(--blau) 0%, var(--blau-dunkel) 100%); }
.cta-band.blue h2 { color: #fff; }
.cta-band.blue p { color: rgba(255, 255, 255, .82); }

/* ---------- Überblick-Teaser (Startseite) ---------- */
.more-link { text-align: center; margin-top: 32px; }

/* ---------- Standorte ---------- */
.standorte-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 16px; }
.standort-kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.standort-chip { font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.standort-chip.buero { background: rgba(248, 112, 0, .12); color: var(--orange); }
.standort-chip.partner { background: rgba(32, 104, 224, .1); color: var(--blau); }
.standort-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.standort-card p { margin: 6px 0 12px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.standort-card .btn-text { font-size: 14.5px; }
.standorte-hinweis { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 44px 0; font-size: 15.5px; }

.step-nr { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: rgba(32, 104, 224, .1); color: var(--blau); align-items: center; justify-content: center; font-weight: 700; font-size: 14.5px; margin-bottom: 14px; }

/* ---------- Standorte: Karte + Suche ---------- */
.standorte-karte { height: clamp(380px, 58vh, 580px); border-radius: var(--radius); box-shadow: 0 30px 80px -30px rgba(14, 41, 87, .3); z-index: 0; }
.leaflet-container { font: inherit; }
.standort-suche { display: flex; gap: 10px; max-width: 540px; margin: 28px auto 0; }
.standort-suche input { flex: 1; min-width: 0; padding: 13px 20px; border-radius: 999px; border: 1.5px solid var(--line); font: inherit; font-size: 15.5px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.standort-suche input:focus { border-color: var(--blau); box-shadow: 0 0 0 4px rgba(32, 104, 224, .12); }
.such-status { margin-top: 12px; font-size: 14px; color: var(--muted); min-height: 20px; }
.standort-dist { display: block; font-size: 13px; font-weight: 700; color: var(--orange); margin: -4px 0 10px; }
.standort-card.klickbar { cursor: pointer; }
.gh-popup { display: grid; gap: 4px; font-size: 13.5px; }
.gh-popup strong { font-size: 14.5px; }
.gh-popup a { font-weight: 600; }

/* ---------- CSS-Gerät (fotorealistisch gestylter Rahmen) ----------
   Der Screen ist NATIVER Teil des Geräts — nichts kann verrutschen, alles animierbar. */
.gh-geraet { position: relative; height: min(66vh, 600px); aspect-ratio: 0.487; border-radius: clamp(40px, 6.2vh, 54px); background: linear-gradient(150deg, #565d68 0%, #23272e 16%, #0b0d11 52%, #2c313a 88%, #4a515c 100%); padding: clamp(8px, 1.2vh, 11px); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16), inset 0 0 0 4.5px #05070a, 0 60px 120px -34px rgba(11, 20, 38, .55), 0 26px 52px -22px rgba(11, 20, 38, .42); }
.gh-geraet::before { content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 9%; border-radius: 2px; background: linear-gradient(90deg, #3a404a, #161a20); }
.gh-geraet::after { content: ""; position: absolute; left: -3px; top: 18%; width: 3px; height: 16%; border-radius: 2px; background: linear-gradient(90deg, #161a20, #3a404a); }
.gh-schirm { position: relative; width: 100%; height: 100%; border-radius: calc(clamp(40px, 6.2vh, 54px) - clamp(8px, 1.2vh, 11px) - 3px); overflow: hidden; background: var(--grau); }
.gh-insel { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 27%; height: 18px; background: #05070a; border-radius: 999px; z-index: 6; }
.gh-glanz { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(112deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .025) 20%, transparent 34%); }
.gh-schirm .p-head { padding-top: 40px; }
.gh-geraet.klein { height: min(56vh, 500px); }

/* Screens im Gerät: gestapelt, weich überblendet (vom Scrub bzw. Zyklus gesteuert) */
.scrub-screen { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transition: opacity .35s ease; will-change: transform, opacity; }
/* Echte App-Screenshots als Screen-Inhalt */
.scrub-foto { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ---------- Kino-Scrub (Pin + Scrub auf /app) ---------- */
.scrub { position: relative; height: 520vh; }
.scrub-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.scrub-hintergrund { position: absolute; inset: 0; background: radial-gradient(60% 50% at 30% 28%, rgba(32, 104, 224, .10), transparent 62%), radial-gradient(55% 45% at 72% 72%, rgba(248, 112, 0, .10), transparent 62%), var(--grau); }
.scrub-intro { position: absolute; z-index: 2; text-align: center; padding: 0 24px; will-change: transform, opacity; }
.scrub-intro h2 { font-size: clamp(40px, 7vw, 84px); font-weight: 700; letter-spacing: -.025em; line-height: 1.04; }
.scrub-intro p { margin-top: 16px; font-size: clamp(15px, 2vw, 19px); color: var(--muted); }
.scrub-geraet { position: relative; z-index: 3; opacity: 0; will-change: transform, opacity; }
.scrub-caps { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.scrub-cap { position: absolute; top: 50%; margin-top: -110px; max-width: 330px; opacity: 0; will-change: transform, opacity; }
.scrub-cap:nth-child(odd) { left: max(24px, calc(50% - 570px)); }
.scrub-cap:nth-child(even) { right: max(24px, calc(50% - 570px)); }
.scrub-cap h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
.scrub-cap p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.scrub-dots { position: absolute; right: max(18px, calc(50% - 640px)); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; z-index: 4; }
.scrub-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(31, 42, 55, .18); transition: background .3s, transform .3s; }
.scrub-dot.aktiv { background: var(--blau); transform: scale(1.4); }

/* Statischer Fallback (prefers-reduced-motion) */
.scrub-statisch { height: auto; }
.scrub-statisch .scrub-stage { position: static; height: auto; flex-direction: column; gap: 28px; padding: 56px 0; overflow: visible; }
.scrub-statisch .scrub-intro { position: static; transform: none !important; opacity: 1 !important; }
.scrub-statisch .scrub-geraet { opacity: 1; transform: none !important; }
.scrub-statisch .scrub-screen:first-child { opacity: 1; }
.scrub-statisch .scrub-caps { position: static; pointer-events: auto; display: grid; gap: 22px; max-width: 560px; padding: 0 24px; }
.scrub-statisch .scrub-cap { position: static; margin: 0; opacity: 1 !important; transform: none !important; max-width: none; }
.scrub-statisch .scrub-dots { display: none; }

@media (max-width: 900px) {
  .scrub { height: 580vh; }
  .scrub-cap, .scrub-cap:nth-child(odd), .scrub-cap:nth-child(even) { left: 50%; right: auto; width: min(86%, 360px); margin-left: min(-43%, -180px); top: auto; bottom: 6vh; margin-top: 0; text-align: center; }
  .scrub-cap h3 { font-size: 22px; }
  .scrub-cap p { font-size: 14.5px; }
  .scrub-geraet .gh-geraet { height: min(52vh, 460px); }
  .scrub-dots { right: 12px; }
}

/* Mini-UI-Bausteine für die Mockup-Screens */
.p-card { display: flex; justify-content: space-between; align-items: center; background: #fff; margin: 8px 12px 0; padding: 10px 12px; border-radius: 12px; }
.p-card strong { display: block; font-size: 11.5px; color: var(--ink); }
.p-card span { color: var(--muted); font-size: 10px; }
.chip { font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 999px; font-style: normal; }
.chip.blau { background: #E7F0FF; color: var(--blau); }
.chip.gruen { background: #E3F7EC; color: #12A150; }
.chip.grau { background: #EEF1F5; color: var(--muted); }
.p-fab { position: absolute; right: 14px; bottom: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; box-shadow: 0 8px 18px -6px rgba(248, 112, 0, .6); }
.p-stepnum { float: right; color: var(--muted); font-weight: 600; font-size: 11px; }
.p-input { background: #fff; margin: 8px 12px 0; border-radius: 12px; padding: 8px 12px; }
.p-input label { display: block; color: var(--muted); font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.p-input i { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--ink); }
.p-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 12px 0; }
.p-tile { background: #fff; border-radius: 12px; height: 58px; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 600; color: var(--ink); text-align: center; }
.p-tile.ok { color: #12A150; }
.p-tile.plus { border: 1.5px dashed #C6D0DE; background: transparent; color: var(--muted); }
.p-sigbox { background: #fff; border-radius: 12px; margin: 8px 12px 0; padding: 10px; }
.p-sigbox svg { width: 100%; height: 56px; }
.p-agree { margin: 8px 12px 0; font-size: 10.5px; font-weight: 600; color: #12A150; background: #fff; border-radius: 10px; padding: 8px 12px; }
.p-toggle, .p-radio { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #fff; margin: 8px 12px 0; padding: 10px 12px; border-radius: 12px; font-size: 11px; font-weight: 600; color: var(--ink); }
.p-switch { width: 34px; height: 20px; border-radius: 999px; background: #D5DBE4; position: relative; flex-shrink: 0; }
.p-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.p-switch.an { background: var(--blau); }
.p-switch.an::after { left: auto; right: 2px; }
.p-punkt { width: 17px; height: 17px; border-radius: 50%; border: 2px solid #C6D0DE; background: #fff; flex-shrink: 0; }
.p-punkt.an { border: 5px solid var(--blau); }
.p-done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; font-size: 12px; padding: 0 16px; color: var(--ink); }
.p-done-circle { width: 56px; height: 56px; border-radius: 50%; background: #E3F7EC; color: #12A150; font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.p-done span { color: var(--muted); font-size: 10.5px; }
.p-send.ghost { background: transparent; color: var(--blau); border: 1.5px solid var(--blau); }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .6, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .row { grid-template-columns: 1fr; }
  .row .media-frame { order: -1; }
  .app-banner { grid-template-columns: 1fr; text-align: center; }
  .app-banner .phone { margin: 0 auto; }
  .app-copy p { margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
  .qr-card { justify-self: center; }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: var(--nav-h); right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    opacity: 0; transform: translateY(-10px); pointer-events: none; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .nav-links a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  body.nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .25s ease, transform .25s ease, visibility 0s; }
  .burger { display: block; }
  /* Dropdown im Burger-Menü: Akkordeon statt schwebendem Panel.
     .nav-links-Präfix erhöht die Spezifität, damit diese Regeln unabhängig
     von der Quell-Reihenfolge die Desktop-Regeln überschreiben. */
  .nav-links .nav-drop { display: block; }
  .nav-links .nav-drop-btn { width: 100%; justify-content: space-between; padding: 13px 0; font-size: 16px; font-weight: 500; color: rgba(31, 42, 55, .78); border-bottom: 1px solid var(--line); }
  .nav-links .nav-drop-btn svg { width: 17px; height: 17px; }
  .nav-links .nav-drop-menu {
    position: static; transform: none; opacity: 1; visibility: hidden;
    min-width: 0; border: 0; border-radius: 0; box-shadow: none; padding: 0; background: transparent;
    max-height: 0; overflow: hidden; transition: max-height .28s ease, visibility 0s linear .28s;
  }
  .nav-links .nav-drop.offen .nav-drop-menu { max-height: 260px; transform: none; visibility: visible; transition: max-height .28s ease, visibility 0s; }
  .nav-links .nav-drop-menu::before { display: none; }
  .nav-links .nav-drop-menu a { padding: 12px 0 12px 18px; font-size: 15px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-drop-menu a:hover { background: transparent; color: var(--blau); }
}
@media (max-width: 560px) {
  .f-grid { grid-template-columns: 1fr; gap: 28px; }
  .f-bottom { justify-content: center; text-align: center; }
  .phone { width: 210px; }
  .phone-screen { height: 420px; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn-primary, .btn-white, .btn-login, .store-badge { transition: none; }
}

/* ==================================================================
   Leistungs-Seiten (Apple-Stil): Parallax-Hero, Parallax-Band,
   Vergleich, Light→Dark-Highlight. Nur auf diesen Seiten aktiv.
   ================================================================== */

/* Geteilter Ghost-Button (auf dunklem Grund) */
.btn-ghost { display: inline-flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 600; color: #fff; padding: 12px 22px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .38); transition: background .2s, border-color .2s; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); }
.eyebrow.light { color: var(--orange-hell); }

/* ---------- Parallax-Hero ---------- */
.lp-hero { position: relative; min-height: 90vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding-bottom: clamp(48px, 8vw, 96px); }
.lp-hero-bg { position: absolute; inset: -14% 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.lp-hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 16, 34, .34) 0%, rgba(8, 16, 34, .55) 52%, rgba(8, 16, 34, .88) 100%); }
.lp-hero-inner { color: #fff; padding-top: calc(var(--nav-h) + 12vh); text-align: center; }
.lp-hero h1 { font-size: clamp(44px, 8vw, 92px); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; }
.lp-hero-sub { max-width: 620px; margin: 24px auto 0; font-size: clamp(17px, 2.3vw, 21px); color: rgba(255, 255, 255, .82); line-height: 1.5; }
.lp-hero-facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin: 30px 0 0; padding: 0; }
.lp-hero-facts li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.lp-hero-facts svg { width: 18px; height: 18px; color: var(--orange-hell); flex-shrink: 0; }

/* ---------- Parallax-Band (Vollbild-Bild mit Text) ---------- */
.parallax-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(96px, 15vw, 170px) 0; }
.parallax-band-bg { position: absolute; inset: -16% 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.parallax-band-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 16, 34, .58), rgba(8, 16, 34, .72)); }
.parallax-band-inner { color: #fff; max-width: 760px; }
.parallax-band-inner h2 { font-size: clamp(30px, 5vw, 54px); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
.parallax-band-inner p { margin: 20px auto 0; max-width: 600px; font-size: clamp(16px, 2.2vw, 19px); color: rgba(255, 255, 255, .82); line-height: 1.5; }

/* ---------- Vergleich (unabhängig vs. Versicherung) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
.compare-col { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; }
.compare-tag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 16px; }
.compare-col.neg .compare-tag { color: #C0392B; }
.compare-col.pos { border-color: rgba(32, 104, 224, .35); box-shadow: 0 20px 48px -22px rgba(32, 104, 224, .3); }
.compare-col.pos .compare-tag { color: var(--blau); }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.compare-col li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink); line-height: 1.45; }
.compare-col li::before { position: absolute; left: 0; top: -1px; font-weight: 700; font-size: 15px; }
.compare-col.neg li::before { content: "✕"; color: #C0392B; }
.compare-col.pos li::before { content: "✓"; color: #138A56; }
.compare-note { text-align: center; max-width: 660px; margin: 26px auto 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---------- Light→Dark-Highlight (JS setzt --p: 0→1) ---------- */
.ld { --p: 0; position: relative; text-align: center; padding: clamp(84px, 12vw, 150px) 0; background: var(--grau); }
@supports (background: color-mix(in srgb, red, blue)) {
  .ld { background: color-mix(in srgb, #071A3A calc(var(--p) * 100%), var(--grau)); }
  .ld h2 { color: color-mix(in srgb, #ffffff calc(var(--p) * 100%), var(--ink)); }
  .ld > .wrap > p { color: color-mix(in srgb, rgba(255, 255, 255, .82) calc(var(--p) * 100%), var(--muted)); }
  .ld .eyebrow { color: color-mix(in srgb, var(--orange-hell) calc(var(--p) * 100%), var(--orange-text)); }
  .ld-price-sub { color: color-mix(in srgb, rgba(255, 255, 255, .74) calc(var(--p) * 100%), var(--muted)); }
}
.ld h2 { font-size: clamp(32px, 5.5vw, 60px); font-weight: 700; letter-spacing: -.02em; line-height: 1.06; margin-top: 8px; }
.ld > .wrap > p { max-width: 560px; margin: 20px auto 0; font-size: clamp(16px, 2.2vw, 19px); line-height: 1.5; }
.ld-price { display: inline-flex; align-items: center; gap: 16px; margin: 32px 0 8px; padding: 16px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 22px 54px -26px rgba(8, 20, 44, .5); }
.ld-price-big { font-size: clamp(38px, 6vw, 56px); font-weight: 700; letter-spacing: -.02em; color: #138A56; }
.ld-price-sub { text-align: left; font-size: 13px; line-height: 1.4; color: var(--muted); }
.cta-row.center { justify-content: center; margin-top: 22px; }

@media (max-width: 640px) {
  .compare { grid-template-columns: 1fr; }
  .lp-hero { min-height: 82vh; }
  .ld-price { flex-direction: column; gap: 6px; text-align: center; }
  .ld-price-sub { text-align: center; }
}

/* ---------- Header: Leistungen-Dropdown ---------- */
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 500; color: var(--muted); padding: 0; }
.nav-drop-btn:hover { color: var(--ink); }
.nav-drop-btn svg { width: 15px; height: 15px; transition: transform .25s; }
.nav-drop-menu { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px); min-width: 232px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -24px rgba(14, 41, 87, .3); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; }
.nav-drop-menu::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 16px; }
.nav-drop:hover .nav-drop-menu, .nav-drop.offen .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop:hover .nav-drop-btn svg, .nav-drop.offen .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-menu a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.nav-drop-menu a:hover { background: var(--grau); color: var(--blau); }

/* ---------- Kino-Scrub: Vom Schaden zum Gutachten ---------- */
.schaden-scrub { position: relative; height: 400vh; background: var(--grau); }
.ss-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.ss-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 70px); align-items: center; width: 100%; }
.ss-caps { position: relative; height: 170px; }
.ss-cap { position: absolute; inset: 0; margin: 0; font-size: clamp(28px, 4.2vw, 48px); font-weight: 700; letter-spacing: -.022em; line-height: 1.06; color: var(--ink); opacity: 0; transform: translateY(20px); will-change: opacity, transform; }
.ss-dots { display: flex; gap: 9px; margin-top: 26px; }
.ss-dots i { width: 8px; height: 8px; border-radius: 50%; background: #c9d3e0; transition: width .3s, background .3s; }
.ss-dots i.aktiv { width: 26px; border-radius: 5px; background: var(--blau); }
.ss-viewer { position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; background: #0b1426; box-shadow: 0 50px 110px -34px rgba(8, 20, 44, .55); }
.ss-scene { position: absolute; inset: 0; opacity: 0; display: flex; align-items: center; justify-content: center; will-change: opacity; }
.ss-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ss-calc { flex-direction: column; justify-content: center; gap: 15px; padding: 0 clamp(24px, 5vw, 62px); background: radial-gradient(130% 130% at 25% 0%, #163a7d, #0a1a3c); }
.ss-calc-tag { position: absolute; top: 22px; left: 26px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--orange-hell); }
.ss-calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; width: 100%; max-width: 460px; padding-bottom: 13px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.ss-calc-row > span { font-size: clamp(13px, 1.9vw, 16px); color: rgba(255, 255, 255, .68); }
.ss-calc-row b { font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace; font-size: clamp(22px, 3.6vw, 36px); font-weight: 700; color: #fff; letter-spacing: -.01em; white-space: nowrap; }
.ss-done { flex-direction: column; gap: 13px; text-align: center; padding: 26px; color: #fff; background: radial-gradient(130% 130% at 50% 0%, #128a5c, #0a5138); }
.ss-check { width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: flex; align-items: center; justify-content: center; }
.ss-check svg { width: 38px; height: 38px; }
.ss-done strong { font-size: clamp(25px, 3.6vw, 36px); font-weight: 700; letter-spacing: -.02em; }
.ss-done > span { font-size: clamp(14px, 2vw, 16px); color: rgba(255, 255, 255, .86); line-height: 1.55; }
.ss-done b { color: #7ef0b4; }

/* Statischer Fallback (reduzierte Bewegung): Texte als Liste + Ergebnis-Szene */
.schaden-scrub.ss-static { height: auto; }
.ss-static .ss-stage { position: static; height: auto; padding: clamp(60px, 9vw, 110px) 0; }
.ss-static .ss-grid { grid-template-columns: 1fr; gap: 24px; }
.ss-static .ss-caps { height: auto; display: flex; flex-direction: column; gap: 8px; }
.ss-static .ss-cap { position: relative; opacity: 1; transform: none; font-size: clamp(20px, 3vw, 26px); }
.ss-static .ss-dots { display: none; }
.ss-static .ss-scene { display: none; }
.ss-static .ss-scene.ss-done { display: flex; position: relative; opacity: 1; }

@media (max-width: 820px) {
  .schaden-scrub { height: 360vh; }
  .ss-grid { grid-template-columns: 1fr; gap: 22px; }
  .ss-caps { height: 118px; }
  .ss-cap { font-size: clamp(24px, 6vw, 34px); }
  .ss-viewer { aspect-ratio: 16 / 11; }
}
