/* Smarthome Project Sites: kern-CSS. De tokens (:root) komen inline uit Theme_Engine.
   Opbouw volgt dev-reference/morris/morris.html; alle kleuren, fonts, vormen en beweging lopen via tokens. */

:root { --gutter: clamp(20px, 4.4vw, 72px); --nav-h: 72px; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.shps {
	margin: 0; background: var(--c-paper); color: var(--c-primary);
	font: 400 1.0625rem/1.65 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	overflow-x: clip;
}
:where(.shps) img { display: block; max-width: 100%; height: auto; }
:where(.shps) a { color: inherit; }
:where(.shps) :is(h1, h2, h3, p, dl, dd, figure, ul) { margin: 0; padding: 0; }
:where(.shps) ul { list-style: none; }
:where(.shps) :is(button, input, select) { font: inherit; color: inherit; }
.shps ::selection { background: var(--c-primary); color: var(--c-paper); }
.shps :focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.shps [id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--c-paper); color: var(--c-primary); padding: .7rem 1.1rem; border-radius: var(--radius-btn); font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
html.intro-lock { overflow: hidden; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.on-dark { color: var(--c-paper); }
/* Tekststapels in één kolom mogen krimpen onder de breedte van hun langste woord */
:is(.free-text, .concept-text, .contact-info, .faq-head, .story-head, .story-copy, .unit-body, .unit-top, .loc-inner, .hero-inner, .hero-foot, .offer-head, .btw-text, .panel, .form-area) { grid-template-columns: minmax(0, 1fr); }

/* ---------- Type ---------- */
.h1, .h2, .h3, .num { font-family: var(--f-display); font-weight: 500; font-feature-settings: var(--display-lnum); text-wrap: balance; }
.h1 { font-size: calc(clamp(3.6rem, 8.6vw, 9rem) * var(--heading-scale)); line-height: .86; letter-spacing: -.02em; }
.h2 { font-size: calc(clamp(2.7rem, 5.6vw, 5.4rem) * var(--heading-scale)); line-height: .92; letter-spacing: -.015em; }
.h3 { font-size: calc(clamp(1.9rem, 2.8vw, 2.8rem) * var(--heading-scale)); line-height: 1.08; letter-spacing: -.005em; }
.h1, .h2, .h3, .lead, .copy, .rich { overflow-wrap: anywhere; hyphens: manual; }
.h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 500; padding-bottom: .06em; }
.lead { font-size: clamp(1.15rem, 1.55vw, 1.4rem); line-height: 1.55; }
.copy { max-width: 34rem; text-wrap: pretty; }
.muted { color: var(--c-muted); }
.on-dark .muted, .dark .muted { color: rgba(246, 242, 235, .74); }
.eyebrow { font: 600 .75rem/1.2 var(--f-body); letter-spacing: .18em; text-transform: uppercase; }
.small { font-size: .875rem; line-height: 1.55; }

/* Woordmasker voor koppen (JS splitst woorden; italics en descenders krijgen ruimte) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .18em; margin: 0 -.06em -.18em; }
.wi { display: inline-block; }

/* ---------- Buttons & links ---------- */
.btn {
	position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
	min-height: 52px; padding: 0 1.7rem; border-radius: var(--radius-btn); white-space: nowrap; text-decoration: none; cursor: pointer;
	font: 600 .95rem/1 var(--f-body); border: var(--line-w) solid var(--c-primary); background: transparent; color: var(--c-primary);
	box-shadow: var(--shadow);
	transition: color .45s var(--ease), border-color .45s var(--ease), transform .25s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-primary); transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover { color: var(--c-paper); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.98); }
.btn .arr { display: block; flex: none; width: 1.5em; height: 1.5em; margin-right: -.2em; transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(3px) scale(1.08); }
.on-dark .btn, .dark .btn { color: var(--c-paper); border-color: rgba(246, 242, 235, .7); }
.on-dark .btn::before, .dark .btn::before { background: var(--c-paper); }
.on-dark .btn:hover, .dark .btn:hover { color: var(--c-primary); border-color: var(--c-paper); }

.tlink { display: inline-block; text-decoration: none; font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: .22em; transition: background-size .5s var(--ease); }
.tlink:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Intro (logo-onthulling + golfgordijn of fade) ---------- */
.intro { display: none; position: fixed; inset: 0; z-index: 150; }
.anim .intro { display: block; }
.intro-curtain { position: absolute; inset: 0; background: var(--c-ink); display: grid; place-items: center; }
.intro-brand { display: grid; justify-items: center; gap: 18px; padding: 0 var(--gutter); text-align: center; }
.intro-logo { width: clamp(230px, 32vw, 430px); height: auto; border-radius: 0; }
.intro-word { font: 500 clamp(2.4rem, 6vw, 4.4rem)/1 var(--f-display); color: var(--c-paper); }
.intro-tag { margin: 0; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-paper); opacity: .74; }
.intro-wave { position: absolute; left: 0; top: 100%; width: 100%; height: 14vh; display: block; margin-top: -1px; fill: var(--c-ink); }

/* ---------- Navigatie ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; color: var(--c-paper); transition: transform .6s var(--ease), background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.nav.is-solid { background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); color: var(--c-primary); box-shadow: 0 6px 24px -14px rgba(0, 0, 0, .2); }
.nav.is-hidden { transform: translateY(-101%); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: block; text-decoration: none; color: inherit; }
.brand img { display: block; height: 28px; width: auto; border-radius: 0; }
.brand .brand-dark { display: none; }
.nav.is-solid .brand .brand-light { display: none; }
.nav.is-solid .brand .brand-dark { display: block; }
.brand:not(.has-dark) .brand-light { display: block !important; }
.nav.is-solid .brand:not(.has-dark) .brand-light { filter: brightness(0); }
.brand:not(.has-light) .brand-dark { display: block !important; }
.nav:not(.is-solid) .brand:not(.has-light) .brand-dark { filter: brightness(0) invert(1); }
.wordmark { font: 500 1.5rem/1 var(--f-display); font-feature-settings: var(--display-lnum); }
.nav-links { display: none; align-items: center; gap: clamp(1.4rem, 2.4vw, 2.6rem); }
.nav-links a { text-decoration: none; font-size: .95rem; font-weight: 500; padding: .4rem 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.nav-links a:hover { background-size: 100% 1px; }
.nav-end { display: flex; align-items: center; gap: 1.4rem; }
.nav-tel { display: none; font-size: .95rem; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; }
.nav .btn { min-height: 46px; padding: 0 1.4rem; color: var(--c-paper); border-color: rgba(246, 242, 235, .7); }
.nav .btn::before { background: var(--c-paper); }
.nav .btn:hover { color: var(--c-primary); border-color: var(--c-paper); }
.nav.is-solid .btn { color: var(--c-primary); border-color: var(--c-primary); }
.nav.is-solid .btn::before { background: var(--c-primary); }
.nav.is-solid .btn:hover { color: var(--c-paper); }
.burger { width: 46px; height: 46px; border-radius: var(--radius-btn); border: var(--line-w) solid currentColor; background: transparent; cursor: pointer; display: grid; place-content: center; gap: 6px; padding: 0; }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 1100px) { .nav-links { display: flex; } .burger { display: none; } }
@media (min-width: 1320px) { .nav-tel { display: inline; } }
@media (max-width: 520px) { .nav .btn { display: none; } }

.menu { position: fixed; inset: 0; z-index: 55; background: var(--c-ink); color: var(--c-paper); display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 24px) var(--gutter) 32px; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease), visibility 0s .8s; }
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease); }
.menu nav { display: grid; gap: .2rem; }
.menu nav a { font-family: var(--f-display); font-size: clamp(2.6rem, 11vw, 4.2rem); line-height: 1.15; text-decoration: none; font-weight: 500; font-feature-settings: var(--display-lnum); }
.menu-foot { display: grid; gap: 1.2rem; }
.menu-foot .btn { width: 100%; }
@media (min-width: 1100px) { .menu { display: none; } }

/* ---------- Bandachtergronden en ruimte (gedeelde sectie-instellingen) ---------- */
.band { padding-block: clamp(76px, 11vw, 176px); }
.band.sp-small { padding-block: clamp(40px, 6vw, 96px); }
.band.sp-large { padding-block: clamp(112px, 15vw, 240px); }
.band.bg-paper { background: var(--c-paper); color: var(--c-primary); }
.band.bg-surface { background: var(--c-surface); color: var(--c-primary); }
.band.bg-primary { background: var(--c-primary); color: var(--c-paper); }
.band.bg-dark { background: var(--c-ink); color: var(--c-paper); color-scheme: dark; }
.dark { background: var(--c-ink); color: var(--c-paper); color-scheme: dark; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; background: var(--c-ink); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: 50% 60%; opacity: 0; border-radius: 0; transition: opacity 1.8s cubic-bezier(.4, 0, .2, 1); }
.hero-img.is-active { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
	linear-gradient(to bottom, rgba(0, 0, 0, calc(var(--shade-hero) * .58)) 0, rgba(0, 0, 0, 0) 24%),
	linear-gradient(to top, rgba(0, 0, 0, calc(var(--shade-hero) * 1.2)) 0, rgba(0, 0, 0, calc(var(--shade-hero) * .84)) 30%, rgba(0, 0, 0, calc(var(--shade-hero) * .36)) 54%, rgba(0, 0, 0, 0) 76%); }
.hero-inner { padding-bottom: clamp(28px, 5vw, 68px); padding-top: calc(var(--nav-h) + 40px); display: grid; gap: clamp(18px, 2.4vw, 30px); }
.hero-foot { display: grid; gap: 28px; justify-items: start; }
.hero-sub { font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.5; max-width: 34rem; color: rgba(246, 242, 235, .92); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
/* Beeldmerk: groot en deels uit beeld; elke kleur wordt een lichte silhouet */
/* --o staat op .hero zodat de titel er zijn breedte op kan afstemmen */
.hero { --o: clamp(300px, 46vw, 800px); }
.hero-o { position: absolute; z-index: -1; right: calc(var(--o) * -.16); bottom: calc(var(--o) * -.025); width: var(--o); height: auto; filter: brightness(0) invert(1); opacity: .16; pointer-events: none; border-radius: 0; }
@media (min-width: 900px) {
	.hero-o { opacity: .92; }
	/* De titel mag nooit onder het beeldmerk doorlopen: hij stopt links van het zichtbare deel (84% van de breedte) */
	.hero.has-mark .h1 { max-width: max(12ch, calc(100vw - var(--o) * .84 - max(var(--gutter), (100vw - 1440px) / 2 + var(--gutter)) - 24px)); }
}

/* Video-achtergrond: lus zonder geluid boven de poster; zonder beweging blijft de poster staan */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.is-playing { opacity: 1; }

.hero.v-split { min-height: auto; display: grid; align-items: stretch; background: var(--c-paper); color: var(--c-primary); isolation: auto; overflow: visible; }
.hero.v-split .hero-media { position: relative; inset: auto; z-index: 0; min-height: 62vw; }
.hero.v-split .hero-img { top: 0; height: 100%; }
.hero.v-split .hero-inner { align-content: end; }
.hero.v-split .hero-sub { color: var(--c-muted); }
@media (min-width: 900px) {
	.hero.v-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100dvh; }
	.hero.v-split .hero-inner { grid-column: 1; grid-row: 1; padding-inline: var(--gutter); max-width: none; }
	.hero.v-split .hero-media { grid-column: 2; grid-row: 1; min-height: 0; }
	.hero.v-split .h1 { font-size: calc(clamp(3rem, 5.4vw, 6.5rem) * var(--heading-scale)); }
}

/* ---------- Kerncijfers ---------- */
.facts { background: var(--c-primary); color: #fff; padding-block: clamp(32px, 3.6vw, 56px); }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.fact { padding: 18px clamp(14px, 2.4vw, 36px) 18px 0; }
.fact:nth-child(even) { padding-left: clamp(14px, 2.4vw, 36px); border-left: 1px solid rgba(255, 255, 255, .22); }
.fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .22); }
.fact .num { display: block; font-size: calc(clamp(2rem, 3.2vw, 3.2rem) * var(--heading-scale)); font-weight: 500; line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums; color: #fff; white-space: nowrap; }
.fact p { margin-top: 8px; max-width: 14rem; font-size: .85rem; line-height: 1.5; color: rgba(255, 255, 255, .8); }
@media (min-width: 900px) {
	.facts-grid { grid-template-columns: repeat(var(--n, 4), 1fr); }
	.fact, .fact:nth-child(even), .fact:nth-child(n+3) { padding: 2px clamp(18px, 2.4vw, 40px); border-top: 0; border-left: 1px solid rgba(255, 255, 255, .22); }
	.fact:first-child { padding-left: 0; border-left: 0; }
}
.facts.v-inline { background: var(--c-paper); color: var(--c-primary); border-block: var(--line-w) solid var(--c-line); }
.facts.v-inline .fact { border-color: var(--c-line); }
.facts.v-inline .num { color: var(--c-primary); }
.facts.v-inline .fact p { color: var(--c-muted); }

/* ---------- Concept ---------- */
.concept { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); }
.concept-text { display: grid; gap: 28px; align-content: start; }
.concept-media { position: relative; padding-bottom: 14%; }
.frame { position: relative; overflow: hidden; background: var(--c-paper); border-radius: var(--radius-img); }
.frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.concept-a { width: 86%; aspect-ratio: 4 / 3; }
.concept-b { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 5; outline: clamp(6px, 1vw, 12px) solid var(--c-paper); }
@media (min-width: 900px) { .concept { grid-template-columns: 5fr 6fr; align-items: start; } .concept-media { margin-top: clamp(0px, 4vw, 64px); } }
.v-side .concept-media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 28px); padding-bottom: 0; }
.v-side .concept-a, .v-side .concept-b { position: relative; width: auto; outline: 0; aspect-ratio: 4 / 5; }
.v-center .concept { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.v-center .concept-text { justify-items: center; }
.v-center .concept-media-wrap { width: 100%; display: grid; justify-items: center; }
.v-center .concept-media { width: min(100%, 980px); }

/* ---------- Locatie ---------- */
.loc { position: relative; min-height: min(100dvh, 960px); display: flex; align-items: flex-end; overflow: hidden; background: var(--c-ink); isolation: isolate; }
.loc-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.loc-media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; border-radius: 0; }
.loc::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
	linear-gradient(to right, rgba(0, 0, 0, calc(var(--shade-hero) * 1.05)) 0, rgba(0, 0, 0, calc(var(--shade-hero) * .7)) 42%, rgba(0, 0, 0, 0) 78%),
	linear-gradient(to top, rgba(0, 0, 0, calc(var(--shade-hero) * .9)) 0, rgba(0, 0, 0, 0) 55%); }
.loc-inner { padding-block: clamp(64px, 9vw, 130px); display: grid; gap: 28px; }
.loc-inner .h2 { max-width: 12ch; }
.loc-list { display: grid; gap: 0; max-width: 30rem; margin-top: 8px; }
.loc-list li { padding: 15px 0; border-top: 1px solid var(--c-line-inv); font-weight: 500; }
.loc-list li:last-child { border-bottom: 1px solid var(--c-line-inv); }
.loc.v-split { min-height: auto; display: grid; background: var(--c-paper); color: var(--c-primary); isolation: auto; overflow: visible; align-items: stretch; }
.loc.v-split::after { display: none; }
.loc.v-split .loc-media { position: relative; inset: auto; z-index: 0; min-height: 60vw; }
.loc.v-split .loc-media img { top: 0; height: 100%; }
.loc.v-split .loc-list li { border-color: var(--c-line); }
@media (min-width: 900px) {
	.loc.v-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.loc.v-split .loc-media { grid-column: 1; grid-row: 1; min-height: 0; }
	.loc.v-split .loc-inner { grid-column: 2; grid-row: 1; align-content: center; }
}

/* ---------- Aanbod ---------- */
.offer { background: var(--c-paper); }
.offer.is-joined { padding-bottom: 0; }
.offer-head { display: grid; gap: 22px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.offer-head .h2 { max-width: 14ch; }
.offer-head .eyebrow { grid-column: 1 / -1; }
@media (min-width: 900px) { .offer-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .offer-head .copy { padding-bottom: .6rem; } }
.stack { margin-top: clamp(40px, 6vw, 80px); }
.stack:first-child { margin-top: 0; }
.unit { position: relative; display: grid; background: var(--c-surface); margin-bottom: 28px; transform-origin: 50% 0; box-shadow: 0 -10px 30px -22px rgba(15, 36, 39, .16), var(--shadow); border-radius: var(--radius-img); overflow: clip; }
.unit-media { aspect-ratio: 4 / 3; border-radius: 0; }
.unit-body { padding: clamp(24px, 3.4vw, 56px); display: grid; gap: 28px; align-content: space-between; }
.unit-top { display: grid; gap: 14px; }
.status { font-size: .9rem; font-weight: 600; color: var(--c-primary); }
.status::before { content: ""; display: inline-block; width: 9px; height: 18px; margin-right: 10px; vertical-align: -4px; background: var(--c-accent); }
.unit-top p:not(.status) { max-width: 30rem; color: var(--c-muted); }
.unit dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.unit dt { font-size: .85rem; color: var(--c-muted); }
.unit dd { font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; line-height: 1.15; font-feature-settings: var(--display-lnum); }
.unit-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-top: 24px; border-top: var(--line-w) solid var(--c-line); }
.price { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.2rem, 3.2vw, 3rem); line-height: 1; letter-spacing: -.01em; font-feature-settings: var(--display-lnum); white-space: nowrap; }
.unit-price { display: grid; gap: 6px; }
.price-from { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.price-text { font-size: clamp(1.4rem, 2.4vw, 1.9rem); white-space: normal; }
.unit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.disclaimer { margin-top: 28px; max-width: 46rem; font-size: .85rem; color: var(--c-muted); }
@media (min-width: 900px) and (min-height: 641px) {
	.offer.v-stack .unit { grid-template-columns: 5fr 7fr; position: sticky; top: calc(var(--nav-h) + 16px + var(--i) * 14px); height: min(640px, calc(100dvh - var(--nav-h) - 56px)); min-height: 520px; margin-bottom: 11vh; }
	.offer.v-stack .unit:last-child { margin-bottom: 0; }
	.offer.v-stack .unit-media { aspect-ratio: auto; height: 100%; }
}
@media (min-width: 900px) and (max-height: 640px) { .offer.v-stack .unit { grid-template-columns: 5fr 7fr; } }
.offer.v-grid .stack { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.offer.v-grid .unit { margin-bottom: 0; }
.offer.v-grid .unit-body { padding: clamp(20px, 2.4vw, 32px); }
.offer.v-grid .unit dd { font-size: 1.4rem; }
.offer.v-list .unit { grid-template-columns: 1fr; margin-bottom: 16px; }
@media (min-width: 760px) {
	.offer.v-list .unit { grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr); }
	.offer.v-list .unit-media { aspect-ratio: auto; min-height: 100%; }
	.offer.v-list .unit-body { padding: clamp(20px, 2.4vw, 36px); gap: 20px; }
}

/* ---------- Overzicht ---------- */
.ov-sec.is-join { padding-top: clamp(72px, 9vw, 136px); }
/* Klassieke tabel van de bestaande site (shortcode): neutrale opmaak, geen projectstijl. */
.ov-legacy { overflow-x: auto; }
.ov-legacy .table-row { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.ov-legacy .table-cell { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.ov-legacy .header { font-weight: 600; }
.ov-legacy .sold { color: var(--c-muted); }
.ov-legacy .project-table + .project-table { margin-top: 32px; }
.ov-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(24px, 3vw, 40px); }
.ov-tabs { display: inline-flex; width: fit-content; max-width: 100%; border: var(--line-w) solid var(--c-primary); border-radius: var(--radius-btn); padding: 4px; }
.ov-tab { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 44px; white-space: nowrap; flex: 1 1 auto; min-width: 0; border: 0; background: transparent; color: var(--c-primary); padding: .8rem 1.3rem; border-radius: var(--radius-btn); cursor: pointer; font: 600 .95rem/1 var(--f-body); transition: background-color .35s var(--ease), color .35s var(--ease); }
.ov-tab span { font-weight: 500; opacity: .6; font-variant-numeric: lining-nums; }
.ov-tab[aria-selected="true"] { background: var(--c-primary); color: var(--c-paper); }
.ov-panel { background: var(--c-surface); border-radius: var(--radius-img); box-shadow: var(--shadow); overflow: clip; }
.ov-panel:not([hidden]) { animation: ovIn .7s var(--ease); }
@keyframes ovIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ov-scroll { overflow-x: auto; }
.ov-table { width: 100%; min-width: 880px; border-collapse: collapse; text-align: left; font-variant-numeric: lining-nums tabular-nums; }
.ov-table th { padding: 22px 16px 16px; font-size: .85rem; font-weight: 500; color: var(--c-muted); white-space: nowrap; }
.ov-table td { padding: 22px 16px; border-top: var(--line-w) solid var(--c-line); vertical-align: middle; white-space: nowrap; }
.ov-table th:first-child, .ov-table td:first-child { padding-left: clamp(20px, 2.6vw, 40px); }
.ov-table th:last-child, .ov-table td:last-child { padding-right: clamp(20px, 2.6vw, 40px); }
.ov-table .c-price, .ov-table .c-plan, .ov-table .c-visit { text-align: right; }
.ov-table td.c-ref { font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; line-height: 1; font-feature-settings: var(--display-lnum); }
.ov-table td.c-price { font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; font-feature-settings: var(--display-lnum); }
.ov-table .c-status { font-weight: 600; }
.ov-row.is-open .c-status::before, .ov-row.is-reserved .c-status::before { content: ""; display: inline-block; width: 9px; height: 18px; margin-right: 10px; vertical-align: -4px; background: var(--c-accent); }
.ov-row.is-reserved .c-status::before { background: var(--c-muted); }
.ov-row.is-sold td { color: var(--c-muted); }
.ov-row.is-sold .c-ref, .ov-row.is-sold .c-type, .ov-row.is-sold .c-num { opacity: .6; }
.ov-row.is-sold .c-status { font-weight: 500; }
.ov-row { transition: background-color .35s var(--ease); }
.ov-row:hover { background: var(--c-paper); }
@media (max-width: 899px) {
	.ov-scroll { overflow: visible; }
	.ov-table, .ov-table tbody { display: block; min-width: 0; }
	.ov-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.ov-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; align-items: start; padding: 22px clamp(18px, 4vw, 28px) 24px; border-top: var(--line-w) solid var(--c-line); }
	.ov-row:first-child { border-top: 0; }
	.ov-table td { display: flex; flex-direction: column; gap: 3px; padding: 0; border: 0; white-space: normal; text-align: left; }
	.ov-table td::before { content: attr(data-label); color: var(--c-muted); font: 400 .8rem/1.3 var(--f-body); }
	.ov-table td:empty { display: none; }
	.ov-table td:first-child { padding-left: 0; }
	.ov-table td:last-child { padding-right: 0; }
	.ov-table td.c-ref { order: -3; font-size: 1.9rem; }
	.ov-table td.c-status { order: -2; flex-direction: row; align-items: center; justify-content: flex-end; align-self: center; }
	.ov-row.is-open td.c-status::before, .ov-row.is-reserved td.c-status::before { margin: 0 10px 0 0; vertical-align: baseline; }
	.ov-table td.c-ref::before, .ov-table td.c-plan::before, .ov-row.is-sold td.c-status::before { display: none; }
	.ov-table td.c-price { text-align: left; font-size: 1.4rem; }
	.ov-table td.c-plan { grid-column: 1 / -1; padding-top: 4px; }
}
/* Variant 'kaartjes': de mobiele kaartweergave op elke breedte */
.ov-cards .ov-scroll { overflow: visible; }
.ov-cards .ov-table, .ov-cards .ov-table tbody { display: block; min-width: 0; }
.ov-cards .ov-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ov-cards .ov-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; align-items: start; padding: 22px clamp(18px, 4vw, 28px) 24px; border-top: var(--line-w) solid var(--c-line); }
.ov-cards .ov-row:first-child { border-top: 0; }
.ov-cards .ov-table td { display: flex; flex-direction: column; gap: 3px; padding: 0; border: 0; white-space: normal; text-align: left; }
.ov-cards .ov-table td::before { content: attr(data-label); color: var(--c-muted); font: 400 .8rem/1.3 var(--f-body); }
.ov-cards .ov-table td:empty { display: none; }
.ov-cards .ov-table td.c-ref { order: -3; font-size: 1.9rem; }
.ov-cards .ov-table td.c-status { order: -2; flex-direction: row; align-items: center; justify-content: flex-end; align-self: center; }
.ov-cards .ov-row.is-open td.c-status::before, .ov-cards .ov-row.is-reserved td.c-status::before { margin: 0 10px 0 0; vertical-align: baseline; }
.ov-cards .ov-table td.c-ref::before, .ov-cards .ov-table td.c-plan::before, .ov-cards .ov-row.is-sold td.c-status::before { display: none; }
.ov-cards .ov-table td.c-price { text-align: left; font-size: 1.4rem; }
.ov-cards .ov-table td.c-plan { grid-column: 1 / -1; padding-top: 4px; }

/* ---------- USP-band ---------- */
.btw { background: var(--c-surface); }
.btw-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.btw-media { aspect-ratio: 4 / 3; }
.btw-text { display: grid; gap: 24px; justify-items: start; }
.btw-note { font-size: .85rem; color: var(--c-muted); max-width: 30rem; }
@media (min-width: 900px) {
	.btw-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 8vw, 128px); }
	.btw-media { aspect-ratio: 4 / 5; }
	.btw.v-image_right .btw-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
	.btw.v-image_right .btw-media { order: 2; }
}
.btw.v-accent .btw-text { background: var(--c-accent); color: var(--c-on-accent); padding: clamp(28px, 4vw, 64px); border-radius: var(--radius-img); }
.btw.v-accent .btw-text .muted, .btw.v-accent .btw-note { color: var(--c-on-accent); }
.btw.v-accent .btw-text .btn { color: var(--c-on-accent); border-color: var(--c-on-accent); }
.btw.v-accent .btw-text .btn::before { background: var(--c-on-accent); }
.btw.v-accent .btw-text .btn:hover { color: var(--c-accent); }

/* ---------- Opendeur ---------- */
.od { background: var(--c-surface); }
.od-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.od-media { aspect-ratio: 4 / 3; min-width: 0; }
.od-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: start; min-width: 0; }
.od-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; width: 100%; }
.od-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px; border: var(--line-w) solid var(--c-primary); border-radius: var(--radius-img); background: var(--c-primary); color: var(--c-paper); }
.od-card.is-other { border-style: dashed; border-color: currentColor; background: transparent; color: inherit; }
.od-date { display: grid; justify-items: center; text-align: center; min-width: 5.2rem; line-height: 1.1; }
.od-dow, .od-mon { font: 600 .72rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.od-day { font-size: 3.2rem; line-height: 1; }
.od-info { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; justify-items: start; min-width: 0; }
.od-info p { margin: 0; }
.od-name { font: 600 1.05rem/1.3 var(--f-body); }
.od-time { font: 500 1.35rem/1.25 var(--f-display); font-feature-settings: var(--display-lnum); }
.od-addr, .od-note { color: rgba(246, 242, 235, .74); color: color-mix(in srgb, var(--c-paper) 74%, transparent); font-size: .95rem; }
.od-card.is-other .od-addr, .od-card.is-other .od-note { color: var(--c-muted); }
.od-info .tlink { margin-top: 6px; display: inline-flex; align-items: center; min-height: 44px; }
.od-cta { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.od-cta .btn { white-space: normal; max-width: 100%; height: auto; padding-block: .85rem; text-align: left; }
.od-cta .tlink { display: inline-flex; align-items: center; min-height: 44px; }
.od.v-banner { padding-block: clamp(40px, 6vw, 88px); }
@media (min-width: 900px) {
	.od-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 112px); }
	.od-media { aspect-ratio: 4 / 5; }
	.od.v-banner .od-grid { grid-template-columns: minmax(0, 1fr); }
	.od.v-banner .od-list { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
.od.dark .od-card, .od.bg-primary .od-card, .od.bg-dark .od-card { background: transparent; border-color: currentColor; }

/* ---------- Verhaal (sticky) ---------- */
.story-head { display: grid; gap: 22px; max-width: 46rem; margin-bottom: clamp(32px, 6vw, 88px); }
.story { display: grid; }
.story-media { align-self: start; position: sticky; top: var(--nav-h); z-index: 5; height: 38dvh; background: var(--c-ink); border-radius: var(--radius-img); overflow: hidden; }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease); }
.story-media img:first-child { clip-path: inset(0); }
.story-media img.is-on { clip-path: inset(0); }
.story-item { padding-block: clamp(40px, 11dvh, 120px); border-top: var(--line-w) solid var(--c-line); display: grid; gap: 16px; align-content: center; transition: opacity .7s var(--ease); }
.story-item:first-child { border-top: 0; }
.anim .story-item { opacity: .38; }
.anim .story-item.is-active { opacity: 1; }
@media (min-width: 900px) {
	.story { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); }
	.story-media { top: calc(var(--nav-h) + 24px); height: min(76dvh, 720px); }
	.story-item { min-height: 64dvh; }
}
.story-alt { display: grid; gap: clamp(48px, 8vw, 112px); }
.story-row { display: grid; gap: 24px; align-items: center; }
.story-fig { aspect-ratio: 4 / 3; }
.story-copy { display: grid; gap: 16px; align-content: center; }
@media (min-width: 900px) {
	.story-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
	.story-row:nth-child(even) .story-fig { order: 2; }
}

/* ---------- Galerij ---------- */
.gal { background: var(--c-surface); overflow: hidden; }
.gal-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: clamp(28px, 4vw, 56px); }
.gal-head > div:first-child { display: grid; gap: 18px; justify-items: start; }
.arrows { display: flex; flex-direction: row; gap: 10px; }
.arrow-btn { width: 54px; height: 54px; border-radius: var(--radius-btn); border: var(--line-w) solid var(--c-primary); background: transparent; color: var(--c-primary); cursor: pointer; font-size: 1.15rem; transition: background-color .35s var(--ease), color .35s var(--ease), opacity .3s; }
.arrow-btn:hover:not(:disabled) { background: var(--c-primary); color: var(--c-paper); }
.arrow-btn:disabled { opacity: .35; cursor: default; }
.gal { --sw: clamp(290px, 62vw, 880px); }
.rail { display: flex; gap: clamp(14px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
	padding-inline: calc((100% - var(--sw)) / 2); scroll-padding-inline: calc((100% - var(--sw)) / 2); }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.slide { flex: 0 0 var(--sw); scroll-snap-align: center; }
.slide .frame { aspect-ratio: 3 / 2; }
.slide img { -webkit-user-drag: none; user-select: none; }
.slide figcaption, .gal-item figcaption { padding-top: 14px; font-size: .9rem; color: var(--c-muted); }
.gal-grid { display: grid; grid-template-columns: 1fr; gap: clamp(14px, 2vw, 28px); }
.gal-item .frame { aspect-ratio: 3 / 2; }
.gal-open { display: block; cursor: zoom-in; }
.gal-open img { transition: transform .8s var(--ease); }
.gal-open:hover img { transform: scale(1.03); }
.gal-masonry { display: block; columns: 1; column-gap: clamp(14px, 2vw, 28px); }
.gal-masonry .gal-item { break-inside: avoid; margin-bottom: clamp(14px, 2vw, 28px); }
.gal-natural { width: 100%; height: auto; border-radius: var(--radius-img); }
@media (min-width: 520px) { .gal-masonry { columns: 2; } }
@media (min-width: 900px) { .gal-masonry { columns: 3; } }

/* Lightbox */
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15, 36, 39, .94); color: var(--c-paper); }
.lightbox[open] { display: grid; place-items: center; animation: modal-fade .4s var(--ease) both; }
.lightbox::backdrop { background: transparent; }
.lightbox-fig { display: grid; gap: 14px; justify-items: center; max-width: min(92vw, 1600px); padding: 64px 0 24px; text-align: center; }
.lightbox-fig img { max-width: 100%; max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius-img); }
.lightbox-fig figcaption { font-size: .95rem; color: rgba(246, 242, 235, .85); min-height: 1.5em; }
.lightbox-x { position: fixed; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: var(--line-w) solid rgba(246, 242, 235, .7); border-radius: var(--radius-btn); background: transparent; color: var(--c-paper); cursor: pointer; }
.lightbox-x svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.lightbox .arrow-btn { position: fixed; top: 50%; z-index: 2; transform: translateY(-50%); color: var(--c-paper); border-color: rgba(246, 242, 235, .7); background: rgba(15, 36, 39, .5); }
.lightbox .arrow-btn:hover:not(:disabled), .lightbox-x:hover { background: var(--c-paper); color: var(--c-primary); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
html.lightbox-open { overflow: hidden; }
@media (min-width: 520px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .gal-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 6vw, 64px); }
.faq-head { display: grid; gap: 22px; align-content: start; }
.faq-head .h2 { font-size: calc(clamp(2.4rem, 4.6vw, 4.6rem) * var(--heading-scale)); overflow-wrap: break-word; }
.faq-list { border-top: var(--line-w) solid var(--c-line); }
.faq-item { border-bottom: var(--line-w) solid var(--c-line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(20px, 2.2vw, 30px) 0; background: transparent; border: 0; color: inherit; text-align: left; cursor: pointer;
	font-family: var(--f-display); font-weight: 500; font-size: clamp(1.3rem, 1.9vw, 1.8rem); line-height: 1.2; font-feature-settings: var(--display-lnum); }
.faq-q:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 4px; }
.faq-ico { position: relative; flex: none; width: 44px; height: 44px; border-radius: var(--radius-btn); border: var(--line-w) solid currentColor; transition: background-color .45s var(--ease), color .45s var(--ease); }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .5s var(--ease), background-color .45s var(--ease); }
.faq-ico::after { transform: rotate(90deg); }
.faq-q:hover .faq-ico, .faq-q[aria-expanded="true"] .faq-ico { background: var(--c-primary); color: var(--c-paper); }
.faq-q[aria-expanded="true"] .faq-ico::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .6s var(--ease), visibility 0s .6s; }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .6s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { max-width: 38rem; padding: 0 clamp(0px, 5vw, 68px) 30px 0; color: var(--c-muted); text-wrap: pretty; }
.faq-a a { font-weight: 600; }
@media (min-width: 960px) {
	.faq-sec.v-aside .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 8vw, 128px); align-items: start; }
	.faq-sec.v-aside .faq-head { position: sticky; top: calc(var(--nav-h) + 40px); }
}
.faq-sec.v-center .faq-grid { max-width: 56rem; }
.faq-sec.v-center .faq-head { text-align: center; justify-items: center; }
.faq-sec.v-center .faq-head .h2 { max-width: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(44px, 7vw, 112px); }
.contact-info { display: grid; gap: 28px; align-content: start; }
.contact-info address { font-style: normal; display: grid; gap: 4px; }
.contact-lines { display: grid; gap: 6px; }
.contact-lines a { text-decoration: none; font-weight: 600; width: fit-content; }
.panel { display: grid; gap: 28px; }
.tabs { display: inline-flex; width: fit-content; max-width: 100%; border: var(--line-w) solid var(--c-line-inv); border-radius: var(--radius-btn); padding: 4px; }
.tab { white-space: nowrap; flex: 1 1 auto; min-width: 0; min-height: 44px; border: 0; background: transparent; color: inherit; padding: .8rem 1.3rem; border-radius: var(--radius-btn); cursor: pointer; font-weight: 600; font-size: .95rem; transition: background-color .35s var(--ease), color .35s var(--ease); }
.tab[aria-selected="true"] { background: var(--c-paper); color: var(--c-primary); }
.form-area { display: grid; gap: 26px; }
.panel-head { display: grid; gap: 12px; }
.panel-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.9rem, 2.8vw, 2.7rem); line-height: 1.08; font-feature-settings: var(--display-lnum); }
.lead-form { display: grid; gap: 22px; }
.row2 { display: grid; gap: 22px; }
.fld { display: grid; gap: 4px; }
.fld label { font-size: .875rem; font-weight: 600; color: rgba(246, 242, 235, .9); }
.fld input, .fld select { width: 100%; min-height: 52px; padding: .7rem 0; background: transparent; border: 0; border-bottom: 1px solid rgba(246, 242, 235, .5); border-radius: 0; font-size: 1rem; color: var(--c-paper); transition: border-color .3s; }
.fld select option { color: var(--c-ink); background: var(--c-paper); }
.fld input:hover, .fld select:hover { border-bottom-color: var(--c-paper); }
.fld input:focus, .fld select:focus { outline: 0; border-bottom: 2px solid var(--c-accent); padding-bottom: calc(.7rem - 1px); }
.fld input::placeholder { color: rgba(246, 242, 235, .55); }
.fld .err { min-height: 1.2em; font-size: .85rem; color: #F3B0A6; }
.fld.has-err input { border-bottom-color: #F3B0A6; }
.err-privacy { display: block; margin-top: 6px; min-height: 1.2em; color: #F3B0A6; }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: .9rem; line-height: 1.5; color: rgba(246, 242, 235, .9); }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1px solid rgba(246, 242, 235, .6); background: transparent; cursor: pointer; display: grid; place-content: center; }
.check input::after { content: ""; width: 10px; height: 10px; background: var(--c-paper); transform: scale(0); transition: transform .25s var(--ease); }
.check input:checked::after { transform: scale(1); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding-top: 8px; }
.form-status { font-size: .95rem; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fld textarea { width: 100%; min-height: 96px; padding: .7rem 0; background: transparent; border: 0; border-bottom: 1px solid rgba(246, 242, 235, .5); border-radius: 0; font-size: 1rem; color: var(--c-paper); resize: vertical; }
.fld textarea:focus { outline: 0; border-bottom: 2px solid var(--c-accent); }
.form-unit { margin: 0; font-weight: 600; }
.form-done { display: grid; gap: 18px; justify-items: start; padding: 8px 0; }
.form-done[hidden], .form-unit[hidden], .lead-form[hidden] { display: none; }
.form-done:focus { outline: 0; }
.form-area:has(.form-done:not([hidden])) .panel-head, .modal-body:has(.form-done:not([hidden])) .modal-head { display: none; }
.lead-form.is-sending { opacity: .6; pointer-events: none; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 6fr; align-items: start; } }
/* Lichte vlakken (licht contactblok, brochure-venster): donkere velden op papier */
.contact-sec:not(.dark) .fld label, .modal .fld label, .contact-sec:not(.dark) .check, .modal .check { color: var(--c-primary); }
.contact-sec:not(.dark) .fld textarea, .modal .fld textarea { color: var(--c-primary); border-bottom-color: var(--c-line); }
.contact-sec:not(.dark) .fld input, .contact-sec:not(.dark) .fld select, .modal .fld input, .modal .fld select { color: var(--c-primary); border-bottom-color: var(--c-line); }
.contact-sec:not(.dark) .fld input:hover, .contact-sec:not(.dark) .fld select:hover, .modal .fld input:hover, .modal .fld select:hover { border-bottom-color: var(--c-primary); }
.contact-sec:not(.dark) .fld input::placeholder, .modal .fld input::placeholder { color: var(--c-muted); }
.contact-sec:not(.dark) .fld .err, .modal .fld .err, .contact-sec:not(.dark) .err-privacy, .modal .err-privacy { color: #A33A2B; }
.contact-sec:not(.dark) .fld.has-err input, .modal .fld.has-err input { border-bottom-color: #A33A2B; }
.contact-sec:not(.dark) .check input, .modal .check input { border-color: var(--c-line); }
.contact-sec:not(.dark) .check input::after, .modal .check input::after { background: var(--c-primary); }
.contact-sec:not(.dark) .tabs { border-color: var(--c-line); }
.contact-sec:not(.dark) .tab[aria-selected="true"] { background: var(--c-primary); color: var(--c-paper); }
.contact-sec:not(.dark) .fld select option { color: var(--c-ink); }

/* ---------- Brochure-venster ---------- */
.modal { width: min(1040px, calc(100% - 2 * var(--gutter))); max-width: none; max-height: min(740px, calc(100dvh - 64px)); margin: auto; padding: 0; border: 0; background: var(--c-paper); color: var(--c-primary); overflow: hidden; box-shadow: 0 40px 100px -30px rgba(15, 36, 39, .55); border-radius: var(--radius-img); }
.modal[open] { display: grid; grid-template-columns: 5fr 6fr; animation: modal-in .6s var(--ease) both; }
.modal.no-media[open] { grid-template-columns: 1fr; width: min(560px, calc(100% - 2 * var(--gutter))); }
.modal::backdrop { background: rgba(15, 36, 39, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open]::backdrop { animation: modal-fade .45s var(--ease) both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.985); } }
@keyframes modal-fade { from { opacity: 0; } }
.modal-media { position: relative; background: var(--c-ink); isolation: isolate; min-height: 0; }
.modal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.modal-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15, 36, 39, 0) 45%, rgba(15, 36, 39, .82)); }
.modal-media figcaption { position: absolute; z-index: 2; left: clamp(22px, 3vw, 36px); right: clamp(22px, 3vw, 36px); bottom: clamp(22px, 3vw, 36px); color: var(--c-paper); display: grid; gap: 10px; }
.modal-media .eyebrow { opacity: .85; }
.modal-media .modal-cap { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.08; font-feature-settings: var(--display-lnum); text-wrap: balance; }
.modal-media .modal-cap em { font-style: italic; }
.modal-body { position: relative; display: grid; align-content: center; gap: 26px; padding: clamp(32px, 4vw, 52px); overflow-y: auto; }
.modal-x { position: absolute; top: 16px; right: 16px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border: var(--line-w) solid var(--c-line); border-radius: var(--radius-btn); background: transparent; color: var(--c-primary); cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.modal-x:hover { background: var(--c-primary); color: var(--c-paper); border-color: var(--c-primary); }
.modal-x svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.modal-head { display: grid; gap: 12px; padding-right: 40px; }
.modal-head .panel-title { font-size: clamp(1.9rem, 2.6vw, 2.5rem); }
.modal .btn::before { background: var(--c-primary); }
html.modal-open { overflow: hidden; }
@media (max-width: 759px) {
	.modal { width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
	.modal[open] { grid-template-columns: 1fr; grid-template-rows: 150px minmax(0, 1fr); }
	.modal.no-media[open] { grid-template-rows: minmax(0, 1fr); width: 100%; }
	.modal-media figcaption { display: none; }
	.modal-media::after { background: linear-gradient(180deg, rgba(15, 36, 39, 0) 55%, rgba(15, 36, 39, .5)); }
	.modal-x { top: 12px; right: 12px; background: var(--c-paper); border-color: transparent; }
	.modal-body { align-content: start; padding: 26px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-height: 640px) and (min-width: 760px) { .modal-body { align-content: start; } }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--c-line-inv); overflow: hidden; }
.foot-grid { display: grid; gap: 36px; padding-block: clamp(32px, 4vw, 56px); font-size: .95rem; }
.foot-logo { display: block; width: auto; height: clamp(38px, 4vw, 48px); margin-bottom: 14px; fill: var(--c-paper); }
.foot-grid h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; line-height: 1.1; margin-bottom: 10px; font-feature-settings: var(--display-lnum); }
.foot-grid nav { display: grid; gap: 8px; align-content: start; }
.foot-grid a { text-decoration: none; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.foot-grid a:hover { background-size: 100% 1px; }
.foot-phone, .foot-ids { margin-top: 12px; }
.foot-o { width: 100%; overflow: hidden; line-height: 0; }
.foot-o img { display: block; width: 100%; height: auto; border-radius: 0; }
.foot-legal { padding-block: 16px 24px; font-size: .85rem; color: rgba(246, 242, 235, .72); display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 64px; } }

/* ---------- Mobiele dock ---------- */
.dock { position: fixed; inset: auto 0 0 0; z-index: 50; display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(15, 36, 39, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--c-line-inv); transform: translateY(101%); transition: transform .6s var(--ease); }
.dock.is-on { transform: none; }
.dock .btn { flex: 1 1 0; min-width: 0; padding: 0 .75rem; min-height: 48px; white-space: normal; text-align: center; line-height: 1.15; }
@media (min-width: 900px) { .dock { display: none; } }
@media (max-width: 899px) { .foot-legal { padding-bottom: 88px; } }

/* ---------- Vrije tekst ---------- */
.free-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.free-text { display: grid; gap: 24px; align-content: start; }
.rich > * + * { margin-top: 1em; }
.rich h2, .rich h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.1; font-feature-settings: var(--display-lnum); }
.rich ul { list-style: disc; padding-left: 1.2em; }
.rich ol { padding-left: 1.4em; }
.rich a { font-weight: 600; }
.free .frame { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
	.free.has-img .free-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.free.img-left .free-media { order: -1; }
	.free .rich.cols-2 { columns: 2; column-gap: 3rem; }
	.free .rich.cols-2 > * { break-inside: avoid; }
}

/* ---------- Beginstaten voor beweging (alleen met JS en zonder reduced motion of profiel "uit") ---------- */
.anim [data-reveal] { opacity: 0; transform: translateY(var(--reveal)); }
.anim .frame[data-wipe] { clip-path: inset(0 0 100% 0); }
.anim .frame[data-wipe].is-in { clip-path: none; }
.anim .nav { opacity: 0; }

@media (max-width: 380px) { .ov-tab, .tab { padding: .8rem .9rem; font-size: .88rem; gap: .4rem; } }
@media (max-width: 420px) {
	.tabs { width: 100%; }
	.tab { white-space: normal; line-height: 1.2; padding: .7rem .6rem; text-align: center; }
}

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

/* Lange woorden in koppen (audit "woord-breekt-af"): kleinere koppen op de smalste schermen en in halve kolommen */
@media (max-width: 379px) {
	.h1 { font-size: calc(2.6rem * var(--heading-scale)); }
	.h2 { font-size: calc(2.2rem * var(--heading-scale)); }
}
@media (min-width: 900px) {
	.btw-text .h2, .free.has-img .free-text .h2 { font-size: calc(clamp(2.4rem, 3.8vw, 4.4rem) * var(--heading-scale)); }
}
