/* Arens Vloeren · technische doorsnede-stijl */
:root {
  --bg: #FAF8F4; --surface: #F1EDE5; --ink: #111111; --muted: #56524B; --line: #DCD4C7; --line-strong: #BFB5A5;
  --oak: #A47B4F; --oak-text: #7A5634;
  --band: #111111; --band-2: #1A1917; --band-fg: #F5F1EA; --band-muted: #B7B0A4; --band-line: #34312C; --band-oak: #CFA578;
  --field: #FFFFFF; --success: #2F6B45; --error: #A3341F;
  --display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px; --r: 2px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141312; --surface: #1C1B19; --ink: #F3EFE8; --muted: #B5AFA5; --line: #312E2A; --line-strong: #47433D;
    --oak: #CFA578; --oak-text: #D8B78C; --band: #0C0C0B; --band-2: #171614;
    --field: #1A1917; --success: #7FC79A; --error: #F08A74; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141312; --surface: #1C1B19; --ink: #F3EFE8; --muted: #B5AFA5; --line: #312E2A; --line-strong: #47433D;
  --oak: #CFA578; --oak-text: #D8B78C; --band: #0C0C0B; --band-2: #171614;
  --field: #1A1917; --success: #7FC79A; --error: #F08A74; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-strong) var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; caret-color: var(--oak); font-variant-numeric: tabular-nums; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--band); }
::selection { background: var(--band-oak); color: #111111; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--band-oak); color: #111; padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(72px, 9vw, 128px); }
.band--surface { background: var(--surface); }
.band--dark { background: var(--band); color: var(--band-fg); }
.band--tight { padding-block: clamp(48px, 6vw, 72px); }
.grid-bg { background-image: linear-gradient(var(--band-line) 1px, transparent 1px), linear-gradient(90deg, var(--band-line) 1px, transparent 1px); background-size: 48px 48px; background-position: -1px -1px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.0; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; }
.h3-lg { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; }
.eyebrow { display: none; }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--muted); max-width: 36em; }
.band--dark .lead { color: var(--band-muted); }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 38em; color: var(--muted); }
.prose h2, .prose h3 { color: var(--ink); margin-top: 16px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.prose li::marker { color: var(--oak); }
.label { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--oak-text); }
.band--dark .label { color: var(--band-oak); }

/* knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; font: 700 16px/1 var(--body); text-decoration: none; border: 1.5px solid var(--ink); border-radius: var(--r); cursor: pointer; transition: background .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--oak); border-color: var(--oak); color: #111111; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.band--dark .btn--solid, .xhero .btn--solid { background: var(--band-oak); border-color: var(--band-oak); color: #111111; }
.band--dark .btn--solid:hover, .xhero .btn--solid:hover { background: var(--band-fg); border-color: var(--band-fg); }
.band--dark .btn--line, .xhero .btn--line { color: var(--band-fg); border-color: #5A554D; }
.band--dark .btn--line:hover, .xhero .btn--line:hover { border-color: var(--band-fg); background: transparent; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--oak); padding-bottom: 3px; align-self: flex-start; }
.more:hover { color: var(--oak-text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--band) 92%, transparent); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--band-line); color: var(--band-fg); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { display: block; color: var(--band-fg); line-height: 0; flex-shrink: 0; --oak: var(--band-oak); }
.logo svg { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--band-fg); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--band-oak); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; background: var(--band-oak); border-color: var(--band-oak); color: #111; }
.nav .btn:hover { background: var(--band-fg); border-color: var(--band-fg); }
.menu-btn { display: none; min-height: 44px; padding: 0 16px; background: transparent; color: var(--band-fg); border: 1.5px solid #5A554D; border-radius: var(--r); font: 700 15px/1 var(--body); cursor: pointer; }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--band); border-bottom: 1px solid var(--band-line); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--band-line); font-size: 17px; }
  .nav .btn { margin-top: 16px; min-height: 52px; }
}

/* ===== HOME: doorsnede-hero ===== */
.xhero { background: var(--band); color: var(--band-fg); position: relative; overflow: hidden; }
.xhero .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(48px, 7vw, 104px); }
.xhero__text { display: flex; flex-direction: column; gap: 26px; min-width: 0; position: relative; z-index: 1; }
.xhero h1 em { font-style: normal; color: var(--band-oak); }
.xhero .lead { color: var(--band-muted); }
.xhero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--band-muted); padding-top: 8px; border-top: 1px solid var(--band-line); }
.xhero__meta a { color: var(--band-fg); text-decoration: none; font-weight: 600; }
.xhero__meta a:hover { color: var(--band-oak); }
.xsec { position: relative; min-width: 0; }
.xsec svg { width: 100%; height: auto; display: block; overflow: visible; }
.xsec .layer { transition: transform .9s var(--ease-out); }
.xsec text { font-family: var(--body); }
@media (max-width: 900px) { .xhero .wrap { grid-template-columns: 1fr; } }

/* ===== configurator ===== */
.config { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.config__stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: #2a2622; perspective: 1100px; perspective-origin: 50% -20%; }
.config__stage canvas { position: absolute; left: 50%; top: 50%; width: 170%; height: auto; aspect-ratio: 1; transform: translate(-50%, -46%) rotateX(52deg); transform-origin: 50% 50%; transition: opacity .35s var(--ease-out); }
.config__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 70% -10%, rgba(255,248,236,.32), rgba(255,248,236,0) 55%), linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 80%, rgba(0,0,0,.25)); }
.config__readout { position: absolute; left: 0; bottom: 0; z-index: 1; display: flex; gap: 14px; align-items: center; background: var(--band); color: var(--band-fg); padding: 10px 16px; font-size: 14px; font-weight: 600; }
.config__readout b { color: var(--band-oak); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.config__panel { display: flex; flex-direction: column; gap: 26px; }
.config__panel fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.config__panel legend { padding: 0; margin-bottom: 10px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); border-radius: var(--r); }
.seg label { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px 10px; font-size: 14px; font-weight: 600; cursor: pointer; text-align: center; border-right: 1px solid var(--line); transition: background .2s, color .2s; }
.seg label:last-child { border-right: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg svg { width: 34px; height: 34px; }
.seg label:has(input:checked) { background: var(--ink); color: var(--bg); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--oak); outline-offset: -2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches label { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; width: 62px; text-align: center; line-height: 1.2; }
.swatches input { position: absolute; opacity: 0; pointer-events: none; }
.swatches span.chip { width: 52px; height: 52px; border-radius: var(--r); border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 0 0 3px var(--bg); outline: 1.5px solid transparent; outline-offset: 1px; transition: outline-color .2s; }
.swatches label:has(input:checked) span.chip { outline-color: var(--ink); }
.swatches label:has(input:checked) { color: var(--ink); }
.swatches label:has(input:focus-visible) span.chip { outline: 2px solid var(--oak); }
.m2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.m2 input { font-size: 22px; font-weight: 700; font-family: var(--display); }
.calc { display: grid; gap: 6px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); }
.calc__big { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; line-height: 1; }
.calc__small { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .config { grid-template-columns: 1fr; } }

/* ===== lagen / diensten als lijst ===== */
.layers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.layers li { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.layers .sw { width: 48px; height: 14px; border-radius: 1px; align-self: center; }
.layers p { color: var(--muted); }
@media (max-width: 700px) { .layers li { grid-template-columns: 40px minmax(0, 1fr); } .layers li p { grid-column: 2; } .layers .sw { width: 32px; } }

/* stalen */
.samples { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.samples figure { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--line); }
.samples figure img { width: 100%; height: 100%; object-fit: cover; }
.samples > div { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 860px) { .samples { grid-template-columns: 1fr; } .samples figure { aspect-ratio: 4 / 3; } }

/* legpatronen als rijen */
.prows { border-top: 1px solid var(--ink); }
.prow { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.prow__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: var(--line); }
.prow__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.prow:hover .prow__img img { transform: scale(1.05); }
.prow h3 { font-size: clamp(24px, 2.6vw, 34px); }
.prow p { color: var(--muted); margin-top: 6px; max-width: 36em; }
.prow .arrow { width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; transition: background .2s, color .2s; }
.prow:hover .arrow { background: var(--ink); color: var(--bg); }
@media (max-width: 700px) { .prow { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; } .prow .arrow { display: none; } }

/* ===== gedeeld met subpagina's ===== */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(32px, 5vw, 72px); }
.hero__text { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero__media { position: relative; margin: 0; aspect-ratio: 5 / 4; max-width: 100%; overflow: hidden; border-radius: var(--r); background: var(--line); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 0; bottom: 0; background: var(--band); color: var(--band-fg); padding: 10px 16px; font-size: 14px; font-weight: 600; display: flex; gap: 12px; align-items: center; }
.tag span { color: var(--band-oak); font-weight: 700; letter-spacing: .14em; font-size: 12px; text-transform: uppercase; }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; } }
.facts { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0; margin: 0; list-style: none; font-size: 15px; font-weight: 600; }
.facts li { display: flex; align-items: center; gap: 10px; }
.facts li::before { content: ""; width: 14px; height: 3px; background: var(--oak); }

.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.head > div { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 880px) { .head { grid-template-columns: 1fr; } }

.patterns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pattern { display: flex; flex-direction: column; gap: 14px; min-width: 0; text-decoration: none; }
.pattern__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--line); }
.pattern__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.pattern:hover .pattern__img img { transform: scale(1.04); }
.pattern p { color: var(--muted); font-size: 16px; }
@media (max-width: 880px) { .patterns { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 128px; grid-auto-flow: dense; gap: 10px; }
.g { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--line); min-width: 0; }
.g--wide { grid-column: span 2; grid-row: span 2; }
.g--tall { grid-row: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; }
.g figcaption { position: absolute; left: 0; bottom: 0; background: var(--band); color: var(--band-fg); font-size: 13px; font-weight: 600; padding: 6px 11px; }
.note { margin-top: 14px; font-size: 13px; color: var(--muted); }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 110px; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.step { counter-increment: s; padding-right: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.step::before { content: counter(s); font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--band-oak); padding-bottom: 16px; border-bottom: 1px solid var(--band-line); }
.step p { color: var(--band-muted); font-size: 15.5px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.about__text { display: flex; flex-direction: column; gap: 18px; max-width: 40em; }
.about__text p { color: var(--muted); }
.values { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.values li { border: 1px solid var(--line-strong); padding: 6px 14px; font-size: 14px; font-weight: 600; }

.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.area > div { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.places { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.places a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); background: var(--field); text-decoration: none; font-weight: 600; border-radius: var(--r); }
.places a:hover { border-color: var(--ink); }
@media (max-width: 880px) { .area { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--ink); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 14px; height: 14px; background: linear-gradient(var(--oak), var(--oak)) center/14px 2px no-repeat, linear-gradient(var(--oak), var(--oak)) center/2px 14px no-repeat; transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 42em; }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.aside { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.aside h2 { font-size: 22px; line-height: 1.2; }
.aside dl { margin: 0; display: grid; gap: 12px; }
.aside dt { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--oak-text); }
.aside dd { margin: 2px 0 0; color: var(--ink); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.photos figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); background: var(--line); position: relative; }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.photos figcaption { position: absolute; left: 0; bottom: 0; background: var(--band); color: var(--band-fg); font-size: 13px; font-weight: 600; padding: 6px 11px; }
@media (max-width: 700px) { .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta > div { display: flex; flex-direction: column; gap: 12px; max-width: 40em; }

.quote { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.quote__info { display: flex; flex-direction: column; gap: 20px; }
.contact { display: grid; gap: 14px; margin: 8px 0 0; }
.contact div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.contact dt { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--oak-text); }
.contact dd { margin: 0; font-weight: 600; }
.chosen { display: none; gap: 4px; padding: 16px 18px; background: var(--band); color: var(--band-fg); }
.chosen.is-set { display: grid; }
.chosen b { color: var(--band-oak); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
form.quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; background: var(--field); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 700; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 12px 14px; min-height: 50px; width: 100%; transition: border-color .2s; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
textarea { min-height: 120px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--oak); outline-offset: 0; border-color: var(--oak); }
input[aria-invalid="true"] { border-color: var(--error); }
.err { font-size: 14px; color: var(--error); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-note { font-size: 14px; color: var(--muted); }
.form-done { grid-column: 1 / -1; background: var(--surface); border: 1px solid var(--success); padding: 14px 16px; font-size: 15px; }
@media (max-width: 880px) { .quote { grid-template-columns: 1fr; } }
@media (max-width: 520px) { form.quote-form { grid-template-columns: 1fr; } .contact div { grid-template-columns: 1fr; gap: 2px; } }

.foot { background: var(--band); color: var(--band-fg); padding-block: 64px 40px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h2 { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--band-oak); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.foot a { text-decoration: none; color: var(--band-fg); }
.foot a:hover { color: var(--band-oak); }
.foot p { color: var(--band-muted); font-size: 15px; max-width: 26em; margin-top: 16px; }
.foot__base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--band-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--band-muted); }
@media (max-width: 880px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .xsec .xlabels, .xsec .leaders, .xsec circle { display: none; } }

.xhero h1 { font-size: clamp(40px, 4.8vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
.xhero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .xhero .wrap { grid-template-columns: 1fr; } }

/* banner */
.banner { position: relative; isolation: isolate; min-height: clamp(560px, 82vh, 820px); display: grid; align-items: end; color: #F5F1EA; background: #1a1714; overflow: hidden; }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; z-index: -2; animation: bannerIn 1.6s var(--ease-out) both; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,11,10,.86) 0%, rgba(12,11,10,.62) 38%, rgba(12,11,10,.08) 70%), linear-gradient(0deg, rgba(12,11,10,.7) 0%, rgba(12,11,10,0) 45%); }
.banner__inner { display: flex; flex-direction: column; gap: 22px; padding-block: clamp(96px, 14vh, 160px) clamp(48px, 8vh, 88px); max-width: var(--wrap); }
.banner h1 { font-size: clamp(44px, 6vw, 88px); line-height: .98; letter-spacing: -0.04em; max-width: 11ch; color: #F5F1EA; }
.banner h1 em { font-style: normal; color: var(--band-oak); }
.banner .lead { color: #E4DED3; max-width: 34em; }
.banner .btn--solid { background: var(--band-oak); border-color: var(--band-oak); color: #111; }
.banner .btn--solid:hover { background: #F5F1EA; border-color: #F5F1EA; }
.banner .btn--line { color: #F5F1EA; border-color: rgba(245,241,234,.55); }
.banner .btn--line:hover { border-color: #F5F1EA; }
.banner__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #D9D2C6; padding-top: 14px; border-top: 1px solid rgba(245,241,234,.22); max-width: 560px; }
.banner__meta a { color: #F5F1EA; font-weight: 700; text-decoration: none; }
.banner__meta a:hover { color: var(--band-oak); }
@keyframes bannerIn { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (max-width: 700px) {
  .banner { min-height: 640px; }
  .banner::after { background: linear-gradient(0deg, rgba(12,11,10,.92) 0%, rgba(12,11,10,.72) 50%, rgba(12,11,10,.25) 100%); }
  .banner__img { object-position: 70% 50%; }
}
.xhero h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.04; }
.xhero h2 em { font-style: normal; color: var(--band-oak); }
.banner__inner { width: 100%; justify-self: stretch; } .banner h1 { max-width: 12ch; } .banner .lead { max-width: 30em; }

/* mobiele offerteknop */
.mcta { display: none; }
@media (max-width: 700px) {
  .mcta { display: flex; align-items: center; justify-content: center; position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; min-height: 56px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--band-oak); color: #111; font-weight: 800; font-size: 16px; text-decoration: none; box-shadow: 0 -6px 20px rgba(0,0,0,.18); }
  body { padding-bottom: 64px; }
}

/* legpatronen: drie grote beelden */
.prows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; border-top: 0; }
.prow { grid-template-columns: 1fr; gap: 18px; padding: 0; border-bottom: 0; align-items: start; }
.prow__img { aspect-ratio: 4 / 5; }
.prow h3 { font-size: clamp(24px, 2.2vw, 30px); }
.prow p { margin-top: 8px; }
.prow .arrow { display: none; }
.prow > div:nth-child(2)::after { content: "Meer over dit patroon →"; display: inline-block; margin-top: 14px; font-weight: 700; border-bottom: 1.5px solid var(--oak); padding-bottom: 3px; }
@media (max-width: 860px) { .prows { grid-template-columns: 1fr; } .prow__img { aspect-ratio: 4 / 3; } }

/* doorsnede groter */
.xhero .wrap { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(24px, 3vw, 48px); padding-block: clamp(64px, 8vw, 120px); }
.xsec { margin-right: calc(-1 * clamp(0px, 3vw, 40px)); }
.xsec svg { width: 112%; max-width: none; margin-left: -6%; }
@media (max-width: 900px) { .xhero .wrap { grid-template-columns: 1fr; } .xsec { margin-right: 0; } .xsec svg { width: 100%; margin-left: 0; } }

.xlegend { display: none; }
@media (max-width: 600px) {
  .xlegend { display: grid; list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--band-line); }
  .xlegend li { display: grid; grid-template-columns: 28px auto 1fr; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--band-line); font-size: 15px; }
  .xlegend .sw { width: 28px; height: 10px; border-radius: 1px; }
  .xlegend b { color: var(--band-fg); }
  .xlegend li > span:last-child { color: var(--band-muted); justify-self: end; }
}
@media (max-width: 600px) { .xsec { overflow: hidden; } .xsec svg { width: 132%; margin-left: -2%; } }
/* telefoon: doorsnede met labels, uit elkaar */
@media (max-width: 600px) {
  .xsec { overflow: visible; }
  .xsec svg { width: 100%; margin-left: 0; }
  .xsec .xlabels, .xsec .leaders, .xsec circle { display: inline; }
  .xsec .xlabels text[font-size="19"] { font-size: 27px; }
  .xsec .xlabels text[font-size="13"] { font-size: 19px; }
  .xlegend { display: none; }
}
