:root {
  /* Palet: donker marineblauw als basis (60%), #273446 voor vlakken (30%), felblauw #4563ff als accent (10%).
     Alle tekstkleuren halen minimaal 4,5:1 contrast (WCAG AA). */
  --bg: #0f1724;
  --surface: #182233;
  --surface-2: #273446;
  --line: #33445c;
  --text: #e9edf3;
  --muted: #97a3b6;
  --soft-text: #c3cbd8;
  --bg-rgb: 15, 23, 36;
  --hero-glow: #1d2f5e;
  --footer-bg: #0b111b;
  --accent: #4563ff;
  --accent-rgb: 69, 99, 255;
  --accent-hover: #3a55f0;
  --accent-text: #8197ff;
  --accent-dark: #3049d8;
  --on-accent: #ffffff;
  --on-accent-muted: #ffffff;
  --light-bg: #eef1f6;
  --light-text: #0f1724;
  --light-muted: #4a5568;
  --light-line: #d4dae4;
  --radius: 10px;
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.accent { color: var(--accent); }
.eyebrow {
  font: 600 .78rem/1 var(--body);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent-text);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font: 600 1rem/1 var(--body);
  padding: 15px 26px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(var(--bg-rgb), .92); backdrop-filter: blur(10px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 1.05rem var(--head); text-decoration: none; }
.logo-img { display: block; height: 40px; width: auto; }
.logo-mark {
  display: grid; place-items: center; width: 36px; height: 36px;
  background: var(--accent); color: var(--on-accent); border-radius: 6px; font-size: .9rem;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 70% 30%, var(--hero-glow), var(--bg) 70%);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-art { width: 100%; max-width: 600px; justify-self: end; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--bg) 25%, rgba(var(--bg-rgb), .6) 60%, rgba(var(--bg-rgb), .2)),
              linear-gradient(0deg, var(--bg), transparent 30%);
}
.hero-content { position: relative; z-index: 1; }
.hero .hero-content { padding-top: 110px; padding-bottom: 70px; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 4.8rem); max-width: 14ch; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--soft-text); max-width: 56ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sections */
.section { padding: 110px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s, border-color .3s;
}
.service:hover { transform: translateY(-4px); border-color: var(--accent); }
.service-img { aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service:hover .service-img img { transform: scale(1.05); }
.service-body { position: relative; padding: 40px 28px 30px; }
.service-body > p { color: var(--muted); }
.icon {
  position: absolute; top: -28px; left: 28px;
  width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--accent); border-radius: 8px;
}
.icon svg {
  width: 26px; height: 26px; fill: none; stroke: var(--on-accent); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 26px; margin-top: 8px; font-size: .95rem; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: .5em;
  width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Tech band */
.tech-band { border-block: 1px solid var(--line); background: var(--surface); padding: 26px 0; }
.tech-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.tech-inner span {
  font: 500 .88rem var(--head); color: var(--muted);
  border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px;
}

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-media { position: relative; }
.split-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
  background: var(--surface-2);
}
.split-media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 2px solid var(--accent); border-radius: var(--radius); z-index: -1;
}
.split-media { z-index: 0; }

.section-light { background: var(--light-bg); color: var(--light-text); }
.section-light .eyebrow { color: var(--accent-dark); }
.section-light p { color: var(--light-muted); }
.section-dark { background: var(--surface); }

.steps { list-style: none; padding: 0; margin: 32px 0 0; }
.steps li { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--light-line); }
.steps li:last-child { border-bottom: 1px solid var(--light-line); }
.steps h3 { margin-bottom: .25em; font-size: 1.1rem; }
.steps p { margin: 0; }
.num { font: 700 1.5rem/1.1 var(--head); color: var(--accent-dark); min-width: 44px; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.projects-duo { grid-template-columns: repeat(2, 1fr); }
.project {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px;
  background: var(--surface-2); display: flex; align-items: flex-end;
}
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .6s; }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--bg-rgb), .97) 15%, rgba(var(--bg-rgb), .35) 65%, rgba(var(--bg-rgb), .1)); }
.project:hover img { transform: scale(1.06); }
.project-body { position: relative; z-index: 1; padding: 28px; }
.project-body p { color: var(--soft-text); margin: 0; font-size: .95rem; }
.tag {
  display: inline-block; font: 600 .72rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
  background: var(--accent); color: var(--on-accent); padding: 6px 10px; border-radius: 4px; margin-bottom: 14px;
}


/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: grid; gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-weight: 500; font-size: .92rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .2);
}
.form .btn { justify-self: start; }

/* Page hero (subpagina's) */
.page-hero {
  position: relative; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden;
  background: radial-gradient(ellipse at 70% 30%, var(--hero-glow), var(--bg) 70%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--bg) 20%, rgba(var(--bg-rgb), .55) 70%, rgba(var(--bg-rgb), .3)),
              linear-gradient(0deg, var(--bg), transparent 40%);
}
.page-hero .hero-content { padding-top: 140px; padding-bottom: 56px; }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); max-width: 18ch; }
.page-hero .lead { margin-bottom: 0; }

.nav-links a.active:not(.btn) { color: var(--text); box-shadow: 0 2px 0 var(--accent); }
.muted { color: var(--muted); }
.body-lg { font-size: 1.15rem; }
.btn-outline { background: transparent; color: var(--accent-text); }
.btn-outline:hover { background: var(--accent); color: var(--on-accent); }

.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.section-head-row h2 { margin: 0; }
.link-arrow { color: var(--accent-text); font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

/* Portfolio */
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tech-tags span {
  font: 500 .8rem var(--head); color: var(--text);
  border: 1px solid var(--line); background: rgba(var(--bg-rgb), .6); padding: 5px 11px; border-radius: 999px;
}

/* Over mij */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 28px; }
.value .num { display: block; color: var(--accent-text); margin-bottom: 18px; }
.value p { color: var(--muted); margin: 0; font-size: .95rem; }
.skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.skill-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.skill-group h3 { margin-bottom: 4px; }

/* CTA */
.cta { background: var(--accent); color: var(--on-accent); padding: 64px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; font-size: 1.08rem; color: var(--on-accent-muted); }
.cta .btn { background: var(--bg); border-color: var(--bg); color: #fff; }
.cta .btn:hover { background: var(--surface-2); border-color: var(--surface-2); }

/* Contact */
.contact-cards { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-cards li {
  display: flex; gap: 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
}
.contact-cards svg {
  width: 44px; height: 44px; padding: 10px; flex-shrink: 0; border-radius: 8px;
  background: rgba(var(--accent-rgb), .12); fill: none; stroke: var(--accent-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.contact-cards strong { display: block; font-family: var(--head); }
.contact-cards a, .contact-cards span { color: var(--muted); text-decoration: none; }
.contact-cards a:hover { color: var(--accent-text); }
.form h3 { margin: 0; }
.form-note { margin: 0; color: var(--muted); font-size: .9rem; }
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 30px 20px 0; position: relative;
  font: 600 1.05rem var(--head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 1.5rem; color: var(--accent-text); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* Footer */
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; background: var(--footer-bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer-grid p { margin-top: 16px; max-width: 34ch; }
.footer-grid h4 { font: 700 .95rem var(--head); color: var(--text); margin: 0 0 14px; }
.footer-grid a:not(.logo), .footer-grid > div > span { display: block; color: var(--muted); text-decoration: none; margin-bottom: 8px; }
.footer-grid a:not(.logo):hover { color: var(--accent-text); }
.footer-grid .logo { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 28px; }

/* Beschikbaarheid & feiten in de hero */
.status {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: .88rem; font-weight: 500; color: var(--text);
  border: 1px solid var(--line); background: rgba(var(--bg-rgb), .6);
  padding: 7px 14px; border-radius: 999px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.hero-facts { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: .95rem; }
.hero-facts li { position: relative; padding-left: 24px; }
.hero-facts li::before {
  content: ""; position: absolute; left: 2px; top: .5em;
  width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Samenwerken */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.plan > p:not(.plan-sub) { color: var(--muted); }
.plan-sub { color: var(--accent-text); font-weight: 600; font-size: .92rem; margin-top: -.4em; }
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

/* Portfolio: case studies */
.cases { display: grid; gap: 72px; }
.case { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.case-flip .case-media { order: 2; }
.case-media { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-body p { color: var(--soft-text); font-size: 1.05rem; }

/* Klikbare projecten */
a.project-link { color: inherit; text-decoration: none; }
a.project-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visit { display: inline-block; margin-top: 14px; color: var(--accent-text); font-weight: 600; font-size: .92rem; }
a.project-link:hover .visit { text-decoration: underline; }
.case-btn { margin-top: 24px; }
.case-media a { display: block; height: 100%; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; color: var(--soft-text); font-size: 1.02rem; flex: 1; }
.review figcaption strong { display: block; font-family: var(--head); }
.review figcaption span { color: var(--muted); font-size: .92rem; }
.stars { display: inline-flex; gap: 2px; font-size: 1.15rem; line-height: 1; }
.star { color: var(--line); }
.star.on { color: var(--amber, #f5b83d); }

/* Reviewformulier */
.review-page { min-height: 100vh; display: grid; place-items: center; padding: 100px 0 60px; background: radial-gradient(ellipse at 70% 20%, var(--hero-glow), var(--bg) 60%); }
.review-box { width: 100%; max-width: 620px; }
.review-box > p { color: var(--muted); }
.rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; border: 0; padding: 0; margin: 0; }

.rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating label { font-size: 2rem; line-height: 1; color: var(--line); cursor: pointer; display: block; }
.rating input:checked ~ label, .rating label:hover, .rating label:hover ~ label { color: #f5b83d; }
.rating input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.check { display: flex !important; grid-template-columns: none; flex-direction: row; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { width: auto; margin-top: 4px; }
.notice { padding: 14px 18px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.notice-error { border-color: #f0506e; color: #ffb3c1; }

/* Homepage: compact overzicht */
.section-tight { padding: 72px 0; }
.section-tight .section-head { margin-bottom: 32px; }
.mini-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-service {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: inherit; text-decoration: none; transition: border-color .2s, transform .2s;
}
.mini-service:hover { border-color: var(--accent); transform: translateY(-2px); }
.mini-service:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mini-service .icon { position: static; flex: none; width: 48px; height: 48px; }
.mini-service .icon svg { width: 24px; height: 24px; }
.mini-body { display: grid; gap: 4px; min-width: 0; }
.mini-body strong { font-family: var(--head); font-size: 1.1rem; }
.mini-body span { color: var(--muted); font-size: .94rem; line-height: 1.45; }
.mini-arrow { margin-left: auto; color: var(--accent-text); font-size: 1.2rem; }
.mini-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-steps li { display: grid; gap: 6px; padding: 20px; border-top: 3px solid var(--accent); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); }
.mini-steps .num { min-width: 0; font-size: 1.2rem; color: var(--accent-text); }
.mini-steps strong { font-family: var(--head); font-size: 1.05rem; }
.mini-steps span:last-child { color: var(--muted); font-size: .94rem; line-height: 1.45; }

/* Doorlopende reviews */
.review-loop { max-width: 760px; }
.review-track { display: grid; }
.review-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.review-slide.is-active { opacity: 1; visibility: visible; }
.review-slide blockquote { font-size: 1.15rem; }
.review-dots { display: flex; gap: 8px; margin-top: 18px; }
.review-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; }
.review-dot.is-active { background: var(--accent); width: 26px; border-radius: 999px; }
.review-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 960px) {
  .mini-services { grid-template-columns: 1fr; }
  .mini-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .mini-steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .review-slide { transition: none; } }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .services, .projects { grid-template-columns: 1fr; max-width: 560px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { justify-self: start; max-width: 520px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 560px; gap: 32px; }
  .case { grid-template-columns: 1fr; gap: 28px; }
  .case-flip .case-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact { grid-template-columns: 1fr; gap: 56px; }
  .split-media { max-width: 520px; }
  .section { padding: 80px 0; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(var(--bg-rgb), .98); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; transform: translateY(-120%); transition: transform .3s;
  }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; text-align: center; }
  .nav.open { background: rgba(var(--bg-rgb), .98); }
  .nav.open .nav-links { transform: none; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .field-row, .values, .skills { grid-template-columns: 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .page-hero { min-height: 380px; }
  .form { padding: 22px; }
  .split-media::before { inset: 14px -8px -14px 14px; }
}
.rating-label { font-weight: 500; font-size: .92rem; margin: 0 0 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Slotje naar de beheerpagina */
.lock { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; color: var(--muted); opacity: .55; transition: opacity .2s, color .2s; }
.lock:hover, .lock:focus-visible { opacity: 1; color: var(--text); }
.lock:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lock svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Versie 3: elke pagina past op één pc- of laptopscherm.
   Op telefoons en lage schermen loopt de pagina gewoon door.
   ========================================================================== */
.nav { position: sticky; inset: auto; top: 0; background: rgba(var(--bg-rgb), .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { height: 64px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.screen { position: relative; overflow: hidden; }
.screen-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; z-index: 0; pointer-events: none; }
.screen-inner { position: relative; z-index: 1; display: grid; gap: 28px; padding-block: 40px 48px; }
.screen-head h1, .about-text h1, .contact-info h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 .35em; text-wrap: balance; }
.screen-head .lead { margin: 0; max-width: 72ch; }
.screen-head .eyebrow, .about-text .eyebrow, .contact-info .eyebrow { margin-bottom: .7rem; }

/* Blokken */
.block { background: rgba(var(--bg-rgb), .55); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 14px; min-width: 0; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.block h2 { font-size: 1.15rem; margin: 0; }

/* Home */
.home-intro { min-width: 0; }
.home-intro h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 14ch; margin-bottom: .4em; }
.home-intro .lead { margin-bottom: 24px; }
.home-intro .hero-facts { margin-top: 24px; padding: 0; }
.home-side { display: grid; gap: 18px; min-width: 0; }
.home-side .mini-services { grid-template-columns: 1fr; gap: 10px; }
.home-side .mini-service { padding: 12px 16px; }
.home-side .mini-service .icon { width: 40px; height: 40px; }
.home-side .mini-service .icon svg { width: 20px; height: 20px; }
.mini-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-project { display: grid; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: inherit; text-decoration: none; min-width: 0; transition: border-color .2s; }
a.mini-project:hover { border-color: var(--accent); }
a.mini-project:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mini-project img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: var(--surface-2); }
.mini-project strong { font-family: var(--head); font-size: .95rem; line-height: 1.2; }
.mini-project span { color: var(--muted); font-size: .8rem; }
.home-reviews { max-width: none; display: flex; align-items: center; gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 22px; }
.home-reviews .review-track { flex: 1; min-width: 0; }
.home-reviews .review-slide { margin: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 2px; align-items: baseline; }
.home-reviews .stars { grid-row: span 2; font-size: 1rem; }
.home-reviews blockquote { margin: 0; font-size: 1rem; color: var(--soft-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-reviews figcaption { font-size: .88rem; color: var(--muted); }
.home-reviews figcaption strong { color: var(--text); font-family: var(--head); }
.home-reviews .review-dots { margin: 0; flex: none; }

/* Diensten */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; align-content: start; gap: 12px; min-width: 0; scroll-margin-top: 80px; }
.svc:target { border-color: var(--accent); }
.svc-top { display: flex; align-items: center; gap: 12px; }
.svc .icon { position: static; width: 44px; height: 44px; flex: none; }
.svc .icon svg { width: 22px; height: 22px; }
.svc h2 { font-size: 1.25rem; margin: 0; }
.svc p { color: var(--muted); font-size: .95rem; margin: 0; }
.svc .checks li { font-size: .9rem; margin-top: 4px; }
.plans-strip { display: grid; gap: 12px; }
.plans-strip h2 { font-size: 1.15rem; margin: 0; }
.plans-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan-mini { background: rgba(var(--bg-rgb), .55); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; min-width: 0; }
.plan-mini strong { font-family: var(--head); font-size: 1.02rem; }
.plan-mini .plan-sub { display: block; color: var(--accent-text); font-size: .85rem; font-weight: 600; margin: 2px 0 0; }
.plan-mini p { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }

/* Werkwijze */
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
.steps-compact { margin: 0; }
.steps-compact li { padding: 14px 0; border-top-color: var(--line); }
.steps-compact li:last-child { border-bottom-color: var(--line); }
.steps-compact h2 { font-size: 1.08rem; margin: 0 0 .2em; }
.steps-compact p { color: var(--muted); font-size: .94rem; margin: 0; }
.steps-compact .num { color: var(--accent-text); font-size: 1.3rem; }
.faq-col { display: grid; gap: 14px; justify-items: start; }
.faq-col h2 { font-size: 1.15rem; margin: 0; }
.faq-col .faq { gap: 8px; width: 100%; }
.faq-col .faq summary { padding: 14px 30px 14px 0; font-size: .98rem; }
.faq-col .faq summary::after { top: 10px; }
.faq-col .faq details p { font-size: .92rem; margin-top: 0; }

/* Portfolio */
.pf-grid { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 20px; }
.pf-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.pf-img { aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.pf-img img { width: 100%; height: 100%; object-fit: cover; }
.pf-body { padding: 18px; display: grid; gap: 8px; align-content: start; flex: 1; }
.pf-body .tag { justify-self: start; margin: 0; }
.pf-body h2 { font-size: 1.25rem; margin: 0; }
.pf-body p { color: var(--muted); font-size: .92rem; margin: 0; }
.pf-body .tech-tags { margin-top: 2px; }
.pf-link { justify-self: start; margin-top: 4px; }

/* Over mij */
.about-grid { display: grid; grid-template-columns: .8fr 1.25fr 1fr; gap: 32px; align-items: center; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); }
.about-text { min-width: 0; }
.about-text .lead { margin-bottom: .8em; }
.about-text p:not(.lead):not(.eyebrow) { color: var(--soft-text); font-size: .97rem; }
.about-side { display: grid; gap: 16px; min-width: 0; }
.values-list, .skills-list { margin: 0; display: grid; gap: 9px; }
.values-list dt, .skills-list dt { font-family: var(--head); font-weight: 700; font-size: .95rem; }
.values-list dd, .skills-list dd { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.45; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.contact-info { min-width: 0; }
.contact-info .lead { margin-bottom: 0; }
.contact-info .contact-cards { margin-top: 22px; }
.contact-info .small a { color: var(--accent-text); }
.form h2 { font-size: 1.2rem; margin: 0; }

/* Smalle footer */
.footer-slim { border-top: 1px solid var(--line); background: var(--footer-bg); color: var(--muted); font-size: .86rem; }
.footer-slim-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-block: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.review-page { min-height: 0; padding: 48px 0; }

/* Telefoon en tablet: onder elkaar */
@media (max-width: 1023px) {
  .svc-grid, .plans-row, .two-col, .pf-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; }
  .home-reviews { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .mini-projects { grid-template-columns: 1fr; }
  .home-reviews .review-slide { grid-template-columns: 1fr; }
  .home-reviews .stars { grid-row: auto; }
  .footer-slim-inner { flex-direction: column; align-items: flex-start; }
}

/* Pc en laptop: elke pagina precies op het scherm */
@media (min-width: 1024px) and (min-height: 600px) {
  html, body { height: 100%; }
  body { display: flex; flex-direction: column; overflow: hidden; }
  .nav, .footer-slim { flex: none; }
  .screen, .review-page { flex: 1; min-height: 0; overflow-y: auto; }
  .screen { display: flex; }
  .screen-inner { flex: 1; align-content: center; gap: clamp(14px, 2.8vh, 30px); padding-block: clamp(14px, 3.2vh, 40px); }

  .screen.home .screen-inner { grid-template-columns: 1.05fr 1fr; column-gap: 56px; align-items: center; }
  .screen.home.has-reviews .screen-inner { grid-template-rows: 1fr auto; }
  .home-reviews { grid-column: 1 / -1; }
  .home-intro h1 { font-size: clamp(2.2rem, 6.4vh, 4rem); }
  .home-intro .lead { font-size: clamp(.98rem, 2.1vh, 1.2rem); margin-bottom: clamp(12px, 2.6vh, 28px); }
  .home-intro .status { margin-bottom: clamp(8px, 1.8vh, 22px); }
  .home-intro .hero-facts { margin-top: clamp(12px, 2.6vh, 32px); }
  .home-side { gap: clamp(10px, 2vh, 20px); }
  .home-side .block { padding: clamp(12px, 1.9vh, 20px) 20px; gap: clamp(8px, 1.4vh, 14px); }
  .home-side .mini-service { padding: clamp(8px, 1.3vh, 14px) 16px; }

  .screen-head h1, .about-text h1, .contact-info h1 { font-size: clamp(1.8rem, 5vh, 2.8rem); }
  .screen-head .lead, .about-text .lead, .contact-info .lead { font-size: clamp(.95rem, 2vh, 1.15rem); }
  .svc { padding: clamp(14px, 2.4vh, 24px) 22px; gap: clamp(8px, 1.4vh, 12px); }
  .steps-compact li { padding: clamp(8px, 1.6vh, 16px) 0; }
  .pf-img { aspect-ratio: auto; height: clamp(110px, 24vh, 260px); }
  .about-photo img { aspect-ratio: auto; height: clamp(240px, 62vh, 560px); }
  .about-text p:not(.lead):not(.eyebrow) { font-size: clamp(.9rem, 1.9vh, 1rem); }
  .contact-info .contact-cards { margin-top: clamp(12px, 2.4vh, 24px); }
  .contact-info .contact-cards li { padding: clamp(10px, 1.6vh, 18px) 20px; }
  .form { padding: clamp(18px, 2.8vh, 32px); gap: clamp(10px, 1.8vh, 18px); }
}

/* Versie 3, compacter */
.home-side .mini-services { grid-template-columns: repeat(3, 1fr); }
.home-side .mini-service { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
.home-side .mini-arrow { display: none; }
.home-side .mini-body span { font-size: .86rem; }
.svc .checks { display: flex; flex-wrap: wrap; gap: 6px; }
.svc .checks li { margin: 0; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; }
.svc .checks li::before { display: none; }
.screen-head .lead { max-width: 96ch; }
.about-grid { grid-template-columns: .9fr 1.25fr 1fr; align-items: start; }
.about-left { display: grid; gap: 16px; min-width: 0; }
@media (max-width: 1023px) { .home-side .mini-services { grid-template-columns: 1fr; } }
@media (min-width: 1024px) and (min-height: 600px) {
  .screen-inner { align-content: safe center; }
  .mini-project img { aspect-ratio: auto; height: clamp(48px, 10vh, 120px); }
  .home-side .mini-service { padding: clamp(10px, 1.6vh, 16px) 14px; }
  .about-photo img { height: clamp(140px, 30vh, 420px); }
  .about-grid { align-items: center; }
  .svc p { font-size: clamp(.86rem, 1.8vh, .95rem); }
  .plan-mini p { font-size: clamp(.82rem, 1.7vh, .88rem); }
}

/* Versie 3, schaal mee met de schermhoogte */
@media (min-width: 1024px) and (min-height: 600px) {
  html { font-size: clamp(12.5px, 2.2vh, 16px); }
  .screen-head h1, .about-text h1, .contact-info h1 { margin-bottom: .25em; }
  .screen-head .eyebrow, .about-text .eyebrow, .contact-info .eyebrow { margin-bottom: .4rem; }
  .block { padding: clamp(10px, 1.8vh, 18px) 18px; }
  .svc { padding: clamp(12px, 2vh, 22px) 20px; }
  .svc .icon { width: 36px; height: 36px; }
  .svc .icon svg { width: 18px; height: 18px; }
  .plan-mini { padding: clamp(10px, 1.6vh, 14px) 16px; }
  .plans-strip { gap: 8px; }
  .mini-project { padding: 6px; }
  .mini-project img { height: clamp(40px, 8vh, 110px); }
  .home-reviews { padding: clamp(8px, 1.4vh, 14px) 22px; }
  .values-list, .skills-list { gap: clamp(4px, 1vh, 9px); }
  .footer-slim-inner { padding-block: clamp(8px, 1.4vh, 14px); }
}

/* Versie 3, diensten: rijen links, samenwerken rechts */
.dienst-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
.dienst-layout .svc-grid { grid-template-columns: 1fr; gap: 12px; }
.dienst-layout .svc { grid-template-columns: 170px 1fr; column-gap: 20px; row-gap: 8px; align-items: start; }
.dienst-layout .svc-top { grid-row: span 2; flex-direction: column; align-items: flex-start; gap: 8px; }
.dienst-layout .plans-row { grid-template-columns: 1fr; gap: 10px; }
@media (max-width: 1023px) {
  .dienst-layout { grid-template-columns: 1fr; }
  .dienst-layout .svc { grid-template-columns: 1fr; }
  .dienst-layout .svc-top { grid-row: auto; flex-direction: row; align-items: center; }
}

/* Versie 3, diensten nog compacter */
.svc p.svc-items { color: var(--accent-text); font-size: .86rem; font-weight: 500; }
.plan-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; }
.plan-top .plan-sub { margin: 0; }
@media (min-width: 1024px) and (min-height: 600px) {
  .screen-inner { max-width: 1280px; }
  .dienst-layout .svc { padding: clamp(10px, 1.7vh, 18px) 20px; row-gap: 6px; }
}
.contact-info p.small { font-size: .88rem; margin-top: 14px; }
