/* ==========================================================================
   't ParketHuys — ontwerp 3
   Verder gebouwd op ontwerp 2 (Dinesen-rust, Apple-verfijning, warm wit).
   Nieuw: wisselende hero, "plank voor plank"-verhaal, een collectie van
   ruim twintig live getekende legpatronen. Letter: Albert Sans.
   ========================================================================== */

/* Letters staan op onze eigen server, zodat bezoekers niets naar Google sturen.
   Albert Sans en Cormorant Garamond, beide SIL Open Font License. */
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 200 600; font-display: swap; src: url("../fonts/albert-sans-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 200 600; font-display: swap; src: url("../fonts/albert-sans-latin.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: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-500-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-500-italic-latin.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: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-500-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-500-latin.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; }

:root {
  /* Layout: gecentreerde koppen boven grote, afgeronde beelden; daartussen beeld|tekst-paren. */
  --bg: #fbf9f6;
  --bg-2: #f3eee7;
  --surface: #ffffff;
  --ink: #1d1a17;
  --ink-2: #6c645c;
  --ink-3: #978c81;
  --line: #e5ded4;
  --brown: #41291c;
  --brown-2: #5a3a28;
  --oak: #8a5a2b;
  --espresso: #1e1915;
  --on-dark: #f3eee7;
  --on-dark-2: #b3a99e;

  --sans: "Albert Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --max: 1180px;
  --wide: 1440px;
  --gutter: clamp(16px, 4.4vw, 56px);
  --header-h: 74px;
  --r-xl: 30px;
  --r-lg: 22px;
  --r-md: 16px;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--wide { max-width: var(--wide); }
.center { text-align: center; }

/* ---------- Typografie ---------------------------------------------------- */

/* Dunne, ruim gezette koppen zoals bij Dinesen; geen gemengde letters. */
h1, h2, h3, h4 { margin: 0; font-weight: 300; text-wrap: balance; }
.display { font-size: clamp(44px, 6.4vw, 92px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 300; }
.h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.08; letter-spacing: -0.022em; }
.h2 { font-size: clamp(32px, 3.9vw, 54px); line-height: 1.1; letter-spacing: -0.02em; }
/* Klassieke schreefletter als accent voor een enkele grote titel */
.title-serif { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(54px, 7.2vw, 100px); line-height: 0.95; letter-spacing: -0.01em; color: var(--brown); }
.title-serif em { font-style: italic; color: var(--oak); }
.h3 { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.22; letter-spacing: -0.015em; font-weight: 400; }
.h4 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; }
em.s, .s { font: inherit; letter-spacing: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.eyebrow { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.005em; color: var(--oak); margin-bottom: 14px; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; color: var(--ink-2); letter-spacing: -0.012em; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; color: var(--ink-3); }

/* ---------- Knoppen & links ---------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 19px;
  background: var(--brown); color: #fff;
  font-size: 15px; font-weight: 400; letter-spacing: 0; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { background: var(--brown-2); }
/* Knoppen hebben de vorm van het kader rond "Sinds 1978" in het logo: een rechthoek met holle hoeken. */
.btn, .chip, .ccard--cta .ccard__img::after {
  --notch: 8px;
  --corner: #0000 var(--notch), #000 calc(var(--notch) + .5px);
  -webkit-mask:
    radial-gradient(circle at 0 0, var(--corner)) left top / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, var(--corner)) right top / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, var(--corner)) left bottom / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, var(--corner)) right bottom / 51% 51% no-repeat;
  mask:
    radial-gradient(circle at 0 0, var(--corner)) left top / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, var(--corner)) right top / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, var(--corner)) left bottom / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, var(--corner)) right bottom / 51% 51% no-repeat;
}
/* Een dunne lijn binnen in de knop die de holle hoeken volgt, zoals het kader in het logo:
   wit op de bruine knoppen, bruin op de witte. */
.btn { position: relative; --frame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M10.2 2.5H29.8A10.5 10.5 0 0 0 37.5 10.2V29.8A10.5 10.5 0 0 0 29.8 37.5H10.2A10.5 10.5 0 0 0 2.5 29.8V10.2A10.5 10.5 0 0 0 10.2 2.5Z' fill='none' stroke='%23ffffff' stroke-width='0.6'/%3E%3C/svg%3E"); }
.btn--sm { --frame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M7.75 2H32.25A8 8 0 0 0 38 7.75V32.25A8 8 0 0 0 32.25 38H7.75A8 8 0 0 0 2 32.25V7.75A8 8 0 0 0 7.75 2Z' fill='none' stroke='%23ffffff' stroke-width='0.6'/%3E%3C/svg%3E"); }
.btn--light { --frame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M10.2 2.5H29.8A10.5 10.5 0 0 0 37.5 10.2V29.8A10.5 10.5 0 0 0 29.8 37.5H10.2A10.5 10.5 0 0 0 2.5 29.8V10.2A10.5 10.5 0 0 0 10.2 2.5Z' fill='none' stroke='%2341291c' stroke-width='0.6'/%3E%3C/svg%3E"); }
.btn--light.btn--sm { --frame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M7.75 2H32.25A8 8 0 0 0 38 7.75V32.25A8 8 0 0 0 32.25 38H7.75A8 8 0 0 0 2 32.25V7.75A8 8 0 0 0 7.75 2Z' fill='none' stroke='%2341291c' stroke-width='0.6'/%3E%3C/svg%3E"); }
.btn::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-style: solid; border-width: 0; border-image: var(--frame) 14 / 14px stretch; }
.btn--line::before, .btn--ghost-light::before { content: none; }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px #e7c99d; }
.btn--light:focus-visible { box-shadow: inset 0 0 0 2px var(--oak); }
/* Secundaire acties zijn tekst met een pijltje (zoals .more); alleen de hoofdactie is een knop */
.btn--line, .btn--ghost-light { background: none; min-height: 0; padding: 0; gap: 4px; -webkit-mask: none; mask: none; }
.btn--line { color: var(--oak); }
.btn--line::after, .btn--ghost-light::after { content: "›"; font-size: 1.2em; line-height: 1; transform: translateY(-1px); transition: transform .3s var(--ease); }
.btn--line:hover, .btn--ghost-light:hover { background: none; text-decoration: underline; text-underline-offset: 4px; }
.btn--line:hover { color: var(--oak); }
.btn--line:hover::after, .btn--ghost-light:hover::after { transform: translate(3px, -1px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-2); }
.btn--ghost-light, .btn--ghost-light:hover { color: #fff; }
.btn--sm { --notch: 6px; min-height: 32px; padding: 0 14px; font-size: 13.5px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.center .actions, .actions.center { justify-content: center; }

.more { color: var(--oak); font-size: 17px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.more::after { content: "›"; font-size: 1.2em; line-height: 1; transform: translateY(-1px); transition: transform .3s var(--ease); }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.more:hover::after { transform: translate(3px, -1px); }
.sec--dark .more, .more--light { color: #e7c99d; }

/* ---------- Header -------------------------------------------------------- */

.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(251, 249, 246, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.hdr.is-scrolled { border-color: var(--line); }
.hdr__in {
  height: var(--header-h); max-width: var(--wide); margin: 0 auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
/* Logo ongewijzigd: originele kleur en verhouding, altijd op licht. */
.hdr__logo img { height: 56px; width: auto; }
.hdr__nav { display: flex; gap: clamp(20px, 2.6vw, 38px); font-size: 14.5px; }
.hdr__nav a { color: var(--ink); opacity: .82; transition: opacity .2s; padding: 6px 0; position: relative; }
.hdr__nav a:hover { opacity: 1; }
.hdr__nav a[aria-current="page"] { opacity: 1; }
.hdr__nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--oak); border-radius: 2px;
}
.hdr__end { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.burger { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

.sheet {
  position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); bottom: 0; z-index: 65;
  background: var(--bg);
  padding: 24px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.menu-open .sheet { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.sheet ul { list-style: none; margin: 0; padding: 0; }
.sheet li a { display: block; font-size: 30px; font-weight: 300; letter-spacing: -0.02em; padding: 8px 0; }
.sheet li a[aria-current="page"] { color: var(--oak); }
.sheet__meta { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 6px; color: var(--ink-2); font-size: 16px; }
body.menu-open { overflow: hidden; }

main { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }

/* ---------- Hero ---------------------------------------------------------- */

.hero { padding-top: clamp(56px, 8vw, 112px); text-align: center; }
.hero .lead { max-width: 640px; margin: 24px auto 34px; }
.hero__media { margin-top: clamp(48px, 6vw, 80px); --p: 0; }
.hero__media img {
  width: 100%; height: clamp(360px, 62vw, 860px); object-fit: cover;
  clip-path: inset(0 calc((1 - var(--p)) * max(var(--gutter), 6vw)) round calc((1 - var(--p)) * var(--r-xl)));
  will-change: clip-path;
}
.hero__caption { margin-top: 14px; text-align: center; }

/* Beeldvullende hero: foto over de volle breedte, tekst links (Dinesen) */
.hero2 {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: calc(92svh - var(--header-h)); display: flex; align-items: flex-end;
  padding-top: 96px; padding-bottom: clamp(56px, 8vw, 120px);
}
.hero2--page { min-height: clamp(440px, 64svh, 680px); }
.hero2__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: heroIn 2.2s var(--ease) both; }
.hero2::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(24,17,11,.58) 0%, rgba(24,17,11,.3) 45%, rgba(24,17,11,0) 75%),
    linear-gradient(0deg, rgba(24,17,11,.42) 0%, rgba(24,17,11,0) 55%);
}
@keyframes heroIn { from { transform: scale(1.05); } to { transform: none; } }
.hero2__content { width: 100%; }
.hero2 .eyebrow { color: rgba(255,255,255,.82); font-weight: 500; }
.hero2 .display, .hero2 .h1 { max-width: 13ch; }
.hero2 .lead { color: rgba(255,255,255,.9); max-width: 540px; margin: 22px 0 34px; }
.hero2 .actions { gap: 12px; }

/* Paginakop subpagina's */
.phead { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(40px, 5vw, 64px); text-align: center; }
.phead .lead { max-width: 660px; margin: 22px auto 0; }
.phead .actions { margin-top: 30px; justify-content: center; }
.phead__media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-xl); }

/* ---------- Secties ------------------------------------------------------- */

.sec { padding-top: clamp(88px, 11vw, 160px); padding-bottom: clamp(88px, 11vw, 160px); }
.sec--tight { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.sec--alt { background: var(--bg-2); }
.sec--dark { background: var(--espresso); color: var(--on-dark); }
.sec--dark .lead, .sec--dark .muted { color: var(--on-dark-2); }
.sec--dark .eyebrow { color: #d9b98a; }
.sec + .sec:not(.sec--alt):not(.sec--dark) { padding-top: 0; }
.shead { max-width: 820px; margin: 0 auto clamp(44px, 5vw, 72px); text-align: center; }
.shead .lead { margin-top: 18px; }
.shead--left { margin-left: 0; text-align: left; }
.shead--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; text-align: left; }

/* Statement met woorden die oplichten tijdens scrollen */
.statement { max-width: 1020px; margin: 0 auto; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.22; letter-spacing: -0.02em; font-weight: 300; }
.statement .w { color: var(--ink-3); transition: color .4s var(--ease); }
.statement .w.on { color: var(--ink); }
.statement .s { color: var(--oak); }

/* Paar: beeld | tekst (Dinesen) */
.pair { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 128px); align-items: center; }
.pair--rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.pair--rev .pair__media { order: 2; }
.pair__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.pair__media--land img { aspect-ratio: 4 / 3; }
.pair__media figcaption { margin-top: 12px; }
.pair__body { max-width: 480px; min-width: 0; }
.pair__body .h3, .pair__body .h2 { margin-bottom: 20px; }
.pair__body p { color: var(--ink-2); }
.pair__body .more, .pair__body .actions { margin-top: 18px; }
.pair__body .actions .more { margin-top: 0; }
.pair__body ul { padding-left: 1.1em; margin: 0 0 1em; color: var(--ink-2); }
.pair__body li { margin-bottom: .35em; }
.sec--dark .pair__body p, .sec--dark .pair__body ul { color: var(--on-dark-2); }

/* ---------- Vloer-carrousel (Dinesen) ------------------------------------ */

.slider { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); min-height: clamp(460px, 46vw, 640px); border-radius: var(--r-xl); overflow: hidden; background: var(--espresso); }
.slider__room, .slider__panel { position: relative; overflow: hidden; }
.slider__room img, .slider__panel > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.03); transition: opacity .9s var(--ease), transform 1.6s var(--ease);
}
.slider__room img.on, .slider__panel > img.on { opacity: 1; transform: none; }
.slider__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,18,12,.15), rgba(25,18,12,.6)); }
.slider__text {
  position: absolute; inset: auto 0 0 0; z-index: 2; color: #fff;
  padding: clamp(24px, 3vw, 44px);
}
.slider__text .slide { display: none; }
.slider__text .slide.on { display: block; animation: rise .7s var(--ease); }
.slider__text .h3 { margin-bottom: 12px; }
.slider__text p { color: rgba(255,255,255,.86); font-size: 16px; max-width: 360px; }
.slider__text .btn { margin-top: 18px; }
.slider__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.28); font-size: 14px; color: rgba(255,255,255,.8); font-variant-numeric: tabular-nums; }
.slider__nav div { display: flex; gap: 8px; }
.slider__nav button { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 20px; line-height: 1; transition: background .25s; }
.slider__nav button:hover { background: rgba(255,255,255,.32); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Horizontale kaartenrij (Apple) -------------------------------- */

.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 340px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  padding: 4px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) 24px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-ctrl { display: flex; justify-content: flex-end; gap: 12px; }
.rail-ctrl button { width: 56px; height: 56px; border-radius: 50%; background: var(--surface); font-size: 30px; line-height: 1; color: var(--ink); box-shadow: 0 0 0 1px var(--line); transition: background .25s, color .25s, opacity .25s; }
.rail-ctrl button:hover { background: var(--brown); color: #fff; box-shadow: none; }
.rail-ctrl button:disabled { opacity: .35; cursor: default; }

.pcard { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); }
.sec--alt .pcard { box-shadow: none; }
.pcard__img { aspect-ratio: 1; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__body { padding: 22px 24px 26px; }
.pcard__body .h4 { margin-bottom: 6px; }
.pcard__body p { font-size: 15.5px; color: var(--ink-2); }

/* ---------- Projecten: verspringende rij (Dinesen) ------------------------ */

.stagger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: start; }
.stagger > :nth-child(2) { margin-top: clamp(40px, 7vw, 110px); }
.stagger > :nth-child(3) { margin-top: clamp(20px, 3.5vw, 56px); }
.case { display: block; }
.case__img { overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 5; background: var(--bg-2); }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case:hover .case__img img { transform: scale(1.04); }
.case__meta { padding-top: 14px; }
.case__meta b { display: block; font-weight: 500; font-size: 17px; letter-spacing: -0.015em; }
.case__meta span { display: block; font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.case[hidden] { display: none; }

.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(20px, 2.6vw, 36px); }

/* Filters als onderstreepte keuzelijsten (Dinesen) */
.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 16px 28px; align-items: end; margin-bottom: 56px; }
.filters label { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 4px; }
.filters select {
  width: 100%; appearance: none; -webkit-appearance: none; background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 8px 26px 10px 0; font-size: 16px; color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d1a17' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; cursor: pointer;
}
.filters select:focus { border-color: var(--ink); outline: none; }
.filters .reset { font-size: 14px; color: var(--oak); padding: 10px 0; }
.count { font-size: 14px; color: var(--ink-3); margin: -36px 0 28px; }

/* ---------- Cijfers -------------------------------------------------------- */

.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; text-align: center; }
.figures b { display: block; font-weight: 200; font-size: clamp(56px, 6.6vw, 96px); line-height: 1; letter-spacing: -0.03em; color: var(--brown); font-variant-numeric: lining-nums; }
.figures span { display: block; margin-top: 14px; font-size: 16px; color: var(--ink-2); }
.sec--dark .figures b { color: #e7c99d; }
.sec--dark .figures span { color: var(--on-dark-2); }

/* ---------- Tegels (Apple) ------------------------------------------------- */

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-xl); min-height: clamp(460px, 48vw, 640px);
  display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; background: var(--espresso);
  padding: clamp(36px, 4.5vw, 60px) 24px;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile:hover img { transform: scale(1.03); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,11,.62) 0%, rgba(20,15,11,.18) 45%, rgba(20,15,11,0) 70%); }
.tile > :not(img) { position: relative; z-index: 1; }
.tile .h2 { font-size: clamp(30px, 3.4vw, 46px); }
.tile p { margin: 10px 0 20px; color: rgba(255,255,255,.88); font-size: 19px; max-width: 420px; }
.tile .more { color: #fff; }
.tile--short { min-height: clamp(360px, 34vw, 480px); justify-content: center; }
.tile--short::after { background: rgba(20,15,11,.45); }

/* ---------- Specificatie-chips -------------------------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.chip { --notch: 6px; padding: 9px 16px; background: rgba(255,255,255,.08); color: var(--on-dark); font-size: 14.5px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.sec:not(.sec--dark) .chip { background: var(--bg-2); color: var(--ink); box-shadow: none; }
.wide-img { margin-top: clamp(44px, 5vw, 72px); }
.wide-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-xl); }

/* ---------- Vergelijk (Onze vloeren) -------------------------------------- */

.lineup { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.lineup__item { display: flex; flex-direction: column; text-align: center; }
.lineup__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 22px; }
.lineup__item .tag { font-size: 13px; font-weight: 600; color: var(--oak); min-height: 20px; }
.lineup__item .h4 { margin: 4px 0 8px; }
.lineup__item > p { font-size: 15.5px; color: var(--ink-2); min-height: 3.2em; }
.lineup dl { margin: 18px 0 20px; border-top: 1px solid var(--line); }
.lineup dl div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.lineup dt { font-size: 12.5px; color: var(--ink-3); }
.lineup dd { margin: 2px 0 0; font-size: 15.5px; }
.lineup .more { justify-content: center; margin-top: auto; }

.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; font-size: clamp(19px, 1.8vw, 24px); color: var(--ink-3); letter-spacing: -0.02em; }

/* ---------- Stappen -------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; counter-reset: s; }
.step { border-top: 1px solid var(--line); padding-top: 22px; }
.sec--alt .step { border-top-color: #dacfc1; }
.sec--dark .step { border-top-color: rgba(255,255,255,.16); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; color: var(--oak); font-weight: 600; font-size: 14px; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.sec--dark .step::before { color: #e7c99d; }
.step .h4 { margin-bottom: 8px; }
.step p { font-size: 15.5px; color: var(--ink-2); }
.sec--dark .step p { color: var(--on-dark-2); }

/* ---------- Voor / na ----------------------------------------------------- */

.compare { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-xl); user-select: none; --pos: 50%; background: var(--espresso); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; }
.compare__line::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: rgba(251,249,246,.92); color: var(--ink);
  display: grid; place-items: center; font-size: 18px; box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.compare__tag { position: absolute; top: 18px; color: #fff; font-size: 14px; font-weight: 600; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.compare__tag--l { left: 18px; }
.compare__tag--r { right: 18px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---------- Nieuws (Apple Newsroom) --------------------------------------- */

.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news__card { display: flex; flex-direction: column; }
.news__card .img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-lg); }
.news__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news__card:hover img { transform: scale(1.04); }
.news__card .body { padding: 18px 0 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news__card .cat { font-size: 12.5px; font-weight: 600; color: var(--oak); text-transform: uppercase; letter-spacing: .04em; }
.news__card .h4 { font-size: 20px; }
.news__card p { font-size: 15px; color: var(--ink-2); }

.prose { max-width: 700px; margin: 0 auto; font-size: 19px; line-height: 1.65; color: var(--ink-2); }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.03em; color: var(--ink); margin: 52px 0 16px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: .45em; }

/* ---------- FAQ ---------------------------------------------------------- */

.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  font-size: clamp(19px, 1.7vw, 23px); font-weight: 400; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 300; color: var(--oak); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 26px; color: var(--ink-2); max-width: 720px; }

/* ---------- Projectdetail (Dinesen case) ---------------------------------- */

.casehead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 128px); align-items: start; padding-top: clamp(48px, 6vw, 88px); }
.casehead__img { position: sticky; top: calc(var(--header-h) + 24px); }
.casehead__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.casehead__body { padding-top: 12px; max-width: 520px; }
.casehead__body .h1 { font-size: clamp(36px, 4.4vw, 60px); margin-bottom: 24px; }
.casehead__body .lead { color: var(--ink); }
.casehead__body .text { margin-top: 22px; color: var(--ink-2); }
.meta { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 14px; font-size: 15px; }
.meta div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; }
.meta dt { color: var(--ink-3); }
.meta dd { margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gallery button { overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 3 / 2; background: var(--bg-2); }
.gallery button:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 10; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.gallery--odd button:last-child { grid-column: 1 / -1; aspect-ratio: 21 / 10; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(251,249,246,.97); display: none; align-items: center; justify-content: center; padding: 72px var(--gutter); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-md); }
.lightbox button { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: var(--bg-2); font-size: 22px; color: var(--ink); }
.lightbox .lb-close { top: calc(18px + env(safe-area-inset-top, 0px)); right: var(--gutter); font-size: 18px; }
.lightbox .lb-prev { left: var(--gutter); top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: var(--gutter); top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- Contact ------------------------------------------------------- */

/* Contact: drie kolommen met fijne lijnen, geen kaarten */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cols3 > div { padding: 36px clamp(20px, 3vw, 44px) 40px; min-width: 0; }
.cols3 > div + div { border-left: 1px solid var(--line); }
.cols3 > div:first-child { padding-left: 0; }
.cols3 > div:last-child { padding-right: 0; }
.cols3 address { font-style: normal; font-size: 19px; line-height: 1.45; }
.cols3__link { margin-top: 14px; }
.cols3 .hours { font-size: 15px; margin-top: 14px; }
.cols3 .hours td { padding: 4px 0; }
.cols3 .big-link { font-size: 22px; }
.cols3 .big-link + .big-link { margin-top: 4px; }
.cols3 .muted { margin-top: 14px; font-size: 15px; }
.msg { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
/* Geen kaarten: een blok tussen twee fijne lijnen */
.card { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(28px, 3vw, 40px) 0; min-width: 0; }
/* Foto met tekst eronder, zonder paneel */
.pic { min-width: 0; }
.pic img { border-radius: var(--r-lg); }
.pic__body { padding-top: 24px; }
.card .h3 { margin-bottom: 18px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: #4a6b2a; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(74,107,42,.14); }
.status.is-closed { color: #8a3f22; }
.status.is-closed::before { box-shadow: 0 0 0 4px rgba(138,63,34,.12); }
.hours { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 16px; font-variant-numeric: tabular-nums; }
.hours td { padding: 7px 0; }
.hours td:last-child { text-align: right; color: var(--ink-2); }
.hours tr.today td { font-weight: 600; color: var(--ink); }
.hours tr.closed td:last-child { color: var(--ink-3); }
.big-link { display: block; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.025em; font-weight: 500; }
.big-link:hover { color: var(--oak); }

/* Velden met alleen een fijne lijn eronder */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 32px; }
.field { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--ink-3); }
.field input, .field select, .field textarea {
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 10px 0 12px; font-size: 18px; color: var(--ink);
  transition: border-color .2s; -webkit-appearance: none; appearance: none; width: 100%;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d1a17' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 24px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.form .btn { justify-self: start; margin-top: 10px; }
.form-note { grid-column: 1 / -1; font-size: 15px; color: var(--ink-2); }
.form-privacy { align-self: center; margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.form-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-note.is-error { color: #9b3b1f; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form[hidden], .form-done[hidden] { display: none; }
.form-done .h3 { margin-bottom: 10px; }
.form-done p { color: var(--ink-2); }

.note { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.note code { font-family: var(--sans); font-weight: 600; background: var(--bg-2); padding: 3px 8px; border-radius: 6px; color: var(--brown); }
.sec--alt .note code { background: var(--surface); }

/* ---------- Partners: rustige logostrook boven de footer ------------------ */

.partners { background: var(--bg); border-top: 1px solid var(--line); padding: 48px 0 52px; }
.partners__title { text-align: center; font-size: 13.5px; font-weight: 600; color: var(--ink-3); margin: 0 0 26px; }
.partners__list { list-style: none; margin: 0 auto; padding: 0; max-width: 1140px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.partners__list li { flex: 0 1 calc((100% - 80px) / 6); }
.partners__list a { display: flex; align-items: center; justify-content: center; height: 96px; padding: 14px 10px; border-radius: var(--r-lg); transition: background .25s; }
.partners__list img { width: 100%; height: var(--h, 44px); object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .25s, opacity .25s; }
/* Lichte logo's (goud op crème) iets donkerder, anders vallen ze weg. */
.partners__list img.is-light { filter: grayscale(1) brightness(.3); }
.partners__list a:hover, .partners__list a:focus-visible { background: var(--bg-2); }
.partners__list a:hover img, .partners__list a:focus-visible img { filter: none; opacity: 1; }
.partners__list a:hover img.is-light, .partners__list a:focus-visible img.is-light { filter: brightness(.68) saturate(1.3); }
@media (hover: none) { .partners__list img { filter: none; opacity: 1; } .partners__list img.is-light { filter: brightness(.68) saturate(1.3); } }
@media (max-width: 860px) { .partners__list li { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 560px) {
  .partners { padding: 36px 0 40px; }
  .partners__list { gap: 8px; }
  .partners__list li { flex-basis: calc(50% - 4px); }
  .partners__list a { height: 80px; padding: 10px 12px; }
  .partners__list img { height: calc(var(--h, 44px) * .8); }
}

/* ---------- Footer (Apple, warm) ----------------------------------------- */

.ftr { background: var(--bg-2); color: var(--ink-2); font-size: 13.5px; padding-top: 56px; padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
.ftr__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.ftr__top img { height: 56px; width: auto; }
.ftr__top p { font-size: 16px; color: var(--ink); max-width: 420px; margin: 0; }
.ftr__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 36px 0; }
.ftr h4 { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 12.5px; }
.ftr__bottom a { color: var(--ink-2); }

/* ==========================================================================
   Ontwerp 3
   ========================================================================== */

/* Een vleugje papierkorrel over het warme wit */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .16 0 0 0 0 .08 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 72px); }

/* ---------- Hero met wisselende vloeren ---------- */
.hero3 { min-height: calc(100svh - var(--header-h)); }
.hero3__slide { position: absolute; inset: 0; z-index: -2; margin: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero3__slide.on { opacity: 1; }
.hero3__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 8s linear; }
.hero3__slide.on img { transform: scale(1); }
.hero3 .display { max-width: 11ch; }
.hero3__tabs { position: absolute; right: var(--gutter); bottom: clamp(56px, 8vw, 120px); z-index: 1; display: flex; gap: 20px; }
.hero3__tab { width: 132px; text-align: left; color: rgba(255,255,255,.66); font-size: 13.5px; transition: color .3s; }
.hero3__tab b { font-weight: 600; margin-right: 6px; font-variant-numeric: tabular-nums; }
.hero3__tab.on, .hero3__tab:hover { color: #fff; }
.hero3__bar { display: block; position: relative; height: 2px; margin-bottom: 12px; background: rgba(255,255,255,.3); border-radius: 2px; overflow: hidden; }
.hero3__bar::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero3__tab.on .hero3__bar::after { animation: fillbar 6.5s linear forwards; }
@keyframes fillbar { to { transform: none; } }

/* ---------- Plank voor plank ---------- */
.build__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.build__intro { padding-bottom: 6vh; }
.build__intro .lead { margin-top: 18px; }
.build__step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 6vh 0; border-top: 1px solid var(--line); transition: opacity .5s var(--ease); }
.build__step:not(.on) { opacity: .4; }
.build__n { display: block; font-size: 14px; font-weight: 600; color: var(--oak); font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.build__step .h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 300; margin-bottom: 14px; }
.build__step p { color: var(--ink-2); max-width: 440px; }
.build__stage { position: sticky; top: calc(var(--header-h) + 4vh); height: calc(100svh - var(--header-h) - 8vh); min-height: 420px; border-radius: var(--r-xl); overflow: hidden; background: #c8b48f; }
.build__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.build__stage::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(0deg, rgba(20,15,11,.5), rgba(20,15,11,0)); pointer-events: none; }
.build__cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; align-items: center; gap: 14px; color: #fff; font-size: 14px; font-weight: 500; }
.build__cap > span { white-space: nowrap; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.build__track { flex: 1; height: 2px; background: rgba(255,255,255,.4); border-radius: 2px; overflow: hidden; }
.build__track i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }

/* ---------- Segmenten ---------- */
/* Filters als tabs met een fijne lijn eronder; op de telefoon horizontaal scrollen */
.seg { display: flex; gap: 24px; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; box-shadow: inset 0 -1px 0 var(--line); }
.seg::-webkit-scrollbar { display: none; }
.seg button { position: relative; padding: 0 0 12px; font-size: 15px; color: var(--ink-2); transition: color .2s; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button.on { color: var(--ink); }
.seg button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); }
.seg button span { color: var(--ink-3); font-size: 12.5px; margin-left: 3px; font-variant-numeric: tabular-nums; }

/* ---------- Collectie ---------- */
.coll-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.coll-head > div:first-child { flex: 1 1 520px; max-width: 760px; }
.coll-head .lead { margin-top: 14px; max-width: 560px; }
.coll { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; }
.ccard { display: flex; flex-direction: column; min-width: 0; }
.ccard[hidden] { display: none; }
.ccard__img { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: #d8cbb9; }
.ccard__img canvas, .ccard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ccard__img canvas, .ccard__still { transition: transform 1.2s var(--ease); }
.ccard:hover .ccard__img canvas, .ccard:hover .ccard__still { transform: scale(1.04); }
.ccard__photo { opacity: 0; transition: opacity .6s var(--ease); }
.ccard:hover .ccard__photo { opacity: 1; }
/* Labels op foto's: gewone tekst op een zachte schaduw, geen pil */
.ccard__img:has(.ccard__badge)::after, .mosaic :is(a, button):has(span)::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(0deg, rgba(20,15,11,.55), rgba(20,15,11,0)); pointer-events: none; }
.ccard__badge { position: absolute; left: 14px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 12.5px; font-weight: 500; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.ccard__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f0c98f; }
.ccard__body { padding-top: 14px; }
.ccard__fam { font-size: 12.5px; font-weight: 600; color: var(--oak); }
.ccard .h4 { margin: 2px 0 4px; font-size: 18px; }
.ccard p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.ccard--cta .ccard__img::after { content: "Neem contact op ›"; position: absolute; inset: auto 12px 12px auto; padding: 8px 14px; --notch: 6px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; }
.rail--coll { grid-auto-columns: minmax(220px, 268px); }

/* ---------- Subnavigatie (Onze vloeren) ---------- */
.subnav { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 60; background: rgba(251,249,246,.88); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.subnav__in { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 24px; }
.subnav b { font-weight: 500; font-size: 17px; letter-spacing: -0.015em; white-space: nowrap; }
.subnav__links { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; font-size: 13.5px; }
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__links a { color: var(--ink-2); white-space: nowrap; padding: 4px 0; position: relative; }
.subnav__links a:hover, .subnav__links a.on { color: var(--ink); }
.subnav__links a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--oak); }

/* ---------- Karakter & kleur ---------- */
.grades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.grades figure, .tones figure { margin: 0; }
.grades canvas { width: 100%; aspect-ratio: 1; display: block; border-radius: 12px; background: #d8cbb9; }
.grades figcaption { margin-top: 10px; font-size: 14px; }
.grades figcaption b { display: block; font-weight: 500; }
.grades figcaption span { color: var(--ink-3); font-size: 13px; }
.tones { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin-top: clamp(56px, 7vw, 96px); }
.tones canvas { width: 100%; aspect-ratio: 3 / 5; display: block; border-radius: 12px; background: #d8cbb9; }
.tones figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }

/* ---------- Eigen werk (mozaïek) ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mosaic a, .mosaic button { display: block; width: 100%; aspect-ratio: 4 / 5; position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--bg-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic a:hover img, .mosaic button:hover img { transform: scale(1.04); }
.mosaic span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff; font-size: 13.5px; font-weight: 500; text-align: left; text-shadow: 0 1px 6px rgba(0,0,0,.35); }

/* Galerij met staande foto's (projecten) */
.gallery--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery--grid button, .gallery--grid button:first-child { grid-column: auto; aspect-ratio: 3 / 4; }

.keuze { font-size: 15px; margin-bottom: 22px; color: var(--ink-2); }
.keuze b { color: var(--ink); font-weight: 600; }

@media (max-width: 1080px) {
  .coll { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tones { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero3__tab { width: 108px; }
}
@media (max-width: 860px) {
  .build__grid { grid-template-columns: minmax(0, 1fr); }
  .build__stage { order: -1; top: calc(var(--header-h) + 10px); height: 44svh; min-height: 280px; z-index: 2; box-shadow: 0 -24px 0 10px var(--bg), 0 0 0 10px var(--bg); }
  .build__intro { padding-top: 6vh; }
  .build__step { min-height: 64svh; justify-content: flex-end; padding-bottom: 12vh; }
  .coll { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .hero3__tabs { left: var(--gutter); right: var(--gutter); bottom: 22px; gap: 12px; }
  .hero3__tab { flex: 1; width: auto; font-size: 12.5px; }
  .hero3 { padding-bottom: 120px; }
  .gallery--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subnav b { display: none; }
}
@media (max-width: 560px) {
  .grades { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tones { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ccard p { font-size: 13.5px; }
  .ccard .h4 { font-size: 16.5px; }
  .ccard__badge { font-size: 11.5px; left: 10px; bottom: 9px; }
  .hero3__tab .t { display: none; }
  .hero2::before { background: linear-gradient(0deg, rgba(24,17,11,.72) 0%, rgba(24,17,11,.3) 55%, rgba(24,17,11,.12) 100%); }
}

/* ---------- Reveal ------------------------------------------------------- */

.reveal { transform: translateY(26px); transition: transform 1.1s var(--ease); }
.reveal.is-in { transform: none; }

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

/* ---------- Responsive ---------------------------------------------------- */

@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .burger { display: block; }
  .hdr__in { grid-template-columns: 1fr auto; }
  .hdr__end .btn { display: none; }
  .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1081px) { .sheet { display: none; } }

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .hdr__logo img { height: 47px; }
  .pair, .pair--rev, .casehead, .msg { grid-template-columns: minmax(0, 1fr); }
  .cols3 { grid-template-columns: minmax(0, 1fr); }
  .cols3 > div { padding: 28px 0; }
  .cols3 > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .pair--rev .pair__media { order: 0; }
  .casehead__img { position: static; }
  .slider { grid-template-columns: minmax(0, 1fr); grid-template-rows: 320px auto; }
  .slider__panel { min-height: 340px; }
  .tiles, .news, .cases { grid-template-columns: minmax(0, 1fr); }
  .stagger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stagger > :nth-child(3) { display: none; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .note { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .lineup, .steps, .figures, .ftr__cols, .form { grid-template-columns: minmax(0, 1fr); }
  .figures { gap: 40px; }
  .stagger { grid-template-columns: minmax(0, 1fr); }
  .stagger > :nth-child(n) { margin-top: 0; display: block; }
  .filters { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery button, .gallery button:first-child, .gallery--odd button:last-child { grid-column: auto; aspect-ratio: 4 / 3; }
  .meta div { grid-template-columns: 1fr; gap: 2px; }
  .compare { aspect-ratio: 4 / 3; }
  .hero__media img { height: 440px; }
  .rail { grid-auto-columns: 78%; }
}
