:root {
  --accent: #ffad01;
  --accent-ink: #1a1305;
  --bg: #faf7f0;
  --bg-elev: #ffffff;
  --bg-soft: #f0ebe0;
  --ink: #1a1812;
  --ink-2: #57534a;
  --ink-3: #8a8478;
  --line: rgba(26, 24, 18, 0.10);
  --line-strong: rgba(26, 24, 18, 0.20);
  --shadow-sm: 0 1px 2px rgba(26, 24, 18, 0.04), 0 2px 8px rgba(26, 24, 18, 0.04);
  --shadow-md: 0 4px 12px rgba(26, 24, 18, 0.06), 0 12px 32px rgba(26, 24, 18, 0.08);
  --radius: 14px;
  --radius-lg: 22px;
  --font-head: 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --head-weight: 800;
  --head-tracking: -0.02em;
}

[data-scheme="donker"] {
  --bg: #14130f;
  --bg-elev: #1d1c17;
  --bg-soft: #25231d;
  --ink: #f5f1e8;
  --ink-2: #b8b3a5;
  --ink-3: #807a6c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,.5), 0 20px 60px rgba(0,0,0,.4);
}

[data-scheme="fris"] {
  --bg: #ffffff;
  --bg-elev: #ffffff;
  --bg-soft: #f4f5f7;
  --ink: #0e1726;
  --ink-2: #475569;
  --ink-3: #94a3b8;
  --line: rgba(14, 23, 38, 0.08);
  --line-strong: rgba(14, 23, 38, 0.16);
}

[data-fonts="space"] {
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --head-weight: 700;
  --head-tracking: -0.025em;
}

[data-fonts="serif"] {
  --font-head: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --head-weight: 400;
  --head-tracking: -0.015em;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.55;
  transition: background-color .25s ease, color .25s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking);
  margin: 0;
  line-height: 1.08;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.nav-logo {
  height: 40px;
  display: flex;
  align-items: center;
}
.nav-logo img { height: 100%; width: auto; }
[data-scheme="donker"] .nav-logo img,
[data-scheme="donker"] .footer-logo img {
  filter: invert(1) hue-rotate(180deg) saturate(1.4);
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--ink); background: var(--bg-soft); }
.nav-link.active { color: var(--ink); background: var(--bg-soft); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  transition: transform .12s, box-shadow .12s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,173,1,.35); }
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 60;
  transition: background .15s;
}
.nav-burger:hover { background: var(--bg-soft); }
.nav-burger .bar {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.8px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.65,.05,.36,1), opacity .2s;
}
.nav-burger .bar.b1 { top: 16px; }
.nav-burger .bar.b2 { top: 21.5px; }
.nav-burger .bar.b3 { top: 27px; }
.nav-burger.open .bar.b1 { transform: translateY(5.5px) rotate(45deg); }
.nav-burger.open .bar.b2 { opacity: 0; transform: scaleX(0); }
.nav-burger.open .bar.b3 { transform: translateY(-5.5px) rotate(-45deg); }

/* Backdrop */
.nav-backdrop {
  position: fixed;
  inset: 72px 0 0 0;
  background: rgba(10, 9, 7, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  z-index: 49;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, background-color .3s, backdrop-filter .3s;
}
.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
  background: rgba(10, 9, 7, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Mobile drawer */
.nav-mobile {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(0,0,0,.16);
  padding: 18px 18px 24px;
  z-index: 50;
  transform: translateY(-110%);
  transition: transform .42s cubic-bezier(.22,.61,.36,1);
  visibility: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open {
  transform: translateY(0);
  visibility: visible;
}
.nav-mobile a {
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s, transform .3s, background .15s;
}
.nav-mobile a::after {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 1.5px solid var(--ink-3);
  border-top: 1.5px solid var(--ink-3);
  transform: rotate(45deg);
  margin-right: 4px;
  opacity: 0.6;
}
.nav-mobile a.active { background: var(--bg-soft); color: var(--ink); }
.nav-mobile a:hover { background: var(--bg-soft); }
.nav-mobile.open a {
  opacity: 1;
  transform: translateY(0);
}
.nav-mobile.open a:nth-child(1) { transition-delay: .06s; }
.nav-mobile.open a:nth-child(2) { transition-delay: .10s; }
.nav-mobile.open a:nth-child(3) { transition-delay: .14s; }
.nav-mobile.open a:nth-child(4) { transition-delay: .18s; }
.nav-mobile.open a:nth-child(5) { transition-delay: .22s; }
.nav-mobile.open a:nth-child(6) { transition-delay: .26s; }
.nav-mobile-cta {
  margin-top: 14px;
  padding: 16px 18px !important;
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
  justify-content: center !important;
  gap: 8px;
  font-weight: 700 !important;
  opacity: 0;
  transform: translateY(-8px);
}
.nav-mobile-cta::after { display: none; }
.nav-mobile.open .nav-mobile-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .30s;
}

body.nav-locked { overflow: hidden; }

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

/* ─── Chevron accent (triple > > >) ─── */
.chevrons {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  color: var(--accent);
}
.chevrons span {
  display: block;
  background: currentColor;
  clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%, 40% 50%);
}
.chevrons-sm span { width: 8px; height: 11px; }
.chevrons-md span { width: 11px; height: 15px; }
.chevrons-lg span { width: 14px; height: 19px; }

/* On primary/yellow-background buttons chevrons read white for contrast */
.btn-primary .chevrons,
.nav-cta .chevrons,
.slagings .btn-ghost .chevrons { color: #fff; }
.btn-banner-ghost .chevrons,
.btn-ghost .chevrons { color: var(--accent); }
.btn-primary { gap: 12px; }
.btn-ghost { gap: 10px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  transition: transform .12s, box-shadow .12s, background .15s;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,173,1,.35); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-soft); }

/* ─── Sections ─── */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section-tight { padding: 40px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--accent);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 24px 0 64px;
}
@media (max-width: 720px) {
  .hero { padding: 16px 0 48px; }
}

/* Full-width banner with car image + brand title overlay */
.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a0907;
  isolation: isolate;
  box-shadow: var(--shadow-md);
}
.hero-banner.is-tall {
  /* on mobile, hero on home page is taller for impact */
}
@media (min-width: 600px) {
  .hero-banner { aspect-ratio: 16 / 10; }
}
@media (min-width: 880px) {
  .hero-banner { aspect-ratio: 21 / 9; }
  .hero-banner.is-tall { aspect-ratio: 16 / 8; }
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
  /* subtle slow zoom for a "living" hero */
  animation: bannerZoom 18s ease-in-out infinite alternate;
}
@keyframes bannerZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-banner-img { animation: none; }
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.18) 22%,
      rgba(0,0,0,0.08) 45%,
      rgba(0,0,0,0.45) 75%,
      rgba(0,0,0,0.82) 100%);
  z-index: 1;
}

.hero-banner-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(20px, 4vw, 48px);
  color: #fff;
}

.hero-banner-top { display: flex; }
.hero-banner-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.95);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-banner-middle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero-banner-title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: -0.04em;
  line-height: 0.86;
  /* set up wrap behavior */
  display: flex;
  flex-direction: column;
  text-wrap: balance;
}
.hero-banner-title-1 {
  color: var(--accent);
  font-size: clamp(40px, 12vw, 96px);
}
.hero-banner-title-2 {
  color: #fff;
  font-size: clamp(56px, 18vw, 168px);
  margin-top: -0.03em;
}
@media (min-width: 880px) {
  .hero-banner-title-1 { font-size: clamp(54px, 6.4vw, 100px); }
  .hero-banner-title-2 { font-size: clamp(80px, 9.6vw, 156px); }
}

.hero-banner-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.hero-banner-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-banner-sub b {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(15px, 2.4vw, 20px);
  color: #fff;
  letter-spacing: -0.01em;
}
.hero-banner-sub span {
  font-size: clamp(12.5px, 1.8vw, 15px);
  color: rgba(255, 255, 255, 0.78);
}

.hero-banner-chevrons {
  display: flex;
  gap: 4px;
  align-self: flex-end;
}
.hero-banner-chevrons span {
  display: block;
  width: 10px;
  height: 14px;
  clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%, 40% 50%);
  background: var(--accent);
}
@media (min-width: 880px) {
  .hero-banner-chevrons span { width: 14px; height: 18px; }
}

/* CTAs inside the banner */
.hero-banner-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-self: flex-end;
}
.hero-banner-ctas .btn-primary {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.btn-banner-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  transition: background .15s, transform .12s;
}
.btn-banner-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}
@media (max-width: 540px) {
  .hero-banner-ctas { width: 100%; }
  .hero-banner-ctas .btn-primary,
  .hero-banner-ctas .btn-banner-ghost { flex: 1; justify-content: center; padding: 12px 14px; }
}

/* Pitch block below the banner */
.hero-pitch {
  margin-top: 32px;
  max-width: 760px;
}
.hero-pitch .hero-lede {
  margin: 0;
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--ink-2);
}
.hero-pitch .hero-ctas {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-pitch .hero-meta {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-meta-item .n {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: var(--head-tracking);
  color: var(--ink);
  line-height: 1;
}
.hero-meta-item .l {
  font-size: clamp(12px, 1.5vw, 13.5px);
  color: var(--ink-2);
  margin-top: 6px;
}
@media (max-width: 540px) {
  .hero-pitch .hero-meta {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ─── Card ─── */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card-hover:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

/* ─── Services strip ─── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.svc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
[data-scheme="donker"] .svc-icon { background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); }
.svc-card h3 { font-size: 22px; }
.svc-card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.svc-meta { display: flex; gap: 16px; font-size: 13px; color: var(--ink-3); margin-top: auto; padding-top: 10px; }
.svc-meta b { color: var(--ink); font-weight: 600; }

/* ─── Section heading ─── */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 44px); max-width: 16ch; }
.section-head p { color: var(--ink-2); max-width: 40ch; margin: 0; }

/* ─── Reviews ─── */
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.reviews-summary .big {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 56px;
  letter-spacing: var(--head-tracking);
  line-height: 1;
}
.reviews-summary .stars { display: flex; gap: 2px; color: var(--accent); font-size: 20px; }
.reviews-summary .meta { color: var(--ink-2); font-size: 14px; }
.reviews-summary .meta b { color: var(--ink); }
.google-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
}
.google-link:hover { background: var(--bg-soft); }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .review-grid { grid-template-columns: 1fr; } }

.review {
  padding: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review .stars { color: var(--accent); font-size: 14px; letter-spacing: 1px; }
.review .body { font-size: 14.5px; color: var(--ink); line-height: 1.55; }
.review .by { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; }
.review .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-soft); color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.review .by-meta { line-height: 1.2; }
.review .by-meta b { font-size: 14px; font-weight: 600; display: block; }
.review .by-meta span { font-size: 12px; color: var(--ink-3); }

/* Featured layout */
.review-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.review-featured .review.lead {
  padding: 36px;
  background: var(--bg-elev);
}
.review-featured .review.lead .body { font-size: 22px; line-height: 1.4; font-family: var(--font-head); font-weight: 500; letter-spacing: -0.01em; }
.review-featured .right-col { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 880px) {
  .review-featured { grid-template-columns: 1fr; }
}

/* Marquee */
.review-marquee {
  overflow: hidden;
  position: relative;
  margin: 0 -24px;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.review-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 60s linear infinite;
  padding: 0 24px;
}
.review-marquee .review { width: 340px; flex-shrink: 0; }
.review-marquee:hover .review-marquee-track { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Slagings card ─── */
.slagings {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-lg);
  padding: 56px 56px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.slagings::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  pointer-events: none;
}

/* Car illustration inside slagings */
.car-wrap {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(24px, 5vw, 64px);
  margin-top: 8px;
  pointer-events: none;
  z-index: 2;
}
.car-illustration {
  display: block;
}
.car-illustration svg {
  display: block;
  width: 100%;
  height: auto;
}
/* Wheels are synced to the same 6s traffic light cycle:
   stopped during red (0-50%), accelerating from green, holding through amber. */
@keyframes wheelDrive {
  0%, 50%   { transform: rotate(0deg); }
  60%       { transform: rotate(60deg); }
  92%, 100% { transform: rotate(720deg); }
}
.car-wheel {
  animation: wheelDrive 6s cubic-bezier(.4,.0,.6,1) infinite;
}

/* Brake lights pulse ON during red, OFF during green. Same 6s cycle as the
   traffic light so the two feel synchronised. */
.brake-lights {
  opacity: 0;
  filter: drop-shadow(0 0 4px #ff3030);
  animation: brakeCycle 6s steps(1, end) infinite;
}
@keyframes brakeCycle {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* Traffic light lights cycle through red → red+amber → green → amber */
.tl-red   { animation: tlRed 6s infinite; }
.tl-amber { animation: tlAmber 6s infinite; }
.tl-green { animation: tlGreen 6s infinite; }
@keyframes tlRed {
  0%, 50%      { fill: #ff3a3a; filter: drop-shadow(0 0 6px #ff2020); }
  50.01%, 100% { fill: #3a1818; filter: none; }
}
@keyframes tlAmber {
  0%, 45%      { fill: #3a2a18; filter: none; }
  45.01%, 55%  { fill: #ffad01; filter: drop-shadow(0 0 6px #ffad01); }
  55.01%, 92%  { fill: #3a2a18; filter: none; }
  92.01%, 100% { fill: #ffad01; filter: drop-shadow(0 0 6px #ffad01); }
}
@keyframes tlGreen {
  0%, 55%      { fill: #183a1f; filter: none; }
  55.01%, 92%  { fill: #3ae84a; filter: drop-shadow(0 0 6px #3ae84a); }
  92.01%, 100% { fill: #183a1f; filter: none; }
}

.traffic-light {
  display: block;
  flex-shrink: 0;
  align-self: flex-end;
}
@media (max-width: 540px) {
  .traffic-light { width: 36px; height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .car-wheel, .brake-lights, .tl-red, .tl-amber, .tl-green { animation: none; }
}
.slagings .pct {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: clamp(80px, 13vw, 180px);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.slagings h3 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 14px; }
.slagings p { font-size: 16px; opacity: 0.85; margin: 0 0 22px; }
.slagings .btn-ghost {
  border-color: rgba(26,19,5,.3);
  color: var(--accent-ink);
}
.slagings .btn-ghost:hover { background: rgba(26,19,5,.08); }
@media (max-width: 720px) {
  .slagings { grid-template-columns: 1fr; padding: 36px 36px 0; }
}

/* ─── Process / steps ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.step .n {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 36px;
  color: var(--accent);
  letter-spacing: var(--head-tracking);
  line-height: 1;
}
.step h4 { font-size: 19px; margin-top: 12px; }
.step p { color: var(--ink-2); font-size: 14.5px; margin: 6px 0 0; }

/* ─── Pricing ─── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 1080px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .price-grid { grid-template-columns: 1fr; } }

.price {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
  position: relative;
}
.price .tag {
  position: absolute;
  top: -10px; left: 24px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.price h3 { font-size: 20px; }
.price .num {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 38px;
  letter-spacing: var(--head-tracking);
  line-height: 1;
}
.price .per { color: var(--ink-2); font-size: 14px; margin-left: 6px; font-family: var(--font-body); font-weight: 500; letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--ink); }
.price ul li { display: flex; gap: 10px; align-items: flex-start; }
.price ul li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 3px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 9.5 7.5 13 14 6'/></svg>");
  background-size: 18px;
}
[data-scheme="donker"] .price ul li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23ffad01' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 9.5 7.5 13 14 6'/></svg>");
}

/* ─── Footer ─── */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  margin-top: 80px;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--ink-2); font-size: 14.5px; }
.footer-links a:hover { color: var(--ink); }
.footer-logo img { height: 56px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }

/* ─── Page header (non-home) ─── */
.page-head {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(36px, 5vw, 60px); margin-top: 14px; }
.page-head p { margin: 18px 0 0; color: var(--ink-2); font-size: 18px; max-width: 32em; }

/* ─── Over feature card (visualizes the 5 bullet points) ─── */
.over-feature-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.over-feature-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.over-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent-ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
[data-scheme="donker"] .over-feature-badge {
  background: color-mix(in srgb, var(--accent) 24%, transparent);
  color: var(--accent);
}
.over-feature-locale {
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 500;
}

.over-feature-hero {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.over-feature-hero-text { display: flex; flex-direction: column; gap: 8px; }
.over-feature-pct {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: clamp(56px, 9vw, 80px);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.over-feature-pct span { font-size: 0.5em; margin-left: 2px; }
.over-feature-hero p {
  margin: 0;
  font-size: 14px;
  max-width: 16em;
  opacity: 0.78;
  line-height: 1.4;
}
.over-feature-ring { flex-shrink: 0; }
.over-feature-ring svg { display: block; }

.over-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 540px) {
  .over-feature-grid { grid-template-columns: 1fr; }
}
.over-feature-cell {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.over-feature-cell-icon {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
[data-scheme="donker"] .over-feature-cell-icon {
  background: color-mix(in srgb, var(--accent) 24%, transparent);
  color: var(--accent);
}
.over-feature-cell-key {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 22px;
  letter-spacing: var(--head-tracking);
  line-height: 1;
  color: var(--ink);
}
.over-feature-cell-key small {
  font-size: 0.6em;
  font-weight: 600;
  color: var(--ink-2);
  margin-left: 2px;
}
.over-feature-cell-val {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.4;
}

.over-feature-progress {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 18px;
}
.over-feature-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.over-feature-progress-head span {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.over-feature-progress-head b {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.over-feature-progress-bar {
  position: relative;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  margin: 12px 6px 14px;
}
.over-feature-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--accent);
  border-radius: 3px;
}
.over-feature-progress-bar > span {
  position: absolute;
  top: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 2px solid var(--ink-3);
  transform: translate(-50%, -50%);
  z-index: 1;
}
.over-feature-progress-bar > span:nth-child(1),
.over-feature-progress-bar > span:nth-child(2),
.over-feature-progress-bar > span:nth-child(3) {
  background: var(--accent);
  border-color: var(--accent);
}
.over-feature-progress-legend {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-3);
  padding: 0 4px;
}
.over-feature-progress-legend span {
  text-align: left;
}
.over-feature-progress-legend span:nth-child(2) { text-align: center; flex: 1; }
.over-feature-progress-legend span:nth-child(3) { text-align: center; flex: 1; }
.over-feature-progress-legend span:last-child { text-align: right; }
.over-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) { .over-grid { grid-template-columns: 1fr; } }
.over-grid img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg);
}
.over-grid h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 18px; }
.over-grid p { color: var(--ink-2); font-size: 16.5px; margin: 0 0 14px; }
.team-row {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.team-row .card { padding: 22px; }
.team-row h4 { font-size: 19px; }
.team-row .role { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 18%, transparent); display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
[data-scheme="donker"] .team-row .role { background: color-mix(in srgb, var(--accent) 24%, transparent); color: var(--accent); }
.team-row p { color: var(--ink-2); font-size: 14px; margin: 0; }
@media (max-width: 540px) { .team-row { grid-template-columns: 1fr; } }

/* ─── Theorie ─── */
.theorie-hero {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 880px) { .theorie-hero { grid-template-columns: 1fr; padding: 28px; } }
.theorie-hero h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.theorie-hero p { color: var(--ink-2); font-size: 16.5px; margin: 0 0 12px; }
.itheorie-card {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, var(--bg-soft)), var(--bg-soft));
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.itheorie-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  align-self: flex-start;
}
.itheorie-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #1e9e51; }
.itheorie-card h3 { font-size: 22px; }
.itheorie-card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.itheorie-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}
.itheorie-feat div {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
}
.itheorie-feat div b { font-weight: 700; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 720px) { .faq-grid { grid-template-columns: 1fr; } }
.faq {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s, background .18s;
}
.faq:hover { border-color: var(--line-strong); }
.faq.is-open { border-color: color-mix(in srgb, var(--accent) 40%, var(--line-strong)); }
.faq-summary {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
}
.faq-summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.faq-icon {
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 300;
  color: var(--ink-3);
  line-height: 1;
  transition: transform .28s cubic-bezier(.22,.61,.36,1), color .2s;
}
.faq.is-open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.22,.61,.36,1);
}
.faq.is-open .faq-body { grid-template-rows: 1fr; }
.faq-body-inner { overflow: hidden; min-height: 0; }
.faq-body p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s .08s, transform .3s .08s;
}
.faq.is-open .faq-body p { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .faq-body, .faq-icon, .faq-body p { transition: none; }
}

/* ─── Stagger reveal-on-scroll for lists ─── */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease-out, transform .6s cubic-bezier(.22,.61,.36,1);
}
[data-stagger].in-view > * { opacity: 1; transform: translateY(0); }
[data-stagger].in-view > *:nth-child(1) { transition-delay: .05s; }
[data-stagger].in-view > *:nth-child(2) { transition-delay: .12s; }
[data-stagger].in-view > *:nth-child(3) { transition-delay: .19s; }
[data-stagger].in-view > *:nth-child(4) { transition-delay: .26s; }
[data-stagger].in-view > *:nth-child(5) { transition-delay: .33s; }
[data-stagger].in-view > *:nth-child(6) { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  [data-stagger] > * { opacity: 1; transform: none; transition: none; }
}

/* ─── Contact ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: 0; }
.contact-icon {
  width: 40px; height: 40px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent-ink);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
[data-scheme="donker"] .contact-icon { background: color-mix(in srgb, var(--accent) 24%, transparent); color: var(--accent); }
.contact-row .l { font-size: 13px; color: var(--ink-3); }
.contact-row .v { font-size: 16.5px; color: var(--ink); font-weight: 500; margin-top: 2px; word-break: break-word; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select {
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }

/* ─── Misc ─── */
.divider { height: 1px; background: var(--line); border: 0; margin: 56px 0; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #1e9e51; }

.success {
  background: color-mix(in srgb, #1e9e51 14%, var(--bg-elev));
  border-color: color-mix(in srgb, #1e9e51 40%, var(--line));
  color: var(--ink);
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid;
  font-size: 15px;
}

.bullet-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bullet-list li { padding-left: 24px; position: relative; font-size: 15.5px; color: var(--ink); }
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 3px;
  transform: rotate(45deg);
}

/* ─── Exam table (tarieven) ─── */
.exam-grid {
  margin-top: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.exam-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.exam-row:last-child { border-bottom: 0; }
.exam-row-label { font-size: 17px; font-weight: 500; }
.exam-row-price {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 22px;
  letter-spacing: var(--head-tracking);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.fineprint {
  margin-top: 32px;
  padding: 28px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.fineprint h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.fineprint ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fineprint ul li {
  font-size: 14.5px;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}
.fineprint ul li::before {
  content: "*";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}
.fineprint-update {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}
