/* ADB Hout – gedeelde stylesheet */

:root {
  --rood: #9C4A3B;
  --rood-donker: #833C2F;
  --antraciet: #2F3035;
  --logogrijs: #A7A9AC;
  --achtergrond: #FAFAFA;
  --licht: #F3F1EE;
  --chip: #F3E7E4;
  --tekst: #1C1F1D;
  --tekst-zacht: #444A46;
  --tekst-meta: #5B615D;
  --lijn: #E4E4E6;
  --footer: #232428;
  --footer-tekst: #C8C9CD;
  --accent-licht: #E8AE9F;
  --wit: #FFFFFF;

  --font-kop: "Montserrat", system-ui, sans-serif;
  --font-tekst: "Inter", system-ui, sans-serif;

  --radius-s: 14px;
  --radius-m: 18px;
  --radius-l: 24px;
  --breedte: 1240px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--menu-h, 84px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--achtergrond);
  color: var(--tekst);
  font-family: var(--font-tekst);
  font-size: 1rem;
  font-weight: 380;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--antraciet); text-underline-offset: 3px; }
a:hover { color: var(--rood); }
:focus-visible { outline: 3px solid var(--rood); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-kop); color: var(--antraciet); margin: 0; }

.container { max-width: var(--breedte); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skiplink {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--antraciet); color: var(--wit); padding: 10px 16px; border-radius: 999px;
}
.skiplink:focus { top: 12px; color: var(--wit); }

.eyebrow {
  display: block;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--rood);
}

.section-title {
  font-weight: 700; font-size: clamp(1.875rem, 3vw, 2.5rem);
  line-height: 1.1; letter-spacing: -0.02em;
}

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--rood); color: var(--wit); }
.btn-primary:hover { background: var(--rood-donker); color: var(--wit); }
.btn-outline { border-color: var(--antraciet); color: var(--antraciet); background: transparent; }
.btn-outline:hover { background: var(--antraciet); color: var(--wit); }
.btn-licht { border-color: rgba(255,255,255,.6); color: var(--wit); }
.btn-licht:hover { background: var(--wit); color: var(--antraciet); }
.btn-groep { display: flex; flex-wrap: wrap; gap: 12px; }

.chip {
  display: inline-block; font-size: 0.8125rem; font-weight: 500; color: var(--antraciet);
  background: var(--chip); padding: 6px 12px; border-radius: 999px;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* Topbalk */
.topbar { background: var(--antraciet); color: #E6E6E8; font-size: 0.875rem; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: #E6E6E8; text-decoration: none; }
.topbar a:hover { color: var(--wit); text-decoration: underline; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Header en navigatie */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(47, 48, 53, .08); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 250, 250, .78);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
}
.menu-open .site-header::before { background: var(--achtergrond); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icoon { flex: none; }
.met-icoon { display: inline-flex; align-items: center; gap: 8px; }
.met-icoon .icoon { opacity: .85; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.logo { display: block; flex: none; }
.logo img { height: 52px; width: auto; }

.menu-knop { display: none; }

.hoofdmenu > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px 28px; font-weight: 500; font-size: 0.9375rem; }
.hoofdmenu a { text-decoration: none; }
.hoofdmenu a[aria-current="page"], .menu-item.is-actief > .submenu-knop { color: var(--rood); }
/* Contactknop op de contactpagina: actief, maar leesbaar (geen rood op rood) */
.hoofdmenu .menu-cta .btn[aria-current="page"] { background: var(--antraciet); color: var(--wit); }
.hoofdmenu .menu-cta .btn[aria-current="page"]:hover { background: #1F2024; color: var(--wit); }
.menu-item { position: relative; }
.menu-home { display: none; }

.submenu-knop {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 8px 0; margin: 0; cursor: pointer;
  font: inherit; color: var(--antraciet);
}
.submenu-knop:hover { color: var(--rood); }
.submenu-knop svg { transition: transform .2s; }
.submenu-knop[aria-expanded="true"] svg { transform: rotate(180deg); }

.submenu {
  list-style: none; margin: 0; padding: 8px;
  display: flex; flex-direction: column; gap: 4px;
  position: absolute; top: calc(100% + 10px); left: -16px; min-width: 240px;
  background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius-m);
  box-shadow: 0 16px 40px rgba(47, 48, 53, .12);
}
.js .submenu-knop[aria-expanded="false"] + .submenu { display: none; }
.submenu a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 10px; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--licht); }
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }

.menu-contact { display: none; }

/* Hero-slider (home) */
.hero { padding-top: 24px; padding-bottom: 24px; }
.slider { position: relative; height: clamp(22rem, 34vw, 27rem); border-radius: var(--radius-l); overflow: hidden; background: var(--antraciet); isolation: isolate; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.slide.is-actief { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 22, 20, .72) 0%, rgba(25, 22, 20, .35) 45%, rgba(25, 22, 20, 0) 75%); }
.slide-inhoud {
  position: absolute; z-index: 1; left: 0; bottom: 0; max-width: 40rem;
  padding: 0 48px 72px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
}
.slide-titel { margin: 0; font-family: var(--font-kop); font-weight: 800; color: var(--wit); font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
.slider-keurmerken { position: absolute; z-index: 2; top: 20px; right: 20px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.chip.met-icoon, .chip-glas { display: inline-flex; align-items: center; gap: 6px; }
.chip-glas { background: rgba(255, 255, 255, .16); color: var(--wit); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .25); }
.slider-bediening { position: absolute; z-index: 2; left: 48px; bottom: 24px; display: flex; align-items: center; gap: 6px; }
.slider-knop {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(0, 0, 0, .15); color: var(--wit); cursor: pointer;
}
.slider-knop:hover { background: rgba(255, 255, 255, .2); }
.slider-pauze { margin-right: 6px; }
.slider-pauze .icoon-afspelen, .slider-pauze.is-gepauzeerd .icoon-pauze { display: none; }
.slider-pauze.is-gepauzeerd .icoon-afspelen { display: block; }
.slider-stippen { display: flex; align-items: center; }
.slider-stip { width: 28px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.slider-stip::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .5); transition: width .3s, background-color .3s; }
.slider-stip[aria-current="true"]::before { width: 22px; background: var(--wit); }
.js-uit .slider-bediening { display: none; }
@media (prefers-reduced-motion: reduce) { .slide, .slide.is-actief { transition: none; } }

/* Secties */
.sectie { padding-top: 56px; padding-bottom: 56px; }
.sectie-kop { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }

.kaarten { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.kaart {
  display: flex; flex-direction: column; text-decoration: none; color: var(--tekst);
  background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius-m); overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.kaart:hover { border-color: var(--rood); color: var(--tekst); transform: translateY(-2px); }
.kaart img { width: 100%; height: 11rem; object-fit: cover; }
.kaart-titel > span { min-width: 0; hyphens: auto; overflow-wrap: break-word; }
.kaart-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.kaart-titel { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: 1.0625rem; }
.kaart-titel .icoon { color: var(--rood); transition: transform .15s; }
.kaart:hover .kaart-titel .icoon { transform: translateX(3px); }
.kaart-tekst { color: var(--tekst-zacht); font-size: 0.9375rem; }

.donker { background: var(--antraciet); color: #F2F2F3; }
.donker h2, .donker h3 { color: #F2F2F3; }
.donker .eyebrow { color: var(--accent-licht); }
.houtsoorten { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.houtsoorten-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.houtsoorten-intro p { margin: 4px 0 0; }
.soorten { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; list-style: none; margin: 0; padding: 0; }
.soorten a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px;
  padding: 16px 18px; border: 1px solid #4A4B52; border-radius: var(--radius-s);
  color: #F2F2F3; text-decoration: none; font-weight: 600;
}
.soorten a:hover { border-color: var(--accent-licht); background: rgba(255,255,255,.04); color: var(--wit); }
.soorten small { font-size: 0.75rem; font-weight: 500; color: var(--accent-licht); }

.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.split-beeld { flex: 1 1 420px; min-width: 0; margin: 0; }
.split-tekst { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split-tekst p { margin: 0; color: var(--tekst-zacht); }
.tekstlinks { display: flex; flex-wrap: wrap; gap: 12px 32px; font-weight: 600; }

.project-banner {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  min-height: 24rem; padding: 32px; border-radius: var(--radius-l); overflow: hidden;
  color: var(--wit); text-decoration: none; isolation: isolate;
}
.project-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.project-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(28, 24, 20, .85), rgba(28, 24, 20, .15) 70%); }
.project-banner:hover { color: var(--wit); }
.project-banner:hover img { transform: scale(1.03); }
.project-banner .eyebrow { color: #F3D6B8; }
.project-banner-titel { font-family: var(--font-kop); font-weight: 700; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; }
.project-banner-link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.cta { background: var(--licht); }
.cta .container { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 64px; padding-bottom: 64px; }
.cta-tekst { flex: 1 1 380px; display: flex; flex-direction: column; gap: 8px; }
.cta h2 { font-weight: 700; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -0.02em; }
.cta p { margin: 0; color: var(--tekst-zacht); }
.cta p .icoon { color: var(--rood); }

/* Subpagina */
.paginakop { display: flex; flex-direction: column; gap: 16px; padding-top: 48px; padding-bottom: 32px; }
.kruimelpad ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: var(--tekst-meta); }
.kruimelpad li + li::before { content: "/"; margin-right: 8px; }
.kruimelpad a { color: var(--tekst-meta); }
.kruimelpad [aria-current] { color: var(--tekst); }
.titelregel { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.paginakop h1 { font-weight: 700; font-size: clamp(2.25rem, 4.5vw, 3.5rem); line-height: 1.05; letter-spacing: -0.025em; }

.paginabeeld img { width: 100%; height: clamp(11rem, 24vw, 19rem); object-fit: cover; border-radius: var(--radius-l); }
.paginabeeld img[src*="uploads/rioolhout.jpg"] { object-position: center 55%; }
.paginabeeld img[src*="uploads/sport-speelplekken.jpg"] { object-position: center 58%; }
.kaart img[src*="uploads/sport-speelplekken.jpg"] { object-position: 70% 60%; }

.inhoud { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 56px; padding-bottom: 72px; }
.inhoud > article { flex: 999 1 560px; min-width: 0; max-width: 46em; }
.inhoud > aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
/* Zonder headerfoto direct onder de titel beginnen; zonder zijkolom minder ruimte eronder */
.paginakop + .inhoud { padding-top: 8px; }
.inhoud:not(:has(> aside)) { padding-bottom: 40px; }

.prose { color: var(--tekst-zacht); overflow-wrap: break-word; }
.prose > * { margin: 0 0 18px; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { font-weight: 700; font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.015em; margin-top: 8px; }
.prose h3 { font-family: var(--font-tekst); font-weight: 600; font-size: 1.125rem; color: var(--antraciet); margin-top: 28px; margin-bottom: 10px; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--rood); }
.prose a:not(.btn) { color: var(--rood); }
.prose a:not(.btn):hover { color: var(--antraciet); }
.prose strong, .prose b { color: var(--antraciet); }
.prose .btn { margin-top: 4px; }
.prose h3 + ul { list-style: none; padding-left: 0; }
.prose h3 + ul li { position: relative; padding-left: 30px; }
.prose h3 + ul li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239C4A3B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.notitie { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--licht); border-radius: var(--radius-s); }
.notitie .icoon { color: var(--rood); margin-top: 2px; }
.notitie p { margin: 0; }

.zijkaart { border: 1px solid var(--lijn); border-radius: 20px; padding: 24px; background: var(--wit); display: flex; flex-direction: column; gap: 10px; }
.zijkaart-titel { font-weight: 600; color: var(--antraciet); }
.zijkaart a.met-icoon .icoon { color: var(--rood); }
.zijkaart-donker a.met-icoon .icoon { color: var(--accent-licht); }
.zijkaart-donker { background: var(--antraciet); border-color: var(--antraciet); color: #F2F2F3; padding: 28px; gap: 12px; }
.zijkaart-donker .zijkaart-titel { font-family: var(--font-kop); font-weight: 700; font-size: 1.375rem; line-height: 1.2; color: #F2F2F3; }
.zijkaart-donker p { margin: 0; color: var(--footer-tekst); }
.zijkaart .btn { white-space: nowrap; padding-left: 16px; padding-right: 16px; }
.zijkaart-donker a:not(.btn) { color: #F2F2F3; justify-content: center; }
.zijkaart-donker a:not(.btn):hover { color: var(--accent-licht); }

.team { text-align: center; align-items: center; }
.team img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; }
.team-naam { font-family: var(--font-kop); font-weight: 700; color: var(--antraciet); font-size: 1.125rem; }

.verwant { background: var(--licht); }
.verwant .container { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 20px; }
.verwant h2 { font-weight: 700; font-size: 1.75rem; letter-spacing: -0.015em; }
.pillen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pillen a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px;
  background: var(--wit); border: 1px solid var(--lijn); font-weight: 500; text-decoration: none;
}
.pillen a:hover { border-color: var(--rood); }
.pillen a[aria-current="page"] { background: var(--antraciet); border-color: var(--antraciet); color: var(--wit); }

.steun { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.steun > div { flex: 1 1 260px; }
.steun img { width: 156px; flex: none; }

/* Projecten */
.projecten { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.project { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius-m); overflow: hidden; display: flex; flex-direction: column; }
.project > img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.project-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.project h2 { font-size: 1.1875rem; line-height: 1.25; }
.project-sub { margin: -6px 0 0; color: var(--tekst-meta); font-size: 0.875rem; }
.project dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 0.9375rem; }
.project dt { color: var(--tekst-meta); }
.project dd { margin: 0; color: var(--antraciet); font-weight: 600; }

/* Merken en publicaties */
.merken { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.merken a {
  display: flex; align-items: center; justify-content: center; height: 120px; padding: 24px;
  background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius-m);
}
.merken a:hover { border-color: var(--rood); }
/* Merklogo's in kleur (op verzoek van Tom) */
.merken img { max-height: 60px; width: auto; }

.publicaties { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.publicaties a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 72px;
  padding: 18px 20px; background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius-m);
  font-weight: 600; text-decoration: none;
}
.publicaties a:hover { border-color: var(--rood); }
.publicaties small { color: var(--rood); font-weight: 600; }
.publicaties .icoon { color: var(--rood); }
.prose .publicaties { padding-left: 0; margin-top: 28px; }
.prose .publicaties li + li { margin-top: 0; }
.prose .publicaties a { color: var(--antraciet); }
.prose .publicaties a:hover { color: var(--antraciet); }

/* Footer */
.site-footer { background: var(--footer); color: var(--footer-tekst); font-size: 0.9375rem; }
.site-footer a { color: var(--footer-tekst); text-decoration: none; }
.site-footer a:hover { color: var(--wit); text-decoration: underline; }
.footer-kolom ul.social { flex-direction: row; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.social a {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid #3F4046; border-radius: 50%; color: var(--footer-tekst);
  transition: background-color .15s, color .15s, border-color .15s;
}
.social a:hover { background: var(--rood); border-color: var(--rood); color: var(--wit); }
.footer-kolommen { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 56px; padding-bottom: 32px; }
.footer-kolom { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-kolom:first-child { flex-basis: 260px; }
.footer-kolom p { margin: 0; }
.footer-kolom .met-icoon { align-items: flex-start; }
.footer-kolom .met-icoon .icoon { margin-top: 4px; color: var(--accent-licht); }
.footer-kop { font-family: var(--font-kop); font-weight: 700; color: var(--wit); font-size: 1rem; letter-spacing: .04em; margin-bottom: 4px; }
.footer-logo { font-size: 1.25rem; letter-spacing: 0; }
.footer-kolom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-onder { border-top: 1px solid #3A3B40; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 20px; padding-bottom: 32px; font-size: 0.8125rem; }
.footer-onder ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Mobiel: hamburgermenu onder 900px */
@media (max-width: 899.98px) {
  :root { --gutter: 16px; }
  .topbar { display: none; }
  .header-inner { min-height: 68px; }
  .logo img { height: 42px; }

  .js .menu-knop {
    display: flex; align-items: center; justify-content: center; flex: none;
    width: 48px; height: 48px; border: 0; border-radius: 12px; padding: 0; cursor: pointer;
    background: var(--antraciet); color: var(--wit);
  }
  .menu-knop .icoon-sluiten { display: none; }
  .menu-knop[aria-expanded="true"] .icoon-open { display: none; }
  .menu-knop[aria-expanded="true"] .icoon-sluiten { display: block; }

  .hoofdmenu { flex-basis: 100%; padding-bottom: 16px; }
  .js .hoofdmenu {
    position: fixed; top: var(--header-h, 68px); left: 0; right: 0; bottom: 0;
    padding: 8px 16px 24px; background: var(--achtergrond); overflow-y: auto;
    display: flex; flex-direction: column;
  }
  .js .hoofdmenu { transition: opacity .28s ease, transform .28s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
  .js .hoofdmenu:not(.is-open) {
    opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .hoofdmenu.is-open .menu-item, .hoofdmenu.is-open .menu-contact { animation: menu-in .35s cubic-bezier(.2, .7, .2, 1) both; }
  .hoofdmenu.is-open .menu-item:nth-child(2) { animation-delay: 30ms; }
  .hoofdmenu.is-open .menu-item:nth-child(3) { animation-delay: 60ms; }
  .hoofdmenu.is-open .menu-item:nth-child(4) { animation-delay: 90ms; }
  .hoofdmenu.is-open .menu-item:nth-child(5) { animation-delay: 120ms; }
  .hoofdmenu.is-open .menu-contact { animation-delay: 150ms; }
  .submenu-knop[aria-expanded="true"] + .submenu { animation: submenu-in .25s ease both; }
  .menu-knop svg { transition: transform .25s ease; }
  .menu-knop[aria-expanded="true"] .icoon-sluiten { animation: icoon-in .25s ease both; }

  .hoofdmenu > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .menu-home { display: block; }
  .menu-item { border-bottom: 1px solid var(--lijn); }
  .menu-item > a, .submenu-knop {
    width: 100%; min-height: 56px; padding: 14px 4px; display: flex; align-items: center; justify-content: space-between;
    font-family: var(--font-kop); font-weight: 700; font-size: 1.375rem; color: var(--antraciet); text-align: left;
  }
  .submenu-knop svg { width: 20px; height: 20px; color: var(--rood); }
  .submenu {
    position: static; min-width: 0; padding: 0 4px 12px 12px; border: 0; border-radius: 0;
    background: none; box-shadow: none;
  }
  .submenu::before { display: none; }
  .submenu a { padding: 10px 0; border-radius: 0; color: #2E332F; }
  .submenu a:hover, .submenu a[aria-current="page"] { background: none; color: var(--rood); }
  .submenu-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .menu-cta { display: none; }

  .menu-contact { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 24px; }
  .menu-contact .btn { width: 100%; min-height: 52px; }
  .menu-contact-rij { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .menu-contact-rij .btn { min-height: 48px; font-size: 0.9375rem; }
  .menu-contact p { margin: 0; font-size: 0.8125rem; color: var(--tekst-meta); text-align: center; }

  .hero { padding-top: 16px; padding-bottom: 8px; }
  .slider { height: 26rem; border-radius: 20px; }
  .slide::after { background: linear-gradient(0deg, rgba(25, 22, 20, .8) 0%, rgba(25, 22, 20, .3) 55%, rgba(25, 22, 20, .05) 100%); }
  .slide-inhoud { padding: 0 20px 76px; }
  .slider-bediening { left: 20px; bottom: 20px; }
  .slider-keurmerken { top: 14px; right: 14px; left: 14px; justify-content: flex-start; }
  .houtsoorten { grid-template-columns: 1fr; }
  .split { padding-top: 48px; padding-bottom: 48px; gap: 28px; }
  .houtsoorten { padding-top: 48px; padding-bottom: 48px; }
  .project-banner { padding: 24px; min-height: 20rem; }
  .inhoud { padding-top: 32px; padding-bottom: 48px; gap: 32px; }
}

@media (max-width: 480px) {
  .soorten { grid-template-columns: 1fr; }
}

/* Animaties */
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes submenu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes icoon-in { from { opacity: 0; transform: rotate(-45deg); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; transform: translateY(18px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--vertraging, 0ms);
  }
  .reveal.is-zichtbaar { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .hoofdmenu, .js .hoofdmenu:not(.is-open) { transition: none; transform: none; }
  .hoofdmenu.is-open .menu-item, .hoofdmenu.is-open .menu-contact,
  .submenu-knop[aria-expanded="true"] + .submenu, .menu-knop[aria-expanded="true"] .icoon-sluiten { animation: none; }
}
