@charset "utf-8";
/* ==========================================================================
   SOFIAD - stylesheet
   Kleurenpalet afgeleid van het SOFIAD-logo (#001a93 diepblauw, #0065cc azuur)
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Merkkleuren uit het logo */
  --brand:        #001a93;
  --brand-dark:   #00136e;
  --brand-ink:    #0b1437;
  --brand-tint:   #e9ecf9;
  --brand-tint-2: #d7ddf3;
  --accent:       #0065cc;
  --accent-dark:  #004fa3;

  /* Neutralen (warm) */
  --page:        #fbf9f6;
  --surface:     #ffffff;
  --surface-alt: #f4f1ec;
  --text:        #23262e;
  --muted:       #585f72;
  --border:      #e2ded7;
  --border-strong: #cfc9c0;

  /* Statuskleur voor let-op-blokken */
  --notice-bg:     #fdf6e6;
  --notice-border: #c8872a;
  --notice-ink:    #6b4408;
  --error:         #a3231f;

  /* Typografie: systeemfont-stack (geen externe font-requests, cookievrij) */
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial,
          "Noto Sans", sans-serif;
  --fs-base: 1.125rem;   /* 18px */
  --lh-base: 1.7;

  /* Maatvoering */
  --wrap: 1180px;
  --measure: 68ch;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(11, 20, 55, .06), 0 2px 8px rgba(11, 20, 55, .05);
  --shadow-md: 0 4px 10px rgba(11, 20, 55, .08), 0 14px 32px rgba(11, 20, 55, .09);
  --header-h: 86px;
}

/* ---------- 2. Reset en basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5 {
  color: var(--brand-ink);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.18rem + 1.3vw, 2.05rem); }
h3 { font-size: clamp(1.22rem, 1.08rem + .6vw, 1.45rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1.05rem; }

p, ul, ol, dl, table, figure, blockquote { margin: 0 0 1.15em; }
ul, ol { padding-left: 1.35em; }
li { margin-bottom: .45em; }
li > ul, li > ol { margin-top: .45em; }

strong, b { font-weight: 700; color: var(--brand-ink); }

a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-thickness: .08em;
}
a:hover { color: var(--brand); text-decoration-thickness: .14em; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* ---------- 3. Hulpklassen ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 999;
  background: var(--brand); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none; font-weight: 600;
  transition: top .15s ease-out;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 4. Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: inherit; font-weight: 600; line-height: 1.25;
  padding: .78em 1.5em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .16s, color .16s, border-color .16s, transform .16s, box-shadow .16s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; box-shadow: var(--shadow-sm); }

.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand-tint-2); }
.btn--ghost:hover { background: var(--brand-tint); border-color: var(--brand); color: var(--brand); }

.btn--light { background: #fff; color: var(--brand); border-color: #fff; }
.btn--light:hover { background: var(--brand-tint); color: var(--brand-dark); border-color: var(--brand-tint); }

.btn--lg { font-size: 1.05rem; padding: .9em 1.9em; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(1.6) blur(8px);
  backdrop-filter: saturate(1.6) blur(8px);
  border-bottom: 1px solid var(--border);
}
/* De header mag breder zijn dan de tekstkolom, zodat het hele menu past. */
.site-header .wrap { max-width: 1400px; }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }

.logo { flex: none; display: inline-flex; align-items: center; text-decoration: none; }
.logo img { width: 170px; height: 49px; }

.header-spacer { flex: 1 1 auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .05rem; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block; padding: .5rem .55rem; border-radius: var(--radius-sm);
  color: var(--brand-ink); text-decoration: none; font-weight: 600; font-size: .92rem;
  white-space: nowrap; transition: background-color .15s, color .15s;
}
.main-nav a:hover { background: var(--brand-tint); color: var(--brand); }
.main-nav a[aria-current="page"] {
  color: var(--brand); background: var(--brand-tint);
  box-shadow: inset 0 -3px 0 var(--brand);
}

.header-phone {
  flex: none; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand); color: #fff; font-weight: 700; font-size: .98rem;
  padding: .6rem 1.05rem; border-radius: 999px; text-decoration: none; white-space: nowrap;
  transition: background-color .16s;
}
.header-phone:hover { background: var(--brand-dark); color: #fff; }
.header-phone svg { width: 1.05em; height: 1.05em; flex: none; }

.nav-toggle {
  display: none; align-items: center; gap: .55rem;
  background: var(--brand-tint); color: var(--brand-ink);
  border: 1px solid var(--brand-tint-2);
  font: inherit; font-weight: 700; font-size: .95rem;
  padding: .55rem .9rem; border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle:hover { background: var(--brand-tint-2); }
.nav-toggle svg { width: 1.15em; height: 1.15em; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Tussen 1260px en 1400px past het nummer er niet meer naast: alleen het icoon. */
@media (max-width: 1399px) {
  .header-phone span {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  .header-phone { padding: .62rem .75rem; }
}

@media (max-width: 1259px) {
  :root { --header-h: 74px; }
  .nav-toggle { display: inline-flex; }
  .header-spacer { display: none; }
  .logo { margin-right: auto; }
  .logo img { width: 142px; height: 41px; }
  .header-phone span {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  .header-phone { padding: .62rem .75rem; }

  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul {
    flex-direction: column; align-items: stretch; gap: 0;
    max-width: var(--wrap); margin-left: auto; margin-right: auto;
    padding: .6rem 20px 1.1rem;
  }
  .main-nav li + li { border-top: 1px solid var(--border); }
  .main-nav a { padding: .85rem .35rem; font-size: 1.05rem; border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--brand); padding-left: .85rem; }
}

/* Zeer smalle schermen (vanaf 320px): header compacter maken.
   Het woord "Menu" blijft beschikbaar voor schermlezers. */
@media (max-width: 400px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .header-inner { gap: .6rem; }
  .logo img { width: 118px; height: 34px; }
  .nav-toggle { padding: .55rem .7rem; }
  .nav-toggle span {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  .main-nav ul { padding-left: 16px; padding-right: 16px; }
}

/* ---------- 6. Hero / slider ---------- */
.hero { position: relative; background: var(--brand-ink); overflow: hidden; }

.hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .6s ease;
}
.hero__slide.is-active { position: relative; opacity: 1; visibility: visible; }

.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0, 14, 70, .93) 0%, rgba(0, 19, 90, .84) 42%,
              rgba(0, 25, 110, .5) 74%, rgba(0, 30, 120, .3) 100%);
}

.hero__body {
  position: relative; z-index: 1;
  padding-top: clamp(3rem, 1.4rem + 6vw, 6rem);
  padding-bottom: clamp(6rem, 3.4rem + 7vw, 8.5rem);
  max-width: 44rem;
}
.hero__title {
  color: #fff; margin: 0 0 .35em;
  font-size: clamp(1.9rem, 1.2rem + 3.1vw, 3.15rem);
  font-weight: 700; line-height: 1.18; letter-spacing: -.015em;
}
.hero__sub {
  color: #dbe2fa; font-size: clamp(1.1rem, .98rem + .6vw, 1.4rem);
  margin: 0 0 1.9em; max-width: 34rem;
}

/* De bedieningsknoppen liggen over de onderrand van de afbeelding. */
.hero__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }

.hero__controls {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: .6rem;
  padding-bottom: 1.4rem; margin-top: -.6rem;
}
.hero__btn {
  width: 2.75rem; height: 2.75rem; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .13); color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 50%;
  cursor: pointer; transition: background-color .16s, border-color .16s;
}
.hero__btn:hover { background: rgba(255, 255, 255, .28); border-color: #fff; }
.hero__btn svg { width: 1.1rem; height: 1.1rem; }
.hero__btn .icon-play { display: none; }
.hero__btn[data-paused="true"] .icon-play { display: block; }
.hero__btn[data-paused="true"] .icon-pause { display: none; }

.hero__dots { display: flex; gap: .45rem; margin-left: .4rem; }
.hero__dot {
  width: 2.4rem; height: .35rem; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .35); cursor: pointer; transition: background-color .16s;
}
.hero__dot:hover { background: rgba(255, 255, 255, .6); }
.hero__dot[aria-current="true"] { background: #fff; }

@media (max-width: 560px) {
  .hero__dot { width: 1.6rem; }
  .hero__btn { width: 2.5rem; height: 2.5rem; }
}

/* Telefoonbalk onder de hero */
.phone-bar { background: var(--brand-dark); color: #fff; }
.phone-bar .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem;
  padding-top: .85rem; padding-bottom: .85rem;
}
.phone-bar p { margin: 0; font-size: 1.02rem; }
.phone-bar strong { color: #fff; }
.phone-bar a { color: #fff; font-weight: 700; text-decoration-thickness: .09em; }
.phone-bar a:hover { color: #fff; }

/* ---------- 7. Secties ---------- */
.section { padding-top: clamp(2.75rem, 1.6rem + 4vw, 4.75rem); padding-bottom: clamp(2.75rem, 1.6rem + 4vw, 4.75rem); }
.section--alt { background: var(--surface-alt); }
.section__head { max-width: var(--measure); margin-bottom: 2.25rem; }
.section__head > :last-child { margin-bottom: 0; }

.lead { font-size: 1.2rem; color: var(--muted); }

.prose { max-width: var(--measure); }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 2.1em; }
.prose h3 { margin-top: 1.9em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li::marker { color: var(--accent); }

.intro-text { font-size: 1.2rem; line-height: 1.65; color: var(--brand-ink); font-weight: 500; }

/* ---------- 8. Kaarten ---------- */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.card:hover { border-color: var(--brand-tint-2); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card:focus-within { border-color: var(--brand); }
.card__icon {
  width: 2.9rem; height: 2.9rem; flex: none; margin-bottom: 1.05rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-tint); color: var(--brand); border-radius: var(--radius-sm);
}
.card__icon svg { width: 1.5rem; height: 1.5rem; }
.card h3 { margin-bottom: .5rem; font-size: 1.28rem; }
.card p { color: var(--muted); font-size: 1.02rem; margin-bottom: 1.25rem; }
.card__link {
  margin-top: auto; font-weight: 700; color: var(--brand); text-decoration: none;
  display: inline-flex; align-items: center; gap: .4em;
}
.card__link svg { width: .95em; height: .95em; transition: transform .16s; }
.card:hover .card__link svg { transform: translateX(3px); }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

/* ---------- 9. Nieuws ---------- */
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.news-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }

.news-item {
  position: relative; margin: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  transition: border-color .18s, box-shadow .18s;
}
.news-item:hover { border-color: var(--brand-tint-2); box-shadow: var(--shadow-sm); }
.news-item time {
  display: block; color: var(--muted); font-size: .94rem; font-weight: 600; margin-bottom: .3rem;
}
.news-item__title { font-size: 1.2rem; margin-bottom: .5rem; }
.news-item__title a { color: var(--brand-ink); text-decoration: none; }
.news-item__title a:hover { color: var(--brand); text-decoration: underline; }
.news-item__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.news-item p { color: var(--muted); font-size: 1rem; margin-bottom: 0; }

.article-meta { color: var(--muted); font-weight: 600; margin: -.4rem 0 1.8rem; }

/* ---------- 10. Subpagina-layout ---------- */
.breadcrumb { background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.breadcrumb .wrap { padding-top: .7rem; padding-bottom: .7rem; }
.breadcrumb ol {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center;
  gap: .2rem .5rem; margin: 0; padding: 0; font-size: .95rem; color: var(--muted);
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; color: var(--border-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--brand-ink); font-weight: 600; }

.page-head { padding-top: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); }
.page-head h1 { margin-bottom: 0; max-width: 24ch; }

.layout {
  display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  grid-template-columns: 16.5rem minmax(0, 1fr);
  align-items: start;
  padding-top: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  padding-bottom: clamp(3rem, 2rem + 3vw, 4.75rem);
}
.layout--full { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 900px) { .layout { grid-template-columns: minmax(0, 1fr); } }

.subnav {
  position: sticky; top: calc(var(--header-h) + 1.25rem);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.25rem;
}
@media (max-width: 900px) { .subnav { position: static; } }
.subnav h2 {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--muted); margin-bottom: .85rem;
}
.subnav ul { list-style: none; margin: 0; padding: 0; }
.subnav li { margin: 0; }
.subnav li + li { margin-top: .15rem; }
.subnav a {
  display: block; padding: .6rem .75rem; border-radius: var(--radius-sm);
  color: var(--brand-ink); text-decoration: none; font-weight: 600; font-size: 1rem;
  transition: background-color .15s, color .15s;
}
.subnav a:hover { background: var(--brand-tint); color: var(--brand); }
.subnav a[aria-current="page"] { background: var(--brand); color: #fff; }

/* ---------- 11. Notice / callout ---------- */
.notice {
  background: var(--notice-bg); border: 1px solid var(--notice-border);
  border-left-width: 5px; border-radius: var(--radius-sm);
  padding: 1.15rem 1.35rem; margin: 1.9rem 0;
}
.notice > :last-child { margin-bottom: 0; }
.notice strong { color: var(--notice-ink); }

.callout {
  background: var(--brand-tint); border: 1px solid var(--brand-tint-2);
  border-radius: var(--radius); padding: 1.5rem 1.6rem; margin: 2rem 0;
}
.callout > :last-child { margin-bottom: 0; }
.callout h2, .callout h3 { margin-top: 0; }

/* ---------- 12. Tabellen ---------- */
.table-scroll { overflow-x: auto; margin: 1.6rem 0; }
table { border-collapse: collapse; width: 100%; font-size: 1.02rem; background: var(--surface); }
caption { text-align: left; font-weight: 700; color: var(--brand-ink); padding-bottom: .7rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--brand); color: #fff; font-weight: 700; border-bottom: 0; }
tbody tr:nth-child(even) { background: #faf9f7; }
td:last-child, thead th:last-child { white-space: nowrap; }

/* ---------- 13. Downloads ---------- */
.download-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.download {
  position: relative; display: flex; align-items: center; gap: 1.15rem; margin: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.3rem 1.45rem;
  transition: border-color .18s, box-shadow .18s;
}
.download:hover { border-color: var(--brand-tint-2); box-shadow: var(--shadow-sm); }
.download__icon {
  width: 3rem; height: 3rem; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-tint); color: var(--brand); border-radius: var(--radius-sm);
}
.download__icon svg { width: 1.6rem; height: 1.6rem; }
.download__body { flex: 1 1 auto; min-width: 0; }
.download__title { font-size: 1.12rem; margin-bottom: .2rem; }
.download__title a { color: var(--brand-ink); text-decoration: none; }
.download__title a:hover { color: var(--brand); text-decoration: underline; }
.download__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.download__body p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- 14. Contact ---------- */
.contact-grid {
  display: grid; gap: clamp(2rem, 1rem + 3vw, 3.25rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1.65rem; margin-bottom: 1.25rem;
}
.contact-card h3 { margin-bottom: .75rem; }
.contact-card address { font-style: normal; line-height: 1.75; }
.contact-card .hours { color: var(--muted); font-size: .97rem; margin-top: .9rem; margin-bottom: 0; }
.contact-card > :last-child { margin-bottom: 0; }

/* ---------- 15. Formulier ---------- */
.form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
}
.field { margin-bottom: 1.4rem; }
.field > label, .fieldset-legend { display: block; font-weight: 700; color: var(--brand-ink); margin-bottom: .45rem; }
.req { color: var(--error); font-weight: 700; }
.hint { display: block; color: var(--muted); font-size: .95rem; margin-bottom: .5rem; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: .72rem .9rem;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 9rem; resize: vertical; }
select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23585f72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 1rem;
  padding-right: 2.6rem;
}
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint-2);
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
input[aria-invalid="true"]:focus, select[aria-invalid="true"]:focus, textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px #f6dddc;
}

fieldset { border: 0; margin: 0 0 1.4rem; padding: 0; }
legend { padding: 0; }
.radio-group { display: grid; gap: .55rem; margin-top: .2rem; }
.radio {
  display: flex; align-items: flex-start; gap: .7rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: .72rem .9rem; cursor: pointer; font-weight: 500;
  transition: border-color .15s, background-color .15s;
}
.radio:hover { border-color: var(--border-strong); background: #fcfbf9; }
.radio input { width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; flex: none; accent-color: var(--brand); }

.error-msg { display: block; color: var(--error); font-weight: 600; font-size: .97rem; margin-top: .4rem; }
.error-msg:empty { display: none; }

.form-status:empty { display: none; }
.form-status { margin-bottom: 1.4rem; }
.form-status p {
  background: #fdeceb; border: 1px solid #d5908d; border-left-width: 5px;
  border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin: 0;
  color: #7d1a17; font-weight: 600;
}

.form-status--info p {
  background: var(--brand-tint); border-color: var(--brand); color: var(--brand-ink);
}

/* Honeypot: verborgen voor bezoekers, zichtbaar voor spambots.
   Afgeknipt in plaats van ver naar links verplaatst, zodat de pagina
   geen horizontale schuifbalk krijgt. */
.hp-field {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- 15b. Kleine hulpklassen ---------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.stack-top { margin-top: 1.75rem; }
.measure { max-width: var(--measure); }
.contact-sub { color: var(--muted); margin-bottom: .75rem; }

/* ---------- 16. Keurmerken ---------- */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem 2.5rem; }
.logo-strip img { max-height: 62px; width: auto; }

/* ---------- 17. CTA-band ---------- */
.cta-band { background: var(--brand); color: #fff; }
.cta-band .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding-top: clamp(2rem, 1.4rem + 2vw, 3rem); padding-bottom: clamp(2rem, 1.4rem + 2vw, 3rem);
}
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { color: #ccd5f4; margin: 0; max-width: 46ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- 18. Footer ---------- */
.site-footer { background: var(--brand-ink); color: #c3cadd; padding-top: 3.25rem; }
.site-footer h2 {
  color: #fff; font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem;
}
.site-footer a { color: #c3cadd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-grid {
  display: grid; gap: 2.25rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  padding-bottom: 2.75rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .55rem; }
.footer-brand img {
  background: #fff; border-radius: var(--radius-sm); padding: .55rem .7rem;
  width: 170px; height: auto; margin-bottom: 1.1rem;
}
.footer-brand address { font-style: normal; line-height: 1.75; margin-bottom: 1rem; }
.footer-brand .kvk { font-size: .92rem; color: #99a2bb; margin: 0; }

.footer-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.footer-marks img { background: #fff; border-radius: var(--radius-sm); padding: .5rem .65rem; max-height: 58px; width: auto; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1.5rem; padding-top: 1.4rem; padding-bottom: 1.4rem;
  font-size: .94rem; color: #99a2bb;
}
.footer-bottom p { margin: 0; }

/* ---------- 19. Naar boven ---------- */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 3rem; height: 3rem; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff; border: 0; border-radius: 50%;
  box-shadow: var(--shadow-md); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(.6rem);
  transition: opacity .2s, transform .2s, visibility .2s, background-color .16s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-dark); }
.to-top svg { width: 1.25rem; height: 1.25rem; }

/* ---------- 20. Beperkte beweging ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- 21. Printen ---------- */
@media print {
  .site-header, .hero__controls, .to-top, .cta-band, .subnav, .nav-toggle, .phone-bar, .skip-link { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .site-footer { background: #fff; color: #000; }
  .site-footer a { color: #000; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; word-break: break-all; }
}
