/* ============================================================================
   MyInvest24 — Lateral Design-DNA (Welle E)
   Kanonische Quelle für alle Seiten der neuen Design-Generation.
   Spec: Redesign-Masterprompt v2 (Live-DOM-Extraktion lateral.framer.media, 2026-06-11)
   Regeln: monochrom (keine Buntfarbe) · Sentient 300 Headlines (−5% Tracking) ·
   Geist-Mono-Eyebrows mit 6×6-Quadrat · eine Buttonform (Pill 45px) ·
   Glas-Overlays rgba(59,59,59,.4) · Radien nur 12–16 / 2 / 45px.
   Schicht-Regel bleibt: Tokens/Komponenten NUR hier, Seiten-<style> nur Spezifika.
   ========================================================================== */

/* ----------------------------------------------------------------------------
   1 · FONTS (self-hosted, woff2)
---------------------------------------------------------------------------- */
@font-face {
  font-family: 'Sentient';
  src: url('/assets/fonts/lateral/sentient-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sentient';
  src: url('/assets/fonts/lateral/sentient-300-italic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Sentient';
  src: url('/assets/fonts/lateral/sentient-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sentient';
  src: url('/assets/fonts/lateral/sentient-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'TASA Orbiter';
  src: url('/assets/fonts/lateral/tasa-orbiter-var.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/assets/fonts/lateral/geist-mono-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------------------
   2 · TOKENS (exakt nach Spec — Hierarchie über Opazität, nie über Farbton)
---------------------------------------------------------------------------- */
:root {
  /* Dark (Body ist dunkel, helle Sections liegen darauf) */
  --black-base: rgb(3, 3, 3);
  --black-soft: rgb(8, 8, 8);
  --black-warm: rgb(10, 9, 8);

  /* Light Sections */
  --light-base: rgb(249, 249, 249);
  --light-warm: rgb(229, 229, 227);

  /* Text */
  --ink: rgb(8, 8, 8);
  --ink-60: rgba(8, 8, 8, 0.6);
  --gray-text: rgb(99, 99, 99);
  --label-gray: rgb(112, 108, 106);
  /* Auf --black-base braucht 11px-Text ≥4.5:1 — label-gray schafft dort nur 3.97:1 */
  --label-gray-dark: rgb(152, 148, 146);
  --white: rgb(255, 255, 255);
  --white-60: rgba(255, 255, 255, 0.6);

  /* Glas */
  --glass-bg: rgba(59, 59, 59, 0.4);

  /* Hairlines */
  --hairline-light: rgb(229, 229, 227);
  --hairline-dark: rgba(255, 255, 255, 0.12);

  /* Fonts */
  --font-display: 'Sentient', Georgia, serif;
  --font-ui: 'TASA Orbiter', Inter, sans-serif;
  --font-mono: 'Geist Mono', 'SF Mono', monospace;

  /* Motion */
  --lx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lx-dur-fast: 0.4s;
  --lx-dur-base: 0.7s;
  --lx-dur-slow: 1s;

  /* Layout */
  --lx-nav-h: 64px;
  --lx-gutter: 24px;
}

/* ----------------------------------------------------------------------------
   3 · RESET + BASE
---------------------------------------------------------------------------- */
.lx *, .lx *::before, .lx *::after { box-sizing: border-box; margin: 0; padding: 0; }

html.lx-root { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.lx {
  margin: 0;
  padding: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--gray-text);
  background: var(--black-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.lx img { max-width: 100%; height: auto; display: block; }
/* :where() hält die Reset-Spezifität bei 0 — Komponenten-Klassen gewinnen immer */
.lx :where(a) { color: inherit; text-decoration: none; }
.lx :where(ul, ol) { list-style: none; }
.lx :where(button) { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.lx ::selection { background: var(--ink); color: var(--light-base); }

.lx :focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}
.lx .lx-dark :focus-visible { outline-color: var(--white); }

/* Skip-Link */
.lx-skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--black-base); color: var(--white);
  padding: 10px 20px; border-radius: 45px; font-size: 13px;
}
.lx-skip:focus { left: 16px; top: 12px; }

/* ----------------------------------------------------------------------------
   4 · TYPOGRAFIE (exakte Computed Values der Referenz)
---------------------------------------------------------------------------- */
.lx h1, .lx h2, .lx h3, .lx h4 { text-wrap: balance; }

.lx-h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 62px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.lx-h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.lx-h3 {
  font-family: var(--font-ui);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lx-body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray-text);
}
.lx-dark { color: var(--white-60); }
.lx-dark .lx-h1, .lx-dark .lx-h2, .lx-dark .lx-h3 { color: var(--white); }
.lx-dark .lx-body { color: var(--white-60); }

/* Two-Tone: zweiter Headline-Teil in 60 % Opazität (Referenz: gedimmt, nicht kursiv) */
.lx-tt {
  font-style: normal;
  color: var(--ink-60);
}
.lx-dark .lx-tt { color: var(--white-60); }
.lx-dark .lx-mono { color: var(--label-gray-dark); }
.lx-dark .lx-eyebrow { color: var(--label-gray-dark); }
.lx-dark .lx-eyebrow::before { background: var(--label-gray-dark); }
.lx-statement .lx-line, .lx-statement { font-style: italic; } /* Editorial-Zitat bleibt kursiv */

/* Mono-Label (Eyebrows, Marker, Metadaten, Ticker) */
.lx-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--label-gray);
  font-variant-numeric: tabular-nums;
}

/* ----------------------------------------------------------------------------
   5 · LAYOUT-KONSTANTEN
---------------------------------------------------------------------------- */
.lx-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--lx-gutter);
  padding-right: var(--lx-gutter);
}
@media (min-width: 768px)  { .lx-container { --lx-gutter: 48px; } }
@media (min-width: 1100px) { .lx-container { --lx-gutter: 64px; } }

.lx-section { padding: 140px 0; position: relative; }
.lx-section--dark { background: var(--black-base); padding: 160px 0; }
.lx-section--light { background: var(--light-base); }
.lx-section--warm { background: var(--light-warm); }
@media (max-width: 767px) {
  .lx-section { padding: 72px 0; }
  .lx-section--dark { padding: 88px 0; }
}

.lx section[id] { scroll-margin-top: calc(var(--lx-nav-h) + 24px); }

/* ----------------------------------------------------------------------------
   6 · SECTION-HEADER-BLOCK (Pflicht-Anatomie jeder Section)
   Rail (1px Hairline) → ■ Eyebrow → Headline → Subline → CTA
---------------------------------------------------------------------------- */
.lx-head {
  position: relative;
  padding-left: clamp(28px, 5vw, 76px);
  max-width: 820px;
}
.lx-head .lx-rail {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: -8px;
  width: 1px;
  background: var(--hairline-light);
  transform-origin: top;
}
.lx-dark .lx-head .lx-rail { background: var(--hairline-dark); }

.lx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--label-gray);
}
.lx-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--label-gray);
  border-radius: 0; /* Quadrat — Wiedererkennungszeichen, NIE Kreis */
  flex: none;
}
.lx-dark .lx-eyebrow, .lx-dark .lx-mono { color: rgba(255, 255, 255, 0.55); }
.lx-dark .lx-eyebrow::before { background: rgba(255, 255, 255, 0.55); }

.lx-head .lx-h1, .lx-head .lx-h2 { margin-top: clamp(28px, 3.4vw, 40px); max-width: 19ch; }
.lx-head .lx-sub { margin-top: 24px; max-width: 44ch; }
.lx-head .lx-cta-row { margin-top: 32px; }

.lx-cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* ----------------------------------------------------------------------------
   7 · BUTTONS — es gibt genau EINE Buttonform (Pill 45px)
---------------------------------------------------------------------------- */
.lx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--black-base);
  color: var(--white);
  border-radius: 45px;
  padding: 10px 20px 9px; /* asymmetrisch — optischer Ausgleich */
  height: 39px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease-out, background-color 0.2s ease-out;
  will-change: transform;
}
.lx-btn:hover { transform: scale(1.03); background: rgb(26, 26, 26); }
.lx-btn:active { transform: scale(0.99); }

.lx-btn--ondark { background: var(--white); color: var(--black-base); }
.lx-btn--ondark:hover { background: rgb(235, 235, 233); transform: scale(1.03); }

/* Sekundär-CTA: reiner Textlink mit Pfeil */
.lx-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-text);
  transition: color 0.2s ease-out;
}
.lx-textlink .lx-arrow { transition: transform 0.2s ease-out; }
.lx-textlink:hover { color: var(--ink); }
.lx-textlink:hover .lx-arrow { transform: translateX(4px); }
.lx-dark .lx-textlink { color: var(--white-60); }
.lx-dark .lx-textlink:hover { color: var(--white); }

.lx-arrow { width: 14px; height: 14px; flex: none; }
.lx-arrow path { stroke: currentColor; stroke-width: 1.6; fill: none; }

/* ----------------------------------------------------------------------------
   8 · GLAS-OVERLAYS (Signature-Element)
---------------------------------------------------------------------------- */
/* A) Glas-Leiste (Notification-Stil, Pill) */
.lx-glass-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  border-radius: 45px;
  padding: 12px 12px 12px 16px;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}
.lx-glass-bar__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--black-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.lx-glass-bar__icon svg { width: 14px; height: 14px; stroke: var(--white); fill: none; stroke-width: 1.8; }
.lx-glass-bar__btn {
  background: var(--black-base);
  color: var(--white);
  border-radius: 45px;
  padding: 7px 14px 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  flex: none;
}

/* B) Glas-Panel (Daten-Karte, fast eckig — 2px) */
.lx-glass-panel {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 24px;
  color: var(--white);
  display: inline-block;
}
.lx-glass-panel__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}
.lx-glass-panel__value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.lx-glass-panel__badge {
  display: inline-block;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 45px;
  padding: 5px 10px 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Positionierung auf Medien */
.lx-media { position: relative; overflow: hidden; border-radius: 16px; isolation: isolate; }
.lx-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Originalfarben — kein Grading auf Content-Bildern */
}
.lx-media .lx-glass-panel,
.lx-media .lx-glass-bar { position: absolute; z-index: 2; }
.lx-media .lx-glass-panel { left: 20px; bottom: 20px; max-width: calc(100% - 40px); }
.lx-media .lx-glass-bar { left: 16px; bottom: 16px; max-width: calc(100% - 32px); }

/* ----------------------------------------------------------------------------
   9 · NAV (64px · transparent auf Hero · Glass ab 80px Scroll)
---------------------------------------------------------------------------- */
.lx-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--lx-nav-h);
  z-index: 200;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: transform var(--lx-dur-fast) var(--lx-ease),
              background-color 0.3s ease-out,
              border-color 0.3s ease-out,
              -webkit-backdrop-filter 0.3s ease-out;
  transition: transform var(--lx-dur-fast) var(--lx-ease),
              background-color 0.3s ease-out,
              border-color 0.3s ease-out,
              backdrop-filter 0.3s ease-out;
}
.lx-nav.is-scrolled {
  background: rgba(249, 249, 249, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--hairline-light);
}
.lx-nav.is-hidden { transform: translateY(-100%); }

.lx-nav__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.lx-nav__logo {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lx-nav__logo img { height: 26px; width: auto; display: block; }
.lx-footer__brand .lx-nav__logo img { height: 32px; }
.lx-nav__logo sup {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  color: var(--label-gray);
  margin-left: 2px;
  letter-spacing: 0.05em;
}
.lx-nav__links { display: flex; align-items: center; gap: 28px; }
.lx-nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-text);
  transition: color 0.2s ease-out;
}
.lx-nav__links a:hover, .lx-nav__links a[aria-current="page"] { color: var(--ink); }
.lx-nav__right { display: flex; align-items: center; gap: 20px; }
.lx-nav__phone {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--label-gray);
  font-variant-numeric: tabular-nums;
  transition: color 0.2s ease-out;
}
.lx-nav__phone:hover { color: var(--ink); }

/* Burger + Mobile-Menü */
.lx-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
}
.lx-burger span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--lx-ease), opacity 0.2s;
}
.lx-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lx-burger.is-open span:nth-child(2) { opacity: 0; }
.lx-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.lx-mobilenav {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--light-base);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 32px 48px;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--lx-ease), visibility 0s linear 0.3s;
}
.lx-mobilenav.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lx-mobilenav a:not(.lx-btn) {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 34px;
  letter-spacing: -0.04em;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline-light);
}
.lx-mobilenav .lx-btn { margin-top: 28px; align-self: flex-start; }
.lx-mobilenav .lx-mobilenav__phone {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--label-gray);
  border: 0;
  margin-top: 20px;
  padding: 0;
}
body.lx.lx-nav-open { overflow: hidden; }

@media (max-width: 1023px) {
  .lx-nav__links { display: none; }
  .lx-nav__phone { display: none; }
  .lx-burger { display: flex; }
}
@media (max-width: 379px) {
  /* 320er-Geräte: CTA wandert ins Burger-Menü, Nav bleibt ruhig */
  .lx-nav .lx-btn { display: none; }
}

/* ----------------------------------------------------------------------------
   10 · HERO
---------------------------------------------------------------------------- */
.lx-hero {
  background: var(--light-base);
  padding-top: calc(var(--lx-nav-h) + 96px); /* Headline clippt NIE unter die Nav */
  padding-bottom: 96px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Vollbild-Foto-Hero (Referenz-Anatomie: Bild füllt den Viewport,
   Text liegt AUF dem stark abgedunkelten Foto, Logos im Hero-Boden) */
.lx-hero--photo {
  position: relative;
  background: var(--black-base);
  min-height: 100svh;
  padding-top: calc(var(--lx-nav-h) + 48px);
  padding-bottom: 0;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.lx-hero--photo .lx-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.lx-hero--photo .lx-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Originalfarbe; Lesbarkeit kommt vom Overlay */
}
.lx-hero--photo .lx-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Referenz-Grading: sehr dunkel, Foto nur als Stimmung */
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.74) 0%, rgba(3, 3, 3, 0.44) 44%, rgba(3, 3, 3, 0.18) 100%),
    linear-gradient(180deg, rgba(3, 3, 3, 0.46) 0%, rgba(3, 3, 3, 0.12) 38%, rgba(3, 3, 3, 0.62) 100%);
}
.lx-hero--photo .lx-hero__stage {
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
}
.lx-hero--photo .lx-head .lx-h1 { max-width: 21ch; }
.lx-hero--photo .lx-head .lx-rail { background: rgba(255, 255, 255, 0.22); }

/* Badge-Pill über der Headline (Referenz: News-Badge, Glas) */
.lx-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 45px;
  padding: 8px 16px 7px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--white);
  transition: transform 0.2s ease-out;
}
.lx-hero__badge:hover { transform: scale(1.03); }
.lx-hero__badge .lx-arrow { width: 12px; height: 12px; }

/* Glas-Panel frei im Foto (rechts unten, Produkt-Pendant) */
.lx-hero--photo .lx-hero__panel {
  position: absolute;
  right: clamp(24px, 6vw, 96px);
  bottom: clamp(120px, 18vh, 200px);
  z-index: 2;
}

/* Logo-Marquee im Hero-Boden: helle Logos auf dunkel */
.lx-hero__partners {
  position: relative;
  z-index: 2;
  padding: 28px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.lx-hero__partners .lx-marquee::before { background: linear-gradient(90deg, rgb(8, 8, 8), transparent); }
.lx-hero__partners .lx-marquee::after { background: linear-gradient(270deg, rgb(8, 8, 8), transparent); }
.lx-hero__partners .lx-marquee__track img {
  height: 26px;
  /* invert + screen: weiße Logo-Hintergründe werden schwarz und blenden sich
     auf der dunklen Fläche aus, die Logos selbst bleiben als helle Silhouette */
  filter: invert(1) grayscale(1) brightness(1.15);
  mix-blend-mode: screen;
  opacity: 0.6;
}
@media (max-width: 991px) {
  .lx-hero--photo { min-height: 92svh; }
  .lx-hero--photo .lx-hero__bg::after {
    background:
      linear-gradient(90deg, rgba(3, 3, 3, 0.72) 0%, rgba(3, 3, 3, 0.50) 60%, rgba(3, 3, 3, 0.30) 100%),
      linear-gradient(180deg, rgba(3, 3, 3, 0.48) 0%, rgba(3, 3, 3, 0.34) 45%, rgba(3, 3, 3, 0.62) 100%);
  }
  .lx-hero--photo .lx-hero__panel { position: static; margin: 28px 24px 32px; display: inline-block; }
  .lx-hero--photo .lx-hero__stage { align-items: flex-end; padding-bottom: 8px; }
}

/* Nav auf Foto-Hero: hell, kippt beim Scrollen auf Standard */
.lx-nav--ondark:not(.is-scrolled) .lx-nav__links a { color: rgba(255, 255, 255, 0.75); }
.lx-nav--ondark:not(.is-scrolled) .lx-nav__links a:hover,
.lx-nav--ondark:not(.is-scrolled) .lx-nav__links a[aria-current="page"] { color: var(--white); }
.lx-nav--ondark:not(.is-scrolled) .lx-nav__logo img { filter: brightness(0) invert(1); }
.lx-nav--ondark:not(.is-scrolled) .lx-btn { background: var(--white); color: var(--black-base); }
.lx-nav--ondark:not(.is-scrolled) .lx-btn:hover { background: rgb(235, 235, 233); }
.lx-nav--ondark:not(.is-scrolled) .lx-burger span { background: var(--white); }
.lx-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.lx-hero__media { border-radius: 16px; aspect-ratio: 4 / 4.6; }
.lx-hero__ticker {
  margin-top: clamp(48px, 7vh, 88px);
  padding-top: 20px;
  border-top: 1px solid var(--hairline-light);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.lx-hero--photo .lx-hero__ticker {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 24px 0 26px;
  border-top-color: rgba(255, 255, 255, 0.10);
}
.lx-hero--photo .lx-hero__ticker span { color: rgba(255, 255, 255, 0.55); }
@media (max-width: 991px) {
  .lx-hero { min-height: 0; }
  .lx-hero__grid { grid-template-columns: 1fr; }
  .lx-hero__media { aspect-ratio: 4 / 3.4; order: 2; }
}

/* ----------------------------------------------------------------------------
   11 · LOGO-MARQUEE (Bankpartner, monochrom)
---------------------------------------------------------------------------- */
.lx-marquee { overflow: hidden; position: relative; }
.lx-marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(56px, 7vw, 96px);
  width: max-content;
  animation: lx-marquee 45s linear infinite;
}
.lx-marquee:hover .lx-marquee__track { animation-play-state: paused; }
.lx-marquee__track img {
  height: 30px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.55;
  flex: none;
}
@keyframes lx-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.lx-marquee::before, .lx-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.lx-marquee::before { left: 0; background: linear-gradient(90deg, var(--light-base), transparent); }
.lx-marquee::after { right: 0; background: linear-gradient(270deg, var(--light-base), transparent); }

/* ----------------------------------------------------------------------------
   12 · STATS-BAND (dunkel, 4 Spalten, Hairline-Divider, Count-up)
---------------------------------------------------------------------------- */
.lx-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
}
.lx-stat {
  padding: clamp(28px, 4vw, 52px) clamp(16px, 2.6vw, 40px);
  border-left: 1px solid var(--hairline-dark);
}
.lx-stat:first-child { border-left: 0; }
.lx-stat__value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.lx-stat__label {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white-60);
}
@media (max-width: 860px) {
  .lx-stats { grid-template-columns: repeat(2, 1fr); }
  .lx-stat:nth-child(3) { border-left: 0; }
  .lx-stat:nth-child(n+3) { border-top: 1px solid var(--hairline-dark); }
}
@media (max-width: 479px) {
  .lx-stats { grid-template-columns: 1fr; }
  .lx-stat { border-left: 0; }
  .lx-stat:nth-child(n+2) { border-top: 1px solid var(--hairline-dark); }
  .lx-stat__value { white-space: normal; }
}

/* ----------------------------------------------------------------------------
   13 · BILDKARTEN (Leistungen — Foto 4:5 + Glas + H3 + Body)
---------------------------------------------------------------------------- */
.lx-cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 991px) { .lx-cards3 { grid-template-columns: 1fr; } }

.lx-card { display: block; }
.lx-card .lx-media {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
}
.lx-card .lx-media > img { transition: transform 0.6s var(--lx-ease); }
.lx-card .lx-glass-panel, .lx-card .lx-glass-bar { transition: transform 0.6s var(--lx-ease); }
.lx-card { transition: transform 0.4s var(--lx-ease); }
.lx-card:hover { transform: translateY(-4px); }
.lx-card:hover .lx-media > img { transform: scale(1.04); }
.lx-card:hover .lx-glass-panel,
.lx-card:hover .lx-glass-bar { transform: translateY(2px); } /* schwebt gegenläufig */
.lx-card__body { padding: 22px 4px 0; }
.lx-card__body .lx-h3 { display: flex; align-items: center; gap: 10px; }
.lx-card__body .lx-h3 .lx-arrow { opacity: 0; transform: translateX(-4px); transition: opacity 0.2s, transform 0.2s var(--lx-ease); }
.lx-card:hover .lx-h3 .lx-arrow { opacity: 1; transform: translateX(0); }
.lx-card__body p { margin-top: 10px; max-width: 40ch; }

/* ----------------------------------------------------------------------------
   14 · WORKFLOW-TABS (dunkel · Auto-Advance-Progress 6s · Visual-Crossfade)
---------------------------------------------------------------------------- */
.lx-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.lx-tab {
  position: relative;
  text-align: left;
  padding: 22px 0 4px;
  color: var(--white);
  opacity: 0.5;
  transition: opacity 0.4s var(--lx-ease);
}
.lx-tab::before { /* Ruhe-Hairline */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--hairline-dark);
}
.lx-tab__progress { /* Ladebalken, füllt sich über 6s */
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
}
.lx-tab.is-active { opacity: 1; }
.lx-tab.is-active .lx-tab__progress { animation: lx-tabfill 6s linear forwards; }
@keyframes lx-tabfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lx-tab__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--white-60);
  font-variant-numeric: tabular-nums;
}
.lx-tab__title {
  margin-top: 10px;
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.lx-tab__desc {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--lx-ease);
}
.lx-tab__desc > * { display: block; overflow: hidden; min-height: 0; }
.lx-tab__desc p {
  padding-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--white-60);
  max-width: 30ch;
}
.lx-tab.is-active .lx-tab__desc { grid-template-rows: 1fr; }

.lx-tabs__stage {
  margin-top: clamp(36px, 5vw, 64px);
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 7.6;
  isolation: isolate;
}
.lx-tabs__stage .lx-stage-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s var(--lx-ease);
}
.lx-tabs__stage .lx-stage-item.is-active { opacity: 1; }
.lx-tabs__stage .lx-stage-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Originalfarben */
}
.lx-tabs__stage .lx-stage-item::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(3, 3, 3, 0.30));
  pointer-events: none;
}
.lx-tabs__stage .lx-stage-item .lx-glass-panel,
.lx-tabs__stage .lx-stage-item .lx-glass-bar { z-index: 2; }
.lx-tabs__stage .lx-stage-item .lx-glass-panel { position: absolute; left: 24px; bottom: 24px; }
.lx-tabs__stage .lx-stage-item .lx-glass-bar { position: absolute; left: 20px; bottom: 20px; }
@media (max-width: 860px) {
  .lx-tabs { grid-template-columns: 1fr 1fr; }
  .lx-tabs__stage { aspect-ratio: 4 / 3.2; }
}

/* ----------------------------------------------------------------------------
   15 · VERGLEICH (zweispaltig · mittlere Hairline · linke Spalte gedimmt)
---------------------------------------------------------------------------- */
.lx-compare {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--hairline-light);
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
}
.lx-compare__divider {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--hairline-light);
  transform-origin: top;
}
.lx-compare__col { padding: clamp(28px, 4vw, 52px); }
.lx-compare__col--dim { opacity: 0.5; }
.lx-compare__col header { margin-bottom: 28px; }
.lx-compare__col header .lx-mono { display: block; }
.lx-compare__col header strong {
  display: block;
  margin-top: 10px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.lx-compare__row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline-light);
  font-size: 15px;
  color: var(--gray-text);
}
.lx-compare__row .lx-ix { flex: none; margin-top: 4px; }
.lx-ix { width: 13px; height: 13px; }
.lx-ix line, .lx-ix path { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.lx-compare__col--dim .lx-ix line, .lx-compare__col--dim .lx-ix path { stroke: var(--gray-text); }
@media (max-width: 767px) {
  .lx-compare { grid-template-columns: 1fr; }
  .lx-compare__divider { display: none; }
}

/* ----------------------------------------------------------------------------
   16 · EDITORIAL-STATEMENT + 01–04 LISTE (UWG-sicherer Testimonial-Ersatz)
---------------------------------------------------------------------------- */
.lx-statement {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 26ch;
}
.lx-numlist { border-top: 1px solid var(--hairline-light); }
.lx-numlist__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline-light);
}
.lx-numlist__item .lx-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--label-gray);
  padding-top: 5px;
  font-variant-numeric: tabular-nums;
}
.lx-numlist__item h3 { font-size: 19px; }
.lx-numlist__item p { margin-top: 8px; max-width: 52ch; }

/* Numlist auf dunklen Flächen */
.lx-dark .lx-numlist { border-top-color: var(--hairline-dark); }
.lx-dark .lx-numlist__item { border-bottom-color: var(--hairline-dark); }
.lx-dark .lx-numlist__item .lx-num { color: var(--white-60); }
.lx-dark .lx-numlist__item h3 { color: var(--white); }
.lx-dark .lx-numlist__item p { color: var(--white-60); }

/* Tile-Karten (Zielgruppen, Kategorien) — Hairline statt Schatten */
.lx-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.lx-tile {
  display: block;
  border: 1px solid var(--hairline-light);
  border-radius: 14px;
  background: var(--white);
  padding: 26px 24px;
  transition: transform 0.4s var(--lx-ease), border-color 0.2s ease-out;
}
a.lx-tile:hover { transform: translateY(-4px); border-color: var(--gray-text); }
.lx-tile .lx-mono { display: block; }
.lx-tile h3 { margin-top: 14px; font-size: 18px; }
.lx-tile h3 .lx-arrow { opacity: 0; transform: translateX(-4px); transition: opacity 0.2s, transform 0.2s var(--lx-ease); vertical-align: middle; margin-left: 6px; }
a.lx-tile:hover h3 .lx-arrow { opacity: 1; transform: translateX(0); }
.lx-tile p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; }
.lx-dark .lx-tile { background: transparent; border-color: var(--hairline-dark); }
.lx-dark a.lx-tile:hover { border-color: rgba(255, 255, 255, 0.4); }
.lx-dark .lx-tile h3 { color: var(--white); }
.lx-dark .lx-tile p { color: var(--white-60); }

/* Team-Grid (Über uns): Foto 4:5 + Name + Mono-Rolle */
.lx-team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 20px;
}
@media (max-width: 991px) { .lx-team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .lx-team { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.lx-person .lx-media { aspect-ratio: 4 / 5; border-radius: 12px; }
.lx-person .lx-media > img { object-position: center top; } /* Kopf/Frisur nie anschneiden */
.lx-person figcaption { padding: 12px 2px 0; }
.lx-person__name {
  display: block;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.lx-person__role {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--label-gray);
}

/* ----------------------------------------------------------------------------
   17 · FAQ (Hairlines · Plus rotiert 45° · height-Animation)
---------------------------------------------------------------------------- */
.lx-faq { border-top: 1px solid var(--hairline-light); }
.lx-faq__item { border-bottom: 1px solid var(--hairline-light); }
.lx-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.lx-faq__plus { position: relative; width: 14px; height: 14px; flex: none; transition: transform 0.3s var(--lx-ease); }
.lx-faq__plus::before, .lx-faq__plus::after {
  content: '';
  position: absolute;
  background: var(--ink);
}
.lx-faq__plus::before { left: 0; right: 0; top: 50%; height: 1px; }
.lx-faq__plus::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.lx-faq__item.is-open .lx-faq__plus { transform: rotate(45deg); }
.lx-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--lx-ease);
}
.lx-faq__a > div { overflow: hidden; }
.lx-faq__a p { padding: 0 48px 24px 0; max-width: 62ch; }
.lx-faq__item.is-open .lx-faq__a { grid-template-rows: 1fr; }

/* ----------------------------------------------------------------------------
   18 · FINAL CTA (dunkel, 80vh)
---------------------------------------------------------------------------- */
.lx-finalcta {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--black-base);
}
.lx-finalcta .lx-h2 { font-size: clamp(38px, 5.4vw, 60px); max-width: 17ch; }

/* ----------------------------------------------------------------------------
   19 · FOOTER (dunkel · Mono-Spaltentitel · Legal-Mono-Zeile)
---------------------------------------------------------------------------- */
.lx-footer {
  background: var(--black-base);
  border-top: 1px solid var(--hairline-dark);
  padding: 88px 0 40px;
  color: var(--white-60);
}
.lx-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}
.lx-footer__brand .lx-nav__logo { color: var(--white); font-size: 18px; }
.lx-footer__brand p { margin-top: 16px; font-size: 14px; line-height: 1.6; max-width: 34ch; color: var(--white-60); }
.lx-footer__contact { margin-top: 24px; display: flex; flex-direction: column; }
.lx-footer__contact a {
  display: inline-block;
  padding-block: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--white-60);
  font-variant-numeric: tabular-nums;
  transition: color 0.2s;
}
.lx-footer__contact a:hover { color: var(--white); }
.lx-footer__col h3,
.lx-footer__col .lx-footer__coltitle {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--label-gray-dark);
  margin-bottom: 18px;
}
.lx-footer__col ul { display: flex; flex-direction: column; gap: 2px; }
.lx-footer__col a, .lx-footer__cookiebtn { font-size: 15px; color: var(--white-60); transition: color 0.2s; padding: 4px 0; display: inline-block; text-align: left; }
.lx-footer__col a:hover, .lx-footer__cookiebtn:hover { color: var(--white); }
.lx-footer__col a:hover { color: var(--white); }
.lx-footer__social { display: flex; gap: 14px; margin-top: 24px; }
.lx-footer__social a {
  width: 36px; height: 36px;
  border: 1px solid var(--hairline-dark);
  border-radius: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, transform 0.2s ease-out;
}
.lx-footer__social a:hover { border-color: rgba(255, 255, 255, 0.4); transform: scale(1.03); }
.lx-footer__social svg { width: 15px; height: 15px; fill: var(--white-60); }
.lx-footer__legal {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--label-gray-dark);
}
.lx-footer__legal nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.lx-footer__legal a { color: var(--label-gray-dark); transition: color 0.2s; display: inline-block; padding-block: 6px; margin-block: -6px; }
.lx-footer__legal a:hover { color: var(--white); }
@media (max-width: 860px) {
  .lx-footer__grid { grid-template-columns: 1fr 1fr; }
  .lx-footer__brand { grid-column: 1 / -1; }
}

/* ----------------------------------------------------------------------------
   20 · STEUERRECHNER-RESKIN (App-Fenster · DOM/IDs des Funnels bleiben 1:1)
   Scope: .lx-calcwin überschreibt die portierten mi24-*-Klassen rein visuell.
---------------------------------------------------------------------------- */
.lx-calcwin {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--hairline-light);
  border-radius: 16px;
  box-shadow: 0 24px 64px -32px rgba(8, 8, 8, 0.18);
  overflow: hidden;
}
.lx-calcwin__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--hairline-light);
  background: var(--light-base);
}
.lx-calcwin__dots { display: flex; gap: 6px; }
.lx-calcwin__dots span {
  width: 8px; height: 8px;
  border-radius: 45px;
  background: var(--light-warm);
}
.lx-calcwin__body { padding: clamp(24px, 4vw, 44px); }

.lx-calcwin .mi24-step { display: none; }
.lx-calcwin .mi24-step.active { display: block; }

.lx-calcwin .mi24-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.lx-calcwin .mi24-progress-bar {
  flex: 1;
  height: 1px;
  background: var(--hairline-light);
  position: relative;
}
.lx-calcwin .mi24-progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 25%;
  background: var(--ink);
  transition: width 0.5s var(--lx-ease);
}
.lx-calcwin .mi24-progress-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--label-gray);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.lx-calcwin .mi24-step-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 2.8vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 28px;
  text-wrap: balance;
}

/* Slider */
.lx-calcwin .mi24-range-wrapper { text-align: center; }
.lx-calcwin .mi24-range-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4.4vw, 48px);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}
.lx-calcwin .mi24-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1px;
  background: var(--light-warm);
  outline: none;
}
.lx-calcwin .mi24-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 45px;
  background: var(--black-base);
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease-out;
}
.lx-calcwin .mi24-slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
.lx-calcwin .mi24-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 45px;
  background: var(--black-base);
  border: 0;
  cursor: pointer;
}
.lx-calcwin .mi24-slider::-moz-range-track { height: 1px; background: var(--light-warm); }
.lx-calcwin .mi24-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--label-gray);
  font-variant-numeric: tabular-nums;
}

/* Options */
.lx-calcwin .mi24-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 560px) { .lx-calcwin .mi24-options { grid-template-columns: 1fr; } }
.lx-calcwin .mi24-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--hairline-light);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s ease-out;
}
.lx-calcwin .mi24-option:hover { border-color: var(--gray-text); transform: translateY(-1px); }
.lx-calcwin .mi24-option.selected { border-color: var(--ink); background: var(--light-base); }
.lx-calcwin .mi24-option-icon { color: var(--ink); display: inline-flex; flex: none; }
.lx-calcwin .mi24-option-icon svg { width: 20px; height: 20px; }
.lx-calcwin .mi24-option-label { font-size: 15px; font-weight: 500; color: var(--ink); }

/* Select + Inputs */
.lx-calcwin .mi24-input-group { margin-bottom: 16px; text-align: left; }
.lx-calcwin .mi24-input-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--label-gray);
  margin-bottom: 8px;
}
.lx-calcwin .mi24-input, .lx-calcwin .mi24-select {
  width: 100%;
  border: 1px solid var(--hairline-light);
  border-radius: 12px;
  background: var(--white);
  padding: 13px 16px;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.lx-calcwin .mi24-input:focus, .lx-calcwin .mi24-select:focus { border-color: var(--ink); outline: none; }
.lx-calcwin .mi24-input::placeholder { color: var(--label-gray); }
.lx-calcwin .mi24-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgb(99,99,99)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.lx-calcwin .mi24-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .lx-calcwin .mi24-row { grid-template-columns: 1fr; } }
.lx-calcwin .mi24-input-hint { font-size: 13px; color: var(--label-gray); }

/* Rechner-Buttons → dieselbe eine Pill */
.lx-calcwin .mi24-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--black-base);
  color: var(--white);
  border-radius: 45px;
  padding: 12px 20px 11px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  margin-top: 24px;
  transition: transform 0.2s ease-out, background-color 0.2s ease-out;
}
.lx-calcwin .mi24-btn:hover { transform: scale(1.015); background: rgb(26, 26, 26); }
.lx-calcwin .mi24-btn svg { width: 15px; height: 15px; }
.lx-calcwin .mi24-btn-secondary {
  display: inline-flex;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-text);
  transition: color 0.2s;
}
.lx-calcwin .mi24-btn-secondary:hover { color: var(--ink); }

/* Loading */
.lx-calcwin .mi24-loading-steps { display: flex; flex-direction: column; gap: 16px; padding: 12px 0 4px; }
.lx-calcwin .mi24-loading-step { display: flex; align-items: center; gap: 14px; opacity: 0.35; transition: opacity 0.3s; }
.lx-calcwin .mi24-loading-step.active, .lx-calcwin .mi24-loading-step.done { opacity: 1; }
.lx-calcwin .mi24-loading-icon {
  width: 26px; height: 26px;
  border: 1px solid var(--hairline-light);
  border-radius: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--ink);
}
.lx-calcwin .mi24-loading-step.done .mi24-loading-icon { background: var(--black-base); border-color: var(--black-base); color: var(--white); }
.lx-calcwin .mi24-loading-icon svg { width: 12px; height: 12px; }
.lx-calcwin .mi24-loading-spinner {
  width: 11px; height: 11px;
  border: 1px solid var(--light-warm);
  border-top-color: var(--ink);
  border-radius: 45px;
  animation: lx-spin 0.8s linear infinite;
}
@keyframes lx-spin { to { transform: rotate(360deg); } }
.lx-calcwin .mi24-loading-text { font-size: 15px; font-weight: 500; color: var(--ink); }

/* Ergebnis */
.lx-calcwin .mi24-result-standard {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-light);
  opacity: 0.55;
}
.lx-calcwin .mi24-result-standard-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-text);
}
.lx-calcwin .mi24-result-standard-amount { font-size: 16px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

.lx-calcwin .mi24-result-premium { display: block; text-align: center; padding: 36px 0 28px; }
.lx-calcwin .mi24-premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--hairline-light);
  border-radius: 45px;
  padding: 6px 12px 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-text);
}
.lx-calcwin .mi24-premium-badge svg { width: 11px; height: 11px; fill: var(--ink); }
.lx-calcwin .mi24-result-premium-label {
  display: block;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--label-gray);
}
.lx-calcwin .mi24-result-premium-amount {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.lx-calcwin .mi24-result-premium-suffix {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--gray-text);
}
.lx-calcwin .mi24-result-extra {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.lx-calcwin .mi24-result-extra svg { width: 13px; height: 13px; }
.lx-calcwin .mi24-result-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--hairline-light);
  margin-top: 28px;
}
.lx-calcwin .mi24-result-stat { padding: 18px 12px 4px; border-left: 1px solid var(--hairline-light); text-align: center; }
.lx-calcwin .mi24-result-stat:first-child { border-left: 0; }
.lx-calcwin .mi24-result-stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.lx-calcwin .mi24-result-stat-label {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--label-gray);
}

.lx-calcwin .mi24-comparison {
  display: block;
  text-align: center;
  border: 1px solid var(--hairline-light);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
}
.lx-calcwin .mi24-comparison-icon { display: inline-flex; }
.lx-calcwin .mi24-comparison-icon svg { width: 24px; height: 24px; }
.lx-calcwin .mi24-comparison-text { display: block; margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--ink); }
.lx-calcwin .mi24-comparison-sub { display: block; margin-top: 4px; font-size: 13px; color: var(--gray-text); }

.lx-calcwin .mi24-contact-intro { text-align: center; margin-bottom: 20px; }
.lx-calcwin .mi24-contact-intro h3 {
  font-family: var(--font-ui) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
}
.lx-calcwin .mi24-contact-intro p { font-size: 14px !important; color: var(--gray-text) !important; }
.lx-calcwin .mi24-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--label-gray);
}
.lx-calcwin .mi24-trust-badges { display: flex; justify-content: center; gap: 20px; margin-top: 18px; }
.lx-calcwin .mi24-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-text);
}
.lx-calcwin .mi24-social-proof { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; }
.lx-calcwin .mi24-avatars { display: none; } /* keine Stock-Gesichter im neuen System */
.lx-calcwin .mi24-social-text { font-size: 13px; color: var(--gray-text); }
.lx-calcwin .mi24-hubspot-intro { text-align: center; margin-bottom: 18px; }
.lx-calcwin .mi24-hubspot-intro h3 {
  font-family: var(--font-display) !important;
  font-weight: 300 !important;
  font-size: 26px !important;
  letter-spacing: -0.03em;
  color: var(--ink) !important;
}
.lx-calcwin .mi24-hubspot-intro p, .lx-calcwin .mi24-embed-fallback { font-size: 13px !important; color: var(--gray-text) !important; }
.lx-calcwin .mi24-embed-fallback a { color: var(--ink) !important; font-weight: 500 !important; text-decoration: underline; }
.lx-calcwin #mi24HubspotContainer { min-height: 480px; }
.lx-calcwin [id$="Error"] { color: var(--gray-text) !important; font-size: 12px; }
.lx-calcwin .mi24-input[style*="border-color"] { border-color: var(--ink) !important; }

/* ----------------------------------------------------------------------------
   20b · STEUERRECHNER-SEITE — Desktop-Ausbau (mobil bleibt unverändert)
---------------------------------------------------------------------------- */
.lx-page-steuerrechner .lx-calcwin { max-width: 1072px; }
@media (min-width: 1024px) {
  .lx-page-steuerrechner .lx-calcwin__body { padding: 56px 64px 64px; }
  .lx-page-steuerrechner .mi24-step-title {
    font-size: clamp(30px, 3vw, 38px);
    margin-bottom: 36px;
  }
  .lx-page-steuerrechner .mi24-range-value { font-size: clamp(48px, 5vw, 64px); }
  .lx-page-steuerrechner .mi24-options {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .lx-page-steuerrechner .mi24-option { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 18px; }
  .lx-page-steuerrechner .mi24-btn { width: auto; min-width: 320px; margin-left: auto; margin-right: auto; display: flex; }
  .lx-page-steuerrechner .mi24-range-wrapper { max-width: 760px; margin: 0 auto; }
  .lx-page-steuerrechner .mi24-loading-steps { max-width: 460px; margin: 0 auto; }

  /* Ergebnis-Step: Ergebnis links, Eintragung rechts an Hairline */
  .lx-page-steuerrechner .mi24-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 64px;
    align-items: start;
  }
  .lx-page-steuerrechner .mi24-col--form {
    border-left: 1px solid var(--hairline-light);
    padding-left: 64px;
  }
  .lx-page-steuerrechner .mi24-col--form .mi24-btn { width: 100%; min-width: 0; }
  .lx-page-steuerrechner #mi24HubspotContainer { min-height: 640px; }
}

/* ----------------------------------------------------------------------------
   21 · TICKER / META-ZEILEN
---------------------------------------------------------------------------- */
.lx-ticker { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.lx-ticker span { white-space: nowrap; }

/* ----------------------------------------------------------------------------
   22 · MOTION — Initial-States (nur aktiv mit html.lx-motion, JS-gesetzt)
   Alles transform/opacity → CLS 0.
---------------------------------------------------------------------------- */
.lx-motion [data-lxr] {
  /* 0.011 statt 0: opacity-0-Paints werden von Chrome nie als LCP-Kandidat
     gewertet — die Hero-Subline soll den spaeten Cookie-Banner schlagen */
  opacity: 0.011;
  transform: translateY(16px);
  transition: opacity var(--lx-dur-base) var(--lx-ease), transform var(--lx-dur-base) var(--lx-ease);
  transition-delay: var(--lxr-delay, 0s);
}
.lx-motion [data-lxr].lx-in { opacity: 1; transform: translateY(0); }

.lx-motion [data-lxr="glass"] {
  filter: blur(8px);
  transition: opacity var(--lx-dur-base) var(--lx-ease), transform var(--lx-dur-base) var(--lx-ease), filter var(--lx-dur-base) var(--lx-ease);
}
.lx-motion [data-lxr="glass"].lx-in { filter: blur(0); }

.lx-motion .lx-rail {
  transform: scaleY(0);
  transition: transform var(--lx-dur-slow) var(--lx-ease);
}
.lx-motion .lx-rail.lx-in { transform: scaleY(1); }

.lx-motion .lx-compare__divider {
  transform: scaleY(0);
  transition: transform var(--lx-dur-slow) var(--lx-ease);
}
.lx-motion .lx-compare__divider.lx-in { transform: scaleY(1); }

/* Headline-Reveal: Zeilen in overflow-hidden-Wrappern */
.lx-lines .lx-line-wrap { display: block; overflow: hidden; }
.lx-lines .lx-line { display: block; }
.lx-motion .lx-lines .lx-line {
  transform: translateY(110%);
  transition: transform var(--lx-dur-base) var(--lx-ease);
}
.lx-motion .lx-lines.lx-in .lx-line { transform: translateY(0); }

/* Parallax-Bilder (JS-scrub) */
.lx-parallax > img { will-change: transform; transform: scale(1.06); }

/* ----------------------------------------------------------------------------
   23 · REDUCED MOTION — alles auf reines Fade, Endwerte sofort
---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .lx *, .lx *::before, .lx *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.3s !important;
    transition-property: opacity !important;
    scroll-behavior: auto !important;
  }
  .lx-marquee__track { animation: none !important; transform: none !important; }
  .lx-motion [data-lxr], .lx-motion .lx-lines .lx-line { transform: none; filter: none; }
  .lx-motion .lx-rail, .lx-motion .lx-compare__divider { transform: scaleY(1); }
  .lx-parallax > img { transform: none !important; }
}

/* ----------------------------------------------------------------------------
   23b · COOKIE-BANNER — Lateral-Reskin des JS-injizierten Banners
   (cookie-consent.js bringt eigenes <style>; diese Overrides gewinnen,
   weil sie später geladen werden. fb/** lädt diese Datei nicht.)
---------------------------------------------------------------------------- */
#cookie-consent-banner {
  border: 1px solid var(--hairline-light) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 64px -32px rgba(8, 8, 8, 0.28) !important;
}
#cookie-consent-banner .cookie-banner__icon { color: var(--ink) !important; }
#cookie-consent-banner .cookie-banner__title {
  font-family: var(--font-display) !important;
  font-weight: 300 !important;
  letter-spacing: -0.03em;
  color: var(--ink) !important;
}
#cookie-consent-banner .cookie-banner__text {
  color: var(--gray-text) !important;
  font-family: var(--font-ui) !important;
  /* kompakt halten: Banner-Absatz darf nie groesster Paint-Block (LCP) werden */
  font-size: 12.5px !important;
  line-height: 1.5 !important;
}
#cookie-consent-banner .cookie-banner__link { color: var(--ink) !important; text-decoration: underline; }
#cookie-consent-banner .cookie-banner__option {
  background: var(--light-base) !important;
  border: 1px solid var(--hairline-light) !important;
  border-radius: 12px !important;
}
#cookie-consent-banner .cookie-banner__checkbox { border-color: var(--gray-text) !important; border-radius: 6px !important; }
#cookie-consent-banner input:checked + .cookie-banner__checkbox,
#cookie-consent-banner .cookie-banner__checkbox--checked {
  background: var(--black-base) !important;
  border-color: var(--black-base) !important;
}
#cookie-consent-banner button { border-radius: 45px !important; font-family: var(--font-ui) !important; box-shadow: none !important; }
#cookie-consent-banner #cookie-accept-all {
  background: var(--black-base) !important;
  background-image: none !important;
  color: var(--white) !important;
  border: 0 !important;
}
#cookie-consent-banner #cookie-accept-all:hover { background: rgb(26, 26, 26) !important; }
#cookie-consent-banner #cookie-accept-selected,
#cookie-consent-banner #cookie-reject {
  background: transparent !important;
  border: 1px solid var(--hairline-light) !important;
  color: var(--ink) !important;
}
#cookie-consent-banner *:focus-visible { outline: 1px solid var(--ink) !important; outline-offset: 2px; }

/* ----------------------------------------------------------------------------
   24 · UTILITIES
---------------------------------------------------------------------------- */
.lx-mt-0 { margin-top: 0 !important; }
.lx-center { text-align: center; }
.lx-head--center { margin-left: auto; margin-right: auto; padding-left: 0; }
.lx-head--center .lx-rail { display: none; }
.lx-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 860px) { .lx-grid-2 { grid-template-columns: 1fr; } }
.lx-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
