/* Als een Rode Lap — rustige huisstijl (2026)
 * Licht, veel witruimte, rood alleen als accent. Illustraties bewegen
 * kalm en staan stil bij prefers-reduced-motion. */

/* ============ TOKENS ============ */
:root {
  --ink: #1b1b1b;
  --ink-2: #3d3d3d;
  --muted: #4f4f4f;
  --muted-2: #616161;
  --soft-text: #555555;
  --bg: #ffffff;
  --bg-soft: #f6f5f3;
  --bg-soft-2: #edebe7;
  --line: #e6e3de;
  --line-2: #d9d5cf;
  --line-3: #cfcbc5;
  --line-strong: #8f8b85;
  --accent: #c8221a;
  --accent-dark: #a81c15;
  --ok: #2f8f5b;
  --dark: #1b1b1b;
  --dark-text: #bdbab4;
  --dark-link: #e4e1dc;
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 104px);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Aliassen voor bestaande illustraties (split-illustrations.mjs). */
  --red: var(--accent);
  --gray-600: var(--line-strong);
  --gray-700: var(--line-3);
  --gray-800: var(--line-2);
  --gray-900: var(--bg-soft-2);
}

/* ============ BASIS ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
/* Het hidden-attribuut wint altijd, ook van display-regels hieronder. */
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ============ KNOPPEN ============ */
.btn, .form-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 10px;
  border: 1px solid transparent; font-size: 16px; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg, .form-submit svg { width: 18px; height: 18px; flex: none; }
.btn--primary, .form-submit { background: var(--accent); color: #fff; }
.btn--primary:hover, .form-submit:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: #c9c5bf; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-soft-2); color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: #5a5a5a; }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--sm { min-height: 44px; padding: 0 20px; border-radius: 8px; font-size: 15px; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--accent); font-weight: 600; text-decoration: none;
}
.text-link svg { width: 16px; height: 16px; transition: transform .15s; }
.text-link:hover { color: var(--accent-dark); }
.text-link:hover svg { transform: translateX(3px); }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent); }

/* ============ HEADER & NAVIGATIE ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #e8e5e0;
}
nav.top {
  max-width: var(--container); margin: 0 auto; padding: 12px var(--gutter);
  display: flex; align-items: center; gap: 8px 32px;
}
nav.top .logo {
  display: flex; align-items: center; gap: 12px; min-height: 44px;
  color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
  margin-right: auto;
}
nav.top .logo img { width: 40px; height: 40px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a, .nav-sub-trigger {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px;
  color: var(--ink); font-size: 15.5px; font-weight: 500; text-decoration: none;
}
.nav-links > li > a:hover, .nav-sub-trigger:hover { color: var(--accent-dark); }
.nav-links a[aria-current] {
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 8px;
}
.nav-caret { width: 12px; height: 12px; transition: transform .15s; }
.has-sub { position: relative; }
.submenu {
  position: absolute; left: -12px; top: 100%; padding-top: 8px;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .nav-caret, .has-sub:focus-within .nav-caret { transform: rotate(180deg); }
.has-sub.is-dismissed .submenu { opacity: 0; visibility: hidden; transform: translateY(4px); }
.has-sub.is-dismissed .nav-caret { transform: none; }

/* Mega-menu: een paneel over de breedte van de kop (de sticky .site-header is het referentiekader). */
.has-mega { position: static; }
.mega { left: 0; right: 0; padding: 0 var(--gutter); }
.mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 18px; } /* brug tussen menu-item en paneel */
.mega__in {
  max-width: calc(var(--container) - 2 * var(--gutter)); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px;
  box-shadow: 0 32px 64px rgba(27, 27, 27, .14);
}
.mega__main { padding: 26px 24px 18px; }
.mega__kop, .mob-mega__kop { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--muted-2); }
.mega__main .mega__kop { padding-left: 12px; }
.mega__grid, .mob-mega { display: grid; gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega__item { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.mega__item:hover, .mega__item:focus-visible { background: var(--bg-soft); color: var(--ink); }
.mega__icon {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px;
  border-radius: 12px; background: #fbeeed; color: var(--accent); transition: background-color .15s, color .15s;
}
.mega__icon svg { width: 22px; height: 22px; }
.mega__item:hover .mega__icon { background: var(--accent); color: #fff; }
.mega__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 1px; }
.mega__name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.mega__desc { font-size: 14px; line-height: 1.4; color: var(--muted-2); }
.mega__all, .mobile-menu .mob-mega__all {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--accent-dark); font-size: 15px; font-weight: 600; text-decoration: none;
}
.mega__all { margin: 8px 0 0 12px; }
.mega__all:hover, .mobile-menu .mob-mega__all:hover { text-decoration: underline; }
.mega__all svg, .mob-mega__all svg { width: 16px; height: 16px; }
.mega__side { display: flex; flex-direction: column; padding: 26px 24px 24px; background: var(--bg-soft); }
.mega__links { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.mega__links a { display: flex; align-items: center; min-height: 40px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.mega__links a:hover { color: var(--accent-dark); text-decoration: underline; }
.mega__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: auto; padding-top: 20px; }
.mega__cta p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.nav-cta { flex: none; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 10px;
  background: #fff; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 69px 0 0; z-index: 49; overflow-y: auto;
  padding: 16px var(--gutter) 40px; background: #fff;
}
.menu-open .mobile-menu { display: block; }
.menu-open { overflow: hidden; }
.mobile-menu > ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > ul > li { border-bottom: 1px solid var(--line); }
.mobile-menu a, .mob-sub-trigger {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 56px; padding: 0; border: 0; background: none;
  color: var(--ink); font-size: 20px; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer;
}
.mob-chevron { width: 22px; height: 22px; transition: transform .2s; }
.mob-has-sub.is-open .mob-chevron { transform: rotate(180deg); }
.mob-sub { display: none; padding: 0 0 20px; }
.mob-has-sub.is-open .mob-sub { display: block; }
/* Diensten in het mobiele menu: dezelfde onderdelen als het mega-menu, onder elkaar. */
.mobile-menu .mega__item {
  justify-content: flex-start; min-height: 0; padding: 10px 0;
  font-size: 16px; font-weight: 400;
}
.mobile-menu .mega__icon { width: 40px; height: 40px; }
.mob-mega__kop { margin-top: 16px; }
.mob-mega__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mobile-menu .mob-mega__links a {
  width: auto; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 15px; font-weight: 500;
}
.mobile-menu .mob-mega__all { justify-content: flex-start; width: auto; margin-top: 10px; font-size: 16px; }
.mobile-menu .mob-cta {
  justify-content: center; margin-top: 24px; min-height: 52px; border-radius: 10px;
  background: var(--accent); color: #fff; font-size: 16px;
}
.mob-meta { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; font-size: 15px; color: var(--muted-2); }

@media (max-width: 960px) {
  .nav-links, nav.top .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ============ BROODKRUIMELPAD ============ */
.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--muted-2);
}
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted-2); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink); }

/* ============ PAGINA-HERO (subpagina's) ============ */
.page-hero { padding: 24px 0 clamp(48px, 6vw, 80px); }
.page-hero__grid {
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px;
  padding-top: clamp(32px, 5vw, 56px);
}
.page-hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.page-hero__title { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.025em; max-width: 18em; }
.page-hero__lead { max-width: 36em; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); }
.page-hero__lead a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.page-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 15px; color: var(--muted-2); }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.page-hero__visual { flex: 1 1 420px; min-width: 0; }
.page-hero--narrow .page-hero__text { flex-basis: 100%; max-width: 820px; }
.cat-chip {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink); font-weight: 600; text-decoration: none;
}

/* ============ INHOUD ============ */
.page-content { padding: 0 0 var(--section); }
.page-content > .container { display: flex; flex-direction: column; gap: 32px; }
.page-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 72px; }
.page-layout > .prose { flex: 999 1 560px; min-width: 0; }
.page-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.aside-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--bg-soft); border-radius: 16px; }
.aside-card h2 { font-size: 18px; letter-spacing: -0.01em; }
.aside-card p { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.aside-card a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; }
.aside-card svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

.prose { max-width: 720px; font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 44px; font-size: clamp(24px, 2.4vw, 28px); line-height: 1.25; color: var(--ink); }
.prose h3 { margin-top: 32px; font-size: 21px; line-height: 1.3; color: var(--ink); }
.prose h2 + p, .prose h3 + p { margin-top: 12px; }
.prose a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-dark); }
.prose .btn { text-decoration: none; }
.prose .btn--primary, .prose .btn--primary:hover { color: #fff; }
.prose .btn--ghost, .prose .btn--ghost:hover { color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--line-2); color: var(--ink); }
.prose img { border-radius: 12px; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--bg-soft); font-size: .9em; }
.prose--intro > p:first-child { font-size: 21px; line-height: 1.6; color: var(--ink); }
.prose-center { margin-inline: auto; }

.page-content h2.section-heading,
.page-content > .container > h2 {
  margin-top: 40px; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.02em;
}
.page-content > .container > h3 { margin-top: 12px; font-size: 22px; }
.heading--extra-space { margin-top: 64px !important; }
.h2-kicker { display: none; }
.section-subtitle { color: var(--muted); max-width: 40em; }
.page-section { padding: var(--section) 0; }
.page-section--alt { background: var(--bg-soft); }
.page-section .container { display: flex; flex-direction: column; gap: 32px; }

/* Klantcitaat in cases */
.case-quote {
  max-width: 880px; margin: 16px auto 0; display: flex; flex-direction: column; gap: 22px;
  padding: clamp(28px, 4vw, 48px); background: var(--bg-soft); border-radius: var(--radius-lg);
}
.case-quote svg { width: 36px; height: 36px; color: var(--accent); }
.case-quote blockquote { margin: 0; font-size: clamp(19px, 1.9vw, 23px); line-height: 1.55; color: var(--ink); }
.case-quote figcaption { font-size: 16px; font-weight: 600; }
.case-disclaimer { max-width: 720px; font-size: 14.5px; line-height: 1.6; color: var(--muted-2); }

/* ============ DIENSTPAGINA'S: VLAKKEN ============ */
.page-content--sections { padding-top: 0; }
.page-content--sections > .container:last-child { padding-top: 8px; }
.page-content--sections > .container:last-child:not(:has(*)) { display: none; }
.block-section { padding: clamp(48px, 6vw, 88px) 0; }
.block-section:first-child { padding-top: 8px; }
.block-section--soft { background: var(--bg-soft); }
.block-section > .container { display: flex; flex-direction: column; gap: 28px; }
.block-section > .container > h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -0.02em; max-width: 22em; }
.block-section > .container > h2 + .prose { margin-top: -8px; }
.block-section--soft .stat-row__item,
.block-section--soft .highlight-box,
.block-section--soft .split-block__visual,
.block-section--soft .faq { background: #fff; }
.block-section--soft .feature-card, .block-section--soft .service-card, .block-section--soft .pricing-card { border-color: transparent; }
.block-section--soft .icon-row { border-color: var(--line-2); }
.block-section .heading--extra-space { margin-top: 0 !important; }
.prose--lead { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.6; color: var(--ink); }
.page-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.page-toc__label { font-size: 14px; font-weight: 600; color: var(--muted-2); }
.page-toc .filter-chip { min-height: 40px; font-size: 14.5px; }
.page-content--sections + * { margin-top: 0; }
.page-content--sections .page-cta { margin-top: clamp(48px, 6vw, 80px); }

/* ============ CALL TO ACTION ============ */
.page-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  margin-top: 32px; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg);
  background: var(--dark); color: #fff;
}
.page-cta__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.page-cta h2 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.2; color: #fff; }
.page-cta p { font-size: 17px; line-height: 1.6; color: #d6d3ce; }
.page-cta p a { color: #fff; }
.page-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-cta .btn--primary { background: #fff; color: var(--ink); }
.page-cta .btn--primary:hover { background: var(--bg-soft-2); color: var(--ink); }

/* ============ FAQ ============ */
.faq { margin-top: 24px; padding: clamp(40px, 5vw, 64px) clamp(20px, 4vw, 56px); background: var(--bg-soft); border-radius: var(--radius-lg); }
.faq > h2 { margin-bottom: 24px; font-size: clamp(26px, 3vw, 36px); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item:first-of-type { border-top: 1px solid var(--line-2); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 64px; padding: 12px 0; list-style: none; cursor: pointer;
  font-size: 18px; font-weight: 600; line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ''; flex: none; width: 20px; height: 20px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 2px 16px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 16px 2px no-repeat;
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { max-width: 44em; padding-bottom: 24px; font-size: 17px; line-height: 1.65; color: var(--muted); }
.faq__answer a { color: var(--ink); text-decoration-color: var(--accent); }

/* ============ BLOKKEN ============ */
.icon-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px 32px;
  padding: 20px 0; border-top: 1px solid #e8e5e0; border-bottom: 1px solid #e8e5e0;
}
.icon-row__item { display: flex; align-items: center; gap: 12px; }
.icon-row__icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; background: var(--bg-soft); color: var(--accent);
}
.icon-row__icon svg { width: 20px; height: 20px; }
.icon-row__label { font-size: 16px; font-weight: 600; }

.feature-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.feature-card {
  display: flex; flex-direction: column; gap: 12px; padding: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
}
a.feature-card:hover { border-color: var(--line-strong); color: var(--ink); }
.feature-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; background: var(--bg-soft); color: var(--accent);
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 20px; letter-spacing: -0.01em; }
.feature-card p { font-size: 15.5px; line-height: 1.6; color: var(--soft-text); }
.feature-card p a { color: var(--ink); }
.page-section--alt .feature-card { border-color: transparent; }

.highlight-box {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  max-width: 820px; padding: 28px 32px; background: var(--bg-soft); border-radius: var(--radius);
}
.highlight-box strong { font-size: 19px; font-weight: 600; }
.highlight-box p { color: var(--muted); }
.highlight-box .btn { margin-top: 4px; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.pricing-card {
  display: flex; flex-direction: column; gap: 14px; padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.pricing-card--featured { border: 2px solid var(--ink); }
.pricing-card__header { display: flex; flex-direction: column; gap: 4px; }
.pricing-card h3 { font-size: 20px; }
.pricing-card__price { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.pricing-card__period { font-size: 14px; color: var(--muted-2); }
.pricing-card p { font-size: 15.5px; color: var(--soft-text); }
.pricing-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; }
.pricing-card li { display: flex; gap: 10px; }
.pricing-card li::before {
  content: ''; flex: none; width: 16px; height: 16px; margin-top: 4px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8221a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.pricing-card .btn { margin-top: auto; align-self: flex-start; }

.split-block { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; padding: 16px 0; }
.split-block--reverse { flex-direction: row-reverse; }
.split-block__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.split-block__text h2 { font-size: clamp(24px, 2.6vw, 30px); }
.split-block__text p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.split-block__visual { flex: 1 1 360px; min-width: 0; padding: 24px; background: var(--bg-soft); border-radius: var(--radius-lg); }
.split-illu { margin: 0; }
.split-illu svg { display: block; width: 100%; height: auto; }
.split-illu__el { opacity: 1; animation: ar-in .7s ease-out both; }
.split-illu__el--2 { animation-delay: .25s; }
.split-illu__el--3 { animation-delay: .5s; }
.split-illu__el--4 { animation-delay: .75s; }

.step-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 32px 24px; }
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line-3); }
.step__number { font-size: 15px; font-weight: 600; color: var(--accent); }
.step__number::before { content: 'Stap '; }
.step__content { display: flex; flex-direction: column; gap: 8px; }
.step__content h3 { font-size: 19px; letter-spacing: -0.01em; }
.step__content p { font-size: 15.5px; line-height: 1.6; color: var(--soft-text); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted);
}

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 16px; }
.stat-row__item { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; background: var(--bg-soft); border-radius: var(--radius); }
.stat-row__number { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.stat-row__label { font-size: 14.5px; color: var(--muted-2); }

/* ============ KAARTEN: PORTFOLIO, BLOG, MEDIA ============ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 40px 24px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 40px 24px; }
.portfolio-grid__card, .work-card {
  display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none;
}
.portfolio-grid__thumb img, .work-card img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.portfolio-grid__body, .work-card__body { display: flex; flex-direction: column; gap: 4px; }
.portfolio-grid__body h3, .work-card__title { font-size: 19px; letter-spacing: -0.01em; }
.portfolio-grid__body p { font-size: 15px; line-height: 1.55; color: var(--soft-text); }
.work-card__meta { font-size: 14px; font-weight: 500; color: var(--muted-2); }
.portfolio-grid__card:hover h3, .work-card:hover .work-card__title { color: var(--accent-dark); }

.post-card { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; }
.post-card[hidden] { display: none; }
.post-card__meta { font-size: 14px; font-weight: 500; color: var(--muted-2); }
.post-card__title { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.post-card__excerpt { font-size: 15.5px; line-height: 1.6; color: var(--soft-text); }
.post-card:hover .post-card__title { color: var(--accent-dark); }
.post-card--featured { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.post-card--featured .blog-cover { flex: 1.4 1 520px; min-width: 0; border-radius: 16px; }
.post-card--featured .post-card__body { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.post-card--featured .post-card__title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.02em; }
.post-card--featured .post-card__excerpt { font-size: 17px; color: var(--muted); }
.blog-cover { display: block; border-radius: 12px; overflow: hidden; }
.blog-cover svg { display: block; width: 100%; height: auto; }
.blog-hero-cover { border-radius: var(--radius-lg); overflow: hidden; }
.blog-hero-cover svg { display: block; width: 100%; height: auto; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center;
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip[aria-pressed="true"], .filter-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }

.browser-frame { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.browser-frame__bar {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.browser-frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.browser-frame img { width: 100%; max-height: 640px; object-fit: cover; object-position: top; }
.portfolio-case-hero { margin: 0; }

.media-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.media-tile { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.media-tile__frame { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--bg-soft-2); cursor: pointer; }
.media-tile__frame img, .media-tile__frame video { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.media-tile--video .media-tile__frame img, .media-tile--video .media-tile__frame video { aspect-ratio: 16 / 9; }
.media-tile__title { font-size: 17px; font-weight: 600; }
.media-tile__cap { font-size: 14.5px; line-height: 1.55; color: var(--muted-2); }
.media-tile__play {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink);
}

.media-tile__zoom, .media-tile__link { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.media-tile__link { cursor: pointer; }
.media-tile__frame video { display: block; background: #111; }

.related { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; padding-top: 40px; border-top: 1px solid #e8e5e0; }
.related h2 { font-size: clamp(24px, 2.6vw, 30px); }
.section__head--compact { margin-bottom: 0; align-items: center; }
.section__head--compact h2 { flex: 1 1 auto; }
.blog-cover .anim { animation: none; }
.blog-empty { color: var(--muted-2); }
.browser-frame a { display: block; }
.case-disclaimer { margin-inline: auto; }
.page-content--wide > .container > .prose { max-width: 760px; }

.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 16px; background: #111; color: #fff; }
.lightbox::backdrop { background: rgba(17, 17, 17, .85); }
.lightbox img, .lightbox video { display: block; width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink);
  font-size: 22px; cursor: pointer;
}
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ============ CONTACT ============ */
.contact-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 64px; }
.contact-left { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-left h2, .contact-left h1 { font-size: clamp(30px, 3.6vw, 44px); }
.contact-left .lead { font-size: 18px; line-height: 1.6; color: var(--muted); }
.contact-channels { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-channel { display: flex; align-items: center; gap: 16px; min-height: 44px; color: var(--ink); text-decoration: none; }
.contact-channel__icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--accent);
}
.contact-channel__icon svg { width: 22px; height: 22px; }
.contact-channel__k { display: block; font-size: 14px; color: var(--muted-2); }
.contact-channel__v { display: block; font-size: 17px; font-weight: 600; }
a.contact-channel:hover .contact-channel__v { color: var(--accent-dark); }
.contact-form {
  flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px;
  padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 16px;
}
.contact-form h2, .contact-form h3 { font-size: 22px; letter-spacing: -0.01em; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row > label, .form-row > .form-label { font-size: 15px; font-weight: 600; }
.form-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea,
.webmail-box input[type="text"] {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
.contact-form textarea { min-height: 140px; line-height: 1.5; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #6e6b66; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 15px; cursor: pointer;
}
.chip::before {
  content: ''; width: 16px; height: 16px; border: 1.5px solid var(--line-strong); border-radius: 4px; background: #fff;
}
.chip.active { border-color: var(--ink); }
.chip.active::before {
  border-color: var(--accent);
  background: var(--accent) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.form-submit { align-self: flex-start; border: 0; }
.form-submit:disabled { opacity: .6; cursor: progress; }
.form-feedback { font-size: 15px; }
.form-feedback:empty { display: none; }
.form-feedback.is-ok { color: var(--ok); font-weight: 600; }
.form-feedback.is-error, .form-feedback--error { color: var(--accent-dark); font-weight: 600; }
.recaptcha-note { font-size: 13px; color: var(--muted-2); }
/* Toastmelding (site.js, showToast): onderin het midden, boven de toegankelijkheidsknop op een telefoon. */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 70; width: max-content; max-width: min(520px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px;
  background: var(--ink); color: #fff; border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden; transform: translate(-50%, 16px);
  transition: opacity .2s, transform .2s, visibility 0s linear .2s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .2s, visibility 0s; }
.toast__icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ok); color: #fff; }
.toast__icon svg { width: 16px; height: 16px; }
.toast__text { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.45; }
.toast__close {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer;
}
.toast__close:hover { background: rgba(255, 255, 255, .12); }
.toast__close:focus-visible { outline-color: #fff; }
.toast__close svg { width: 18px; height: 18px; }
@media (max-width: 600px) { .toast { bottom: 84px; } }
@media (prefers-reduced-motion: reduce) { .toast, .toast.is-visible { transition: none; } }
.recaptcha-note a { color: inherit; text-decoration: underline; }
/* Badge verborgen; de verplichte vermelding staat onder het formulier (.recaptcha-note). */
.grecaptcha-badge { visibility: hidden; }

.service-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.service-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 88px; padding: 0 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none;
}
.service-link strong { display: block; font-size: 18px; font-weight: 600; }
.service-link span { display: block; font-size: 15px; color: var(--muted-2); }
.service-link svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.service-link:hover { border-color: var(--line-strong); color: var(--ink); }

/* Webmail-hulp en bedankpagina */
.webmail-box { max-width: 620px; padding: 28px; background: var(--bg-soft); border-radius: 16px; }
.webmail-box__fields { display: flex; flex-direction: column; gap: 12px; }
.webmail-box label { font-weight: 600; }
.webmail-box .btn { align-self: flex-start; }
.webmail-result { display: flex; flex-direction: column; gap: 10px; }
.webmail-result__label { font-size: 14px; color: var(--muted-2); }
.webmail-result__url { font-size: 18px; font-weight: 600; word-break: break-all; }
.thank-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 720px; padding: 32px; background: var(--bg-soft); border-radius: 16px; }
.thank-panel__icon { color: var(--ok); }
.thank-panel__icon svg { display: block; width: 44px; height: 44px; }
.section-label { font-size: 15px; font-weight: 600; color: var(--accent); }

/* ============ SECTIES (homepage + dienstpagina's) ============ */
.section { padding: var(--section) 0; }
.section--soft { background: var(--bg-soft); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 64px; margin-bottom: 48px; }
.section__head > div { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.section__head > p { flex: 1 1 340px; min-width: 0; max-width: 30em; font-size: 17px; line-height: 1.6; color: var(--muted); }
.section__title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -0.02em; }

.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 104px); }
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.hero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__title { font-size: clamp(36px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.025em; }
.hero__lead { max-width: 34em; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero__visual { flex: 1 1 460px; min-width: 0; }
.check-list { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 0; padding: 12px 0 0; font-size: 15px; color: var(--muted); }
.check-list li { display: flex; align-items: center; gap: 8px; }
.check-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

.service-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.service-card {
  display: flex; flex-direction: column; gap: 14px; padding: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none;
}
.service-card:hover { border-color: var(--line-strong); color: var(--ink); }
.service-card__art { display: block; margin-bottom: 6px; border-radius: 10px; background: var(--bg-soft); overflow: hidden; }
.service-card__art svg { display: block; width: 100%; height: auto; }
.service-card__title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.service-card__text { font-size: 15.5px; line-height: 1.6; color: var(--soft-text); }
.service-card .text-link { margin-top: auto; padding-top: 6px; min-height: 0; }

.about { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.about__visual { flex: 1 1 440px; min-width: 0; }
.about__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about__text > p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.pillars { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px 32px; list-style: none; margin: 8px 0 0; padding: 0; }
.pillars li { display: flex; gap: 12px; }
.pillars svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.pillars strong { display: block; font-size: 16px; font-weight: 600; }
.pillars span { display: block; font-size: 15px; line-height: 1.5; color: var(--soft-text); }

.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.quote-card { margin: 0; display: flex; flex-direction: column; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.quote-card > svg { width: 24px; height: 24px; color: var(--accent); }
.quote-card blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.quote-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote-card__avatar {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); font-size: 14px; font-weight: 600;
}
.quote-card__name { display: block; font-size: 15px; font-weight: 600; }
.quote-card__role { display: block; font-size: 14px; color: var(--muted-2); }

/* ============ FOOTER ============ */
.site-footer { background: var(--dark); color: var(--dark-text); }
.site-footer a { color: var(--dark-link); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-inner { display: flex; flex-direction: column; gap: 48px; padding-top: 64px; padding-bottom: 32px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand__name { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; color: #fff; }
.footer-brand__name img { width: 44px; height: 44px; }
.footer-brand p { font-size: 15px; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-title { font-size: 15px; font-weight: 600; letter-spacing: 0; color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.foot-seo { padding-top: 24px; border-top: 1px solid #343434; }
.foot-seo ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.site-footer .foot-seo a { color: #a9a6a0; }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-top: 24px; border-top: 1px solid #343434; font-size: 14px; color: #a9a6a0;
}
.foot-bottom__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-link-ico { width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; }
/* Link midden in een zin: onderstreept, niet alleen een andere kleur. */
.foot-bottom > span:first-child a { text-decoration: underline; text-underline-offset: 3px; }
/* Focusrand op donkere vlakken: wit in plaats van zwart. */
.site-footer :focus-visible, .page-cta :focus-visible { outline-color: #fff; }

/* ============ ILLUSTRATIES ============ */
.art { display: block; width: 100%; height: auto; }
.art-panel { border-radius: var(--radius-lg); overflow: hidden; }
.a-text { font-family: var(--font); }
.anim { animation-duration: var(--t, 9s); animation-delay: var(--d, 0s); animation-iteration-count: infinite; animation-fill-mode: both; }
.box { transform-box: fill-box; transform-origin: center; }
.box-left { transform-box: fill-box; transform-origin: left center; }
.a-bouw { animation-name: ar-bouw; animation-timing-function: ease-out; }
.a-zweef { animation-name: ar-zweef; animation-timing-function: ease-in-out; }
.a-cursor { animation-name: ar-cursor; animation-timing-function: ease-in-out; }
.a-klik { animation-name: ar-klik; animation-timing-function: ease-in-out; }
.a-rimpel { opacity: 0; animation-name: ar-rimpel; animation-timing-function: ease-out; }
.a-melding { animation-name: ar-melding; animation-timing-function: ease-out; }
.a-knipper { animation-name: ar-knipper; animation-timing-function: ease-in-out; }
.a-stroom { animation-name: ar-stroom; animation-timing-function: linear; }
.a-beurt { animation-name: ar-beurt; animation-timing-function: ease-in-out; }
.a-beurt-hide { opacity: 0; }
.a-focus { animation-name: ar-focus; animation-timing-function: ease-out; }
.a-flits { opacity: 0; animation-name: ar-flits; animation-timing-function: ease-out; }
.a-speelkop { animation-name: ar-speelkop; animation-timing-function: linear; }
.a-teken { animation-name: ar-teken; animation-timing-function: ease-in-out; }
.a-verschijn { animation-name: ar-verschijn; animation-timing-function: ease-in-out; }
.a-vink { animation-name: ar-vink; animation-timing-function: ease-out; }
.a-draai { animation-name: ar-draai; animation-timing-function: linear; }
.a-puls { opacity: 0; animation-name: ar-puls; animation-timing-function: ease-out; }
.a-reis { stroke-dashoffset: .08; animation-name: ar-reis; animation-timing-function: ease-in-out; animation-fill-mode: none; }
.a-pijl { animation-name: ar-pijl; animation-timing-function: ease-in; }
.a-raak { opacity: 0; animation-name: ar-raak; animation-timing-function: ease-out; }
.a-vul { animation-name: ar-vul; animation-timing-function: ease-in-out; }
.a-bericht { animation-name: ar-bericht; animation-timing-function: ease-out; }
.a-typen { animation-name: ar-typen; animation-timing-function: ease-in-out; }
.a-antwoord { animation-name: ar-antwoord; animation-timing-function: ease-out; }
.a-klim { animation-name: ar-klim; animation-timing-function: ease-in-out; }
@keyframes ar-klim { 0% { opacity: 0; transform: translateY(var(--from, 0)); } 6%, 20% { opacity: 1; transform: translateY(var(--from, 0)); } 50%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }

@keyframes ar-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ar-bouw { 0% { opacity: 0; transform: translateY(8px); } 8% { opacity: 1; transform: translateY(0); } 86% { opacity: 1; transform: translateY(0); } 94%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes ar-zweef { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ar-cursor { 0%, 30% { opacity: 0; transform: translate(150px, 80px); } 36% { opacity: 1; transform: translate(150px, 80px); } 56% { opacity: 1; transform: translate(0, 0); } 86% { opacity: 1; transform: translate(0, 0); } 94%, 100% { opacity: 0; transform: translate(0, 0); } }
@keyframes ar-klik { 0%, 57% { transform: scale(1); } 60% { transform: scale(.94); } 64%, 100% { transform: scale(1); } }
@keyframes ar-rimpel { 0%, 58% { opacity: 0; transform: scale(.6); } 60% { opacity: .5; transform: scale(1); } 78%, 100% { opacity: 0; transform: scale(2.2); } }
@keyframes ar-melding { 0%, 62% { opacity: 0; transform: translateY(-8px); } 68% { opacity: 1; transform: translateY(0); } 86% { opacity: 1; transform: translateY(0); } 94%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes ar-knipper { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes ar-stroom { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -20; } }
@keyframes ar-beurt { 0% { opacity: 0; } 5%, 30% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes ar-focus { 0%, 20% { opacity: 0; transform: scale(1.4); } 30% { opacity: 1; transform: scale(1.4); } 48%, 100% { opacity: 1; transform: scale(1); } }
@keyframes ar-flits { 0%, 58% { opacity: 0; } 61% { opacity: .85; } 72%, 100% { opacity: 0; } }
@keyframes ar-speelkop { from { transform: translateX(0); } to { transform: translateX(220px); } }
@keyframes ar-teken { 0% { stroke-dashoffset: 1; opacity: 1; } 40% { stroke-dashoffset: 0; opacity: 1; } 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ar-verschijn { 0%, 45% { opacity: 0; } 55%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ar-vink { 0%, 12% { stroke-dashoffset: 1; } 26%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes ar-draai { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ar-puls { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes ar-reis { 0% { stroke-dashoffset: .08; } 40%, 100% { stroke-dashoffset: -1; } }
@keyframes ar-pijl { 0% { opacity: 0; transform: translate(-60px, -34px); } 10% { opacity: 1; } 35% { opacity: 1; transform: translate(0, 0); } 88% { opacity: 1; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(0, 0); } }
@keyframes ar-raak { 0%, 34% { opacity: 0; transform: scale(1); } 36% { opacity: .6; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(3.5); } }
@keyframes ar-vul { 0% { opacity: 1; transform: scaleX(0); } 45%, 88% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes ar-bericht { 0%, 8% { opacity: 0; transform: translateY(10px); } 16%, 88% { opacity: 1; transform: translateY(0); } 96%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes ar-typen { 0%, 22% { opacity: 0; } 28%, 50% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes ar-antwoord { 0%, 52% { opacity: 0; transform: translateY(10px); } 60%, 88% { opacity: 1; transform: translateY(0); } 96%, 100% { opacity: 0; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Bestaande .reveal-klassen hebben geen effect meer: inhoud staat direct in beeld. */
.reveal { opacity: 1; transform: none; }

@media print {
  .site-header, .site-footer, .page-cta, .mobile-menu { display: none !important; }
  body { font-size: 12pt; }
}

/* Tekstrijen op dienstpagina's: kop links, tekst rechts. */
.text-rows { display: flex; flex-direction: column; }
.text-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 64px; padding: 40px 0; border-top: 1px solid var(--line-2); }
.text-row:first-child { padding-top: 0; border-top: 0; }
.text-row:last-child { padding-bottom: 0; }
.text-row > h2 { flex: 1 1 280px; max-width: 400px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; }
.text-row__body { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.block-section--soft .text-row { border-color: var(--line-2); }
.service-card__tags { font-size: 13.5px; font-weight: 500; color: var(--muted-2); }
.hero__lead strong, .about__text strong, .contact-left .lead strong { font-weight: 600; color: var(--ink); }
.blog-hero-cover--inline { max-width: 820px; margin: 0 auto; }

/* ============ INTRO (eerste bezoek per dag; gedrag in site.js) ============
   Licht en rustig, in de huisstijl: logo, woordmerk, slogan en een dun balkje. */
.loader {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  padding: 24px; background: var(--bg); transition: opacity .5s ease, visibility .5s ease;
}
.loader.done, html.loader-seen-today .loader { opacity: 0; visibility: hidden; pointer-events: none; }
html.loader-seen-today .loader__fill { animation: none; transform: none; }
.loader__logo { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.loader__mark { width: 72px; height: 72px; animation: loaderIn .6s cubic-bezier(.16, 1, .3, 1) both; }
.loader__logo-line, .loader__tagline { margin: 0; }
.loader__logo-line {
  font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink);
  animation: loaderIn .6s cubic-bezier(.16, 1, .3, 1) .12s both;
}
.loader__accent { color: var(--accent); }
.loader__tagline { max-width: 26rem; font-size: 16px; line-height: 1.5; color: var(--muted-2); animation: loaderIn .6s cubic-bezier(.16, 1, .3, 1) .24s both; }
.loader__bar { width: 160px; height: 3px; overflow: hidden; border-radius: 3px; background: var(--bg-soft-2); }
.loader__fill { width: 100%; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; animation: loaderFill 1.4s cubic-bezier(.16, 1, .3, 1) .2s forwards; }
@keyframes loaderFill { to { transform: scaleX(1); } }
@keyframes loaderIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.loader__skip {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff;
  color: var(--muted); font: 500 14px/1 var(--font); cursor: pointer; transition: border-color .15s, color .15s;
}
.loader__skip:hover { border-color: var(--ink); color: var(--ink); }
.loader__skip:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.loader.done .loader__skip { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .loader__fill { transform: none !important; } }
/* Lokveld voor robots: buiten beeld en buiten de tabvolgorde. */
.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ============ BEWEGING STOPPEN (WCAG 2.2.2) ============
   Knop op elke geanimeerde illustratie en in de footer; de keuze geldt voor de hele site. */
.anim-host { position: relative; }
.anim-toggle {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer;
}
.anim-toggle:hover { border-color: var(--ink); }
.anim-toggle svg { width: 16px; height: 16px; }
.anim-toggle .icon-play, html.anim-stopped .anim-toggle .icon-pause { display: none; }
html.anim-stopped .anim-toggle .icon-play { display: block; }
html.anim-stopped .anim, html.anim-stopped .split-illu__el { animation: none !important; }
.foot-anim-toggle {
  padding: 0; border: 0; background: none; color: var(--dark-link); font: inherit; font-size: 14px;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.foot-anim-toggle:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .anim-toggle, .foot-anim-toggle { display: none; } }
.contact-form [aria-invalid="true"] { border-color: var(--accent-dark); box-shadow: 0 0 0 1px var(--accent-dark); }
.feature-card h2 { font-size: 20px; letter-spacing: -0.01em; }

/* ============ PORTFOLIO-CASE (opmaak in scripts/lib/portfolio-cases.mjs) ============
   Kop op een zachte band: titel en inleiding links, het beeld rechts (schermafbeelding in een
   browserkader, foto, of een logo op een wit vlak). Op een smal scherm staat het beeld direct
   onder de titel, zodat het altijd boven de vouw valt. Daaronder een rij projectgegevens. */
.case-hero { padding: 24px 0 clamp(40px, 5vw, 64px); background: var(--bg-soft); }
.case-hero__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas: "kop beeld" "tekst beeld";
  gap: 20px clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(24px, 4vw, 48px);
}
.case-hero__kop { grid-area: kop; align-self: end; display: flex; flex-direction: column; gap: 14px; }
.case-hero__tekst { grid-area: tekst; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.case-hero .page-hero__title { font-size: clamp(34px, 4.4vw, 56px); }
.case-hero .page-hero__lead { max-width: 34em; }
.case-hero__site svg { width: 16px; height: 16px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }

.case-visual { grid-area: beeld; margin: 0; }
.case-visual--scherm { border-radius: 14px; box-shadow: 0 24px 60px rgba(27, 27, 27, .12); }
.case-visual--scherm .browser-frame__bar { position: relative; height: 36px; background: #fff; }
.case-visual__url {
  position: absolute; left: 50%; transform: translateX(-50%); max-width: calc(100% - 120px);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 2px 14px; border-radius: 999px; background: var(--bg-soft); font-size: 12px; color: var(--muted-2);
}
.case-visual--scherm img { height: auto; max-height: none; aspect-ratio: 16 / 10; }
.case-visual--foto { text-align: center; }
.case-visual--foto img {
  display: inline-block; width: auto; max-width: 100%; height: auto; max-height: min(480px, 60vh);
  border-radius: 14px; box-shadow: 0 24px 60px rgba(27, 27, 27, .12);
}
.case-visual--logo {
  display: grid; place-items: center; aspect-ratio: 16 / 10; box-sizing: border-box;
  padding: clamp(24px, 4vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: 16px;
}
.case-visual--logo img { width: auto; height: auto; max-width: min(360px, 80%); max-height: 100%; object-fit: contain; }
@media (max-width: 900px) {
  .case-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kop" "beeld" "tekst"; row-gap: 24px; }
  .case-visual--foto img { max-height: 420px; }
}

.case-facts { border-bottom: 1px solid var(--line); }
.case-facts__list {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px clamp(24px, 4vw, 56px); margin: 0; padding: 28px 0;
}
.case-facts__list > div { min-width: 0; }
.case-facts dt { margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--muted-2); }
.case-facts dd { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.45; }
.case-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.case-chip {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 500; text-decoration: none;
}
.case-chip:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 700px) {
  .case-facts__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .case-facts__services { grid-column: 1 / -1; grid-row: 2; }
}

.case-body { padding-top: clamp(56px, 7vw, 96px); }
.case-body > .container { gap: clamp(48px, 6vw, 72px); }
.case-about { width: 100%; max-width: 680px; margin-inline: auto; display: flex; flex-direction: column; gap: 22px; }
.case-about h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; letter-spacing: -0.02em; }
.case-about .case-disclaimer { margin: 4px 0 0; max-width: none; }
.case-body .case-quote { margin-top: 0; }
.case-body .related { margin-top: 0; }
.case-body .page-cta { margin-top: 0; }
.case-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 40px 24px; }
.case-card { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; }
.case-card__media {
  display: block; aspect-ratio: 4 / 3; margin-bottom: 8px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.case-card__media img { width: 100%; height: 100%; object-fit: cover; }
.case-card__media--logo { display: grid; place-items: center; padding: 14%; box-sizing: border-box; }
.case-card__media--logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.case-card__meta { font-size: 14px; font-weight: 500; color: var(--muted-2); }
.case-card__title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.case-card:hover .case-card__title { color: var(--accent-dark); }
.case-card:hover .case-card__media { border-color: var(--line-3); }

/* ============ TOEGANKELIJKHEID (knop rechtsonder; gedrag in site.js) ============
   De keuzes staan als data-a11y-* op <html>. Blauw is hier bewust: het herkenbare
   toegankelijkheidsknopje, los van het rode accent van de huisstijl. */
:root { --a11y: #0a4a80; --a11y-dark: #073660; --a11y-tint: #e8f0f8; }
.a11y-open {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: grid; place-items: center; width: 56px; height: 56px; padding: 0;
  border: 3px solid #fff; border-radius: 50%; background: var(--a11y); color: #fff;
  box-shadow: 0 8px 24px rgba(7, 30, 60, .28); cursor: pointer; transition: background .15s, transform .15s;
}
.a11y-open:hover { background: var(--a11y-dark); transform: scale(1.06); }
.a11y-open:focus-visible { outline: 3px solid var(--a11y); outline-offset: 3px; border-radius: 50%; }
.a11y-open[aria-expanded="true"] { background: var(--a11y-dark); }
.a11y-open svg { width: 32px; height: 32px; }
.a11y-panel {
  position: fixed; right: 20px; bottom: 88px; z-index: 60;
  width: min(400px, calc(100vw - 32px)); max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px);
  overflow-y: auto; overscroll-behavior: contain; padding: 18px 18px 20px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .18); font-size: 15px; line-height: 1.4; letter-spacing: 0;
}
.a11y-panel__head { display: flex; align-items: center; gap: 6px; }
.a11y-panel__title { margin-right: auto; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.a11y-panel__title:focus { outline: none; }
.a11y-panel__title:focus-visible { outline: 2px solid var(--ink); }
.a11y-panel__reset {
  padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: var(--a11y);
  font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.a11y-panel__reset:hover { color: var(--a11y-dark); background: var(--a11y-tint); }
.a11y-panel__close {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 50%; background: #fff; cursor: pointer;
}
.a11y-panel__close:hover { border-color: var(--ink); }
.a11y-panel__close svg { width: 18px; height: 18px; }
.a11y-panel__label { margin: 18px 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.a11y-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.a11y-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 78px; padding: 10px 6px; border: 2px solid transparent; border-radius: 12px;
  background: var(--bg-soft); font-size: 13px; font-weight: 500; line-height: 1.25; text-align: center; cursor: pointer;
}
.a11y-tile svg { width: 22px; height: 22px; flex: none; }
.a11y-tile:hover { border-color: var(--line-3); }
.a11y-tile[aria-pressed="true"] { border-color: var(--a11y); background: var(--a11y-tint); color: var(--a11y-dark); font-weight: 600; }
.a11y-steps { display: flex; flex-direction: column; }
.a11y-step {
  display: grid; grid-template-columns: minmax(0, 1fr) 40px 96px 40px; align-items: center; gap: 6px;
  padding: 6px 0; border-top: 1px solid var(--line);
}
.a11y-step:first-child { border-top: 0; }
.a11y-step__label { font-weight: 500; }
.a11y-step__btn {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer;
}
.a11y-step__btn:hover { border-color: var(--a11y); color: var(--a11y); }
.a11y-step__btn[aria-disabled="true"] { opacity: .4; cursor: default; border-color: var(--line-2); color: inherit; }
.a11y-step__btn svg { width: 18px; height: 18px; }
.a11y-step__value { text-align: center; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.a11y-reading { outline: 3px solid var(--a11y) !important; outline-offset: 3px; }
@media (max-width: 600px) {
  .a11y-open { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .a11y-panel { left: 16px; right: 16px; bottom: 80px; width: auto; max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); }
}
@media (prefers-reduced-motion: reduce) { .a11y-tile--anim { display: none; } }
body.menu-open .a11y { display: none; }
@media print { .a11y { display: none !important; } }

/* Kleur en contrast (één tegelijk). Een filter op <html> laat vaste elementen op hun plek. */
html[data-a11y-kleur="omkeren"] { filter: invert(1) hue-rotate(180deg); }
html[data-a11y-kleur="omkeren"] :is(img, video, iframe) { filter: invert(1) hue-rotate(180deg); }
html[data-a11y-kleur="grijs"] { filter: grayscale(1); }
html[data-a11y-kleur="minder-kleur"] { filter: saturate(.4); }
html[data-a11y-kleur="meer-kleur"] { filter: saturate(1.8); }
html[data-a11y-kleur="donker"] body,
html[data-a11y-kleur="donker"] body *:not(svg *) {
  background-color: #000 !important; color: #fff !important; border-color: #fff !important;
  box-shadow: none !important; text-shadow: none !important;
}
html[data-a11y-kleur="donker"] a:not(.btn, .nav-cta),
html[data-a11y-kleur="donker"] a:not(.btn, .nav-cta) * { color: #ffe14d !important; }
html[data-a11y-kleur="licht"] body,
html[data-a11y-kleur="licht"] body *:not(svg *) {
  background-color: #fff !important; color: #000 !important; border-color: #000 !important;
  box-shadow: none !important; text-shadow: none !important;
}
html[data-a11y-kleur="licht"] a:not(.btn, .nav-cta),
html[data-a11y-kleur="licht"] a:not(.btn, .nav-cta) * { color: #0033a0 !important; }
html:is([data-a11y-kleur="donker"], [data-a11y-kleur="licht"]) :is(a, .btn, button, input, textarea, select) { border-width: 2px; border-style: solid; }
html:is([data-a11y-kleur="donker"], [data-a11y-kleur="licht"]) a { text-decoration: underline !important; }
html[data-a11y-kleur="donker"] ::placeholder { color: #c8c8c8 !important; }
/* Lichte illustraties zouden in de donkere stand verblinden: die worden omgekeerd. */
html[data-a11y-kleur="donker"] :is(.art-panel, .split-block__visual, .blog-hero-cover, .blog-cover) svg { filter: invert(1) hue-rotate(180deg); }
html[data-a11y-kleur="licht"] ::placeholder { color: #444 !important; }

/* Links en titels markeren. */
html[data-a11y-links] a:not(.a11y *) {
  outline: 2px solid currentColor; outline-offset: 2px;
  text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px;
  background-color: #fff3a3 !important; color: #000 !important;
}
html[data-a11y-titels] :is(h1, h2, h3, h4, h5, h6):not(.a11y *) {
  outline: 2px dashed var(--a11y); outline-offset: 4px; background-color: var(--a11y-tint) !important; color: #000 !important;
}

/* Leesmodus (site.js, bindA11yPanel): de pagina maakt plaats voor .lees, alleen de leestekst.
   Tot het script de leestekst heeft gebouwd blijft de pagina onzichtbaar; lukt dat niet,
   dan verschijnt ze na 2,5 seconden alsnog. */
html[data-a11y-lees]:not(.lees-klaar) body > :not(.a11y) { visibility: hidden; animation: lees-vangnet 0s 2.5s forwards; }
@keyframes lees-vangnet { to { visibility: visible; } }
html.lees-klaar body > :not(.lees, .a11y) { display: none !important; }
.lees {
  --lees-bg: #ffffff; --lees-fg: #1b1b1b; --lees-muted: #595959; --lees-line: #e3e0da; --lees-link: #0a4a80; --lees-knop: #f2f0ec;
  min-height: 100vh; background: var(--lees-bg); color: var(--lees-fg);
}
.lees[data-thema="sepia"] { --lees-bg: #f6eedc; --lees-fg: #33291c; --lees-muted: #5f4f39; --lees-line: #e0d3b6; --lees-link: #7a3a00; --lees-knop: #ede2c8; }
.lees[data-thema="donker"] { --lees-bg: #141414; --lees-fg: #e9e7e3; --lees-muted: #b3afa8; --lees-line: #343434; --lees-link: #a8cfff; --lees-knop: #262626; }
.lees__bar { position: sticky; top: 0; z-index: 5; background: var(--lees-bg); border-bottom: 1px solid var(--lees-line); }
.lees__bar-in {
  max-width: 1100px; margin: 0 auto; padding: 10px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
}
.lees__label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.lees__label svg { width: 20px; height: 20px; }
.lees__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.lees__group { display: flex; gap: 4px; }
.lees__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 1px solid transparent; border-radius: 10px; background: var(--lees-knop); color: var(--lees-fg);
  font-size: 15px; font-weight: 500; cursor: pointer;
}
.lees__btn:hover { border-color: var(--lees-muted); }
.lees__btn[aria-pressed="true"] { border-color: var(--lees-fg); font-weight: 700; }
.lees__btn[aria-disabled="true"] { opacity: .45; cursor: default; border-color: transparent; }
.lees__btn--groot { font-size: 19px; }
.lees__btn--schreef { font-family: Georgia, 'Times New Roman', serif; }
.lees__btn svg { width: 16px; height: 16px; }
.lees :focus-visible { outline: 2px solid var(--lees-fg); outline-offset: 3px; }
.lees__main { max-width: 68ch; margin: 0 auto; padding: clamp(28px, 6vw, 64px) 20px 96px; font-size: 20px; line-height: 1.7; }
.lees__main:focus { outline: none; }
.lees[data-letter="schreef"] .lees__main { font-family: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif; }
.lees__crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 28px; padding: 0; list-style: none; font-size: 15px; color: var(--lees-muted); }
.lees__crumbs li + li::before { content: "/"; margin: 0 8px; }
.lees__crumbs a { color: var(--lees-link); }
.lees__tekst > * { margin: 0 0 1em; }
.lees__tekst h1 { margin-bottom: .35em; font-size: 2em; line-height: 1.15; letter-spacing: -0.02em; }
.lees__tekst h2 { margin: 1.7em 0 .5em; font-size: 1.4em; line-height: 1.25; }
.lees__tekst h3, .lees__tekst h4 { margin: 1.4em 0 .4em; font-size: 1.12em; line-height: 1.3; }
.lees__tekst h1 + .lees__meta { margin-bottom: 1.6em; }
.lees__meta { font-size: .78em; color: var(--lees-muted); }
.lees__tekst a { color: var(--lees-link); text-decoration: underline; text-underline-offset: .15em; }
.lees__tekst ul, .lees__tekst ol { padding-left: 1.3em; }
.lees__tekst li + li { margin-top: .35em; }
.lees__tekst img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.lees__tekst figure { margin: 1.6em 0; }
.lees__tekst figcaption { margin-top: .5em; font-size: .8em; color: var(--lees-muted); }
.lees__tekst blockquote { margin: 1.6em 0 .6em; padding-left: 1em; border-left: 3px solid var(--lees-line); font-style: italic; }
.lees__tekst figure > blockquote { margin: 0; }
.lees__tekst dl { display: grid; grid-template-columns: max-content 1fr; gap: .3em 1.2em; }
.lees__tekst dt { font-weight: 600; }
.lees__tekst dd { margin: 0; }
.lees__tekst dd ul { display: inline; padding: 0; list-style: none; }
.lees__tekst dd li { display: inline; }
.lees__tekst dd li + li::before { content: ", "; }
.lees__tekst table { width: 100%; border-collapse: collapse; font-size: .85em; }
.lees__tekst th, .lees__tekst td { padding: .45em .6em; border-bottom: 1px solid var(--lees-line); text-align: left; vertical-align: top; }
.lees__tekst hr { border: 0; border-top: 1px solid var(--lees-line); margin: 2em 0; }
.lees__einde { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 3em; padding-top: 1.2em; border-top: 1px solid var(--lees-line); font-size: .8em; }
.lees__einde a { color: var(--lees-link); }
@media (max-width: 600px) {
  /* Op een telefoon twee compacte rijen die meescrollen, zodat de tekst de ruimte krijgt. */
  .lees__bar { position: static; }
  .lees__bar-in { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "label letter sluit" "tekst thema thema"; gap: 8px; }
  .lees__tools { display: contents; }
  .lees__label { grid-area: label; }
  .lees__btn--schreef { grid-area: letter; }
  .lees__btn--sluit { grid-area: sluit; }
  .lees__group:first-child { grid-area: tekst; }
  .lees__group + .lees__group { grid-area: thema; justify-self: end; }
  .lees__btn { min-width: 40px; padding: 0 10px; }
  .lees__main { font-size: 18px; }
  .lees__tekst dl { grid-template-columns: 1fr; }
}
@media print { .lees__bar, .lees__einde { display: none; } }

/* Zoom (inhoud en footer) en tekstgrootte (alleen de tekst daarin). Het menu doet niet mee:
   CSS-zoom laat de breekpunten van het menu ongemoeid, dus een vergroot menu zou niet passen. */
html[data-a11y-zoom="1"] :is(main, .site-footer) { zoom: 1.1; }
html[data-a11y-zoom="2"] :is(main, .site-footer) { zoom: 1.25; }
html[data-a11y-zoom="3"] :is(main, .site-footer) { zoom: 1.5; }
html[data-a11y-zoom="4"] :is(main, .site-footer) { zoom: 1.75; }
html[data-a11y-tekst="1"] { --a11y-tekst: 1.15; }
html[data-a11y-tekst="2"] { --a11y-tekst: 1.3; }
html[data-a11y-tekst="3"] { --a11y-tekst: 1.5; }
html[data-a11y-tekst="4"] { --a11y-tekst: 1.75; }
html[data-a11y-tekst] :is(main, .site-footer) :is(h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figcaption, label, td, th, summary, input, textarea, select, .btn, .chip, .eyebrow, .breadcrumb, .post-card__body, .work-card__body):not(:is(h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figcaption, label, td, th, summary, .btn, .chip, .breadcrumb, .post-card__body, .work-card__body) *) {
  zoom: var(--a11y-tekst);
}

/* Regelhoogte en letterafstand (WCAG 1.4.12). */
html[data-a11y-regel="1"] :is(p, li, dt, dd, blockquote, figcaption, td, th, label) { line-height: 1.6 !important; }
html[data-a11y-regel="2"] :is(p, li, dt, dd, blockquote, figcaption, td, th, label) { line-height: 1.9 !important; }
html[data-a11y-regel="3"] :is(p, li, dt, dd, blockquote, figcaption, td, th, label) { line-height: 2.2 !important; }
html[data-a11y-letter="1"] body *:not(.site-header *) { letter-spacing: .04em !important; word-spacing: .08em !important; }
html[data-a11y-letter="2"] body *:not(.site-header *) { letter-spacing: .12em !important; word-spacing: .16em !important; }
html[data-a11y-letter="3"] body *:not(.site-header *) { letter-spacing: .2em !important; word-spacing: .3em !important; }
