/* ==========================================================================
   Collaiga design-systeem
   Tokens → basis → layout → componenten → pagina-specifiek → utilities
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --blue: #0e6bb8;
  --blue-soft: #edf5ff;
  --bg: #ffffff;
  --bg-alt: #f6f9fd;
  --panel: #ffffff;
  --panel-contrast: #06090d;
  --ink: #10151b;
  --ink-strong: #050505;
  --muted: #5b6570;
  --line: #e4e9f0;
  --error: #c5221f;
  --focus: rgba(14, 107, 184, 0.35);
  --shadow: 0 18px 45px rgba(15, 35, 70, 0.10);
  --radius: 10px;
  --max: 1180px;
  --nav-h: 72px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --blue: #35aaf5;
  --blue-soft: #0d2236;
  --bg: #0b0f14;
  --bg-alt: #0f141b;
  --panel: #121820;
  --panel-contrast: #f4f7fa;
  --ink: #dfe6ee;
  --ink-strong: #ffffff;
  --muted: #93a0ad;
  --line: #222c37;
  --error: #ff8a80;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    --blue: #35aaf5;
    --blue-soft: #0d2236;
    --bg: #0b0f14;
    --bg-alt: #0f141b;
    --panel: #121820;
    --panel-contrast: #f4f7fa;
    --ink: #dfe6ee;
    --ink-strong: #ffffff;
    --muted: #93a0ad;
    --line: #222c37;
    --error: #ff8a80;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

/* ---------- basis ---------- */

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open, body.modal-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, p, ul, ol, figure { margin-top: 0; }

h1 {
  color: var(--ink-strong);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 900;
  margin-bottom: 20px;
}

h2 {
  color: var(--ink-strong);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  font-weight: 900;
  margin-bottom: 16px;
}

h3 {
  color: var(--ink-strong);
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 10px;
}

.h3-size { font-size: clamp(24px, 3vw, 32px); }

.lede {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  max-width: 640px;
}

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

.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;
}

.skip-link {
  position: fixed;
  left: 16px; top: -64px;
  z-index: 1000;
  background: var(--panel-contrast);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.container.narrow { max-width: 760px; }

.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.alt-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 17px; margin-bottom: 0; }

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- knoppen & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 26px rgba(14, 107, 184, 0.30);
}
.btn-primary:hover { filter: brightness(0.88); }

.btn-secondary {
  color: var(--ink-strong);
  background: var(--panel);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--blue); box-shadow: var(--shadow); }

.btn-invert {
  color: #050505;
  background: #ffffff;
}
.btn-invert:hover { background: #eaf4ff; }

.text-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--blue);
  font-weight: 800;
  font-size: 15px;
}
.text-link::after { content: " →"; }

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.icon { width: 18px; height: 18px; display: inline-block; flex: 0 0 auto; }

/* ---------- navigatie ---------- */

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink-strong);
  font-weight: 900;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand-dot { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
}
.nav-links a { position: relative; padding: 8px 0; }
.nav-links a[aria-current="page"] { color: var(--ink-strong); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { min-height: 42px; padding: 9px 16px; font-size: 14px; }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  color: var(--ink-strong);
  cursor: pointer;
}
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  color: var(--ink-strong);
  cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle span { margin: 5px 0; }
.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  display: none;
  position: fixed;
  z-index: 85;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 8px 20px 24px;
  box-shadow: var(--shadow);
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
}
.mobile-panel a {
  display: block;
  padding: 15px 0;
  color: var(--ink-strong);
  font-weight: 800;
  border-bottom: 1px solid var(--line);
}
.mobile-panel a[aria-current="page"] { color: var(--blue); }
.mobile-panel .mobile-cta { color: var(--blue); border-bottom: 0; }
.menu-open .mobile-panel { display: block; }

/* ---------- breadcrumbs ---------- */

.breadcrumbs {
  padding: calc(var(--nav-h) + 18px) 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: 0.5; }
.breadcrumbs a { color: var(--blue); font-weight: 700; }
.breadcrumbs li[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 80px;
  overflow: hidden;
}
.hero.home-hero { padding-top: calc(var(--nav-h) + 88px); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 85% 8%, rgba(14, 107, 184, 0.16), transparent 70%),
    radial-gradient(45% 45% at 5% 90%, rgba(20, 87, 255, 0.08), transparent 70%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.breadcrumbs + main .hero,
.breadcrumbs ~ main .hero { padding-top: 40px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 3px;
  background: var(--blue);
  border-radius: 99px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-note { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* hero visual: gestileerd "systeem"-paneel */
.hero-visual {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  gap: 12px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background-image:
    linear-gradient(color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(140deg, transparent 30%, rgba(0,0,0,0.9));
  pointer-events: none;
}
.flow-row {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}
.flow-dot {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}
.flow-row strong { display: block; color: var(--ink-strong); line-height: 1.2; }
.flow-row small { color: var(--muted); font-weight: 600; }
.flow-status {
  font-size: 12px;
  font-weight: 900;
  color: #0e9f6e;
  background: rgba(14, 159, 110, 0.12);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.flow-status.busy { color: var(--blue); background: var(--blue-soft); }

/* ---------- grids & kaarten ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--blue) 45%, var(--line));
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin-bottom: 0; }
.card-link-wrap { display: block; height: 100%; }

.bubble {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--blue-soft);
}
.bubble .icon { width: 22px; height: 22px; }

.chip {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 800;
}
.meta-dim { color: var(--muted); font-size: 13.5px; font-weight: 600; }

/* USP-strip */
.usp-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.usp-item { padding: 28px 30px; background: var(--bg); }
.usp-item .strip-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.usp-item strong {
  display: block;
  color: var(--ink-strong);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.15;
}
.usp-item p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* statistieken */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  text-align: center;
}
.stat-item {
  padding: 28px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.stat-item strong {
  display: block;
  color: var(--blue);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item span { color: var(--muted); font-size: 14.5px; font-weight: 600; }

/* stappen */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.step-card { padding: 24px; background: var(--panel); min-height: 230px; }
.step-no {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.step-card h3 { font-size: 19px; }
.step-card p { color: var(--muted); font-size: 15px; margin-bottom: 0; }

/* tijdlijn (over ons / werkwijze) */
.timeline { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline li {
  position: relative;
  padding: 0 0 34px 34px;
  border-left: 2px solid var(--line);
  margin-left: 10px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -8px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.timeline strong { display: block; color: var(--ink-strong); font-size: 18px; margin-bottom: 4px; }
.timeline span.tl-when { display: block; color: var(--blue); font-size: 12.5px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.timeline p { color: var(--muted); margin-bottom: 0; }

/* testimonials */
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.quote-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}
.quote-card blockquote::before { content: "“"; color: var(--blue); font-size: 40px; line-height: 0; display: block; margin: 14px 0 2px; font-weight: 900; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 42px; height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}
.quote-who strong { display: block; color: var(--ink-strong); font-size: 15px; line-height: 1.2; }
.quote-who span { color: var(--muted); font-size: 13.5px; }

/* logo/tools-band */
.logo-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}
.logo-pill {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-weight: 800;
  font-size: 15px;
}

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 0 22px;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  color: var(--ink-strong);
  font-size: 17.5px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.18s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); border-color: var(--blue); }
.faq-item .faq-a { padding: 0 0 20px; color: var(--muted); }
.faq-item .faq-a a { color: var(--blue); font-weight: 700; }

/* filters (cases, blog) */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.filter-btn {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

.search-wrap { position: relative; max-width: 420px; margin-bottom: 20px; }
.search-wrap input { padding-left: 42px; }
.search-wrap .icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.no-results { display: none; color: var(--muted); padding: 28px 0; }

/* cases */
.case-card { padding: 0; overflow: hidden; }
.case-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.45s ease; }
.case-card:hover img { transform: scale(1.03); }
.case-card-body { padding: 22px 24px 26px; }
.case-card-body h3 { margin-bottom: 6px; }
.demo-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px dashed color-mix(in srgb, var(--blue) 55%, var(--line));
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  margin-left: 8px;
  vertical-align: middle;
}
.case-hero-img {
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.case-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 36px 0;
}
.case-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.case-gallery img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; object-fit: cover; }

/* blog */
.blog-card h3 { font-size: 19px; margin: 12px 0 8px; }
.blog-card p { font-size: 15px; }
.blog-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }

.article-head { padding: 40px 0 8px; }
.article-byline { color: var(--muted); font-size: 14.5px; margin-top: 18px; }
.article-body { padding-bottom: 56px; }
.article-body h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 44px; }
.article-body h3 { margin-top: 32px; }
.article-body p, .article-body li { font-size: 17px; color: var(--ink); }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--blue);
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}
.callout {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid color-mix(in srgb, var(--blue) 30%, var(--line));
  border-radius: var(--radius);
  background: var(--blue-soft);
}
.callout p { margin-bottom: 0; }

.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 700;
}
.share-btn {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink-strong);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none !important;
}
.share-btn:hover { border-color: var(--blue); color: var(--blue); }

/* prijzen */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow); position: relative; }
.price-flag {
  position: absolute;
  top: -13px; left: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.price-amount { margin: 14px 0 4px; color: var(--ink-strong); font-size: 34px; font-weight: 900; line-height: 1; }
.price-amount small { font-size: 14px; color: var(--muted); font-weight: 700; }
.price-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; flex: 1; }
.price-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink); font-size: 15px; }
.price-list li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 900;
}

/* team */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.team-card { text-align: left; }
.team-avatar {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 16px;
}
.team-card .role { color: var(--blue); font-size: 13.5px; font-weight: 800; margin-bottom: 10px; display: block; }

/* ---------- formulieren ---------- */

.form-grid { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 800;
}
.field .optional { color: var(--muted); font-weight: 600; }

input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  color: var(--ink-strong);
  padding: 13px 14px;
  outline: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--focus);
}
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field-error { display: none; color: var(--error); font-size: 13.5px; font-weight: 700; margin-top: 5px; }
.field.has-error .field-error { display: block; }

.form-note { color: var(--muted); font-size: 13.5px; margin: 2px 0 0; }
.form-note a { color: var(--blue); font-weight: 700; }
.form-status { display: none; padding: 14px 16px; border-radius: 9px; font-weight: 700; margin-top: 4px; }
.form-status.error { display: block; background: rgba(197, 34, 31, 0.1); color: var(--error); }

.hp-field { position: absolute !important; left: -9999px !important; }

.consent-row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--muted); }
.consent-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }

/* contact-pagina */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info-list .bubble { width: 44px; height: 44px; margin: 0; }
.info-list strong { display: block; color: var(--ink-strong); }
.info-list span { color: var(--muted); }
.info-list a { color: var(--blue); font-weight: 700; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.hours-table td:last-child { text-align: right; color: var(--ink-strong); font-weight: 700; }

.map-placeholder {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  overflow: hidden;
}
.map-placeholder p { color: var(--muted); max-width: 420px; }
.map-placeholder iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- CTA-band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--blue), #1457ff);
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 0; max-width: 560px; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p { color: var(--muted); font-size: 15px; margin: 14px 0 18px; max-width: 320px; }
.footer-contact { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; color: var(--muted); font-size: 14.5px; }
.footer-contact a { color: var(--blue); font-weight: 700; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  color: var(--ink-strong);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.social-row a:hover { border-color: var(--blue); color: var(--blue); }

.footer-col h2 {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-strong);
  margin-bottom: 16px;
}
.footer-col a { display: block; padding: 5px 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.footer-col a:hover { color: var(--blue); }
.footer-news p { color: var(--muted); font-size: 14.5px; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter-row input { flex: 1; min-width: 0; }
.newsletter-row .btn { min-height: 46px; padding: 10px 16px; font-size: 14px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal a, .footer-legal .link-btn { color: var(--muted); font-weight: 600; text-decoration: none; font-size: 13.5px; }
.footer-legal a:hover, .footer-legal .link-btn:hover { color: var(--blue); }

/* ---------- scroll-to-top ---------- */

.scroll-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 60;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink-strong);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.scroll-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- cookiebanner ---------- */

.cookie-banner {
  position: fixed;
  z-index: 200;
  left: 16px; right: 16px; bottom: 16px;
  margin: 0 auto;
  max-width: 900px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 20px 22px;
}
.cookie-inner { display: grid; gap: 14px; }
.cookie-inner p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.cookie-inner a { color: var(--blue); font-weight: 700; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookie-actions .btn { min-height: 42px; padding: 9px 16px; font-size: 14px; }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 10, 16, 0.55);
  backdrop-filter: blur(4px);
}
/* display:grid zou het hidden-attribuut overschrijven; expliciet herstellen */
.cookie-modal[hidden],
.cookie-banner[hidden] { display: none; }
.cookie-modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: min(85dvh, 700px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 26px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-strong);
  cursor: pointer;
}
.cookie-modal-close:hover { border-color: var(--blue); color: var(--blue); }
.cookie-modal-card h2 { font-size: 24px; padding-right: 40px; }
.cookie-modal-card > p { color: var(--muted); font-size: 14.5px; }
.cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.cookie-cat p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.cookie-cat strong { color: var(--ink-strong); }
.cookie-always { color: var(--muted); font-size: 13px; font-weight: 800; white-space: nowrap; }

.switch { position: relative; display: inline-flex; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.switch .slider {
  width: 46px; height: 26px;
  border-radius: 999px;
  background: var(--line);
  transition: background 0.2s ease;
}
.switch .slider::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}
.switch input:checked + .slider { background: var(--blue); }
.switch input:checked + .slider::after { transform: translateX(20px); }
.switch input:focus-visible + .slider { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- animaties ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid .step-card:last-child { grid-column: span 2; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: grid; }
  .section { padding: 64px 0; }
  .grid-3, .pricing-grid, .team-grid { grid-template-columns: 1fr; }
  .usp-strip { grid-template-columns: 1fr; }
  .case-facts { grid-template-columns: 1fr; }
  .case-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container, .nav-inner { width: min(100% - 28px, var(--max)); }
  .grid-2, .grid-4, .field-row { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid .step-card:last-child { grid-column: auto; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions .btn { width: 100%; }
  .newsletter-row { flex-direction: column; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- print ---------- */

@media print {
  .site-nav, .mobile-panel, .scroll-top, .cookie-banner, .cookie-modal,
  .site-footer .footer-news, .no-print, .theme-toggle, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  main { padding-top: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 12px; color: #555; }
}
