@font-face { font-family: "IBM Plex Sans"; font-weight: 200; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }

/* Altijd licht. */
:root {
  --bg: #ECE8E4;
  --bg-2: #E3DDD6;
  --paper: #F6F3EF;
  --ink: #211D1A;
  --muted: #6E655E;
  --line: #CDC4BA;
  --red: #BD140B;
  color-scheme: light only;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 "IBM Plex Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }

/* Typografie: groot en dun tegenover klein en vet */
h1, h2, h3 { margin: 0; line-height: 1.1; }
h2 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 200; letter-spacing: -.03em; margin-bottom: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.005em; }
p { margin: 0 0 1rem; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(74rem, 100% - 2rem); margin-inline: auto; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Header: altijd effen licht, zodat het logo nooit op foto of donker staat */
.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 1.5rem; height: 4.5rem; }
.brand { display: block; color: var(--ink); flex: none; }
.logo { display: block; height: 1.7rem; width: auto; }
.nav { display: flex; gap: 2rem; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; }
.top-r { display: flex; align-items: center; gap: 1.25rem; }
.langs { display: flex; gap: .1rem; }
.langs a { font-size: .78rem; font-weight: 500; padding: .3rem .4rem; color: var(--muted); letter-spacing: .06em; text-decoration: none; }
.langs a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .4em; }
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.35rem; background: var(--red); color: #fff; border-radius: 2px; text-decoration: none; font-weight: 500; transition: background .2s; }
.btn:hover { background: #9A0F08; color: #fff; }
.btn-sm { padding: .5rem .85rem; font-size: .9rem; }
@media (max-width: 860px) { .nav { display: none; } .top-r { margin-left: auto; } }
@media (max-width: 560px) {
  .btn-sm span { display: none; }
  .btn-sm { padding: .6rem; }
  .logo { height: 1.35rem; }
  .top-r { gap: .5rem; }
}

/* Hero: foto over het hele scherm, één verspringende zin in het midden */
.hero {
  position: relative; display: grid; place-items: center;
  height: calc(100svh - 4.5rem); min-height: 26rem;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgb(20 14 10 / .3), rgb(20 14 10 / .5)); }
/* plaatshouder tot de foto er is */
.hero-ph {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='60'%3E%3Cpath d='M0 .5H88M0 30.5H88M.5 0V30M44.5 30V60' stroke='%23fff' stroke-opacity='.12' fill='none'/%3E%3C/svg%3E") 0 0 / 88px 60px, linear-gradient(160deg, #565b61, #24272b);
}
.rot { position: relative; display: grid; margin: 0; padding: 0 1.5rem; height: 1.6em; overflow: hidden; text-align: center; font-size: clamp(.95rem, 1.6vw, 1.15rem); font-weight: 500; letter-spacing: .32em; text-transform: uppercase; line-height: 1.6; }
.rot span { grid-area: 1 / 1; padding-left: .32em; transform: translateY(105%); transition: transform .75s cubic-bezier(.77, 0, .18, 1); white-space: nowrap; }
.rot span.on { transform: none; }
.rot span.out { transform: translateY(-105%); }
.rot span.reset { transition: none; }
.scroll { position: absolute; left: 50%; bottom: 1.75rem; width: 1px; height: 3rem; background: rgb(255 255 255 / .35); overflow: hidden; }
.scroll::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: #fff; animation: drip 2.4s ease-in-out infinite; }
@keyframes drip { 0% { top: -100%; } 60%, 100% { top: 100%; } }

/* Secties */
.sec { padding: clamp(4.5rem, 10vw, 7.5rem) 0; }
.sec-alt { background: var(--bg-2); }

/* Diensten: raster met alles wat kan */
.svcs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15.5rem, 100%), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svcs li { padding: 1.5rem 1.5rem 1.75rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.svcs li:hover { background: var(--paper); }
.svcs h3 { margin-bottom: .35rem; }
.svcs p { margin: 0; color: var(--muted); font-weight: 300; font-size: .98rem; line-height: 1.5; }
@media (max-width: 520px) { .svcs li { padding: 1.1rem 1rem 1.25rem; } }

/* Plaatshouders: getekende materialen tot er foto's zijn */
.ph { position: relative; width: 100%; height: 100%; background-color: #8a8178; }
.ph > span { position: absolute; left: .75rem; bottom: .7rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgb(0 0 0 / .35); padding: .2rem .5rem; border-radius: 2px; }
.ph-lei { background-color: #4A5057; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='40'%3E%3Cpath d='M0 .5H44M0 20.5H44M.5 0V20M22.5 20V40' stroke='%23fff' stroke-opacity='.22' fill='none'/%3E%3C/svg%3E"), linear-gradient(160deg, rgb(255 255 255 / .1), rgb(0 0 0 / .25)); }
.ph-pan, .ph-pan2 { background-color: #A5552F; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cg fill='none' stroke='%23000' stroke-opacity='.28'%3E%3Cpath d='M0 17.5Q9 6 18 17.5T36 17.5M0 35.5Q9 24 18 35.5T36 35.5'/%3E%3Cpath d='M9 7V17M27 25V35' stroke-opacity='.15'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(160deg, rgb(255 255 255 / .12), rgb(0 0 0 / .25)); }
.ph-pan2 { background-color: #5E4C42; }
.ph-lood { background-color: #84898C; background-image: repeating-linear-gradient(90deg, transparent 0 46px, rgb(0 0 0 / .25) 46px 47px, rgb(255 255 255 / .35) 47px 50px, rgb(0 0 0 / .2) 50px 53px), linear-gradient(160deg, rgb(255 255 255 / .18), rgb(0 0 0 / .25)); }
.ph-plat { background-color: #3A3836; background-image: linear-gradient(180deg, #9BA0A3 0 9%, #6F7477 9% 11%, transparent 11%), repeating-linear-gradient(90deg, transparent 0 90px, rgb(255 255 255 / .07) 90px 92px), linear-gradient(170deg, rgb(255 255 255 / .08), rgb(0 0 0 / .3)); }
.ph-eik { background-color: #8E6A45; background-image: repeating-linear-gradient(88deg, rgb(0 0 0 / .07) 0 3px, transparent 3px 11px, rgb(255 255 255 / .06) 11px 13px, transparent 13px 23px), repeating-linear-gradient(92deg, transparent 0 37px, rgb(60 30 10 / .18) 37px 39px, transparent 39px 61px), linear-gradient(160deg, rgb(255 255 255 / .1), rgb(0 0 0 / .25)); }

/* Realisaties: projecten met staande foto's */
.filter { position: relative; margin: -1rem 0 2rem; }
.filter-btn { font: inherit; font-size: .9rem; display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.filter-btn::after { content: ""; width: .45em; height: .45em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.15em) rotate(45deg); transition: transform .2s; }
.filter-btn[aria-expanded="true"]::after { transform: translateY(.1em) rotate(-135deg); }
.filter-btn.active { background: var(--ink); color: var(--bg); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; max-width: 52rem; }
.chips[hidden] { display: none; }
.chip { font: inherit; font-size: .88rem; padding: .35rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.more-wrap { text-align: center; margin-top: 3rem; }
.more { font: inherit; font-size: .95rem; padding: .8rem 2rem; border: 1px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.more:hover { background: var(--ink); color: var(--bg); }
.more[hidden] { display: none; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr 1fr; gap: 1.25rem .75rem; } }
.card[hidden], .card.paged { display: none; }
.card button { all: unset; box-sizing: border-box; position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in; background: var(--bg-2); }
.card button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.card button > img, .card button > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card button:hover > img, .card button:hover > .ph { transform: scale(1.04); }
.count { position: absolute; top: .6rem; right: .6rem; font-size: .72rem; color: #fff; background: rgb(0 0 0 / .45); padding: .15rem .5rem; border-radius: 2px; }
.cap { position: absolute; inset: auto 0 0 0; padding: 3rem .9rem .85rem; color: #fff; font-weight: 500; font-size: .98rem; line-height: 1.3; background: linear-gradient(transparent, rgb(20 12 6 / .72)); }
.cap small { display: block; font-weight: 300; font-size: .8rem; opacity: .9; margin-top: .1rem; }
.card-tags { margin: .55rem 0 0; font-size: .8rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 520px) { .cap { font-size: .85rem; padding: 2rem .6rem .6rem; } .card-tags { font-size: .72rem; } }

/* Lightbox */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #14100D; color: #ECE8E4; }
.lb::backdrop { background: rgb(0 0 0 / .6); }
.lb[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lb-fig { margin: 0; padding: 3.5rem .5rem 1.25rem; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1rem; min-width: 0; }
.lb-media { position: relative; max-width: 100%; max-height: calc(100dvh - 9rem); }
.lb-media > img { display: block; max-width: 100%; max-height: calc(100dvh - 9rem); width: auto; height: auto; }
.lb-media > .ph { width: min(70vw, 28rem); aspect-ratio: 4 / 5; }
.lb-cap { text-align: center; font-weight: 500; }
.lb-cap small { display: block; font-weight: 300; font-size: .85rem; color: #B9AEA4; margin-top: .15rem; }
.lb-n { font-weight: 300; color: #B9AEA4; margin-left: .5rem; }
.lb button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.lb .lb-nav { font-size: 2.6rem; font-weight: 200; line-height: 1; padding: 1rem; opacity: .75; }
.lb .lb-x { position: absolute; top: .75rem; right: 1rem; font-size: 2.2rem; font-weight: 200; line-height: 1; padding: .25rem .6rem; opacity: .75; z-index: 2; }
.lb .lb-nav:hover, .lb .lb-x:hover { opacity: 1; }
.lb .lb-nav[hidden] { display: block; visibility: hidden; }
@media (max-width: 600px) { .lb .lb-nav { position: absolute; bottom: .75rem; z-index: 2; } .lb-prev { left: .5rem; } .lb-next { right: .5rem; } .lb[open] { grid-template-columns: 1fr; } }

/* Voor/na-schuifbalk */
.cmp .after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-height: none; clip-path: inset(0 0 0 var(--pos, 50%)); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.cmp-line::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; color: #222; font-size: .9rem; padding: .3rem .55rem; border-radius: 999px; white-space: nowrap; }
.cmp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cmp-tag { position: absolute; top: .75rem; font-size: .75rem; background: rgb(0 0 0 / .5); padding: .2rem .5rem; border-radius: 2px; pointer-events: none; }
.cmp-tag.l { left: .75rem; } .cmp-tag.r { right: .75rem; }

/* Juridisch */
.legal { max-width: 46rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 200; letter-spacing: -.03em; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; margin: 3rem 0 1rem; }
.legal p { font-weight: 300; }
.contact { display: grid; gap: .9rem; margin: 0; }
.contact div { display: grid; grid-template-columns: 13rem 1fr; gap: 1rem; }
.contact dt { color: var(--muted); font-size: .9rem; }
.contact dd { margin: 0; }
@media (max-width: 560px) { .contact div { grid-template-columns: 1fr; gap: .1rem; } }

/* Footer: logo links, alles ernaast */
.foot { padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; background: var(--bg); border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: 2.5rem 3rem; grid-template-columns: auto repeat(3, minmax(0, 1fr)); align-items: start; }
.foot-logo { color: var(--ink); }
.logo-v { display: block; width: 9.5rem; height: auto; }
.foot h2 { font-size: .9rem; font-weight: 600; letter-spacing: 0; margin: 0 0 .6rem; }
.foot p { margin: 0; font-weight: 300; font-size: .95rem; line-height: 1.7; }
.foot-phone { font-weight: 500; }
.foot-legal { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.foot-legal p { font-size: inherit; }
.foot-legal a { color: var(--muted); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-logo { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } .logo-v { width: 8rem; } }
@media (max-width: 520px) { .rot { font-size: .85rem; letter-spacing: .16em; } .rot span { padding-left: .16em; } }
.foot-links { display: flex; gap: 1.5rem; }
