/* =========================================================
   Desyde — huisstijl
   ========================================================= */
:root {
  --navy-900: #132647;   /* hero & footer */
  --navy-800: #1F304F;   /* formuliervelden */
  --blue:     #20416F;   /* links */
  --ink:      #2B2721;   /* tekst op crème */
  --yellow:   #E8AF30;   /* knoppen & iconen */
  --cream:    #F3EBDE;   /* crème secties */
  --bg:       #F9F7F3;   /* pagina-achtergrond */
  --white:    #FFFFFF;   /* kaarten & header */
  --line:     #E0DEDC;   /* lijnen & randen */

  --text: #4A4640;
  --on-dark: #E3E8F0;
  --on-dark-muted: #A3B0C4;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;

  --radius: 8px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
[hidden] { display: none !important; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy-900); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
strong { color: var(--ink); }
/* Focusring: navy op licht (15:1), geel alleen op donkere vlakken (WCAG 1.4.11, 2.4.7) */
:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible, .block--dark :focus-visible { outline-color: var(--yellow); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--navy-900); padding: 10px 16px; border-radius: var(--radius); font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

.eyebrow { display: block; font: 600 .78rem/1.4 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.on-dark .eyebrow { color: var(--yellow); }
.intro { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.intro p { font-size: 1.05rem; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Knoppen & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .9em 1.4em; border-radius: var(--radius); border: 0; cursor: pointer;
  background: var(--yellow); color: var(--navy-900);
  font: 600 .95rem/1 var(--font-head);
  transition: background .2s;
}
.btn:hover { background: #F0BC48; text-decoration: none; }
.btn svg { width: 1em; height: 1em; }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--outline:hover { background: var(--white); box-shadow: inset 0 0 0 1px var(--navy-900); }
.link { display: inline-flex; align-items: center; gap: .45em; font: 600 .95rem var(--font-head); color: var(--blue); }
.link svg { width: 1em; height: 1em; transition: transform .2s; }
.link:hover { text-decoration: none; }
.link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--white); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; height: 100%; gap: 24px; }
.brand img { height: 33px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav > a, .nav-drop > button {
  font: 500 .92rem/1 var(--font-head); color: var(--ink); padding: 10px 12px;
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
}
.nav > a:hover, .nav-drop > button:hover { color: var(--blue); text-decoration: none; }
.nav > a[aria-current="page"], .nav-drop.is-current > button { color: var(--blue); font-weight: 600; }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 14px; height: 14px; }
.drop-panel {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 28px -12px rgba(19,38,71,.25);
  padding: 6px; opacity: 0; visibility: hidden; transition: opacity .15s;
}
.nav-drop:hover .drop-panel, .nav-drop.is-open .drop-panel { opacity: 1; visibility: visible; }
.nav-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.drop-panel a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ink); font: 500 .92rem var(--font-head); }
.drop-panel a:hover { background: var(--bg); color: var(--blue); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.header-actions .btn { padding: .8em 1.2em; font-size: .9rem; }
.btn-portal {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: var(--radius);
  font: 500 .9rem/1 var(--font-head); color: var(--ink); border: 1px solid var(--line); background: var(--white);
}
.btn-portal svg { width: 15px; height: 15px; }
.btn-portal:hover { border-color: var(--navy-900); text-decoration: none; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); cursor: pointer; place-items: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: var(--navy-900); position: relative; transition: .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }
.mobile-menu { display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; overflow-y: auto; background: var(--white); padding: 12px var(--gutter) 40px; }
.mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 500 1.05rem var(--font-head); color: var(--navy-900); }
.mobile-menu .sub a { font-size: .95rem; padding-left: 16px; color: var(--text); }
.mobile-menu .mm-actions { display: grid; gap: 10px; margin-top: 24px; }
.mobile-menu .mm-actions a { display: flex; justify-content: center; border: 0; }
.mobile-menu .mm-actions .btn--outline { box-shadow: inset 0 0 0 1px var(--line); }
.menu-open { overflow: hidden; }
@media (max-width: 1080px) {
  .menu-toggle { display: grid; }
  .nav, .header-actions { display: none; }
  .menu-open .mobile-menu { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-900); color: var(--on-dark); overflow: hidden; }
.hero-inner { position: relative; z-index: 2; padding: clamp(64px, 9vw, 120px) 0 clamp(110px, 12vw, 160px); }
.hero-text { max-width: 560px; }
.hero h1 { color: var(--white); }
.hero p { color: var(--on-dark); font-size: 1.08rem; }
.hero .btn { margin-top: 1rem; }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: 58%; z-index: 1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo picture { display: contents; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(19,38,71,.75) 30%, rgba(19,38,71,.15) 70%, rgba(19,38,71,0) 100%); }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; width: 100%; height: clamp(40px, 6vw, 80px); color: var(--bg); }
.hero--sub .hero-inner { padding: clamp(48px, 7vw, 88px) 0 clamp(96px, 10vw, 130px); }
.hero--sub h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.crumbs { font-size: .85rem; color: var(--on-dark-muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--on-dark-muted); }
.crumbs a:hover { color: var(--white); }
.crumbs span { margin: 0 6px; }

/* ---------- Tekst + beeld ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--rev > :first-child { order: 2; }
.shot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 16px 40px -24px rgba(19,38,71,.35); }
.shot img { width: 100%; }
.photo { border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.list { padding-left: 1.2em; margin: 0 0 1.4em; }
.list li { margin-bottom: .4em; }
.list li::marker { color: var(--yellow); }

/* ---------- Pijlers ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 8px clamp(20px, 3vw, 44px); text-align: center; }
.pillar + .pillar { border-left: 1px solid rgba(43,39,33,.12); }
.pillars--4 { grid-template-columns: repeat(4, 1fr); }
.pillars--4 .pillar svg { margin-top: 0; }
.shot--phone { max-width: 260px; margin-inline: auto; border-radius: 24px; }
.pillar h3 { font-size: 1.3rem; max-width: 14ch; margin-inline: auto; }
.pillar p { font-size: .95rem; max-width: 34ch; margin-inline: auto; }
.pillar svg { width: 40px; height: 40px; margin: 16px auto 18px; color: var(--yellow); stroke-width: 1.5; }

/* ---------- Genummerd raster ---------- */
.grid-num { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.grid-num > * { grid-column: span 2; padding: clamp(20px, 2.4vw, 28px); border-right: 1px solid var(--line); border-top: 1px solid var(--line); color: var(--text); }
.grid-num > :nth-child(1), .grid-num > :nth-child(2) { grid-column: span 3; border-top: 0; }
.grid-num > :nth-child(2), .grid-num > :nth-child(5) { border-right: 0; }
.grid-num.cols-3 > * { grid-column: span 2 !important; border-top: 0; border-right: 1px solid var(--line); }
.grid-num.cols-3 > :nth-child(3) { border-right: 0; }
.grid-num.cols-2 > * { grid-column: span 3 !important; }
.grid-num.cols-2 > :nth-child(odd) { border-right: 1px solid var(--line); }
.grid-num.cols-2 > :nth-child(even) { border-right: 0; }
.grid-num.cols-2 > :nth-child(-n+2) { border-top: 0; }
.grid-num.cols-2 > :nth-child(n+3) { border-top: 1px solid var(--line); }
.grid-num > a:hover { background: var(--bg); text-decoration: none; }
.grid-num .n { font: 500 .78rem var(--font-head); letter-spacing: .2em; color: var(--text); opacity: .7; }
.grid-num h3 { margin: .5rem 0 .3rem; font-size: 1.08rem; }
.grid-num p { font-size: .94rem; margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stats--4 { grid-template-columns: repeat(4, 1fr); }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat b { display: block; font: 500 clamp(1.7rem, 2.6vw, 2.2rem)/1.1 var(--font-head); color: var(--blue); }
.stat span { display: block; margin-top: 6px; font-size: .9rem; }

/* ---------- Blokken ---------- */
.blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 28px); color: var(--text); display: flex; flex-direction: column; }
.block svg.i { width: 30px; height: 30px; color: var(--yellow); stroke-width: 1.6; margin-bottom: 14px; }
.block p { font-size: .95rem; }
.block .link { margin-top: auto; }
a.block:hover { border-color: var(--navy-900); text-decoration: none; }

/* ---------- Tabs ---------- */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.tabs-nav button { border: 0; background: none; cursor: pointer; padding: 14px 18px; font: 500 .98rem var(--font-head); color: var(--text); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs-nav button:hover { color: var(--navy-900); }
.tabs-nav button[aria-selected="true"] { color: var(--navy-900); border-bottom-color: var(--yellow); }
.tab-panel .shot--phone { max-width: 260px; margin-inline: auto; border-radius: 24px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; background: var(--cream); }
.person h3 { margin-bottom: 0; font-size: 1.05rem; }
.person .role { font-size: .9rem; margin-bottom: 6px; }
.person a { font-size: .9rem; font-weight: 700; word-break: break-all; }

/* ---------- Prose ---------- */
.prose { max-width: 680px; margin-inline: auto; }

/* ---------- Contact ---------- */
.contact { background: var(--navy-900); color: var(--on-dark); }
.contact h2 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list .ci { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--yellow); flex: none; }
.contact-list .ci svg { width: 17px; height: 17px; }
.contact-list a { color: var(--white); }
.form-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.field { margin-bottom: 16px; }
.field label { display: block; font: 500 .88rem var(--font-head); color: var(--white); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,.1);
  background: var(--navy-800); color: var(--white); font: inherit; font-size: .97rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7F8DA6; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 2px; border-color: var(--blue); }
.on-dark .field input:focus-visible, .on-dark .field textarea:focus-visible { outline-color: var(--yellow); border-color: var(--yellow); }
.field .err { display: none; color: #FFB4A6; font-size: .82rem; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #FF8A75; }
.field.invalid .err { display: block; }
.form-card .btn { width: 100%; justify-content: center; }
.form-note { font-size: .875rem; line-height: 1.55; color: var(--on-dark-muted); margin: 14px 0 0; }
.form-note + .form-note { margin-top: 6px; }
.form-note a { color: var(--on-dark); text-decoration: underline; }
.portal-card .form-note { color: var(--sub); }
.portal-card .form-note a { color: inherit; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); padding: clamp(48px, 6vw, 72px) 0 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer img { height: 33px; width: auto; margin-bottom: 16px; }
.site-footer .footer-h { font: 600 .95rem var(--font-head); color: var(--white); margin: 0 0 14px; }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--yellow); flex: none; margin-top: 5px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 20px; }

/* ---------- Portaal ---------- */
.portal-wrap { display: grid; grid-template-columns: 1fr 420px; gap: clamp(32px, 6vw, 80px); align-items: center; }
.portal-card { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); color: var(--text); }
.portal-card h2 { font-size: 1.5rem; }
.portal-card .field label { color: var(--navy-900); }
.portal-card .field input { background: var(--bg); color: var(--ink); border-color: var(--line); }
.portal-card .field input::placeholder { color: #9A948B; }
.portal-card .row { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; margin: -4px 0 18px; }
.portal-card .row label { display: inline-flex; gap: 8px; align-items: center; }
.portal-card .btn { width: 100%; justify-content: center; }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 6px; background: var(--cream); color: var(--ink); font-size: .9rem; margin-top: 16px; }
.notice svg { width: 18px; height: 18px; flex: none; color: var(--yellow); margin-top: 3px; }

/* ---------- CTA-regel ---------- */
.cta-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(28px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.cta-line h2 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

/* ---------- Rustige fade-in ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
/* Zonder JavaScript geen formulier: anders gaan naam, e-mail en bericht via de URL naar de serverlogs */
.no-js form[data-validate] { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .split, .split--even, .contact-grid, .portal-wrap { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .hero-photo { position: relative; width: 100%; height: 260px; }
  .hero-photo::after { background: linear-gradient(0deg, var(--navy-900) 0%, rgba(19,38,71,0) 60%); }
  .hero-inner { padding-top: 40px; }
  .hero:not(.hero--sub) { display: flex; flex-direction: column-reverse; }
  .hero--sub .hero-photo { display: none; }
  .hero:not(.hero--sub) .hero-inner { padding-bottom: 32px; }
  .hero-photo::after { background: linear-gradient(180deg, var(--navy-900) 0%, rgba(19,38,71,0) 35%); }
  .pillars--4 { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .pillars--4 .pillar + .pillar { border-top: 0; padding-top: 8px; }
  .pillars { grid-template-columns: 1fr; gap: 32px; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid rgba(43,39,33,.12); padding-top: 32px; }
  .stats--4 { grid-template-columns: 1fr 1fr; }
  .grid-num, .grid-num.cols-3 { grid-template-columns: 1fr; }
  .grid-num > *, .grid-num > :nth-child(1), .grid-num > :nth-child(2), .grid-num.cols-3 > *, .grid-num.cols-2 > * { grid-column: auto !important; border-right: 0 !important; border-top: 1px solid var(--line) !important; }
  .grid-num > :first-child { border-top: 0 !important; }
  .grid-num.cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { height: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .team { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stats--4 { grid-template-columns: 1fr 1fr; }
  .hero .btn { width: 100%; justify-content: center; }
}

/* Eén kolom genummerd */
.grid-num.cols-1 { grid-template-columns: 1fr; }
.grid-num.cols-1 > * { grid-column: 1 / -1 !important; border-right: 0 !important; border-top: 1px solid var(--line); }
.grid-num.cols-1 > :first-child { border-top: 0; }

/* ---------- Veelgestelde vragen ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font: 600 1.02rem/1.45 var(--font-head); color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 1.5rem/1 var(--font-head); color: var(--yellow); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq details p { margin: -4px 0 18px; padding-right: 36px; }

/* ---------- Subpagina's: compacte blauwe paginakop ---------- */
.hero--sub .hero-inner { padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 7vw, 96px); }
.hero--sub h1 { max-width: 22ch; }
.hero--sub .hero-wave { height: clamp(28px, 3.5vw, 48px); }
.hero--sub:not(:has(.hero-photo))::before {
  content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; right: 0; width: min(46%, 620px);
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20600%20320%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M60%20360C190%20270%20520%20255%20430%20165S170%2085%20300%2025%20540-25%20660-15%22%20stroke%3D%22%2320416F%22%20stroke-width%3D%2264%22%20stroke-linecap%3D%22round%22%20opacity%3D%22.55%22%2F%3E%3Cpath%20d%3D%22M60%20360C190%20270%20520%20255%20430%20165S170%2085%20300%2025%20540-25%20660-15%22%20stroke%3D%22%23E8AF30%22%20stroke-width%3D%223%22%20stroke-dasharray%3D%2214%2016%22%20stroke-linecap%3D%22round%22%20opacity%3D%22.55%22%2F%3E%3C%2Fsvg%3E") right center / auto 115% no-repeat;
  pointer-events: none;
}
.hero--sub .hero-photo { width: 46%; }
.portal-card { border: 1px solid var(--line); }
@media (max-width: 900px) {
  .hero--sub::before { opacity: .35; width: 70%; }
}

/* ---------- Klantportaal ---------- */
.portal-login { margin-bottom: 32px; }
.portal-login p { font-size: .95rem; }
.soon { font: 600 .85rem var(--font-head); color: var(--text); background: var(--cream); padding: 9px 14px; border-radius: var(--radius); }
.search { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px; }
.search svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.search input { border: 0; outline: 0; width: 100%; font: inherit; font-size: .97rem; background: transparent; color: var(--ink); }
.search:focus-within { border-color: var(--blue); outline: 3px solid var(--navy-900); outline-offset: 2px; }
.manuals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.manual h3 { display: flex; align-items: center; gap: 10px; }
.manual h3 svg { width: 20px; height: 20px; color: var(--yellow); }
.manual .list { margin: 0; font-size: .95rem; }
.manual-empty { margin-top: 16px; }
.portal-card .field select { width: 100%; padding: 12px 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: .97rem; }
.portal-card .field textarea { background: var(--bg); color: var(--ink); border-color: var(--line); }
.portal-card .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.portal-card .btn { width: auto; }
.block--dark { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark); }
.block--dark > svg { width: 30px; height: 30px; color: var(--yellow); margin-bottom: 14px; }
.block--dark h2 { color: var(--white); font-size: 1.5rem; }
.block--dark .contact-list { margin-top: 1rem; }
@media (max-width: 600px) {
  .manuals, .portal-card .field-row { grid-template-columns: 1fr; gap: 0 14px; }
  .manuals { gap: 16px; }
}

/* ---------- Subpagina's: lage paginakop ---------- */
.hero--sub .hero-inner { padding: clamp(22px, 2.6vw, 34px) 0 clamp(40px, 4vw, 52px); }
.hero--sub .crumbs { margin-bottom: .5rem; font-size: .8rem; }
.hero--sub .eyebrow { margin-bottom: .45rem; }
.hero--sub h1 { font-size: clamp(1.55rem, 2.5vw, 2.05rem); max-width: 28ch; margin-bottom: .35em; }
.hero--sub p { font-size: 1rem; margin-bottom: 0; max-width: 62ch; }
.hero--sub .hero-text .btn { margin-top: .9rem; padding: .7em 1.15em; font-size: .9rem; }
.hero--sub .hero-text { max-width: 680px; }
.hero--sub .hero-wave { height: clamp(18px, 2.2vw, 30px); }
.hero--sub .hero-photo { inset: 0 0 0 auto; width: 40%; }
.hero--sub:not(:has(.hero-photo))::before { background-size: auto 140%; }

/* ---------- Duidelijke overgangen tussen secties (ook op een beamer) ---------- */
:root {
  --page: #FFFFFF;      /* standaard sectie */
  --mist: #EDF2F7;      /* lichtblauwgrijs, afgeleid van het navy */
  --line-strong: #D6DDE5;
}
body { background: var(--page); }
.hero-wave { color: var(--page); }
.section--white { background: var(--mist); border-block: 1px solid var(--line-strong); }
.section--cream { background: var(--cream); border-block: 1px solid #E6DAC6; }

/* Twee secties met dezelfde achtergrond achter elkaar: fijne scheidingslijn */
.section:not(.section--cream):not(.section--white) + .section:not(.section--cream):not(.section--white):not([style*="padding-top:0"]),
.section--white + .section--white,
.section--cream + .section--cream { border-top: 1px solid var(--line-strong); }

/* Header altijd met een lijn, zodat hij loskomt van witte inhoud */
.site-header { border-bottom-color: var(--line); }

/* Kaarten iets meer los van de achtergrond */
.stat, .block, .grid-num, .shot, .cta-line, .person img, .faq details { box-shadow: 0 1px 2px rgba(19,38,71,.05), 0 4px 14px -8px rgba(19,38,71,.12); }
.faq details { box-shadow: none; }
.stat, .block, .grid-num, .cta-line { border-color: var(--line-strong); }
.grid-num > * { border-color: var(--line-strong) !important; }
.section--white .search, .section--white .faq { background: transparent; }

/* ---------- Teamfoto's in de paginakop ---------- */
/* Home: foto naar rechts, sterke overloop in het blauw (persoon links valt deels weg) */
.hero-photo--team img { object-position: 92% 35%; }
.hero-photo--groep img { object-position: 50% 58%; }
@media (max-width: 900px) {
  .hero-photo--team { height: 300px; }
  .hero-photo--team::after { background: linear-gradient(180deg, var(--navy-900) 0%, rgba(19,38,71,0) 30%); }
}

/* ---------- Groepsfoto over de volle breedte ---------- */
.team-photo { margin: clamp(28px, 4vw, 44px) 0 0; }
.team-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 62%; border-radius: var(--radius); box-shadow: 0 16px 40px -24px rgba(19,38,71,.35); }
.team-photo figcaption { margin-top: 10px; font-size: .88rem; color: var(--text); opacity: .85; }
@media (max-width: 600px) { .team-photo img { aspect-ratio: 4 / 3; } }

/* =========================================================
   Versie 3: onderdelen uit de Hallmark-versie
   ========================================================= */
/* Blokjes zonder nummer- of woordlabel */
.grid-num h3 { margin-top: 0; }

/* Cijfers bij PermitSuite, gescheiden door dunne lijnen */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(40px, 5vw, 64px) 0 0; padding-top: clamp(28px, 3.5vw, 40px); border-top: 1px solid var(--line-strong); }
.figures > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding-inline: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line-strong); }
.figures > div:first-child { padding-left: 0; border-left: 0; }
.figures dd { margin: 0; font: 600 clamp(1.9rem, 3.4vw, 2.75rem)/1.05 var(--font-head); color: var(--navy-900); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.figures dt { font-size: .92rem; }

/* Opsomming: kop links, feiten onder elkaar rechts */
.rows-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.rows-split h2 { margin: 0; }
.rows { margin: 0; border-top: 1px solid var(--line-strong); }
.rows > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--line-strong); }
.rows dt { font: 600 1rem/1.5 var(--font-head); color: var(--navy-900); }
.rows dd { margin: 0; }

/* Stappen als balken onder elkaar */
.bars { list-style: none; counter-reset: stap; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.bars > li { counter-increment: stap; display: grid; grid-template-columns: auto minmax(0, 14rem) minmax(0, 1fr); align-items: center; gap: 8px 24px; padding: 20px 24px; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(19,38,71,.05), 0 4px 14px -8px rgba(19,38,71,.12); }
.bars > li::before { content: counter(stap); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--navy-900); font: 600 1.1rem/1 var(--font-head); font-variant-numeric: tabular-nums; }
.bars h3 { margin: 0; font-size: 1.1rem; }
.bars p { margin: 0; }

@media (max-width: 900px) {
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .figures > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .rows-split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .bars > li { grid-template-columns: auto minmax(0, 1fr); }
  .bars p { grid-column: 2; }
}
@media (max-width: 600px) {
  .rows > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .bars > li { padding: 16px 18px; gap: 6px 16px; }
  .bars > li::before { width: 38px; height: 38px; }
}

/* =========================================================
   Versie 3: responsive afwerking
   ========================================================= */
/* Stappen-balken passen zich aan de ruimte van hun eigen kolom aan, niet alleen aan het scherm */
.bars { container-type: inline-size; }
@container (max-width: 720px) {
  .bars > li { grid-template-columns: auto minmax(0, 1fr); }
  .bars p { grid-column: 2; }
}
@container (max-width: 380px) {
  .bars > li { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; }
  .bars p { grid-column: 1 / -1; }
}
/* Cijferblokken schuiven nooit buiten beeld */
.stats, .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 901px) { .stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat b, .figures dd { overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .stat { padding: 16px; }
  .stat b { font-size: 1.5rem; }
  .figures > div { padding-inline: 12px; }
  .figures dd { font-size: 1.6rem; }
}
/* Grotere aanraakvlakken voor losse links op telefoon */
@media (max-width: 600px) {
  .site-footer a, .crumbs a, a.link { display: inline-block; padding-block: 10px; }
}
