:root {
  --canvas: oklch(0.95 0.012 70);
  --canvas-lifted: oklch(0.97 0.008 70);
  --canvas-deep: oklch(0.91 0.018 65);
  --ink: oklch(0.18 0 0);
  --ink-warm: oklch(0.16 0.006 50);
  --slate: oklch(0.48 0.005 60);
  --granite: oklch(0.36 0.005 60);
  /* No more orange — accent is now a brand-blue mid tone */
  --accent: oklch(0.48 0.12 255);
  --accent-deep: oklch(0.32 0.09 255);
  --accent-soft: oklch(0.92 0.04 250);

  /* BANI brand blue (from logo) — used as left-side hero background */
  --brand-blue-dark: oklch(0.28 0.085 255);
  --brand-blue: oklch(0.38 0.1 255);
  --brand-blue-soft: oklch(0.7 0.06 255);

  /* Text variants for use over dark blue */
  --on-dark: oklch(0.97 0.012 70);
  --on-dark-muted: oklch(0.86 0.018 65);
  --on-dark-subtle: oklch(0.74 0.025 60);

  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px rgba(23, 23, 23, 0.05), 0 1px 1px rgba(23, 23, 23, 0.04);
  --shadow-md: 0 10px 32px rgba(23, 23, 23, 0.08), 0 2px 6px rgba(23, 23, 23, 0.04);
  --shadow-lg: 0 24px 60px rgba(23, 23, 23, 0.12), 0 6px 16px rgba(23, 23, 23, 0.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  /* Übergang KOMPLETT vor der Canvas (canvas linker Rand sitzt bei 50 %).
     Blau 0–47 %, scharfer Übergang 47–49 %, dann reines Weiß ab 49 % bis 100 %.
     So sitzt der Video-Rand sicher 1 vw INNERHALB der Weiß-Zone — kein Bleed. */
  background:
    linear-gradient(90deg,
      var(--brand-blue-dark) 0%,
      var(--brand-blue) 30%,
      var(--brand-blue) 47%,
      #ffffff 49%,
      #ffffff 100%);
  background-attachment: fixed;
  color: var(--on-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.6;
  min-height: 100svh;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--on-dark);
  margin: 0;
}
h1 { letter-spacing: -0.04em; line-height: 1.0; }
h2 { letter-spacing: -0.03em; line-height: 1.08; }

/* Italic accent words — Poppins italic, no orange.
   Inherits the surrounding text color so it never clashes with the section. */
.serif { font-family: var(--font-display); font-weight: 500; font-style: italic; color: inherit; letter-spacing: -0.02em; }
.serif em { font-style: italic; color: inherit; }
em { font-family: var(--font-display); font-style: italic; font-weight: 500; color: inherit; }

::selection { background: var(--on-dark); color: var(--brand-blue-dark); }

/* Keyboard focus — sichtbarer Ring nur auf interaktiven Elementen.
   Mouse-Klicks lösen ihn nicht aus (:focus-visible), nur Tab-Navigation.
   Wichtig: kein border-radius-Override, sonst Repaint-Stutter beim Scrollen. */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
[role="menuitem"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.section--dark button:focus-visible,
.section--dark a:focus-visible,
.section--ink-dark button:focus-visible,
.section--ink-dark a:focus-visible,
.topbar button:focus-visible,
.topbar a:focus-visible,
.sticky-overlay a:focus-visible {
  outline-color: var(--on-dark);
}

/* ---------- Scroll stage — verkürzt damit der Hero nicht ewig dauert.
   200vh = User scrollt knapp 2 Viewport-Höhen für 61 Frames — flott genug,
   dass die Animation greift, ohne dass der Rest der Seite ewig wartet. */
#scroll-stage {
  position: relative;
  height: 200vh;
}

#scene {
  position: fixed;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100svh;
  display: block;
  z-index: 1;
  transition: opacity 220ms var(--ease-out);
}
#scene.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.sticky-overlay {
  position: sticky;
  top: 0;
  height: 100svh;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(24px, 4vw, 64px);
  padding: clamp(20px, 3vw, 32px) clamp(24px, 5vw, 64px) clamp(28px, 4vw, 48px);
  pointer-events: none;
}
.sticky-overlay > * { pointer-events: auto; }

/* Topbar spans both columns */
.topbar { grid-column: 1 / -1; }

/* Hero copy + scroll hint live in the left column only */
.hero-copy { grid-column: 1 / 2; }
.scroll-hint { grid-column: 1 / 2; }

/* ---------- Topbar — always-on-dark pill so it stays readable
   even when it crosses the blue/white background boundary ---------- */
.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  background: rgba(20, 18, 38, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-radius: 16px;
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(252, 251, 250, 0.12);
  width: fit-content;
  margin-inline: auto;
  max-width: 100%;
}
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--on-dark); text-decoration: none; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; font-size: 20px; }
.brand img { display: block; width: 56px; height: 56px; border-radius: 10px; }
.topnav { display: inline-flex; align-items: center; gap: 18px; }
.topnav a { color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: 14.5px; letter-spacing: -0.01em; }
.topnav a:hover { color: var(--accent); }
.topnav .pill {
  background: var(--on-dark);
  color: var(--brand-blue-dark);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease-out), background 240ms var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: -0.01em;
}
.topnav .pill svg { flex-shrink: 0; }
.topnav .pill:hover { transform: translateY(-1px); background: var(--canvas-lifted); color: var(--brand-blue-dark); }

/* ---------- Topnav Dropdown (Leistungen) ---------- */
.topnav-dropdown { position: relative; }
.topnav-dropdown-btn {
  background: transparent;
  border: 0;
  color: var(--on-dark);
  font: inherit;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 240ms var(--ease-out);
}
.topnav-dropdown-btn:hover,
.topnav-dropdown[data-open="true"] .topnav-dropdown-btn { color: var(--accent); }
.topnav-dropdown-btn svg { transition: transform 240ms var(--ease-out); }
.topnav-dropdown[data-open="true"] .topnav-dropdown-btn svg { transform: rotate(180deg); }

.topnav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: rgba(20, 18, 38, 0.95);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(252, 251, 250, 0.12);
  list-style: none;
  margin: 0;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
  z-index: 60;
}
.topnav-dropdown[data-open="true"] .topnav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.topnav-dropdown-menu li { margin: 0; }
.topnav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  color: var(--on-dark);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out);
}
.topnav-dropdown-menu a:hover {
  background: rgba(252, 251, 250, 0.1);
  color: var(--on-dark);
}
.topnav .pill:active { transform: translateY(0); }

/* ---------- Hero Copy ---------- */
.hero-copy {
  align-self: center;
  max-width: 580px;
  text-align: left;
  display: grid;
  gap: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  justify-self: start;
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }

.hero-headline {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  text-wrap: balance;
  color: var(--on-dark);
  text-shadow: 0 1px 0 rgba(23, 23, 50, 0.18);
  line-height: 1.08;
}

.hero-sub {
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  color: var(--on-dark-subtle);
  max-width: 52ch;
  text-wrap: pretty;
}
.hero-tagline {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--on-dark-muted);
  margin-top: -4px;
  letter-spacing: -0.01em;
}

.hero-ctas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-self: start;
  justify-content: flex-start;
}

/* Direct phone line under the hero CTAs */
.hero-phone {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
  color: var(--on-dark);
  text-decoration: none;
  transition: opacity 240ms var(--ease-out);
}
.hero-phone:hover { opacity: 0.8; }
.hero-phone-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--on-dark-muted);
}
.hero-phone-num {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--on-dark);
  border-bottom: 1px solid rgba(252, 251, 250, 0.4);
  padding-bottom: 1px;
}

.btn-pill, .btn-pill-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 240ms var(--ease-out), background 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
  cursor: pointer;
}
.btn-pill { background: var(--on-dark); color: var(--brand-blue-dark); box-shadow: var(--shadow-md); }
.btn-pill:hover { transform: translateY(-1px); background: var(--canvas-lifted); box-shadow: var(--shadow-lg); }
.btn-pill:active { transform: translateY(0); }
.btn-pill span { transition: transform 240ms var(--ease-out); }
.btn-pill:hover span { transform: translateX(3px); }

.btn-pill-ghost { background: rgba(252, 251, 250, 0.08); color: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--on-dark); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-pill-ghost:hover { transform: translateY(-1px); background: rgba(252, 251, 250, 0.16); }

/* ---------- Scroll Hint ---------- */
.scroll-hint {
  justify-self: start;
  display: grid;
  justify-items: start;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--on-dark-subtle);
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 400ms var(--ease-out);
}
.scroll-hint .line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2.4s var(--ease-out) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   Section Theme System — explicit BG/Text pairing per section
   .section--light → light BG + ink-dark text
   .section--dark  → dark/blue BG + cream text
   The base h1/h2/h3 default color is on-dark (Hero context);
   sections explicitly override based on theme class.
   ============================================================ */

.section {
  position: relative;
  z-index: 3;
  padding-block: clamp(96px, 12vh, 128px);
}
.section--light {
  background: var(--canvas-lifted);
  color: var(--ink);
}
.section--canvas { background: var(--canvas); }
.section--canvas-deep { background: var(--canvas-deep); }
.section--accent-soft { background: oklch(0.93 0.04 250); }
.section--dark {
  background: var(--brand-blue);
  color: var(--on-dark);
}
.section--ink-dark { background: var(--brand-blue-dark); }
.section--footer { background: var(--ink-warm); color: var(--on-dark); }

/* Heading + body color reset by theme */
.section--light h2, .section--light h3, .section--light h4 { color: var(--ink); }
.section--canvas h2, .section--canvas h3, .section--canvas h4 { color: var(--ink); }
.section--canvas-deep h2, .section--canvas-deep h3, .section--canvas-deep h4 { color: var(--ink); }
.section--accent-soft h2, .section--accent-soft h3, .section--accent-soft h4 { color: var(--ink); }

.section--light, .section--canvas, .section--canvas-deep, .section--accent-soft {
  color: var(--ink);
}
.section--light .eyebrow, .section--canvas .eyebrow,
.section--canvas-deep .eyebrow, .section--accent-soft .eyebrow {
  color: var(--granite);
}
/* Italic accent words inherit the section's text color — no orange override. */
.section--light .serif, .section--canvas .serif,
.section--canvas-deep .serif, .section--accent-soft .serif,
.section--light em, .section--canvas em,
.section--canvas-deep em, .section--accent-soft em { color: inherit; }

.section--dark h2, .section--dark h3, .section--dark h4,
.section--ink-dark h2, .section--ink-dark h3, .section--ink-dark h4,
.section--footer h2, .section--footer h3, .section--footer h4 { color: var(--on-dark); }

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 64px);
}
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  text-wrap: balance;
}
.section-head .lead {
  margin-top: 20px;
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  max-width: 56ch;
  text-wrap: pretty;
  color: var(--granite);
}
.section--dark .section-head .lead,
.section--ink-dark .section-head .lead { color: var(--on-dark-muted); }

/* Eyebrow already exists from hero; override dot/text only when needed */
.section--light .eyebrow i,
.section--canvas .eyebrow i,
.section--canvas-deep .eyebrow i,
.section--accent-soft .eyebrow i { background: var(--accent); }

/* ============================================================
   Buttons by theme
   ============================================================ */
.section--light .btn-pill, .section--canvas .btn-pill,
.section--canvas-deep .btn-pill, .section--accent-soft .btn-pill {
  background: var(--ink);
  color: var(--on-dark);
}
.section--light .btn-pill:hover, .section--canvas .btn-pill:hover,
.section--canvas-deep .btn-pill:hover, .section--accent-soft .btn-pill:hover {
  background: var(--ink-warm);
}
.section--light .btn-pill-ghost, .section--canvas .btn-pill-ghost,
.section--canvas-deep .btn-pill-ghost, .section--accent-soft .btn-pill-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.section--light .btn-pill-ghost:hover, .section--canvas .btn-pill-ghost:hover,
.section--canvas-deep .btn-pill-ghost:hover, .section--accent-soft .btn-pill-ghost:hover {
  background: rgba(23, 23, 23, 0.06);
}

/* ============================================================
   Finanz-Hinweis — Block nach den Service-Cards
   ============================================================ */
.finanz-hinweis {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.finanz-hinweis-text h2 { margin: 12px 0 16px; }
.finanz-hinweis-text .lead { margin-bottom: 28px; }
.finanz-hinweis-list {
  list-style: none;
  padding: clamp(24px, 3vw, 36px);
  margin: 0;
  display: grid;
  gap: 14px;
  background: var(--canvas-lifted);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.finanz-hinweis-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.finanz-hinweis-list li::before {
  content: "✓";
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 16px;
}
@media (max-width: 820px) {
  .finanz-hinweis { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   Reusable cards
   ============================================================ */
.card-lifted {
  background: var(--canvas-lifted);
  border-radius: 24px;
  padding: clamp(28px, 3.4vw, 40px);
  box-shadow: var(--shadow-md);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.card-lifted:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: oklch(0.94 0.025 250);
  color: var(--brand-blue-dark);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.card-lifted h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin-top: 18px;
}
.card-lifted .lead-card {
  margin-top: 12px;
  font-size: 15.5px;
  color: var(--granite);
  text-wrap: pretty;
}
.card-lifted ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}
.card-lifted ul li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
  align-items: start;
}
.card-lifted ul li::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
  margin-top: 8px;
}
.card-lifted .btn-pill { margin-top: 28px; }

/* ============================================================
   Services — 2×2 grid
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.services-grid--2x2 .card-lifted {
  display: flex;
  flex-direction: column;
}
.services-grid--2x2 .card-lifted ul { flex: 1; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  align-self: flex-start;
  transition: gap 240ms var(--ease-out), color 240ms var(--ease-out);
}
.card-link:hover {
  gap: 12px;
  color: var(--brand-blue-dark);
}
@media (max-width: 820px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Why-Pillars (4 numbered blocks on brand-blue)
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 56px);
}
.pillar { position: relative; }
.pillar .pillar-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(252, 251, 250, 0.12);
  color: var(--on-dark);
  margin-bottom: 18px;
}

/* ---------- Pillar-Stat — große Zahl statt Diagramm.
   Bewusst minimalistisch: Vercel/Linear-Style, keine Erklärbär-Infografik. ---------- */
.pillar-stat {
  display: inline-block;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 5vw, 4.5rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--on-dark);
  margin-bottom: 20px;
  position: relative;
}
.pillar-stat sup {
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: 0;
  vertical-align: 0.55em;
  margin-left: 4px;
  color: var(--on-dark-muted);
}
.pillar:hover .pillar-stat { color: var(--on-dark); }
.pillar-stat::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 28px;
  height: 1px;
  background: var(--on-dark);
  opacity: 0.35;
  transition: width 320ms var(--ease-out);
}
.pillar:hover .pillar-stat::after { width: 48px; }
.pillar .pillar-num { display: none; }
.pillar h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin: 0 0 10px;
}
.pillar p { color: var(--on-dark-muted); max-width: 44ch; font-size: 15px; }
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ============================================================
   Vergleich — 4 Visual Cards in 2x2 grid
   ============================================================ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare-card {
  background: var(--canvas-lifted);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 16px;
  align-content: start;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.compare-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.compare-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: oklch(0.94 0.025 250);
  color: var(--brand-blue-dark);
  display: grid;
  place-items: center;
}
.compare-topic {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  color: var(--ink);
}
/* Vergleichs-Balken: grauer "Üblich"-Block ↔ grüner "Bei BANI"-Block.
   Mit Gap als Trennung. Icons: ✗ für Standard, ✓ für BANI. */
.compare-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.compare-row {
  padding: 14px 16px 15px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}
.compare-row-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.compare-row-body {
  display: grid;
  gap: 4px;
}
.compare-row-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.compare-row-text {
  font-size: 14.5px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}
/* Üblich — sanftes Grau */
.compare-row--standard {
  background: oklch(0.95 0.004 90);
  color: oklch(0.48 0.005 90);
}
.compare-row--standard .compare-row-label { color: oklch(0.58 0.005 90); }
.compare-row--standard .compare-row-icon {
  background: oklch(0.86 0.006 90);
  color: oklch(0.42 0.008 90);
}
/* Bei BANI — passend zur Brand-Blue der Website */
.compare-row--bani {
  background: oklch(0.94 0.035 255);
  color: var(--brand-blue-dark, oklch(0.28 0.085 255));
}
.compare-row--bani .compare-row-label { color: var(--brand-blue, oklch(0.38 0.1 255)); }
.compare-row--bani .compare-row-text {
  font-weight: 600;
  color: var(--brand-blue-dark, oklch(0.28 0.085 255));
}
.compare-row--bani .compare-row-icon {
  background: oklch(0.86 0.08 255);
  color: var(--brand-blue-dark, oklch(0.28 0.085 255));
}
@media (max-width: 720px) {
  .compare-rows { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 720px) {
  .compare-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Wechsel — 3 step cards
   ============================================================ */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.steps-flow {
  position: absolute;
  top: -28px;
  left: 0;
  width: 100%;
  height: 40px;
  color: var(--brand-blue);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.steps-flow path {
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
}
.steps:has(.reveal.is-visible) .steps-flow {
  opacity: 1;
  transition: opacity 400ms var(--ease-out);
}
.steps:has(.reveal.is-visible) .steps-flow path {
  animation: stepsFlowDraw 1600ms var(--ease-out) 300ms forwards;
}
.steps:has(.reveal.is-visible) .steps-flow-arrow {
  opacity: 0;
  animation: stepsFlowArrow 400ms var(--ease-out) forwards;
}
.steps:has(.reveal.is-visible) .steps-flow-arrow-1 { animation-delay: 1100ms; }
.steps:has(.reveal.is-visible) .steps-flow-arrow-2 { animation-delay: 1500ms; }
@keyframes stepsFlowDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes stepsFlowArrow {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 0.85; transform: translateX(0); }
}
.step { position: relative; z-index: 1; }
@media (max-width: 820px) {
  .steps-flow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .steps-flow path { stroke-dashoffset: 0; }
  .steps-flow-arrow { opacity: 0.85; }
}
.step .step-num {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.step h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  margin: 12px 0 14px;
}
.step p { color: var(--granite); font-size: 15px; text-wrap: pretty; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   Über Hunny — 2 columns
   ============================================================ */
.hunny {
  display: grid;
  grid-template-columns: 0.5fr 0.5fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hunny-portrait {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 480px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  justify-self: center;
}
.hunny-portrait::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.4;
}
.hunny-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.hunny-text .pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin: 24px 0 28px;
  color: var(--ink);
  max-width: 28em;
}
.hunny-text .stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  margin: 0 0 32px;
  padding: 22px 0;
  border-top: 1px solid var(--canvas-deep);
  border-bottom: 1px solid var(--canvas-deep);
}
.hunny-text .stat-tile {
  display: grid;
  gap: 6px;
}
.hunny-text .stat-num {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.hunny-text .stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--granite);
  line-height: 1.35;
}
.hunny-text .body p {
  font-size: 16px;
  color: var(--granite);
  max-width: 56ch;
  text-wrap: pretty;
}
.hunny-text .body p + p { margin-top: 14px; }
.hunny-text .sign {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hunny-text .sign-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink);
}
.hunny-text .sign-line { height: 1px; width: 48px; background: var(--accent); }
.hunny-text .sign-role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--granite);
}
@media (max-width: 820px) {
  .hunny { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   Reviews — 5 cards on brand-blue-dark
   ============================================================ */
.reviews-head {
  display: grid;
  gap: 24px;
  max-width: 820px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.reviews-head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); text-wrap: balance; }
.reviews-head .lead { color: var(--on-dark-muted); font-size: clamp(15.5px, 1.2vw, 17.5px); max-width: 56ch; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.reviews-grid .review-card:nth-child(1),
.reviews-grid .review-card:nth-child(2) { grid-column: span 1; }
.reviews-grid .review-card:nth-child(3) { grid-column: span 1; }
.reviews-grid .review-card:nth-child(4),
.reviews-grid .review-card:nth-child(5) { grid-column: span 1; }
.review-card {
  background: rgba(252, 251, 250, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 26px;
  box-shadow: inset 0 0 0 1px rgba(252, 251, 250, 0.1);
  display: grid;
  gap: 14px;
  align-content: start;
  transition: transform 240ms var(--ease-out), background 240ms var(--ease-out);
}
.review-card:hover { transform: translateY(-2px); background: rgba(252, 251, 250, 0.1); }
.review-stars {
  display: inline-flex;
  gap: 2px;
  color: oklch(0.78 0.16 70);
  font-size: 15px;
  letter-spacing: 0.06em;
}
.review-card p {
  color: var(--on-dark);
  font-size: 15.5px;
  line-height: 1.55;
  text-wrap: pretty;
}
.review-meta {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--on-dark-subtle);
  margin-top: 4px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: oklch(0.88 0.04 60);
  color: var(--brand-blue-dark);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
}
.review-meta strong { color: var(--on-dark); font-weight: 500; display: block; font-size: 14.5px; }
.review-meta .review-role { display: block; color: var(--on-dark-subtle); font-size: 12.5px; margin-top: 2px; }
.review-meta .review-date { color: var(--on-dark-subtle); font-size: 12.5px; }
.reviews-cta { margin-top: clamp(32px, 4vw, 56px); display: flex; justify-content: center; }
.section--ink-dark .btn-pill-ghost {
  background: transparent;
  color: var(--on-dark);
  box-shadow: inset 0 0 0 1.5px var(--on-dark);
}
.section--ink-dark .btn-pill-ghost:hover { background: rgba(252, 251, 250, 0.08); }
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Referenzen — 2 large object cards
   ============================================================ */
.refs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.refs-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) {
  .refs-grid--3 { grid-template-columns: 1fr 1fr; }
}
.ref-card {
  background: var(--canvas-lifted);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.ref-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ref-img {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.ref-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms var(--ease-out);
}
.ref-card:hover .ref-img img { transform: scale(1.03); }
.ref-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--canvas-lifted);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.ref-body { padding: 26px clamp(24px, 3vw, 36px) 30px; }
.ref-body h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); display: inline; }
.ref-units {
  margin-left: 10px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 13px;
  color: var(--accent-deep);
}
.ref-body p { margin-top: 12px; color: var(--granite); font-size: 15px; }
@media (max-width: 820px) { .refs-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Section-Split — sharp Side-Panel mit modernem Foto.
   Verwendet in Leistungen + Wechsel.
   ============================================================ */
.section-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-split .section-head { margin-bottom: 0; }
.section-split--reverse .section-head { order: 2; }
.section-split--reverse .section-photo { order: 1; }
.section-photo {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(23, 23, 23, 0.12), 0 8px 16px rgba(23, 23, 23, 0.06);
}
.section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 800ms var(--ease-out);
}
.section-photo:hover img { transform: scale(1.05); }
/* Subtle inner border for modern crispness */
.section-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(252, 251, 250, 0.5);
  pointer-events: none;
}
@media (max-width: 820px) {
  .section-split { grid-template-columns: 1fr; gap: 32px; }
  .section-split--reverse .section-head { order: 1; }
  .section-split--reverse .section-photo { order: 2; }
  .section-photo { aspect-ratio: 16 / 10; }
}

/* ============================================================
   Full-bleed blurred Section-Backgrounds — nur 2 Sektionen.
   Hunny-Portrait in „Warum BANI" + Apartment-Interior in „Reviews".
   ============================================================ */
.section--bg-hunny,
.section--bg-interior {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.section--bg-hunny::before,
.section--bg-interior::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(28px) saturate(1.2);
  transform: scale(1.15);
  z-index: 0;
  pointer-events: none;
}
.section--bg-hunny::before {
  background-image: url("/assets/hunny-portrait.jpg");
  opacity: 0.18;
  mix-blend-mode: luminosity;
}
.section--bg-interior::before {
  background-image: url("/assets/apartment-interior.jpg");
  opacity: 0.22;
  mix-blend-mode: luminosity;
}
.section--bg-hunny > .container,
.section--bg-interior > .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Gallery — entfernt (Bilder jetzt sektionsweise integriert)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 640ms var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  color: var(--on-dark);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.gallery-item--wide { grid-column: span 2; }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-item--wide { grid-column: span 1; }
}

/* ============================================================
   Standorte — Karte zentral, Headline darüber, Subtext darunter
   ============================================================ */
.standorte {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  justify-items: center;
}
.standorte > div:first-child {
  text-align: center;
  max-width: 640px;
}
.standorte .eyebrow { justify-content: center; }
.region-map {
  width: 100%;
  max-width: 780px;
  color: var(--ink);
  margin-inline: auto;
}
.region-map svg {
  width: 100%;
  height: auto;
  display: block;
}
.region-map .city-pin circle {
  transition: r 240ms var(--ease-out);
}
.region-map .city-pin:hover circle {
  r: 6;
}
.standorte-more {
  font-size: 14px;
  color: var(--granite);
  text-align: center;
  max-width: 640px;
}
@media (max-width: 640px) {
  .region-map svg text { font-size: 14px; }
}

/* ============================================================
   FAQ Accordion
   ============================================================ */
.faq {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.faq-sticky { position: sticky; top: 100px; }
.faq-sticky h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); text-wrap: balance; }
.faq-sticky .lead {
  margin-top: 20px;
  color: var(--granite);
  font-size: 16px;
  max-width: 42ch;
}
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.faq-item {
  border-top: 1px solid var(--canvas-deep);
}
.faq-item:last-child { border-bottom: 1px solid var(--canvas-deep); }
.faq-item button {
  background: transparent;
  border: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding: 22px 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.faq-item .q {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink);
}
.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--canvas-deep);
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--ink);
  transition: transform 320ms var(--ease-out);
}
.faq-item[aria-expanded="true"] .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 380ms var(--ease-out), padding 280ms var(--ease-out);
}
.faq-item[aria-expanded="true"] .faq-answer {
  max-height: 800px;
  padding-bottom: 22px;
}
.faq-answer p {
  color: var(--granite);
  font-size: 15.5px;
  max-width: 60ch;
  text-wrap: pretty;
}
@media (max-width: 820px) {
  .faq { grid-template-columns: 1fr; }
  .faq-sticky { position: static; }
}

/* ============================================================
   Kontakt — split + form card
   ============================================================ */
.kontakt {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: clamp(32px, 5vw, 80px);
}
.kontakt-info { display: grid; gap: 28px; align-content: start; }
.kontakt-info h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); text-wrap: balance; }
.kontakt-info .lead {
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  color: var(--on-dark-muted);
  max-width: 50ch;
  text-wrap: pretty;
}
.kontakt-info .info-block { display: grid; gap: 8px; }
.kontakt-info .info-label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--on-dark-subtle);
}
.kontakt-info a { color: var(--on-dark); text-decoration: none; transition: color 240ms var(--ease-out); }
.kontakt-info a:hover { color: oklch(0.92 0.025 55); }
.kontakt-info .mono { font-family: var(--font-mono, ui-monospace, monospace); font-size: 16px; }
.kontakt-info address { font-style: normal; color: var(--on-dark-muted); font-size: 15.5px; line-height: 1.55; }
.kontakt-info .legal { font-size: 12.5px; color: oklch(0.6 0.025 60); line-height: 1.6; }

.form-card {
  background: var(--canvas-lifted);
  color: var(--ink);
  border-radius: 24px;
  padding: clamp(28px, 3.4vw, 40px);
  display: grid;
  gap: 18px;
}
.form-card label { display: grid; gap: 6px; }
.form-card .field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card .field-grid label { width: 100%; }
.form-card .field-label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--granite);
}
.form-card .field-label .req { color: var(--accent-deep); }
.form-card input, .form-card textarea, .form-card select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--canvas-deep);
  padding: 8px 0;
  font: inherit;
  color: var(--ink);
  width: 100%;
  transition: border-color 240ms var(--ease-out);
}
.form-card textarea { resize: vertical; min-height: 90px; }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus {
  outline: none;
  border-color: var(--ink);
}
.form-card input::placeholder, .form-card textarea::placeholder { color: oklch(0.72 0.012 70); }
.form-card .btn-pill { background: var(--ink); color: var(--on-dark); width: 100%; justify-content: center; margin-top: 8px; }
.form-card .btn-pill:hover { background: var(--ink-warm); }
.form-card .microcopy { font-size: 12px; color: var(--granite); text-align: center; }
@media (max-width: 820px) { .kontakt { grid-template-columns: 1fr; } .form-card .field-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-block: clamp(56px, 8vh, 96px);
}
.footer-grid .brand-mark { display: inline-flex; align-items: center; gap: 18px; }
.footer-grid .brand-mark img { width: 96px; height: 96px; border-radius: 14px; }
.footer-grid .brand-mark span { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; font-size: 32px; color: var(--on-dark); }
.footer-grid .tagline { margin-top: 18px; max-width: 36ch; font-size: 14.5px; color: var(--on-dark-subtle); text-wrap: pretty; }
.footer-col h4 {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-subtle);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--on-dark-muted); text-decoration: none; font-size: 14.5px; transition: color 240ms var(--ease-out); }
.footer-col a:hover { color: var(--on-dark); }
.footer-col .mono { font-family: var(--font-mono, ui-monospace, monospace); }
.footer-bottom {
  border-top: 1px solid rgba(252, 251, 250, 0.12);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: oklch(0.58 0.025 60);
}
.footer-bottom .legal-row { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom .links { display: flex; gap: 18px; }
.footer-bottom a { color: oklch(0.58 0.025 60); text-decoration: none; }
.footer-bottom a:hover { color: var(--on-dark); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid .brand-mark + .tagline { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Trust strip — Google score + 4 certification cards
   ============================================================ */
.section--trust { padding-block: clamp(64px, 9vh, 112px); }
.section--trust .section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section--trust .section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.trust-card {
  background: var(--canvas-lifted);
  border-radius: 22px;
  padding: 28px 22px;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
  text-decoration: none;
  color: var(--ink);
}
.trust-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.trust-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: oklch(0.96 0.012 70);
}

/* Partner card variant — leichtes Off-White (oklch 0.99) statt Cream,
   damit farbige Logos (BERK grün, Immowelt gelb) sauber zur Geltung kommen
   ohne ans verbotene reine #fff zu gehen. */
.trust-card--partner {
  background: oklch(0.99 0 0);
  padding: 28px 22px;
  gap: 14px;
  box-shadow: 0 2px 6px rgba(23, 23, 23, 0.06), 0 0 0 1px rgba(23, 23, 23, 0.04);
}
.trust-card--partner img {
  width: 100%;
  max-width: 180px;
  height: 110px;
  object-fit: contain;
  display: block;
}
.trust-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.trust-card--google .trust-title {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.trust-stars {
  color: oklch(0.78 0.16 70);
  letter-spacing: 0.08em;
  font-size: 17px;
}
.trust-meta {
  font-size: 13px;
  color: var(--granite);
  line-height: 1.4;
  max-width: 22ch;
  text-wrap: pretty;
}
.trust-link {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-blue);
  text-decoration: none;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.trust-link:hover { color: var(--brand-blue-dark); text-decoration: underline; }
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-card--google { grid-column: span 3; }
}
@media (max-width: 640px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-card--google { grid-column: span 2; }
}

/* ============================================================
   Repel-Sektion — „Wann wir nicht passen"
   ============================================================ */
.repel-section .section-head { max-width: 720px; }
.repel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
  max-width: 760px;
}
.repel-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 26px;
  background: var(--canvas-lifted);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.repel-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--canvas-deep);
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.repel-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.repel-list span {
  display: block;
  font-size: 15px;
  color: var(--granite);
  line-height: 1.5;
  text-wrap: pretty;
}

/* ============================================================
   Legal Pages (Impressum, Datenschutz)
   ============================================================ */
.legal-page {
  background: var(--canvas-lifted);
  color: var(--ink);
  min-height: 100vh;
  padding-top: 100px;
}
.legal-page .topbar-static {
  position: relative;
  margin: 24px auto 56px;
  z-index: 5;
}
.legal-page main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 48px) 96px;
}
.legal-page .eyebrow {
  margin-bottom: 16px;
  color: var(--granite);
}
.legal-page h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.04em;
  margin-bottom: 56px;
  color: var(--ink);
}
.legal-page h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  letter-spacing: -0.02em;
  margin: 56px 0 18px;
  color: var(--ink);
}
.legal-page h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  letter-spacing: -0.01em;
  margin: 28px 0 10px;
  color: var(--ink);
  font-weight: 600;
}
.legal-page p, .legal-page li {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft, #2a2724);
  max-width: 65ch;
  text-wrap: pretty;
}
.legal-page p + p { margin-top: 14px; }
.legal-page ul { padding-left: 22px; margin: 14px 0; }
.legal-page li + li { margin-top: 6px; }
.legal-page a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-decoration-color: rgba(34, 59, 114, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 220ms var(--ease-out);
}
.legal-page a:hover { text-decoration-color: var(--brand-blue); }
.legal-page strong { font-weight: 600; }
.legal-page em, .legal-page i { font-style: italic; color: var(--granite); }
.legal-page address {
  font-style: normal;
  margin: 14px 0;
  font-size: 15.5px;
  line-height: 1.7;
}
/* Service sub-pages — share legal-page base, add hero + benefits box */
.legal-page .page-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
  max-width: 100%;
}
@media (min-width: 720px) {
  .legal-page .page-hero { grid-template-columns: 1.2fr 1fr; align-items: center; }
}
.legal-page .page-hero img {
  width: 100%;
  max-width: 480px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  justify-self: end;
  background: transparent;
  display: block;
}
/* Hunny-Portraits: neues Foto hat saubere Komposition — natural ratio, contain */
body.page-id-9 .legal-page .page-hero img,
body.page-id-98 .legal-page .page-hero img {
  object-fit: contain;
  object-position: center;
  max-width: 380px;
  height: auto;
  background: transparent;
}

/* Über-mich: "Warum Eigentümer vertrauen" Karten untereinander stapeln */
body.page-id-9 .benefits-grid,
body.page-id-98 .benefits-grid {
  grid-template-columns: 1fr !important;
  max-width: 640px;
}

/* Referenzen ohne Bild — Tag rückt in den Body */
.ref-card--no-img { padding: 24px 26px; }
.ref-card--no-img .ref-tag {
  position: static;
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue, oklch(0.45 0.12 250));
}
.ref-card--no-img h3 { margin: 0 0 6px; }
.ref-card--no-img .ref-units { display: block; font-weight: 500; color: var(--granite, oklch(0.55 0.01 90)); white-space: nowrap; margin-top: 4px; }
.ref-card--no-img p { margin: 10px 0 0; font-size: 14px; color: var(--granite, oklch(0.5 0.01 90)); line-height: 1.5; }
.legal-page .lead-paragraph {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 16px;
  max-width: 56ch;
  font-weight: 500;
}
.legal-page .leistung-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  margin: 28px 0 48px;
}
.legal-page .leistung-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.6;
  max-width: none;
  padding: 0;
}
.legal-page .leistung-list li::before {
  content: "✓";
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 1px;
}
.legal-page .content-image {
  margin: 36px 0;
}
.legal-page .content-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: block;
}
.legal-page .benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 32px 0 56px;
}
@media (min-width: 720px) {
  .legal-page .benefits-grid { grid-template-columns: 1fr 1fr; }
}
.legal-page .benefit-card {
  background: var(--canvas-deep);
  border-radius: 18px;
  padding: 24px 28px;
}
.legal-page .benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}
.legal-page .benefit-card p {
  font-size: 14.5px;
  color: var(--granite);
  margin: 0;
  line-height: 1.55;
}
.legal-page .cta-block {
  background: var(--brand-blue-dark);
  color: var(--on-dark);
  border-radius: 24px;
  padding: 40px clamp(28px, 4vw, 48px);
  margin: 56px 0 0;
  display: grid;
  gap: 14px;
}
.legal-page .cta-block h2 {
  color: var(--on-dark);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin: 0;
}
.legal-page .cta-block p {
  color: var(--on-dark-muted);
  margin: 0;
  font-size: 15.5px;
  max-width: 56ch;
}
.legal-page .cta-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.legal-page .cta-block .btn-pill {
  background: var(--on-dark);
  color: var(--brand-blue-dark);
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.legal-page .cta-block .btn-pill:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.legal-page .cta-block .btn-pill-outline {
  background: transparent;
  color: var(--on-dark);
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: inset 0 0 0 1.5px var(--on-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, ui-monospace, monospace);
}

.legal-page .legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 80px;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
}
.legal-page .legal-back:hover { background: var(--ink-warm); color: var(--on-dark); text-decoration: none; }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--canvas);
  display: grid;
  place-items: center;
  gap: 16px;
  grid-auto-flow: row;
  z-index: 100;
  transition: opacity 600ms var(--ease-out);
}
#loader.done { opacity: 0; pointer-events: none; }
.loader-bar {
  width: clamp(180px, 30vw, 320px);
  height: 2px;
  background: var(--canvas-deep);
  position: relative;
  overflow: hidden;
  border-radius: 999px;
}
.loader-bar i {
  position: absolute;
  inset: 0 100% 0 0;
  background: var(--ink);
  transition: inset 200ms var(--ease-out);
}
#loader span {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--granite);
  font-weight: 500;
}

/* ---------- Mobile + Tablet: stack instead of split ---------- */
@media (max-width: 900px) {
  html {
    background: linear-gradient(180deg,
      var(--brand-blue-dark) 0%,
      var(--brand-blue) 38%,
      var(--brand-blue) 49%,
      #ffffff 51%,
      #ffffff 100%);
  }
  #scene {
    width: 100vw;
    height: 48svh;
    top: auto;
    bottom: 0;
    right: 0;
  }
  .sticky-overlay {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
  }
  .hero-copy { grid-column: 1; padding-bottom: 50svh; }
  .scroll-hint { display: none; }
}

/* ---------- Hero + Topbar Mobile-Pass (iPhone 375/414) ---------- */
@media (max-width: 640px) {
  /* Scroll-stage > sticky-overlay damit Sticky 60vh Scroll-Spielraum hat */
  #scroll-stage {
    height: 160vh;
  }

  /* Sticky-Overlay: Flex-Column, Topbar → Canvas → Hero-Copy gestapelt.
     Canvas ist jetzt IM Flow, scrollt nicht weg vom Text. */
  .sticky-overlay {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    grid-template-rows: none;
    column-gap: 0;
    gap: 0;
    height: auto;
    min-height: 100svh;
    padding: 8px 0 0;
  }

  /* Canvas im normalen Flow, kein fixed/absolute mehr */
  #scene {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    height: 32svh;
    display: block;
    margin: 12px 0 0;
    flex-shrink: 0;
  }

  /* Topbar full-width statt calc, BANI-Text weg, Phone-Pill kompakter */
  .topbar {
    padding: 6px 8px 6px 10px;
    gap: 8px;
    width: 100%;
  }
  .topnav { gap: 8px; }
  /* Nur direkte <a>-Children verstecken — Links im Dropdown-Menu (.topnav-dropdown-menu a) bleiben sichtbar */
  .topnav > a:not(.pill) { display: none; }
  .brand img { width: 36px; height: 36px; }
  .brand span { display: none; }
  .topnav-dropdown-btn { font-size: 13px; padding: 6px 8px; gap: 5px; }
  .topnav .pill {
    padding: 6px 10px;
    font-size: 12.5px;
    gap: 5px;
    white-space: nowrap;
  }
  .topnav .pill svg { width: 12px; height: 12px; }

  /* Hero-Copy direkt unter Canvas im Flow — kein Padding-Top mehr nötig */
  .hero-copy {
    padding: 16px 16px 28px;
    gap: 12px;
    row-gap: 12px;
    grid-column: auto;
    flex: 1;
  }
  .topbar {
    grid-column: auto;
    margin-inline: 8px !important;
    width: calc(100% - 16px);
  }
  .hero-headline { font-size: clamp(1.6rem, 7.5vw, 2.4rem); line-height: 1.06; }
  .hero-sub { font-size: 14px; line-height: 1.5; }
  .hero-tagline { display: none; } /* Auf Mobile weg — sonst zu lang */
  .eyebrow { font-size: 10.5px; letter-spacing: 0.14em; }

  /* CTAs full-width gestapelt, kein transparenter Background */
  .hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-self: stretch;
  }
  .hero-ctas .btn-pill,
  .hero-ctas .btn-pill-ghost {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 14.5px;
  }

  /* Phone-Line — keine Box, einfach Textlink */
  .hero-phone {
    margin-top: 6px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .hero-phone-label { font-size: 11px; }
  .hero-phone-num { font-size: 1rem; }
}
