/* =====================================================================
   LLC-Landingpage – Designsystem
   Konzept: „Private Bank, nicht Formularversender"
   Creme-Grundfläche, Tintenblau, ein Messing-Akzent, feine Hairlines,
   Fraunces (Display-Serif) + Schibsted Grotesk (Text).
   ===================================================================== */

/* ---------- Schriften (lokal, DSGVO-sauber) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-v38-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-v38-latin-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-v38-latin-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-v38-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('../fonts/schibsted-grotesk-v7-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('../fonts/schibsted-grotesk-v7-latin-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('../fonts/schibsted-grotesk-v7-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Farben */
  --bg:        #F6F3EC;   /* Creme-Grundfläche */
  --bg-soft:   #EEE9DE;   /* leicht abgesetzte Sektionen */
  --ink:       #10202E;   /* Tintenblau, Typo & dunkle Sektionen */
  --ink-2:     #1A2E40;   /* aufgehelltes Tintenblau für Karten auf dunkel */
  --ink-60:    rgba(16, 32, 46, .64);
  --ink-40:    rgba(16, 32, 46, .40);
  --brass:     #9A742E;   /* Messing-Akzent (auf Creme, AA-tauglich für große Typo) */
  --brass-deep:#7C5C21;   /* dunkleres Messing für kleinen Text auf Creme */
  --brass-soft:rgba(154, 116, 46, .16);
  --cream-on-ink: #F2EEE4;
  --cream-on-ink-60: rgba(242, 238, 228, .66);
  --line:      rgba(16, 32, 46, .16);
  --line-on-ink: rgba(242, 238, 228, .18);

  /* Typografie */
  --font-display: 'Fraunces', Georgia, serif;
  --font-text: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --max-w: 1180px;
  --pad-x: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 12vw, 148px);
  --radius: 2px;             /* bewusst kantig, kein Bubble-Look */
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-text);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, canvas { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.25; }

a { color: inherit; }

::selection { background: var(--brass); color: #fff; }

/* Sichtbare Fokus-Ringe für Tastaturnutzer */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ---------- 3D-Tilt auf Karten ----------
   Die Kachel neigt sich dem Cursor gedämpft entgegen (Rotation setzt
   main.js per GSAP, nur wenn Animationen erlaubt sind). Hier liegen
   nur Schatten und Stapel-Reihenfolge. */
/* Kein will-change: die dauerhafte GPU-Ebene würde das Subpixel-Antialiasing
   der Schrift deaktivieren und den Text auch im Ruhezustand weich wirken lassen */
.tilt-card {
  position: relative;
  transition: box-shadow .45s ease;
}
.tilt-card:hover {
  z-index: 2;
  box-shadow: 0 22px 44px -26px rgba(16, 32, 46, .38);
}
.section--ink .tilt-card:hover { box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .5); }

/* ---------- Wiederkehrende Bausteine ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 18px;
}
.section--ink .eyebrow { color: var(--brass); filter: brightness(1.35); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 30px;
  background: var(--ink);
  color: var(--cream-on-ink);
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:hover { background: var(--brass-deep); border-color: var(--brass-deep); color: #fff; transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream-on-ink); }

.btn--light {
  background: var(--cream-on-ink);
  border-color: var(--cream-on-ink);
  color: var(--ink);
}
.btn--light:hover { background: var(--brass); border-color: var(--brass); color: #fff; }

.btn--ghost-light {
  background: transparent;
  border-color: var(--line-on-ink);
  color: var(--cream-on-ink);
}
.btn--ghost-light:hover { background: var(--cream-on-ink); color: var(--ink); border-color: var(--cream-on-ink); }

.btn--small { min-height: 44px; padding: 10px 22px; font-size: 15px; }

/* Große CTAs: Pfeil schiebt sich beim Hover in den Button */
.btn:not(.btn--small)::after {
  content: '\2192';
  display: inline-block;
  width: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: width .35s cubic-bezier(.7, 0, .2, 1), opacity .3s ease, transform .35s cubic-bezier(.7, 0, .2, 1), margin-left .35s cubic-bezier(.7, 0, .2, 1);
}
.btn:not(.btn--small):hover::after {
  width: .7em;
  margin-left: 12px;
  opacity: 1;
  transform: none;
}

.checklist { list-style: none; }
.checklist li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 19px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--brass-deep);
  border-bottom: 2px solid var(--brass-deep);
  transform: rotate(-45deg);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(246, 243, 236, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: transform .35s ease;
}
.nav--hidden { transform: translateY(-100%); }

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.nav__brand-mark {
  width: 9px; height: 9px;
  background: var(--brass);
  margin-right: 10px;
  align-self: center;
}
.nav__brand-sub {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.nav__links {
  display: none;
  gap: 26px;
  margin-left: auto;
}
.nav__links a {
  font-size: 15px;
  text-decoration: none;
  color: var(--ink-60);
  padding: 12px 2px;
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--ink); }

.nav .btn--small { margin-left: auto; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav .btn--small { margin-left: 0; }
}

/* Sehr schmale Screens: Zusatz im Logo ausblenden, damit der CTA nicht überläuft */
@media (max-width: 560px) {
  .nav__inner { gap: 14px; }
  .nav__brand-sub { display: none; }
  .nav .btn--small { padding: 10px 16px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px var(--pad-x) 70px;
  overflow: hidden;
}

.hero__canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__canvas-wrap canvas { width: 100%; height: 100%; }

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow { margin-bottom: 20px; }

/* Die stärksten Trigger: hart gesetzt, sofort im Blick */
.hero__triggers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  margin-bottom: 34px;
}
.hero__triggers li {
  position: relative;
  padding-left: 20px;
  font-weight: 700;
  font-size: clamp(13px, 1.15vw, 16px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.hero__triggers li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 9px; height: 9px;
  background: var(--brass);
}

.hero__title {
  font-size: clamp(42px, 7.2vw, 92px);
  font-weight: 600;
  max-width: 12em;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-deep);
}
.hero__line { display: block; overflow: hidden; }
.hero__line-inner { display: block; }

.hero__lead {
  max-width: 34em;
  margin-top: 28px;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-60);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: clamp(48px, 7vw, 84px);
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) {
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
}

.stat { padding: 22px 24px 6px 0; border-bottom: 1px solid var(--line); }

/* Mobile: 2x2-Raster braucht auch die senkrechte Trennlinie */
@media (max-width: 759px) {
  .stat { padding: 20px 18px 8px; }
  .stat:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
  .stat:nth-child(even) { padding-right: 0; }
}

@media (min-width: 760px) { .stat { border-bottom: none; } }
.stat__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.stat__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__unit {
  font-size: 0.44em;
  font-weight: 400;
  font-style: italic;
  color: var(--brass-deep);
  margin-left: 6px;
}

/* ---------- Sektionen allgemein ---------- */
.section { padding: var(--section-y) var(--pad-x); }
.section--soft { background: var(--bg-soft); }
.section--ink {
  background: var(--ink);
  color: var(--cream-on-ink);
}

.section__inner { max-width: var(--max-w); margin: 0 auto; }
.section__inner--narrow { max-width: 860px; }

.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); position: relative; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.section__num {
  display: block;
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--brass-deep);
  margin-bottom: 34px;
  padding-bottom: 10px;
}
/* Die Hairline unter der Sektionsnummer zeichnet sich beim Einscrollen */
.section__num::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--line);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(.7, 0, .2, 1) .1s;
}
.section--ink .section__num { color: var(--brass); filter: brightness(1.3); }
.section--ink .section__num::after { background: var(--line-on-ink); }
.js .section__num::after { transform: scaleX(0); }
.js .section__head.is-inview .section__num::after { transform: scaleX(1); }

.section__intro {
  margin-top: 20px;
  font-size: clamp(16px, 1.25vw, 18px);
  color: var(--ink-60);
  max-width: 40em;
}
.section--ink .section__intro { color: var(--cream-on-ink-60); }
.section__head--center .section__intro { margin-left: auto; margin-right: auto; }

.section__note {
  margin-top: 40px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-60);
}
.section__note a { color: var(--brass-deep); }

/* ---------- 02 Banking ---------- */
.banking__grid {
  display: grid;
  border-top: 1px solid var(--line-on-ink);
  border-left: 1px solid var(--line-on-ink);
}
@media (min-width: 760px) { .banking__grid { grid-template-columns: 1fr 1fr; } }

.banking__card {
  background: var(--ink);
  border-right: 1px solid var(--line-on-ink);
  border-bottom: 1px solid var(--line-on-ink);
  padding: clamp(28px, 4vw, 48px);
}
.banking__card h3 { margin-bottom: 14px; color: var(--cream-on-ink); }
.banking__card p { color: var(--cream-on-ink-60); max-width: 34em; }

/* Banking im hellen Block: Karten auf Creme umgestellt */
.section:not(.section--ink) .banking__grid { border-color: var(--line); }
.section:not(.section--ink) .banking__card { background: var(--bg); border-color: var(--line); }
.section:not(.section--ink) .banking__card h3 { color: var(--ink); }
.section:not(.section--ink) .banking__card p { color: var(--ink-60); }

/* ---------- 03 Ablauf ---------- */
.steps {
  list-style: none;
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  counter-reset: step;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  background: var(--bg);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(26px, 3.4vw, 42px);
}
.step__num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  color: var(--brass);
  margin-bottom: 20px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-60); }

/* Ablauf im dunklen Block: Karten und Typo auf Tinte umgestellt */
.section--ink .steps { border-color: var(--line-on-ink); }
.section--ink .step { background: var(--ink); border-color: var(--line-on-ink); }
.section--ink .step h3 { color: var(--cream-on-ink); }
.section--ink .step p { color: var(--cream-on-ink-60); }
.section--ink .step__num { filter: brightness(1.3); }
.section--ink .section__note { color: var(--cream-on-ink-60); }

/* Zeitachse */
.timeline { margin-top: clamp(48px, 6vw, 72px); }

.timeline__track { position: relative; }

/* Mobile: vertikale Liste */
.timeline__bar {
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--line);
  overflow: hidden;
}
.timeline__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brass);
  transform-origin: top;
  transform: scaleY(var(--progress, 0));
}

.timeline__point {
  position: relative;
  padding: 0 0 34px 34px;
}
.timeline__point::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brass-deep);
  transition: background-color .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}
/* Punkt füllt sich, sobald der Fortschrittsbalken ihn passiert hat */
.timeline__point.is-passed::before {
  background: var(--brass-deep);
  transform: scale(1.2);
}
.timeline__day { transition: color .35s ease; }
.timeline__point.is-passed .timeline__day { color: var(--brass-deep); }
.timeline__day {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
}
.timeline__event {
  display: block;
  color: var(--ink-60);
  font-size: 15px;
  max-width: 30em;
}

/* Zeitachse im dunklen Block */
.section--ink .timeline__bar { background: var(--line-on-ink); }
.section--ink .timeline__point::before { background: var(--ink); border-color: var(--brass); filter: brightness(1.2); }
.section--ink .timeline__point.is-passed::before { background: var(--brass); }
.section--ink .timeline__day { color: var(--cream-on-ink); }
.section--ink .timeline__event { color: var(--cream-on-ink-60); }
.section--ink .timeline__point.is-passed .timeline__day { color: var(--brass); filter: brightness(1.35); }

/* Desktop: horizontale Achse */
@media (min-width: 900px) {
  .timeline__track { padding-top: 26px; min-height: 150px; }
  .timeline__bar {
    left: 0; right: 0; top: 5px; bottom: auto;
    width: auto; height: 2px;
  }
  .timeline__bar::after { transform-origin: left; transform: scaleX(var(--progress, 0)); }
  .timeline__point {
    position: absolute;
    top: 0;
    left: var(--pos);
    width: 250px;
    padding: 26px 0 0 0;
    transform: translateX(-6px);
  }
  .timeline__point:last-child { transform: translateX(calc(-100% + 6px)); text-align: right; }
  .timeline__point:last-child .timeline__event { margin-left: auto; }
  .timeline__point::before { top: 0; }
  .timeline__point:last-child::before { left: auto; right: 0; }
}

/* ---------- 04 Preis ---------- */
.price {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 900px) {
  .price {
    grid-template-columns: 1.1fr 1fr;
    grid-template-areas:
      "main includes"
      "second includes";
  }
  .price__main { grid-area: main; }
  .price__includes { grid-area: includes; }
  .price__second-year { grid-area: second; }
}

.price__label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.price__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(64px, 9vw, 118px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.price__sub { color: var(--ink-60); margin: 18px 0 30px; }

.price__includes {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: clamp(24px, 3vw, 40px);
}
.price__includes-title {
  font-size: 13px;
  font-family: var(--font-text);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 14px;
}

.price__second-year {
  border-left: 2px solid var(--brass);
  padding: 6px 0 6px 24px;
  max-width: 34em;
}
.price__second-year h3 { margin-bottom: 8px; }
.price__second-year p { color: var(--ink-60); }
.price__second-year strong { color: var(--ink); }

/* ---------- 05 Haftung (Feature-Grid auf dunkel) ---------- */
.feature-grid {
  display: grid;
  border-top: 1px solid var(--line-on-ink);
  border-left: 1px solid var(--line-on-ink);
}
@media (min-width: 700px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature {
  background: var(--ink);
  border-right: 1px solid var(--line-on-ink);
  border-bottom: 1px solid var(--line-on-ink);
  padding: clamp(26px, 3vw, 40px);
}
.feature h3 { color: var(--cream-on-ink); margin-bottom: 12px; }
.feature p { color: var(--cream-on-ink-60); font-size: 15.5px; }

/* Haftung im hellen Block: Karten mit Creme-Ton gefüllt */
.section:not(.section--ink) .feature-grid { border-color: var(--line); }
.section:not(.section--ink) .feature { background: var(--bg-soft); border-color: var(--line); }
.section:not(.section--ink) .feature h3 { color: var(--ink); }
.section:not(.section--ink) .feature p { color: var(--ink-60); }

/* ---------- 06 Diskretion (Register-Liste) ---------- */
.ledger { list-style: none; border-top: 1px solid var(--line); }
.ledger__row {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) {
  .ledger__row { grid-template-columns: 260px 1fr; gap: 40px; align-items: baseline; }
}
/* Hover: Messing-Linie zeichnet sich unter der Zeile, Text wird satt */
.ledger__row::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.ledger__row:hover::after { transform: scaleX(1); }
.ledger__term {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  transition: color .3s ease;
}
.ledger__desc { color: var(--ink-60); transition: color .3s ease; }
.ledger__row:hover .ledger__term { color: var(--brass-deep); }
.ledger__row:hover .ledger__desc { color: var(--ink); }
/* Beim Einscrollen: Begriffe werden „entschwärzt", ein Tintenbalken wischt nach rechts weg */
.js .ledger__term::before {
  content: '';
  position: absolute;
  left: -5px; right: -5px; top: 1px; bottom: 1px;
  background: var(--ink);
  transform-origin: right;
  transition: transform .65s cubic-bezier(.77, 0, .18, 1);
}
.js .ledger__row.is-inview .ledger__term::before { transform: scaleX(0); }

/* ---------- 07 Wyoming / Delaware ---------- */
.states { position: relative; overflow: hidden; }

.states__canvas-wrap {
  position: relative;
  height: clamp(180px, 26vw, 320px);
  margin-bottom: clamp(24px, 4vw, 48px);
  pointer-events: none;
}
.states__canvas-wrap canvas { width: 100%; height: 100%; }

.states__grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}
@media (min-width: 860px) { .states__grid { grid-template-columns: 1fr 1fr; } }

.states__card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: clamp(26px, 3.4vw, 44px);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-color .5s ease, box-shadow .5s ease;
}
/* Kein CSS-Transform hier: die Bewegung übernimmt der 3D-Tilt aus main.js */
.states__card:hover {
  border-color: rgba(154, 116, 46, .45);
}
.states__card--recommended { border-top: 3px solid var(--brass); }
.states__card h3 {
  font-size: clamp(30px, 3.4vw, 42px);
  margin-bottom: 18px;
}
.states__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 16px;
}
.states__badge--alt { color: var(--ink-60); }
.states__fit {
  margin-top: 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-60);
}

/* ---------- 08 GmbH-Vergleich ---------- */
.versus {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 820px) { .versus { grid-template-columns: 1fr 1fr; } }

.versus__col { padding: clamp(26px, 3.4vw, 48px); }
.versus__col--gmbh { background: var(--bg-soft); }
.versus__col--llc { background: var(--ink); color: var(--cream-on-ink); }

.versus__title {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.versus__col--llc .versus__title { border-color: var(--line-on-ink); }

.versus__list { list-style: none; }
.versus__list li {
  position: relative;
  padding: 11px 0 11px 28px;
  color: var(--ink-60);
}
.versus__col--llc .versus__list li { color: var(--cream-on-ink); }

/* GmbH-Seite: neutrales Aufzählungszeichen, LLC-Seite: Messing-Haken */
.versus__col--gmbh .versus__list li::before {
  content: '';
  position: absolute;
  left: 4px; top: 20px;
  width: 12px; height: 2px;
  background: var(--ink-40);
}
.versus__col--llc .versus__list li::before {
  content: '';
  position: absolute;
  left: 2px; top: 18px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
  transform: rotate(-45deg);
  filter: brightness(1.35);
}

/* ---------- 09 Zielgruppen ---------- */
/* Hairlines als echte Borders (Zelle: rechts/unten, Container: oben/links),
   damit die Linien auch bei transformierten Kacheln nicht verschwinden */
.tiles {
  list-style: none;
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 620px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .tiles { grid-template-columns: repeat(4, 1fr); } }

.tiles { counter-reset: tile; }
.tile {
  position: relative;
  counter-increment: tile;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg); /* heller als die Soft-Sektion, damit die Kachel gefüllt wirkt */
  padding: clamp(22px, 2.6vw, 34px);
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* box-shadow gehört dazu, damit der Tilt-Schatten weich ein- und ausblendet */
  transition: background-color .45s ease, box-shadow .45s ease;
}
/* Feiner Index in Fraunces-Kursive, wird beim Hover Messing */
.tile::before {
  content: counter(tile, decimal-leading-zero);
  position: absolute;
  top: 16px; left: clamp(22px, 2.6vw, 34px);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-40);
  transition: color .35s ease;
}
/* Pfeil schiebt sich beim Hover ein */
.tile::after {
  content: '\2192';
  position: absolute;
  right: clamp(22px, 2.6vw, 34px); top: 14px;
  font-size: 18px;
  color: var(--brass);
  filter: brightness(1.3);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
}
/* Hover: Kachel invertiert ins Tintenblau */
.tile:hover { background: var(--ink); }
.tile:hover::before { color: var(--brass); filter: brightness(1.3); }
.tile:hover::after { opacity: 1; transform: none; }
.tile h3 { font-size: 18px; margin-bottom: 6px; transition: color .35s ease; }
.tile p { font-size: 14.5px; color: var(--ink-60); transition: color .35s ease; }
.tile:hover h3 { color: var(--cream-on-ink); }
.tile:hover p { color: var(--cream-on-ink-60); }

/* ---------- 10 Vertrauen ---------- */
.trust__grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 820px) { .trust__grid { grid-template-columns: 1fr 1fr; } }

.trust__card {
  background: var(--bg-soft);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(26px, 3.2vw, 44px);
}
.trust__card h3 { margin-bottom: 12px; }
.trust__card p { color: var(--ink-60); max-width: 36em; }
.trust__card--registry { border-top: 3px solid var(--brass); }

.trust__registry-id {
  margin-top: 18px;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--brass-deep);
  font-weight: 500;
}

.trust__person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.trust__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream-on-ink);
  border: 1px solid var(--line);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.04em;
}
.trust__person-name { font-weight: 500; font-size: 15px; }
.trust__person-role {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-60);
  margin-top: 2px;
}

.quotes {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(40px, 5vw, 64px);
}
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

.quote {
  position: relative;
  padding-top: 30px;
}
/* Großes, blasses Anführungszeichen als handgesetztes Detail */
.quote::before {
  content: '\201E';
  position: absolute;
  top: -30px; left: -8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 92px;
  line-height: 1;
  color: var(--brass);
  opacity: .16;
  pointer-events: none;
}
.quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.45;
}
.quote figcaption {
  margin-top: 14px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.quote figcaption::before {
  content: '';
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--brass);
  vertical-align: middle;
  margin-right: 10px;
}

/* Bewertungs-Badge (ProvenExpert) */
.reviews {
  display: flex;
  justify-content: center;
  margin-top: clamp(36px, 4.5vw, 56px);
}
.reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 15px 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
.reviews__badge:hover {
  border-color: rgba(154, 116, 46, .5);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -30px rgba(16, 32, 46, .45);
}
.reviews__mark { width: 34px; height: 34px; flex-shrink: 0; }
.reviews__body { display: flex; flex-direction: column; gap: 2px; }
.reviews__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.reviews__score {
  font-size: 13.5px;
  color: var(--ink-60);
  font-variant-numeric: tabular-nums;
}
.reviews__score strong { color: var(--brass-deep); font-weight: 700; }

/* ---------- 11 FAQ ---------- */
.faq { border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 20px);
  min-height: 44px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  position: absolute;
  right: 6px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--brass-deep);
  border-bottom: 2px solid var(--brass-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.faq__item p {
  padding: 0 0 24px;
  color: var(--ink-60);
  max-width: 46em;
  overflow: hidden; /* für die sanfte Auf/Zu-Animation per JS */
}
.faq__item summary:hover { color: var(--brass-deep); }
.faq__item summary { transition: color .25s ease; }

/* ---------- 12 Finaler CTA / Namensprüfung ---------- */
.cta-final { position: relative; }

.namecheck {
  background: var(--ink-2);
  border: 1px solid var(--line-on-ink);
  padding: clamp(26px, 4vw, 48px);
  max-width: 680px;
  margin: 0 auto;
}

.namecheck__row { position: relative; }
/* Fokus: Messing-Linie zeichnet sich unter dem Eingabefeld */
.namecheck__row::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.7, 0, .2, 1);
  pointer-events: none;
}
.namecheck__row:focus-within::after { transform: scaleX(1); }

.namecheck__toggle span { will-change: transform; }
.namecheck__toggle input:active + span { transform: scale(.96); }

.namecheck__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-on-ink-60);
  margin-bottom: 10px;
}

.namecheck__input {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  font-family: var(--font-text);
  font-size: 17px;
  color: var(--cream-on-ink);
  background: transparent;
  border: 1px solid var(--line-on-ink);
  border-radius: var(--radius);
  transition: border-color .2s ease;
}
.namecheck__input::placeholder { color: rgba(242, 238, 228, .38); }
.namecheck__input:focus { border-color: var(--brass); outline: none; }
.namecheck__input:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

.namecheck__states {
  border: none;
  margin: 26px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.namecheck__states legend { padding: 0; margin-bottom: 10px; width: 100%; }

.namecheck__toggle { position: relative; }
.namecheck__toggle input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  cursor: pointer;
}
.namecheck__toggle span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--line-on-ink);
  border-radius: var(--radius);
  color: var(--cream-on-ink-60);
  font-size: 15px;
  transition: all .2s ease;
}
.namecheck__toggle input:checked + span {
  background: var(--cream-on-ink);
  border-color: var(--cream-on-ink);
  color: var(--ink);
  font-weight: 500;
}
.namecheck__toggle input:focus-visible + span {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.namecheck__submit { width: 100%; }

.namecheck__feedback {
  margin-top: 16px;
  font-size: 15px;
  color: var(--brass);
  filter: brightness(1.4);
  min-height: 1.4em;
  text-align: center;
}

.cta-final__alt {
  text-align: center;
  margin-top: 36px;
}
.cta-final__or {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--cream-on-ink-60);
  margin-bottom: 18px;
}

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */
.legal-body { background: var(--bg); }

.legal {
  padding: 150px var(--pad-x) var(--section-y);
  min-height: 60vh;
}
.legal__inner { max-width: 760px; margin: 0 auto; }

.legal h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 12px;
}
.legal h2 {
  font-size: clamp(19px, 1.8vw, 24px);
  margin: 44px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal p { color: var(--ink-60); max-width: 46em; }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--brass-deep); word-break: break-word; }
.legal ul {
  margin: 12px 0 12px 20px;
  color: var(--ink-60);
}
.legal li { padding: 3px 0; }

.legal__stand {
  margin-top: 48px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-60);
}

/* ---------- Consent-Banner ---------- */
.consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--ink);
  border-top: 1px solid var(--line-on-ink);
  color: var(--cream-on-ink);
  padding: 22px var(--pad-x);
  box-shadow: 0 -20px 44px -34px rgba(0, 0, 0, .7);
  transform: translateY(110%);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.consent.is-visible { transform: none; }
.consent[hidden] { display: none; }

.consent__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .consent__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 44px;
  }
}

.consent__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--cream-on-ink);
}
.consent__text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--cream-on-ink-60);
  max-width: 64em;
}
.consent__text a { color: var(--brass); filter: brightness(1.4); }

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.consent__actions .btn {
  flex: 1 1 200px;
  min-height: 48px;
  padding: 12px 24px;
  font-size: 15px;
}
@media (min-width: 900px) {
  .consent__actions .btn { flex: 0 0 auto; }
}

/* ---------- Mitlaufender CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: rgba(16, 32, 46, .97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-on-ink);
  padding: 12px var(--pad-x);
  transform: translateY(110%);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.sticky-cta.is-visible { transform: none; }
/* Solange die Consent-Entscheidung aussteht, bleibt der CTA unten */
.has-consent-banner .sticky-cta { transform: translateY(110%); }

.sticky-cta__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sticky-cta__text {
  font-size: 14.5px;
  color: var(--cream-on-ink-60);
  white-space: nowrap;
  /* min-width: 0 ist nötig, sonst schrumpft der nowrap-Text nicht und
     schiebt den Button auf schmalen Screens aus dem Viewport */
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cta__text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--cream-on-ink);
  font-variant-numeric: tabular-nums;
}
.sticky-cta .btn { flex-shrink: 0; }

@media (max-width: 680px) {
  .sticky-cta__extra { display: none; }
  .sticky-cta__text { font-size: 13px; }
  .sticky-cta__text strong { font-size: 17px; }
  .sticky-cta .btn--small { padding: 10px 18px; font-size: 14.5px; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--cream-on-ink-60);
  border-top: 1px solid var(--line-on-ink);
  padding: 56px var(--pad-x) 40px;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}
@media (min-width: 760px) {
  .footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
  .footer__disclaimer { grid-column: 1 / -1; }
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--cream-on-ink);
}
.footer__logo span {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-on-ink-60);
}
.footer__address { font-size: 14px; margin-top: 8px; }

.footer__links { display: flex; gap: 22px; }
.footer__links a {
  position: relative;
  color: var(--cream-on-ink-60);
  font-size: 14px;
  text-decoration: none;
  padding: 10px 0;
  transition: color .25s ease;
}
.footer__links a:hover { color: var(--cream-on-ink); }
/* Unterstrich zeichnet sich von links, läuft nach rechts aus */
.footer__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 6px;
  width: 100%; height: 1px;
  background: var(--brass);
  filter: brightness(1.3);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s cubic-bezier(.7, 0, .2, 1);
}
.footer__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer__disclaimer {
  font-size: 13px;
  padding-top: 24px;
  border-top: 1px solid var(--line-on-ink);
  max-width: 62em;
}

/* ---------- Animations-Ausgangszustände ----------
   Die .reveal-Elemente werden nur versteckt, wenn JS aktiv ist
   (Klasse .js am body), damit die Seite ohne JS vollständig lesbar bleibt. */
.js .reveal,
.js .reveal-left,
.js .reveal-right { opacity: 0; }

/* Bewegung reduzieren: alles sofort sichtbar, keine Transitions */
@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal-left,
  .js .reveal-right { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
