/* ============================================================
   Luruper Schleife — WEBSITE-V2 · "Schleife in Bewegung"
   Awwwards-style scroll choreography. The 3D model of v4 is
   replaced by the flat brand ARTEFAKT (SVG), which rotates +
   scales on scroll and blends with the page (mix-blend-mode),
   exactly like the Figma source. Signal-Akzente (pink/acid).
   Lädt NACH tokens.css + base.css — Scene-Layout + Motion only here.
   ============================================================ */

html {
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(
      120% 80% at 82% -8%,
      #e7eae6 0%,
      rgba(231, 234, 230, 0) 55%
    ),
    linear-gradient(180deg, #e4e5e2 0%, #f4f4f2 44%, #ececea 100%);
  overflow-x: hidden;
}

/* ---------- HERO ARTEFAKT STAGE (blended) ---------- */
/* display:contents → die Stage erzeugt KEINEN eigenen Stacking-Context.
   Sonst würden die Marks nur innerhalb der Stage blenden (Hintergrund
   transparent) statt mit Video + Seite dahinter. */
.art-stage {
  display: contents;
}
.art-mark {
  position: absolute; /* im Root-Context → blendet mit dem Backdrop und
                         scrollt 1:1 mit der Hero weg */
  top: 50vh;
  left: 71%;
  z-index: 1; /* über Video (0), unter den Szenen (2) */
  width: clamp(280px, 38vw, 600px);
  height: auto;
  transform: translate(-50%, -50%);
  will-change: transform;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.art-mark svg {
  width: 100%;
  height: auto;
  display: block;
}
/* main mark — sage; screen lifts it so the green glows over the dark hero
   video (over light grounds it goes pale — chosen trade-off) */
.art-mark--main path {
  fill: var(--green);
}
/* offset ghost — signal pink, registration-blend behind the main */
.art-mark--ghost {
  mix-blend-mode: multiply;
  opacity: 0.1;
}
.art-mark--ghost path {
  fill: var(--accent);
}

/* ---------- HEADER: transparent until scrolled ---------- */
.site-head {
  background: transparent;
}

/* ---------- SCENE SCAFFOLD ---------- */
.scene {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.scene-grid {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 120px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.scene-copy {
  max-width: 580px;
}
.scene--objekt .scene-copy {
  grid-column: 2;
}
/* Text-Bild-Teaser: Foto füllt die linke Grid-Spalte */
.scene--objekt .objekt-media {
  grid-column: 1;
  grid-row: 1;
  position: relative; /* Anker für das Raster-Overlay */
  margin: 0;
  align-self: stretch;
}
.scene--objekt .objekt-media picture {
  display: block;
  height: 100%;
}
.scene--objekt .objekt-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: min(72vh, 620px);
  object-fit: cover;
}
/* Fassadenraster als getönte Maske → recolorbar, unten links */
.scene--objekt .objekt-grid {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 75px;
  aspect-ratio: 280 / 427.6;
  background-color: var(--ink);
  -webkit-mask: url(assets/artefakt-grid.svg) center / contain no-repeat;
  mask: url(assets/artefakt-grid.svg) center / contain no-repeat;
  pointer-events: none;
  will-change: transform;
}
.scene--heritage .scene-copy {
  grid-column: 1;
}
.scene--lage .scene-copy {
  grid-column: 2;
}

/* Projekt: Überschrift oben über beide Spalten, Foto links breit,
   Copy in der schmalen Spalte rechts (editorialer Split) */
.scene--projekt .scene-grid {
  grid-template-columns: 1.4fr 0.85fr;
  align-items: start;
  row-gap: clamp(40px, 5vw, 72px);
}
.scene--projekt .scene-head {
  grid-column: 1 / -1;
  max-width: 900px;
}
.scene--projekt .scene-head .sc-h {
  margin: 0;
}
.scene--projekt .projekt-media {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  align-self: stretch;
}
.scene--projekt .projekt-media picture {
  display: block;
  height: 100%;
}
.scene--projekt .projekt-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: min(64vh, 600px);
  object-fit: cover;
}
.scene--projekt .scene-copy {
  grid-column: 2;
  grid-row: 2;
  max-width: none;
}

/* Credo — Acid-Manifest, vollflächig. Bewusster Bruch mit der Token-Regel
   „acid nie als große Fläche": genau die eine Punch-Sektion, Ink auf Acid.
   Zwei Blöcke, links-bündiges Editorial; „nicht." / „umso besser." sind die
   überdimensionalen Anker. */
.scene--credo {
  background: var(--accent-2);
  color: var(--on-accent-2);
}
.credo-grid {
  display: block; /* die 2-Spalten-Regel von .scene-grid aufheben */
  max-width: 1200px;
  margin: 0 auto;
}
.credo-line {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--on-accent-2);
  margin: 0;
  max-width: 15ch;
}
.credo-punch {
  display: block;
  margin-top: 0.06em;
  font-weight: 600;
  font-size: clamp(56px, 10vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.credo-body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: var(--lh-body);
  color: var(--on-accent-2);
  max-width: 62ch;
  margin: clamp(24px, 3vw, 40px) 0 0;
}
.credo-turn {
  margin-top: clamp(72px, 10vw, 148px);
  display: grid;
  grid-template-columns: minmax(0, 220px) 1fr;
  align-items: end;
  gap: clamp(16px, 2vw, 32px);
}
.credo-note {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: var(--lh-body);
  color: var(--on-accent-2);
  margin: 0 0 0.4em;
}
.credo-line--turn {
  margin: 0;
}
/* per-word masked reveal (siehe motion.js) — wie in der Hero: jedes Wort der
   ganzen Sektion (Headlines, Body, Note) sitzt in einer overflow-hidden Maske
   und fährt gestaffelt von unten ein. */
.scene--credo .word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-block: 0.14em;
  margin-block: -0.14em;
}
.scene--credo .word {
  display: inline-block;
  will-change: transform;
}

/* Lage: Mapbox-Karte links neben der Copy */
#map-box {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  min-height: 480px;
  border: 1px solid rgba(30, 30, 30, 0.12);
}
.map-pin {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2; /* über den .map-poi-Labels, Marker-Malreihenfolge ist DOM-Reihenfolge */
}
.map-pin .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow:
    0 0 0 6px rgba(251, 70, 133, 0.22),
    0 2px 6px rgba(0, 0, 0, 0.3);
}
.map-pin .tag {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: var(--green);
  color: var(--surface);
  padding: 7px 11px;
  z-index: 1;
}
.map-poi {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  background: var(--ink);
  color: var(--surface);
  padding: 4px 7px;
}
.map-view-toggle {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 9px 14px;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.map-view-toggle:hover {
  background: var(--ink);
  color: var(--surface);
}

.scene.scene--hero {
  min-height: calc(100vh - 92px);
}

.sc-num {
  font-family: var(--font-num);
  font-size: 15px;
  color: var(--accent-press);
  letter-spacing: 0.04em;
}
.sc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}
.sc-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.sc-eyebrow--light {
  color: var(--surface);
}

.sc-eyebrow--light::before {
  background: var(--surface);
}
.sc-h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.03;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 22px;
  text-wrap: balance;
}
.sc-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  margin: 0 0 16px;
}
.sc-body strong {
  font-weight: 700;
}

/* ---------- REUSABLE EXPOSÉ CTA ---------- */
.expose-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  background: var(--green);
  color: #fff;
  border: none;
  padding: 16px 26px;
  line-height: 1;
  transition: background 0.18s ease;
}
.expose-cta:hover {
  background: var(--green-press);
}
/* hover: only the icon moves (transform → no reflow, button stays same size) */
.expose-cta:hover .arw {
  transform: translateX(4px);
}
/* CTA arrow — brand SVG via mask, inherits the button's text color */
.arw {
  display: inline-block;
  width: 0.68em;
  height: 0.92em;
  background-color: currentColor;
  -webkit-mask-image: url(assets/icons/icon-arrow-right.svg);
  mask-image: url(assets/icons/icon-arrow-right.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
/* pink variant — key moments (hero, kontakt) */
.expose-cta.signal {
  background: var(--accent);
  color: #fff;
}
.expose-cta.signal:hover {
  background: var(--accent-press);
}
/* ghost variant — quiet, sits under body copy on light grounds */
.expose-cta.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 15px 25px;
}
.expose-cta.ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
/* acid variant — on dark / sage grounds */
.expose-cta.acid {
  background: var(--accent-2);
  color: var(--ink);
}
.expose-cta.acid:hover {
  background: var(--accent-2-press);
  color: var(--ink);
}

/* secondary scroll link styled like a ghost button (no modal) */
.linkbtn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  background: transparent;
  color: var(--surface);
  border: 1px solid var(--surface);
  padding: 15px 25px;
  line-height: 1;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    gap 0.18s ease;
}
.linkbtn:hover {
  background: var(--bg);
  color: var(--accent);
  border-color: var(--bg);
  gap: 16px;
}
.linkbtn .arw-down {
  font-family: var(--font-num);
  font-size: 17px;
}

/* small teaser line above a CTA */
.cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.cta-hint {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg-3);
  max-width: 34ch;
  line-height: 1.5;
}

/* ---------- LAGE: neighbour chips ---------- */
.nachbarn {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.nachbarn span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--green-tint);
  padding: 9px 14px;
  line-height: 1;
}
.nachbarn span.hot {
  background: var(--accent-2);
  color: var(--ink);
}

/* ---------- HERO ---------- */
.scene--hero .scene-grid {
  grid-template-columns: 1fr;
  align-content: flex-end;
  padding-bottom: 96px;
}
.hero-chip {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-2);
  color: var(--on-accent-2);
  padding: 9px 15px;
  line-height: 1;
  margin-bottom: 26px;
}
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 6.8vw, 92px);
  font-size: clamp(56px, 10vw, 140px);

  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--surface);
  margin: 0;
  max-width: 40ch;
  text-wrap: balance;
}
/* per-word masked reveal (siehe motion.js): jedes Wort sitzt in einer
   overflow-hidden Maske und fährt von unten ein. padding/margin-block
   heben sich layout-neutral auf, geben aber Unterlängen Platz. */
.hero-h1 .word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-block: 0.14em;
  margin-block: -0.14em;
}
.hero-h1 .word {
  display: inline-block;
  will-change: transform;
}
/* per &nbsp; verbundene Wörter bleiben zusammen in einer Zeile */
.hero-h1 .word-group {
  white-space: nowrap;
}
.hero-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.1;
  color: var(--surface);
  margin: 26px 0 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero__route-link {
  display: flex;
  align-items: center;

  svg {
    margin-right: 16px;
    transition: fill 300ms ease-in-out;
  }

  &:hover {
    color: var(--accent);
  }
}

.hero-foot {
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 34px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--surface);
  letter-spacing: 0.02em;
}

.icon {
  width: 24px;
  height: 24px;
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 12px;
  color: var(--surface);
}
.scroll-cue .rail {
  position: relative;
  width: 1px;
  height: 42px;
  background: var(--surface);
  overflow: hidden;
}
.scroll-cue .rail::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 50%;
  background: var(--accent);
  animation: cueDrop 1.7s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}
@keyframes cueDrop {
  0% {
    top: -50%;
  }
  60%,
  100% {
    top: 100%;
  }
}
@media (max-width: 760px) {
  .hero-foot {
    left: 24px;
    right: 24px;
  }
}

/* ---------- HERO BACKGROUND VIDEO ----------
   Absolut, nur über die erste Viewport-Höhe (kein Bleed in transparente
   Folge-Szenen). z-index:0 → unter der Artefakt-Stage (z-index:1).
   Poster + Video als Cover-Layer; Video startet auf opacity:0 und blendet
   per .is-playing (ui.js) über das Poster ein. Der Papier-Scrim hält den
   hellen Untergrund, damit der Multiply-Artefakt darüber lesbar bleibt. */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #e4e5e2; /* Grundton, falls Poster noch lädt — kein Weiß/Schwarz */
}
.hero-bg__poster,
.hero-bg__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg__video {
  opacity: 0;
  transition: opacity 0.28s ease;
}
.hero-bg.is-playing .hero-bg__video {
  opacity: 1;
}
/* Dunkles Overlay: dunkelt das Video leicht ab, unten kräftiger (wo die
   weiße Hero-Copy sitzt) → besserer Kontrast, oben/mittig bleibt das Video
   klar. --hero-dark steuert die Stärke (0 = volles Video, 1 = sehr dunkel). */
.hero-bg__scrim {
  position: absolute;
  inset: 0;
  --hero-dark: 0.68;
  background: linear-gradient(
    to top,
    rgba(18, 20, 18, var(--hero-dark)) 0%,
    rgba(18, 20, 18, calc(var(--hero-dark) * 0.35)) 42%,
    rgba(18, 20, 18, 0) 74%
  );
}
@media (max-width: 760px) {
  .hero-bg__scrim {
    --hero-dark: 0.64;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg__video {
    transition: none;
  }
}

/* ---------- meta / derivation ---------- */
.sc-meta {
  margin-top: 20px;
}
.sc-meta .kv {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.sc-meta .k {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--fg-3);
}
.sc-meta .v {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  text-align: right;
}
.sc-deriv {
  display: grid;
  gap: 26px;
  margin-top: 8px;
}
.sc-deriv h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 7px;
  color: var(--ink);
}
.sc-deriv p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.56;
  color: var(--fg-3);
  margin: 0;
}
.sc-deriv .term {
  color: var(--green);
}

/* ---------- transparent marquee ---------- */
.mq {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 244, 242, 0.55);
  backdrop-filter: blur(2px);
}
.mq-track {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
}
.mq-track span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  color: var(--ink);
  padding: 0 22px;
}
.mq-track .stroke {
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
}
.mq-track .acid {
  background: var(--accent-2);
  color: var(--on-accent-2);
  padding-left: 14px;
  padding-right: 14px;
}
.mq-track .dot {
  color: var(--accent);
}

/* ---------- EINBLICKE — Swiper gallery (solid, occludes stage) ---------- */
.einblicke {
  position: relative;
  z-index: 2;
  background: var(--ink);
  color: #fff;
  padding: 104px 0;
}
.einblicke .wrap {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 56px;
}
.einblicke .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.einblicke .eyebrow {
  color: var(--accent);
  margin: 0 0 12px;
}
.einblicke h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.04;
  margin: 0;
  color: #fff;
}
.swipe-nav {
  display: flex;
  gap: 12px;
  position: absolute;
  top: 50%;
  right: 10vw;
  z-index: 1;
}
.swipe-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
  transition: background 0.25s ease;
}
.swipe-nav button:not(.swiper-button-disabled):hover {
  background: var(--accent);
}
.swipe-nav button.swiper-button-disabled {
  cursor: not-allowed;
  opacity: 0.2;
}
.swipe-nav .nav-arw {
  width: 17px;
  height: 23px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.swipe-nav .nav-arw--l {
  -webkit-mask-image: url(assets/icons/icon-arrow-left.svg);
  mask-image: url(assets/icons/icon-arrow-left.svg);
}
.swipe-nav .nav-arw--r {
  -webkit-mask-image: url(assets/icons/icon-arrow-right.svg);
  mask-image: url(assets/icons/icon-arrow-right.svg);
}

.gallery {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.gallery .swiper-slide {
  width: min(78vw, 1200px);
}
.gallery figure {
  margin: 0;
}
.gallery .ph {
  position: relative;
  overflow: hidden;
  background: #2a2a2a;
}
.gallery .ph img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.gallery .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 20, 20, 0.42) 0%,
    rgba(20, 20, 20, 0) 55%
  );
  pointer-events: none;
}
.gallery .swiper-slide-active .ph img {
  transform: scale(1.04);
}
.gallery .ph:hover img {
  transform: scale(1.08);
}
.gallery .idx {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-family: var(--font-num);
  font-size: 14px;
  color: #fff;
  background: rgba(30, 30, 30, 0.55);
  padding: 4px 9px;
}
.gallery .cap {
  position: absolute;
  left: 40px;
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  transform: translateY(-50%);
  transform-origin: left center;
  transition:
    transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1),
    opacity 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.gallery .ph:hover .cap {
  transform: translateY(-50%) scale(0.82);
  opacity: 0.2;
}
.gallery .cap-t {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 54px);
  line-height: 1.02;
  color: #fff;
}
.gallery .cap-s {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}
.gallery .swiper-pagination {
  position: static;
  font-family: var(--font-num);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.02;
  max-width: 1920px;
  margin: 30px auto 0;
  padding: 0 56px;
  text-align: right;
}
.gallery .swiper-pagination-bullet {
  width: 30px;
  height: 3px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  margin: 0 6px 0 0 !important;
  transition: background 0.2s ease;
}
.gallery .swiper-pagination-bullet-active {
  background: var(--accent);
}

/* ---------- STATS BAND (solid) ---------- */
.stats-band {
  position: relative;
  z-index: 2;
  background: var(--green);
  color: #fff;
  padding: 96px 0;
}
.stats-band .wrap {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stats-band .stat .fig {
  font-family: var(--font-num);
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1;
  color: #fff;
}
.stats-band .stat .fig .u {
  color: var(--accent-2);
}
.stats-band .stat .lab {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 12px;
}
@media (max-width: 760px) {
  .stats-band .wrap {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* ---------- SHARED SOLID SECTION (occludes the fixed artefakt) ---------- */
.solid {
  position: relative;
  z-index: 2;
}
.sec-head {
  max-width: 760px;
  margin: 0 0 48px;
}
.sec-head .eyebrow {
  margin-bottom: 16px;
}
.sec-h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: balance;
}
.sec-intro {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--fg-2);
  margin: 0;
  max-width: 620px;
}

/* ---------- FLÄCHENTYPEN ---------- */
.flaechen {
  background: #fff;
}
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.type-card {
  border: 1px solid var(--line);
  padding: 32px 28px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fff;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.type-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
}
.type-card .swatch {
  width: 100%;
  height: 6px;
  position: absolute;
  top: 0;
  left: 0;
}
.type-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}
.type-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  color: var(--ink);
}
.type-m {
  font-family: var(--font-num);
  font-size: 26px;
  color: var(--ink);
  white-space: nowrap;
}
.type-m .u {
  font-size: 15px;
  color: var(--fg-3);
}
.type-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 22px;
  flex: 1;
}
.type-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.type-feats span {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--fg-2);
  border: 1px solid var(--line-strong);
  padding: 6px 11px;
  line-height: 1;
}
@media (max-width: 900px) {
  .type-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- AUSSTATTUNG / TECHNIK ---------- */
.ausstattung {
  background: var(--ink);
  color: #fff;
}
.ausstattung .eyebrow {
  color: var(--accent);
}
.ausstattung .sec-h {
  color: #fff;
}
.ausstattung .sec-intro {
  color: rgba(255, 255, 255, 0.72);
}
.aus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 8px;
}
.aus-item {
  background: var(--ink);
  padding: 30px 26px;
}
.aus-item .k {
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 12px;
}
.aus-item .t {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 8px;
}
.aus-item .d {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.66);
  margin: 0;
}
@media (max-width: 900px) {
  .aus-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- KONTAKT: two-button + note ---------- */
.kontakt .kbtn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.kontakt .kbtn2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 16px 30px;
  cursor: pointer;
  line-height: 1;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.kontakt .kbtn2:hover {
  background: #fff;
  color: var(--green-press);
}
.kontakt .prov-note {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  margin: 30px 0 0;
  max-width: 52ch;
}

/* ---------- EXPOSÉ OVERLAY ---------- */
.ex-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(26, 26, 26, 0.5);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.ex-scrim.open {
  opacity: 1;
  pointer-events: auto;
}
.ex-modal {
  position: relative;
  width: 520px;
  max-width: 100%;
  background: var(--green);
  color: #fff;
  padding: 46px 44px 42px;
  box-shadow: var(--shadow-lift);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  overflow: hidden;
}
.ex-scrim.open .ex-modal {
  transform: none;
}
.ex-modal .ex-ghost {
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 320px;
  height: auto;
  opacity: 0.12;
  transform: rotate(-90deg);
  pointer-events: none;
}
.ex-modal .ex-inner {
  position: relative;
  z-index: 2;
}
.ex-close {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 3;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  font-family: var(--font-body);
  opacity: 0.8;
  transition: opacity 0.15s ease;
}
.ex-close:hover {
  opacity: 1;
}
.ex-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 12px;
}
.ex-h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 14px;
}
.ex-p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 26px;
  max-width: 40ch;
}
.ex-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ex-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 17px 22px;
  cursor: pointer;
  border: none;
  line-height: 1;
  text-align: left;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.ex-btn .sub {
  font-weight: 400;
  font-size: 12.5px;
  opacity: 0.8;
  display: block;
  margin-top: 5px;
}
.ex-btn .lbl {
  display: flex;
  flex-direction: column;
}
.ex-btn .arw {
  width: 0.8em;
  height: 1em;
}
.ex-btn.prim {
  background: var(--accent-2);
  color: var(--ink);
}
.ex-btn.prim:hover {
  background: var(--accent-2-press);
}
.ex-btn.sec {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.ex-btn.sec:hover {
  background: rgba(255, 255, 255, 0.22);
}
.ex-foot {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 16px;
}
.ex-foot a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 560px) {
  .ex-modal {
    padding: 38px 26px 32px;
  }
  .ex-h {
    font-size: 26px;
  }
}

/* ---------- solid sections occlude the stage ---------- */
.grund,
.kontakt,
.foot {
  position: relative;
  z-index: 2;
}

/* ---------- reveals (opacity NEVER animated → never stranded) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    transform: translateY(26px);
    transition: transform 0.85s cubic-bezier(0.2, 0.6, 0.2, 1);
    will-change: transform;
  }
  .reveal.in {
    transform: none;
    animation: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .scene-grid {
    grid-template-columns: 1fr;
    padding: 96px 24px;
  }
  .scene--objekt .scene-copy,
  .scene--heritage .scene-copy,
  .scene--lage .scene-copy {
    grid-column: 1;
  }
  #map-box {
    grid-column: 1;
    grid-row: auto; /* unter der Copy statt daneben */
    min-height: 0;
    height: min(72vw, 440px);
  }
  .scene--objekt .objekt-media {
    grid-column: 1;
    grid-row: auto;
  }
  .scene--objekt .objekt-media img {
    min-height: min(64vw, 420px);
  }
  .scene--projekt .scene-grid {
    grid-template-columns: 1fr;
  }
  .scene--projekt .scene-head,
  .scene--projekt .projekt-media,
  .scene--projekt .scene-copy {
    grid-column: 1;
    grid-row: auto;
  }
  .scene--projekt .projekt-media img {
    min-height: min(64vw, 420px);
  }
  .credo-turn {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .scene {
    min-height: auto;
  }
  .art-mark {
    width: 66vw;
    left: 50%; /* mittig hinter dem Hero-Text statt rechts daneben */
  }
  .art-mark--ghost {
    display: none;
  }
}
