/* Schrift selbst gehostet (Archivo, SIL OFL) */
@font-face{font-family:'Archivo';font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(/fonts/archivo-latin-standard-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Archivo';font-style:italic;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(/fonts/archivo-latin-standard-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Archivo';font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(/fonts/archivo-latin-ext-standard-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Archivo';font-style:italic;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(/fonts/archivo-latin-ext-standard-italic.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
/* NLA Bau – Demo «Vom ersten Strich bis zur offenen Tür»
   Art Direction «Werkplan»: Papier, Tinte, Planrot, Abendlicht. */

:root {
  /* Nacht · Blaupause (NLA Bau): Grund Nacht, helle Linien, Akzent Lärche */
  --paper: #111113;
  --paper-2: #1A1A1E;
  --sheet: #18181C;
  --ink: #EEE9DF;
  --ink-2: #A8A296;
  --line: #2C2C33;
  --wood: #C08A52;
  --red: #D9893B;
  --light: #F5B04A;
  --stage: #EFEBE2;
  --dusk: #0A0A0C;
  --dusk-2: #1C1C20;
  --on-dusk: #EEE9DF;
  --on-dusk-2: #A8A296;
  --rule-dusk: rgba(238, 233, 223, .14);

  --f-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-text: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  --pad: clamp(20px, 5.5vw, 84px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
  --fg: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
svg { display: block; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[data-theme="dusk"] :focus-visible, .on-dusk .nav :focus-visible { outline-color: var(--light); }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--pad); }

/* ---------- Typo-Bausteine ---------- */
.label, .eyebrow, .phase__nr, .finale__kicker {
  font: 500 12px/1.3 var(--f-mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.label b, .phase__nr b { color: var(--red); font-weight: 500; margin-right: .9em; }
[data-theme="dusk"] .label b { color: var(--light); }
.sec-title, .hero__title, .finale__title, .phase__title, .service__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-optical-sizing: auto;
  letter-spacing: -.02em;
  line-height: 1.02;
}
.sec-title { font-size: clamp(2.1rem, 4.4vw, 4rem); margin-top: 18px; }
.sec-title em, .hero__title em, .finale__title em { font-weight: 300; }
.sec-head { margin-bottom: clamp(40px, 6vw, 88px); }
.ln-mask { padding-bottom: .16em; margin-bottom: -.16em; }

/* ---------- Buttons, Links ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 0 24px;
  background: var(--ink); color: var(--paper);
  font: 500 15.5px/1 var(--f-text); letter-spacing: .005em;
  border-radius: 2px;
  transition: color .35s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--light);
  transform: translateY(102%);
  transition: transform .5s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn__arrow { width: 24px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn--light { background: var(--light); color: var(--dusk); }
.btn--light::before { background: var(--on-dusk); }
.btn--light:hover, .btn--light:focus-visible { color: var(--dusk); }

.link {
  display: inline-block; position: relative;
  font-weight: 500; padding: 4px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.link:hover { background-size: 28% 1px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 32px;
  padding-inline: var(--pad);
  color: var(--ink);
  transition: transform .5s var(--ease), color .4s;
}
.nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--paper); border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .35s, background-color .4s, border-color .4s;
}
.nav.is-stuck::before { opacity: .96; }
.nav.is-hidden { transform: translateY(-105%); }
.on-dusk .nav { color: var(--on-dusk); }
.on-dusk .nav::before { background: var(--dusk); border-color: var(--rule-dusk); }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font: 500 17px/1 var(--f-text); letter-spacing: -.01em; margin-right: auto; }
.nav__mark { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.nav__arc { stroke: var(--red); }
.on-dusk .nav__arc { stroke: var(--light); }
.nav__links { display: flex; gap: 30px; font-size: 15px; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.on-dusk .nav__cta { background: var(--light); color: var(--dusk); }
.on-dusk .nav__cta::before { background: var(--on-dusk); }
.nav__menu { display: none; font: 500 12px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; padding: 14px 0 14px 14px; }

.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--dusk); color: var(--on-dusk);
  padding: calc(var(--nav-h) + 28px) var(--pad) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 6px; }
.menu nav a { display: flex; align-items: baseline; gap: 18px; font: 300 clamp(2.1rem, 10vw, 3.2rem)/1.15 var(--f-display); letter-spacing: -.02em; padding: 8px 0; border-bottom: 1px solid var(--rule-dusk); }
.menu nav i { font: 500 11px var(--f-mono); font-style: normal; color: var(--light); letter-spacing: .09em; }
.menu__foot { font: 400 13px var(--f-mono); color: var(--on-dusk-2); }
.menu-open .nav { color: var(--on-dusk); }
.menu-open .nav::before { opacity: 0; }
.menu-open .nav__arc { stroke: var(--light); }

/* =========================================================
   01 Szene. Grundzustand = ruhige Fassung ohne Bewegung.
   ========================================================= */
.scene { position: relative; display: flex; flex-direction: column; background: var(--paper); padding-top: calc(var(--nav-h) + 24px); }
.scene__topo, .scene__dusk, .scene__fallback, .scene__hint { display: none; }
.scene__ui, .scene__col { display: contents; }
.scene__canvas { order: 2; display: block; width: 100%; height: min(62vh, 600px); pointer-events: none; }
.no-webgl .scene__canvas { display: none; }
.no-webgl .scene__fallback { display: block; order: 2; color: var(--ink); padding: 24px var(--pad); }
.no-webgl .scene__fallback svg { width: min(100%, 720px); margin: 0 auto; }

.hero { order: 1; padding-inline: var(--pad); max-width: 900px; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--ink-2); }
.eyebrow__no { color: var(--red); display: inline-flex; align-items: center; gap: 14px; }
.eyebrow__no::after { content: ''; width: 28px; height: 1px; background: var(--line); }
/* Die Vorzeile gehört zur H1, damit die Überschrift die Leistung nennt. «Plan 01» kommt aus dem CSS und zählt nicht zum Text. */
.eyebrow__no[data-no]::before { content: attr(data-no); }
.hero__h1, .page-hero__h1 { margin: 0; font: inherit; }
.hero__title, .page-hero__title { display: block; }
.hero__title { font-size: clamp(2.35rem, 5.4vw, 5.6rem); line-height: .98; margin-top: clamp(16px, 2vw, 26px); }
.hero__sub { margin-top: clamp(16px, 2vw, 28px); max-width: 31em; font-size: clamp(1rem, 1.25vw, 1.16rem); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(20px, 2.6vw, 36px); }

.phases { order: 3; padding: 8px var(--pad) clamp(48px, 7vw, 96px); }
.phases__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; border-top: 1px solid var(--line); padding-top: 28px; }
.phase__nr { color: var(--ink-2); }
.phase__title { font-size: clamp(1.5rem, 2vw, 1.9rem); margin-top: 14px; line-height: 1.08; }
.phase__text { margin-top: 12px; color: var(--ink-2); font-size: 16px; max-width: 30em; }
.phases__meta { display: none; }

.finale { order: 4; background: var(--dusk); color: var(--on-dusk); padding: clamp(56px, 8vw, 110px) var(--pad); }
.finale__kicker { color: var(--light); }
.finale__title { font-size: clamp(2.5rem, 5.4vw, 5.6rem); line-height: .98; margin-top: 18px; }
.finale__text { margin: 22px 0 30px; max-width: 28em; color: var(--on-dusk-2); font-size: clamp(1rem, 1.25vw, 1.16rem); }
.scene__note { order: 3; padding: 0 var(--pad) 10px; font: 400 10.5px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); text-align: right; }

/* ---------- Szene mit Bewegung ---------- */
.motion-on .scene { display: block; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; padding-top: 0; isolation: isolate; }
.motion-on .scene__topo, .motion-on .scene__dusk { display: block; position: absolute; inset: 0; }
.motion-on .scene__topo { z-index: 0; opacity: 0; transition: opacity 2.4s ease; }
.motion-on .scene__topo.is-on { opacity: 1; }
.motion-on .scene__dusk { z-index: 1; opacity: 0; background: linear-gradient(180deg, #0D0D10 0%, #121216 58%, #0A0A0C 100%); }
.motion-on .scene__canvas {
  position: absolute; inset: 0; z-index: 2; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 3%, #000 24%);
  mask-image: linear-gradient(90deg, transparent 3%, #000 24%);
}
.motion-on.no-webgl .scene__fallback { position: absolute; z-index: 2; right: var(--pad); bottom: 12%; width: min(48vw, 640px); padding: 0; transition: color .6s; }
.motion-on .scene.is-dusk .scene__fallback { color: var(--on-dusk); }
.motion-on .scene__ui { display: block; position: relative; z-index: 3; height: 100%; }
.motion-on .scene__col {
  display: grid; align-content: center;
  position: absolute; top: var(--nav-h); bottom: 56px; left: var(--pad);
  width: min(47vw, 700px);
}
.motion-on .scene__col > * { grid-area: 1 / 1; align-self: center; padding: 0; background: none; }
.motion-on .hero { max-width: none; }
.motion-on .phases { max-width: 430px; }
.motion-on .phases__list { display: grid; grid-template-columns: 1fr; border: 0; padding: 0; gap: 0; }
.motion-on .phase { grid-area: 1 / 1; }
.motion-on .phase__nr { color: inherit; opacity: .78; }
.motion-on .phase__title { font-size: clamp(2rem, 3.5vw, 3.4rem); margin-top: 18px; line-height: 1.03; }
.motion-on .phase__text { font-size: clamp(1rem, 1.2vw, 1.12rem); margin-top: 18px; color: inherit; opacity: .78; }
.motion-on .phases__meta { display: flex; align-items: center; gap: 12px; margin-top: 34px; font: 500 11px/1 var(--f-mono); letter-spacing: .09em; }
.phases__bar { position: relative; width: 132px; height: 1px; background: currentColor; opacity: .9; }
.phases__bar::before { content: ''; position: absolute; inset: 0; background: var(--paper); opacity: .72; }
.phases__bar i { position: absolute; inset: -0.5px 0; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }
.scene.is-dusk .phases__bar::before { background: var(--dusk); }
.scene.is-dusk .phases__bar i { background: var(--light); }
.motion-on .phases, .motion-on .finale { color: var(--ink); transition: color .5s; }
.motion-on .scene.is-dusk .phases, .motion-on .scene.is-dusk .finale { color: var(--on-dusk); }
.motion-on .scene.is-dusk .phase__nr b { color: var(--light); }
.motion-on .finale { max-width: 520px; }
.motion-on .scene__hint {
  display: flex; align-items: center; gap: 12px;
  position: absolute; left: var(--pad); bottom: 68px;
  font: 500 11px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2);
}
.scene__hint i { position: relative; width: 1px; height: 34px; background: var(--line); overflow: hidden; }
.scene__hint i::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--red); animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { to { top: 110%; } }
.motion-on .scene__note { position: absolute; right: calc(var(--pad) + 34px); bottom: 22px; padding: 0; transition: color .5s; }
.motion-on .scene.is-dusk .scene__note { color: var(--on-dusk-2); }

/* Vor dem Start nichts aufblitzen lassen */
.motion-on:not(.is-ready) .hero > :not(.hero__sub):not(.specs):not(.specs__fact), .motion-on:not(.is-ready) .phases, .motion-on:not(.is-ready) .finale { opacity: 0; }

/* =========================================================
   02 Haltung
   ========================================================= */
.band { background: var(--dusk); color: var(--on-dusk); padding: clamp(40px, 6vw, 90px) 0 clamp(90px, 13vw, 200px); overflow: hidden; }
.marquee { overflow: hidden; padding: 0 0 clamp(50px, 8vw, 120px); }
.marquee__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee__track span {
  font: italic 300 clamp(4rem, 13vw, 12.5rem)/1.1 var(--f-display);
  letter-spacing: -.03em; white-space: nowrap; padding: 0 .08em .12em;
  color: transparent; -webkit-text-stroke: 1px rgba(237, 234, 224, .34);
}
.marquee__track span.is-lit { color: var(--light); -webkit-text-stroke: 0; }
.marquee__track i { flex: none; width: 1.5px; height: clamp(40px, 7vw, 110px); margin: 0 clamp(26px, 4.5vw, 80px); background: rgba(237, 234, 224, .4); transform: rotate(45deg); }
.statement { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.statement .label { grid-column: 1 / 4; color: var(--on-dusk-2); padding-top: .9em; }
.statement__text { grid-column: 4 / 13; font: 300 clamp(1.65rem, 3.3vw, 3.15rem)/1.2 var(--f-display); letter-spacing: -.015em; max-width: 21em; }
.statement__text .w { display: inline-block; }

/* =========================================================
   03 Leistungen
   ========================================================= */
.services {
  padding: clamp(84px, 12vw, 180px) 0 clamp(40px, 6vw, 90px);
  background-image: linear-gradient(to right, rgba(238, 233, 223, .04) 1px, transparent 1px), linear-gradient(to bottom, rgba(238, 233, 223, .04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.service { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; padding: clamp(44px, 6vw, 92px) 0; border-top: 1px solid var(--line); }
.service__txt { grid-column: 1 / 6; }
.service__fig { grid-column: 7 / 13; }
.service--flip .service__txt { grid-column: 8 / 13; order: 2; }
.service--flip .service__fig { grid-column: 1 / 7; order: 1; }
.service__nr { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid var(--red); border-radius: 50%; color: var(--red); font: 500 13px/1 var(--f-mono); }
.service__title { font-size: clamp(2rem, 3.5vw, 3.3rem); margin-top: 22px; }
.service__lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); margin-top: 16px; }
.ticks { margin: 24px 0 26px; display: grid; gap: 11px; color: var(--ink-2); }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .78em; width: 14px; height: 1.5px; background: var(--red); }
.service__note { font: 400 12.5px/1.5 var(--f-mono); color: var(--ink-2); margin: -8px 0 22px; }
.service__fig { background: var(--sheet); border: 1px solid var(--line); padding: clamp(18px, 3vw, 44px) clamp(16px, 3vw, 44px) clamp(14px, 2vw, 22px); }
.service__fig figcaption { margin-top: clamp(14px, 2vw, 26px); padding-top: 12px; border-top: 1px solid var(--line); font: 400 11.5px/1.4 var(--f-mono); letter-spacing: .04em; color: var(--ink-2); }

.fig { width: 100%; height: auto; overflow: visible; }
.fig path, .fig rect, .fig circle { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.fig .t { font: 500 15px var(--f-mono); fill: var(--ink); }
.fig .t--s { font-size: 12.5px; }
.fig .t--inv { fill: var(--paper); }
.fig .t--red { fill: var(--red); }
.fig .t--mute { fill: var(--ink-2); letter-spacing: .08em; font-size: 11.5px; }
.fig .fig__hub { fill: var(--ink); stroke: none; }
.fig .fig__box { fill: var(--sheet); }
.fig .fig__bars rect { fill: rgba(238, 233, 223, .16); stroke: none; }
.fig .fig__now path { stroke: var(--red); }
.fig .fig__wall { fill: url(#hatch); }
.fig .fig__hatch { stroke-width: 1; }
.fig .fig__solid { fill: var(--ink); stroke: none; }
.fig .fig__swing { stroke: var(--red); }
.fig .fig__lock { fill: var(--red); stroke: none; }
.fig .fig__leader { stroke-width: 1; }
.fig .fig__leader--red { stroke: var(--red); }
.fig .fig__thin { stroke-width: 1.1; }
.fig .fig__dots { fill: url(#dots); stroke-width: 1.1; }
.fig .fig__dot { fill: var(--ink); stroke: none; }
.fig .fig__wave { stroke: var(--wood); stroke-width: 1.1; }
.fig .fig__vapor { stroke: var(--red); stroke-dasharray: 6 4; }
.fig .fig__fill { fill: rgba(238, 233, 223, .12); stroke-width: 1.1; }
/* Ruhezustand ohne Bewegung: Tür offen, Stand in der Mitte. Mit Bewegung setzt GSAP das transform-Attribut. */
.motion-off .fig__leaf { transform-box: view-box; transform-origin: 157px 147px; transform: rotate(90deg); }
.motion-off .fig__now { transform: translateX(300px); }


/* =========================================================
   04 Einblicke: Visualisierungen
   Grundzustand = Karussell zum Wischen. Mit Maus und Bewegung
   läuft die Reihe gepinnt am Scrollweg.
   ========================================================= */
.gallery { background: var(--paper-2); padding: clamp(84px, 11vw, 160px) 0 clamp(64px, 8vw, 120px); overflow: hidden; }
.gallery__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(30px, 4vw, 56px); }
.gallery__lead { grid-column: 1 / 8; }
.gallery__side { grid-column: 9 / 13; }
.gallery__intro { color: var(--ink-2); max-width: 27em; }
.gallery__meta { display: flex; align-items: center; gap: 12px; margin-top: 22px; font: 500 11px/1 var(--f-mono); letter-spacing: .09em; }
.gallery__bar { position: relative; flex: 0 1 180px; height: 1px; background: rgba(238, 233, 223, .28); }
.gallery__bar i { position: absolute; inset: -0.5px 0; background: var(--red); transform: scaleX(.1667); transform-origin: 0 50%; }
.gallery__track { display: flex; gap: clamp(16px, 2.4vw, 36px); margin: 0; padding: 0 var(--pad) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery__track::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; width: min(84vw, 860px); scroll-snap-align: start; }
.shot__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--line); border-radius: 2px; cursor: zoom-in; }
.shot__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.shot__media:hover img, .shot__media:focus-visible img { transform: scale(1.035); }
.shot__open { position: absolute; right: 14px; bottom: 14px; padding: 10px 14px; background: var(--ink); color: var(--paper); font: 500 12.5px/1 var(--f-text); border-radius: 2px; transition: background-color .3s, color .3s; }
.shot__media:hover .shot__open, .shot__media:focus-visible .shot__open { background: var(--light); color: var(--ink); }
.shot__copy { display: grid; grid-template-columns: 46px 1fr; margin-top: 18px; }
.shot__nr { position: relative; font: 500 12px/1 var(--f-mono); letter-spacing: .09em; color: var(--red); padding-top: .7em; }
.shot__nr::after { content: ''; position: absolute; left: 0; top: 3.3em; width: 18px; height: 1.5px; background: var(--red); }
.shot__copy h3 { font: 300 clamp(1.5rem, 2.2vw, 2.1rem)/1.1 var(--f-display); letter-spacing: -.02em; }
.shot__copy p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.gallery__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(22px, 3vw, 40px); }
.gallery__note { font: 400 11px/1.4 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.gallery__nav { display: flex; gap: 10px; flex: none; }
.gallery__nav button { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--ink); border-radius: 2px; transition: background-color .3s, color .3s; }
.gallery__nav button:hover { background: var(--ink); color: var(--paper); }
.gallery__nav svg, .lightbox__arrow svg { width: 22px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.gallery.is-pinned { padding: 0; }
.gallery.is-pinned .gallery__pin { height: 100vh; min-height: 560px; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 6px) 0 20px; }
.gallery.is-pinned .gallery__head { margin-bottom: clamp(18px, 3vh, 36px); }
.gallery.is-pinned .sec-title { font-size: clamp(2rem, 5.2vh, 3.4rem); }
.gallery.is-pinned .gallery__track { overflow: visible; scroll-snap-type: none; width: max-content; will-change: transform; }
.gallery.is-pinned .shot { width: calc(min(46vh, 540px) * 16 / 9); }
.gallery.is-pinned .shot__media img { left: -8%; width: 116%; max-width: none; transition: none; }
.gallery.is-pinned .gallery__nav { display: none; }
.gallery.is-pinned .gallery__foot { margin-top: clamp(12px, 2vh, 24px); }

.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: clamp(56px, 8vh, 90px) clamp(14px, 5vw, 80px) clamp(84px, 11vh, 110px); }
.lightbox[hidden] { display: none; }
.lb-open { overflow: hidden; }
.lightbox__bg { position: absolute; inset: 0; background: rgba(18, 26, 34, .97); }
.lightbox__fig { position: relative; margin: 0; max-width: min(1280px, 100%); }
.lightbox__fig img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 250px); border-radius: 2px; }
.lightbox__fig figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 16px; color: var(--on-dusk); }
.lightbox__nr { font: 500 12px/1 var(--f-mono); letter-spacing: .09em; color: var(--light); }
.lightbox__title { font: 300 1.5rem/1.1 var(--f-display); letter-spacing: -.02em; }
.lightbox__text { color: var(--on-dusk-2); font-size: 15px; }
.lightbox__close { position: absolute; top: 14px; right: clamp(14px, 5vw, 80px); color: var(--on-dusk); font: 500 12px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; padding: 14px 0 14px 14px; }
.lightbox__arrow { position: absolute; bottom: 20px; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(237, 234, 224, .5); border-radius: 2px; color: var(--on-dusk); transition: background-color .3s, color .3s, border-color .3s; }
.lightbox__arrow--prev { right: calc(clamp(14px, 5vw, 80px) + 60px); }
.lightbox__arrow--next { right: clamp(14px, 5vw, 80px); }
.lightbox__arrow:hover { background: var(--light); color: var(--dusk); border-color: var(--light); }
.lightbox :focus-visible { outline-color: var(--light); }

/* =========================================================
   05 Ablauf als Masskette
   ========================================================= */
.process { padding: clamp(84px, 11vw, 170px) 0; }
.chain { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 7vw, 96px); }
.chain__line { position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: var(--ink); transform-origin: 0 50%; }
.chain__line::after, .chain__item::before { content: ''; position: absolute; top: -13px; width: 1.5px; height: 27px; background: var(--ink); transform: rotate(45deg); }
.chain__line::after { right: 0; }
.chain__item { position: relative; padding: 40px 36px 0 0; }
.chain__item::before { left: 0; }
.chain__nr { position: absolute; top: -36px; left: 22px; font: 500 12px/1 var(--f-mono); letter-spacing: .09em; color: var(--red); }
.chain__item h3 { font: 300 clamp(1.8rem, 2.8vw, 2.6rem)/1.05 var(--f-display); letter-spacing: -.02em; }
.chain__item p { margin-top: 14px; color: var(--ink-2); max-width: 22em; }

/* =========================================================
   05 Persönlich als Plankopf
   ========================================================= */
.person { padding: clamp(60px, 8vw, 120px) 0 clamp(84px, 11vw, 170px); border-top: 1px solid var(--line); }
.person__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.person__intro { grid-column: 1 / 6; }
.person__lead { margin-top: 26px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 24em; }
.person__note { margin-top: 20px; color: var(--ink-2); font-size: 15px; max-width: 30em; }
.plankopf { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px; background: var(--ink); border: 1.5px solid var(--ink); }
.pk { background: var(--paper); padding: 14px 18px 16px; }
.pk--wide { grid-column: 1 / -1; }
.pk dt { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.pk dd { margin-top: 7px; font-size: 16.5px; line-height: 1.4; }
.pk dd.pk__big { font: 300 clamp(1.9rem, 3vw, 2.8rem)/1.05 var(--f-display); letter-spacing: -.02em; margin-top: 10px; }

/* =========================================================
   06 Fragen
   ========================================================= */
.faq { padding: clamp(60px, 8vw, 120px) 0 clamp(90px, 12vw, 180px); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.faq .sec-head { grid-column: 1 / 5; margin: 0; }
.faq__list { grid-column: 6 / 13; border-bottom: 1px solid var(--ink); }
.q { border-top: 1px solid var(--ink); }
.q button { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; text-align: left; padding: 22px 0; font: 400 clamp(1.15rem, 1.7vw, 1.5rem)/1.25 var(--f-display); letter-spacing: -.01em; }
.q button i { position: relative; flex: none; width: 18px; height: 18px; }
.q button i::before, .q button i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--red); transition: transform .45s var(--ease); }
.q button i::after { transform: rotate(90deg); }
.q.is-open button i::after { transform: rotate(0deg); }
.q__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .55s var(--ease), visibility 0s .55s; }
.q__a > div { overflow: hidden; }
.q.is-open .q__a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.q__a p { padding: 0 44px 26px 0; color: var(--ink-2); max-width: 40em; }
.q__a .q__more { margin-top: -12px; color: var(--ink); font-size: 15.5px; }

/* =========================================================
   07 Kontakt in der Dämmerung
   ========================================================= */
.contact { background: var(--dusk); color: var(--on-dusk); padding: clamp(84px, 11vw, 170px) 0 0; }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.contact__intro { grid-column: 1 / 6; }
.contact .label { color: var(--on-dusk-2); }
.contact__list { margin-top: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--rule-dusk); }
.contact__list li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--rule-dusk); align-items: baseline; }
.contact__list span { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dusk-2); }
.contact__list a, .contact__list address { font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.contact__list a { justify-self: start; background: linear-gradient(var(--light), var(--light)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.contact__list a:hover { background-size: 100% 1px; }

.form { grid-column: 7 / 13; }
.form legend, .field span { display: block; font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dusk-2); }
.form__topics { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.form__topics legend { margin-bottom: 14px; }
.form__topics label { position: relative; cursor: pointer; }
.form__topics input { position: absolute; opacity: 0; inset: 0; }
.form__topics label span { display: block; padding: 10px 15px; border: 1px solid rgba(237, 234, 224, .38); font-size: 14.5px; border-radius: 2px; transition: background-color .3s, color .3s, border-color .3s; }
.form__topics input:checked + span { background: var(--light); border-color: var(--light); color: var(--dusk); }
.form__topics input:focus-visible + span { outline: 2px solid var(--light); outline-offset: 3px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { display: block; margin-top: 26px; }
.field input, .field textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px 0;
  background: transparent; color: var(--on-dusk);
  border: 0; border-bottom: 1px solid rgba(237, 234, 224, .4); border-radius: 0;
  font: 400 18px/1.4 var(--f-text); resize: vertical;
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--light); box-shadow: 0 1px 0 var(--light); }
.form__error { margin-top: 18px; color: #FFB199; font-size: 14.5px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; }
.form__hint { font-size: 13.5px; color: var(--on-dusk-2); max-width: 22em; }
.draft { margin-top: 30px; border: 1px solid rgba(237, 234, 224, .28); padding: 20px; }
.draft__head { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--light); }
.draft__text { margin: 14px 0 16px; font: 400 13.5px/1.6 var(--f-mono); white-space: pre-wrap; word-break: break-word; color: var(--on-dusk); }
.draft__acts { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14.5px; }

.foot { display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: baseline; margin-top: clamp(70px, 9vw, 130px); padding-top: 22px; padding-bottom: 84px; border-top: 1px solid var(--rule-dusk); font: 400 11.5px/1.5 var(--f-mono); letter-spacing: .03em; color: var(--on-dusk-2); }
.foot__firm { color: var(--on-dusk); margin-right: auto; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__links a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(169, 180, 188, .5); }
.foot__links a:hover { color: var(--on-dusk); }
.foot__demo { flex-basis: 100%; opacity: .8; }

/* ---------- Senklot ---------- */
.lot { display: none; }
.motion-on .lot { display: block; position: fixed; top: 0; right: 30px; width: 1px; height: 100%; z-index: 45; pointer-events: none; color: var(--ink); transition: color .4s; }
.on-dusk .lot { color: var(--light); }
.lot__arm { position: absolute; top: 0; left: 0; width: 1px; height: 70px; background: currentColor; transform-origin: 50% 0; opacity: .6; will-change: transform, height; }
.lot__bob { position: absolute; left: -7.5px; bottom: -29px; width: 16px; height: 30px; fill: currentColor; }

/* ---------- Schalter Motion ---------- */
.motion {
  position: fixed; left: 16px; bottom: 16px; z-index: 50;
  display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 14px 0 12px;
  border: 1px solid var(--ink); border-radius: 99px; background: var(--paper); color: var(--ink);
  font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .4s, color .4s, border-color .4s;
}
.on-dusk .motion { background: var(--dusk); color: var(--on-dusk); border-color: rgba(237, 234, 224, .5); }
.motion__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--light); box-shadow: 0 0 0 1px var(--ink); }
.on-dusk .motion__dot { box-shadow: none; }
.motion[aria-pressed="false"] .motion__dot { background: transparent; box-shadow: 0 0 0 1px currentColor; }


/* =========================================================
   Zwei Ansichten in einer Datei: Start und «Bauen mit Holz».
   Auf der echten Website werden daraus zwei Seiten mit eigener Adresse.
   ========================================================= */
html[data-view="start"] #view-holzbau, html[data-view="holzbau"] #view-start { display: none; }

/* Blattwechsel zwischen den Ansichten */
.veil { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: var(--dusk); color: var(--on-dusk); visibility: hidden; will-change: transform; }
.veil::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--light); }
.veil__txt { font: 500 12px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.veil__txt b { color: var(--light); font-weight: 500; margin-right: 1.1em; }

/* ---------- Kopf der Unterseite ---------- */
.page-hero {
  padding: calc(var(--nav-h) + clamp(36px, 6vw, 92px)) 0 clamp(52px, 7vw, 104px);
  background-image: linear-gradient(to right, rgba(238, 233, 223, .04) 1px, transparent 1px), linear-gradient(to bottom, rgba(238, 233, 223, .04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.page-hero__lead { grid-column: 1 / 9; grid-row: 1; }
.page-hero__title { font-family: var(--f-display); font-weight: 300; font-optical-sizing: auto; letter-spacing: -.02em; font-size: clamp(2.5rem, 6.2vw, 6rem); line-height: .98; margin-top: clamp(16px, 2vw, 26px); }
.page-hero__title em { font-weight: 300; }
.page-hero__title, .chapter .sec-title, .cta-band .sec-title { text-wrap: balance; }
.page-hero__sub { margin-top: clamp(18px, 2.2vw, 30px); max-width: 33em; font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--ink-2); }
.toc { grid-column: 9 / 13; grid-row: 1; }
.toc__cap { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.toc ol { margin-top: 12px; border-bottom: 1px solid var(--ink); }
.toc a { display: grid; grid-template-columns: 28px 1fr 12px; align-items: baseline; gap: 6px; padding: 10px 0; border-top: 1px solid var(--ink); font-size: 15.5px; }
.toc i { font: 500 11px/1 var(--f-mono); font-style: normal; letter-spacing: .09em; color: var(--red); }
.toc svg { width: 10px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .45; transition: transform .4s var(--ease), opacity .3s; }
.toc a:hover svg { transform: translateY(3px); opacity: 1; }
.keys { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: var(--ink); border: 1.5px solid var(--ink); margin-top: clamp(40px, 6vw, 84px); }
.key { background: var(--paper); padding: clamp(18px, 2.4vw, 30px); }
.key dt { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.key dd { margin-top: 12px; }
.key dd b { display: block; font: 300 clamp(1.5rem, 2.3vw, 2.15rem)/1.08 var(--f-display); letter-spacing: -.02em; }
.key dd span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 15.5px; max-width: 26em; }
.motion-on:not(.is-ready) .page-hero__lead > :not(.page-hero__sub), .motion-on:not(.is-ready) .toc, .motion-on:not(.is-ready) .keys { opacity: 0; }

/* ---------- Kapitel: Titel, Film oder Zeichnung, Fragen ---------- */
.chapter { padding: clamp(64px, 9vw, 150px) 0; border-top: 1px solid var(--line); }
.chapter--tint { background: var(--paper-2); border-top-color: transparent; }
/* Auf der dunkleren Papierfläche braucht das Planrot etwas mehr Tiefe, damit kleine Schrift den Kontrast 4.5:1 hält */

.chapter__top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.chapter__lead { grid-column: 1 / 8; }
.chapter__intro { grid-column: 9 / 13; color: var(--ink-2); max-width: 27em; }
.chapter .film, .chapter .cost { margin-top: clamp(28px, 4vw, 56px); }
.chapter__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; margin-top: clamp(30px, 4.5vw, 64px); }
.chapter__aside { grid-column: 1 / 5; position: sticky; top: calc(var(--nav-h) + 24px); }
.chapter__body { grid-column: 6 / 13; }
.chapter__grid--fig .chapter__aside { grid-column: 1 / 6; }
.chapter__grid--fig .chapter__body { grid-column: 7 / 13; }
.qlist { border-bottom: 1px solid var(--ink); }
.aside__title { font: 300 clamp(1.5rem, 2.2vw, 2.1rem)/1.1 var(--f-display); letter-spacing: -.02em; }
.aside__text { margin-top: 10px; color: var(--ink-2); max-width: 30em; }
.aside__note { margin-top: 16px; font: 400 10.5px/1.5 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.aside .ticks { margin: 20px 0 0; }
.aside__more { margin-top: 22px; font-size: 15.5px; }
.aside__fig { background: var(--sheet); border: 1px solid var(--line); padding: clamp(16px, 2vw, 26px) clamp(14px, 2vw, 24px) 14px; }
.aside__fig .fig { max-width: 420px; margin-inline: auto; }
.aside__fig figcaption { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); font: 400 11.5px/1.4 var(--f-mono); letter-spacing: .04em; color: var(--ink-2); }
.fig .fig__hot { fill: var(--red); stroke: none; }
.fig .fig__wood { fill: rgba(192, 138, 82, .26); stroke: var(--wood); }
.fig .fig__ring { stroke: var(--red); stroke-width: 1.1; stroke-dasharray: 5 5; }
.fig .fig__red { stroke: var(--red); }

/* ---------- Filmstudien ---------- */
.film__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dusk); border-radius: 2px 2px 0 0; }
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__toggle { position: absolute; right: 12px; bottom: 12px; padding: 11px 14px; background: rgba(10, 10, 12, .86); color: var(--on-dusk); font: 500 12.5px/1 var(--f-text); border-radius: 2px; transition: background-color .3s, color .3s; }
.film__toggle:hover, .film__toggle:focus-visible { background: var(--light); color: var(--dusk); }
.film__bar { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; background: var(--dusk); color: var(--on-dusk-2); font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; border-radius: 0 0 2px 2px; }
.film__bar span:first-child { color: var(--on-dusk); }
.film__bar b { color: var(--light); font-weight: 500; }

/* ---------- Kostenfigur ---------- */
.cost { background: var(--sheet); border: 1px solid var(--line); padding: clamp(18px, 3vw, 44px); }
.cost__cap { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.cost__head, .cost__row { display: grid; grid-template-columns: minmax(150px, 210px) 1fr 62px; align-items: center; gap: 16px; }
.cost__head { margin-top: 22px; }
.cost__scale { grid-column: 2; display: flex; justify-content: space-between; font: 400 10.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.cost__scale span:nth-child(2) { color: var(--red); }
.cost__rows { margin-top: 12px; display: grid; gap: 14px; }
.cost__row { font-size: 16px; }
.cost__row b { font-weight: 500; }
.cost__row small { display: block; font: 400 11px/1.3 var(--f-mono); color: var(--ink-2); letter-spacing: .04em; margin-top: 3px; }
.cost__track { position: relative; height: 30px; background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(238, 233, 223, .09) 9px 10px); }
.cost__track::after { content: ''; position: absolute; left: 50%; top: -5px; bottom: -5px; width: 1.5px; margin-left: -.75px; background: var(--red); }
.cost__band { position: absolute; top: 6px; bottom: 6px; left: 50%; width: var(--w); margin-left: calc(var(--w) / -2); background: rgba(192, 138, 82, .42); border: 1px solid var(--wood); }
.cost__band--25 { --w: 83.4%; }
.cost__band--15 { --w: 50%; }
.cost__band--10 { --w: 33.4%; }
.cost__pct { font: 500 13px/1 var(--f-mono); text-align: right; white-space: nowrap; }
.cost__sub { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.cost__bkp { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 9px 24px; font-size: 15px; }
.cost__bkp li { display: flex; gap: 12px; align-items: baseline; }
.cost__bkp b { font: 500 12px/1 var(--f-mono); color: var(--red); min-width: 12px; }
.cost__note { margin-top: 22px; font: 400 10.5px/1.5 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.chain--4 { grid-template-columns: repeat(4, 1fr); margin-top: clamp(72px, 8vw, 104px); }
.chain--4 .chain__item { padding-right: 20px; }
.chain--4 .chain__item h3 { font-size: clamp(1.3rem, 1.9vw, 1.8rem); }
.chain--4 .chain__item p { font-size: 15.5px; }

/* ---------- Abschluss der Unterseite ---------- */
.cta-band { background: var(--dusk); color: var(--on-dusk); padding: clamp(84px, 11vw, 170px) 0 0; }
.cta-band__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.cta-band__lead { grid-column: 1 / 8; }
.cta-band__side { grid-column: 9 / 13; }
.cta-band .label { color: var(--on-dusk-2); }
.cta-band__text { color: var(--on-dusk-2); margin-bottom: 26px; }
.cta-band__contact { margin-top: 22px; font: 400 13px/1.6 var(--f-mono); color: var(--on-dusk-2); }

/* ---------- Verweise von der Startseite ---------- */
.service__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.faq__more { grid-column: 6 / 13; margin-top: 28px; }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

/* =========================================================
   Schmale Bildschirme
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__menu { display: block; }
  .phases__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .motion-on .lot { display: none; }
  .service, .person__grid, .faq__grid, .contact__grid, .statement, .gallery__head { display: block; }
  .gallery__side { margin-top: 22px; }
  .page-hero__grid, .chapter__top, .chapter__grid, .cta-band__grid { display: block; }
  .toc { margin-top: 40px; }
  .keys { grid-template-columns: 1fr; }
  .chapter__intro { margin-top: 18px; }
  .chapter__aside { position: static; }
  .chapter__body { margin-top: 32px; }
  .cta-band__side { margin-top: 30px; }
  .faq__more { margin-top: 24px; }
  .gallery__note { font-size: 10px; }
  .service__fig { margin-top: 34px; }
  .service--flip .service__txt { order: 0; }
  .statement__text { margin-top: 26px; }
  .plankopf { margin-top: 40px; }
  .faq__list { margin-top: 40px; }
  .form { margin-top: 56px; }
}
@media (max-width: 819px) {
  :root { --nav-h: 60px; }
  body { font-size: 16px; }
  .nav { gap: 14px; }
  .nav__cta { display: none; }
  .scene__canvas { height: min(50vh, 400px); }
  .phases__list { grid-template-columns: 1fr; }

  .motion-on .scene__col { top: calc(var(--nav-h) + 10px); bottom: auto; left: var(--pad); right: var(--pad); width: auto; height: 44%; align-content: start; }
  .motion-on .scene__col > * { align-self: start; }
  .motion-on .scene__canvas {
    -webkit-mask-image: linear-gradient(180deg, transparent 33%, #000 46%);
    mask-image: linear-gradient(180deg, transparent 33%, #000 46%);
  }
  .hero__title { font-size: clamp(2.2rem, 10.2vw, 3.2rem); }
  .hero__sub { font-size: 15.5px; line-height: 1.5; }
  .hero__actions .link { display: none; }
  .btn { min-height: 50px; padding: 0 20px; }
  .motion-on .phase__title { font-size: clamp(1.9rem, 8.4vw, 2.6rem); margin-top: 12px; }
  .motion-on .phase__text { margin-top: 12px; font-size: 15.5px; }
  .motion-on .phases__meta { margin-top: 18px; }
  .motion-on .finale__title { font-size: clamp(2.3rem, 11vw, 3.3rem); margin-top: 12px; }
  .motion-on .finale__text { margin: 14px 0 18px; font-size: 15.5px; }
  .motion-on .scene__hint { display: none; }
  .motion-on .scene__note { right: var(--pad); bottom: 16px; font-size: 9.5px; }

  .chain, .chain--4 { grid-template-columns: 1fr; }
  .page-hero__title { font-size: clamp(2.2rem, 10.4vw, 3.3rem); }
  .cost__head, .cost__row { grid-template-columns: 1fr 58px; gap: 8px 12px; }
  .cost__scale { grid-column: 1; }
  .cost__row > div:first-child { grid-column: 1 / -1; }
  .film__toggle { right: 8px; bottom: 8px; padding: 10px 12px; }
  .chain__line { right: auto; bottom: 0; width: 1.5px; height: auto; transform-origin: 50% 0; }
  .chain__line::after { right: auto; left: 0; top: auto; bottom: -13px; }
  .chain__item { padding: 0 0 44px 34px; }
  .chain__item::before { top: -4px; }
  .chain__nr { position: static; display: block; margin-bottom: 10px; }
  .form__row { grid-template-columns: 1fr; }
  .q__a p { padding-right: 0; }
  .contact__list li { grid-template-columns: 84px 1fr; }
  .motion { left: 12px; bottom: 12px; height: 32px; padding: 0 12px 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .scene__hint i::after { animation: none; }
  * { transition-duration: .01ms !important; }
}


/* =========================================================
   Haut «Nacht · Blaupause» – Typografie, Pill-Navigation,
   Bauart-Wahl, Faden. Liegt über dem bestehenden System.
   ========================================================= */
body { font-size: 17px; font-stretch: 100%; }
.sec-title, .hero__title, .finale__title, .phase__title, .service__title, .page-hero__title, .chapter .sec-title,
.key dd b, .aside__title, .film__copy h3, .chain__item h3, .q h3 button, .marquee__track, .plankopf .pk__big {
  font-family: var(--f-display); font-weight: 800; font-stretch: 88%; letter-spacing: -.025em;
}
.sec-title em, .hero__title em, .finale__title em, .page-hero__title em, .chapter .sec-title em { font-weight: 800; font-style: italic; color: var(--red); }
[data-theme="dusk"] .sec-title em, .finale__title em { color: var(--light); }
.hero__title { line-height: .96; }
.q h3 button { font-weight: 600; font-stretch: 95%; letter-spacing: -.01em; }
.label, .eyebrow, .phase__nr, .finale__kicker, .chain__nr, .cost__cap, .toc__cap, .key dt, .film__bar, .aside__note, .gallery__note, .scene__note {
  font-family: var(--f-mono); font-weight: 600; font-stretch: 100%; letter-spacing: .13em; font-variant-numeric: tabular-nums;
}
.fig .t { font-family: var(--f-mono); font-weight: 600; letter-spacing: .04em; }

/* Hauptknopf in Lärche, Text Nacht */
.btn { background: var(--red); color: #111113; border-radius: 999px; }
.btn--sm { border-radius: 999px; }
.btn--light { background: var(--light); color: #111113; }
.btn--ghost { border-radius: 999px; }

/* Pill-Navigation */
.nav__links { background: rgba(28, 28, 32, .72); border: 1px solid var(--line); border-radius: 999px; padding: 6px; gap: 2px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav__links a { padding: 8px 14px; border-radius: 999px; transition: background-color .3s var(--ease), color .3s; }
.nav__links a::after { display: none; }
.nav__links a:hover, .nav__links a[aria-current="page"] { background: var(--paper-2); color: var(--ink); }
.nav__links a[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--red); }

/* Bauart-Wahl im Hero */
.bauart { margin-top: clamp(22px, 2.6vw, 32px); }
.bauart__q { font: 600 12px/1.3 var(--f-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); }
.bauart__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink);
  background: rgba(28, 28, 32, .6); transition: border-color .3s var(--ease), background-color .3s, color .3s; }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #111113; }
.bauart__fact { margin-top: 14px; font-size: 15px; color: var(--ink-2); max-width: 30em; min-height: 3em; }
.bauart__fact b { color: var(--ink); font-weight: 600; }

/* Rotierender Glow-Rahmen am Hauptknopf */
@property --glow-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.glow { position: relative; isolation: isolate; }
.glow::before { content: ''; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: conic-gradient(from var(--glow-a), transparent 0 55%, #B8572A 70%, #F5B04A 82%, transparent 92%);
  animation: glow-spin 3.2s linear infinite; }
.glow::after { content: ''; position: absolute; inset: -10px; border-radius: inherit; z-index: -2; filter: blur(14px); opacity: .45;
  background: conic-gradient(from var(--glow-a), transparent 0 60%, #D9893B 78%, transparent 92%); animation: glow-spin 3.2s linear infinite; }
@keyframes glow-spin { to { --glow-a: 360deg; } }
.glow.is-pulse::after { animation: glow-spin 3.2s linear infinite, glow-pulse .9s var(--ease) 1; }
@keyframes glow-pulse { 40% { opacity: .95; inset: -16px; } }
@media (prefers-reduced-motion: reduce) { .glow::before, .glow::after { animation: none; } }

/* Faden am Rand: Bauablauf in sechs Phasen */
.faden { position: fixed; left: 26px; top: 50%; transform: translateY(-50%); z-index: 30; height: min(62vh, 520px); width: 160px; pointer-events: none; display: none; }
.faden__line { position: absolute; left: 4px; top: 0; bottom: 0; width: 1.5px; background: var(--line); }
.faden__fill { position: absolute; left: 4px; top: 0; width: 1.5px; height: 100%; background: var(--red); transform-origin: top; transform: scaleY(0); }
.faden ol { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; }
.faden li { display: flex; align-items: center; gap: 12px; font: 600 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); opacity: .55; transition: opacity .4s, color .4s; }
.faden li i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); transition: background-color .4s, border-color .4s, transform .4s var(--ease); }
.faden li.is-on { opacity: 1; color: var(--ink); }
.faden li.is-on i { background: var(--red); border-color: var(--red); transform: scale(1.15); }
.on-dusk .faden li { color: var(--on-dusk-2); }
@media (min-width: 1280px) { .motion-on .faden { display: block; } }
@media (min-width: 1280px) { .motion-on .scene__col { left: max(var(--pad), 190px) !important; } }

/* Helle Bühne für Visualisierungen */
.shot__media { background: var(--stage); border-radius: 6px; overflow: hidden; }
.shot__media img { border-radius: 6px; }

/* Untere Tab-Leiste am Handy */
.tabbar { display: none; }
@media (max-width: 819px) {
  .tabbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(28, 28, 32, .9); border: 1px solid var(--line); border-radius: 999px; padding: 6px;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .tabbar a { text-align: center; padding: 10px 4px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
  .tabbar a.is-on { background: var(--red); color: #111113; }
  .motion { bottom: 84px !important; }
  .foot { padding-bottom: 90px; }
}

.lot { display: none !important; }

.faden { transition: opacity .5s var(--ease); }
.faden.is-off, html[data-view="holzbau"] .faden { opacity: 0; }

/* Neue Sektionen Kosten und Netzwerk, Ablauf in zwei Reihen */
.kosten, .netzwerk { padding: clamp(80px, 11vw, 170px) 0; border-top: 1px solid var(--line); }
.kosten__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.kosten__head > div { grid-column: 1 / 8; }
.kosten__intro { grid-column: 9 / 13; color: var(--ink-2); }
.kosten .cost { margin-top: 8px; }
.kosten__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: clamp(48px, 6vw, 80px); }
.netzwerk__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.netzwerk__txt { grid-column: 1 / 6; }
.netzwerk__lead { margin: 24px 0 20px; color: var(--ink-2); max-width: 30em; }
.netzwerk__fig { grid-column: 7 / 13; }
.netzwerk__fig .aside__fig { background: var(--sheet); }
.chain--second { margin-top: clamp(56px, 7vw, 96px); }
.ticks li b { color: var(--ink); font-weight: 600; }
@media (max-width: 899px) {
  .kosten__head, .netzwerk__grid { display: block; }
  .kosten__intro { margin-top: 18px; }
  .netzwerk__fig { margin-top: 40px; }
}

/* Eckdaten im Hero */
.specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(28, 28, 32, .6); width: fit-content; max-width: 100%; }
.spec { padding: 12px 18px; border-left: 1px solid var(--line); }
.spec:first-child { border-left: 0; }
.spec dt { font: 600 10.5px/1.3 var(--f-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--red); }
.spec dd { margin-top: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.specs__fact { margin-top: 14px; font-size: 15px; color: var(--ink-2); max-width: 32em; }
.specs__fact b { color: var(--ink); font-weight: 600; }
@media (max-width: 819px) { .specs { grid-template-columns: repeat(3, 1fr); width: 100%; } .spec { padding: 9px 10px; } .spec dt { font-size: 9.5px; letter-spacing: .1em; } .spec dd { font-size: 13px; margin-top: 4px; line-height: 1.25; } .specs__fact { font-size: 13.5px; } }

/* Visualisierungen: langsamer Zoom mit Schwenk von rechts nach links (Ken Burns) */
.shot__copy h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 88%; letter-spacing: -.02em; }
@keyframes kb-pan {
  0%   { transform: scale(1.06) translateX(3.5%); }
  100% { transform: scale(1.18) translateX(-3.5%); }
}
.gallery:not(.is-pinned) .shot__media img { animation: kb-pan 16s cubic-bezier(.45, 0, .55, 1) infinite alternate; transition: none; will-change: transform; }
.gallery:not(.is-pinned) .shot:nth-child(2n) .shot__media img { animation-delay: -5s; }
.gallery:not(.is-pinned) .shot:nth-child(3n) .shot__media img { animation-delay: -10s; }
.gallery.is-pinned .shot__media img { animation: kb-zoom 18s ease-in-out infinite alternate; }
@keyframes kb-zoom { from { scale: 1; } to { scale: 1.08; } }
.motion-off .shot__media img, .motion-off .lightbox img { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .shot__media img, .lightbox img { animation: none !important; } }

@media (min-width: 1280px) and (max-width: 1439px) { .faden li { font-size: 0; gap: 0; } .faden { width: 24px; } .motion-on .scene__col { left: max(var(--pad), 84px) !important; } }
