/* =========================================================
   DesignMinds — stylesheet
   1. Lettertype en basis       6. Knoppen en links
   2. Kleuren en maten          7. Onderdelen (hero, panelen, ...)
   3. Typografie                8. Projectpagina's
   4. Layout (container, grid)  9. Contactformulier
   5. Header en footer         10. Responsive
   ========================================================= */

/* 1. Lettertype (Poppins, zelf gehost) ------------------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 100; font-display: swap; src: url("/fonts/poppins-100-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/poppins-300-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/poppins-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/poppins-400-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/poppins-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/poppins-700-latin.woff2") format("woff2"); }

/* 2. Kleuren en maten ------------------------------------ */
:root {
  --text: #000;
  --heading: #161922;
  --muted: #716f6f;
  --list: #737373;
  --nav: #7b7979;
  --accent: #479994;        /* accentkleur: lijnen, cirkels, focusrand (3:1) */
  --accent-dark: #3c817c;   /* zelfde tint, donker genoeg voor witte tekst (4,5:1) */
  --line: #e2e2e2;
  --bg-light: #f7f8fa;   /* "Get in touch", contact */
  --bg-grey: #f7f7f7;    /* titelbalk projecten */
  --bg-pane: #f3f4f4;    /* grijze tekstvlakken */
  --bg-pane-2: #f9f9f9;  /* homepage 01 / 02 */
  --bg-status: #e8ecf0;  /* projectfase */
  --container: 1036px;
  --wide: 1296px;
  --header: 100px;
  --gap: 24px;
}

* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 14px/25px "Poppins", -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
main :is(p, li, dd, figcaption, blockquote, .muted) a:not([class]) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
main :is(p, li, dd, figcaption, blockquote, .muted) a:not([class]):hover { text-decoration-thickness: 2px; }
p { margin: 0 0 15px; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: #000; padding: 12px 18px; font-weight: 500; text-decoration: underline; }
.skip-link:focus { position: fixed; left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.site-header :focus-visible, .lightbox :focus-visible { outline-color: #fff; }
main:focus { outline: none; }

/* 3. Typografie ------------------------------------------ */
h1, h2, h3, h4, h5, h6 { color: var(--heading); font-weight: 500; margin: 0 0 15px; }
.h2 { font-size: 68px; line-height: 78px; }
.h3 { font-size: 48px; line-height: 58px; }
.h4 { font-size: 18px; line-height: 24px; }
.h5 { font-size: 38px; line-height: 45px; }
.big { font-size: 18px; line-height: 28px; }
.center { text-align: center; }
.muted { color: var(--muted); }
h1 .muted { display: inline-block; } /* grijze deel van de titel blijft bij elkaar: past het niet, dan gaat het hele deel naar de volgende regel */
.number { font-size: 70px; line-height: 70px; font-weight: 100; color: var(--accent); margin-bottom: 31px; }
.h4.bold, .bold { font-weight: 700; }

/* 4. Layout ---------------------------------------------- */
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.container-wide { width: min(var(--wide), 100% - 40px); margin-inline: auto; }
.section { padding: 50px 0; }
.section-tight { padding: 30px 0; }
.grid { display: grid; gap: var(--gap); grid-template-columns: var(--cols, 1fr 1fr); }
.cols-3 { --cols: repeat(3, 1fr); }
.cols-4 { --cols: repeat(4, 1fr); }
.cols-2-3 { --cols: 2fr 3fr; }
.cols-3-2 { --cols: 3fr 2fr; }
.align-center { align-items: center; }
/* grid-kinderen mogen smaller worden dan hun inhoud (voorkomt horizontaal scrollen) */
.grid > *, .photos > *, .layers > *, .feature > *, .text-cols > *, .status-row > *, .req-boxes > *,
.intro-row > *, .pillars > *, .service > *, .who > *, .inclusive > *, .about-text > *, .recent-grid > * { min-width: 0; }
.bg-light { background: var(--bg-light); }
.bg-grey { background: var(--bg-grey); }
.stack > * + * { margin-top: var(--stack, 24px); }

/* Dunne verticale lijn ("Get in touch", contact) */
.vline { width: 1px; height: 96px; background: #000; margin: 0 auto; }
.rule { border: 0; border-top: 1px solid #000; margin: 0; }
.rule-light { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* 5. Header en footer ------------------------------------ */
.site-header {
  position: relative; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header); background: #000; padding: 0 20px;
}
.logo { display: flex; align-items: center; }
.logo img { width: 507px; height: auto; }
.logo .beeldmerk { width: auto; height: 54px; margin-top: 4px; }
.menu { display: flex; list-style: none; height: var(--header); }
.menu > li { position: relative; display: flex; align-items: center; }
.menu > li > a { display: block; padding: 0 20px; line-height: 60px; font-size: 15px; color: var(--nav); transition: color .2s; }
.menu > li:hover > a, .menu > li:focus-within > a, .menu > li.is-active > a { color: #fff; }
.submenu {
  position: absolute; top: 100%; left: 0; width: 220px; list-style: none;
  background: #f2f2f2; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.menu > li:hover > .submenu, .menu > li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu li + li { border-top: 1px solid rgba(0, 0, 0, .06); }
.submenu a { display: block; padding: 10px 20px; color: #5f5f5f; font-size: 14px; line-height: 25px; }
.submenu a:hover { color: #000; background: rgba(0, 0, 0, .03); }
.main-nav { margin-left: auto; }
.lang-switch { display: flex; align-items: center; gap: 8px; margin-left: 10px; font-size: 14px; color: var(--nav); }
.lang-switch a, .lang-switch [aria-current] { display: inline-grid; place-items: center; min-width: 28px; min-height: 28px; }
.lang-switch a { color: var(--nav); transition: color .2s; }
.lang-switch a:hover { color: #fff; }
.lang-switch [aria-current] { color: #fff; }
.lang-switch.in-menu { display: none; }
.menu-toggle, .submenu-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 0; }
.menu-toggle svg { width: 30px; height: 30px; }
.menu-toggle svg:last-child { display: none; }

.site-footer { padding-top: 70px; }
.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); text-align: center; }
.footer-columns .h4 { margin-bottom: 25px; }
.footer-icon { display: inline-grid; place-items: center; width: 28px; height: 24px; vertical-align: -2px; margin-block: -5px; margin-left: 0; color: #000; }
.footer-icon svg { width: 14px; height: 14px; fill: currentColor; }
.footer-icon:hover, .footer-mail:hover { opacity: .6; }
.footer-phone { color: #000; }
.footer-mail { color: #000; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 70px 0 25px; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 50; width: 42px; height: 42px; background: #000; color: #fff; display: grid; place-items: center; transition: opacity .25s, visibility .25s, background .2s; }
.back-to-top:hover { background: #444; }
.back-to-top.is-hidden { opacity: 0; visibility: hidden; }
@media (max-width: 767px) { .back-to-top { right: 16px; bottom: 16px; } }
.back-to-top svg { width: 20px; height: 20px; }

/* 6. Knoppen en links ------------------------------------ */
.btn {
  display: inline-block; background: #000; color: #fff; font-size: 14px; line-height: 17px;
  padding: 16px 20px; border: 0; cursor: pointer; font-family: inherit; transition: opacity .2s;
}
.btn:hover { opacity: .8; }
.btn-lg { font-size: 16px; padding: 21px 24px; }
.btn svg { width: 12px; height: 12px; display: inline-block; vertical-align: -1px; margin-left: 10px; }
/* "› LEES MEER": blauwe knop met pijltje ervoor */
.link-more { display: inline-flex; align-items: center; gap: 20px; font-size: 15px; }
.link-more::before { content: "›"; font-size: 16px; color: #000; }
.link-more span { background: var(--accent-dark); color: #fff; line-height: 44px; padding: 0 14px; text-transform: uppercase; transition: background .2s; }
.link-more:hover span { background: #2f6864; }

/* 7. Onderdelen ------------------------------------------ */
/* Grote foto bovenaan een pagina; de achtergrond komt uit data-bg="..." */
.hero {
  position: relative; display: flex; align-items: flex-end;
  /* hoogte schaalt mee met de breedte (max. 4:3), zodat op tablets niet de helft wegvalt */
  min-height: min(var(--h, 1080px), 75vw);
  background: #ddd var(--bg) var(--pos, center) / cover no-repeat;
}
.hero-content { width: min(var(--container), 100% - 40px); margin: 0 auto; padding-bottom: var(--pb, 130px); }
.hero-content .h2 { margin: 0; }
.hero-light::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, 0) 75%); pointer-events: none; }
.hero-light .hero-content { position: relative; }
.hero-light .h3 { color: #fff; text-shadow: 0 0 18px rgba(0, 0, 0, .6); }

/* Homepage */
.intro-band { background: #fff url("/images/algemeen/grijs-verloop-337.webp") right top / auto 100% no-repeat; }
.intro-band .box { width: 83.333%; background: #fff; padding: 30px 5% 76px; display: grid; grid-template-columns: 1fr 5fr; }
.intro-band .box img { margin: 15px 0 0 12px; }
.intro-band .h3 { margin: 0; max-width: 856px; }

.service { display: grid; grid-template-columns: 2fr 3fr; background: var(--bg-pane-2); }
.service.reverse { grid-template-columns: 3fr 2fr; }
.service + .service { margin-top: 36px; }
.service img { width: 400px; height: 600px; object-fit: cover; margin-left: 12px; }
.service.reverse img { margin: 0 12px 0 auto; }
.service .text { padding: 60px 92px; max-width: 612px; }
.service .text p { margin: 25px 0 30px; max-width: 428px; }
.service .h3 { margin: 0; }

.who { display: grid; grid-template-columns: 1fr 1fr; padding: 50px 0 50px; }
.who img { width: calc(100% - 24px); margin-left: 12px; aspect-ratio: 3 / 2; object-fit: cover; }
.who .text { padding: 0 50px; max-width: 448px; margin-top: -50px; padding-top: 50px; }
.who .text p { margin-bottom: 40px; }
.who .h5 { margin-bottom: 15px; }

.recent { background: #fff url("/images/algemeen/portfolio-achtergrond-1920.webp") top / cover no-repeat; padding-bottom: 50px; }
.recent-head { background: #fff; padding: 50px 5% 140px; }
.recent-head .h2 { margin: 0; }
.recent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); margin-top: -90px; }
.work { display: block; margin-bottom: 0; }
.work figure { position: relative; margin: 0; overflow: hidden; }
.work figure img.photo { width: 100%; transition: transform .6s; }
.work .icon { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; opacity: 0; transition: opacity .3s; }
.work figure::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .3s; }
.work .icon { z-index: 1; }
.work:hover figure::after, .work:focus-visible figure::after, .work:hover .icon, .work:focus-visible .icon { opacity: 1; }
.work:hover .photo { transform: scale(1.03); }
.work p { margin: 40px 0 40px; }
.recent-grid { column-gap: 40px; }
.recent-grid > .work:nth-child(even) { position: relative; top: 180px; } /* rechterkolom verspringt een halve foto */
.work figure img.photo { aspect-ratio: 4 / 3; object-fit: cover; }

.touch { padding-bottom: 75px; }
.touch .stack { --stack: 0; }
.touch .h2 { margin: 40px 0 10px; }
.touch p { max-width: 683px; margin: 0 auto 40px; }
.touch .btn { margin-bottom: 36px; }

/* About */
.about-text { display: grid; grid-template-columns: 3fr 2fr; gap: var(--gap); padding: 100px 0 75px; }
.about-text .col { max-width: 506px; }
.about-text .h3 { margin-bottom: 40px; }
.about-text .col > div + div { margin-top: 85px; }
.about-text .decor { align-self: center; max-width: 400px; justify-self: end; }
.panels { display: grid; grid-template-columns: 1fr 1fr; }
.panel { background: #f8f9f9; padding: 80px 6% 55px; text-align: center; }
.panel + .panel { background: var(--bg-pane); }
.panel p { max-width: 379px; margin: 0 auto 35px; }
.panel .h5 { max-width: 379px; margin: 0 auto 15px; }

/* Neuroarchitectuur */
.neuro { padding: 80px 0 110px; }
.neuro-row { display: grid; grid-template-columns: 1fr 2fr; }
.neuro-row > * { min-width: 0; }
.neuro-row.reverse { grid-template-columns: 2fr 1fr; margin-top: 31px; }
.pane { background: var(--bg-pane); padding: 65px 9% 40px; }
.neuro-row .pane .h5 { max-width: 300px; margin-bottom: 55px; }
.neuro-row.reverse .pane .h5 { max-width: 545px; }
.neuro-row .pane .grid { --gap: 24px; }
.neuro-photo { padding: 0 15px 15px; margin-top: -15px; background: #fff; }
.neuro-photo img { width: 100%; }
.neuro-idea { padding: 65px 9% 40px; background: var(--bg) center bottom / cover no-repeat; }
.neuro-idea .h5 { margin-bottom: 55px; }
.neuro-idea p { max-width: 212px; }

/* Inclusieve speeltuinen */
.superpowers { padding: 50px 0 20px; text-align: center; }
.superpowers .h3 { margin-bottom: 40px; }
.superpowers .h4 { margin-bottom: 55px; }
.inclusive { display: grid; grid-template-columns: 3fr 2fr; gap: var(--gap); align-items: start; padding: 50px 0 40px; }
.inclusive .pane { padding: 40px 52px; }
.inclusive .pane .h5 { margin-bottom: 40px; }
.inclusive .pane p { margin-bottom: 25px; }
.inclusive .side { display: grid; gap: 31px; max-width: 360px; }
.inclusive .side .h5 { margin: 30px 0 15px; }

/* Grijze titelbalk (projectpagina's) en algemene titels */
.title-bar { background: var(--bg-grey); padding: 50px 0; }
.title-bar .h3 { margin: 0; }
.section-title { text-align: center; margin-bottom: 40px; }

/* 8. Projectpagina's ------------------------------------- */
.project-intro { padding: 50px 0; }
.intro-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 49px; }
.intro-row + .intro-row { margin-top: 40px; }
.intro-row .label { display: grid; grid-template-columns: var(--label-w, 145px) 1fr; gap: 24px; align-items: start; }
.intro-row .label::after { content: ""; border-top: 1px solid #ddd; margin-top: 12px; }
.intro-row .label .h4, .intro-row .label img { margin: 0 0 0 8px; }
.intro-row .label img { max-width: 153px; max-height: 80px; width: auto; }
.intro-row .content { padding-left: 25px; }
.details .h4 { margin-bottom: 15px; }
.details dl { display: grid; grid-template-columns: 145px 1fr; margin: 0; font-size: 13px; line-height: 25px; }
.details dt { text-transform: uppercase; }
.details dd { margin: 0; font-weight: 700; text-transform: uppercase; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); padding: 0 21px; }
.pillars img { width: 100px; margin-bottom: 40px; }
.phases .h4 { font-weight: 400; margin-bottom: 55px; }
.phases dl { display: grid; grid-template-columns: 103px 1fr; margin: 0; }
.phases dt { font-weight: 700; text-transform: uppercase; }
.phases dt:nth-of-type(2) { grid-row: 2; }
.phases dd { margin: 0; }

.text-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.text-cols > * { max-width: min(418px, 100%); }
.text-cols.wide > * { max-width: none; }

.full-bleed img, img.full-bleed { width: 100%; }
.bleed-bg { min-height: min(var(--h, 1080px), 75vw); background: var(--bg) var(--pos, center top) / cover no-repeat; }

.layers { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap); align-items: start; }
.layers > img { max-width: min(541px, 100%); }
.layer-legend { display: grid; gap: 30px; padding-left: 21px; }
.layer-legend img { width: 65px; margin-bottom: 25px; }
.layer-legend .h4 { margin-bottom: 15px; }
.layer-legend dl { display: grid; grid-template-columns: 87px auto; gap: 24px; margin: 0; }
.layer-legend dt { text-transform: uppercase; }
.layer-legend dd { margin: 0; font-weight: 700; }

.photos { display: grid; gap: var(--gap); grid-template-columns: var(--cols, 1fr 1fr); }
.photos img { width: 100%; height: 100%; object-fit: cover; }

/* Opening / projectfase / extra beeld */
.status-row { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; }
.status-row > .box { padding: 40px; }
.status-row .status { background: var(--bg-status); text-align: center; padding: 80px 40px 50px; }
.status-row .tinted { background: var(--bg-grey); }
.progress { position: relative; width: 140px; height: 140px; margin: 0 auto 20px; }
.progress svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.progress circle { fill: none; stroke-width: 1; }
.progress .track { stroke: #fff; }
.progress .value { stroke: var(--accent); stroke-dasharray: 100 100; stroke-dashoffset: calc(100 - var(--p)); }
.progress span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; color: #444; }
.opening-hours { width: 100%; border-collapse: collapse; margin-top: 20px; text-align: center; }
.opening-hours td, .opening-hours th { padding: 10px; border-top: 1px solid #e5e5e5; font-weight: inherit; text-align: left; }
.opening-hours th { border-right: 1px solid #e5e5e5; width: 40%; }
.opening-hours tr:first-child td { border-top: 0; }

/* Inclusieagenda: gouden driehoek en logo's gemeentes */
.driehoek { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; padding: 0 20px; }
.driehoek img { width: 100%; max-width: 580px; justify-self: center; }
.driehoek .t { font: 500 30px Poppins, sans-serif; fill: var(--heading); }
.driehoek .m { font: 300 23px Poppins, sans-serif; fill: var(--muted); }
.gemeentes { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 50px 70px; max-width: 760px; margin: 0 auto; }
.gemeentes img { height: 70px; width: 200px; object-fit: contain; }
.gemeentes a { display: block; transition: opacity .2s; }
.gemeentes a:hover { opacity: .6; }
@media (max-width: 767px) {
  .driehoek { grid-template-columns: 1fr; padding: 0; }
  .gemeentes { gap: 30px 20px; }
  .gemeentes img { height: 44px; width: 96px; }
}

/* Inclusieagenda: tijdlijn van het traject */
.tijdlijn { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); position: relative; margin: 0; padding: 0; }
.tijdlijn::before { content: ""; position: absolute; top: 28px; left: 12.5%; right: 12.5%; border-top: 2px solid #c9a227; }
.tijdlijn > li { position: relative; text-align: center; padding: 0 10px; }
.tijdlijn .stip { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 26px; border-radius: 50%; background: var(--heading); color: #fff; box-shadow: 0 0 0 8px #fff; }
.tijdlijn .stip svg { width: 26px; height: 26px; fill: currentColor; }
.tijdlijn .h4 { margin-bottom: 6px; }
.tijdlijn .vraag { color: var(--muted); font-style: italic; margin-bottom: 22px; }
.tijdlijn ul { list-style: none; text-align: left; border-top: 1px solid var(--line); padding-top: 18px; margin: 0; }
.tijdlijn ul li { position: relative; color: var(--list); padding-left: 18px; margin-bottom: 12px; font-size: 14px; line-height: 1.6; }
.tijdlijn ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: #c9a227; }
.tijdlijn-pijl { position: relative; display: flex; justify-content: space-between; margin: 40px 12.5% 0; padding-top: 14px; border-top: 1px solid var(--heading); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tijdlijn-pijl::after { content: ""; position: absolute; right: -2px; top: -6px; border: 5.5px solid transparent; border-left: 10px solid var(--heading); border-right: 0; }
@media (max-width: 1023px) {
  .tijdlijn { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .tijdlijn::before, .tijdlijn-pijl { display: none; }
}
@media (max-width: 767px) {
  .tijdlijn { grid-template-columns: 1fr; row-gap: 0; }
  .tijdlijn > li { display: grid; grid-template-columns: 58px 1fr; column-gap: 20px; text-align: left; padding: 0 0 36px; }
  .tijdlijn > li::before { content: ""; position: absolute; left: 28px; top: 58px; bottom: 0; border-left: 2px solid #c9a227; }
  .tijdlijn > li:last-child::before { display: none; }
  .tijdlijn .stip { grid-row: 1 / span 3; margin: 0; box-shadow: none; }
  .tijdlijn ul { grid-column: 2; }
}

/* Partners en sponsors */
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px var(--gap); }
.partner { width: calc((100% - 2 * var(--gap)) / 3); max-width: 330px; text-align: center; display: block; padding: 10px 32px; }
.partner img { height: 86px; width: 100%; object-fit: contain; margin-bottom: 34px; }
.partner .h4 { margin-bottom: 20px; }
.partner:hover .h4 { color: var(--accent-dark); }
.sponsors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 var(--gap); justify-items: center; }
.sponsors a { display: block; }
.sponsors img { width: 131px; transition: opacity .2s; }
.sponsors a:hover img { opacity: .7; }

/* Ondertitel met lijn eronder ("voor & na", "open") */
.caption { text-align: center; padding-top: 32px; }
.caption .h4 { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 15px; }

/* Programma van Eisen: lijsten in een kader */
.req-boxes { display: grid; gap: var(--gap); grid-template-columns: var(--cols, 1fr 1fr); align-items: start; }
.req-box { border: 1px solid #ececec; padding: 50px 60px 30px; }
.req-box .h4 { margin-bottom: 30px; }
.req-box ul { list-style: none; }
.req-box li { position: relative; color: var(--list); padding: 0 0 20px 50px; margin-bottom: 20px; }
.req-box li::before { content: "•"; position: absolute; left: 22px; color: #000; }
.req-box li::after { content: ""; position: absolute; left: 0; bottom: 0; width: 70px; border-top: 1px solid #e5e5e5; }
.req-box li:last-child::after { display: none; }
.req-box li:last-child { margin-bottom: 0; }

/* Tekst naast een tekening */
.feature { display: grid; grid-template-columns: 2fr 3fr; gap: var(--gap); align-items: center; }
.feature.reverse { grid-template-columns: 3fr 2fr; }
.feature .text { padding: 0 20px; font-size: 18px; line-height: 28px; }
.feature .text .h4 { font-weight: 700; margin-bottom: 15px; }
.text-18 { font-size: 18px; line-height: 28px; }
.text-18 .h4 { font-weight: 700; margin-bottom: 15px; }
.feature ul.dots, .text-18 ul.dots { list-style: none; }
.dots li::before { content: "• "; }

/* Vorige / volgende project */
.project-nav { display: flex; justify-content: space-between; padding: 40px 0 30px; border-bottom: 1px solid #000; }
.project-nav a { display: grid; place-items: center; width: 44px; height: 44px; margin: -11px; }
.project-nav a svg { width: 22px; height: 22px; }
.project-nav a:hover { color: var(--accent); }

/* Voor/na-schuifregelaar */
.compare { position: relative; overflow: hidden; --pos: 50%; user-select: none; touch-action: pan-y; }
.compare img { width: 100%; display: block; pointer-events: none; }
.compare .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare .after img { height: 100%; object-fit: cover; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.compare .handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border: 3px solid #fff; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 18px; letter-spacing: 2px; background: rgba(0, 0, 0, .15); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.compare:has(input:focus-visible) .handle::after { background: rgba(0, 0, 0, .55); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .9); display: grid; place-items: center; padding: 30px; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 60px); width: auto; }
.lightbox button { position: absolute; top: 15px; right: 20px; width: 48px; height: 48px; background: none; border: 0; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }

/* 9. Contactformulier ------------------------------------ */
.contact-form { max-width: 506px; margin: 0 auto; }
.contact-form label { display: block; font-weight: 500; font-size: 13px; margin-bottom: 12px; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form textarea {
  display: block; width: 100%; margin-top: 10px; padding: 8px 0; font: inherit; color: #000;
  background: transparent; border: 0; border-bottom: 1px solid #000; border-radius: 0;
}
.contact-form textarea { height: 150px; resize: vertical; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-bottom-color: #000; }
.contact-form [aria-invalid=true] { border-bottom: 2px solid #b3261e; }
.contact-form .req { font-weight: 400; }
.contact-form .btn { margin-top: 10px; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-status { display: none; margin-top: 20px; padding: 12px 16px; border: 2px solid; }
.form-status.ok { display: block; border-color: #46b450; }
.form-status.error { display: block; border-color: #dc3232; }

/* 10. Responsive ----------------------------------------- */
@media (max-width: 1239px) {
  .logo img { width: 380px; }
  .logo .beeldmerk { height: 41px; margin-top: 3px; }
  .menu > li > a { padding: 0 14px; }
  .menu > li:nth-last-child(-n+2) > .submenu { left: auto; right: 0; } /* niet buiten beeld op tablet */
  .service .text { padding: 50px 50px; }
}

@media (max-width: 1023px) {
  .h2 { font-size: 52px; line-height: 60px; }
  .h3 { font-size: 38px; line-height: 46px; }
  .h5 { font-size: 30px; line-height: 38px; }
  .service img { width: 100%; height: 100%; margin: 0; }
  .service.reverse img { margin: 0; }
  .who .text { padding: 50px 30px 0; }
  .neuro-row, .neuro-row.reverse { grid-template-columns: 1fr; }
  .neuro-photo { margin: 0; padding: 0; }
  .neuro-idea { min-height: 420px; }
  .neuro-idea p { max-width: 50%; }
}

/* Telefoon en kleine tablet */
@media (max-width: 767px) {
  :root { --header: 60px; }
  body { font-size: 15px; line-height: 26px; }
  .h2 { font-size: 40px; line-height: 48px; }
  .h3 { font-size: 32px; line-height: 40px; }
  .h5 { font-size: 28px; line-height: 35px; }
  .section { padding: 40px 0; }

  /* menu */
  .site-header { padding: 0 15px; }
  .logo img { width: 250px; }
  .logo .beeldmerk { height: 27px; margin-top: 2px; }
  .menu-toggle { display: block; }
  .lang-switch { display: none; }
  .lang-switch.in-menu { display: flex; margin: 0; padding: 14px 15px 22px; font-size: 15px; gap: 12px; }
  .menu-toggle[aria-expanded=true] svg:first-child { display: none; }
  .menu-toggle[aria-expanded=true] svg:last-child { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #000; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .3s, visibility 0s .3s; }
  .main-nav.is-open { max-height: 80vh; overflow-y: auto; visibility: visible; transition: max-height .3s; }
  .menu { flex-direction: column; height: auto; padding: 10px 0 20px; }
  .menu > li { flex-wrap: wrap; }
  .menu > li > a { flex: 1; line-height: 48px; font-size: 16px; }
  .submenu-toggle { display: grid; place-items: center; width: 48px; height: 48px; color: var(--nav); }
  .submenu-toggle svg { width: 18px; height: 18px; transition: transform .2s; }
  .submenu-toggle[aria-expanded=true] svg { transform: rotate(90deg); }
  .submenu, .menu > li:hover > .submenu, .menu > li:focus-within > .submenu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; background: #111; }
  .menu > li > .submenu.is-open { display: block; }
  .submenu a { color: #bbb; padding: 10px 35px; }
  .submenu a:hover { color: #fff; background: none; }
  .submenu li + li { border-color: rgba(255, 255, 255, .08); }

  /* grids onder elkaar */
  .grid, .text-cols, .photos, .layers, .feature, .feature.reverse, .req-boxes, .status-row,
  .footer-columns, .panels, .about-text, .inclusive, .who, .service, .service.reverse, .intro-row,
  .recent-grid, .pillars, .cols-3 { grid-template-columns: 1fr; }
  .sponsors { grid-template-columns: repeat(3, 1fr); }
  .photos.keep-2 { grid-template-columns: 1fr 1fr; }

  .hero { min-height: var(--h-sm, 55vh); background-image: var(--bg-sm); }
  .hero-content { padding-bottom: 40px; }
  .bleed-bg { min-height: 50vh; background-image: var(--bg-sm); }

  .intro-band { background: #fff; }
  .intro-band .box { width: 100%; padding: 30px 20px 50px; grid-template-columns: 1fr; gap: 20px; }
  .intro-band .box img { margin: 0; }
  .service .text { padding: 40px 25px; }
  .service.reverse .text { order: 2; }
  .service img { aspect-ratio: 4 / 5; }
  .who { padding: 0; }
  .who img { width: 100%; margin: 0; }
  .who .text { padding: 40px 20px 0; max-width: none; margin: 0; }
  .recent-head { padding: 40px 20px 60px; }
  .recent-grid { margin-top: 0; }
  .recent-grid > .work:nth-child(even) { top: 0; }
  .work { margin: 0; }
  .work p { margin: 15px 0 35px; }
  .about-text { padding: 50px 0; }
  .about-text .decor { justify-self: center; max-width: 260px; }
  .panel { padding: 50px 25px; }
  .pane, .neuro-idea, .inclusive .pane { padding: 40px 25px; }
  .neuro { padding: 0 0 50px; }
  .neuro-idea p { max-width: 60%; }
  .intro-row { gap: 15px; }
  .intro-row .content { padding-left: 0; }
  .intro-row .label .h4, .intro-row .label img { margin-left: 0; }
  .details dl { grid-template-columns: 130px 1fr; }
  .pillars { padding: 0; gap: 30px; }
  .pillars > div { display: flex; align-items: center; gap: 20px; }
  .pillars img { width: 70px; margin: 0; }
  .pillars.phases > div { display: block; }
  .pillars.phases img { margin-bottom: 20px; }
  .pillars.phases .h4 { margin-bottom: 20px; }
  .pillars .h4 { margin: 0; }
  .layer-legend { grid-template-columns: 1fr 1fr; padding: 0; }
  .partner { width: 100%; max-width: 300px; }
  .req-box { padding: 30px 25px 20px; }
  .feature .text, .text-18 { font-size: 16px; line-height: 26px; padding: 0; }
  .status-row .status { padding: 50px 25px; }
  .footer-columns { gap: 40px; }
  .footer-bottom { padding-top: 50px; }
  .doc-list li { flex-direction: column; align-items: flex-start; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Schermen breder dan 1920 px: de foto valt daar boven en onder weg,
   dus tonen we het midden van de foto in plaats van de bovenkant. */
@media (min-width: 1921px) {
  .hero, .bleed-bg { background-position: center; }
}

/* Infographic: ruimtes en hun doelen (Reclassering) */
.ruimtes { --werknemer: #a3b1b5; --client: #bcdcc8; --beide: #dcc3b1; --rood: #d8232a; }
.ruimtes-map { --gx: 30px; --gy: 34px; position: relative; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); grid-template-rows: repeat(4, 1fr); gap: var(--gy) var(--gx); }
.ruimtes-title { text-align: center; font-size: 20px; margin-bottom: 30px; }
.ruimtes-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ruimtes-map > svg line { stroke: #4a3a2c; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ruimte { position: relative; z-index: 1; border-radius: 22px; padding: 18px 16px; display: flex; flex-direction: column; justify-content: center; text-align: center; background: var(--beide); }
.ruimte.client { background: var(--client); }
.ruimte.werknemer { background: var(--werknemer); }
.ruimte .h4 { font-size: 15px; line-height: 1.3; margin: 0 0 8px; }
.ruimte p { font-size: 12px; line-height: 1.55; margin: 0; color: #2b2b2b; }
.ruimte p.sub { margin-bottom: 8px; }
/* rode lijnen: beveiligde lijn (doorgetrokken) en glazen wand (gestippeld) */
.zone { z-index: 2; pointer-events: none; border: 0 solid var(--rood); }
.zone.secure-u { margin: calc(var(--gy) / -2) calc(var(--gx) / -2) 0; border-width: 2px 2px 0; border-style: solid solid none dashed; border-radius: 28px 28px 0 0; }
.zone.secure-corner { margin: calc(var(--gy) / -2) 0 0 calc(var(--gx) / -2); border-width: 2px 0 0 2px; border-style: dashed none none solid; border-top-left-radius: 28px; }
.ruimtes-legend { align-self: end; z-index: 1; font-size: 13px; }
.ruimtes-legend .h4 { font-size: 14px; margin-bottom: 10px; }
.ruimtes-legend span { display: flex; align-items: center; gap: 10px; line-height: 28px; }
.ruimtes-legend i { width: 14px; height: 14px; border-radius: 50%; background: var(--beide); }
.ruimtes-legend i.client { background: var(--client); }
.ruimtes-legend i.werknemer { background: var(--werknemer); }
.ruimtes-legend b { width: 14px; border-top: 2px solid var(--rood); }
.ruimtes-legend b.dashed { border-top-style: dashed; }
@media (max-width: 1023px) {
  .ruimtes-map { --gx: 22px; --gy: 26px; }
  .ruimte { padding: 14px 10px; border-radius: 16px; }
  .ruimte .h4 { font-size: 13px; }
  .ruimte p { font-size: 11px; }
}
@media (max-width: 767px) {
  .ruimtes-map { display: grid; grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
  .ruimtes-map > svg, .zone, .ruimtes-legend .line { display: none; }
  .ruimtes-map > * { grid-area: auto !important; }
  .ruimte { padding: 16px 20px; }
  .ruimte .h4 { font-size: 14px; }
  .ruimte p { font-size: 13px; }
  .ruimtes-legend { order: -1; display: flex; flex-wrap: wrap; gap: 0 18px; }
  .ruimtes-legend .h4 { width: 100%; margin-bottom: 0; }
}

/* Citaat (bijv. van de opdrachtgever) */
.quote { max-width: 820px; margin: 0 auto; padding: 0 20px; text-align: center; }
.quote blockquote { margin: 0; font-size: 22px; line-height: 1.6; font-weight: 300; font-style: italic; color: var(--heading); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 64px; line-height: .8; font-style: normal; color: #ccc; }
.quote figcaption { margin-top: 22px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 767px) { .quote blockquote { font-size: 18px; } }
@media (max-width: 359px) {
  .logo img { width: 205px; }
  .logo .beeldmerk { height: 22px; }
}

/* Toegankelijkheid ---------------------------------------- */
/* submenu dat met Escape is weggeklikt blijft dicht tot de muis of focus weggaat (WCAG 1.4.13) */
.menu > li.is-dismissed > .submenu { opacity: 0 !important; visibility: hidden !important; }
/* minder beweging als de bezoeker dat heeft ingesteld (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .work:hover .photo { transform: none; }
}
/* Windows hoog-contrastmodus: knoppen en focus blijven zichtbaar */
@media (forced-colors: active) {
  .btn, .link-more span, .back-to-top { border: 1px solid ButtonText; }
  :focus-visible { outline-color: Highlight; }
}
.tekstversie { margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tekstversie summary { cursor: pointer; padding: 14px 0; font-weight: 500; min-height: 24px; }
.tekstversie > div { padding: 10px 0 30px; }
.tekstversie .bullets { list-style: disc; padding-left: 20px; }
.tekstversie .bullets li { margin-bottom: 6px; }
.footer-link { text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 2px 0; }
.text-page { max-width: 760px; }
.text-page h2 { margin-top: 45px; }
.text-page .bullets { list-style: disc; padding-left: 20px; margin-bottom: 15px; }
.text-page .bullets li { margin-bottom: 8px; }
