/* BD-Sign: zwart en limoengroen uit het eigen logo, Lexend. Donker, technisch, van vloer tot dak. */
@font-face { font-family: "Lexend"; src: url("../fonts/lexend-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ground: #0e0f0d;
  --surface: #181a16;
  --surface-2: #22251f;
  --ink: #f2f2ee;
  --soft: #b9bdb2;
  --lime: #8cc63f;
  --lime-press: #a6d863;
  --on-lime: #0e0f0d;
  --font: "Lexend", "Helvetica Neue", Arial, system-ui, sans-serif;
  --body: 1.0625rem;
  --lead: clamp(1.1875rem, 1.05rem + 0.45vw, 1.375rem);
  --h1: clamp(2.5rem, 1.2rem + 5.4vw, 6.5rem);
  --h2: clamp(1.875rem, 1.2rem + 2.6vw, 3.5rem);
  --h3: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --margin: clamp(16px, 4vw, 56px);
  --gutter: clamp(16px, 2.4vw, 40px);
  --section: clamp(88px, 11vw, 168px);
  --maxw: 1360px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 92px; color-scheme: dark; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: var(--body); line-height: 1.6; font-weight: 300; -webkit-font-smoothing: antialiased; touch-action: manipulation; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--surface); }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-underline-offset: 3px; }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
::selection { background: var(--lime); color: var(--on-lime); }
h1, h2, h3 { font-weight: 600; text-wrap: balance; hyphens: none; }
h1 { font-size: var(--h1); line-height: 0.98; letter-spacing: -0.04em; }
h2 { font-size: var(--h2); line-height: 1.04; letter-spacing: -0.03em; }
h3 { font-size: var(--h3); line-height: 1.2; letter-spacing: -0.01em; font-weight: 500; }
p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.85em; }
.lead { font-size: var(--lead); line-height: 1.5; max-width: 42ch; }
.soft { color: var(--soft); }
.lime { color: var(--lime); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--margin)); margin-inline: auto; padding-inline: var(--margin); }
.plain { padding-left: 1.1em; list-style: square; display: grid; gap: 6px; }
.plain li::marker { color: var(--lime); }

.skip-link { position: absolute; left: var(--margin); top: -80px; z-index: 100; background: var(--lime); color: var(--on-lime); padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 8px; }
/* Donkere site: de melding keert om (lichte inkt als achtergrond, achtergrondkleur als tekst) */
.demo-note { background: var(--ink); color: var(--ground); font-size: 1rem; line-height: 1.45; padding: 10px var(--margin); text-align: center; font-weight: 400; }
.demo-note a { display: inline-block; padding: 11px 8px; margin: -11px -8px; color: var(--ground); font-weight: 600; }
.demo-note a:focus-visible { outline: 2px solid var(--ground); outline-offset: -6px; }

/* Kop */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); transition: background-color 200ms ease; }
.site-header.is-scrolled { background: #141512; }
.bar { display: flex; align-items: center; gap: 10px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-right: auto; text-decoration: none; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-name { display: none; font-size: 1.125rem; font-weight: 600; letter-spacing: 0.06em; white-space: nowrap; }
@media (min-width: 27em) { .brand-name { display: inline; } }
.brand-name b { color: var(--lime); font-weight: 600; }
.nav { display: none; }
.nav ul { display: flex; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; font-weight: 400; text-decoration: none; white-space: nowrap; transition: color 160ms ease; }
.nav a:hover { color: var(--lime); }
.nav a[aria-current="page"] { color: var(--lime); }
.actions { display: flex; align-items: center; gap: 8px; }
.act-mail { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 48px; min-height: 48px; padding: 0 10px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.act-mail svg { width: 22px; height: 22px; }
.act-mail span { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; }
.menu-btn svg { width: 26px; height: 26px; }
.nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #141512; padding: 8px var(--margin) 20px; box-shadow: 0 18px 30px rgba(0, 0, 0, 0.5); }
.nav.is-open ul { flex-direction: column; }
.nav.is-open a { min-height: 52px; font-size: 1.1875rem; padding: 0; }
@media (min-width: 30em) { .act-mail span { display: inline; } }
@media (min-width: 72em) {
  .nav, .nav.is-open { display: block; position: static; padding: 0; box-shadow: none; background: none; }
  .nav.is-open ul { flex-direction: row; }
  .nav.is-open a { min-height: 48px; font-size: 1rem; padding: 0 12px; }
  .menu-btn { display: none; }
}

/* Knoppen: volledig rond, zoals de vormen van het logo */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 500; text-decoration: none; white-space: nowrap; border: 2px solid transparent; transition: background-color 160ms ease, color 160ms ease, transform 140ms ease; }
.btn:active { transform: scale(0.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-lime { background: var(--lime); color: var(--on-lime); }
.btn-lime:hover { background: var(--lime-press); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--ground); }
.btn-big { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }

/* Hero: tekst links, dak boven en vloer onder rechts */
.hero { padding-top: clamp(24px, 4vw, 64px); padding-bottom: var(--section); }
.hero-grid { display: grid; gap: 28px; }
.hero .lead { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.facts li { padding: 10px 16px; border-radius: 999px; background: var(--surface-2); font-size: 1rem; }
.facts b { color: var(--lime); font-weight: 500; }
.stack { display: grid; gap: 10px; }
.stack figure { position: relative; overflow: hidden; }
.stack img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.stack figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 14px; border-radius: 999px; background: rgba(14, 15, 13, 0.82); font-size: 1rem; font-weight: 500; }
.stack .roof img { object-position: 50% 30%; }
@media (min-width: 60em) {
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gutter); align-items: center; }
  .stack img { aspect-ratio: 4 / 3; }
}

/* Doorsnede */
.section { padding-bottom: var(--section); }
.head-row { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); }
.head-row p { color: var(--soft); }
@media (min-width: 60em) { .head-row { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: var(--gutter); } }
.section-bg { background: var(--surface); padding-block: var(--section); }
.xsec { display: grid; gap: 28px; }
.xsec-pick { display: grid; gap: 16px; align-content: start; }
.house { background: var(--ground); padding: 16px; }
.house svg { width: 100%; height: auto; }
.house .zone { cursor: pointer; transition: fill 200ms ease, opacity 200ms ease; }
.house .zone:hover { opacity: 0.85; }
.layers { display: flex; flex-wrap: wrap; gap: 8px; }
.layer { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; background: var(--surface-2); font-weight: 500; transition: background-color 160ms ease, color 160ms ease; }
.layer:hover { background: #2d3128; }
.layer[aria-pressed="true"] { background: var(--lime); color: var(--on-lime); }
.layer i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; font-style: normal; }
.xsec-panel { display: grid; gap: 16px; align-content: start; }
.xsec-panel img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.xsec-panel h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); letter-spacing: -0.02em; font-weight: 600; }
.xsec-panel .where { color: var(--lime); font-weight: 500; }
.xsec-list { display: grid; gap: 22px; }
.xsec-list article h3 { font-weight: 600; }
.xsec-list article p { color: var(--soft); margin-top: 6px; }
@media (min-width: 60em) { .xsec { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gutter); align-items: start; } }

/* Dienstblokken */
.svc { display: grid; gap: 28px; }
.svc + .svc { margin-top: clamp(64px, 8vw, 120px); }
.svc h2 { display: flex; align-items: center; gap: 16px; }
.svc h2 svg { width: 52px; height: 52px; flex: none; }
.svc .intro { margin-top: 18px; font-size: var(--lead); line-height: 1.5; max-width: 42ch; }
.svc .cols { display: grid; gap: 22px; margin-top: 26px; }
.svc h3 { margin-bottom: 8px; }
.svc .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svc .pics img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.svc .pics .wide-img { grid-column: 1 / -1; aspect-ratio: 16 / 9; height: auto; }
.tip { margin-top: 24px; padding: 18px 20px; border-radius: 24px; background: var(--surface-2); }
.tip b { color: var(--lime); }
@media (min-width: 48em) { .svc .cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60em) { .svc { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gutter); align-items: start; } .svc.flip .pics { order: -1; } }

/* Epoxy of PU */
.vs { display: grid; gap: 12px; }
.vs article { padding: 26px 24px; border-radius: 28px; background: var(--surface-2); }
.vs article:first-child { background: var(--lime); color: var(--on-lime); }
.vs h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); font-weight: 600; letter-spacing: -0.02em; }
.vs dl { display: grid; gap: 10px; margin-top: 16px; }
.vs dt { font-weight: 600; }
@media (min-width: 48em) { .vs { grid-template-columns: 1fr 1fr; } }

/* Werkwijze */
.steps { display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 18px; padding: 22px 0 22px 0; position: relative; }
.steps li::before { content: ""; position: absolute; left: 24px; top: 70px; bottom: -6px; width: 4px; border-radius: 4px; background: var(--surface-2); }
.steps li:last-child::before { display: none; }
.steps svg { width: 44px; height: 44px; grid-row: span 2; }
.steps p { color: var(--soft); }
@media (min-width: 60em) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); } .steps li:nth-child(2)::before { display: none; } }

/* Werkgebied + FAQ */
.area { display: grid; gap: 32px; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.towns li { padding: 10px 16px; border-radius: 999px; background: var(--surface-2); }
.towns li.home { background: var(--lime); color: var(--on-lime); font-weight: 500; }
@media (min-width: 60em) { .area { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gutter); } }
.faq { display: grid; gap: 8px; }
.faq details { border-radius: 24px; background: var(--surface); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 22px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(45deg) translate(-3px, -3px); transition: transform 200ms ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details > div { padding: 0 22px 22px; color: var(--soft); }

/* Slot */
.closing { padding-block: clamp(64px, 8vw, 120px); background: var(--lime); color: var(--on-lime); }
.closing h2 { max-width: 16ch; }
.closing p { margin-top: 14px; max-width: 46ch; }
.closing-grid { display: grid; gap: 24px; align-items: end; }
.closing .btn-dark { background: var(--ground); color: var(--ink); }
.closing .btn-dark:hover { background: #2a2d26; }
.closing .btn-outline-dark { border-color: var(--on-lime); color: var(--on-lime); }
.closing .btn-outline-dark:hover { background: var(--on-lime); color: var(--lime); }
@media (min-width: 60em) { .closing-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gutter); } }

/* Binnenpagina's */
.page-head { padding-top: clamp(24px, 4vw, 64px); padding-bottom: clamp(48px, 6vw, 96px); }
.page-head-grid { display: grid; gap: 28px; }
.page-head h1 { max-width: 14ch; }
.page-head .lead { margin-top: 20px; }
.page-head .photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 60em) { .page-head-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gutter); align-items: end; } }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.jump a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; background: var(--surface-2); text-decoration: none; }
.jump a:hover { background: var(--lime); color: var(--on-lime); }

/* Contact */
.contact-grid { display: grid; gap: 40px; padding-bottom: var(--section); }
.contact-info h2 { font-size: var(--h3); }
.contact-info dl { display: grid; gap: 14px; margin-top: 16px; }
.contact-info dt { font-weight: 500; color: var(--lime); }
.contact-info .tipbox { margin-top: 28px; padding: 22px; border-radius: 24px; background: var(--surface); }
.contact-info .tipbox ul { margin-top: 10px; }
.form { display: grid; gap: 20px; padding: clamp(20px, 3vw, 36px); border-radius: 28px; background: var(--surface); }
.form h2 { font-size: var(--h3); }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 500; }
.field .hint { color: var(--soft); font-weight: 300; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; background: var(--ground); color: var(--ink); border: 2px solid #5b6153; border-radius: 14px; font-size: 1.0625rem; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--lime); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #ff8a80; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 999px; background: var(--surface-2); cursor: pointer; }
.checks input { width: 20px; height: 20px; accent-color: var(--lime); }
.two { display: grid; gap: 20px; }
@media (min-width: 40em) { .two { grid-template-columns: 1fr 1fr; } }
.err { color: #ff8a80; font-weight: 500; font-size: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-summary { padding: 14px 16px; border-radius: 14px; background: #3a1714; color: #ffd7d2; }
.form-done { padding: 26px; border-radius: 28px; background: var(--lime); color: var(--on-lime); }
.form-done p { margin-top: 10px; }
.form-done a { font-weight: 600; }
@media (min-width: 60em) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); align-items: start; } }
.strip h2 { margin-bottom: 24px; }
.strip ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.strip a { display: grid; gap: 8px; text-decoration: none; font-weight: 500; }
.strip a span { display: inline-flex; align-items: center; min-height: 44px; }
.strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; transition: transform 300ms var(--ease-out); }
.strip a:hover img { transform: scale(1.02); }
@media (min-width: 60em) { .strip ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); } }

/* Voet */
.site-footer { background: #000; padding-top: clamp(56px, 7vw, 104px); padding-bottom: 32px; }
.foot-word svg { width: clamp(220px, 46vw, 620px); height: auto; }
.foot-slogan { margin-top: 14px; font-size: clamp(1.25rem, 1rem + 1vw, 2rem); font-weight: 500; color: var(--lime); }
.foot-grid { display: grid; gap: 28px; margin-top: 40px; }
.foot-grid h2 { font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.foot-grid p, .foot-grid li { font-size: 1rem; color: var(--soft); }
.foot-grid a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.foot-legal { margin-top: 36px; display: grid; gap: 10px; font-size: 1rem; color: var(--soft); }
.foot-legal p { max-width: 78ch; }
@media (min-width: 48em) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Beweging */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(20px); animation: rise 780ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 80ms + 100ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .stack img { animation: drift 16s ease-out both; }
  .xsec-panel.swap { animation: rise 420ms var(--ease-out) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.section-top { padding-top: var(--section); }
.svc-name { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); font-weight: 600; letter-spacing: -0.02em; }
.svc-name + p { margin-top: 8px; color: var(--soft); }
p + .svc-name { margin-top: 28px; }
.svc-more { margin-top: 28px; }
.house .zone.is-on { fill: #8cc63f; }
.foot-grid a { min-width: 44px; }
.brand { min-width: 48px; }

@media (min-width: 48em) and (max-width: 59.99em) { .closing-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); align-items: end; } .closing-grid .hero-actions { flex-direction: column; align-items: flex-start; } }
