/* Hallmark · shape: Photographic (draw 99a114 dealt Narrative Workflow; swapped, the copy has no real sequence) · genre: editorial · theme: brand · redesign: polish (on the full redesign of commit 1e20782) · built: the project · copy: verbatim · job: hire, a quote request in the nav and at every close
 * paper: oklch(88.4% 0.025 75) · accent: oklch(66% 0.18 45) · display: Tw Cen MT, Jost · body: Tw Cen MT, Jost · hero: Ledge (/), Index (/formaten), Banner (/over, /offerte) · nav: edge-aligned bar, logo left and links right (by request); on / the links lie over the hero photo without the logo · footer: colophon (draw dealt letter close; the copy has no sign-off) · signature: the 3D frame you turn yourself, first screen of /formaten
 * axes: light/geometric-sans/chromatic-orange · posture: the brand orange as fills, underlines and rules, never as small text on paper · contrast: pass · fold: pass · draw: 99a114 · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, the kept copy argues little on its own; let the real photographs and the 3D frame carry the argument and set the one claim ("Geen tent, maar een frame dat alles draagt.") as a statement */
/* Hallmark · waive 39b · size tabs and render thumbnails stand 64 to 70px · each tab carries two lines, the size and its m², and each thumbnail is a 16:10 render of the frame */
/* Hallmark · waive 83 · seven photographs share one slideshow frame on Home · a gallery of StretchRoof's own events, one picture visible at a time */
/* Hallmark · answered F6 · the slideshow captions are place names (Open veld, Aan de haven), not figures */
/* Hallmark · waive 59 · on Formaten, Over and Offerte the page head sits 64px above its content · the head and the viewer, the photo or the form are one section, split only in the markup */
/* Hallmark · waive 77 · the page heads of Formaten, Over and Offerte and the contact band read thin · a Banner head of one title, and a closing band of three contact rows on every page */
/* Hallmark · finish-review: subagent · 7 findings · 6 resolved 1 dismissed (the offerte aside is already sticky beside the form; a full-page capture cannot show it) · gap: none */
/* Hallmark · finish-review (phone round): subagent · 8 findings · 6 resolved, 2 dismissed (the empty band under the Formaten footer is the full-page capture; the document ends at the footer · footer and m² labels compute to 14px, over the 11px floor) · gap: none */
/* Hallmark · dismissed 25 · "Altijd maatwerk. Meerdere frames…" is set as a three-line statement at section size, not running prose */
/* Hallmark · answered F25 · on the phone the size column of the Formaten table is pinned and the other columns scroll in a labelled, focusable region */
/* Hallmark · contact band restored on the Contact page by request; every page now closes the same way */
/* Hallmark · the phone number is back on the Contact page in the contact band, by request */
/* Hallmark · dropped the footer bar on every page · by request, the Re-light line now sits in small type under the contact buttons */
/* Hallmark · dropped "Geen tent, maar een frame dat alles draagt." · by request, the block added nothing; Home now runs hero, photo strip, sizes, Instagram, contact */
/* Hallmark · dismissed kept images · the two missing images are Instagram posts from the live Behold feed, which rotates on its own */
/* Hallmark · dismissed 23 · on Contact the orange is the summary panel shaped as a StretchRoof, a declared brand surface like the three blocks on Over */
/* Hallmark · dismissed F8 · one scroll-linked pattern on Home (the hero photo sinks as you scroll); the nav only fades in once on load */
/* Hallmark · dismissed 77 · four sections on Formaten, Over and Offerte · each is a subpage with one job (the viewer, the story, the form), Home carries the six */
/* Hallmark · dropped "Wat het is" · 54, the eyebrow test, on Home */
/* Hallmark · dropped "Formaten" as head on Home · 54, the eyebrow test: deleted, nothing is lost but a name for what follows · "Geen tent, maar een frame dat alles draagt." and "Acht formaten. Altijd maatwerk." are the h2s again, as on the first site */
/* Hallmark · dropped "Formaten", "Over", "Offerte" labels over the page heads · 54 names them · each word stays on its page as the current item in the masthead */
/* Hallmark · reworded "StretchRoof · onderdeel van Re-light Services B.V. · Maasdijk" to three lines, same words · 63 names the middle dots */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- algemeen ---------- */
.binnen { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
main { display: block; }
.lead { color: var(--color-ink-2); }
.lead strong { color: var(--color-ink); font-weight: 500; }
.kop, .hero, .fotoband, .contactblok, footer, .podium, .menu, .showroom, .overhero { --color-focus: var(--color-light); }

.knop { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding-inline: var(--space-lg); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 500; text-decoration: none; border: 0; border-radius: var(--radius-card); cursor: pointer; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out); }
.knop:hover { background: var(--color-accent-hover); }
.knop:active { background: var(--color-accent); box-shadow: inset 0 2px 0 color-mix(in oklab, var(--color-accent-ink) 30%, transparent); }
.knop:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---------- kop: smalle balk, logo links, links rechts ---------- */
.kop { position: relative; z-index: var(--z-sticky-nav); background: var(--color-night); color: var(--color-light); }
.kop .binnen { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: var(--space-xl); height: var(--kop-h); }
.kop .logo { display: flex; align-items: center; min-height: 44px; }
.kop .logo img { height: 34px; width: auto; }
.kop nav { display: flex; justify-content: flex-end; align-items: center; gap: var(--space-xl); }
.kop nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-light-2); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.kop nav a:hover { color: var(--color-light); }
.kop nav a[aria-current]:not(.bel) { color: var(--color-light); }
.kop nav a:not(.bel) { position: relative; }
.kop nav a:not(.bel)::after { content: ""; position: absolute; left: 0; right: 0; bottom: var(--space-xs); height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left center; transition: transform var(--dur-long) var(--ease-out); }
.kop nav a:not(.bel):hover::after, .kop nav a[aria-current]:not(.bel)::after { transform: scaleX(1); }
.kop nav .bel { padding-inline: var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 500; transition: background-color var(--dur-short) var(--ease-out); }
.kop nav .bel:hover, .kop nav .bel[aria-current] { background: var(--color-accent-hover); color: var(--color-accent-ink); }
.kop nav .bel:active { background: var(--color-accent); }
.menuknop { display: none; align-items: center; min-height: 44px; background: none; border: 0; color: var(--color-light); cursor: pointer; padding-inline: var(--space-sm) 0; }
.menuknop i { display: inline-block; width: 18px; height: 10px; margin-left: var(--space-sm); border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.menuknop:active { color: var(--color-light-2); }
.menu { position: fixed; inset: 0 0 auto 0; height: 100dvh; z-index: var(--z-sticky); background: var(--color-night); color: var(--color-light); padding: calc(var(--kop-h) + var(--space-xl)) var(--gutter) var(--space-xl); display: flex; flex-direction: column; overflow-y: auto; }
.menu a { text-decoration: none; font-size: var(--text-section); font-weight: 500; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-night-rule); }
.menu a[aria-current] { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
body.menu-open { overflow: clip; }
body.menu-open .kop.over-foto .logo { display: block; }
body.menu-open .kop.over-foto .binnen { grid-template-columns: minmax(0, 1fr) auto; justify-items: stretch; }
body.menu-open .kop.over-foto .menuknop { justify-self: end; }
.menu:not([hidden]) a { animation: opkomen 0.5s var(--ease-out) both; }
.menu:not([hidden]) a:nth-child(2) { animation-delay: 50ms; }
.menu:not([hidden]) a:nth-child(3) { animation-delay: 100ms; }
.menu:not([hidden]) a:nth-child(4) { animation-delay: 150ms; }
.menu:not([hidden]) .menu-contact a { animation-delay: 220ms; }
.menu-contact { padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); margin-top: auto; padding-top: var(--space-xl); }
.menu .menu-contact a { display: grid; place-items: center; min-height: 72px; padding: 0; border: var(--rule-hair) solid var(--color-night-rule); color: var(--color-accent); transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.menu .menu-contact a:hover { border-color: var(--color-accent); }
.menu .menu-contact a:active { background: var(--color-night-2); }
.menu .menu-contact svg { width: 30px; height: 30px; }

/* ---------- vaste balk onderin (telefoon) ---------- */
.actiebalk { display: none; }

/* ---------- home: hero (Ledge) ---------- */
.hero { position: relative; height: calc(100svh - var(--kop-h)); min-height: 560px; overflow: hidden; background: var(--color-night-2); color: var(--color-light); }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, color-mix(in oklab, var(--color-scrim) 84%, transparent) 0%, color-mix(in oklab, var(--color-scrim) 45%, transparent) 42%, color-mix(in oklab, var(--color-scrim) 0%, transparent) 60%), linear-gradient(to top, color-mix(in oklab, var(--color-scrim) 90%, transparent) 0%, color-mix(in oklab, var(--color-scrim) 55%, transparent) 38%, color-mix(in oklab, var(--color-scrim) 0%, transparent) 72%); }
.hero .binnen { position: absolute; inset: auto 0 0 0; z-index: var(--z-raised); padding-bottom: var(--space-2xl); }
.dak { display: block; width: 120px; height: 14px; margin-bottom: var(--space-lg); color: var(--color-accent); }
.hero h1 { max-width: 9ch; font-size: clamp(3rem, 5.2vw + 0.5rem, 6rem); line-height: 0.98; letter-spacing: -0.02em; }
.hero .onder { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); margin-top: var(--space-xl); }
.stil { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-light); text-decoration: underline; text-decoration-color: var(--color-light-muted); text-underline-offset: 0.35em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.stil:hover { text-decoration-color: var(--color-accent); }
.stil:active { color: var(--color-light-2); }

/* ---------- home: het menu ligt over de foto, zonder logo ---------- */
.kop.over-foto { position: absolute; inset: 0 0 auto 0; background: transparent; transition: background-color var(--dur-short) var(--ease-out); }
.kop.over-foto .binnen { grid-template-columns: minmax(0, 1fr); }
.kop.over-foto .logo { display: none; }
.kop.over-foto nav a:not(.bel) { color: var(--color-light); }
.hero.vol { height: 100svh; }
.hero.vol::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 200px; z-index: var(--z-base); pointer-events: none; background: linear-gradient(to bottom, color-mix(in oklab, var(--color-scrim) 65%, transparent), color-mix(in oklab, var(--color-scrim) 0%, transparent)); }

/* ---------- home: wat het is ---------- */

/* ---------- home: foto's (diavoorstelling) ---------- */
.fotoband { background: var(--color-night-2); color: var(--color-light); padding-block: var(--space-2xl); }
.strook { position: relative; display: flex; gap: var(--space-sm); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab;
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
.strook::-webkit-scrollbar { display: none; }
.strook:focus-visible { outline-offset: -4px; }
.strook.sleept { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.strook-foto { flex: 0 0 auto; height: clamp(340px, 70svh, 720px); margin: 0; scroll-snap-align: start; background: var(--color-night); }
.strook-foto img { height: 100%; width: auto; object-fit: cover; transition: opacity var(--dur-long) var(--ease-out); }
.strook.dimt .strook-foto:not(.actief) img { opacity: 0.45; }
.strook.dimt .strook-foto:not(.actief):hover img { opacity: 0.8; }
.strook-balk { display: flex; align-items: center; gap: var(--space-lg); margin-top: var(--space-lg); }
.strook-balk .voortgang { position: static; flex: 1; height: 2px; }
.showknoppen { display: flex; gap: var(--space-xs); }
.showknoppen button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: var(--rule-hair) solid color-mix(in oklab, var(--color-light) 55%, transparent); background: color-mix(in oklab, var(--color-scrim) 35%, transparent); color: var(--color-light); font-size: var(--text-lg); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.showknoppen button:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.showknoppen button:active { background: var(--color-accent-hover); }
.showknoppen svg { width: 18px; height: 18px; fill: currentColor; }
.showknoppen svg path[stroke] { fill: none; }
[data-rol="pauze"] .p2, [data-rol="pauze"][aria-pressed="true"] .p1 { display: none; }
[data-rol="pauze"][aria-pressed="true"] .p2 { display: inline; }
.voortgang { position: absolute; inset: auto 0 0 0; height: 4px; z-index: var(--z-raised); background: color-mix(in oklab, var(--color-light) 18%, transparent); }
.voortgang i { display: block; width: 100%; height: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: left center; }

/* ---------- home: formaten (index naast render) ---------- */
.formatenband { padding-block: var(--section-gap-l) var(--section-gap); }
.formatenkaart { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: stretch; }
.fk-tekst { grid-column: 1 / 7; display: flex; flex-direction: column; min-width: 0; }
.fk-zin { max-width: 16ch; }
.fk-maten { margin-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.fk-maten a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: var(--space-md); padding: var(--space-sm) var(--space-xs); border-top: var(--rule-hair) solid var(--color-rule); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.fk-maten b { transition: transform var(--dur-long) var(--ease-out); }
.fk-maten a:hover b { transform: translateX(var(--space-sm)); }
.fk-maten a:active { background: var(--color-paper-3); }
.fk-maten a:focus-visible { outline-offset: -2px; }
.fk-maten b { font-size: var(--text-title); font-weight: 500; white-space: nowrap; }
.fk-maten span { color: var(--color-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fk-tekst .knop { align-self: flex-start; }
.fk-beeld { grid-column: 7 / 13; display: block; position: relative; min-height: 520px; background: var(--color-night-2); transition: box-shadow var(--dur-short) var(--ease-out); }
.fk-beeld:hover { box-shadow: 0 0 0 3px var(--color-accent); }
.fk-beeld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

/* ---------- home: instagram ---------- */
.insta { padding-block: var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }
.insta h2 { margin-bottom: var(--space-xl); }
.insta .strook-balk { margin-top: var(--space-lg); }
.insta h2 a { display: inline-block; padding-block: var(--space-xs); text-decoration: none; background-image: linear-gradient(var(--color-accent), var(--color-accent)); background-size: 0 3px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size var(--dur-long) var(--ease-out); }
.insta h2 a:hover { background-size: 100% 3px; }
.insta h2 a { display: inline-flex; align-items: center; gap: var(--space-sm); }
.insta-logo { width: 0.9em; height: 0.9em; color: var(--color-accent); flex: 0 0 auto; }
.insta-raster .strook-foto { position: relative; height: clamp(240px, 28vw, 380px); aspect-ratio: 1 / 1; display: block; overflow: hidden; background: var(--color-paper-3); }
.insta-raster .strook-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.insta-glyph { position: absolute; z-index: var(--z-raised); top: var(--space-sm); right: var(--space-sm); width: 24px; height: 24px; color: var(--color-light); filter: drop-shadow(0 1px 3px color-mix(in oklab, var(--color-scrim) 70%, transparent)); }
.insta .strook-balk .voortgang { background: color-mix(in oklab, var(--color-ink) 18%, transparent); }
.insta .showknoppen button { border-color: color-mix(in oklab, var(--color-ink) 45%, transparent); background: transparent; color: var(--color-ink); }
.insta-raster.dimt .strook-foto img { opacity: 1; }
.insta-raster .strook-foto:hover { box-shadow: inset 0 0 0 3px var(--color-accent); }

/* ---------- contact: de afsluiting van elke pagina ---------- */
.contactblok { background: var(--color-night); color: var(--color-light); padding-block: var(--space-2xl); }
.contactblok .binnen { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: start; }
.contactblok h2 { grid-column: 1 / -1; color: var(--color-light); font-size: var(--text-2xl); }
.contactblok .colofon { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--color-light-muted); }

.contacthero { background: var(--color-night); color: var(--color-light); padding-block: var(--space-3xl) var(--space-2xl); }
.contacthero .dak { margin-bottom: var(--space-lg); }
.contacthero h1 { font-size: clamp(3.25rem, 7vw + 0.5rem, 8rem); line-height: 0.95; letter-spacing: -0.025em; color: var(--color-light); }
.contacthero .lead { margin-top: var(--space-lg); color: var(--color-light-2); max-width: 44ch; }
.kopband h1 { font-size: clamp(2.75rem, 5vw + 0.5rem, 5.75rem); line-height: 0.98; max-width: 14ch; }
.kopband h1 span { display: block; }
.kopband + .showroom { padding-top: var(--space-xl); }
.knoppen { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.oknop { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-lg); min-height: 72px; border: var(--rule-hair) solid var(--color-night-rule); color: var(--color-light); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.oknop svg { width: 26px; height: 26px; color: var(--color-accent); }
.oknop span { display: flex; flex-direction: column; gap: var(--space-2xs); font-size: var(--text-title); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; min-width: 0; overflow-wrap: anywhere; transition: transform var(--dur-long) var(--ease-out); }
.oknop:hover { border-color: var(--color-accent); }
.oknop b { font-size: var(--text-sm); font-weight: 400; letter-spacing: 0; color: var(--color-light-muted); }
.oknop:hover { color: var(--color-accent-hover); }
.oknop:active { color: var(--color-light-2); }

/* ---------- voet: colofon ---------- */
.colofon { line-height: 1.7; }

/* ---------- kop van de vervolgpagina's ---------- */
.paginakop { padding-block: var(--space-3xl) var(--space-2xl); }
.paginakop h1 { max-width: 22ch; }

/* ---------- formaten: de viewer ---------- */
.showroom { background: var(--color-night-2); color: var(--color-light); padding-block: var(--space-xl) var(--space-2xl); }
.podium > .podium-maat { display: none; }
.showgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); margin-top: var(--space-lg); align-items: start; }
.showlinks { grid-column: 1 / 9; min-width: 0; }
.paneel { grid-column: 9 / 13; display: flex; flex-direction: column; gap: var(--space-xl); min-width: 0; }
.uitlezing { display: flex; flex-direction: column; gap: var(--space-xs); }
.uitlezing b { font-family: var(--font-display); font-size: var(--text-display-s); font-weight: 500; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.uitlezing span { font-size: var(--text-title); color: var(--color-accent); font-variant-numeric: tabular-nums; }
.plattegrond { width: 100%; max-width: 320px; height: auto; overflow: visible; }
.plattegrond rect { fill: transparent; stroke: var(--color-light-muted); stroke-width: 1; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill var(--dur-short) var(--ease-out), stroke var(--dur-short) var(--ease-out); }
.plattegrond rect:hover { stroke: var(--color-light); }
.plattegrond rect.actief { fill: color-mix(in oklab, var(--color-accent) 30%, transparent); stroke: var(--color-accent); stroke-width: 2; }
.paneel .knop { align-self: stretch; }
.maten { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-block: var(--rule-hair) solid var(--color-night-rule); }
.maat { min-height: 64px; padding: var(--space-sm); background: transparent; border: 0; border-left: var(--rule-hair) solid var(--color-night-rule); color: var(--color-light); text-align: left; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.maat:first-child { border-left: 0; }
.maat b { display: block; font-weight: 500; white-space: nowrap; }
.maat span { display: block; font-size: var(--text-sm); color: var(--color-light-muted); }
.maat:hover { background: var(--color-night); }
.maat:active { background: var(--color-night-rule); }
.maat:focus-visible { outline-offset: -2px; }
.maat.actief { background: var(--color-night); box-shadow: inset 0 -3px 0 var(--color-accent); }
.podium { position: relative; height: clamp(420px, calc(100svh - 440px), 560px); background: var(--color-night); color: var(--color-light); overflow: hidden; }
.podium > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.podium img { object-fit: cover; }
model-viewer { background: var(--color-night); --poster-color: transparent; }
model-viewer:focus-visible, model-viewer:focus { outline: 2px solid var(--color-focus); outline-offset: -4px; }
.hint { inset: auto 0 var(--space-md) 0 !important; height: auto !important; text-align: center; font-size: var(--text-sm); color: var(--color-light-muted); pointer-events: none; }
.laden { display: flex; align-items: center; justify-content: center; color: var(--color-light-muted); font-size: var(--text-sm); pointer-events: none; }
.weergave { display: flex; gap: var(--space-xs); margin-top: var(--space-sm); }
.weergave button { width: 112px; aspect-ratio: 16 / 10; padding: 0; border: 2px solid transparent; background: var(--color-night) center / cover; color: var(--color-light); font-size: var(--text-sm); cursor: pointer; opacity: 0.6; transition: opacity var(--dur-short) var(--ease-out); }
.weergave button:hover { opacity: 0.85; }
.weergave button:active { opacity: 1; }
.weergave button.actief { border-color: var(--color-accent); opacity: 1; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-xl); row-gap: var(--space-md); margin: 0; }
.specs > div { border-top: var(--rule-hair) solid var(--color-night-rule); padding-top: var(--space-sm); }
.specs dt { font-size: var(--text-sm); color: var(--color-light-muted); }
.specs dd { margin: var(--space-2xs) 0 0; font-size: var(--text-lg); white-space: nowrap; font-variant-numeric: tabular-nums; }
.actie { padding-block: var(--space-2xl); }
.actie p { color: var(--color-ink); font-family: var(--font-display); font-size: var(--text-section); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; max-width: 30ch; text-wrap: balance; }
.actie strong { font-weight: 500; }

/* ---------- formaten: tabel met alle maten ---------- */
.matentabel { padding-bottom: var(--section-gap-s); }
.matentabel h2 { font-size: var(--text-2xl); margin-bottom: var(--space-lg); }
.tabelrol { overflow-x: auto; }
.matentabel table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.matentabel th, .matentabel td { text-align: left; padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); white-space: nowrap; }
.matentabel thead th { font-size: var(--text-sm); font-weight: 400; color: var(--color-ink-2); }
.matentabel tbody th { font-weight: 500; }
.matentabel tr > :first-child { position: sticky; left: 0; background: var(--color-paper); }

/* ---------- over ---------- */
/* opening: grote kop op donker, de teamfoto over de volle hoogte tot aan de rand */
.overhero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100svh - var(--kop-h)); background: var(--color-night); color: var(--color-light); }
.overhero-tekst { display: flex; flex-direction: column; justify-content: flex-end; padding-block: var(--space-3xl); padding-inline: max(var(--gutter), calc(100% - var(--container) / 2 + var(--gutter))) var(--space-3xl); }
.overhero h1 { font-size: clamp(3rem, 5.4vw + 0.5rem, 6.5rem); line-height: 0.98; letter-spacing: -0.02em; max-width: 11ch; color: var(--color-light); }
.overhero .intro { margin-top: var(--space-xl); font-size: var(--text-lead); line-height: 1.45; color: var(--color-light-2); max-width: 36ch; }
.overfoto { position: relative; margin: 0; min-height: 520px; background: var(--color-night-2); }
.overfoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.overhero .dak { margin-bottom: var(--space-xl); }
.overhero h1, .overhero .intro, .overhero .dak,
.contacthero h1, .contacthero .lead, .contacthero .dak { animation: opkomen 1s var(--ease-out) both; }
.overhero h1, .contacthero h1 { animation-delay: 0.15s; }
.overhero .intro, .contacthero .lead { animation-delay: 0.3s; }
.contacthero .dak { transform-origin: left center; animation: dak-in 0.9s var(--ease-out) both; }
.overfoto img { animation: inzoomen 2.4s var(--ease-out) both; }

/* de verhalen: drie even grote oranje vlakken, koppen en tekst op dezelfde lijn */
.verhalen { padding-block: var(--section-gap-s); }
.overtekst { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.blok { position: relative; margin-top: var(--dakhoogte); padding: var(--space-xl) var(--space-xl) var(--space-2xl); background: var(--color-accent); color: var(--color-accent-ink); --dakhoogte: clamp(40px, 4.2vw, 64px); }
.blok::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: var(--dakhoogte); background: var(--color-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M0 14 C30 13.4 48 7 60 0 C72 7 90 13.4 120 14 Z'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M0 14 C30 13.4 48 7 60 0 C72 7 90 13.4 120 14 Z'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 100%; }
.blok h2 { min-height: 2.04em; font-size: clamp(1.75rem, 1.6vw + 0.9rem, 2.5rem); line-height: 1.02; letter-spacing: -0.015em; max-width: 14ch; color: inherit; }
.blok p { margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-accent-ink) 30%, transparent); font-size: var(--text-lg); line-height: 1.55; color: inherit; }
.overknop { margin-top: var(--space-2xl); }

/* ---------- offerte ---------- */
.offerte { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); padding-bottom: var(--section-gap-s); }
.zij { grid-column: 1 / 5; position: sticky; top: var(--space-xl); align-self: start; }
.zij p { color: var(--color-ink-2); margin-bottom: var(--space-lg); }
.zij a { display: block; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-title); font-weight: 500; text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.zij a:first-of-type { border-top: var(--rule-hair) solid var(--color-rule); }
.zij a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.zij a:active { background: var(--color-paper-3); }
.offerte > div { grid-column: 1 / 8; min-width: 0; }
.offerte { padding-top: var(--space-3xl); }
/* overzicht: een oranje StretchRoof die zich vult terwijl je invult */
.overzicht { --dakhoogte: clamp(40px, 4.2vw, 56px); grid-column: 9 / 13; align-self: start; position: sticky; top: calc(var(--dakhoogte) + var(--space-xl)); margin-top: var(--dakhoogte); padding: var(--space-lg) var(--space-xl) var(--space-xl); background: var(--color-accent); color: var(--color-accent-ink); }
.overzicht::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: var(--dakhoogte); background: var(--color-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M0 14 C30 13.4 48 7 60 0 C72 7 90 13.4 120 14 Z'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M0 14 C30 13.4 48 7 60 0 C72 7 90 13.4 120 14 Z'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 100%; }
.overzicht h2 { font-size: var(--text-2xl); color: inherit; margin-bottom: var(--space-md); }
.overzicht dl { margin: 0; }
.overzicht dl > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-sm); padding-block: var(--space-xs); border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-accent-ink) 25%, transparent); }
.overzicht dt { font-size: var(--text-sm); }
.overzicht dd { margin: 0; font-size: var(--text-sm); font-weight: 500; overflow-wrap: anywhere; }
.overzicht dd:empty::before { content: "nog niet ingevuld"; font-weight: 400; opacity: 0.7; }
form fieldset { border: 0; margin: 0 0 var(--space-2xl); padding: 0; min-width: 0; }
form legend { padding: 0; margin-bottom: var(--space-lg); font-size: var(--text-2xl); font-weight: 500; color: var(--color-ink); }
form fieldset + fieldset { padding-top: var(--space-md); }
.verstuur .knop { min-height: 56px; padding-inline: var(--space-xl); font-size: var(--text-lg); }
.rij { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.veld { display: flex; flex-direction: column; gap: var(--space-xs); min-width: 0; }
.veld.heel { grid-column: 1 / -1; }
.veld label small { color: var(--color-ink-2); font-size: var(--text-sm); margin-left: var(--space-xs); }
.veld input, .veld select, .veld textarea { width: 100%; min-height: 52px; padding: var(--space-sm) var(--space-md); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-card); color: var(--color-ink); font-size: var(--text-md); -webkit-appearance: none; appearance: none; }
.veld input::placeholder, .veld textarea::placeholder { color: var(--color-ink-2); }
.veld input:hover, .veld select:hover, .veld textarea:hover { background: var(--color-light); }
.veld input:disabled, .veld select:disabled, .veld textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.veld input:user-invalid { border-color: var(--color-error); }
.veld select { background-image: linear-gradient(45deg, transparent 50%, var(--color-ink-2) 50%), linear-gradient(135deg, var(--color-ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: var(--space-xl); }
.veld input::-webkit-calendar-picker-indicator { opacity: 0.7; }
.veld textarea { min-height: 140px; resize: vertical; }
.kies { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--rule-hair); background: var(--color-rule); border: var(--rule-hair) solid var(--color-rule); }
.kies label { display: block; min-height: 64px; padding: var(--space-sm) var(--space-md); background: var(--color-paper-2); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.kies label:hover { background: var(--color-light); }
.kies input { position: absolute; opacity: 0; pointer-events: none; }
.kies b { display: block; font-weight: 500; white-space: nowrap; }
.kies span { display: block; font-size: var(--text-sm); color: var(--color-ink-2); }
.kies label:has(input:checked) { background: var(--color-paper-3); box-shadow: inset 0 -3px 0 var(--color-accent); }
.kies label:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.kies .breed { grid-column: 1 / -1; }
.verstuur { display: flex; align-items: center; gap: var(--space-md) var(--space-lg); flex-wrap: wrap; }
.verstuur p { color: var(--color-ink); font-weight: 500; }
.melding { padding: var(--space-xl); background: var(--color-paper-2); border-top: 3px solid var(--color-accent); }
.melding h2 { font-size: var(--text-2xl); margin-bottom: var(--space-sm); }
.melding p { color: var(--color-ink-2); }
.melding a { color: var(--color-ink); }
.verborgen { display: none; }

/* ---------- binnenkomst en beweging ---------- */
@keyframes opkomen { from { opacity: 0; transform: translateY(28px); } }
@keyframes infaden { from { opacity: 0; } }
@keyframes dak-in { from { transform: scaleX(0); } }
@keyframes inzoomen { from { transform: scale(1.1); } }
@keyframes diepte { to { transform: translateY(14%); } }
.hero.vol img { animation: inzoomen 2.4s var(--ease-out) both; }
.hero.vol .dak { transform-origin: left center; animation: dak-in 0.9s var(--ease-out) 0.2s both; }
.hero.vol h1 { animation: opkomen 1s var(--ease-out) 0.3s both; }
.hero.vol .onder { animation: opkomen 1s var(--ease-out) 0.6s both; }
.kop.over-foto nav { animation: infaden 0.8s var(--ease-out) 0.8s both; }
@supports (animation-timeline: scroll()) {
  .hero.vol picture { animation: diepte linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
}
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js .reveal.zichtbaar { opacity: 1; transform: none; }
.js .blok.reveal:nth-child(2) { transition-delay: 120ms; }
.js .blok.reveal:nth-child(3) { transition-delay: 240ms; }

/* ---------- tablet ---------- */
@media (max-width: 60rem) {
  .fk-tekst, .fk-beeld,
  .contactblok h2, .knoppen,
  .showlinks, .paneel,
  .zij, .offerte > div { grid-column: 1 / -1; }
  .fk-beeld { min-height: 0; aspect-ratio: 1 / 1; order: -1; }
  .overhero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .overhero-tekst { order: 2; padding: var(--space-2xl) var(--gutter); }
  .overfoto { min-height: 0; height: 62svh; }
  .overtekst { grid-template-columns: minmax(0, 1fr); }
  .blok { padding: var(--space-xl) var(--space-lg); }
  .blok h2 { min-height: 0; }
  .plattegrond { max-width: 240px; }
  .zij { position: static; }
  .overzicht { display: none; }
  .offerte > div { grid-column: 1 / -1; }
  .oknop span { font-size: var(--text-lg); }
}
/* ---------- mobiel ---------- */
@media (max-width: 45rem) {
  :root { --kop-h: 64px; }
  .kop { position: sticky; top: 0; }
  .kop .binnen { grid-template-columns: minmax(0, 1fr) auto; }
  .kop .logo img { height: 28px; }
  .kop nav { display: none; }
  .menuknop { display: inline-flex; }
  .menu { padding-top: calc(var(--kop-h) + var(--space-lg)); }
  .hero { height: auto; min-height: calc(100svh - var(--kop-h)); }
  .hero.vol { min-height: 100svh; }
  .kop.over-foto { position: fixed; }
  .kop.over-foto .binnen { grid-template-columns: minmax(0, 1fr); justify-items: end; height: var(--kop-h); padding-block: 0; }
  .kop.over-foto.vast { background: var(--color-night); }
  .hero .binnen { padding-bottom: var(--space-xl); }
  .hero .onder .knop { flex: 1 0 100%; }
  .strook-foto { height: 58svh; min-height: 300px; }
  .fotoband { padding-block: var(--space-xl); }
  .maten { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); }
  .maten::-webkit-scrollbar { display: none; }
  .maat { flex: 0 0 auto; scroll-snap-align: start; padding-inline: var(--space-md); }
  .podium { height: auto; aspect-ratio: 4 / 3.4; margin-inline: calc(var(--gutter) * -1); }
  .weergave button { flex: 1; width: auto; }
  .actie .knop, .fk-tekst .knop, .overknop, .verstuur .knop { width: 100%; }
  .rij { grid-template-columns: minmax(0, 1fr); }
  .kies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .knoppen { gap: var(--space-xs); }
  .oknop { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: var(--space-xs); padding: var(--space-md) var(--space-xs); }
  .oknop span { font-size: 0; }
  .oknop b { font-size: var(--text-md); font-weight: 500; color: var(--color-light); }
  .contactblok { padding-bottom: calc(var(--space-3xl) + env(safe-area-inset-bottom)); }

  /* vaste balk */
  .actiebalk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky); padding: var(--space-xs) var(--gutter) max(var(--space-xs), env(safe-area-inset-bottom)); background: var(--color-night); border-top: var(--rule-hair) solid var(--color-night-rule); --color-focus: var(--color-light); transition: transform var(--dur-long) var(--ease-out); }
  .actiebalk.alleen-bel { grid-template-columns: minmax(0, 1fr); }
  .actiebalk.weg { transform: translateY(110%); }
  .ab-bel { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; border: var(--rule-hair) solid var(--color-light-muted); color: var(--color-light); font-weight: 500; text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
  .ab-bel:hover { background: var(--color-night-2); }
  .ab-bel:active { background: var(--color-night-rule); }
  .ab-bel svg { width: 20px; height: 20px; color: var(--color-accent); }
  .actiebalk .knop { min-height: 48px; }
  body.menu-open .actiebalk { display: none; }

  /* home */
  .hero.vol::after { background: linear-gradient(to top, color-mix(in oklab, var(--color-scrim) 92%, transparent) 0%, color-mix(in oklab, var(--color-scrim) 70%, transparent) 45%, color-mix(in oklab, var(--color-scrim) 0%, transparent) 80%); }
  .hero h1 { font-size: clamp(2.5rem, 10.5vw, 3.25rem); max-width: none; }
  .showknoppen button { width: 44px; height: 44px; }
  .fk-beeld { aspect-ratio: 16 / 10; }
  .fk-maten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 0; }
  .fk-maten a { grid-template-columns: minmax(0, 1fr); gap: 0; padding: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); border-top: 0; }
  .fk-maten a:nth-child(odd) { border-right: var(--rule-hair) solid var(--color-rule); }
  .fk-maten a:nth-child(-n+2) { border-top: var(--rule-hair) solid var(--color-rule); }
  .fk-maten b { font-size: var(--text-lg); }
  .fk-maten span { font-size: var(--text-sm); }

  /* formaten */
  .showroom { padding-block: var(--space-xl) var(--space-2xl); }
  .maten { -webkit-mask-image: linear-gradient(to right, transparent, var(--color-night) 12%, var(--color-night) 88%, transparent); mask-image: linear-gradient(to right, transparent, var(--color-night) 12%, var(--color-night) 88%, transparent); }
  .showgrid { margin-top: 0; row-gap: var(--space-lg); }
  .podium > .podium-maat { display: flex; flex-direction: column; inset: var(--space-md) auto auto var(--space-md) !important; width: auto !important; height: auto !important; pointer-events: none; }
  .podium-maat b { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 500; line-height: 1; }
  .podium-maat span { color: var(--color-accent); font-size: var(--text-md); }
  .uitlezing { display: none; }
  .paneel { gap: var(--space-lg); }
  .plattegrond { max-width: 180px; }
  .actie p { font-size: var(--text-2xl); }

  /* over */
  .overhero h1 { font-size: var(--text-display-s); }
  .overfoto { height: 56svh; }
  .verhalen { padding-block: var(--space-xl); }
  .blok p { font-size: var(--text-md); }

  /* offerte */
  .offerte { row-gap: var(--space-xl); padding-top: var(--space-xl); }
  .contacthero { padding-block: var(--space-2xl) var(--space-xl); }
  .contacthero .dak { margin-bottom: var(--space-md); }
  .kopband + .showroom { padding-top: var(--space-lg); }
  .overhero-tekst { padding-block: var(--space-xl) var(--space-2xl); }
  .overhero .dak { margin-bottom: var(--space-lg); }
  .zij a { font-size: var(--text-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .voortgang i { transition: none; }
  .hero.vol img, .hero.vol .dak, .hero.vol h1, .hero.vol .onder, .kop.over-foto nav, .hero.vol picture { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .overhero h1, .overhero .intro, .overhero .dak, .overfoto img,
  .contacthero h1, .contacthero .lead, .contacthero .dak { animation: none; }
  .menu:not([hidden]) a { animation: none; }
  .actiebalk { transition: none; }
}
