/* ==========================================================
   Pecuria Brand-Look – sanfte Angleichung an pecuria.de
   Weiße Textflächen + Mint/Brown-Akzente.
   Hero bleibt FULL-BLEED (kein Karten-Rahmen).
   ========================================================== */

/* Seite: weiß – ohne Mint-Blobs / ohne Z-Index-Hacks */
body {
  background: #FFFFFF;
  color: #3D382D;
}

/* CTAs: Mint wie Brand-Token (nicht Braun erzwingen → kein Clash) */
.btn--green {
  background: #ADFFCD !important;
  color: #3D382D !important;
}

.btn--green::after {
  background: #FFFFFF;
}

/* Anfrage-CTA: Grau-Basis, Liquid-Fill zu Peach (wie Side-Tab) */
.wr-cta:not(.wr-cta--ghost),
.wr .wr-cta:not(.wr-cta--ghost) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--pc-brown) !important;
  color: #FFFFFF !important;
  transition: color 0.5s var(--ease-inout);
}

.wr-cta:not(.wr-cta--ghost)::after,
.wr .wr-cta:not(.wr-cta--ghost)::after {
  content: "";
  position: absolute;
  inset: 100% 0 auto 0;
  height: 100%;
  border-radius: 100%;
  z-index: -1;
  background: var(--pc-peach);
  transition: inset 0.5s var(--ease-inout), border-radius 0.5s var(--ease-inout);
}

@media (min-width: 992px) {

  .wr-cta:not(.wr-cta--ghost):hover,
  .wr .wr-cta:not(.wr-cta--ghost):hover {
    background: var(--pc-brown) !important;
    color: var(--pc-brown) !important;
  }

  .wr-cta:not(.wr-cta--ghost):hover::after,
  .wr .wr-cta:not(.wr-cta--ghost):hover::after {
    inset: 0 0 auto 0;
    border-radius: 0;
  }
}

/* Exposé-CTAs mit Ink-Variante: Standard-Braun, Hover-Fill bleibt Mint */
.btn--ink.js-open-funnel {
  background: var(--pc-brown) !important;
  color: #FFFFFF !important;
}

@media (min-width: 992px) {
  .btn--ink.js-open-funnel:hover {
    color: var(--pc-brown) !important;
  }
}

/* Exposé-Buttons: Schriftgröße wie Header-CTA */
.hero__actions .btn.js-open-funnel,
.btn--ink.js-open-funnel,
.wr-cta.js-open-funnel,
.mobile-nav__cta,
.funnel__nav #funnelNext {
  font-size: 1.15rem !important;
}

/* Buttons seitenweit: normale Schreibweise, fette Schrift (kein ALL CAPS) */
.btn,
.wr .btn,
.wr-cta,
.wr .wr-cta,
.wr-stat__cta,
.variants .vari-col__cta,
.vari-tour-btn {
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  font-weight: 700 !important;
}

/* ---------- Hero: unverändert full-bleed (Sticky wie site.css) ---------- */
.hero-scroll-area {
  background: transparent;
  padding: 0;
}

.hero {
  margin: 0 !important;
  border-radius: 0 !important;
  min-height: 100svh !important;
  overflow: hidden;
}

/* ---------- Text-Sektionen: weiß ---------- */
.wr .l-place-section,
.wr .l-place-stat,
.wr-stats,
.variants,
.strip,
.pillars,
.answers,
#rendite,
#rendite section {
  background: #FFFFFF !important;
  color: #3D382D;
}

.wr-stats__intro,
.wr-stats__intro h2 {
  color: #3D382D;
}

/* Markt + Destatis: flaechig Weiss */
.wr .wr-markt,
.wr #markt .wr-markt {
  background: #FFFFFF !important;
  color: #3D382D !important;
}

.wr .wr-markt__title {
  color: #3D382D;
}

.wr .wr-markt__text {
  color: rgba(61, 56, 45, 0.78);
  opacity: 1;
}

.wr .wr-markt__facts .wr-markt-fact {
  border-right-color: rgba(61, 56, 45, 0.2);
}

.wr .wr-markt__facts dt {
  color: rgba(61, 56, 45, 0.5);
}

.wr .wr-markt__facts dd {
  color: #3D382D;
}

.wr .wr-markt__facts .wr-markt-fact:first-child dd {
  color: #3D382D;
}

.wr .wr-markt__media img {
  border-radius: var(--radius-card);
  box-shadow: 0 24px 56px -24px rgba(61, 56, 45, 0.35);
}

/* Markt → Varianten: mobil weniger Luft nach dem Fließtext */
@media (max-width: 767px) {
  .wr .wr-markt {
    min-height: 0 !important;
    align-items: flex-start;
  }

  .wr .wr-markt__inner {
    padding: clamp(40px, 8vw, 64px) clamp(20px, 3.5vw, 48px) clamp(28px, 5vw, 40px) !important;
  }

  #markt ~ .variants.section-pad--tight {
    padding-top: clamp(24px, 4vw, 36px) !important;
  }
}

.markt-data {
  background: #FFFFFF !important;
  color: #3D382D !important;
  position: relative;
  z-index: 2;
}

.markt-data .eyebrow {
  color: #3D382D;
}

.markt-data__head {
  border-bottom-color: rgba(61, 56, 45, 0.16);
}

.markt-data__head-note,
.markt-data__source {
  color: rgba(61, 56, 45, 0.55);
}

.markt-row {
  border-bottom-color: rgba(61, 56, 45, 0.14);
}

.markt-row:first-child {
  border-top-color: rgba(61, 56, 45, 0.14);
}

.markt-row span {
  color: rgba(61, 56, 45, 0.6);
}

.markt-row--highlight b {
  color: #3D382D;
  background: #ADFFCD;
  padding: 2px 12px;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(173, 255, 205, 0.35);
}

.chart-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(61, 56, 45, 0.1);
  border-radius: var(--radius-card);
  padding: clamp(12px, 2vw, 20px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 18px 48px -28px rgba(61, 56, 45, 0.22);
}

.wr .l-place-stat__bg {
  overflow: hidden;
  background: transparent !important;
  /* Referenz-Platzhalterfarbe (Braun) uebersteuern — Luecke soll Weiss (l-place-section) zeigen, nicht Braun */
}

.wr .l-place-stat .l-place-stat__panel,
.wr #l-place-sticky-1,
.wr #l-place-sticky-2,
.wr #l-place-sticky-3,
.wr #l-place-sticky-4 {
  background: transparent !important;
}

.wr .l-place-stat__bg img,
.wr .l-place-stat__video-fallback {
  /* will-change + Parent-Transform-Pin = iOS-Mikrojitter */
  transform-origin: 50% 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wr .l-place-stat__card {
  will-change: transform, opacity;
}

.scene,
.wr .l-place-stat__panel,
.wr-stat {
  border-radius: 0 !important;
  overflow: hidden;
}

.scene {
  margin-inline: 0 !important;
}

.wr .l-place-stat {
  padding-inline: 0 !important;
  background: transparent !important;
}

.wr .l-place-section {
  background: #FFFFFF !important;
  padding-inline: 0 !important;
}

.wr-stat {
  margin-inline: 0 !important;
}

/* Stat-Karten auf Foto (Objekt-Fakten-Deck): dunkel + Zahlen in Mint */
.wr .l-place-stat__card {
  background: rgba(38, 34, 26, 0.72) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.wr .l-place-stat__card::before {
  display: none;
}

.wr .l-place-stat__num {
  color: #ADFFCD !important;
  -webkit-text-fill-color: #ADFFCD !important;
}

.wr .l-place-stat__label {
  color: rgba(255, 255, 255, 0.82) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.82);
}

.wr .l-place-stat__label b {
  color: #ADFFCD !important;
  -webkit-text-fill-color: #ADFFCD;
}

/* Sicherheit-Karte: pecuria.de-Badge + Hover-Invert (keine !important auf Farben,
   sonst blockiert Hover). Basis-Look in site.css .wr-stats .wr-stat__* */
.wr-stat__card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.wr-stat__card::before {
  display: none;
}

.wr-stats .wr-stat__num {
  color: #ADFFCD;
  -webkit-text-fill-color: #ADFFCD;
}

.wr-stats .wr-stat__label {
  color: #ADFFCD;
  -webkit-text-fill-color: #ADFFCD;
}

@media (min-width: 992px) {

  .wr-stats .wr-stat__card:hover .wr-stat__num,
  .wr-stats .wr-stat__card:hover .wr-stat__label {
    color: #3D382D;
    -webkit-text-fill-color: #3D382D;
  }
}

.wr-stat__kicker {
  display: inline-block;
  background: #ADFFCD;
  color: #3D382D;
  padding: 5px 12px;
  border-radius: 999px;
}

/* Varianten */
.variant-card {
  background: #FFFFFF;
  color: #3D382D;
  border: 1px solid rgba(61, 56, 45, 0.12);
  border-radius: var(--radius-card);
}

.variant-card__type {
  background: #3D382D;
  color: #ADFFCD;
  border-radius: 999px;
  padding: 6px 14px;
}

.variant-card h3,
.variant-card td:last-child {
  color: #3D382D;
}

.variant-card td {
  border-bottom-color: rgba(61, 56, 45, 0.12) !important;
}

.variant-card td:first-child {
  color: rgba(61, 56, 45, 0.6) !important;
}

.variant-card .btn--outline {
  color: #3D382D;
  border-color: rgba(61, 56, 45, 0.28);
}

/* Rechenbeispiel */
#rendite .l-map .background {
  display: none !important;
}

#rendite .l-map-caption {
  min-height: 0 !important;
  padding-block: clamp(40px, 6vh, 72px);
}

#rendite .l-map-caption .ui-light.ui-background {
  background: #FFFFFF !important;
  color: #3D382D !important;
  border: 1px solid rgba(61, 56, 45, 0.12);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 48px -28px rgba(61, 56, 45, 0.22);
  margin-inline: auto;
}

.calc__panel--wr .disclaimer {
  color: rgba(61, 56, 45, 0.55);
}

/* Prozess */
.process {
  background: #FFFFFF !important;
  color: #3D382D !important;
}

.process .display,
.process__steps b,
.process__trust p {
  color: #3D382D;
}

.process__steps li {
  border-top-color: rgba(61, 56, 45, 0.14);
}

.process__steps li::before {
  color: #ADFFCD;
  -webkit-text-fill-color: #ADFFCD;
}

.process__steps p {
  color: rgba(61, 56, 45, 0.7);
}

/* FAQ */
.answers__list {
  border-top-color: rgba(61, 56, 45, 0.14);
}

.answers__list details {
  border-bottom-color: rgba(61, 56, 45, 0.14);
}

.answers__list summary {
  color: #3D382D;
}

.answers__list details>p {
  color: rgba(61, 56, 45, 0.72);
}

/* Anfrage: Mint-Block — Seitenabstand wie Hero-Open
   (anim.js openVals: inset(4% 3% 4% 3% round 32px)) */
.wr .wr-anf {
  background: #ADFFCD !important;
  color: #3D382D !important;
  border-radius: 50px !important;
  margin: 4% 3%;
  overflow: hidden;
}

.wr .wr-anf__title,
.wr .wr-anf__where b {
  color: #3D382D;
}

.wr .wr-anf__where {
  color: rgba(61, 56, 45, 0.75);
  opacity: 1;
}

.wr .wr-anf__media {
  padding: 20px;
  border-radius: 50px;
  overflow: hidden;
}

.wr .wr-anf__media img {
  border-radius: 50px !important;
}

.wr .wr-anf__media::after {
  display: none;
}

.wr .wr-anf .wr-badges {
  border-top-color: rgba(61, 56, 45, 0.22);
}

.wr .wr-anf .wr-badges li {
  border-bottom-color: rgba(61, 56, 45, 0.22);
  color: #3D382D;
  opacity: 1;
}

/* Preloader: weiß, Wortmarke braun */
[data-preloader].wr-intro,
.master-preloader {
  background: #FFFFFF;
}

.wr-intro__logo {
  color: #3D382D;
}

.wr-intro__logo-ghost {
  opacity: 0.16;
}

/* Header auf hellen Flächen */
.site-header.is-scrolled {
  color: #3D382D;
}

.site-header.is-scrolled .btn--green {
  background: #ADFFCD !important;
  color: #3D382D !important;
}

/* Funnel */
.funnel {
  background: #FFFFFF;
  color: #3D382D;
  border-radius: var(--radius-card);
}

.funnel__progress {
  background: rgba(61, 56, 45, 0.1);
}

.funnel__progress-bar {
  background: #ADFFCD;
}

.grain-layer {
  opacity: 0.12;
}

.wr .wr-cta--ghost {
  color: #3D382D !important;
  border-color: rgba(61, 56, 45, 0.3) !important;
  background: transparent !important;
}

.wr .wr-cta--ghost:hover {
  background: #ADFFCD !important;
  border-color: #ADFFCD !important;
}

/* ==========================================================
   Client-Feedback 28.07: keine Verlaeufe, flaechig – Weissraum
   durchgaengig, kein Mint-Wash mehr auf Sektions-Hintergruenden.
   ========================================================== */

.wr-stats {
  background: #FFFFFF !important;
}

.variants {
  background: #FFFFFF !important;
}

.strip {
  background: #FFFFFF !important;
}

.pillars {
  background: #FFFFFF !important;
}

.process {
  background: #FFFFFF !important;
}

.answers {
  background: #FFFFFF !important;
}

#rendite,
#rendite section {
  background: #FFFFFF !important;
}

.wr .l-place-section {
  background: #FFFFFF !important;
}

[data-preloader].wr-intro,
.master-preloader {
  background: #FFFFFF;
}

.funnel {
  background: #FFFFFF;
}

#rendite .l-map,
.wr #l-map-sticky {
  background: transparent !important;
}

/* Das Rechenbeispiel schiebt sich ueber die gepinnten Ebene-Panels.
   Ohne eigene Stapelebene malen diese (position:sticky = positioniert)
   ueber seinen Hintergrund – die Karte schwebt dann ueber dem Foto. */
#rendite {
  position: relative;
  z-index: 9;
}

/* ---------- 2) Foto-Overlays heller: Gebaeude sichtbar ---------- */
/* Hero: Mitte fast klar, nur unten Halt fuer den Textblock */
.hero__scrim {
  background: rgba(30, 27, 20, 0.34) !important;
}

/* Szene (Vollbild-Foto mit Titel) */
.scene__dim {
  background: rgba(30, 27, 20, 0.35) !important;
}

/* ==========================================================
   FAKTEN-DECK — Spalten-Reveal ("Pixel-Cut") statt Slide
   Alle Panels liegen deckungsgleich auf einer gepinnten Buehne.
   Nichts bewegt sich: Das naechste Panel wird durch sechs
   Spalten freigelegt, die versetzt aufziehen (abwechselnd von
   unten und oben). anim.js setzt dafuer nur --p (0..1) je Panel.
   Buehnenlaenge bewusst kuerzer (320svh) fuer schnelleren Durchlauf
   bei 4 Bildern. Sticky-Stage nutzt lvh (nicht svh): auf iOS Safari bleibt die
   Buehne vollflaechig, wenn die Browserleiste beim Scrollen einklappt
   — sonst weisse Luecke unter dem Pixel-Cut.
   Identisch auf Desktop; mobil (≤991px) Stack ohne Pin — siehe
   docs/superpowers/specs/2026-07-30-place-deck-mobile-stack-design.md. ========== */
@media (min-width: 0px) {

  /* .wr stand auf overflow:hidden -> toetete position:sticky.
     overflow-x:clip beschneidet seitlich ohne Scroll-Container. */
  .wr.wr-deck-wrap {
    overflow-x: clip !important;
    overflow-y: visible !important;
    position: relative;
    z-index: 1;
    isolation: isolate;
  }

  .wr #place-section {
    /* 2 Panels, verkuerzte Scroll-Laenge */
    height: calc(320 * var(--svh, 1svh)) !important;
    margin-bottom: 0;
  }

  .wr #place-section::after {
    display: none !important;
  }

  .wr #place-section .deck-stage {
    /* Kein CSS-sticky: auf iOS klebt sticky am Visual-Viewport (Safari-Leiste)
       und springt. Pin laeuft in setupPlaceDeck per transform/fixed. */
    position: relative;
    top: auto;
    /* Hoehe wird in setupPlaceDeck einmal in px gesetzt. */
    height: calc(100 * var(--lvh, 1lvh));
    overflow: hidden;
  }

  .wr #place-section .l-place-stat {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }

  /* Spalten-Reveal: Desktop 6 (schmal, mehr Rhythmus), Mobil 4
     (breiter, ruhiger auf kleinem Screen — Kunden-Wunsch). Spalte i
     startet bei i * Schritt und braucht 0.48 Fortschritt. */
  @media (min-width: 768px) {
    .wr #place-section .l-place-stat[data-mask] {
      --p: 0;
      --c0: clamp(0, calc((var(--p) - 0.00) / 0.48), 1);
      --c1: clamp(0, calc((var(--p) - 0.07) / 0.48), 1);
      --c2: clamp(0, calc((var(--p) - 0.14) / 0.48), 1);
      --c3: clamp(0, calc((var(--p) - 0.21) / 0.48), 1);
      --c4: clamp(0, calc((var(--p) - 0.28) / 0.48), 1);
      --c5: clamp(0, calc((var(--p) - 0.35) / 0.48), 1);
      -webkit-mask-image:
        linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000),
        linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
      mask-image:
        linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000),
        linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-size:
        calc(100% / 6 + 1px) calc(var(--c0) * 100%), calc(100% / 6 + 1px) calc(var(--c1) * 100%),
        calc(100% / 6 + 1px) calc(var(--c2) * 100%), calc(100% / 6 + 1px) calc(var(--c3) * 100%),
        calc(100% / 6 + 1px) calc(var(--c4) * 100%), calc(100% / 6 + 1px) calc(var(--c5) * 100%);
      mask-size:
        calc(100% / 6 + 1px) calc(var(--c0) * 100%), calc(100% / 6 + 1px) calc(var(--c1) * 100%),
        calc(100% / 6 + 1px) calc(var(--c2) * 100%), calc(100% / 6 + 1px) calc(var(--c3) * 100%),
        calc(100% / 6 + 1px) calc(var(--c4) * 100%), calc(100% / 6 + 1px) calc(var(--c5) * 100%);
      /* abwechselnd von unten / von oben */
      -webkit-mask-position: 0% 100%, 20% 0%, 40% 100%, 60% 0%, 80% 100%, 100% 0%;
      mask-position: 0% 100%, 20% 0%, 40% 100%, 60% 0%, 80% 100%, 100% 0%;
    }
  }

  @media (max-width: 767px) {
    .wr #place-section .l-place-stat[data-mask] {
      --p: 0;
      --c0: clamp(0, calc((var(--p) - 0.0000) / 0.48), 1);
      --c1: clamp(0, calc((var(--p) - 0.1167) / 0.48), 1);
      --c2: clamp(0, calc((var(--p) - 0.2333) / 0.48), 1);
      --c3: clamp(0, calc((var(--p) - 0.3500) / 0.48), 1);
      -webkit-mask-image:
        linear-gradient(#000, #000), linear-gradient(#000, #000),
        linear-gradient(#000, #000), linear-gradient(#000, #000);
      mask-image:
        linear-gradient(#000, #000), linear-gradient(#000, #000),
        linear-gradient(#000, #000), linear-gradient(#000, #000);
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-size:
        calc(100% / 4 + 1px) calc(var(--c0) * 100%), calc(100% / 4 + 1px) calc(var(--c1) * 100%),
        calc(100% / 4 + 1px) calc(var(--c2) * 100%), calc(100% / 4 + 1px) calc(var(--c3) * 100%);
      mask-size:
        calc(100% / 4 + 1px) calc(var(--c0) * 100%), calc(100% / 4 + 1px) calc(var(--c1) * 100%),
        calc(100% / 4 + 1px) calc(var(--c2) * 100%), calc(100% / 4 + 1px) calc(var(--c3) * 100%);
      /* abwechselnd von unten / von oben */
      -webkit-mask-position: 0% 100%, 33.333% 0%, 66.667% 100%, 100% 0%;
      mask-position: 0% 100%, 33.333% 0%, 66.667% 100%, 100% 0%;
    }
  }

  /* ---- Key Facts: alle vier nebeneinander am unteren Bildrand ---- */
  .wr #place-section .l-place-facts {
    position: absolute;
    z-index: 10;
    left: clamp(20px, 4vw, 72px);
    right: clamp(96px, calc(3.8vw + 56px), 140px);
    bottom: clamp(36px, 7vh, 88px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 40px);
    pointer-events: none;
  }

  .wr #place-section .l-place-fact {
    min-width: 0;
    opacity: 0;
    transform: translateY(28px);
    /* Motion kommt aus setupPlaceDeck (Scroll-Scrub), kein CSS-Transition-Kampf */
    will-change: transform, opacity;
  }

  .wr #place-section .l-place-fact.is-in {
    opacity: 1;
    transform: none;
  }

  .wr #place-section .l-place-fact__num {
    margin: 0 0 14px;
    font-size: clamp(2.6rem, 5.5vw, 5.5rem);
    line-height: 0.88;
    letter-spacing: -0.035em;
    font-weight: 500;
    color: #FFFFFF;
    text-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  }

  .wr #place-section .l-place-fact__label {
    position: relative;
    margin: 0;
    padding-top: 16px;
    font-size: 0.84rem;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
  }

  .wr #place-section .l-place-fact__label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(173, 255, 205, 0.9);
  }

  /* Abdunklung nur dort, wo Text steht (Gebaeude bleiben frei) */
  .wr #place-section .l-place-stat .l-place-stat__dim {
    background: rgba(18, 15, 10, 0.34) !important;
  }

  /* Panel 1: Ruhezustand als schmales rundes Fenster */
  /* Panel 1: Start als schmales rundes Fenster (JS oeffnet zu flachem Vollbild) */
  /* Start-Clip setzt anim.js/kasel.js — kein CSS-Zwang, sonst Spalt oben */
  #l-place-sticky-1 .l-place-stat__bg,
  #l-place-sticky-1 .l-place-stat__dim {
    clip-path: none;
  }

  /* Letztes Panel: flach — keine Rundungs-Luecken */
  #l-place-sticky-2 .l-place-stat__bg,
  #l-place-sticky-2 .l-place-stat__dim {
    clip-path: none;
  }

  /* ---- Fortschritts-Leiste rechts (01 – 02) ---- */
  .deck-rail {
    position: absolute;
    z-index: 12;
    right: clamp(96px, calc(3.8vw + 56px), 140px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
    pointer-events: none;
  }

  .deck-rail__item {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
    transition: color 0.5s ease;
  }

  .deck-rail__item i {
    display: block;
    width: 36px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
    transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1), background 0.5s ease;
  }

  .deck-rail__item.is-active {
    color: #ADFFCD;
  }

  .deck-rail__item.is-active i {
    width: 88px;
    background: #ADFFCD;
  }

  .variants {
    position: relative;
    z-index: 8;
  }
}

@media (max-width: 991px) {
  /* Mobil: kein Pin/Scrub — Bild 1 scrollt weg, Facts auf Weiss darunter. */
  .wr #place-section {
    height: auto !important;
    margin-bottom: 0 !important;
    background: #FFFFFF !important;
  }

  .wr #place-section .deck-stage {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
  }

  .wr #place-section .l-place-stat {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .wr #place-section .l-place-stat[data-mask] {
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .wr #place-section #l-place-sticky-2,
  .wr #place-section .l-place-stat:nth-child(2) {
    display: none !important;
  }

  .wr #place-section #l-place-sticky-1 {
    height: min(78svh, 520px) !important;
    min-height: 220px;
    overflow: hidden;
  }

  .wr #place-section #l-place-sticky-1 .sticky__layer,
  .wr #place-section #l-place-sticky-1 .l-place-stat__panel,
  .wr #place-section #l-place-sticky-1 .l-place-stat__bg,
  .wr #place-section #l-place-sticky-1 .l-place-stat__dim {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .wr #place-section #l-place-sticky-1 .l-place-stat__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .wr #place-section #l-place-sticky-1 .l-place-stat__dim,
  .wr #place-section #l-place-sticky-1 .l-place-stat__bg::after {
    display: none !important;
  }

  .wr #place-section .deck-rail {
    display: none !important;
  }

  .wr #place-section .l-place-facts {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 2;
    margin: 0;
    padding: clamp(36px, 8vw, 56px) clamp(20px, 5vw, 28px) clamp(48px, 10vw, 72px);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(28px, 6vw, 40px);
    align-content: start;
    background: #FFFFFF;
    pointer-events: auto;
  }

  .wr #place-section .l-place-fact {
    opacity: 0;
    transform: translateY(16px);
    will-change: auto;
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .wr #place-section .l-place-fact.is-in {
    opacity: 1;
    transform: none;
  }

  .wr #place-section .l-place-fact__num {
    margin: 0 0 12px;
    font-size: clamp(2.65rem, 12vw, 3.4rem);
    line-height: 0.9;
    color: #3D382D;
    text-shadow: none;
  }

  .wr #place-section .l-place-fact__label {
    position: relative;
    margin: 0;
    padding-top: 12px;
    font-size: 0.86rem;
    line-height: 1.4;
    letter-spacing: 0.12em;
    font-weight: 600;
    text-transform: uppercase;
    color: #3D382D;
    text-shadow: none;
  }

  .wr #place-section .l-place-fact__label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 4px;
    border-radius: 999px;
    background: rgba(173, 255, 205, 0.95);
  }
}

/* Ebene-Deck (1–5): Flat-Abdunklung fast weg, Verlauf sanft */
.wr .l-place-stat__bg::after {
  background: rgba(20, 17, 12, 0.08) !important;
}

.wr .l-place-stat .l-place-stat__dim {
  background: rgba(10, 6, 4, 0.03) !important;
}

@media (max-width: 979px) {
  .wr .l-place-stat .l-place-stat__dim {
    background: rgba(10, 6, 4, 0.05) !important;
  }
}

/* ==========================================================
   Header als schwebende Pille (pecuria.de-Muster)
   Hero: PC Green mit braunem Lockup – danach: PC Brown mit
   gruenem Lockup. Zustandswechsel setzt anim.js (.is-brown).
   ========================================================== */
.site-header {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #3D382D !important;
  pointer-events: none;
  /* nur die Pille faengt Klicks */
}

.site-header__inner {
  pointer-events: auto;
  max-width: min(1400px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px 14px 10px 30px !important;
  border-radius: 36px;
  background: #ADFFCD;
  color: #3D382D;
  box-shadow: 0 20px 44px -30px rgba(61, 56, 45, 0.55);
  transition: background 0.45s ease, color 0.45s ease, max-width 0.45s ease;
  align-items: center;
}

.site-header.is-brown .site-header__inner {
  background: #3D382D;
  color: #FFFFFF;
}

/* Lockup: auf Mint braun, auf Braun gruen */
.site-header .logo-light {
  display: none !important;
}

.site-header .logo-dark {
  display: block !important;
}

.site-header.is-brown .logo-light {
  display: block !important;
}

.site-header.is-brown .logo-dark {
  display: none !important;
}

.site-header__logo {
  width: 132px;
}

/* Navigation */
.site-header__nav {
  gap: 30px;
}

.site-header__nav a {
  position: relative;
  color: inherit;
  opacity: 1;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: nowrap;
}

.site-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-header__nav a:hover {
  color: inherit !important;
}

.site-header__nav a:hover::after {
  transform: scaleX(1);
}

.site-header.is-brown .site-header__nav a:hover::after {
  background: #ADFFCD;
}

.site-header.is-brown .site-header__nav a:hover {
  color: #ADFFCD !important;
}

/* CTA in der Pille — Typo wie Menülinks, wenig Abstand zur Pille */
.site-header__cta .btn--green,
.site-header.is-scrolled .btn--green {
  background: #3D382D !important;
  color: #FFFFFF !important;
  padding: 12px 22px !important;
  border-radius: 999px;
  font-size: 1.15rem !important;
  font-weight: 600;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  transition: color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-brown .site-header__cta .btn--green,
.site-header.is-brown.is-scrolled .btn--green {
  background: transparent !important;
  color: #FFFFFF !important;
  box-shadow: inset 0 0 0 1.5px #FFFFFF;
}

/* Hover: nur Schrift + Rand auf Mint — kein Hintergrundwechsel */
.site-header__cta .btn--green:hover,
.site-header.is-scrolled .btn--green:hover {
  background: #3D382D !important;
  color: #ADFFCD !important;
  box-shadow: inset 0 0 0 1.5px #ADFFCD;
}

.site-header.is-brown .site-header__cta .btn--green:hover,
.site-header.is-brown.is-scrolled .btn--green:hover {
  background: transparent !important;
  color: #ADFFCD !important;
  box-shadow: inset 0 0 0 1.5px #ADFFCD;
}

.site-header .btn--green::after {
  display: none;
}

@media (max-width: 1099px) {
  .site-header__nav {
    gap: 20px;
  }

  .site-header__nav a {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .site-header__inner {
    padding-left: 20px !important;
  }

  .site-header__cta .btn--green,
  .site-header.is-scrolled .btn--green {
    font-size: 0.64rem !important;
    letter-spacing: 0.12em !important;
    padding: 10px 16px !important;
  }
}

@media (max-width: 767px) {
  .site-header__inner {
    max-width: calc(100% - 20px);
    margin-top: 10px;
    padding: 6px 6px 6px 18px !important;
    grid-template-columns: auto 1fr;
    gap: 10px;
  }

  .site-header__logo {
    width: 104px;
  }

  .site-header__cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  /* Top-Navbar-CTA nur Desktop; mobil reicht Burger + Mobile-Menü-CTA */
  .site-header__cta>.js-open-funnel {
    display: none !important;
  }
}

/* ---------- Mobile-Burger + Menue-Overlay ---------- */
.site-header__burger {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #3D382D;
  /* explizit: Buttons erben sonst oft System-Blau */
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
  pointer-events: auto;
  transition: color 0.3s ease, background 0.3s ease;
}

.site-header.is-brown .site-header__burger,
.site-header:not(.is-brown) .site-header__burger {
  background: rgba(61, 56, 45, 0.1);
}

.site-header.is-brown .site-header__burger {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.site-header__burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.site-header__burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__burger.is-active span:nth-child(2) {
  opacity: 0;
}

.site-header__burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: #FFFFFF;
  color: #3D382D;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  padding: 100px 32px 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0s;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav__links a {
  padding: 16px 4px;
  border-bottom: 1px solid rgba(61, 56, 45, 0.14);
  font-size: 1.6rem;
  font-weight: 600;
  color: #3D382D;
  text-decoration: none;
}

.mobile-nav__links a:active {
  color: #2A6B4A;
}

.mobile-nav__cta {
  align-self: stretch;
  justify-content: center;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .site-header__burger {
    display: flex;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }
}

/* ==========================================================
   Destatis-Datenband — Editorial
   Grosse Kernzahl als Anker, breite Kurve (zeichnet sich beim
   Scrollen), darunter Balken als Groessenvergleich.
   ========================================================== */
.markt-data .mkt__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(61, 56, 45, 0.16);
}

.markt-data .mkt__head-note {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(61, 56, 45, 0.5);
}

.markt-data .mkt__title {
  margin: clamp(28px, 4vw, 48px) 0 0;
  max-width: 18ch;
  font-size: clamp(2.1rem, 4.6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.016em;
  font-weight: 500;
  color: #3D382D;
}

.markt-data .mkt__lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(24px, 4vw, 72px);
  margin-top: clamp(28px, 3.5vw, 48px);
}

.markt-data .mkt__claim {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: #3D382D;
}

.markt-data .mkt__figure {
  text-align: right;
}

.markt-data .mkt__value {
  margin: 0;
  font-size: clamp(4.2rem, 11vw, 11rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: #3D382D;
  font-variant-numeric: tabular-nums;
}

.markt-data .mkt__value em {
  font-style: normal;
  font-size: 0.26em;
  letter-spacing: 0.02em;
  margin-left: 0.12em;
}

.markt-data .mkt__delta {
  margin: 18px 0 0;
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: #ADFFCD;
  color: #3D382D;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---- Kurve ---- */
.markt-data .mkt__chart {
  margin: clamp(28px, 4vw, 56px) 0 0;
  padding: 0;
}

.markt-data .mkt__chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.markt-data .mkt-grid line {
  stroke: rgba(61, 56, 45, 0.12);
  stroke-width: 1;
}

.markt-data .mkt-grid line.mkt-grid--base {
  stroke: rgba(61, 56, 45, 0.3);
}

.markt-data .mkt-grid text {
  font-size: 13px;
  fill: rgba(61, 56, 45, 0.45);
  font-variant-numeric: tabular-nums;
}

.markt-data .mkt-split line {
  stroke: rgba(61, 56, 45, 0.2);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.markt-data .mkt-split text {
  font-size: 11px;
  letter-spacing: 2.4px;
  fill: rgba(61, 56, 45, 0.45);
  font-weight: 600;
}

.markt-data .mkt-area {
  fill: #ADFFCD;
  fill-opacity: .25;
}

.markt-data .mkt-line {
  fill: none;
  stroke: #3D382D;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.markt-data .mkt-line--forecast {
  stroke-dasharray: 1 9;
  opacity: 0.7;
}

.markt-data .mkt-dot {
  fill: #3D382D;
  stroke: #FFFFFF;
  stroke-width: 2.5;
}

.markt-data .mkt-dot--end {
  fill: #ADFFCD;
  stroke: #3D382D;
  stroke-width: 3;
}

.markt-data .mkt-label {
  font-size: 15px;
  font-weight: 600;
  fill: #3D382D;
  font-variant-numeric: tabular-nums;
}

.markt-data .mkt-label--end {
  font-size: 19px;
}

.markt-data .mkt-axis text {
  font-size: 13px;
  fill: rgba(61, 56, 45, 0.55);
  font-variant-numeric: tabular-nums;
}

/* Hover-Ebene (nur Zeigergeraete, per JS geschaltet) */
.markt-data .mkt-hover {
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.markt-data .mkt-hover.is-on {
  opacity: 1;
}

.markt-data .mkt-cross {
  stroke: rgba(61, 56, 45, 0.35);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.markt-data .mkt-cross-dot {
  fill: #ADFFCD;
  stroke: #3D382D;
  stroke-width: 3;
}

.markt-data .mkt-tip rect {
  fill: #3D382D;
}

.markt-data .mkt-tip__year {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  fill: rgba(255, 255, 255, 0.65);
}

.markt-data .mkt-tip__val {
  font-size: 17px;
  font-weight: 600;
  fill: #ADFFCD;
}

/* ---- Balkenvergleich ---- */
.markt-data .mkt__bars {
  list-style: none;
  margin: clamp(30px, 4vw, 56px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: none;
}

.markt-data .mkt-bar {
  display: grid;
  /* Feste Wert-Spalte: sonst macht das Prognose-Label den 2055-Track schmaler */
  grid-template-columns: 68px minmax(0, 1fr) 8.5rem;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: 0;
  border-bottom: none;
}

.markt-data .mkt-bar__year {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(61, 56, 45, 0.55);
  font-variant-numeric: tabular-nums;
}

.markt-data .mkt-bar__track {
  display: block;
  height: 36px;
  border-radius: 999px;
  background: rgba(61, 56, 45, 0.07);
  overflow: hidden;
}

.markt-data .mkt-bar__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #ADFFCD;
  transform-origin: left center;
}

.markt-data .mkt-bar--forecast .mkt-bar__fill {
  background: #ADFFCD;
}

.markt-data .mkt-bar__val {
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  font-weight: 500;
  color: #3D382D;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}

.markt-data .mkt-bar__val em {
  display: block;
  font-style: normal;
  font-size: 0.44em;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(61, 56, 45, 0.5);
}

.markt-data .mkt__source {
  margin: 22px 0 0;
  font-size: 0.76rem;
  line-height: 1.6;
  color: rgba(61, 56, 45, 0.5);
  max-width: 62ch;
}

@media (max-width: 767px) {
  .markt-data .mkt__lead {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }

  .markt-data .mkt__figure {
    text-align: left;
  }

  .markt-data .mkt__head {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .markt-data .mkt-bar {
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas: "year val" "bar bar";
    gap: 10px 14px;
    row-gap: 12px;
  }

  .markt-data .mkt-bar__year {
    grid-area: year;
  }

  .markt-data .mkt-bar__val {
    grid-area: val;
    justify-self: end;
    text-align: right;
  }

  .markt-data .mkt-bar__track {
    grid-area: bar;
    height: 30px;
  }

  /* Kurve inkl. Vorausberechnungs-Punkt (6,8 Mio. / 2055) muss ohne
     Wischen komplett sichtbar sein — volle Breite statt fixer 680px mit
     Scroll-Container. Schriftgroessen entsprechend hochskaliert, damit
     sie beim staerkeren Herunterskalieren (voller Viewport statt 680px)
     lesbar bleiben. */
  .markt-data .mkt-label {
    font-size: 40px;
  }

  .markt-data .mkt-label--end {
    font-size: 50px;
  }

  .markt-data .mkt-grid text,
  .markt-data .mkt-axis text {
    font-size: 36px;
  }

  .markt-data .mkt-split text {
    font-size: 30px;
    letter-spacing: 1.4px;
  }

  /* "2021" sitzt zu dicht an "2023" (nur 52 SVG-Einheiten Abstand) — bei
     der groesseren Mobile-Schrift ueberlappen sich beide Jahreszahlen.
     Der Datenpunkt bleibt in der Kurve sichtbar, nur das Jahres-Label
     faellt weg. */
  .markt-data .mkt-axis text:nth-child(2) {
    display: none;
  }
}

/* ==========================================================
   HERO — Masthead
   Eine Aussage, drei Kennzahlen, eine Handlung. Die uebrigen
   Briefing-Details tragen die Sektionen darunter.
   ========================================================== */
.hero {
  display: flex;
  flex-direction: column;
}

.hero__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 140px !important;
  padding-bottom: clamp(20px, 3vh, 34px) !important;
}

/* Ortsmarke */
.hero__place {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(18px, 3vh, 32px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.hero__place i {
  display: block;
  width: clamp(28px, 4vw, 56px);
  height: 1px;
  background: #ADFFCD;
  transform-origin: left center;
}

/* Aussage */
.hero .hero__title {
  flex: none;
  /* alte Zeilen-Layout-Regel aus site.css aufheben */
  max-width: 18ch;
  margin: 0;
  /* dezent kleiner (Kundenfeedback) — nur H1, sonst unverändert */
  font-size: clamp(2.35rem, 5.5vw, 5.1rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.03em !important;
  font-weight: 500;
  color: #FFFFFF;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero .hero__title .split-line {
  padding-bottom: 0.06em;
}

/* Kennzahlen — 2×2 Grid (Mobile + Desktop) */
.hero__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(16px, 2.5vw, 36px);
  row-gap: clamp(14px, 2vh, 22px);
  align-items: start;
  margin: clamp(26px, 4.5vh, 52px) 0 0;
  max-width: 36rem;
}

.hero__facts .hero-fact {
  padding: 2px 0;
  margin: 0;
  border: 0;
}

.hero__facts .hero-fact:nth-child(odd) {
  padding-right: clamp(16px, 2.5vw, 36px);
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.hero__facts dt {
  margin: 0 0 8px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero__facts dd {
  margin: 0;
  font-size: clamp(1.15rem, 2.1vw, 1.9rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}

.hero__facts dd:has(.hero-fact__primary) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28em;
}

.hero-fact__primary {
  display: block;
}

.hero-fact__secondary {
  display: block;
  font-size: 0.58em;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  opacity: 0.72;
}

.hero__facts .hero-fact:first-child dd {
  color: #ADFFCD;
}

.hero-fact__short {
  display: none;
}

/* Handlung */
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 26px);
  margin-top: clamp(26px, 4vh, 46px);
}

.hero__actions .btn--lg {
  padding: 20px 34px;
}

.hero__note {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

/* Fusszeile: Pruefsiegel links, Galerie rechts */
.hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px !important;
  padding-bottom: clamp(18px, 3vh, 30px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: clamp(16px, 3vh, 30px);
}

.hero__trust {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero__gallery {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.hero__count {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
}

.hero__count b {
  color: #FFFFFF;
  font-weight: 600;
}

.hero__progress {
  display: block;
  width: clamp(52px, 8vw, 108px);
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.hero__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: #ADFFCD;
  transform-origin: left center;
  transform: scaleX(0);
}

.hero__nav-btns {
  display: flex;
  gap: 8px;
  padding-bottom: 0;
}

.hero__nav-btns button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.hero__nav-btns button svg {
  width: 16px;
  height: 16px;
}

.hero__nav-btns button:hover {
  background: #ADFFCD;
  border-color: #ADFFCD;
  color: #3D382D;
}

/* Ken Burns: das aktive Bild atmet leicht (gedrosselt, Motiv bleibt lesbar) */
.hero__slide {
  transform: scale(1);
  transition: opacity 1.4s ease-out;
}

.hero__slide.is-active {
  animation: heroKen 8s ease-out forwards;
}

@keyframes heroKen {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.04);
  }
}

@media (max-width: 767px) {

  /* Weniger Zoom: kein Ken-Burns, kein Slide-Ueberstand */
  .hero--stage .hero__slides {
    inset: 0 !important;
    transform: none;
    transform-origin: 50% 100%;
  }

  .hero__slides {
    inset: 0 !important;
  }

  .hero__slide {
    transform: none;
    /* Hoeher als Cover → vertikaler Pan-Spielraum (--hero-pos-y via GSAP) */
    --hero-pos-y: 88%;
    background-size: auto 145% !important;
    background-position: center var(--hero-pos-y) !important;
  }

  .hero__slide.is-active {
    animation: none;
  }

  /* Unterer Rand etwas dichter: Text sitzt hier direkt auf dem Foto */
  .hero__scrim {
    background: rgba(30, 27, 20, 0.34) !important;
  }

  /* Auf der Stage steuert der Media-Spacer / Stage-Padding den Abstand */
  .hero--stage .hero__body {
    padding-top: 0 !important;
  }

  .hero .hero__title {
    font-size: clamp(2.1rem, 9.4vw, 3rem) !important;
    max-width: 16ch;
  }

  .hero__place {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    gap: 10px;
  }

  .hero__facts {
    margin-top: 24px;
    max-width: none;
    column-gap: 14px;
    row-gap: 14px;
  }

  .hero__facts .hero-fact:nth-child(odd) {
    padding-right: 14px;
  }

  .hero__facts dt {
    font-size: 0.54rem;
    letter-spacing: 0.14em;
    margin-bottom: 5px;
  }

  .hero__facts dd {
    font-size: 1.02rem;
  }

  .hero-fact__full {
    display: none;
  }

  .hero-fact__short {
    display: inline;
  }

  .hero__actions {
    margin-top: 32px;
    gap: 12px;
  }

  .hero__actions .btn--lg {
    width: 100%;
    justify-content: center;
    padding: 17px 22px;
  }

  .hero__note {
    font-size: 0.66rem;
  }

  .hero__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero__trust {
    font-size: 0.56rem;
    letter-spacing: 0.12em;
    line-height: 1.7;
  }

  .hero__gallery {
    align-self: flex-end;
    gap: 12px;
  }

  .hero__nav-btns button {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-active {
    animation: none;
  }
}

/* ==========================================================
   VARIANTEN — Vergleich statt zweier gleicher Karten
   Kaufpreis ist der Anker, die Flaechen liegen auf einer
   gemeinsamen Skala (40–95 m²), damit der Unterschied
   sichtbar und nicht nur lesbar ist.
   ========================================================== */
.variants .vari__head {
  max-width: 52ch;
  margin-bottom: clamp(38px, 6vw, 78px);
}

.variants .vari__claim {
  margin: 16px 0 0;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: #3D382D;
}

.variants .vari__intro {
  margin: 18px 0 0;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(61, 56, 45, 0.72);
}

.variants .vari__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 84px);
}

/* Trennlinie mittig im Zwischenraum – so bleiben beide Spalten gleich breit */
.variants .vari__grid::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(61, 56, 45, 0.16);
}

.variants .vari-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* Kinder fuellen die Spaltenbreite */
  min-width: 0;
}

.variants .vari-col>* {
  max-width: 100%;
}

.variants .vari-col__cta {
  margin-top: auto;
  align-self: flex-start;
}

/* Bild: Spalten-Reveal wie im Fakten-Deck (einmalig) */
.variants .vari-col__media {
  --p: 0;
  --v0: clamp(0, calc(var(--p) / 0.62), 1);
  --v1: clamp(0, calc((var(--p) - 0.19) / 0.62), 1);
  --v2: clamp(0, calc((var(--p) - 0.38) / 0.62), 1);
  position: relative;
  margin: 0 0 clamp(22px, 3vw, 34px);
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
  mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size:
    calc(100% / 3 + 1px) calc(var(--v0) * 100%),
    calc(100% / 3 + 1px) calc(var(--v1) * 100%),
    calc(100% / 3 + 1px) calc(var(--v2) * 100%);
  mask-size:
    calc(100% / 3 + 1px) calc(var(--v0) * 100%),
    calc(100% / 3 + 1px) calc(var(--v1) * 100%),
    calc(100% / 3 + 1px) calc(var(--v2) * 100%);
  -webkit-mask-position: 0% 100%, 50% 0%, 100% 100%;
  mask-position: 0% 100%, 50% 0%, 100% 100%;
}

.variants .vari-col__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Kopfzeile der Spalte */
.variants .vari-col__index {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 clamp(20px, 3vw, 30px);
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #3D382D;
}

.variants .vari-col__index {
  flex-wrap: wrap;
}

.variants .vari-col__index span {
  flex: none;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(61, 56, 45, 0.42);
  font-variant-numeric: tabular-nums;
}

/* Anker: Kaufpreis */
.variants .vari-col__price {
  margin: 0;
}

.variants .vari-col__price em {
  display: block;
  margin-bottom: 10px;
  font-style: normal;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(61, 56, 45, 0.5);
}

.variants .vari-col__price b {
  display: block;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: #3D382D;
  font-variant-numeric: tabular-nums;
}

.variants .vari-col__rent {
  margin: 14px 0 0;
  font-size: 0.98rem;
  color: rgba(61, 56, 45, 0.66);
}

.variants .vari-col__rent b {
  font-weight: 600;
  color: #3D382D;
  font-variant-numeric: tabular-nums;
}

.variants .vari-col__rent--stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28em;
}

.variants .vari-col__rent--stack em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(61, 56, 45, 0.5);
}

.variants .vari-col__rent--stack b {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.variants .vari-col__rent-month {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(61, 56, 45, 0.62);
  font-variant-numeric: tabular-nums;
}

/* Gemeinsame Flaechenskala */
.variants .vari-scale {
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(61, 56, 45, 0.14);
}

.variants .vari-scale__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}

.variants .vari-scale__head span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(61, 56, 45, 0.5);
}

.variants .vari-scale__head b {
  font-size: 1rem;
  font-weight: 600;
  color: #3D382D;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.variants .vari-scale__track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(61, 56, 45, 0.08);
  overflow: hidden;
}

.variants .vari-scale__track i {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: #ADFFCD;
  transform: scaleX(0);
  transform-origin: left center;
}

.variants .vari-col+.vari-col .vari-scale__track i {
  background: #ADFFCD;
}

.variants .vari-scale__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(61, 56, 45, 0.4);
}

.variants .vari-col__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: clamp(22px, 3vw, 30px) 0 clamp(24px, 3.5vw, 36px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(61, 56, 45, 0.62);
}

.variants .vari-col__note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ADFFCD;
  flex: none;
}

/* Textlink statt drittem Kasten-Button */
.variants .vari-col__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(24px, 3.5vw, 36px);
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(61, 56, 45, 0.3);
  background: none;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #3D382D;
  cursor: pointer;
  transition: border-color 0.35s ease, gap 0.35s ease;
}

.variants .vari-col__cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s ease;
}

.variants .vari-col__cta:hover {
  border-color: #3D382D;
}

.variants .vari-col__cta:hover svg {
  transform: translateX(5px);
}

@media (max-width: 767px) {
  .variants .vari__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .variants .vari__grid::after {
    display: none;
  }

  .variants .vari-col+.vari-col {
    padding-top: 36px;
    border-top: 1px solid rgba(61, 56, 45, 0.16);
  }

  .variants .vari-col__cta {
    margin-top: 26px;
  }

  .variants .vari-col__media {
    aspect-ratio: 3 / 2;
    border-radius: var(--radius-card);
  }

  .variants .vari-scale__head {
    flex-direction: column;
    gap: 6px;
  }

  .variants .vari-col__cta {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================
   HERO — dauerhafte Bewegung
   1) Bildwechsel als Spalten-Reveal (gleiche Sprache wie das Deck)
   2) Bildunterschrift wechselt mit
   3) Mint-Unterstreichung zeichnet sich nach dem Titel
   4) Zeigerparallaxe (nur Desktop, sehr fein)
   ========================================================== */
.hero__slides {
  inset: -12px !important;
}

/* Ueberstand fuer Ken Burns / Parallaxe */

.hero__slide {
  --p: 1;
  --s0: clamp(0, calc(var(--p) / 0.58), 1);
  --s1: clamp(0, calc((var(--p) - 0.06) / 0.58), 1);
  --s2: clamp(0, calc((var(--p) - 0.12) / 0.58), 1);
  --s3: clamp(0, calc((var(--p) - 0.18) / 0.58), 1);
  --s4: clamp(0, calc((var(--p) - 0.24) / 0.58), 1);
  --s5: clamp(0, calc((var(--p) - 0.30) / 0.58), 1);
  -webkit-mask-image:
    linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000),
    linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
  mask-image:
    linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000),
    linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size:
    calc(100% / 6 + 1px) calc(var(--s0) * 100%), calc(100% / 6 + 1px) calc(var(--s1) * 100%),
    calc(100% / 6 + 1px) calc(var(--s2) * 100%), calc(100% / 6 + 1px) calc(var(--s3) * 100%),
    calc(100% / 6 + 1px) calc(var(--s4) * 100%), calc(100% / 6 + 1px) calc(var(--s5) * 100%);
  mask-size:
    calc(100% / 6 + 1px) calc(var(--s0) * 100%), calc(100% / 6 + 1px) calc(var(--s1) * 100%),
    calc(100% / 6 + 1px) calc(var(--s2) * 100%), calc(100% / 6 + 1px) calc(var(--s3) * 100%),
    calc(100% / 6 + 1px) calc(var(--s4) * 100%), calc(100% / 6 + 1px) calc(var(--s5) * 100%);
  -webkit-mask-position: 0% 100%, 20% 0%, 40% 100%, 60% 0%, 80% 100%, 100% 0%;
  mask-position: 0% 100%, 20% 0%, 40% 100%, 60% 0%, 80% 100%, 100% 0%;
  transition: none;
  /* Wechsel laeuft ueber die Maske */
}

/* Mint-Unterstreichung im Claim */
.hero__mark {
  position: relative;
  display: inline-block;
}

.hero__mark i {
  position: absolute;
  left: 0;
  right: 0.06em;
  bottom: 0.1em;
  height: 4px;
  border-radius: 4px;
  background: #ADFFCD;
  /* Ruhezustand = gezeichnet. Sonst bliebe die Linie unsichtbar,
     wenn die Intro-Animation wegen spaeter JS-Bereitschaft entfaellt. */
  transform: scaleX(1);
  transform-origin: left center;
}

/* Bildunterschrift neben dem Zaehler */
.hero__caption {
  display: block;
  overflow: hidden;
  max-width: 32ch;
  height: 1.35em;
  margin-right: 4px;
}

.hero__caption i {
  display: block;
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

@media (max-width: 767px) {
  .hero__caption {
    max-width: 22ch;
  }

  .hero__caption i {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .hero__mark i {
    height: 3px;
  }
}

/* ==========================================================
   HERO v3 — Type-first mit Bildfenster
   Ruhe: helle Marken-Flaeche, Aussage in PC Brown, das Foto
   sitzt in einem gerundeten Fenster. Beim Scrollen oeffnet
   sich das Fenster (clip-path) zum Vollbild und uebergibt an
   die Szene. Kein WebGL – nur Clip + Transform.
   ========================================================== */
/* Buehnenlaenge: 1 Viewport zum Oeffnen, 1 Viewport fuer die Uebergabe
   an die Markt-Sektion (die per ovl-hold darueberfaehrt). */
@media (min-width: 768px) {
  .hero-scroll-area {
    height: 300svh !important;
  }
}

.hero--stage {
  background: #FFFFFF !important;
  color: #3D382D;
}

/* Medien-Ebene: immer vollflaechig, sichtbar nur im Fenster */
.hero--stage .hero__media {
  position: absolute;
  inset: 0;
  z-index: 5;
  /* Ueber Headline/Body, damit Scroll-Expand Text ueberdeckt */
  /* Radius identisch mit dem JS-Zielwert (setupHeroExit, --radius-card) — GSAP
     interpoliert den Rundungs-Wert im clip-path sonst nicht sauber
     linear (kurzes "Zuspitzen" mitten im Scroll, bevor er wieder
     aufrundet). Gleicher Wert an beiden Enden = nichts zu interpolieren. */
  clip-path: inset(17% 4% 15% 51% round 32px);
  will-change: clip-path;
  pointer-events: none;
}

.hero--stage .hero__slides {
  inset: -12px !important;
}

.hero--stage .hero__scrim {
  background: rgba(30, 27, 20, 0.28) !important;
}

.hero--stage .hero__reveal-title {
  position: absolute;
  left: clamp(40px, 5.5vw, 72px);
  bottom: clamp(56px, 9vh, 110px);
  z-index: 4;
  margin: 0;
  max-width: min(18ch, 72%);
  color: #fff;
  font-family: inherit;
  font-size: clamp(2.6rem, 6.2vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  will-change: transform;
}

@media (max-width: 1023px) {
  .hero--stage .hero__reveal-title {
    left: 28px;
    bottom: 48px;
    font-size: clamp(2.05rem, 8vw, 2.9rem);
    max-width: min(14ch, 82%);
  }
}

/* Text steht auf heller Flaeche */
.hero--stage .hero__body {
  z-index: 3;
  max-width: 100%;
}

.hero--stage .hero__body>* {
  max-width: min(46vw, 780px);
}

.hero--stage .hero__place {
  color: rgba(61, 56, 45, 0.72);
  text-shadow: none;
}

.hero--stage .hero__place i {
  background: #3D382D;
}

.hero--stage .hero__title {
  color: #3D382D;
  text-shadow: none;
  max-width: 15ch;
  font-size: clamp(2.35rem, 5vw, 4.75rem) !important;
}

.hero--stage .hero__mark {
  isolation: isolate;
}

.hero--stage .hero__mark i {
  background: #ADFFCD;
  height: 0.42em;
  bottom: 0.06em;
  border-radius: 3px;
  z-index: -1;
  /* Marker liegt hinter der Schrift */
}

.hero--stage .hero__facts .hero-fact {
  border-right-color: rgba(61, 56, 45, 0.2);
}

.hero--stage .hero__facts dt {
  color: rgba(61, 56, 45, 0.5);
  text-shadow: none;
}

.hero--stage .hero__facts dd {
  color: #3D382D;
  text-shadow: none;
}

.hero--stage .hero__facts .hero-fact:first-child dd {
  color: #3D382D;
}

.hero--stage .hero__note {
  color: rgba(61, 56, 45, 0.62);
  text-shadow: none;
}

.hero--stage .btn--green {
  background: var(--pc-brown) !important;
  color: #FFFFFF !important;
}

/* Liquid-Fill wie überall, aber Mint statt Weiß als Endfarbe */
.hero--stage .btn--green::after {
  background: #ADFFCD;
}

@media (min-width: 992px) {
  .hero--stage .btn--green:hover {
    color: var(--pc-brown) !important;
  }
}

/* Fusszeile hell */
.hero--stage .hero__foot {
  z-index: 3;
  border-top-color: rgba(61, 56, 45, 0.16);
}

.hero--stage .hero__trust {
  color: rgba(61, 56, 45, 0.5);
  text-shadow: none;
}

.hero--stage .hero__caption i {
  color: rgba(61, 56, 45, 0.6);
  text-shadow: none;
}

.hero--stage .hero__count {
  color: rgba(61, 56, 45, 0.45);
}

.hero--stage .hero__count b {
  color: #3D382D;
}

.hero--stage .hero__progress {
  background: rgba(61, 56, 45, 0.16);
}

.hero--stage .hero__nav-btns button {
  border-color: rgba(61, 56, 45, 0.3);
  color: #3D382D;
}

.hero--stage .hero__nav-btns button:hover {
  background: #3D382D;
  border-color: #3D382D;
  color: #FFFFFF;
}

/* Schmalere Viewports: Clip-Fenster bleibt (Scroll oeffnet Bild),
   Eyebrow darunter via Spacer in Container-Einheiten (= Hero-Hoehe). */
.hero--stage .hero__media-spacer {
  display: none;
}

@media (max-width: 1023px) {

  /* Inhalt darf wachsen — kein starres 100svh-Korsett mehr */
  .hero--stage {
    height: auto;
    min-height: 100svh;
    max-height: none;
  }

  .hero--stage .hero__body>* {
    max-width: 100%;
  }

  /* Bildfenster bleibt viewport-hoch, waechst nicht mit dem Hero mit
     (sonst wuerde clip-% die Eyebrow wieder ueberdecken). */
  .hero--stage .hero__media {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: auto;
    height: 100svh;
    clip-path: inset(14% 5% 52% 5% round 28px);
  }

  /* Tablet: kein Extra-Zoom, unten ausrichten */
  .hero--stage .hero__slides {
    transform: none;
    transform-origin: 50% 100%;
  }

  .hero--stage .hero__slide {
    --hero-pos-y: 88%;
    background-size: auto 145% !important;
    background-position: center var(--hero-pos-y) !important;
  }

  /* Volle Wrap-Breite: gleicher Abstand links/rechts wie --gutter */
  .hero--stage .hero__title {
    max-width: none;
  }

  .hero--stage .hero__body {
    justify-content: flex-start;
    padding-top: 0 !important;
    padding-bottom: 20px !important;
  }

  /* Fenster endet bei 48% von 100svh. Nur svh — kein cqh (iOS/Safari). */
  .hero--stage .hero__media-spacer {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: calc(48svh + 56px);
    pointer-events: none;
    visibility: hidden;
  }

  .hero--stage .hero__place {
    margin-top: 8px;
    margin-bottom: 12px;
    color: rgba(61, 56, 45, 0.78);
  }

  .hero--stage .hero__facts {
    margin-top: 16px;
  }

  .hero--stage .hero__actions {
    margin-top: 16px;
  }
}

@media (max-width: 767px) {
  html,
  body {
    overflow-x: clip;
  }

  /* Wie Salzmann: 200svh Sticky-Laufweg → Clip oeffnet ueber ~100svh Scroll */
  .hero-scroll-area {
    height: 200svh !important;
  }

  .hero,
  .hero--stage {
    position: sticky !important;
    top: 0;
    height: 100svh !important;
    min-height: 100svh !important;
    overflow: hidden !important;
  }

  .hero--stage .hero__media {
    clip-path: inset(11% 4% 58% 4% round 32px);
  }

  .hero--stage .hero__slides {
    transform: none;
    transform-origin: 50% 100%;
    inset: 0 !important;
  }

  .hero--stage .hero__slide {
    --hero-pos-y: 88%;
    background-size: auto 145% !important;
    background-position: center var(--hero-pos-y) !important;
  }

  .hero--stage .hero__media-spacer {
    display: none !important;
    height: 0 !important;
    order: 0;
  }

  .hero--stage .hero__body {
    /* Unterkante Bildfenster bei ~42svh; Headline klar darunter */
    padding-top: calc(42svh + 24px) !important;
    padding-bottom: 8px !important;
  }

  .hero--stage .hero__title {
    order: 1;
    margin-top: 6px;
    font-size: clamp(1.85rem, 8vw, 2.5rem) !important;
    max-width: none;
  }

  .hero--stage .hero__place {
    order: 2;
    margin-top: 12px;
    margin-bottom: 0;
  }

  .hero--stage .hero__facts {
    order: 3;
    margin-top: 14px;
  }

  .hero--stage .hero__actions {
    order: 4;
    margin-top: 18px;
  }

  .hero--stage .hero__foot {
    padding-block: 10px !important;
    margin-top: 8px !important;
  }
}

/* ==========================================================
   HERO-Buehne: Fallback ohne Animations-Engine
   Greift bei prefers-reduced-motion UND wenn GSAP/ScrollTrigger
   nicht rechtzeitig bereitstehen (anim.js setzt dann .no-js-anim
   auf <html>, siehe killIntroStatic). Ohne das bliebe das
   Bildfenster ueber die volle 300svh-Buehne geschlossen – ein
   toter Scroll-Bereich, in dem nichts passiert.
   ========================================================== */
.no-js-anim .hero-scroll-area {
  height: auto !important;
}

.no-js-anim .hero {
  position: relative !important;
}

.no-js-anim .hero--stage .hero__media {
  clip-path: inset(0% 0% 0% 0% round 0px) !important;
}

.no-js-anim .hero--stage .hero__body,
.no-js-anim .hero--stage .hero__foot {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-area {
    height: auto !important;
  }

  .hero {
    position: relative !important;
  }

  .hero--stage .hero__media {
    clip-path: inset(0% 0% 0% 0% round 0px) !important;
  }

  .hero--stage .hero__body,
  .hero--stage .hero__foot {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================
   360°-RUNDGANG — Badge in den Varianten-Karten + Vollbild-Overlay
   Eigenes Hosting (assets/tours/salzmann-321/), kein Verweis mehr
   auf pecuria.de. Ist ein Platzhalter-Rundgang (Musterwohnung),
   bis der objektspezifische Bergkamp-Rundgang vorliegt.
   ========================================================== */
.vari-tour-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border: none;
  border-radius: 999px;
  background: #ADFFCD;
  color: #3D382D;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease-inout);
}

.vari-tour-btn::after {
  content: "";
  position: absolute;
  inset: 100% 0 auto 0;
  height: 100%;
  border-radius: 100%;
  z-index: -1;
  background: var(--pc-peach);
  transition: inset 0.5s var(--ease-inout), border-radius 0.5s var(--ease-inout);
}

.vari-tour-btn i {
  position: relative;
  z-index: 1;
  display: flex;
  width: 16px;
  height: 16px;
  animation: variTourSpin 7s linear infinite;
}

.vari-tour-btn i svg {
  width: 100%;
  height: 100%;
}

@media (min-width: 992px) {
  .vari-tour-btn:hover::after {
    inset: 0 0 auto 0;
    border-radius: 0;
  }
}

@keyframes variTourSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vari-tour-btn i {
    animation: none;
  }

  .vari-tour-btn::after {
    transition: none;
  }
}

@media (max-width: 767px) {
  .vari-tour-btn {
    right: 10px;
    bottom: 10px;
    padding: 8px 13px 8px 10px;
    font-size: 0.64rem;
  }
}

/* ---- Vollbild-Overlay ---- */
.tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  /* ueber dem Exposé-Funnel (100) */
  display: none;
  background: #14110C;
}

.tour-overlay.is-open {
  display: block;
}

/* Die Buehne (Iframe) muss die VOLLE Fensterhoehe bekommen, sonst rechnet
   der 3DVista-Player (dessen UI intern offenbar an window.innerHeight
   kalibriert wird - siehe <meta data-tdv-general-scale>) mit einer
   anderen Hoehe als tatsaechlich gerendert wird: Klick-Trefferflaechen
   seines eigenen Hamburger-Menues landen dann daneben. Der Balken liegt
   deshalb als schwebende Leiste OBEN DRUEBER, statt sich per Flex einen
   eigenen Platz abzuzwacken. */
.tour-overlay__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(16px, 3vw, 28px);
  background: none;
  color: #FFFFFF;
  pointer-events: none;
  /* nur die Kinder (Titel/Schliessen) fangen Klicks */
}

.tour-overlay__close {
  pointer-events: auto;
}

/* Nur fuer Screenreader: keine sichtbare Titelzeile mehr im Overlay. */
.tour-overlay__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.tour-overlay__close {
  flex: none;
  margin-left: auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.tour-overlay__close svg {
  width: 16px;
  height: 16px;
}

.tour-overlay__close:hover {
  background: #ADFFCD;
  border-color: #ADFFCD;
  color: #3D382D;
}

.tour-overlay__stage {
  position: absolute;
  inset: 0;
}

.tour-overlay__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tour-overlay__loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #14110C;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: opacity 0.4s ease;
}

.tour-overlay__loading.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.tour-overlay__spin {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(173, 255, 205, 0.25);
  border-top-color: #ADFFCD;
  animation: tourSpin 0.8s linear infinite;
}

@keyframes tourSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tour-overlay__spin {
    animation: none;
  }
}

/* ==========================================================
   GRUNDRISSE — Etagen-Explorer
   Etagen-Auswahl links, Grundriss-Ansicht rechts. Ersetzt den
   Standard-Slider der Referenz durch eine editoriale Flaeche,
   konsistent mit Varianten/Destatis. Klick auf einen Grundriss
   oeffnet die eigene Zoom/Pan-Ansicht (.plan-overlay).
   ========================================================== */
.floors {
  background: #FFFFFF;
}

.floors__head {
  max-width: 56ch;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.floors__claim {
  margin: 16px 0 0;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: #3D382D;
}

.floors__explorer {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.floors__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: clamp(90px, 12vh, 140px);
}

.floors__tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border: 0;
  border-top: 1px solid rgba(61, 56, 45, 0.14);
  background: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(61, 56, 45, 0.5);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.floors__nav .floors__tab:last-child {
  border-bottom: 1px solid rgba(61, 56, 45, 0.14);
}

.floors__tab-bar {
  flex: none;
  width: 18px;
  height: 1px;
  background: rgba(61, 56, 45, 0.3);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.floors__tab:hover {
  color: #3D382D;
}

.floors__tab.is-active {
  color: #3D382D;
  font-weight: 600;
}

.floors__tab.is-active .floors__tab-bar {
  width: 34px;
  background: #ADFFCD;
}

.floors__stage {
  position: relative;
  min-width: 0;
}

.floors__panels {
  display: none;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.4vw, 28px);
}

.floors__panels.is-active {
  display: grid;
}

.floors__plan {
  margin: 0;
  padding: 0;
  border: 1px solid rgba(61, 56, 45, 0.14);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #FFFFFF;
  cursor: zoom-in;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.floors__plan:hover {
  border-color: rgba(61, 56, 45, 0.3);
  box-shadow: 0 24px 48px -28px rgba(61, 56, 45, 0.35);
  transform: translateY(-3px);
}

.floors__plan picture {
  display: block;
  background: #FFFFFF;
}

.floors__plan img {
  display: block;
  width: 100%;
  height: auto;
}

.floors__plan figcaption {
  padding: 12px 16px;
  border-top: 1px solid rgba(61, 56, 45, 0.12);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(61, 56, 45, 0.55);
}

.floors__plan--wide {
  grid-column: 1 / -1;
}

.floors__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: clamp(20px, 3vw, 32px) 0 0;
  font-size: 0.78rem;
  color: rgba(61, 56, 45, 0.5);
}

.floors__hint svg {
  width: 16px;
  height: 16px;
  flex: none;
}

@media (max-width: 900px) {
  .floors__explorer {
    grid-template-columns: 1fr;
  }

  .floors__nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter, 20px) * -1);
    padding-inline: var(--gutter, 20px);
  }

  .floors__nav::-webkit-scrollbar {
    display: none;
  }

  .floors__tab {
    flex: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-top: 0;
    border-bottom: 2px solid rgba(61, 56, 45, 0.14);
    padding: 8px 16px 12px 0;
    margin-right: 20px;
    white-space: nowrap;
  }

  .floors__nav .floors__tab:last-child {
    border-bottom: 2px solid rgba(61, 56, 45, 0.14);
    margin-right: 0;
  }

  .floors__tab-bar {
    width: 100%;
    height: 2px;
    margin-top: 2px;
  }

  .floors__tab.is-active .floors__tab-bar {
    width: 100%;
  }

  .floors__panels {
    grid-template-columns: 1fr;
  }
}

/* ---- Grundriss-Zoom-Overlay ---- */
.plan-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  background: #14110C;
}

.plan-overlay.is-open {
  display: block;
}

.plan-overlay__close {
  position: absolute;
  top: clamp(14px, 2vw, 24px);
  right: clamp(14px, 2vw, 24px);
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.plan-overlay__close svg {
  width: 16px;
  height: 16px;
}

.plan-overlay__close:hover {
  background: #ADFFCD;
  border-color: #ADFFCD;
  color: #3D382D;
}

.plan-overlay__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}

.plan-overlay__stage.is-dragging {
  cursor: grabbing;
}

.plan-overlay__img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  will-change: transform;
  background: #FFFFFF;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
  user-select: none;
  -webkit-user-drag: none;
}

.plan-overlay__hint {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 3vh, 30px);
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 767px) {
  .plan-overlay__hint {
    font-size: 0.64rem;
    padding: 7px 14px;
  }
}

/* ---- Side-Kontakt: fixer Exposé-Tab rechts (direkter Funnel-CTA) ---- */
.side-contact {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 95;
  transform: translateY(-50%);
  transform-origin: right center;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border-radius: 20px 0 0 20px;
  overflow: hidden;
  background: var(--pc-peach);
  box-shadow: -6px 0 24px rgba(61, 56, 45, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.side-contact.is-mint {
  background: var(--pc-green);
}

@media (min-width: 992px) {
  .side-contact:hover {
    transform: translateY(-50%) scale(1.06);
    box-shadow: -8px 0 28px rgba(61, 56, 45, 0.28);
  }
}

.side-contact__tab {
  flex: none;
  width: clamp(48px, 3.8vw, 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
  border: none;
  background: transparent;
  color: var(--pc-brown);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
  font-weight: 400 !important;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.side-contact__tab span {
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.side-contact__tab img {
  flex: none;
  width: 22px;
  height: 22px;
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .side-contact {
    border-radius: 16px 0 0 16px;
  }

  .side-contact__tab img {
    width: 19px;
    height: 19px;
  }
}

/* ==========================================================
   COMPACT LANDSCAPE — Phone quer (breit + flach)
   Greift NUR bei max-height 500px UND Landscape.
   Portrait / Tablet / Desktop bleiben unberührt.
   ========================================================== */
@media (max-height: 500px) and (orientation: landscape) {

  /* Hero: kein Sticky-Käfig, Bild kurz darüber, Text darunter */
  .hero-scroll-area {
    height: auto !important;
  }

  .hero,
  .hero--stage {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .hero--stage .hero__media {
    position: relative !important;
    inset: auto !important;
    height: min(38svh, 200px);
    clip-path: inset(0 3% 0 3% round 16px) !important;
    margin: 10px var(--gutter, 20px) 0;
  }

  .hero--stage .hero__slides {
    inset: 0 !important;
  }

  .hero--stage .hero__media-spacer {
    display: none !important;
    height: 0 !important;
  }

  .hero--stage .hero__body {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .hero--stage .hero__body>* {
    max-width: 100%;
  }

  .hero--stage .hero__title {
    font-size: clamp(1.25rem, 3.8vw, 1.75rem) !important;
    max-width: 28ch;
  }

  .hero__body {
    padding-top: 72px !important;
  }

  .hero__facts {
    margin-top: 10px !important;
  }

  .hero__actions {
    margin-top: 12px !important;
    gap: 8px !important;
  }

  .hero__foot {
    padding-block: 10px !important;
  }

  /* Sticky-Overlaps wie Mobile-Portrait entschärfen */
  .ovl-under {
    margin-top: 0 !important;
    clip-path: none !important;
    transform: none !important;
  }

  .ovl-under::before {
    display: none !important;
  }

  .ovl-hold {
    margin-bottom: 0 !important;
  }

  .ovl-hold::after {
    display: none !important;
  }

  .scene-area {
    height: auto !important;
  }

  .scene-area .scene {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .statement,
  .facts,
  .vbr-split {
    min-height: 0 !important;
  }

  .section-pad {
    padding-block: clamp(40px, 8vw, 72px) !important;
  }

  .section-pad--tight {
    padding-block: clamp(32px, 6vw, 56px) !important;
  }

  .floors.section-pad--tight {
    padding-bottom: clamp(20px, 4vw, 32px) !important;
  }

  .floors ~ .wr-stats.section-pad {
    padding-top: clamp(24px, 4vw, 40px) !important;
  }

  .wr-stats.section-pad {
    padding-bottom: clamp(24px, 4vw, 40px) !important;
  }

  .scene__title {
    font-size: clamp(1.8rem, 6vw, 2.8rem) !important;
  }

  /* Objekt-Fakten-Deck: Stack statt 500svh-Pin */
  .wr #place-section {
    height: auto !important;
    margin-bottom: 0 !important;
  }

  .wr #place-section .deck-stage {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
  }

  .wr #place-section .l-place-stat {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: min(70svh, 320px);
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .wr #place-section .l-place-stat[data-mask] {
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .wr #place-section .deck-rail {
    display: none !important;
  }

  .wr #place-section .l-place-facts {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 20px 16px 0;
    padding: 0;
    grid-template-columns: 1fr;
  }

  .wr #place-section .l-place-fact {
    opacity: 1 !important;
    transform: none !important;
  }

  .wr #place-section .l-place-fact__num {
    color: #3D382D;
    text-shadow: none;
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .wr #place-section .l-place-fact__label {
    color: #3D382D;
    text-shadow: none;
  }

  /* Sicherheits-Grid: kein Sticky-Stack mehr */
  .wr-stats__row--shift {
    transform: none;
  }

  .wr-stats__intro {
    padding-top: 0 !important;
    padding-bottom: clamp(24px, 4vw, 40px) !important;
  }

  h1,
  h2 {
    font-size: clamp(1.35rem, 3.2vw, 2rem);
  }

  .side-contact {
    display: none !important;
  }
}

/* ==========================================================
   pc-footer: Original-Look (Mint-Pille + dunkle Bar)
   Spec: 2026-07-30-landing-footer-original-look-design.md
   Leichte Überlappung, klarer Weißraum unter der dunklen Bar.
   ========================================================== */
.pc-footer {
  --pc-footer-ink: #3D382D;
  --pc-footer-mint: #ADFFCD;
  --pc-footer-radius: 56px;
  --pc-footer-overlap: 16px;
  width: min(1400px, calc(100% - 48px));
  /* Oben Abstand zur Anfrage-Sektion, unten Weißraum unter der dunklen Bar */
  margin: clamp(56px, 8vw, 112px) auto max(48px, env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  color: var(--pc-footer-ink);
  font-family: inherit;
  isolation: isolate;
}

.pc-footer__pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px 56px;
  flex-wrap: nowrap;
  width: 100%;
  padding: clamp(36px, 5vw, 56px) clamp(36px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 56px);
  background: var(--pc-footer-mint);
  border-radius: var(--pc-footer-radius);
  color: var(--pc-footer-ink);
  position: relative;
  z-index: 1;
}

.pc-footer__logo {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}

.pc-footer__logo img {
  /* Original: große Wortmarke links */
  height: clamp(52px, 6.5vw, 84px);
  width: auto;
  display: block;
}

/* Zwei Spalten wie pecuria.de (Glossar | Impressum/Datenschutz) */
.pc-footer__nav {
  display: grid;
  grid-template-columns: max-content max-content;
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  gap: 10px 48px;
  align-content: center;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: start;
  padding-left: clamp(8px, 2vw, 32px);
}

.pc-footer__nav a,
.pc-footer__nav button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: clamp(0.92rem, 1.05vw, 1.05rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--pc-footer-ink);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}

.pc-footer__nav a:hover,
.pc-footer__nav button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pc-footer__nav a:focus-visible,
.pc-footer__nav button:focus-visible {
  outline: 2px solid var(--pc-footer-ink);
  outline-offset: 3px;
}

.pc-footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--pc-footer-ink);
  text-decoration: none;
}

.pc-footer__top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pc-footer-ink);
  color: #FFFFFF;
}

.pc-footer__top-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.pc-footer__top-label {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.2;
}

.pc-footer__top:hover .pc-footer__top-btn {
  background: #2a261f;
}

.pc-footer__top:focus-visible {
  outline: 2px solid var(--pc-footer-ink);
  outline-offset: 4px;
  border-radius: 8px;
}

/* Dunkle Leiste: schmaler, leicht über die Mint-Unterkante */
.pc-footer__bar {
  width: min(92%, calc(100% - 48px));
  max-width: 1280px;
  margin-top: calc(-1 * var(--pc-footer-overlap));
  position: relative;
  z-index: 2;
  padding: clamp(18px, 2.4vw, 26px) clamp(32px, 4.5vw, 56px);
  background: var(--pc-footer-ink);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
}

.pc-footer__legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
}

.pc-footer__legal p {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.pc-footer__legal a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pc-footer__legal a:focus-visible {
  outline: 2px solid #ADFFCD;
  outline-offset: 2px;
}

.pc-footer__copy {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.68rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}

.pc-footer__copy a {
  color: inherit;
}

@media (max-width: 900px) {
  .pc-footer__pill {
    flex-wrap: wrap;
  }

  .pc-footer__bar {
    border-radius: 40px;
  }
}

@media (max-width: 767px) {
  .pc-footer {
    --pc-footer-overlap: 10px;
    width: calc(100% - 24px);
    /* Mehr Weißraum unter der dunklen Bar */
    margin: 40px auto max(56px, calc(40px + env(safe-area-inset-bottom, 0px)));
  }

  .pc-footer__pill {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 32px;
    padding: 28px 24px 32px;
    gap: 28px;
  }

  .pc-footer__logo img {
    height: 48px;
  }

  .pc-footer__nav {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    gap: 10px;
    padding-left: 0;
    width: 100%;
  }

  .pc-footer__top {
    margin-left: 0;
    align-self: flex-end;
  }

  .pc-footer__legal {
    grid-template-columns: 1fr;
  }

  .pc-footer__bar {
    width: calc(100% - 16px);
    margin-top: calc(-1 * var(--pc-footer-overlap));
    border-radius: 28px;
    padding: 20px 22px;
  }
}
/* ==========================================================
   Page boot-gate: Weiß + Logo bis Hero ready
   Spec: 2026-07-30-landing-hero-boot-gate-design.md
   ========================================================== */
html.is-booting,
html.is-booting body {
  overflow: hidden !important;
}

[data-page-boot] {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  pointer-events: auto;
}

[data-page-boot].is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
}

[data-page-boot] img {
  width: min(180px, 56vw);
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  [data-page-boot],
  [data-page-boot].is-done {
    transition-duration: 0.01ms;
    transition-delay: 0s;
  }
}
