/* ============================================================
   VALICENSE V6 — DESIGN TOKENS
   Merges V4 cinematic dark + V5 light/dark system
   ============================================================ */

/* Self-hosted fonts — ersetzt den Google-Fonts-@import.
   Grund: datenschutz.html:118/:154 + faq:912 sagen zu, dass KEINE Drittland-Uebermittlung
   stattfindet. Der dynamische Google-Fonts-Import hat bei jedem Seitenaufruf die Besucher-IP
   an Google LLC (USA) uebertragen - vor jeder Einwilligung. (LG Muenchen I, 20.01.2022,
   Az. 3 O 17493/20). Self-Hosting macht die bestehende Zusage wieder wahr.
   Subsets: latin + latin-ext (DE/EN). Erzeugt 2026-07-19. */

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; color: inherit; cursor: pointer; }

/* ===== BRAND TOKENS (theme-agnostic) ===== */
:root {
  /* Brand palette */
  --accent-light:    #7BA4D0;
  --accent-mid:      #2E5E99;
  --navy:            #0D2440;
  --silver:          #BFC5CE;
  --base-light:      #E7F0FA;

  /* V4 electric */
  --electric:        #3B82F6;
  --electric-2:      #60A5FA;

  /* Typography */
  --font-sans:   'Inter', system-ui, sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;

  /* Font weights */
  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-black:    800;
  --fw-ultra:    900;

  /* Type scale */
  --fs-display: clamp(48px, 7vw, 96px);
  --fs-h2:      clamp(32px, 4.5vw, 60px);
  --fs-h3:      clamp(22px, 2.5vw, 32px);
  --fs-body-l:  clamp(17px, 1.4vw, 20px);
  --fs-body:    16px;
  --fs-body-s:  14px;
  --fs-caption: 13px;
  --fs-micro:   11px;

  /* Line heights */
  --lh-display: 0.96;
  --lh-heading: 1.08;
  --lh-body:    1.6;

  /* Letter spacing */
  --ls-display: -0.044em;
  --ls-heading: -0.028em;
  --ls-eyebrow: 0.13em;

  /* Radii */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-2xl: 28px;
  --radius-full: 999px;

  /* Layout */
  --container-max: 1320px;
  --container-x-desktop: 40px;
  --container-x-mobile: 20px;
  --section-y-desktop: 140px;
  --section-y-tablet: 100px;
  --section-y-mobile: 72px;

  /* Z-index */
  --z-story: 1;
  --z-sticky: 100;
  --z-modal: 200;
  --z-cursor: 9999;

  /* Animation */
  --dur-micro:  160ms;
  --dur-base:   280ms;
  --dur-slow:   500ms;
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-luxe:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== DARK MODE (V4 cinematic — default) ===== */
[data-theme="dark"] {
  color-scheme: dark;

  --bg-primary:   #050A0F;
  --bg-alt:       #07101A;
  --bg-tinted:    #080F18;
  --bg-elevated:  #0B1622;
  --bg-surface:   #0D1E30;
  --bg-overlay:   rgba(11, 22, 34, 0.6);

  --text-primary:  #F0F4F8;
  --text-secondary:#B8C8D8;
  --text-muted:    #6A8099;
  --text-inverse:  #050A0F;

  /* Unified caption-blue accent — same #60A5FA across dark + light mode.
     Cascades to nav active states, link hovers, focus borders, etc.
     For dark-navy gradient stops (e.g. .stat-number) use --accent-mid. */
  --accent:        #60A5FA;
  --accent-hover:  #60A5FA;
  --signature:     linear-gradient(135deg, #3B82F6, #60A5FA);

  --border:        rgba(123, 164, 208, 0.10);
  --border-soft:   rgba(123, 164, 208, 0.06);
  --border-strong: rgba(123, 164, 208, 0.24);

  --shadow-sm: 0 4px 16px -4px rgba(0,0,0,0.4);
  --shadow-md: 0 12px 40px -12px rgba(0,0,0,0.6);
  --shadow-lg: 0 32px 80px -24px rgba(0,0,0,0.8);

  --cinematic: #050D1A;
  --glow-electric: 0 0 40px rgba(59,130,246,0.45), 0 8px 20px rgba(0,0,0,0.4);

  /* Pricing clouds */
  --cloud-color: rgba(255,255,255,0.06);
}

/* ===== LIGHT MODE (Apple-clean) ===== */
[data-theme="light"] {
  color-scheme: light;

  --bg-primary:   #FFFFFF;
  --bg-alt:       #F5F8FC;
  --bg-tinted:    #EEF3FA;
  --bg-elevated:  #E7F0FA;
  --bg-surface:   #DDE8F5;
  --bg-overlay:   rgba(231, 240, 250, 0.6);

  --text-primary:  #000000;        /* pure black — Apple-style crisp headline contrast */
  --text-secondary:#2E5E99;
  --text-muted:    #5A7A9A;
  --text-inverse:  #FFFFFF;

  /* Same caption-blue accent as dark mode (#60A5FA) for unified identity.
     The deep-navy #2E5E99 lives on as --text-secondary and --accent-mid
     for the few intentional dark-blue elements (e.g. .stat-number gradient). */
  --accent:        #60A5FA;
  --accent-hover:  #3B82F6;
  /* Same signature gradient as dark mode for unified electric blue identity */
  --signature:     linear-gradient(135deg, #3B82F6, #60A5FA);

  --border:        rgba(46, 94, 153, 0.12);
  --border-soft:   rgba(46, 94, 153, 0.06);
  --border-strong: rgba(46, 94, 153, 0.22);

  --shadow-sm: 0 4px 16px -4px rgba(13, 36, 64, 0.10);
  --shadow-md: 0 12px 40px -12px rgba(13, 36, 64, 0.14);
  --shadow-lg: 0 32px 80px -24px rgba(13, 36, 64, 0.18);

  --cinematic: #F0F5FB;
  --glow-electric: 0 0 30px rgba(46,94,153,0.25), 0 4px 12px rgba(13,36,64,0.1);

  --cloud-color: rgba(255,255,255,0.9);
}

/* ===== GLOBAL BASE ===== */
html[data-theme] body {
  font-family: var(--font-sans);
  font-feature-settings: "cv11", "ss01", "ss03";
  background: var(--bg-primary);
  color: var(--text-primary);
  font-weight: var(--fw-regular);
  letter-spacing: -0.011em;
  line-height: var(--lh-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--electric);
  color: #fff;
}

/* ===== UTILITY CLASSES ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-x-desktop);
}
@media (max-width: 640px) {
  .container { padding: 0 var(--container-x-mobile); }
}

.section {
  padding: var(--section-y-desktop) 0;
  position: relative;
}
@media (max-width: 1024px) { .section { padding: var(--section-y-tablet) 0; } }
@media (max-width: 720px)  { .section { padding: var(--section-y-mobile) 0; } }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--electric-2);
  font-weight: var(--fw-semibold);
  margin-bottom: 20px;
}
/* Light mode uses the SAME bright electric blue as dark mode for highlights */
.section-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section-title {
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  font-weight: var(--fw-black);
  color: var(--text-primary);
  margin-bottom: 20px;
  max-width: 900px;
}

/* Accent spans — unified bright electric blue (matches buttons & hero) */
.section-title .it {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
  background: none;
  color: var(--electric-2);
  -webkit-text-fill-color: var(--electric-2);
}
/* Light mode .it spans use the same electric-2 as dark mode (no override needed) */

.section-lead {
  font-size: var(--fs-body-l);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 680px;
  margin-bottom: 64px;
}

.section-header.center {
  text-align: center;
}
.section-header.center .section-title,
.section-header.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-sticky);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--bg-primary) 70%, transparent);
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--dur-base) var(--ease-out);
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px var(--container-x-desktop);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
@media (max-width: 640px) {
  .nav-inner { padding: 14px var(--container-x-mobile); }
}
.nav-logo {
  display: flex; align-items: center; gap: 12px; /* REV #01 — gap 10→12 */
  font-weight: var(--fw-bold); font-size: 22px; /* REV #01 — 18→22 */
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.nav-logo svg {
  width: 36px; height: 36px; /* REV #01 — 28→36 (Logo größer) */
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.4));
}
/* REV #01 — Steffi-Demo Logo: theme-aware Switching
   Steffi-SVG hat Viewbox 141.73×45.35 (3.1:1 Landscape Lockup).
   In der Nav: Höhe 64px → Breite ~200px (Vincent: noch größer).
   Im Footer (mit Tagline): Höhe 96px → Breite ~300px. */
.nav-logo-steffi { gap: 0; }
.nav-logo-steffi img { height: 64px; width: auto; display: block; }
.nav-logo-steffi .logo-light { display: none; }
.nav-logo-steffi .logo-dark  { display: block; }
[data-theme="light"] .nav-logo-steffi .logo-light { display: block; }
[data-theme="light"] .nav-logo-steffi .logo-dark  { display: none; }
.footer-brand .nav-logo-steffi img { height: 64px; }
.nav-links {
  display: flex; gap: 36px; /* REV #02 — gap 32→36 */
  font-size: 16px; font-weight: var(--fw-medium); /* REV #02 — 14→16 (Nav größer) */
}
.nav-links a {
  color: var(--text-secondary);
  transition: color var(--dur-micro) var(--ease-out);
}
.nav-links a:hover { color: var(--text-primary); }
/* Hamburger button (mobile only) */
.nav-burger {
  display: none; width: 40px; height: 40px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 10px; background: transparent;
  color: var(--text-secondary); align-items: center; justify-content: center; cursor: pointer;
  transition: border-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out);
}
.nav-burger:hover { border-color: var(--accent); color: var(--accent); }
.nav-burger svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-burger .ic-close { display: none; }
.nav.mobile-open .nav-burger .ic-open { display: none; }
.nav.mobile-open .nav-burger .ic-close { display: block; }
.nav-mobile-cta { display: none; }

/* ---- MOBILE/TABLET (<=1200px): Hamburger + 2-Level Tap-Accordion (Style C).
   N17 (2026-07-12) B3: breakpoint 820->1200. The desktop nav row intrinsically
   needs ~1257px (logo 171 + links 727 + actions 279 + 80 padding, measured);
   below that the logo clipped off the left edge + CTA off the right (Vincent's
   ~834px bug). Burger now covers the whole overflow range; desktop nav only
   shows >1200px where it fits (verified clean at 1200/1280). ---- */
@media (max-width: 1200px) {
  .nav-burger { display: inline-flex; }
  .nav-inner { flex-wrap: wrap; }

  .nav-links {
    display: none; order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0;
    margin-top: 10px; padding-top: 4px; border-top: 1px solid var(--border-soft); font-size: 16px;
  }
  .nav.mobile-open .nav-links { display: flex; }
  .nav-links > a { padding: 13px 2px; border-bottom: 1px solid var(--border-soft); }

  .nav-links .nav-item { position: static; display: block; padding: 0; margin: 0; border-bottom: 1px solid var(--border-soft); }
  .nav-links .nav-item > a { padding: 13px 2px; justify-content: space-between; }

  .nav-links .nav-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; padding-top: 0; z-index: auto; max-height: 0; overflow: hidden;
    transition: max-height 0.28s var(--ease-out);
  }
  .nav-links .nav-item.has-dropdown:hover .nav-dropdown,
  .nav-links .nav-item.has-dropdown:focus-within .nav-dropdown { transform: none; }
  .nav-links .nav-item.open > .nav-dropdown { max-height: 900px; }
  .nav-links .nav-dropdown .nd-panel { background: transparent; border: none; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none; padding: 2px 0 8px 10px; }
  .nav-links .nd-panel--flyout { display: block; min-width: 0; }

  .nav-links .nd-cluster { border: none; }
  .nav-links .nd-flyout {
    position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    margin-left: 0; padding: 0 0 0 14px; min-width: 0; border: none; box-shadow: none; background: transparent;
    max-height: 0; overflow: hidden; transition: max-height 0.24s var(--ease-out);
  }
  .nav-links .nd-cluster:hover > .nd-flyout, .nav-links .nd-cluster:focus-within > .nd-flyout { transform: none; }
  .nav-links .nd-flyout::before { display: none; }
  .nav-links .nd-cluster.open > .nd-flyout { max-height: 320px; }
  .nav-links .nd-cluster.open > .nd-clabel .nd-caret { transform: rotate(45deg); }
  .nav-links .nav-item.open > a::after { transform: rotate(-135deg); }

  .nav-actions .nav-cta { display: none; }
  .nav-links .nav-mobile-cta {
    display: block; margin: 14px 2px 4px; text-align: center; color: #fff;
    font-size: 15px; font-weight: var(--fw-semibold); padding: 13px 18px; border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--electric), var(--electric-2)); box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
  }
}
.nav-actions {
  display: flex; align-items: center; gap: 12px;
}
.theme-toggle {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all var(--dur-micro) var(--ease-out);
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.theme-toggle svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.nav-cta {
  font-size: 13.5px; font-weight: var(--fw-semibold);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--electric), var(--electric-2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
  white-space: nowrap;  /* fix: button was wrapping "Demo buchen" onto 2 lines */
  flex: 0 0 auto;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(59, 130, 246, 0.55); }

/* ============================================================
   HOVER-DROPDOWN-NAVIGATION (2026-07-05, SEO/AIEO) — additiv, pure CSS.
   Top-Leiste bleibt schlank; Sub-Punkte klappen bei Hover/Focus aus.
   Mobile (<820px): .nav-links ist ausgeblendet (vorbestehend) → Mobile-Menü = separater Schritt.
   ============================================================ */
.nav-links { align-items: center; }
.nav-links > a, .nav-links .nav-item > a { white-space: nowrap; }
.nav-links .nav-item {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 28px 0; margin: -28px 0;   /* fast volle Nav-Höhe als Hover-Fläche, ohne Layout-Shift */
}
.nav-links .nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-item.has-dropdown > a::after {
  content: ""; width: 6px; height: 6px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); margin-top: -3px; opacity: 0.55;
  transition: transform 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}
.nav-item.has-dropdown:hover > a::after,
.nav-item.has-dropdown:focus-within > a::after { transform: rotate(-135deg); margin-top: 2px; opacity: 1; }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 252px;
  padding-top: 10px;                  /* transparente Hover-Brücke item→panel */
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out), visibility 0.18s;
  z-index: 1000;
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown .nd-panel {
  background: color-mix(in srgb, var(--bg-elevated) 97%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}
.nav-dropdown .nd-head {
  padding: 8px 14px 6px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: 14px; font-weight: var(--fw-medium);
  white-space: nowrap;
  transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out);
}
.nav-dropdown a:hover {
  background: color-mix(in srgb, var(--electric-2) 15%, transparent);
  color: var(--text-primary);
}
.nav-dropdown a .nd-desc {
  display: block; margin-top: 2px;
  font-size: 11.5px; font-weight: 400;
  color: var(--text-muted); white-space: normal;
}

/* ---- Beratung: 2-Level Side-Flyout (Style B) — 3 Cluster → Services seitlich ---- */
.nav-dropdown .nd-panel--flyout { min-width: 246px; padding: 8px; }
.nd-cluster { position: relative; }
.nav-dropdown a.nd-clabel {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.nd-clabel .nd-caret {
  width: 6px; height: 6px; flex-shrink: 0;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg); opacity: 0.5;
  transition: opacity 0.15s var(--ease-out);
}
.nd-cluster:hover > .nd-clabel .nd-caret,
.nd-cluster:focus-within > .nd-clabel .nd-caret { opacity: 1; }
.nd-flyout {
  position: absolute; top: -8px; left: 100%; margin-left: 8px;
  min-width: 238px; padding: 8px;
  background: color-mix(in srgb, var(--bg-elevated) 97%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-6px);
  transition: opacity 0.16s var(--ease-out), transform 0.16s var(--ease-out), visibility 0.16s;
  z-index: 1001;
}
.nd-flyout::before { content: ""; position: absolute; top: 0; left: -12px; width: 14px; height: 100%; }
.nd-cluster:hover > .nd-flyout,
.nd-cluster:focus-within > .nd-flyout {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0);
}
/* Active nav item (current page) */
.nav-links a.active,
.nav-item.has-dropdown > a.active { color: var(--accent); }
/* ============================================================
   REV #33 — Sprachumschalter DE/EN
   ============================================================ */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 8px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--text-primary); }
.lang-toggle span {
  padding: 4px 8px;
  border-radius: 999px;
  transition: all 0.2s;
}
.lang-toggle span.active {
  background: linear-gradient(135deg, var(--electric), var(--electric-2));
  color: white;
}.footer[data-astro-cid-jo6i4kqk] {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 72px 0 40px;
}

.footer-grid[data-astro-cid-jo6i4kqk] {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (width <= 820px) {
  .footer-grid[data-astro-cid-jo6i4kqk] {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (width <= 540px) {
  .footer-grid[data-astro-cid-jo6i4kqk] {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand[data-astro-cid-jo6i4kqk] .nav-logo[data-astro-cid-jo6i4kqk] {
  margin-bottom: 16px;
}

.footer-tagline[data-astro-cid-jo6i4kqk] {
  font-size: var(--fs-body-s);
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 320px;
}

.footer-col[data-astro-cid-jo6i4kqk] h5[data-astro-cid-jo6i4kqk] {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer-col[data-astro-cid-jo6i4kqk] ul[data-astro-cid-jo6i4kqk] {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col[data-astro-cid-jo6i4kqk] a[data-astro-cid-jo6i4kqk] {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color .2s;
}

.footer-col[data-astro-cid-jo6i4kqk] a[data-astro-cid-jo6i4kqk]:hover {
  color: var(--accent);
}

.footer-bottom[data-astro-cid-jo6i4kqk] {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-bottom[data-astro-cid-jo6i4kqk] .made-in[data-astro-cid-jo6i4kqk] {
  display: flex;
  align-items: center;
  gap: 6px;
}
/* ============================================================
   VALICENSE V6 — INLINE COMPONENT STYLES
   V4 cinematic dark base · aurora bg · gradient-border buttons
   ============================================================ */

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* ───── CUSTOM SCROLLBAR (subtle) ───── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }


/* ============================================================
   BUTTONS
   ============================================================ */
/* Unified button system — all buttons share size + shape */
.btn,
.btn-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  padding: 14px 26px;
  height: 48px;
  min-width: 160px;
  border-radius: var(--radius-md);
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 0.25s var(--ease-luxe), box-shadow 0.25s var(--ease-luxe), background 0.25s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  border: none;
  font-family: inherit;
  text-decoration: none;
  box-sizing: border-box;
}
.btn-primary {
  background: linear-gradient(135deg, var(--electric), var(--electric-2));
  color: #fff;
  box-shadow: 0 8px 28px rgba(59,130,246,0.42), inset 0 1px 0 rgba(255,255,255,0.18);
  isolation: isolate;
}
/* Light mode uses the SAME bright electric blue gradient as dark mode */
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--electric-2), #93C5FD);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
  pointer-events: none;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 42px rgba(59,130,246,0.6); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}
[data-theme="light"] .btn-ghost {
  background: rgba(13, 36, 64, 0.04);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
}
[data-theme="light"] .btn-ghost:hover {
  background: rgba(46, 94, 153, 0.08);
}
.btn svg { width: 16px; height: 16px; }

/* ───── ROTATING GRADIENT-BORDER WRAPPER ───── */
/* Wrap any button with .btn-glow-wrap for the spinning border effect */
.btn-glow-wrap {
  position: relative;
  display: inline-flex;
  border-radius: 14px;
  padding: 2px;
  isolation: isolate;
  overflow: hidden;
  height: 52px;
  box-sizing: border-box;
}
.btn-glow-wrap::before {
  content: '';
  position: absolute;
  inset: -150%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--electric) 40deg,
    var(--electric-2) 80deg,
    var(--accent-light) 120deg,
    transparent 200deg,
    transparent 360deg
  );
  animation: btnGlowSpin 4s linear infinite;
  z-index: -1;
}
.btn-glow-wrap::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--bg-primary);
  border-radius: 12px;
  z-index: -1;
}
@keyframes btnGlowSpin {
  to { transform: rotate(1turn); }
}
.btn-glow {
  background: linear-gradient(135deg, var(--electric), var(--electric-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(59,130,246,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
/* Light mode .btn-glow: uses same electric gradient as dark mode (no override) */
.btn-glow:hover { transform: translateY(-1px); box-shadow: 0 14px 40px rgba(59,130,246,0.55); }
.btn-glow::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transition: left 0.6s var(--ease-out);
}
.btn-glow:hover::after { left: 130%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  isolation: isolate;
}

/* ── HERO BACKGROUND: NFC pulses + AI data flow + Apple-luxe mesh ── */
#wave-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 1;
}
/* Soft Apple-style mesh gradient layer */
.hero-mesh {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 25% 30%, rgba(59, 130, 246, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 75% 45%, rgba(13, 36, 64, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 60% 75%, rgba(123, 164, 208, 0.20) 0%, transparent 55%),
    radial-gradient(ellipse 35% 30% at 15% 75%, rgba(46, 94, 153, 0.35) 0%, transparent 50%);
  filter: blur(60px) saturate(135%);
  animation: meshBreathe 24s ease-in-out infinite alternate;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 30%, transparent 95%);
          mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 30%, transparent 95%);
}
[data-theme="light"] .hero-mesh {
  background:
    radial-gradient(ellipse 50% 40% at 25% 30%, rgba(46, 94, 153, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 75% 45%, rgba(123, 164, 208, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 60% 75%, rgba(46, 94, 153, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 35% 30% at 15% 75%, rgba(123, 164, 208, 0.10) 0%, transparent 50%);
}
@keyframes meshBreathe {
  0%   { transform: translate3d(0, 0, 0)    scale(1); }
  50%  { transform: translate3d(-2%, 1%, 0) scale(1.05); }
  100% { transform: translate3d(2%, -1%, 0) scale(1.02); }
}

/* 2026-06-28: .hero-halo CSS entfernt (dead-code — kein HTML-Element referenzierte es). */

.hero-inner {
  position: relative; z-index: 3;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-x-desktop);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
/* N16 (2026-07-12) A1+B1: hero stacks 1-col ONLY on phone (<=700px) so the
   hero-tag sits UNDER the headline (Vincent A1). Tablet (701-1000px) keeps the
   desktop 2-col grid so the tag floats BESIDE the headline (Vincent B1 "naeher
   an Desktop"). Was max-width:1000px (collapsed on tablet too). */
@media (max-width: 700px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
}
/* N16 (2026-07-12) B1: tablet hero is 2-col like desktop; the narrower content
   column needs the 3 metrics to shrink-share + a tighter grid gap so nothing
   overflows (mirrors the phone metric fix in the N09 block). */
@media (min-width: 701px) and (max-width: 1000px) {
  .hero-inner   { gap: 40px; }
  .hero-metrics { gap: 18px; }
  .hero-metric  { min-width: 0; flex: 1 1 0; }
}
@media (max-width: 640px) { .hero-inner { padding: 0 var(--container-x-mobile); } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 13.5px; font-weight: var(--fw-semibold); /* REV #03 — 11.5→13.5 (Eyebrow größer) */
  color: var(--electric-2);
  padding: 10px 16px; /* REV #03 — Padding leicht größer für Balance */
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--bg-elevated) 60%, transparent);
  backdrop-filter: blur(12px);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}
[data-theme="light"] .hero-eyebrow {
  border-color: rgba(96, 165, 250, 0.32);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-size: clamp(44px, 6.8vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.044em;
  font-weight: var(--fw-black);
  margin-bottom: 28px;
  color: var(--text-primary);
}
/* Unified accent color — matches button bright electric blue */
.hero h1 .it {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
  color: var(--electric-2);
  -webkit-text-fill-color: var(--electric-2);
  background: none;
}
/* Light mode hero .it: uses same electric-2 as dark mode (no override) */
/* Light mode primary text is now pure black via --text-primary token (theme.css)
   — affects all headlines, nav-logo, strong text, etc. consistently.
   .it span keeps its electric-blue accent because of the explicit color above. */

.hero-sub {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 44px;
}
.hero-sub strong { color: var(--text-primary); font-weight: var(--fw-semibold); }

.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 56px;
  align-items: center;
}

.hero-metrics {
  display: flex; gap: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: nowrap; /* REV #06 fix — nowrap verhindert Zeilenumbruch bei 3 Metrics */
}
.hero-metric { min-width: 120px; } /* REV #06 — 150→120px, reicht für alle Labels */
.hero-metric-num {
  font-size: 32px; font-weight: var(--fw-bold); /* REV #06 — 28→32 */
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, var(--text-primary) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}
.hero-metric-label {
  font-family: var(--font-mono);
  font-size: 12.5px; /* REV #06 — 10.5→12.5 (Label größer) */
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── HERO VISUAL: realistic NFC swing-tag ── */
.hero-visual {
  position: relative;
  height: 620px;
  display: flex; align-items: center; justify-content: center;
  perspective: 1400px;
}
@media (max-width: 1000px) { .hero-visual { height: 540px; } }

/* 2026-06-28: .tag-halo + .nfc-rings + @keyframes haloPulse / ringExpand entfernt.
   Vincent's Direktive: durch Hero-Video-Loop nicht mehr sichtbar/benötigt.
   Dead-CSS-removal um Visual-Reference-Mismatch zu eliminieren. */

/* ============================================================
   NFC TAG — V6.18 Premium Luggage-Tag Design
   Shape: rectangular body + triangular top with rounded peak,
   hole in the peak. Tags hang from invisible horizontal rod through hole.
   Pattern: NFC antenna spiral + chip + chrome engraved logo.
   ============================================================ */

/* Tag dimensions: viewBox 220×370 (aspect 0.595, slimmer). Hole at (110, 32), r=9.5. */
.nfc-tag {
  position: absolute;
  top: 50%; left: 50%;
  width: 230px;
  aspect-ratio: 0.595;
  display: block;
  cursor: pointer;
  /* Pivot at the hole position so tags swing like pendulums on the rod */
  transform-origin: 50% 9.4%;
  /* Stack-rest transform driven by CSS variables, hover-rotation added on top.
     NO CSS transition here — hover sway uses JS spring-physics for smooth motion.
     translateZ(0) forces a GPU layer for buttery animation across all browsers. */
  transform:
    translate(-50%, calc(-50% + var(--rest-y, 0) * 1px))
    translateX(calc(var(--rest-x, 0) * 1px))
    rotate(calc((var(--rest-rot, 0) + var(--hover-rot, 0)) * 1deg))
    scale(var(--rest-scale, 1))
    translateZ(0);
  /* Subtle drop shadow — keeps tag grounded without overpowering the matte surface */
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35)) drop-shadow(0 6px 10px rgba(0,0,0,0.22));
  /* Filter / opacity smooth on swap, transform handled by JS rAF spring */
  transition: filter 0.45s var(--ease-luxe), opacity 0.4s var(--ease-luxe);
  will-change: transform, filter;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* Light mode — drop the heavy black shadows, use soft navy-tinted shadows
   (Apple-style: subtle elevation, not dramatic) */
[data-theme="light"] .nfc-tag {
  filter:
    drop-shadow(0 10px 18px rgba(13, 36, 64, 0.10))
    drop-shadow(0 3px 6px  rgba(13, 36, 64, 0.06));
}
.nfc-tag-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  pointer-events: none;
}

/* ============================================================
   NFC TAG STACK — Tags threaded onto invisible horizontal rod.
   All hole positions align (same Y), tags fan slightly horizontally.
   ============================================================ */
.nfc-tag-stack {
  position: relative;
  width: 380px;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1000px) {
  .nfc-tag-stack { width: 300px; height: 480px; }
  .nfc-tag { width: 190px; }
}

/* Stack rest positions — tags fan out horizontally with clear spacing,
   all share the same Y position so their holes align on the rod.
   Bigger steps (~14px x, ~1.4° rot) → tags read as distinct, not crammed together. */
.nfc-tag.tag-1 { --rest-x:  38; --rest-y: 0; --rest-rot:  4.2; --rest-scale: 0.92;  z-index: 1; }
.nfc-tag.tag-2 { --rest-x:  24; --rest-y: 0; --rest-rot:  2.8; --rest-scale: 0.945; z-index: 2; }
.nfc-tag.tag-3 { --rest-x:  10; --rest-y: 0; --rest-rot:  1.4; --rest-scale: 0.965; z-index: 3; }
.nfc-tag.tag-4 { --rest-x:  -6; --rest-y: 0; --rest-rot:  0.0; --rest-scale: 0.98;  z-index: 4; }
.nfc-tag.tag-5 { --rest-x: -22; --rest-y: 0; --rest-rot: -1.4; --rest-scale: 0.99;  z-index: 5; }
.nfc-tag.tag-6 { --rest-x: -38; --rest-y: 0; --rest-rot: -2.8; --rest-scale: 1;     z-index: 6;
  filter: drop-shadow(0 24px 38px rgba(0,0,0,0.45)) drop-shadow(0 10px 16px rgba(0,0,0,0.30));
}
/* Light mode front-tag — softer Apple-style elevation */
[data-theme="light"] .nfc-tag.tag-6 {
  filter:
    drop-shadow(0 16px 28px rgba(13, 36, 64, 0.14))
    drop-shadow(0 6px 12px  rgba(13, 36, 64, 0.08));
}

/* Front tag idles with a soft sway — driven by JS spring-physics, not CSS keyframes */

/* Falling state — tag detaches and falls. Position driven by JS via --fall-y / --fall-rot / --fall-op. */
.nfc-tag.is-falling {
  animation: none;
  z-index: 100;
  transform:
    translate(-50%, calc(-50% + var(--rest-y, 0) * 1px + var(--fall-y, 0) * 1px))
    translateX(calc(var(--rest-x, 0) * 1px))
    rotate(calc((var(--rest-rot, 0) + var(--fall-rot, 0)) * 1deg))
    scale(var(--rest-scale, 1))
    translateZ(0);
  opacity: var(--fall-op, 1);
  transition: none;
  filter: drop-shadow(0 26px 40px rgba(0,0,0,0.50));
  pointer-events: none;
}
[data-theme="light"] .nfc-tag.is-falling {
  filter: drop-shadow(0 18px 30px rgba(13, 36, 64, 0.18));
}

/* Click hint — chrome shimmer text on the front tag.
   Positioned ABOVE the footer text so it doesn't overlap with "Digital Product Passport". */
.click-hint {
  position: absolute;
  /* Sits below the NFC label (around 73-77% from top) — clean space, no overlap */
  top: 76%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  color: rgba(255,255,255,0.95);
  text-shadow: 0 0 12px rgba(255,255,255,0.4);
  background: linear-gradient(90deg,
    rgba(255,255,255,0.5) 0%,
    rgba(255,255,255,1) 25%,
    rgba(255,255,255,1) 50%,
    rgba(255,255,255,1) 75%,
    rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: chromeShimmer 2.4s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
}
.nfc-tag.is-front .click-hint {
  opacity: 1;
}
.nfc-tag.is-falling .click-hint {
  opacity: 0;
}
@keyframes chromeShimmer {
  0%, 100% { background-position: 200% 0%; }
  50%      { background-position: -200% 0%; }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--text-muted);
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, var(--accent));
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 40%;
  background: linear-gradient(180deg, var(--electric-2), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: translateY(-100%); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(150%); opacity: 0; }
}

/* ============================================================
   TRUST BAR (marquee)
   ============================================================ */
.trust-bar {
  padding: 28px 0;
  background: color-mix(in srgb, var(--bg-elevated) 60%, transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.trust-bar::before, .trust-bar::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 120px;
  z-index: 2; pointer-events: none;
}
.trust-bar::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary), transparent);
}
.trust-bar::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-primary), transparent);
}
.trust-track {
  display: flex; gap: 60px;
  animation: tickerMove 50s linear infinite;
  width: max-content;
}
.trust-track:hover { animation-play-state: paused; }
@keyframes tickerMove {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--text-secondary);
  white-space: nowrap;
}
.trust-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.trust-sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
}

/* ============================================================
   STORY — sticky 7-phase scroll
   ============================================================ */
.story-track {
  position: relative;
  /* 560vh (was 680vh — reduced 2026-07-15 for a faster/snappier scroll-through per
     Vincent; TUNING KNOB = this value: lower = faster to scroll through, ~450–680vh
     sensible range). First ~30% is the M03 product parade (pharma/wein/anzug),
     remaining ~70% is the tag→scan→DPP→dashboards narrative + a modules hold zone. */
  height: 560vh;
  /* N19 (2026-07-12) C bridge (v1 — needs Vincent-Review): the track USED to
     dip back to --bg-primary at 100%, but the very next section
     (.demo-video-section) is --bg-alt + had a 1px border-top -> a hard
     white->grey seam (very visible in light). End the track on --bg-alt so it
     flows seamlessly into the demo section (border-top removed there too).
     Top framing (bg-primary 0->8%) kept — it still matches the hero above. */
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-alt) 8%, var(--bg-alt) 100%);
}
.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-sticky::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(59,130,246,0.10), transparent 60%),
    radial-gradient(ellipse at 20% 30%, rgba(123,164,208,0.06), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(46,94,153,0.08), transparent 50%);
  pointer-events: none;
}
[data-theme="light"] .story-sticky::before {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(59,130,246,0.05), transparent 60%),
    radial-gradient(ellipse at 20% 30%, rgba(123,164,208,0.03), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(46,94,153,0.04), transparent 50%);
}

.story-caption {
  position: absolute;
  top: 10vh; /* FIX: Eyebrow war abgeschnitten bei 6vh — mehr Luft für Header + große Phone-Phasen */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  width: 92%;
  max-width: 840px;
  min-height: 130px;
  pointer-events: none;
  padding: 24px 36px 26px; /* leicht mehr Atemraum */
  border-radius: var(--radius-xl);
  background: color-mix(in srgb, var(--bg-primary) 75%, transparent);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.4);
}
/* Smooth content cross-fade */
.story-caption-eyebrow,
.story-caption-title,
.story-caption-sub {
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  will-change: opacity, transform;
}
.story-caption.swapping .story-caption-eyebrow,
.story-caption.swapping .story-caption-title,
.story-caption.swapping .story-caption-sub {
  opacity: 0;
  transform: translateY(-6px);
}
[data-theme="light"] .story-caption {
  background: color-mix(in srgb, var(--bg-primary) 88%, transparent);
  box-shadow: 0 20px 50px -20px rgba(13, 36, 64, 0.18);
}
.story-caption-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; /* ROLLBACK */
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--electric-2);
  font-weight: var(--fw-semibold);
  margin-bottom: 12px;
}
/* Light mode story-caption-eyebrow: uses same electric-2 as dark mode (no override) */
.story-caption-title {
  font-size: clamp(24px, 3.4vw, 38px); /* ROLLBACK */
  line-height: 1.15;
  letter-spacing: -0.024em;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: 10px;
}
.story-caption-title .it {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: var(--electric-2);
  -webkit-text-fill-color: var(--electric-2);
  background: none;
}
/* Light mode story-caption .it: uses same electric-2 as dark mode (no override) */
.story-caption-sub {
  font-size: 15px; /* ROLLBACK */
  color: var(--text-secondary);
  line-height: 1.5;
}
@media (max-width: 640px) {
  .story-caption {
    padding: 16px 20px;
    top: 7vh; /* FIX: war 4vh — Eyebrow-Cutoff mobile */
    width: 94%;
  }
  .story-caption-title { font-size: 20px; }
  .story-caption-sub { font-size: 13px; }
}

.story-stage {
  position: relative;
  width: min(820px, 88vw); /* ROLLBACK */
  aspect-ratio: 1.45;
  margin-top: 14vh; /* ROLLBACK */
}
@media (max-width: 1024px) {
  .story-stage { margin-top: 22vh; aspect-ratio: 1.1; }
}


.modules-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  min-height: 0;
}

.module-card {
  background: #FFFFFF;
  border: 1px solid #EAEEF4;
  border-radius: 5px;
  padding: 6px 4px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 3px;
  min-width: 0;
  position: relative;
  transition: all 0.2s ease;
}
.module-card.active {
  border-color: #BFDBFE;
  background: linear-gradient(180deg, #EFF6FF 0%, #FFFFFF 60%);
}
.module-card.active::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--electric), var(--electric-2));
  border-radius: 5px 5px 0 0;
}
.module-card.soon {
  border-style: dashed;
  border-color: #FDE68A;
  background: #FFFBEB;
}
.module-card.planned {
  border-style: dashed;
  border-color: #DDE4ED;
  background: #F8FAFC;
}
.module-icon {
  font-size: 18px;
  line-height: 1;
  filter: grayscale(0.1);
}
.module-card.planned .module-icon {
  font-size: 14px;
  color: #8B9AB0;
  font-style: normal;
  filter: grayscale(0.6);
  opacity: 0.7;
}
.module-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  flex: 1;
  justify-content: center;
}
.module-name {
  font-size: 7.5px;
  font-weight: var(--fw-black);
  color: #0D2440;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.module-card.planned .module-name { color: #6E7E96; }
.module-desc {
  font-size: 5.5px;
  color: #4A5A75;
  margin-top: 1px;
  line-height: 1.2;
  font-weight: var(--fw-medium);
}
.module-status {
  font-size: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: var(--fw-bold);
  padding: 1.5px 5px;
  border-radius: 999px;
  border: 0.5px solid transparent;
}
.module-card.active .module-status {
  background: #ECFDF5;
  color: #047857;
  border-color: #A7F3D0;
}
.module-card.soon .module-status {
  background: #FFFBEB;
  color: #B45309;
  border-color: #FDE68A;
}
.module-card.planned .module-status {
  background: #F1F4F9;
  color: #6E7E96;
  border-color: #DDE4ED;
}


@media (max-width: 768px) {
  .story-track { height: 540vh; } /* mobile: tighter, but with hold zone + M03 parade */
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.section-problem { background: var(--bg-primary); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 1024px) { .stat-grid { grid-template-columns: 1fr; } }

.stat-card {
  padding: 48px 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all 0.3s var(--ease-luxe);
  position: relative;
  overflow: hidden;
}
.stat-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--signature);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.stat-card:hover::before { opacity: 1; }

.stat-number {
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.92;
  font-weight: var(--fw-ultra);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  /* Intentional dark-blue gradient — uses --accent-mid (#2E5E99) so it stays
     navy regardless of the unified electric-blue --accent token. */
  background: linear-gradient(180deg, var(--text-primary) 30%, var(--accent-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: var(--fs-body);
  color: var(--text-primary);
  font-weight: var(--fw-medium);
  margin-bottom: 8px;
  line-height: 1.4;
}
.stat-source {
  font-size: var(--fs-caption);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ============================================================
   OPPORTUNITY (split before/after)
   ============================================================ */
.section-opportunity { background: var(--bg-alt); }
.split-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 32px;
  border: 1px solid var(--border);
}
@media (max-width: 820px) { .split-screen { grid-template-columns: 1fr; } }

.split-panel {
  padding: 56px 44px;
  position: relative;
  min-height: 420px;
}
.split-panel.without {
  background: linear-gradient(180deg, rgba(127,29,29,0.16), rgba(127,29,29,0.04));
}
.split-panel.with {
  background: linear-gradient(180deg, rgba(13,36,64,0.5), rgba(59,130,246,0.06));
}
[data-theme="light"] .split-panel.without {
  background: linear-gradient(180deg, rgba(239,68,68,0.06), rgba(239,68,68,0.02));
}
[data-theme="light"] .split-panel.with {
  background: linear-gradient(180deg, rgba(46,94,153,0.08), rgba(123,164,208,0.04));
}
.split-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
}
.split-header .dot { width: 10px; height: 10px; border-radius: 50%; }
.split-panel.without .dot { background: #EF4444; box-shadow: 0 0 12px #EF4444; }
.split-panel.with .dot { background: var(--electric-2); box-shadow: 0 0 12px var(--electric-2); }
.split-panel.without .split-header { color: #FCA5A5; }
[data-theme="light"] .split-panel.without .split-header { color: #B91C1C; }
.split-panel.with .split-header { color: var(--accent); }

.split-panel h3 {
  font-size: 28px;
  font-weight: var(--fw-bold);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 28px;
  color: var(--text-primary);
}
.split-panel ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.split-panel li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.split-panel li svg { flex-shrink: 0; margin-top: 3px; width: 18px; height: 18px; }
.split-panel.with li svg { color: var(--electric-2); }
.split-panel.without li svg { color: #EF4444; }

/* ============================================================
   WHY VALICENSE (6 cards)
   ============================================================ */
.section-why { background: var(--bg-primary); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  padding: 36px 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all 0.3s var(--ease-luxe);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.why-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.why-card::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(59,130,246,0.10), transparent 70%);
  transform: translate(40%,-40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.why-card:hover::after { opacity: 1; }
.why-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-elevated));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}
.why-icon svg { width: 22px; height: 22px; }
.why-title {
  font-size: 20px;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.018em;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.25;
}
.why-desc {
  font-size: var(--fs-body-s);
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ============================================================
   AI SERVICES TEASER (small reference block, links to /ai-services.html)
   ============================================================ */
.section-ai-teaser {
  background: var(--bg-primary);
  padding: var(--section-y-tablet) 0;
}
.ai-teaser-card {
  position: relative;
  background: linear-gradient(135deg, color-mix(in srgb, var(--electric) 5%, var(--bg-elevated)) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-2xl);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  overflow: hidden;
}
.ai-teaser-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--signature);
}
.ai-teaser-glow {
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.ai-teaser-content { position: relative; z-index: 1; max-width: 640px; }
.ai-teaser-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: var(--fw-black);
  letter-spacing: -0.028em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.ai-teaser-lead {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}
.ai-teaser-cta { font-size: 14px; }

.ai-teaser-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative; z-index: 1;
}
.ai-teaser-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.10);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light);
  transition: all 0.3s var(--ease-luxe);
}
.ai-teaser-icon:hover {
  background: rgba(59, 130, 246, 0.20);
  transform: translateY(-2px);
  border-color: var(--accent);
}
.ai-teaser-icon svg { width: 28px; height: 28px; }

@media (max-width: 820px) {
  .ai-teaser-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
  .ai-teaser-icons { grid-template-columns: repeat(4, 1fr); justify-items: center; }
}

/* ============================================================
   INDUSTRIES (8 cards)
   ============================================================ */
.section-industries { background: var(--bg-alt); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 1024px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .industries-grid { grid-template-columns: 1fr; } }

.industry-card {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-luxe);
  overflow: hidden;
}
.industry-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--signature);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.industry-card:hover::after { transform: scaleX(1); }
.industry-icon {
  width: 36px; height: 36px;
  margin-bottom: 18px;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.industry-icon svg { width: 28px; height: 28px; }
.industry-name {
  font-size: 15px;
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: 10px;
}
.industry-deadline {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: var(--fw-medium);
  padding: 4px 10px;
  border-radius: 999px;
}
.industry-deadline.urgent {
  background: rgba(239,68,68,0.14); color: #FCA5A5;
  border: 1px solid rgba(239,68,68,0.3);
}
.industry-deadline.soon {
  background: rgba(245,158,11,0.14); color: #FCD34D;
  border: 1px solid rgba(245,158,11,0.3);
}
.industry-deadline.future {
  background: rgba(59,130,246,0.14); color: #93C5FD;
  border: 1px solid rgba(59,130,246,0.3);
}
[data-theme="light"] .industry-deadline.urgent { color: #B91C1C; background: rgba(239,68,68,0.08); }
[data-theme="light"] .industry-deadline.soon   { color: #B45309; background: rgba(245,158,11,0.10); }
[data-theme="light"] .industry-deadline.future { color: #1E40AF; background: rgba(59,130,246,0.10); }

/* ============================================================
   INTEGRATIONS (logo grid)
   ============================================================ */
.section-integrations { background: var(--bg-primary); }
.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.integration-tile {
  padding: 20px 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-primary);
  letter-spacing: -0.005em;
  transition: all 0.25s var(--ease-luxe);
  display: flex; align-items: center; gap: 10px;
}
.integration-tile:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  background: var(--bg-surface);
}
.integration-tile .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--electric-2);
  box-shadow: 0 0 8px var(--electric-2);
}
.integrations-cta {
  text-align: center;
  margin-top: 36px;
  font-size: var(--fs-body);
  color: var(--text-secondary);
}
.integrations-cta a {
  color: var(--accent);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border-strong);
  transition: text-decoration-color 0.25s ease;
}
.integrations-cta a:hover { text-decoration-color: var(--accent); }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.section-comparison { background: var(--bg-alt); }
.comparison-wrap {
  margin-top: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  overflow-x: auto;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.comparison-table th, .comparison-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-body-s);
}
.comparison-table th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: var(--fw-semibold);
  background: var(--bg-surface);
}
.comparison-table th.col-vali {
  color: var(--accent);
  background: linear-gradient(180deg, rgba(59,130,246,0.12), transparent);
  position: relative;
}
.comparison-table th.col-vali::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--signature);
}
.comparison-table td.col-vali {
  background: rgba(59,130,246,0.05);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}
.comparison-table td .ico { display: inline-flex; vertical-align: middle; margin-right: 6px; }
.comparison-table td .ico svg { width: 17px; height: 17px; }
.ico-yes { color: #4DD3A8; }
.ico-no  { color: #EF4444; opacity: 0.85; }
.ico-mid { color: #FCD34D; }

/* ============================================================
   PRICING (with cloud anim)
   ============================================================ */
.section-pricing {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}
.pricing-clouds {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.pricing-cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0;
  will-change: transform, opacity;
}
[data-theme="dark"] .pricing-cloud { mix-blend-mode: screen; }

.pricing-cloud-1 {
  width: 520px; height: 340px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.50) 0%, rgba(59,130,246,0.20) 40%, transparent 70%);
  top: 5%; left: 0;
  transform: translateX(-100%);
}
.pricing-cloud-2 {
  width: 420px; height: 280px;
  background: radial-gradient(ellipse, rgba(123,164,208,0.45) 0%, rgba(123,164,208,0.15) 40%, transparent 70%);
  top: 55%; left: 5%;
  transform: translateX(-100%);
}
.pricing-cloud-3 {
  width: 480px; height: 310px;
  background: radial-gradient(ellipse, rgba(46,94,153,0.50) 0%, rgba(46,94,153,0.20) 40%, transparent 70%);
  top: 10%; right: 0;
  transform: translateX(100%);
}
.pricing-cloud-4 {
  width: 400px; height: 260px;
  background: radial-gradient(ellipse, rgba(96,165,250,0.40) 0%, rgba(96,165,250,0.15) 40%, transparent 70%);
  top: 58%; right: 5%;
  transform: translateX(100%);
}
.section-pricing.clouds-active .pricing-cloud-1 {
  transform: translateX(-25%); opacity: 0.85;
  transition: transform 2s var(--ease-out), opacity 1.2s ease;
  animation: cloudDriftL 14s ease-in-out 2.2s infinite alternate;
}
.section-pricing.clouds-active .pricing-cloud-2 {
  transform: translateX(-15%); opacity: 0.7;
  transition: transform 2s var(--ease-out) 0.2s, opacity 1.2s ease 0.2s;
  animation: cloudDriftL 16s ease-in-out 2.6s infinite alternate;
}
.section-pricing.clouds-active .pricing-cloud-3 {
  transform: translateX(25%); opacity: 0.85;
  transition: transform 2s var(--ease-out) 0.1s, opacity 1.2s ease 0.1s;
  animation: cloudDriftR 14s ease-in-out 2.4s infinite alternate;
}
.section-pricing.clouds-active .pricing-cloud-4 {
  transform: translateX(15%); opacity: 0.7;
  transition: transform 2s var(--ease-out) 0.3s, opacity 1.2s ease 0.3s;
  animation: cloudDriftR 17s ease-in-out 2.8s infinite alternate;
}
@keyframes cloudDriftL {
  0%   { transform: translateX(-25%) translateY(0); }
  100% { transform: translateX(-15%) translateY(-20px); }
}
@keyframes cloudDriftR {
  0%   { transform: translateX(25%) translateY(0); }
  100% { transform: translateX(15%) translateY(-20px); }
}

.pricing-toggle {
  display: inline-flex;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px;
  margin: 24px 0 40px;
  position: relative;
  z-index: 1;
}
.pricing-toggle button {
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  transition: all 0.25s ease;
}
.pricing-toggle button.active {
  background: var(--signature);
  color: #fff;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}
.pricing-toggle .save-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(77,211,168,0.18);
  color: #4DD3A8;
  letter-spacing: 0.05em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; } }

.price-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition:
    transform 0.45s var(--ease-luxe),
    box-shadow 0.45s var(--ease-luxe),
    border-color 0.3s ease,
    filter 0.45s var(--ease-luxe),
    opacity 0.45s var(--ease-luxe);
  animation: cardFloat 6s ease-in-out infinite;
  will-change: transform, filter, opacity;
  /* Flex column to push CTA to bottom */
  display: flex;
  flex-direction: column;
}

/* FOCUS EFFECT: when hovering ANY card in the grid, the hovered one pops
   forward and the others gently recede (soft blur + reduced opacity).
   Elegant, subtle — invites focus without being heavy.                       */
.pricing-grid:hover .price-card:not(:hover) {
  filter: blur(1.5px) saturate(0.85);
  opacity: 0.55;
  transform: scale(0.97);
  animation-play-state: paused;
}
[data-theme="light"] .pricing-grid:hover .price-card:not(:hover) {
  opacity: 0.6;
}
/* Features list expands to fill available space, pushing CTA down */
.price-card .price-features {
  flex: 1;
}
/* CTA always sits at the bottom, aligned across all cards */
.price-card .price-cta,
.price-card .btn {
  margin-top: auto;
}
.price-card:nth-child(1) { animation-delay: 0s; }
.price-card:nth-child(2) { animation-delay: 1.5s; }
.price-card:nth-child(3) { animation-delay: 0.7s; }

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes cardFloatFeatured {
  0%, 100% { transform: translateY(-8px); }
  50%      { transform: translateY(-14px); }
}

/* HOVER: focused card pops forward — scale up + lift + diffused halo */
/* REV #36 (2026-05-12): Scale verstärkt auf 1.12 (Vincent: mehr Pop, Iter 2).
   Glow + Blur + Lift bleiben unverändert. */
.price-card:hover {
  animation-play-state: paused;
  transform: translateY(-16px) scale(1.12);
  border-color: rgba(96, 165, 250, 0.45);
  z-index: 2;
  box-shadow:
    0 0 60px 6px rgba(96, 165, 250, 0.22),
    0 0 140px 35px rgba(59, 130, 246, 0.10),
    0 30px 60px -10px rgba(13, 36, 64, 0.40);
}
[data-theme="light"] .price-card:hover {
  border-color: rgba(96, 165, 250, 0.40);
  box-shadow:
    0 0 60px 6px rgba(96, 165, 250, 0.18),
    0 0 140px 35px rgba(59, 130, 246, 0.08),
    0 30px 60px -10px rgba(13, 36, 64, 0.18);
}

.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--electric) 8%, var(--bg-elevated)) 0%, var(--bg-elevated) 100%);
  box-shadow: 0 20px 60px -20px rgba(59,130,246,0.4);
  animation: cardFloatFeatured 6s ease-in-out infinite;
  animation-delay: 0.75s;
}
/* REV #36 Iter 2: Featured-Card scale auch erhöht (1.09 → 1.13) */
.price-card.featured:hover {
  transform: translateY(-26px) scale(1.13);
  border-color: rgba(96, 165, 250, 0.55);
  z-index: 2;
  box-shadow:
    0 0 70px 8px rgba(96, 165, 250, 0.30),
    0 0 160px 40px rgba(59, 130, 246, 0.14),
    0 35px 70px -10px rgba(13, 36, 64, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .price-card { animation: none; }
}
.price-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-sans); /* Inter — matches body text */
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--signature);
  color: #fff;
  font-weight: var(--fw-bold);
}
.price-name {
  font-size: 14px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: var(--fw-semibold);
  margin-bottom: 16px;
}
.price-amount {
  font-size: 48px;
  font-weight: var(--fw-black);
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.price-amount .currency { font-size: 22px; vertical-align: top; margin-right: 4px; opacity: 0.7; }
.price-amount .period { font-size: 14px; color: var(--text-muted); font-weight: var(--fw-medium); margin-left: 6px; letter-spacing: 0; }
.price-tagline {
  font-size: var(--fs-body-s);
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 40px;
}
.price-features {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.price-features li {
  display: flex; align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}
.price-features li svg {
  flex-shrink: 0; margin-top: 3px;
  width: 14px; height: 14px;
  color: var(--electric-2);
}
.price-cta {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: var(--fw-semibold);
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
  overflow: visible;
}
/* Override .btn-primary's ::before overlay so price CTAs use their own simple hover */
.price-card .btn-primary.price-cta::before { display: none; }
.price-card .btn-primary.price-cta {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}
.price-card .btn-primary.price-cta:hover {
  background: linear-gradient(135deg, var(--electric), var(--electric-2));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59,130,246,0.4);
}
/* Light mode pricing CTAs use the same electric gradient as dark mode (no override) */
.price-card.featured .btn-primary.price-cta {
  background: linear-gradient(135deg, var(--electric), var(--electric-2));
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(59,130,246,0.35);
}
.price-card.featured .btn-primary.price-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(59,130,246,0.55);
  background: linear-gradient(135deg, var(--electric-2), #93C5FD);
  color: #fff;
}

.enterprise-card {
  margin-top: 28px;
  padding: 32px 40px;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(59,130,246,0.04) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.enterprise-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--electric), var(--electric-2));
  opacity: 0.7;
}
.enterprise-info {
  flex: 1 1 auto;
  min-width: 0;
}
.enterprise-info h4 {
  font-size: 22px;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.enterprise-info p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}
.enterprise-card .btn {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .enterprise-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 28px;
    gap: 20px;
  }
  .enterprise-card .btn { align-self: stretch; text-align: center; }
}

/* Price-Includes Hint-Box (Tier-Inheritance) */
.price-includes {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 18px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.22);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-primary);
  font-weight: var(--fw-medium);
}
.price-includes svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--electric-2);
}
.price-includes strong { color: var(--electric-2); font-weight: var(--fw-semibold); }
.price-card.featured .price-includes {
  background: rgba(59,130,246,0.14);
  border-color: rgba(59,130,246,0.35);
}

.pricing-disclaimer {
  text-align: center;
  margin-top: 32px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted);
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* ============================================================
   FAQ
   ============================================================ */
.section-faq { background: var(--bg-alt); }
.faq-list {
  margin-top: 32px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ-CTA-Box: Whitepaper-Download + Mehr-FAQs Link */
.faq-cta-box {
  margin: 48px auto 0;
  max-width: 860px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.faq-cta-card {
  position: relative;
  padding: 28px 28px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.faq-cta-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--electric), var(--electric-2));
  opacity: 0.7;
}
.faq-cta-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59,130,246,0.45);
  box-shadow: 0 18px 40px rgba(59,130,246,0.12);
}
.faq-cta-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(59,130,246,0.12);
  color: var(--electric-2);
}
.faq-cta-icon svg { width: 22px; height: 22px; }
.faq-cta-card h4 {
  margin: 0;
  font-size: 17px;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.faq-cta-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  flex: 1;
}
.faq-cta-card .btn {
  align-self: flex-start;
  font-size: 13px;
  padding: 10px 18px;
}
.faq-cta-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FBBF24;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 4px;
}
@media (max-width: 760px) {
  .faq-cta-box { grid-template-columns: 1fr; }
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  text-align: left;
  letter-spacing: -0.012em;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--accent); }
.faq-q .chevron {
  width: 20px; height: 20px;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[data-open="1"] .faq-q .chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.65;
}
.faq-a-inner { padding: 0 4px 22px; }
.faq-item[data-open="1"] .faq-a { max-height: 400px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.section-final {
  position: relative;
  padding: 140px 0;
  background: linear-gradient(180deg, #050D1A 0%, #0D2440 100%);
  overflow: hidden;
}
.final-mesh {
  position: absolute; inset: -10%;
  background:
    radial-gradient(circle at 20% 30%, rgba(59,130,246,0.3), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(123,164,208,0.2), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(46,94,153,0.4), transparent 50%);
  filter: blur(60px) saturate(140%);
  animation: heroMeshShift 22s ease-in-out infinite alternate;
  opacity: 0.85;
  pointer-events: none;
}
@keyframes heroMeshShift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-3%,2%,0) scale(1.06); }
  100% { transform: translate3d(2%,-3%,0) scale(1.02); }
}
.final-inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--container-x-desktop);
}
.final-title {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: var(--fw-black);
  color: #F0F4F8;
  margin-bottom: 24px;
}
.final-title .it {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: var(--electric-2);
  -webkit-text-fill-color: var(--electric-2);
  background: none;
}
.final-sub {
  font-size: var(--fs-body-l);
  color: rgba(245, 248, 252, 0.75);
  margin-bottom: 40px;
  line-height: 1.55;
}
.final-ctas {
  display: flex; gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.section-final .btn-ghost {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.section-final .btn-ghost:hover { background: rgba(255,255,255,0.12); }


/* ============================================================
   REVEAL ANIMATION (re-declared for self-contained safety)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   HERO VIDEO — floating NFC tag MP4 (placeholder, white BG)
   Strategy: mix-blend-mode: multiply works in BOTH themes:
     - White × white (light bg) = white  → BG invisible ✓
     - White × dark  (dark  bg) = dark   → BG invisible ✓
   The hero-tag-stack stays in DOM (hidden) so initTagStack()
   still renders the Story-section seq-tag. Once the dark-BG
   video variant arrives, just update data-video-dark on the
   <video> element below — the JS swaps source on theme change.
   ============================================================ */
.hidden-stack { display: none !important; }

.hero-video-wrap {
  position: absolute;
  /* 2026-06-28 v4: Tag-Position lift — Vincent: "Tag sitzt generell zu niedrig".
     top 44% statt 50% = ca. 37px Lift bei 620px hero-visual → spürbar aber nicht extrem */
  top: 44%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  z-index: 5;
  pointer-events: none;
}
@media (max-width: 1000px) { .hero-video-wrap { max-width: 360px; } }

/* Y3-Pixel-Map (2026-07-01, siehe Y3-Light-Pixel-Map-Pipeline-2026-06-30.md) matcht
   Video-BG exakt zu LP-mesh in Light + Dark → mask + mix-blend + filter obsolete.
   Cleanup 2026-07-03. Rollback bei Box-Effect-Regression: git revert dieser Änderung. */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  display: block;
  /* FIX 2026-07-16 (Nikolai-Review): Kanten-Maske reaktiviert — der 07-03-Cleanup
     ("BG exakt zu Mesh") brach auf abweichenden Screens/Export sichtbar als Kasten.
     Radialer Edge-Fade blendet die Video-Kante weg, unabhängig vom BG-Match. */
  -webkit-mask-image: radial-gradient(ellipse 82% 86% at 50% 50%, #000 64%, rgba(0,0,0,0.55) 82%, transparent 95%);
          mask-image: radial-gradient(ellipse 82% 86% at 50% 50%, #000 64%, rgba(0,0,0,0.55) 82%, transparent 95%);
}

/* ============================================================
   REV #34 — Widow-Control (KORRIGIERT 2026-05-13)
   ROLLBACK: hyphens:auto entfernt — Browser hat unschön getrennt
   (z.B. "Produktidenti-tät"). Headlines NIE mit auto-hyphens.
   text-wrap: pretty nur für Paragraphen, NICHT für Headlines.
   ============================================================ */
h1, h2, h3, h4,
.section-title,
.story-caption-title,
.hero-eyebrow,
.module-name,
.modules-callout-title,
.faq-q,
.ai-teaser-title,
.featured-body h2,
.demo-signup-card h3 {
  hyphens: manual;            /* niemals auto-Silbentrennen in Headlines */
  -webkit-hyphens: manual;
}
/* Paragraphen dürfen vorsichtig pretty-wrappen, aber KEIN hyphens */
.section-lead, .hero-sub, .story-caption-sub,
.module-desc, .modules-callout-text, .featured-excerpt,
.demo-signup-card p, .price-tagline, .faq-a-inner {
  text-wrap: pretty;
  hyphens: manual;
  -webkit-hyphens: manual;
}


/* ============================================================
   REV #35 — DE-Flagge statt "DE"-Text (konsistent in allen Landingpage-Files)
   ============================================================ */
.de-flag {
  display: inline-block;
  width: 1.3em;
  height: 0.85em;
  vertical-align: middle;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(to bottom,
    #000 0%, #000 33.33%,
    #DD0000 33.33%, #DD0000 66.66%,
    #FFCE00 66.66%, #FFCE00 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
/* In der Hero-Metric: Flagge VOR der Label */
.hero-metric-num .de-flag {
  width: 0.9em;
  height: 0.6em;
  margin-right: 4px;
}