/* =====================================================================
   Kenn-IT Consultancy — design system
   Apple-geïnspireerd: systeemfont, grote koppen, tegels, veel lucht
   ===================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --tile: #f5f5f7;
  --tile-dark: #000000;
  --ink: #1d1d1f;
  --ink-2: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --line-strong: #c7c7cc;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-ink: #ffffff;
  --accent-soft: #e8f2fd;
  --link: #0066cc;
  --link-on-dark: #2997ff;
  --success: #1d8a3a;
  --success-soft: #e3f4e7;
  --warning: #b25000;
  --warning-soft: #fdf0e3;
  --danger: #d70015;
  --danger-soft: #fde7e9;
  --info: #0071e3;
  --info-soft: #e8f2fd;
  --neutral-soft: #f0f0f2;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Tight", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 2px 12px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 4px 28px rgb(0 0 0 / 0.1);

  --container: 1024px;
  --container-wide: 1440px;
  --gutter: clamp(16px, 4vw, 22px);
  --header-h: 64px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #101010;
    --surface: #1d1d1f;
    --surface-2: #2c2c2e;
    --tile: #161617;
    --tile-dark: #1d1d1f;
    --ink: #f5f5f7;
    --ink-2: #f5f5f7;
    --muted: #a1a1a6;
    --line: #38383a;
    --line-strong: #48484a;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --accent-ink: #ffffff;
    --accent-soft: #0a2a4d;
    --link: #2997ff;
    --success: #30d158;
    --success-soft: #0f2a16;
    --warning: #ff9f0a;
    --warning-soft: #2e1f08;
    --danger: #ff453a;
    --danger-soft: #34110f;
    --info: #2997ff;
    --info-soft: #0a2a4d;
    --neutral-soft: #2c2c2e;
    --shadow: 0 2px 12px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 4px 28px rgb(0 0 0 / 0.6);
    color-scheme: dark;
  }
}


/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.015em; margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
main { flex: 1; outline: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 22px;
  border-radius: 980px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 17px; font-weight: 400; letter-spacing: -0.022em; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background .2s, border-color .2s, opacity .2s, color .2s;
}
.btn:hover { --btn-bg: var(--accent-hover); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn .arrow { display: none; }
.btn-accent { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { --btn-bg: var(--accent); --btn-fg: #fff; }
/* Huisstijlknoppen: "Let's huddle" geel, "Klantportaal" met gele rand */
.btn-huddle { --btn-bg: #ffc529; --btn-fg: #203160; font-weight: 600; }
.btn-huddle:hover { --btn-bg: #ffd355; }
.btn-portal { --btn-bg: transparent; --btn-fg: #203160; border: 2px solid #ffc529; font-weight: 500; }
.btn-portal:hover { --btn-bg: #ffc529; --btn-fg: #203160; }
@media (prefers-color-scheme: dark) { .btn-portal { --btn-fg: #ffc529; } .btn-portal:hover { --btn-fg: #203160; } }
.btn-dark { --btn-bg: var(--ink); --btn-fg: var(--bg); }
.btn-dark:hover { --btn-bg: var(--ink); opacity: .85; }
.btn-danger { --btn-bg: transparent; --btn-fg: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.btn-danger:hover { --btn-bg: var(--danger-soft); }
.btn-sm { min-height: 34px; padding: 0 16px; font-size: 14px; letter-spacing: -0.016em; }
.btn-xs { min-height: 28px; padding: 0 12px; font-size: 12px; letter-spacing: -0.01em; }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: var(--muted);
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }

/* Apple-stijl tekstlink met chevron */
.link-more {
  display: inline-flex; align-items: center; gap: 2px;
  color: var(--link); text-decoration: none; font-size: 17px; letter-spacing: -0.022em;
}
.link-more::after { content: "›"; font-size: 1.15em; line-height: 1; transform: translateY(-1px); margin-left: 3px; }
.link-more:hover { text-decoration: underline; }
.on-dark .link-more { color: var(--link-on-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgb(250 250 252 / 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background .3s;
}
@media (prefers-color-scheme: dark) { .site-header { background: rgb(22 22 23 / 0.8); } }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgb(0 0 0 / 0.06); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--container); }

.logo { display: inline-flex; align-items: center; text-decoration: none; transition: opacity .2s; }
.logo:hover { opacity: .85; }
.logo-img { display: block; height: 40px; width: auto; }
.site-header .logo { flex: none; } /* logo nooit laten krimpen */
@media (min-width: 1024px) and (max-width: 1180px) {
  .site-nav { margin-left: 24px; gap: 16px; }
  .nav-links a { padding: 0 8px; font-size: 14px; }
}

.site-nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: space-between; margin-left: 40px; }
.nav-links { display: flex; gap: 6px; flex: 1; justify-content: center; }
.nav-links a {
  display: block; padding: 0 12px; line-height: var(--header-h);
  text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); opacity: .85;
  transition: opacity .2s;
}
.nav-links a:hover, .nav-links a.is-active { opacity: 1; }
/* Gele lijn onder een menu-item bij hover (en toetsenbordfocus) */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 14px;
  width: 22px; height: 3px; border-radius: 3px; background: #ffc529;
  transform: translateX(-50%) scaleX(0); transform-origin: center;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after,
.nav-links a.is-active::after { transform: translateX(-50%) scaleX(1); } /* ook onder de sectie die in beeld is */
@media (max-width: 1023px) { .nav-links a::after { display: none; } }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-actions .btn { min-height: 28px; padding: 0 12px; font-size: 12px; letter-spacing: -0.01em; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; margin-right: -12px; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 1.2px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    height: var(--nav-height, calc(100dvh - var(--header-h)));
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 24px 48px 40px;
    background: var(--bg);
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; flex: none; justify-content: flex-start; gap: 0; }
  .nav-links a { padding: 8px 0; line-height: 1.2; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; opacity: 1; font-family: var(--font-display); }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { min-height: 44px; font-size: 17px; }
}

/* ---------- Bovenbalk (dubbele header) ---------- */
.top-bar { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: -0.01em; color: var(--muted); }
.top-bar[hidden] { display: none; }
.top-bar-inner { max-width: var(--container); min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.top-bar-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.top-bar-contact li { display: inline-flex; align-items: center; gap: 6px; }
.top-bar-contact svg { width: 14px; height: 14px; color: var(--link); flex: none; }
.top-bar a { color: var(--ink); opacity: .85; text-decoration: none; font-weight: 600; transition: opacity .2s, color .2s; }
.top-bar a:hover { opacity: 1; color: #ffc529; }
/* Hele element (icoon + tekst) wordt geel bij hover */
.top-bar-contact li:hover svg { color: #ffc529; }
.top-bar-text a { color: #203160; font-weight: 600; opacity: 1; }
.top-bar-text a:hover { color: #ffc529; }
.top-bar-social { display: flex; gap: 4px; }
.top-bar-social a { display: grid; place-items: center; width: 34px; height: 34px; transition: color .2s; }
.top-bar-social a:hover { color: #ffc529; }
.top-bar-social svg { width: 21px; height: 21px; }
@media (max-width: 833px) {
  .top-bar-contact li:not(:has(a)) { display: none; }
  .top-bar-contact { gap: 4px 16px; }
}
@media (max-width: 480px) { .top-bar-social { display: none; } }

/* ---------- Typografie site ---------- */
.section { padding-block: clamp(64px, 10vw, 120px); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: #000; color: #f5f5f7; --muted: #a1a1a6; --line: #333336; }
.eyebrow {
  display: block; font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; letter-spacing: .01em; color: var(--muted);
  font-family: var(--font-display);
}
.section-head { display: grid; gap: 14px; max-width: 820px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; justify-items: center; }
/* Korte gele lijn boven het label van elke sectie */
.section-head .eyebrow { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.section-head .eyebrow::before { content: ""; width: 48px; height: 4px; border-radius: 4px; background: #ffc529; }
.section-head.align-left .eyebrow { align-items: flex-start; }
.section-title { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.0625; letter-spacing: -0.015em; font-weight: 600; text-wrap: balance; }
.section-intro p + p { margin-top: 1em; }
.section-intro { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.33; letter-spacing: .009em; color: var(--muted); max-width: 700px; text-wrap: pretty; }
.section-head.align-left { text-align: left; justify-items: start; margin-inline: 0; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 96px); text-align: center; overflow: hidden; background: var(--bg); }
.hero-inner { display: grid; gap: 14px; justify-items: center; max-width: 980px; margin-inline: auto; }
.hero .eyebrow { color: var(--ink); font-size: clamp(21px, 2.4vw, 28px); }
.hero-title { font-size: clamp(40px, 6.2vw, 76px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
.hero-title .accent { color: #ffc529; font-style: italic; } /* huisstijlgeel, cursief */
.hero-subtitle { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.33; color: var(--muted); max-width: 680px; text-wrap: pretty; margin-top: 6px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; margin-top: 20px; }

/* ---------- Diensten: tegels ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: var(--container-wide); margin-inline: auto; padding-inline: 12px; }
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: clamp(40px, 5vw, 56px) clamp(24px, 4vw, 48px) clamp(40px, 5vw, 56px);
  min-height: 520px;
  background: var(--tile); color: var(--ink);
}
.tile.is-wide { grid-column: 1 / -1; min-height: 560px; }
.tile.is-dark { background: var(--tile-dark); color: #f5f5f7; --muted: #a1a1a6; }
.tile-num { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.tile h3 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; max-width: 18ch; text-wrap: balance; }
.tile p { font-size: clamp(19px, 2vw, 21px); line-height: 1.38; color: var(--muted); max-width: 560px; text-wrap: pretty; }
.tile-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.tile-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: auto; padding-top: 36px; }
.tile-points li {
  font-size: 14px; letter-spacing: -0.01em; padding: 8px 14px; border-radius: 980px;
  background: var(--bg); color: var(--ink);
}
.tile.is-dark .tile-points li { background: #1d1d1f; color: #f5f5f7; }
.tile-icon {
  width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 8px;
  background: linear-gradient(135deg, #0071e3, #8a4dff); color: #fff;
}
.tile-icon svg { width: 34px; height: 34px; }
/* Huisstijlkleuren per dienst: 1 geel, 2 donkerblauw, 3 grijs */
.tile-1 { background: #ffc529; color: #203160; --muted: rgb(32 49 96 / .8); }
.tile-2 { background: #203160; color: #ffffff; --muted: rgb(255 255 255 / .78); }
.tile-3 { background: #bfc1c3; color: #203160; --muted: rgb(32 49 96 / .82); }
.tile-1 .tile-icon, .tile-3 .tile-icon { background: #203160; color: #ffc529; }
.tile-2 .tile-icon { background: #ffc529; color: #203160; }
/* Knoppen in de dienstentegels: gevulde hoofdknop + omlijnde knop, afgestemd op de tegelkleur */
.btn-tile-primary { font-weight: 600; }
.btn-tile-secondary { --btn-bg: transparent; border: 2px solid currentColor; font-weight: 600; }
.tile-1 .btn-tile-primary, .tile-3 .btn-tile-primary { --btn-bg: #203160; --btn-fg: #ffffff; }
.tile-1 .btn-tile-primary:hover, .tile-3 .btn-tile-primary:hover { --btn-bg: #2c4380; }
.tile-1 .btn-tile-secondary, .tile-3 .btn-tile-secondary { --btn-fg: #203160; }
.tile-1 .btn-tile-secondary:hover, .tile-3 .btn-tile-secondary:hover { --btn-bg: #203160; --btn-fg: #ffffff; border-color: #203160; }
.tile-2 .btn-tile-primary { --btn-bg: #ffc529; --btn-fg: #203160; }
.tile-2 .btn-tile-primary:hover { --btn-bg: #ffd355; }
.tile-2 .btn-tile-secondary { --btn-fg: #ffc529; }
.tile-2 .btn-tile-secondary:hover { --btn-bg: #ffc529; --btn-fg: #203160; border-color: #ffc529; }
.tile-1 .tile-points li, .tile-3 .tile-points li { background: rgb(255 255 255 / .7); color: #203160; }
.tile-2 .tile-points li { background: rgb(255 255 255 / .12); color: #ffffff; }
@media (max-width: 833px) {
  .tiles { grid-template-columns: 1fr; padding-inline: 0; }
  .tile, .tile.is-wide { min-height: 0; }
}

/* ---------- Quote-dividers ---------- */
.quote-divider {
  margin: 0; text-align: center; color: #fff;
  padding-block: clamp(44px, 5.5vw, 76px); /* compacter dan de gewone secties */
  position: relative; overflow: hidden;
}
.quote-divider .container { max-width: 1080px; display: grid; gap: 18px; justify-items: center; position: relative; }
.quote-divider blockquote { margin: 0; }
.quote-divider blockquote p {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance;
  white-space: pre-line; /* regeleinden uit het CMS behouden */
}
.quote-divider blockquote p::before { content: "\201C"; }
.quote-divider blockquote p::after { content: "\201D"; }
.quote-divider figcaption {
  font-size: clamp(15px, 1.6vw, 19px); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .8;
  display: inline-flex; align-items: center; gap: 12px;
}
.quote-divider figcaption::before, .quote-divider figcaption::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
/* Alle quote-dividers in het donkerblauw van het Kenn-IT-logo */
.quote-0, .quote-1, .quote-2 { background: #203160; }

/* Quote-divider met vrijstaande afbeelding: tekst links, figuur rechts onderaan op het blauw */
.quote-divider.has-image::before {
  content: ""; position: absolute; right: clamp(16px, 8vw, 140px); bottom: 0;
  width: min(36%, 460px); height: 84%;
  background: var(--quote-bg) center bottom / contain no-repeat;
  opacity: .55; /* afbeelding iets doorzichtig op het blauw */
}
.quote-divider.has-image .container { max-width: var(--container-wide); padding-inline: clamp(24px, 6vw, 96px); justify-items: start; text-align: left; }
.quote-divider.has-image blockquote, .quote-divider.has-image figcaption { max-width: 60%; position: relative; z-index: 1; }
.quote-divider.has-image figcaption::before { display: none; }
/* Variant: afbeelding links, quote rechts */
.quote-divider.has-image.image-left::before { right: auto; left: clamp(16px, 8vw, 140px); }
.quote-divider.has-image.image-left .container { justify-items: end; }
.quote-divider.has-image.image-left blockquote, .quote-divider.has-image.image-left figcaption { width: 60%; }
@media (max-width: 833px) {
  .quote-divider.has-image { padding-bottom: 0; }
  .quote-divider.has-image::before { position: static; display: block; width: 100%; height: 220px; margin-top: 32px; }
  .quote-divider.has-image .container { justify-items: center; text-align: center; }
  .quote-divider.has-image blockquote, .quote-divider.has-image figcaption { max-width: none; }
  .quote-divider.has-image.image-left .container { justify-items: center; }
  .quote-divider.has-image.image-left blockquote, .quote-divider.has-image.image-left figcaption { width: auto; }
  .quote-divider.has-image figcaption::before { display: block; }
  .quote-divider.has-image { display: flex; flex-direction: column-reverse; }
}

/* ---------- Werkwijze ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.process-step {
  counter-increment: step;
  background: var(--surface); border-radius: var(--radius-lg); padding: 32px 28px 36px;
  display: grid; gap: 10px; align-content: start;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.process-step:hover { transform: scale(1.015); box-shadow: var(--shadow-lg); }
.process-step::before {
  content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 12px;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: 17px;
}
.process-step h3 { font-size: 24px; line-height: 1.17; letter-spacing: .009em; font-weight: 600; }
.process-step p { color: var(--muted); font-size: 17px; line-height: 1.47; letter-spacing: -0.022em; }
@media (max-width: 1000px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Over mij: introductie + certificeringen ---------- */
.about-me.has-photo {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px);
  max-width: var(--container); margin: 0 auto; align-items: start;
}
.about-me-name { font-size: clamp(34px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }
.about-me-role {
  margin: 10px 0 28px; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ffc529;
}
.about-me-photo { margin: 0; display: grid; gap: 20px; justify-items: center; position: sticky; top: calc(var(--header-h) + 32px); }
.about-me-photo img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--surface-2);
}
.about-me-social { display: flex; gap: 10px; justify-content: center; }
.about-me-social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #203160; color: #fff; transition: background .2s, color .2s, transform .2s var(--ease);
}
.about-me-social a:hover { background: #ffc529; color: #203160; transform: translateY(-2px); }
.about-me-social svg { width: 18px; height: 18px; }
.about-me.has-photo .about-me-text { max-width: none; margin: 0; }
@media (max-width: 860px) {
  .about-me.has-photo { grid-template-columns: 1fr; }
  .about-me-photo { position: static; order: -1; max-width: 420px; justify-self: center; width: 100%; }
}
.about-me-text {
  max-width: 760px; margin: 0 auto; display: grid; gap: 20px;
  font-size: clamp(18px, 1.7vw, 20px); line-height: 1.6; color: var(--ink-2);
}
/* Eerste alinea = intro: zelfde kleur en grootte als de intro's van de andere secties */
.about-me-text p:first-child { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.33; letter-spacing: .009em; color: var(--muted); }
.about-me-text p:last-child { color: #203160; font-weight: 600; }
.cert-heading { text-align: center; font-size: clamp(24px, 2.6vw, 32px); margin: clamp(56px, 7vw, 88px) 0 28px; }
.cert-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .cert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cert-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 22px 18px 24px; border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow); border-top: 4px solid #ffc529;
}
.cert-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #203160; color: #ffc529; }
.cert-category { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cert-card strong { font-size: 16px; line-height: 1.3; color: var(--ink); font-weight: 600; }

/* ---------- Over ---------- */
.about-inner { max-width: 820px; margin-inline: auto; text-align: center; }
.about-text { display: grid; gap: 20px; font-size: clamp(19px, 2.1vw, 24px); line-height: 1.42; color: var(--muted); text-wrap: pretty; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(48px, 7vw, 80px); }
.stat { display: grid; gap: 6px; justify-items: center; text-align: center; }
.stat-value {
  font-family: var(--font-display); font-size: clamp(48px, 7vw, 80px); line-height: 1; font-weight: 700; letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 30%, #86868b); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { color: var(--muted); font-size: 17px; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Klantlogo's: witte strook, alle vakken exact even groot ---------- */
.logo-strip { background: #ffffff; padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid #e8e8ed; }
.logo-strip-title { text-align: center; color: #6e6e73; font-size: 15px; margin-bottom: 24px; }
.logo-strip .container { max-width: var(--container-wide); }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.logo-tile { flex: none; width: 180px; }
.logo-tile > a { display: block; text-decoration: none; }
/* Vak van exact dezelfde maat voor elk logo; logo's altijd zwart */
.logo-box { display: grid; place-items: center; width: 180px; height: 90px; }
.logo-mark {
  display: block; width: 180px; height: 90px; box-sizing: border-box; padding: 10px 16px;
  background-color: #1d1d1f;
  -webkit-mask: var(--logo-url) center / contain no-repeat; mask: var(--logo-url) center / contain no-repeat;
  -webkit-mask-origin: content-box; mask-origin: content-box; -webkit-mask-clip: content-box; mask-clip: content-box;
  transition: background-color .25s, transform .25s var(--ease);
}
.logo-tile:hover .logo-mark { background-color: #ffc529; transform: scale(1.04); }
.logo-tile > a:focus-visible .logo-mark { background-color: #ffc529; }
.logo-name { display: block; margin-top: 10px; text-align: center; font-size: 14px; font-weight: 600; line-height: 1.3; color: #1d1d1f; }
.logo-placeholder {
  border: 1.5px dashed #d2d2d7; border-radius: 14px; color: #86868b; font-size: 13px; font-weight: 500;
}
@media (max-width: 600px) { .logo-row { gap: 20px 12px; } .logo-tile, .logo-box, .logo-mark { width: 150px; } .logo-box, .logo-mark { height: 75px; } }

/* ---------- Gegevens: drie blokken in de stijl van het contactblok ---------- */
.info-section { padding-bottom: 0; }
.info-group { margin-bottom: 12px; }
.info-group .section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.info-split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-inline: 12px; }
.info-block {
  font-style: normal; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px);
  display: grid; gap: 22px; align-content: start;
}
.info-block h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -0.01em; font-weight: 600; }
.info-block .loc-line { font-size: 17px; line-height: 1.45; align-items: center; }
.info-block .loc-icon { margin-top: 0; width: 40px; height: 40px; border: 0; }
.info-block .loc-label { font-size: 13px; }
.info-block a { color: inherit; text-decoration: none; font-weight: 600; }
.info-block a:hover { text-decoration: underline; }
/* Geel blok */
.info-yellow { background: #ffc529; color: #203160; --muted: rgb(32 49 96 / .75); }
.info-yellow .loc-icon { background: #203160; color: #ffc529; }
/* Blauw blok */
.info-blue { background: #203160; color: #ffffff; --muted: rgb(255 255 255 / .72); }
.info-blue .loc-icon { background: #ffc529; color: #203160; }
/* Grijs blok */
.info-gray { background: #bfc1c3; color: #203160; --muted: rgb(32 49 96 / .75); }
.info-gray .loc-icon { background: #203160; color: #ffc529; }
@media (max-width: 960px) { .info-split { grid-template-columns: 1fr; padding-inline: 0; } .info-block { border-radius: 0; } }

/* ---------- Contact: wit formulierblok over de volle breedte ---------- */
.contact-split { padding-inline: 12px; }
.contact-form-block {
  border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 72px);
  display: grid; gap: 24px; align-content: start;
  background: #fff; color: #203160; border: 1px solid #e3e4e8;
}
.contact-split h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -0.01em; font-weight: 600; }
.contact-form-block .field label { color: #203160; }
.contact-form-block .opt { color: rgb(32 49 96 / .65); }
.contact-form-block .input, .contact-form-block .textarea {
  background: #fff; border-color: #c7c9d1; color: #1d1d1f; color-scheme: light;
}
.contact-form-block .input:hover, .contact-form-block .textarea:hover { border-color: #8a90a6; }
.contact-form-block .input:focus, .contact-form-block .textarea:focus {
  background: #fff; border-color: #203160; box-shadow: 0 0 0 4px rgb(32 49 96 / .14);
}
.contact-form-block .form-error { background: #fde7e9; color: #d70015; }
.btn-light { --btn-bg: #fff; --btn-fg: #203160; font-weight: 500; }
.btn-light:hover { --btn-bg: #f5f5f7; }
.multiline { white-space: pre-line; } /* regeleinden uit het CMS behouden */
@media (max-width: 860px) { .contact-split { padding-inline: 0; } .contact-form-block { border-radius: 0; border-inline: 0; } }

/* ---------- Footer: donker hoofddeel + blauwe balk ---------- */
.site-footer { font-size: 14px; line-height: 1.6; color: #a1a1a6; }
.footer-main { background: #1d1d1f; padding-block: clamp(56px, 7vw, 80px) clamp(40px, 5vw, 56px); }
.footer-grid {
  display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 40px 48px;
  max-width: var(--container-wide); padding-inline: clamp(16px, 4vw, 48px);
}
.footer-main a { color: #d2d2d7; text-decoration: none; transition: color .2s; }
.footer-main a:hover { color: #fff; }
.logo-light .logo-img { height: 52px; }
.footer-brand { display: grid; gap: 20px; align-content: start; grid-row: span 2; }
.footer-tagline { max-width: 340px; font-size: 15px; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; align-items: center; gap: 12px; }
.footer-contact svg { flex: none; color: #f5f5f7; }
.footer-contact a { color: #f5f5f7; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgb(255 255 255 / .08); color: #f5f5f7;
}
.footer-social a:hover { background: var(--accent); }
.footer-col h2 { font-size: 17px; font-weight: 600; color: #f5f5f7; letter-spacing: -0.02em; margin-bottom: 18px; }
.footer-list { display: grid; gap: 10px; }
.footer-list.two-col { display: block; columns: 2; column-gap: 24px; }
.footer-list.two-col li { margin-bottom: 10px; break-inside: avoid; }
.footer-newsletter {
  grid-column: 2 / -1; display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap;
}
.footer-newsletter label { color: #f5f5f7; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.newsletter-field { flex: 1; min-width: 260px; display: flex; gap: 8px; }
.newsletter-field .input { background: #2c2c2e; border-color: #3a3a3c; color: #f5f5f7; border-radius: 980px; padding-inline: 20px; }
.newsletter-field .input::placeholder { color: #8e8e93; }
.newsletter-field .input:focus { background: #2c2c2e; border-color: var(--accent); }
.footer-bar { background: #ffffff; color: #203160; font-size: 14px; border-top: 1px solid var(--line); }
.footer-bar-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  min-height: 80px; padding-block: 20px; max-width: var(--container-wide); padding-inline: clamp(16px, 4vw, 48px);
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.footer-bar a { color: #203160; text-decoration: none; font-weight: 500; }
.footer-bar a:hover { text-decoration: underline; }
.back-to-top {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px;
  border-radius: 980px; border: 0; cursor: pointer;
  background: #203160; color: #ffffff; font-size: 14px; font-weight: 500;
  transition: background .2s;
}
.back-to-top:hover { background: #2c4380; }
.back-to-top span { color: #ffc529; }

/* ---------- Juridische pagina's (privacyverklaring) ---------- */
.legal-page { max-width: 760px; padding-block: clamp(48px, 7vw, 96px); display: grid; gap: 12px; align-content: start; }
.legal-page h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 8px; }
.legal-text { display: grid; gap: 14px; margin-top: 16px; font-size: 17px; line-height: 1.6; }
.legal-text h2 { font-size: 22px; margin-top: 20px; }
.legal-text ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .footer-newsletter { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-newsletter { flex-direction: column; align-items: stretch; }
  .footer-newsletter label { white-space: normal; }
  .newsletter-field { min-width: 0; width: 100%; flex: none; flex-direction: column; }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field-label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field .hint { font-size: 13px; color: var(--muted); }
.input, .textarea, .select {
  width: 100%; min-height: 48px; padding: 12px 16px;
  border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--muted); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); background: var(--surface); }
.form-error { padding: 12px 14px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); font-size: 14px; }
.form-error:empty { display: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; user-select: none; }
.switch input { appearance: none; width: 38px; height: 22px; border-radius: 999px; background: var(--line-strong); position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 2px rgb(0 0 0 / .2); }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(16px); }

.checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100dvh - var(--header-h) - 120px); display: grid; place-items: center; padding: 48px var(--gutter); }
.auth-card { width: 100%; max-width: 420px; display: grid; gap: 28px; }
.auth-card h1 { font-size: clamp(32px, 4vw, 40px); }
.auth-card .lead { color: var(--muted); }
.auth-note { font-size: 14px; color: var(--muted); text-align: center; }
.auth-note a { color: var(--ink); }

/* ---------- App shell (dashboard / admin) ---------- */
.app-page { padding-block: clamp(32px, 5vw, 56px) 80px; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); }
.page-head p { color: var(--muted); margin-top: 8px; }

.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 28px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.tab .count { font-size: 12px; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { font-size: 20px; }
.stack { display: grid; gap: 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.kpi { padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.kpi-label { font-size: 13px; color: var(--muted); }
.kpi-value { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -0.04em; margin-top: 4px; }
@media (max-width: 640px) { .kpis { grid-template-columns: 1fr; } }

/* Status badges */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; white-space: nowrap; background: var(--neutral-soft); color: var(--ink-2); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge[data-status="intake"] { background: var(--neutral-soft); color: var(--muted); }
.badge[data-status="planning"] { background: var(--warning-soft); color: var(--warning); }
.badge[data-status="in-uitvoering"] { background: var(--info-soft); color: var(--info); }
.badge[data-status="review"] { background: color-mix(in srgb, #9b51e0 14%, var(--surface)); color: #8b45d6; }
.badge[data-status="afgerond"] { background: var(--success-soft); color: var(--success); }
.badge[data-status="gepauzeerd"] { background: var(--danger-soft); color: var(--danger); }

/* Progress */
.progress { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress > span { display: block; height: 100%; width: var(--p, 0%); background: var(--accent); border-radius: inherit; transition: width .8s var(--ease); }
.progress-row { display: flex; align-items: center; gap: 12px; }
.progress-row .progress { flex: 1; }
.progress-row b { font-size: 14px; font-variant-numeric: tabular-nums; min-width: 40px; text-align: right; }

/* Project cards (klant) */
.project-list { display: grid; gap: 16px; }
.project {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: border-color .2s, box-shadow .3s;
}
.project[open] { box-shadow: var(--shadow); border-color: var(--line-strong); }
.project > summary { list-style: none; cursor: pointer; padding: 24px clamp(20px, 3vw, 28px); display: grid; gap: 16px; }
.project > summary::-webkit-details-marker { display: none; }
.project-top { display: flex; justify-content: space-between; gap: 16px; align-items: start; flex-wrap: wrap; }
.project-top h3 { font-size: 21px; }
.project-dates { font-size: 13px; color: var(--muted); margin-top: 4px; }
.project-chevron { transition: transform .3s var(--ease); color: var(--muted); }
.project[open] .project-chevron { transform: rotate(180deg); }
.project-body { padding: 4px clamp(20px, 3vw, 28px) 28px; display: grid; gap: 28px; border-top: 1px solid var(--line); padding-top: 24px; }
.project-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .project-columns { grid-template-columns: 1fr; } }
.subhead { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 14px; font-family: var(--font-sans); }

/* Status stepper */
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.stepper li { display: grid; gap: 8px; font-size: 12.5px; color: var(--muted); }
.stepper li::before { content: ""; height: 4px; border-radius: 999px; background: var(--surface-2); }
.stepper li.is-done::before { background: var(--accent); }
.stepper li.is-current { color: var(--ink); font-weight: 600; }
.stepper li.is-current::before { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
@media (max-width: 560px) { .stepper li span { display: none; } .stepper li.is-current span { display: inline; } .stepper { grid-template-columns: repeat(5, 1fr); } }

/* Milestones */
.milestones { display: grid; gap: 2px; }
.milestones li { display: flex; gap: 12px; align-items: center; padding: 8px 0; font-size: 15px; }
.milestones .tick { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; }
.milestones li.is-done .tick { background: var(--success); border-color: var(--success); color: #fff; }
.milestones li.is-done .ms-title { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }

/* Timeline */
.timeline { display: grid; gap: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 22px 22px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: -6px; width: 1px; background: var(--line-strong); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.timeline time { font-size: 13px; color: var(--muted); }
.timeline p { font-size: 15px; margin-top: 2px; white-space: pre-line; }

.empty { padding: 48px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }

/* ---------- Admin ---------- */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.cms-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; }
.cms-nav button { text-align: left; border: 0; background: transparent; padding: 10px 14px; border-radius: 10px; cursor: pointer; color: var(--muted); font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.cms-nav button:hover { color: var(--ink); background: var(--surface-2); }
.cms-nav button[aria-current="true"] { color: var(--ink); background: var(--surface); box-shadow: var(--shadow); font-weight: 500; }
.cms-nav .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.cms-nav .dot.off { background: var(--line-strong); }
@media (max-width: 860px) {
  .admin-layout { grid-template-columns: 1fr; }
  .cms-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
  .cms-nav button { white-space: nowrap; gap: 8px; }
}

.cms-fields { display: grid; gap: 20px; }
.cms-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 16px; background: var(--bg); }
.cms-group-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cms-group-head .field-label { font-weight: 600; }
.cms-list { display: grid; gap: 12px; }
.cms-list-item { display: flex; gap: 8px; align-items: start; }
.cms-list-item > :first-child { flex: 1; }
.cms-save-bar {
  position: sticky; bottom: 16px; z-index: 5; margin-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 12px 12px 12px 20px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.cms-save-bar .status { font-size: 14px; color: var(--muted); }
.cms-save-bar .status.dirty { color: var(--warning); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-weight: 500; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.is-unread td:first-child { box-shadow: inset 3px 0 var(--accent); }
.table .actions { display: flex; gap: 6px; justify-content: flex-end; }
.cell-sub { display: block; color: var(--muted); font-size: 13px; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }

.message-body { white-space: pre-line; max-width: 520px; color: var(--ink-2); }

/* Dialog */
dialog.modal {
  width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 48px);
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg);
}
dialog.modal::backdrop { background: rgb(10 11 14 / .45); backdrop-filter: blur(4px); }
dialog.modal[open] { animation: modal-in .3s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 20px; }
.modal-body { padding: 24px; display: grid; gap: 18px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 24px; border-top: 1px solid var(--line); }

/* Toasts */
.toast-region { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: max-content; max-width: calc(100vw - 32px); }
.toast { padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; box-shadow: var(--shadow-lg); animation: toast-in .35s var(--ease); }
.toast.is-error { background: var(--danger); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* Loading */
.loader { display: grid; place-items: center; min-height: 50vh; }
.loader::after { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.view-enter { animation: view-in .45s var(--ease); }
@keyframes view-in { from { opacity: 0; transform: translateY(6px); } }

input[type="range"] { width: 100%; accent-color: var(--accent); }
.table .progress-row { min-width: 150px; }
.timeline .btn { margin-top: 6px; }
.admin-gap { margin-top: 24px; }

/* ---------- Maatschappelijk ---------- */
.community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; max-width: 920px; margin: 0 auto; }
.community-card {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  padding: 32px 30px; border-radius: var(--radius-lg); background: var(--surface);
  box-shadow: var(--shadow); border-top: 4px solid #ffc529;
}
.community-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #203160; color: #ffc529; }
.community-card h3 { font-size: 24px; line-height: 1.17; }
.community-counter {
  display: flex; align-items: center; gap: 16px; width: 100%;
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line);
}
.community-counter-icon { flex: none; width: 56px; height: 56px; }
.community-counter p { display: grid; gap: 4px; }
.community-counter strong {
  font-family: var(--font-display); font-size: clamp(40px, 4.4vw, 52px); line-height: 1; font-weight: 700;
  letter-spacing: -0.03em; color: #203160; font-variant-numeric: tabular-nums;
}
.community-counter span { font-size: 14px; font-weight: 600; color: #203160; }
.community-counter + .community-link { margin-top: 4px; }
.community-text { display: grid; gap: 10px; color: var(--muted); font-size: 17px; line-height: 1.5; }
.community-card .community-link { margin-top: auto; }

/* ---------- Projectkaarten ---------- */
.project-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
/* Precies vier kaarten: twee rijen van twee in plaats van 3 + 1 */
.project-cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; }
.project-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--tile); border-top: 4px solid #ffc529;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-role {
  align-self: flex-start; padding: 5px 12px; border-radius: 980px;
  background: #203160; color: #fff; font-size: 13px; font-weight: 500;
}
.project-card h3 { font-size: 24px; line-height: 1.17; letter-spacing: -0.01em; }
.project-meta { color: var(--muted); font-size: 15px; }
.project-desc { font-size: 17px; line-height: 1.47; display: grid; gap: 10px; }
/* Uitklapbare rest van de omschrijving (grid-rows 0fr → 1fr geeft een vloeiende hoogte-animatie) */
.project-desc:has(.project-more) { gap: 0; }
.project-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.project-more > div { overflow: hidden; min-height: 0; display: grid; gap: 10px; }
.project-more > div > :first-child { margin-top: 10px; }
.project-more:has(+ [aria-expanded="true"]) { grid-template-rows: 1fr; }
.project-toggle {
  justify-self: start; display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 4px 0;
  border: 0; background: none; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; color: #203160;
}
.project-toggle:hover span { text-decoration: underline; text-decoration-color: #ffc529; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.project-toggle .project-chevron { color: currentColor; }
.project-toggle[aria-expanded="true"] .project-chevron { transform: rotate(180deg); }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }
.project-tags li { font-size: 13px; padding: 6px 12px; border-radius: 980px; background: var(--bg); color: #203160; }
@media (max-width: 960px) { .project-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .project-cards, .project-cards:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; } }

/* ---------- Vestigingen ---------- */
.locations-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.location {
  font-style: normal; display: grid; gap: 18px; align-content: start;
  padding: 32px 28px; border-radius: var(--radius-lg); background: var(--tile);
}
.location h3 { font-size: 28px; line-height: 1.14; letter-spacing: .007em; font-weight: 600; }
.loc-line { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.47; }
.loc-line a { color: inherit; text-decoration: none; }
.loc-line a:hover { color: var(--link); text-decoration: underline; }
.loc-line .loc-mail { color: var(--link); }
.loc-label { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; margin-bottom: 2px; }
.loc-icon {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -5px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--link);
}
@media (max-width: 900px) { .locations-grid { grid-template-columns: 1fr; } }

/* Donkere modus: donkerblauwe tekst valt weg op een donkere achtergrond, dus daar geel gebruiken */
@media (prefers-color-scheme: dark) {
  .about-me-text p:last-child,
  .project-tags li,
  .project-toggle,
  .community-counter span,
  .community-counter strong,
  .top-bar-text a { color: #ffc529; }
}

/* ---------- Feedback (beoordelingen) ---------- */
.testimonial-carousel { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.testimonial-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 24px) / 3); column-gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 12px 4px 28px; margin: -12px -4px -28px; outline: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 40px 32px 36px; border-radius: var(--radius-lg); background: var(--surface);
  box-shadow: var(--shadow); text-align: center;
}
.testimonial-mark {
  font-family: Georgia, 'Times New Roman', serif; font-size: 96px; line-height: .7; height: 48px;
  font-weight: 700; color: #ffc529; align-self: flex-start;
}
.testimonial-card blockquote { margin: 0; display: grid; gap: 10px; font-size: 17px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.testimonial-card figcaption { margin-top: auto; display: grid; gap: 4px; }
.testimonial-card figcaption strong { font-size: 19px; font-weight: 700; color: var(--ink); }
.testimonial-card figcaption span { font-size: 14px; color: var(--muted); }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--ink); transition: background .2s, color .2s;
}
.carousel-btn:hover, .carousel-btn:focus-visible { background: #ffc529; color: #203160; }
.carousel-btn[hidden] { display: grid; visibility: hidden; }
.carousel-btn svg { width: 24px; height: 24px; }
.carousel-btn.prev svg { transform: rotate(90deg); }
.carousel-btn.next svg { transform: rotate(-90deg); }
@media (max-width: 1023px) { .testimonial-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) {
  .testimonial-track { grid-auto-columns: 100%; }
  .testimonial-carousel { gap: 4px; }
  .carousel-btn { width: 36px; height: 36px; }
}
/* Voorbeeldweergave van een verborgen sectie (alleen voor de beheerder) */
.testimonials.is-preview { outline: 2px dashed #ffc529; outline-offset: -12px; }
.preview-note {
  margin: 0 auto 28px; max-width: max-content; padding: 8px 16px; border-radius: 980px;
  background: #ffc529; color: #203160; font-size: 14px; font-weight: 600; text-align: center;
}

/* ---------- Feedback-vragenlijst (/feedback, Typeform-stijl) ---------- */
body.survey-mode .top-bar, body.survey-mode .site-footer, body.survey-mode .site-nav, body.survey-mode .nav-toggle { display: none !important; }
.survey {
  --sv-ink: #203160;
  position: relative; min-height: calc(100dvh - var(--header-h));
  display: grid; place-items: center; padding: 56px var(--gutter) 104px; overflow: hidden;
}
@media (prefers-color-scheme: dark) { .survey { --sv-ink: #ffc529; } }
.survey-progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 60; background: color-mix(in srgb, #ffc529 25%, transparent); }
.survey-progress span { display: block; height: 100%; width: var(--p, 0%); background: #ffc529; transition: width .6s var(--ease); }
.survey-preview { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); margin: 0; white-space: nowrap; font-size: 13px; }
.survey-stage { width: min(720px, 100%); }
.survey-stage.enter-next { animation: survey-in-next .55s var(--ease) both; }
.survey-stage.enter-prev { animation: survey-in-prev .55s var(--ease) both; }
@keyframes survey-in-next { from { opacity: 0; transform: translateY(48px); } }
@keyframes survey-in-prev { from { opacity: 0; transform: translateY(-48px); } }

.survey h1 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.25; font-weight: 600; outline: none; }
.survey-req { color: #ffc529; margin-left: 4px; }
.survey-desc { color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.45; margin-top: 10px; }
.survey-q-head { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.survey-num { display: inline-flex; align-items: center; gap: 4px; padding-top: .45em; color: var(--sv-ink); font-size: 16px; font-weight: 600; }
.survey-num .arrow { display: block; width: 14px; height: 14px; }
.survey-answer { margin-top: 32px; padding-left: clamp(0px, 4vw, 36px); }
.survey-error:not(:empty), .survey-ok { margin-left: clamp(0px, 4vw, 36px); }

.survey-input {
  width: 100%; border: 0; border-bottom: 2px solid color-mix(in srgb, var(--sv-ink) 30%, transparent); border-radius: 0;
  background: transparent; color: var(--sv-ink); font-size: clamp(22px, 3vw, 30px); padding: 6px 0 10px; outline: none;
  transition: border-color .2s;
}
.survey-input::placeholder { color: color-mix(in srgb, var(--sv-ink) 35%, transparent); }
.survey-input:focus { border-bottom-color: var(--sv-ink); }
.survey-textarea { resize: none; overflow: hidden; line-height: 1.35; min-height: 1.6em; }

.survey-choices { display: grid; gap: 10px; max-width: 520px; }
.survey-yesno { max-width: 240px; }
.survey-choice, .survey-other {
  display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 8px 14px 8px 9px;
  border: 1px solid color-mix(in srgb, var(--sv-ink) 40%, transparent); border-radius: 10px;
  background: color-mix(in srgb, var(--sv-ink) 6%, transparent); color: var(--sv-ink);
  font-size: 18px; text-align: left; cursor: pointer; transition: background .2s, border-color .2s;
}
.survey-choice:hover { background: color-mix(in srgb, var(--sv-ink) 13%, transparent); }
.survey-choice > span:nth-child(2) { flex: 1; }
.survey-choice svg { opacity: 0; width: 16px; height: 16px; }
.survey-choice[aria-pressed="true"], .survey-choice[aria-checked="true"] { background: #ffc529; border-color: #ffc529; color: #203160; }
.survey-choice[aria-pressed="true"] svg, .survey-choice[aria-checked="true"] svg { opacity: 1; }
.survey-key {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px;
  border: 1px solid currentColor; background: var(--surface); font-size: 12px; font-weight: 600;
}
.survey-choice[aria-pressed="true"] .survey-key, .survey-choice[aria-checked="true"] .survey-key { background: #203160; border-color: #203160; color: #fff; }
.survey-other { cursor: text; }
.survey-other.is-open { border-color: #ffc529; }
.survey-other-input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 18px; color: inherit; }
.survey-other-input::placeholder { color: color-mix(in srgb, var(--sv-ink) 55%, transparent); }
.is-picked { animation: survey-blink .45s steps(1) both; }
@keyframes survey-blink { 25%, 75% { opacity: .35; } 50% { opacity: 1; } }

.survey-rating { display: flex; flex-wrap: wrap; gap: 6px; }
.survey-rate { display: grid; justify-items: center; gap: 4px; padding: 4px; border: 0; background: none; cursor: pointer; color: var(--sv-ink); font-size: 14px; font-weight: 500; }
.survey-star { width: clamp(40px, 8vw, 52px); height: auto; fill: transparent; stroke: var(--sv-ink); transition: fill .2s, transform .2s var(--ease); }
.survey-rate:hover .survey-star { transform: scale(1.08); }
.survey-star.is-filled { fill: #ffc529; stroke: #ffc529; }

.survey-scale { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 6px; }
.survey-scale-btn {
  min-height: 52px; border: 1px solid color-mix(in srgb, var(--sv-ink) 40%, transparent); border-radius: 8px;
  background: color-mix(in srgb, var(--sv-ink) 6%, transparent); color: var(--sv-ink); font-size: 18px; font-weight: 500; cursor: pointer;
  transition: background .2s;
}
.survey-scale-btn:hover { background: color-mix(in srgb, var(--sv-ink) 13%, transparent); }
.survey-scale-btn[aria-checked="true"] { background: #ffc529; border-color: #ffc529; color: #203160; }
.survey-scale-labels { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; color: var(--muted); font-size: 14px; }
@media (max-width: 600px) {
  .survey-scale { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .survey-scale-labels { flex-direction: column; gap: 2px; }
}

.survey-ok { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.survey-ok .btn svg { width: 14px; height: 14px; }
.survey-hint { font-size: 13px; color: var(--muted); }
@media (hover: none) { .survey-hint { display: none; } }
.survey-error:not(:empty) {
  display: inline-block; margin-top: 18px; padding: 6px 12px; border-radius: 6px;
  background: var(--danger-soft); color: var(--danger); font-size: 14px;
}
.survey-q.shake { animation: survey-shake .4s var(--ease); }
@keyframes survey-shake { 25% { transform: translateX(-8px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }

.survey-welcome { display: grid; justify-items: center; text-align: center; gap: 4px; }
.survey-welcome h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.1; max-width: 18ch; }
.survey-welcome .survey-desc { max-width: 52ch; margin-top: 16px; }
.survey-welcome .survey-ok { justify-content: center; margin-left: 0; }
.survey-accent { width: 48px; height: 5px; border-radius: 3px; background: #ffc529; margin-bottom: 22px; }
.survey-duration { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.survey-thanks-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; background: #ffc529; color: #203160; }
.survey-thanks-icon svg { width: 28px; height: 28px; }

.survey-nav { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; gap: 2px; }
.survey-nav button {
  display: grid; place-items: center; width: 40px; height: 36px; border: 0; cursor: pointer;
  background: #203160; color: #fff; transition: background .2s, opacity .2s;
}
.survey-nav button:first-child { border-radius: 8px 0 0 8px; }
.survey-nav button:first-child svg { transform: rotate(180deg); }
.survey-nav button:last-child { border-radius: 0 8px 8px 0; }
.survey-nav button:hover:not(:disabled) { background: #2c4380; }
.survey-nav button:disabled { opacity: .35; cursor: default; }
.survey-nav .project-chevron { color: inherit; }
.survey-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .survey-stage.enter-next, .survey-stage.enter-prev, .is-picked, .survey-q.shake { animation: none; }
}

/* ---------- Vragenlijst in het CMS ---------- */
.card-head .actions, .toolbar .actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sv-status.dirty { color: var(--warning); }
.sv-subtabs { margin-bottom: 20px; }
.sv-subtabs a.tab { text-decoration: none; }
.sv-subtabs .arrow { width: 12px; height: 12px; }
.sv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.sv-stats .card { display: grid; gap: 4px; }
.sv-stats strong { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -0.02em; }
.sv-star, .sv-stars { color: #ffc529; }
.sv-stars { letter-spacing: 1px; white-space: nowrap; }
.sv-heading { font-size: 20px; margin: 28px 0 14px; }
.sv-summaries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sv-summary { display: grid; gap: 14px; align-content: start; }
.sv-summary-head { display: grid; gap: 4px; }
.sv-summary h3 { font-size: 16px; line-height: 1.3; }
.sv-big { font-family: var(--font-display); font-size: 30px; font-weight: 600; }
.sv-big span { font-family: var(--font-sans); font-size: 14px; font-weight: 400; color: var(--muted); }
.sv-bars { display: grid; gap: 8px; }
.sv-bar { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(60px, 1fr) 28px; gap: 10px; align-items: center; font-size: 14px; }
.sv-bar .progress > span { background: #ffc529; }
.sv-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.sv-quotes { display: grid; gap: 8px; }
.sv-quotes li { padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 14px; white-space: pre-line; }
.sv-answers { display: grid; gap: 14px; }
.sv-answers dt { font-size: 13px; color: var(--muted); }
.sv-answers dd { margin-top: 2px; white-space: pre-line; }
.sv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-items: end; }
.sv-required { padding-bottom: 12px; }
.sv-cond { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.sv-up svg { transform: rotate(180deg); }
.sv-qcard code, .card code { font-size: 13px; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); }
@media (max-width: 760px) { .sv-stats, .sv-summaries { grid-template-columns: 1fr; } }
.survey-thanks-img {
  width: clamp(200px, 34vw, 280px); height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 28%;
  margin-bottom: 24px; border-radius: var(--radius-lg); border: 4px solid #ffc529; box-shadow: var(--shadow-lg);
  animation: survey-pop .7s var(--ease) .15s both;
}
@keyframes survey-pop { from { opacity: 0; transform: scale(.85) translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .survey-thanks-img { animation: none; } }

/* ---------- Landingspagina (/binnenkort) ---------- */
/* Altijd wit, ook in donkere modus */
body.launch-mode { background: #fff; }
body.launch-mode .top-bar, body.launch-mode .site-header, body.launch-mode .site-footer { display: none !important; }
.launch {
  color-scheme: light;
  position: relative; min-height: 100dvh; display: grid; place-items: center;
  padding: clamp(40px, 7vw, 80px) var(--gutter); overflow: hidden; color: #1d1d1f; background: #fff;
}
.launch::before, .launch::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(255 197 41 / .16), transparent);
}
.launch::before { width: 620px; height: 620px; right: -160px; top: -200px; }
.launch::after { width: 520px; height: 520px; left: -220px; bottom: -240px; }
.launch-preview { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); margin: 0; z-index: 2; font-size: 13px; max-width: calc(100% - 32px); white-space: normal; }
.launch-inner {
  position: relative; z-index: 1; width: min(1080px, 100%);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 72px); align-items: center;
}
.launch-copy { display: grid; justify-items: start; gap: 18px; animation: launch-in .8s var(--ease) both; }
.launch-logo { height: 52px; width: auto; margin-bottom: 18px; }
.launch-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 980px;
  background: rgb(255 197 41 / .2); color: #203160; font-size: 14px; font-weight: 600; letter-spacing: .02em;
}
.launch-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ffc529; animation: launch-pulse 1.6s ease-in-out infinite; }
.launch-title { font-size: clamp(38px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; color: #1d1d1f; }
.launch-title .accent { color: #ffc529; font-style: italic; }
.launch-text { max-width: 52ch; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: #6e6e73; }
.launch-countdown { display: grid; gap: 12px; margin-top: 10px; width: 100%; }
.launch-countdown-title { font-size: 14px; font-weight: 600; color: #6e6e73; text-transform: uppercase; letter-spacing: .08em; }
.launch-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 14px); max-width: 520px; }
.launch-tile {
  display: grid; justify-items: center; gap: 2px; padding: clamp(14px, 2.4vw, 22px) 6px;
  border-radius: var(--radius); background: #f5f5f7; border-top: 4px solid #ffc529;
}
.launch-tile strong { font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px); font-weight: 700; line-height: 1; color: #203160; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.launch-tile span { font-size: 13px; color: #6e6e73; }
.launch-date { font-size: 14px; color: #6e6e73; }
.launch-date::first-letter { text-transform: uppercase; }
.launch-done { font-size: clamp(20px, 2.4vw, 26px); color: #1d1d1f; }
.launch-done strong { color: #203160; }
.launch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 14px; }
.launch-social { display: flex; gap: 8px; }
.launch-social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid #d2d2d7; color: #203160; transition: background .2s, color .2s, border-color .2s;
}
.launch-social a:hover { background: #ffc529; border-color: #ffc529; color: #203160; }
.launch-art { display: grid; place-items: center; animation: launch-in .8s var(--ease) .15s both; }
.launch-art img {
  width: 100%; max-width: 380px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: var(--radius-lg); border: 4px solid #ffc529; box-shadow: 0 30px 60px rgb(32 49 96 / .18);
  transform: rotate(2deg); animation: launch-float 6s ease-in-out infinite;
}
@keyframes launch-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes launch-pulse { 50% { opacity: .35; transform: scale(.8); } }
@keyframes launch-float { 50% { transform: rotate(-1deg) translateY(-10px); } }
@media (max-width: 820px) {
  .launch-inner { grid-template-columns: 1fr; }
  .launch-art { order: -1; }
  .launch-art img { max-width: 220px; aspect-ratio: 1 / 1; object-position: 50% 28%; }
  .launch-copy { justify-items: center; text-align: center; }
  .launch-logo { margin-bottom: 6px; }
  .launch-tiles { margin-inline: auto; }
  .launch-actions { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .launch-copy, .launch-art, .launch-art img, .launch-eyebrow::before { animation: none; }
}

/* ---------- Statistieken in het CMS ---------- */
#admin-panel { --an-c1: #2f4fa8; --an-c2: #d99a00; }
@media (prefers-color-scheme: dark) { #admin-panel { --an-c1: #6d8de0; --an-c2: #d9a010; } }
#admin-panel.is-loading .an-stats, #admin-panel.is-loading .an-chart, #admin-panel.is-loading .an-grid-2 { opacity: .5; transition: opacity .2s; }
.an-ranges { margin-bottom: 0; }
.an-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.an-stats .card { display: grid; gap: 4px; align-content: start; }
.an-stats strong { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.an-delta { justify-self: start; font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.an-delta.is-up { color: var(--success); }
.an-delta.is-down { color: var(--warning); }
.an-chart { position: relative; margin-bottom: 12px; }
.an-chart .card-head { margin-bottom: 8px; }
.an-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--muted); }
.an-legend li { display: inline-flex; align-items: center; gap: 8px; }
.an-key { display: inline-block; width: 14px; height: 3px; border-radius: 2px; background: currentColor; }
.an-key.an-s-visitors { color: var(--an-c1); }
.an-key.an-s-views { color: var(--an-c2); }
.an-plot { min-height: 260px; }
.an-svg { display: block; width: 100%; height: auto; overflow: visible; }
.an-grid { stroke: var(--line); stroke-width: 1; }
.an-axis { fill: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.an-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.an-line.an-s-visitors { stroke: var(--an-c1); }
.an-line.an-s-views { stroke: var(--an-c2); }
.an-area { fill: var(--an-c1); opacity: .08; }
.an-cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.an-dot { stroke: var(--surface); stroke-width: 2; }
.an-dot.an-s-visitors { fill: var(--an-c1); }
.an-dot.an-s-views { fill: var(--an-c2); }
.an-hit { fill: transparent; cursor: crosshair; outline: none; }
.an-hit:focus-visible { stroke: var(--accent); stroke-width: 2; }
.an-tip {
  position: absolute; top: 56px; transform: translateX(-50%); pointer-events: none; z-index: 2;
  min-width: 150px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg, var(--shadow));
  font-size: 13px; display: grid; gap: 3px;
}
.an-tip-date { color: var(--muted); }
.an-tip-row { display: flex; align-items: center; gap: 6px; }
.an-tip-row b { font-size: 15px; font-variant-numeric: tabular-nums; }
.an-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.an-rank { display: grid; gap: 12px; align-content: start; min-width: 0; }
.an-rank h3 { font-size: 18px; }
.an-table th, .an-table td { padding: 10px 8px; }
.an-table th:first-child, .an-table td:first-child { padding-left: 0; }
.an-table .an-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.an-table .an-share { width: 30%; padding-right: 0; }
.an-table .progress > span { background: var(--an-c1); }
.an-table tfoot th { border-top: 1px solid var(--line); border-bottom: 0; color: var(--ink); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 14.5px; }
.an-scroll { max-height: 360px; overflow-y: auto; }
.an-scroll thead th { position: sticky; top: 0; background: var(--surface); }
.an-note { margin-top: 16px; }
@media (max-width: 900px) { .an-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .an-grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .an-ranges { width: 100%; }
  .an-ranges .tab { flex: 1; justify-content: center; padding-inline: 6px; }
}

/* ---------- Etalageversie: contact zonder formulier ---------- */
.contact-static-text { margin-top: 14px; font-size: 19px; line-height: 1.45; color: rgb(32 49 96 / .85); max-width: 46ch; }
.contact-static-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-static-actions .btn { gap: 8px; }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #203160; border-color: rgb(32 49 96 / .5); }
.btn-outline-light:hover { --btn-bg: #203160; --btn-fg: #fff; }

/* ---------- Cookiemelding ---------- */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 150; width: min(440px, calc(100vw - 32px)); }
.consent[hidden] { display: none; }
.consent-card { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px 22px 20px; animation: toast-in .35s var(--ease); max-height: calc(100vh - 40px); overflow-y: auto; }
.consent-card h2 { font-size: 21px; margin-bottom: 8px; }
.consent-card h2::after { content: ""; display: block; width: 32px; height: 3px; border-radius: 2px; background: #ffc529; margin-top: 8px; }
.consent-card p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 0 16px; }
.consent-card p a { color: var(--link); }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.consent-actions .btn { flex: 1 1 auto; }
.consent-more { border: 0; background: none; padding: 8px 4px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-color: #ffc529; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.consent-cats { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 2px; }
.consent-cats li { border-top: 1px solid var(--line); padding: 12px 0; }
.consent-switch { width: 100%; justify-content: space-between; align-items: flex-start; gap: 16px; }
.consent-switch input { flex: none; margin-top: 2px; }
.consent-switch input:checked { background: #203160; }
.consent-switch input:disabled { opacity: .55; cursor: not-allowed; }
.consent-switch strong { font-weight: 600; }
.consent-switch em { font-style: normal; font-size: 12px; color: var(--muted); }
.consent-switch small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--muted); }
@media (prefers-color-scheme: dark) { .consent-switch input:checked { background: #ffc529; } }
@media (max-width: 600px) {
  .consent { left: 16px; bottom: 16px; }
  .consent-actions .btn { flex-basis: 100%; }
  .consent-more { width: 100%; }
}
.footer-link-btn { border: 0; background: none; padding: 0; font: inherit; color: #203160; font-weight: 500; cursor: pointer; }
.footer-link-btn:hover { text-decoration: underline; }

/* Kenn-iDsign in het menu: woorden met een streepje niet afbreken */
.nav-links a { white-space: nowrap; }
/* Compact menu tussen 1024 en 1180px (na de basisregels, zodat het ook echt geldt) */
@media (min-width: 1024px) and (max-width: 1180px) {
  .site-nav { margin-left: 24px; gap: 16px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 0 8px; font-size: 14px; }
}
