/* Stavenholt. — fiktive Tischlerei · Demo-Konzept von DEPTA
   Marke: Anthrazit / Eiche / Leinöl-Kupfer · Fraunces (Überschriften) + Manrope (Text) + Archivo (Etiketten)
   Schriften: SIL Open Font License, lokal in /fonts/ */

@font-face {
  font-family: "Fraunces";
  src: url("../../fonts/Fraunces-Variable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../../fonts/Fraunces-Variable-Italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../../fonts/Manrope-Variable.woff2") format("woff2");
  font-weight: 200 800; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../../fonts/Archivo-Variable.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}

:root {
  --char:   #1C1A18;
  --char2:  #242120;
  --char3:  #2E2A27;
  --cream:  #EFE6D6;
  --oak:    #CFA36B;
  --oil:    #C8743C;
  --oil-lt: #E39A63;
  --soft:   rgba(239, 230, 214, .66);
  --line:   rgba(239, 230, 214, .13);
  --wrap:   1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --serif:  "Fraunces", Georgia, serif;
  --sans:   "Manrope", system-ui, sans-serif;
  --label:  "Archivo", system-ui, sans-serif;
  --ease:   cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--char); }
body {
  margin: 0; background: var(--char); color: var(--cream);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 420; letter-spacing: -.025em; line-height: .98; font-variation-settings: "opsz" 144, "SOFT" 50; }
h2 { font-size: clamp(40px, 6vw, 84px); }
h1 em, h2 em { font-style: italic; font-weight: 340; color: var(--oak); }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { display: inline-block; font: 600 12px/1.4 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--oil-lt); }
:focus-visible { outline: 2px solid var(--oil-lt); outline-offset: 3px; }
::selection { background: var(--oak); color: var(--char); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 1em 1.7em; border-radius: 4px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.btn span { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--oak { background: var(--oak); color: var(--char); }
.btn--oak:hover { background: #DDB47E; }
.btn--line { border-color: rgba(239, 230, 214, .4); }
.btn--line:hover { border-color: var(--oak); background: var(--oak); color: var(--char); }

/* ---------- Demo-Hinweis (Pflicht, nicht ausblenden) ---------- */
.demo {
  position: relative; z-index: 60; display: flex; justify-content: center; align-items: center; gap: 8px 20px; flex-wrap: wrap;
  padding: 9px var(--gutter); background: var(--oak); color: var(--char);
  font-size: 13px; text-align: center;
}
.demo a { color: var(--char); text-decoration: none; font-weight: 700; }
.demo a:hover { text-decoration: underline; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 16px var(--gutter);
  background: rgba(28, 26, 24, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-color: var(--line); }
.nav__logo { font: 600 27px/1 var(--serif); letter-spacing: -.03em; text-decoration: none; font-variation-settings: "opsz" 144, "SOFT" 100; }
.nav__logo i, .foot__logo i { color: var(--oil); font-style: normal; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font: 600 12px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--oak); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__open { font-size: 12px; color: var(--soft); text-align: right; line-height: 1.3; }
.nav__open span { display: block; letter-spacing: .14em; text-transform: uppercase; font-size: 10px; font-family: var(--label); }
.nav__open b { color: var(--cream); font-weight: 600; }
.nav__open b.is-open::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #8DBE7A; vertical-align: 1px; }
.nav__cta { padding: .8em 1.4em; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 470vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; margin-top: -70px; }
.hero__stage::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(50% 45% at 50% 48%, rgba(207, 163, 107, .13) 0%, rgba(28, 26, 24, 0) 70%),
    radial-gradient(120% 80% at 50% 120%, #110f0e 0%, rgba(17, 15, 14, 0) 60%);
}
.hero__canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; }
.hero__still { display: none; }
.hero__copy { position: absolute; z-index: 2; left: 0; right: 0; padding: 0 var(--gutter); pointer-events: none; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.hero__copy a { pointer-events: auto; }
.hero__copy--a { bottom: 11vh; opacity: 1; visibility: visible; max-width: var(--wrap); margin: 0 auto; }
.hero__copy--a h1 { font-size: clamp(54px, 9vw, 140px); max-width: 9ch; margin-top: 18px; }
.hero__copy--a h1, .hero__copy--a p, .hero__copy--a .kicker { text-shadow: 0 0 18px var(--char), 0 0 36px var(--char); }
.hero__copy--a p { margin-top: 22px; max-width: 26em; color: var(--soft); font-size: 18px; }
.hero__copy--b { bottom: 12vh; max-width: var(--wrap); margin: 0 auto; }
.hero__claim { font: italic 400 clamp(20px, 2.4vw, 32px)/1.2 var(--serif); text-shadow: 0 0 18px var(--char); }
.hero__claim i { color: var(--oil); font-style: normal; margin: 0 .5em; }
.hero__copy--c { top: 0; bottom: 0; display: grid; align-content: center; max-width: var(--wrap); margin: 0 auto; }
.hero__copy--c > * { max-width: 30rem; }
.hero__copy--c h2 { font-size: clamp(48px, 6.6vw, 104px); margin-top: 18px; }
.hero__copy--c p { margin-top: 22px; color: var(--soft); }
.hero__copy--c .btn { margin-top: 32px; justify-self: start; }

.werk {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 32px;
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 18px;
  padding: 14px 18px 16px; border: 1px solid var(--line); border-radius: 6px;
  background: rgba(28, 26, 24, .66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  min-width: 230px;
}
.werk__label { grid-column: 1 / -1; font: 600 10px/1.2 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.werk__stage { font: 500 28px/1.05 var(--serif); }
.werk__stage.is-pop { animation: pop .5s var(--ease); color: var(--oil-lt); }
@keyframes pop { 30% { transform: scale(1.12) rotate(-2deg); } }
.werk__mm { font-size: 13px; color: var(--soft); font-variant-numeric: tabular-nums; }
.werk__steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; list-style: none; margin: 10px 0 0; padding: 0; }
.werk__steps li { height: 3px; border-radius: 2px; background: var(--line); transition: background .3s; }
.werk__steps li.on { background: var(--oak); }
.hero__hint { position: absolute; z-index: 2; left: var(--gutter); bottom: 36px; font: 600 11px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); transition: opacity .4s; }

/* Ohne WebGL / bei reduzierter Bewegung: Standbild */
.hero.hero--static { height: auto; }
.hero--static .live-only { display: none; }
.hero--static .hero__stage { position: relative; height: auto; min-height: 88vh; margin-top: 0; display: grid; align-content: end; padding: 120px 0 60px; }
.hero--static .hero__still { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero--static .hero__stage::before { z-index: 1; background: linear-gradient(180deg, rgba(28, 26, 24, .1), rgba(28, 26, 24, .95) 78%); }
.hero--static .hero__canvas, .hero--static .hero__copy--b, .hero--static .hero__copy--c, .hero--static .werk, .hero--static .hero__hint { display: none; }
.hero--static .hero__copy { position: relative; inset: auto; opacity: 1; visibility: visible; transform: none; }

/* ---------- Einblenden ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.services__grid .reveal:nth-child(2), .flow__line .reveal:nth-child(2) { transition-delay: .1s; }
.services__grid .reveal:nth-child(3), .flow__line .reveal:nth-child(3) { transition-delay: .2s; }
.services__grid .reveal:nth-child(4), .flow__line .reveal:nth-child(4) { transition-delay: .3s; }
.flow__line .reveal:nth-child(5) { transition-delay: .4s; }

section { position: relative; }
.head h2 { margin-top: 18px; }

/* Schwalbenschwanz-Kante als Markenmotiv */
.dovetail, .svc::before, .foot::before {
  content: ""; display: block; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10'%3E%3Cpath d='M0 10h6l-3-10h14l-3 10h26' fill='none' stroke='%23CFA36B' stroke-width='1.2'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 10px;
}

/* ---------- Leistungen ---------- */
.services { padding: clamp(90px, 13vw, 170px) 0; border-top: 1px solid var(--line); }
.services .head h2 { max-width: 12ch; }
.services__grid { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.svc { position: relative; display: flex; flex-direction: column; padding: 0 0 28px; background: var(--char2); border-radius: 0 0 6px 6px; overflow: hidden; transition: background .4s, transform .5s var(--ease); }
.svc::before { opacity: .7; transition: opacity .3s; }
.svc > :not(.svc__num) { padding: 0 26px; }
.svc__num { margin: 26px 26px 0; font: 600 12px/1 var(--label); letter-spacing: .2em; color: var(--oil-lt); }
.svc h3 { margin-top: 56px; font-size: clamp(28px, 2.4vw, 36px); }
.svc p { margin-top: 14px; color: var(--soft); font-size: 16px; }
.svc ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: auto 0 0; padding-top: 24px; }
.svc li { padding: 5px 10px; border: 1px solid var(--line); border-radius: 3px; font-size: 12px; color: var(--soft); }
.svc:hover { background: var(--char3); }
.svc:hover::before { opacity: 1; }
.svc.reveal.in:hover { transform: translateY(-6px); }

/* ---------- Ablauf ---------- */
.flow { padding: clamp(90px, 12vw, 160px) 0; background: var(--char2); }
.flow__head { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(30px, 6vw, 90px); align-items: end; }
.flow__head h2 { margin-top: 18px; }
.flow__head p { margin-top: 22px; color: var(--soft); max-width: 26em; }
.flow__img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; }
.flow__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.flow__line { position: relative; list-style: none; margin: 80px 0 0; padding: 50px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(18px, 2.6vw, 36px); }
.flow__line::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.flow__line::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--oak); }
.flow__mark {
  position: absolute; top: -8px; left: calc(var(--p, 0) * 100%); width: 18px; height: 16px; margin-left: -9px;
  background: var(--oil); clip-path: polygon(0 0, 100% 0, 78% 100%, 22% 100%);
}
.flow__line b { font: 600 12px/1 var(--label); letter-spacing: .2em; color: var(--oil-lt); }
.flow__line h3 { font-size: 28px; margin-top: 16px; }
.flow__line p { margin-top: 10px; color: var(--soft); font-size: 15px; }

/* ---------- Referenzen ---------- */
.refs { padding: clamp(90px, 12vw, 160px) 0; }
.refs__head { display: flex; justify-content: space-between; align-items: end; gap: 20px 40px; flex-wrap: wrap; }
.refs__note { font-size: 13px; color: var(--soft); padding: 8px 12px; border: 1px dashed rgba(239, 230, 214, .3); border-radius: 4px; }
.refs__grid { margin-top: 56px; display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto auto; gap: clamp(14px, 2vw, 24px); }
.ref { position: relative; display: block; padding: 0; border: 0; margin: 0; overflow: hidden; border-radius: 6px; background: var(--char2); color: inherit; font: inherit; text-align: left; cursor: zoom-in; text-decoration: none; }
.ref img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.ref:hover img { transform: scale(1.05); filter: saturate(1.05); }
.ref--tall { grid-row: span 2; aspect-ratio: 4 / 5; }
.refs__grid > .ref:not(.ref--tall) { aspect-ratio: 16 / 9; }
.refs__grid { grid-template-rows: repeat(2, auto); }
.ref__cap {
  position: absolute; left: 14px; bottom: 14px; padding: 8px 12px; border-radius: 4px;
  background: rgba(28, 26, 24, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 13px; color: var(--soft);
}
.ref__cap b { color: var(--cream); margin-right: 6px; }
.ref--you { grid-column: 2; display: grid; place-items: center; background: transparent; border: 1px dashed rgba(207, 163, 107, .5); cursor: pointer; }
.refs__grid { grid-template-areas: "tall a" "tall b" "c c"; }
.ref--tall { grid-area: tall; }
.refs__grid > .ref:nth-child(2) { grid-area: a; }
.refs__grid > .ref:nth-child(3) { grid-area: b; }
.ref--you { grid-area: c; aspect-ratio: auto !important; padding: 34px 20px; }
.ref__you { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; justify-content: center; }
.ref__you b { font: 400 clamp(26px, 3vw, 40px)/1 var(--serif); }
.ref__you i { font-style: normal; color: var(--oak); font-size: 26px; transition: transform .35s var(--ease); }
.ref--you:hover { background: rgba(207, 163, 107, .06); }
.ref--you:hover i { transform: translateX(6px); }

.lightbox { max-width: min(1000px, 92vw); max-height: 92vh; padding: 0; border: 0; border-radius: 6px; background: var(--char2); color: var(--cream); overflow: hidden; }
.lightbox::backdrop { background: rgba(10, 9, 8, .86); backdrop-filter: blur(4px); }
.lightbox img { max-height: calc(92vh - 56px); width: auto; margin: 0 auto; }
.lightbox p { padding: 16px 20px; font-size: 14px; color: var(--soft); }
.lightbox__close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(28, 26, 24, .8); color: var(--cream); font-size: 24px; line-height: 1; cursor: pointer; }

/* ---------- Kostenschätzer ---------- */
.calc { padding: clamp(90px, 12vw, 160px) 0; background: var(--char2); }
.calc__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.calc__intro { position: sticky; top: 120px; }
.calc__intro h2 { margin-top: 18px; }
.calc__intro p { margin-top: 24px; color: var(--soft); max-width: 26em; }
.config { display: grid; gap: 30px; }
.config fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.config legend { padding: 0; margin-bottom: 12px; font: 600 11px/1.4 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opts--4 { grid-template-columns: repeat(4, 1fr); }
.opts--2 { grid-template-columns: repeat(2, 1fr); }
.opts label { position: relative; cursor: pointer; }
.opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opts span {
  display: flex; align-items: center; gap: 10px; height: 100%; padding: 15px 16px; border-radius: 4px;
  border: 1px solid rgba(239, 230, 214, .18); font-weight: 600; font-size: 15px;
  transition: background .25s, border-color .25s, color .25s;
}
.opts--wood i { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--w); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
.opts label:hover span { border-color: rgba(239, 230, 214, .5); }
.opts input:checked + span { background: var(--cream); color: var(--char); border-color: var(--cream); }
.opts input[type="checkbox"] + span::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .7; }
.opts input[type="checkbox"]:checked + span::before { opacity: 1; background: var(--oil) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--oil); }
.opts input:focus-visible + span { outline: 2px solid var(--oil-lt); outline-offset: 3px; }

.size { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.size input {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; margin: 0; border-radius: 4px; cursor: pointer;
  background: linear-gradient(90deg, var(--oak) var(--f, 50%), rgba(239, 230, 214, .16) var(--f, 50%));
}
.size input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); border: 0; box-shadow: 0 0 0 5px rgba(207, 163, 107, .25); }
.size input::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--cream); border: 0; }
.size output { min-width: 5.5em; text-align: right; font: 500 26px/1 var(--serif); font-variant-numeric: tabular-nums; }

.config__sum {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 6px; padding: 26px 28px; border-radius: 6px; background: var(--char); border: 1px solid var(--line);
}
.config__label { display: block; font: 600 11px/1.4 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.config__price { display: block; margin-top: 8px; font: 400 clamp(32px, 3.6vw, 46px)/1 var(--serif); font-variant-numeric: tabular-nums; }
.config__price.is-bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: translateY(-4px); color: var(--oak); } }
.config__meta { display: block; margin-top: 8px; font-size: 13px; color: var(--soft); }
.config__demo { margin-top: -18px; font-size: 13px; color: var(--soft); }
.config__demo::before { content: "Demo"; margin-right: 8px; padding: 2px 7px; border-radius: 3px; background: var(--oak); color: var(--char); font: 700 10px/1.6 var(--label); letter-spacing: .12em; text-transform: uppercase; vertical-align: 1px; }
.config__note { min-height: 1.5em; font-size: 14px; color: var(--oil-lt); }

/* ---------- Werkstatt ---------- */
.story { padding: clamp(90px, 12vw, 170px) 0; }
.story__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story__img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; }
.story__img img { width: 100%; height: 115%; object-fit: cover; transform: translateY(var(--py, 0)); }
.story__copy h2 { margin-top: 18px; }
.story blockquote { margin: 36px 0 0; padding-left: 24px; border-left: 2px solid var(--oil); font: italic 350 clamp(22px, 2.2vw, 28px)/1.35 var(--serif); }
.story__copy p { margin-top: 24px; color: var(--soft); max-width: 30em; }

/* ---------- Footer ---------- */
.foot { padding: 0 0 30px; background: var(--char2); }
.foot::before { margin-bottom: 70px; opacity: .5; }
.foot__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.foot__logo { font: 600 46px/1 var(--serif); letter-spacing: -.03em; margin-bottom: 14px; font-variation-settings: "opsz" 144, "SOFT" 100; }
.foot__grid p { color: var(--soft); }
.foot__grid a { color: var(--cream); }
.foot__demo { padding: 26px 28px; border-radius: 6px; border: 1px dashed rgba(239, 230, 214, .35); }
.foot__demo b { color: var(--cream); }
.foot__demo .btn { margin-top: 20px; color: var(--char); }
.foot__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }

/* ---------- Tablet / Handy ---------- */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .flow__line { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
}
@media (max-width: 960px) {
  .nav__links, .nav__open { display: none; }
  .nav__cta { margin-left: auto; }
  .flow__head, .calc__grid, .story__grid, .foot__grid { grid-template-columns: 1fr; }
  .calc__intro { position: static; }
  .story__img { max-width: 460px; }
  .flow__img { max-width: 520px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { padding: 12px var(--gutter); }
  .nav__logo { font-size: 23px; }
  .nav__cta { padding: .75em 1.1em; font-size: 13px; }
  .hero { height: 430vh; }
  .hero__copy--a { bottom: 20vh; }
  .hero__copy--a p { font-size: 16px; }
  .hero__copy--b { bottom: 22vh; text-align: center; }
  .hero__claim span { display: block; }
  .hero__claim i { display: none; }
  .hero__copy--c { align-content: end; padding-bottom: 18vh; }
  .hero__copy--c h2 { font-size: clamp(42px, 12vw, 60px); }
  .hero__copy--c p { font-size: 15px; margin-top: 14px; }
  .hero__copy--c .btn { margin-top: 20px; }
  .werk { left: var(--gutter); right: var(--gutter); bottom: 20px; min-width: 0; padding: 10px 14px 12px; }
  .werk__stage { font-size: 22px; }
  .hero__hint { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .svc h3 { margin-top: 30px; }
  .flow__line { grid-template-columns: 1fr; padding: 0 0 0 34px; gap: 34px; }
  .flow__line::before { top: 0; bottom: 0; left: 0; right: auto; width: 2px; height: auto; }
  .flow__line::after { width: 2px; height: calc(var(--p, 0) * 100%); }
  .flow__mark { left: -8px; margin-left: 0; top: calc(var(--p, 0) * 100%); margin-top: -8px; }
  .refs__grid { grid-template-columns: 1fr; grid-template-areas: "tall" "a" "b" "c"; }
  .ref--tall { aspect-ratio: 4 / 4.4; }
  .opts--4 { grid-template-columns: 1fr 1fr; }
  .opts--2 { grid-template-columns: 1fr; }
  .opts span { padding: 13px 12px; font-size: 14px; }
  .size output { font-size: 22px; }
  .config__sum { padding: 22px; }
  .config__sum .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
