/* ============================================================
   PollyDevelopment - studio layer
   Vormgeving bovenop styles.css. Alle waarden centraal in tokens.
   ============================================================ */

:root {
  color-scheme: light;
  --bg: #f0f3ec;
  --surface: #e4eadf;
  --raised: #fbfcf8;
  --ink: #131c16;
  --muted: #4f5d54;
  --accent: #2f5d3d;
  --accent-ink: #f2f7ee;
  --mint: #cbe3a4;
  --line: #ccd5c7;
  --line-soft: #dde3d8;
  --photo: #dce4d6;
  --img-filter: grayscale(1) contrast(.95) brightness(1.5);
  --img-tint: .6;
  --img-shade: .4;
  --shot-brightness: 1;

  --radius: 18px;
  --radius-lg: 26px;
  --header: 64px;
  --shell: 1260px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(56px, 8vw, 104px);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0f1612;
    --surface: #17211c;
    --raised: #1b2620;
    --ink: #eaf2e7;
    --muted: #a7b6ac;
    --accent: #cbe3a4;
    --accent-ink: #0f1612;
    --mint: #cbe3a4;
    --line: #2a3830;
    --line-soft: #22302a;
    --photo: #17211c;
    --img-filter: grayscale(1) contrast(1.05) brightness(.72);
    --img-tint: .8;
    --img-shade: .45;
  --shot-brightness: .88;
    --shot-brightness: .88;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1612;
  --surface: #17211c;
  --raised: #1b2620;
  --ink: #eaf2e7;
  --muted: #a7b6ac;
  --accent: #cbe3a4;
  --accent-ink: #0f1612;
  --mint: #cbe3a4;
  --line: #2a3830;
  --line-soft: #22302a;
  --photo: #17211c;
  --img-filter: grayscale(1) contrast(1.05) brightness(.72);
  --img-tint: .8;
  --img-shade: .45;
  --shot-brightness: .88;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16.5px/1.65 Manrope, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--mint); color: #131c16; }

.container {
  width: min(var(--shell), calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
}

h1, h2, h3 { letter-spacing: -0.035em; text-wrap: balance; }
p { text-wrap: pretty; color: var(--muted); }
h1 { margin-bottom: 0; }
h2 { margin-bottom: 20px; }
em { color: var(--accent); font-style: italic; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}

/* ---------- header ---------- */

.brand-bar { display: none; }

header.container {
  position: sticky;
  top: 14px;
  z-index: 40;
  width: min(1080px, calc(100% - 28px));
  height: var(--header);
  margin: 14px auto 0;
  padding: 0 8px 0 14px;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 55%, transparent),
    0 10px 30px color-mix(in srgb, var(--ink) 7%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
header.container.is-compact {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 45%, transparent),
    0 16px 36px color-mix(in srgb, var(--ink) 12%, transparent);
}

header .brand { font-size: 15px; letter-spacing: -0.04em; margin-right: auto; }
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}
.brand-sub { font-size: 9.5px; letter-spacing: .14em; color: var(--muted); margin-top: 3px; }

header nav { gap: 2px; font-size: 13px; font-weight: 700; }
header nav > a:not(.button) {
  position: relative;
  padding: 9px 12px;
  border-radius: 999px;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  transition: color .2s var(--ease), background .2s var(--ease);
}
header nav > a:not(.button):hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
header nav > a[aria-current] { color: var(--ink); }
header nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
header nav > a[aria-current]::after,
header nav > a:not(.button):hover::after { transform: scaleX(1); }

.theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  display: grid;
  place-items: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.theme-toggle:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.theme-toggle:active { transform: scale(.94); }

.menu-toggle { display: none; }

/* taal: rustige utiliteitsregel onder de nav, geen tweede pil */
.language-bar {
  width: min(1080px, calc(100% - 28px));
  padding: 10px 4px 0;
  border: 0;
}
.language-bar nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.language-bar nav span { display: none; }
.language-bar a { padding: 2px 0; border-bottom: 1px solid transparent; }
.language-bar a:hover { color: var(--ink); }
.language-bar a[aria-current] {
  color: var(--ink);
  text-decoration: none;
  border-bottom-color: var(--accent);
}

/* ---------- knoppen en links ---------- */

.button {
  min-height: 48px;
  padding: 12px 12px 12px 20px;
  gap: 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: 0;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 70%, black);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), opacity .22s var(--ease);
}
.button:hover { transform: translateY(-2px); opacity: 1; box-shadow: 0 6px 18px color-mix(in srgb, var(--ink) 22%, transparent); }
.button:active { transform: translateY(1px) scale(.985); box-shadow: none; }
.button [aria-hidden] {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 18%, transparent);
  font-size: 13px;
}
header .button { min-height: 38px; padding: 7px 8px 7px 15px; font-size: 12.5px; }
header .button [aria-hidden] { width: 24px; height: 24px; }

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  box-shadow: none;
}
.button.secondary [aria-hidden] { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.button.secondary:hover {
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
  transition: border-color .2s var(--ease), color .2s var(--ease), gap .2s var(--ease);
}
.text-link:hover { color: var(--accent); border-bottom-color: var(--accent); gap: 12px; }
.text-link span { font-size: 12px; }

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

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

body.home .hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 4.5vw, 56px) 0 clamp(40px, 5vw, 60px);
}

.hero-copy { max-width: 660px; }
.hero h1 {
  font-size: clamp(42px, 5.1vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
}
.hero h1 em { color: var(--accent); }
.hero .lead {
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.65;
  max-width: 40ch;
  margin: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* foto's: duotone in de merkkleur, zodat stock niet uit de toon valt */
.hero-photo,
body.home .consultancy-banner figure {
  position: relative;
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--photo);
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 35%, transparent);
}
.hero-photo { aspect-ratio: 4 / 3.55; }
.hero-photo img,
body.home .consultancy-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--img-filter);
}
.hero-photo::before,
body.home .consultancy-banner figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--accent);
  mix-blend-mode: color;
  opacity: var(--img-tint);
  pointer-events: none;
}
.hero-photo::after,
body.home .consultancy-banner figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(200deg, transparent 55%, color-mix(in srgb, var(--ink) 32%, transparent)),
    radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--mint) 20%, transparent), transparent 60%);
  mix-blend-mode: multiply;
  opacity: var(--img-shade);
  pointer-events: none;
}
body.home .consultancy-banner img { filter: grayscale(1) contrast(1.06) brightness(calc(var(--shot-brightness, 1) * .78)); }
body.home .consultancy-banner figure::before { opacity: calc(var(--img-tint) + .1); }
body.home .consultancy-banner figure::after { opacity: calc(var(--img-shade) + .1); }

/* ---------- bewijsregel ---------- */

body.home .proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(24px, 4vw, 48px);
}
.proof-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 30px 28px 0;
}
.proof-item + .proof-item { border-left: 1px solid var(--line); padding-left: 30px; }
.proof-key {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.proof-item p { margin: 0; font-size: 14.5px; line-height: 1.55; max-width: 34ch; }

/* ---------- websitebouw-promo ---------- */

body.home .website-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  margin-top: var(--section);
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--mint) 26%, transparent), transparent 58%),
    var(--surface);
}
body.home .website-promo h2 { margin-bottom: 12px; max-width: 18ch; font-size: clamp(28px, 3.2vw, 42px); }
body.home .website-promo p { margin: 0; max-width: 46ch; font-size: 15.5px; }
.promo-copy { max-width: 760px; }
.promo-label { display: none; }
.promo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 1.5px solid var(--accent);
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.promo-link:hover { gap: 14px; color: var(--accent); }

/* ---------- diensten ---------- */

body.home .services {
  padding: var(--section) 0;
  border: 0;
}
body.home .section-top {
  display: block;
  max-width: 760px;
  margin-bottom: 40px;
}
body.home .section-top h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); max-width: 22ch; }
body.home .section-top p { margin: 14px 0 0; max-width: 44ch; font-size: 16px; }

body.home .service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
body.home .service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--raised);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
body.home .service-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 10%, transparent);
}
body.home .service-card--lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  min-height: 0;
  padding: 34px 32px;
  background:
    radial-gradient(90% 180% at 100% 0%, color-mix(in srgb, var(--mint) 34%, transparent), transparent 62%),
    var(--raised);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.service-icon svg { width: 22px; height: 22px; }
body.home .service-card::after {
  content: attr(data-num);
  position: absolute;
  right: 18px;
  bottom: -26px;
  font-size: 128px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: color-mix(in srgb, var(--ink) 7%, transparent);
  pointer-events: none;
}
body.home .service-card--lead::after { font-size: 208px; bottom: -66px; right: 4px; }
body.home .service-card:hover::after { color: color-mix(in srgb, var(--accent) 16%, transparent); }
body.home .service-card h3 { font-size: 24px; margin: 0; letter-spacing: -0.03em; }
body.home .service-card--lead h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 8px; }
body.home .service-card p { margin: 0; font-size: 15px; line-height: 1.6; max-width: 42ch; }
.service-body { display: flex; flex-direction: column; gap: 8px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--ink);
}
.card-link span { color: var(--accent); font-size: 12px; transition: transform .25s var(--ease); }
body.home .service-card:hover .card-link span { transform: translate(3px, -3px); }
body.home .service-card--lead .card-link { margin-top: 8px; justify-content: flex-start; }

/* ---------- persoonlijk ---------- */

body.home .personal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 80px);
  max-width: none;
  padding: var(--section) 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
}
body.home .personal h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  max-width: 22ch;
}
.personal-body { display: flex; flex-direction: column; gap: 16px; }
.personal-body p { margin: 0; font-size: 16.5px; line-height: 1.72; max-width: 58ch; }
.personal-body .text-link { margin-top: 6px; align-self: flex-start; }

/* ---------- proces ---------- */

body.home .process {
  display: block;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  margin-bottom: var(--section);
}
body.home .process-head { max-width: 62ch; margin-bottom: clamp(24px, 3vw, 38px); }
body.home .process h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 14px; }
body.home .process-head p { margin: 0; font-size: 16px; max-width: 52ch; }
body.home .process-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.process-visual {
  position: sticky;
  top: 96px;
  border-radius: 20px;
  isolation: isolate;
}
#process-canvas {
  display: none;
  width: 100%;
  aspect-ratio: 5 / 4;
  touch-action: manipulation;
}
.process-visual.has-scene #process-canvas { display: block; }
.process-visual.has-scene .process-fallback { display: none; }
.process-fallback {
  display: block;
  width: 100%;
  height: auto;
  color: var(--accent);
  overflow: visible;
}
.process-fallback .flow { animation: flowdash 4s linear infinite; }
@keyframes flowdash {
  to { stroke-dashoffset: -48; }
}
.process-caption {
  margin: 6px 0 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--muted);
}
.process-more { margin-top: 26px; }
body.home .process ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}
body.home .process li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-left: 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
body.home .process li:first-child { border-top: 0; padding-top: 0; }
body.home .process li:last-child { padding-bottom: 0; }
.step-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--accent);
  padding-top: 6px;
  font-variant-numeric: tabular-nums;
}
body.home .process h3 { font-size: 19px; margin: 0 0 6px; letter-spacing: -0.02em; }
body.home .process li p { margin: 0; max-width: 46ch; font-size: 14.5px; }

/* ---------- consultancy ---------- */

body.home .consultancy-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: var(--section);
}
body.home .consultancy-banner figure { aspect-ratio: 4 / 3.2; }
body.home .consultancy-banner > div { display: flex; flex-direction: column; align-items: flex-start; }
body.home .consultancy-banner h2 { font-size: clamp(30px, 3.6vw, 50px); margin-bottom: 16px; }
body.home .consultancy-banner p:not(.eyebrow) { max-width: 42ch; margin-bottom: 26px; font-size: 16px; }

/* ---------- review ---------- */

body.home .review-promo {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: var(--section);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(100% 160% at 0% 0%, color-mix(in srgb, var(--mint) 22%, transparent), transparent 60%),
    var(--surface);
}
body.home .review-promo h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; }
body.home .review-promo p { font-size: 15.5px; max-width: 46ch; margin-bottom: 20px; }
body.home .review-promo img {
  width: 100%;
  background: none;
  filter: brightness(var(--shot-brightness, 1)) drop-shadow(0 26px 44px color-mix(in srgb, var(--ink) 18%, transparent));
}

/* ---------- slot-CTA ---------- */

body.home .cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(32px, 4vw, 52px);
  margin-bottom: clamp(56px, 7vw, 88px);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: var(--accent-ink);
}
body.home .cta h2 { margin: 0 0 10px; font-size: clamp(28px, 3.4vw, 46px); color: inherit; }
body.home .cta p { margin: 0; color: color-mix(in srgb, var(--accent-ink) 90%, transparent); max-width: 44ch; font-size: 15.5px; }
body.home .cta .button {
  flex: none;
  background: var(--accent-ink);
  color: var(--accent);
  box-shadow: none;
}
body.home .cta .button [aria-hidden] { background: color-mix(in srgb, var(--accent) 16%, transparent); }
body.home .cta .button:hover { box-shadow: 0 8px 24px color-mix(in srgb, black 22%, transparent); }

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

footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .8fr));
  gap: 32px;
  align-items: start;
  padding: clamp(36px, 5vw, 60px) 0 clamp(28px, 4vw, 44px);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .brand { font-size: 16px; }
.footer-brand p { margin: 0; font-size: 13.5px; line-height: 1.6; max-width: 30ch; }
.footer-col { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.footer-col > span:first-child {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.footer-col a { color: var(--ink); width: fit-content; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-contact a { font-weight: 700; }
.footer-place { font-size: 13px; color: var(--muted); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}
.footer-lang { display: flex; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.footer-lang a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-lang a:hover { color: var(--accent); }

/* ---------- beweging ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .hero-photo { animation: rise .9s .1s var(--ease) both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }
}
[data-reveal].reveal-ready { opacity: 0; transform: translateY(24px); }
[data-reveal].revealed { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ---------- responsief ---------- */

@media (max-width: 1100px) {
  header nav { gap: 0; font-size: 12.5px; }
  header nav > a:not(.button) { padding: 9px 8px; }
  body.home .service-card--lead { gap: 20px; }
}

@media (max-width: 900px) {
  :root { --header: 60px; }
  header nav { display: none; }
  .menu-toggle {
    display: grid;
    place-items: center;
    order: 3;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    font-size: 0;
    position: relative;
  }
  .menu-toggle .bar {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .3s var(--ease), top .3s var(--ease);
  }
  .menu-toggle .bar:first-child { top: 15px; }
  .menu-toggle .bar:last-child { top: 21px; }
  .menu-toggle[aria-expanded="true"] .bar:first-child { top: 18px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bar:last-child { top: 18px; transform: rotate(-45deg); }

  /* backdrop-filter op de header maakt van position:fixed een absolute box;
     zonder deze uitzondering valt het menu in de 62px-hoge pill. */
  header.container:has(nav.open) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  .menu-toggle, .theme-toggle { position: relative; z-index: 45; }
  header nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 40;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
    padding: 22vh 24px 40px;
    border: 0;
    border-radius: 0;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
  }
  header nav.open > a:not(.button) {
    font-size: clamp(30px, 8vw, 44px);
    font-weight: 800;
    letter-spacing: -0.04em;
    padding: 8px 0;
  }
  header nav.open > a:not(.button)::after { display: none; }
  header nav.open > a.button {
    margin-top: 22px;
    align-self: stretch;
    justify-content: space-between;
    font-size: 15px;
    min-height: 54px;
    padding: 0 12px 0 22px;
  }
  body.nav-open { overflow: hidden; }

  body.home .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 40px; }
  body.home .hero h1 { font-size: clamp(40px, 9vw, 60px); }
  .hero .lead { max-width: 46ch; }
  .hero-photo { aspect-ratio: 4 / 3.4; }

  body.home .proof { grid-template-columns: 1fr; }
  .proof-item { padding: 20px 0; }
  .proof-item + .proof-item { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }

  body.home .website-promo { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  body.home .section-top { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  body.home .service-grid { grid-template-columns: 1fr; }
  body.home .service-card { min-height: 0; padding: 24px; }
  body.home .service-card::after { display: none; }
  body.home .service-card--lead { grid-template-columns: 1fr; padding: 26px 24px; gap: 16px; }
  body.home .service-card--lead .card-link { grid-column: auto; justify-content: flex-start; margin-top: 6px; }
  body.home .service-card h3 { font-size: 22px; }

  body.home .personal { grid-template-columns: 1fr; gap: 22px; }
  body.home .process { grid-template-columns: 1fr; gap: 26px; }
  body.home .consultancy-banner { grid-template-columns: 1fr; }
  body.home .consultancy-banner figure { aspect-ratio: 16 / 10; order: -1; }
  body.home .review-promo { grid-template-columns: 1fr; }
  body.home .cta { flex-direction: column; align-items: flex-start; gap: 26px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 560px) {
  .language-bar nav { justify-content: flex-start; gap: 12px; font-size: 10px; }
  header.container { gap: 6px; padding: 0 6px 0 10px; }
  body.home .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  body.home .hero-actions .button { width: 100%; justify-content: space-between; }
  body.home .hero-actions .text-link { align-self: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom > span:last-child { display: none; }
}

@media (prefers-reduced-transparency: reduce) {
  header.container { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  header nav.open { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal].reveal-ready { opacity: 1; transform: none; }
  .progress span { transition: none; }
}

/* ---------- telefoon ---------- */

/* iOS zoomt in op velden onder 16px; dat is de meest voorkomende mobiele ergernis. */
@media (max-width: 900px) {
  input, textarea, select { font-size: 16px; }
}

/* snelle contactbalk onderaan, alleen op telefoon */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.mobile-bar__call,
.mobile-bar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.mobile-bar__call {
  flex: 0 0 34%;
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  color: var(--ink);
  background: var(--raised);
}
.mobile-bar__call svg { width: 17px; height: 17px; }
.mobile-bar__cta {
  flex: 1;
  justify-content: space-between;
  padding: 0 10px 0 20px;
  background: var(--ink);
  color: var(--bg);
}
.mobile-bar__cta span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 18%, transparent);
  font-size: 13px;
}
.mobile-bar__call:active,
.mobile-bar__cta:active { transform: scale(.985); }

/* taalkeuze verhuist op telefoon naar het menu */
.nav-lang { display: none; }

@media (max-width: 900px) {
  /* alleen verbergen waar de taalkeuze in het menu staat */
  body:has(.nav-lang) .language-bar { display: none; }
  .mobile-bar { display: flex; }
  body.home:has(.mobile-bar) { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  body.nav-open .mobile-bar { display: none; }
  html { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }

  header nav.open .nav-lang {
    display: flex;
    gap: 14px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
  }
  header nav.open .nav-lang a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

  /* tikbare maten */
  .theme-toggle { width: 42px; height: 42px; }
  .menu-toggle { width: 42px; height: 42px; }
  .menu-toggle .bar { left: 12px; right: 12px; }
  .menu-toggle .bar:first-child { top: 17px; }
  .menu-toggle .bar:last-child { top: 23px; }
  .menu-toggle[aria-expanded="true"] .bar:first-child { top: 20px; }
  .menu-toggle[aria-expanded="true"] .bar:last-child { top: 20px; }
  header.container { height: 62px; top: 8px; margin-top: 8px; }

  .button { min-height: 52px; }
  .text-link { padding: 8px 0; }
  .footer-col a { padding: 5px 0; }

  /* hero compacter, foto beter gecropt */
  body.home .hero { padding: 26px 0 36px; gap: 28px; }
  body.home .hero h1 { font-size: clamp(38px, 9.6vw, 54px); letter-spacing: -0.045em; }
  .hero .lead { font-size: 16.5px; max-width: 44ch; }
  .hero-actions { margin-top: 24px; }
  .hero-photo { aspect-ratio: 4 / 3.15; }
  .hero-photo img { object-position: 44% 58%; }

  /* bewijsregel strakker */
  .proof-item { padding: 16px 0; gap: 5px; }
  .proof-key { font-size: 11px; }
  .proof-item p { font-size: 15px; }
  body.home .proof { margin-top: 20px; }

  /* panelen: minder binnenmarge, kleinere koppen */
  body.home .website-promo { padding: 24px 22px; gap: 18px; }
  body.home .website-promo h2 { font-size: 25px; line-height: 1.15; }
  body.home .website-promo p { font-size: 15px; }
  .promo-link { font-size: 14px; }

  body.home .section-top { margin-bottom: 28px; }
  body.home .section-top h2 { font-size: 30px; }
  body.home .section-top p { font-size: 15.5px; }

  body.home .service-card { padding: 22px; gap: 10px; border-radius: 20px; }
  .service-icon { width: 42px; height: 42px; border-radius: 12px; }
  .service-icon svg { width: 20px; height: 20px; }
  body.home .service-card h3 { font-size: 21px; }
  body.home .service-card p { font-size: 15px; }
  .card-link { font-size: 13px; padding: 4px 0; }

  body.home .personal h2 br { display: none; }
  body.home .personal { padding: 44px 0; gap: 18px; }
  body.home .personal h2 { font-size: 27px; }
  .personal-body p { font-size: 16px; line-height: 1.7; }

  body.home .process { padding: 24px 22px; margin-bottom: 44px; border-radius: 20px; }
  body.home .process-head { margin-bottom: 22px; }
  body.home .process-body { grid-template-columns: 1fr; gap: 22px; }
  .process-visual { position: static; order: -1; }
  #process-canvas { aspect-ratio: 4 / 3; }
  .process-caption { display: none; }
  body.home .process h2 { font-size: 25px; }
  body.home .process p { font-size: 15px; }
  body.home .process h3 { font-size: 17.5px; }
  body.home .process li p { font-size: 15px; }
  body.home .process li { gap: 14px; padding: 16px 0; }

  body.home .consultancy-banner { margin-bottom: 44px; gap: 24px; }
  body.home .consultancy-banner figure { aspect-ratio: 16 / 10; border-radius: 20px; }
  body.home .consultancy-banner img { object-position: 50% 62%; }
  body.home .consultancy-banner h2 { font-size: 27px; }
  body.home .consultancy-banner p:not(.eyebrow) { font-size: 15.5px; margin-bottom: 20px; }
  .eyebrow { font-size: 10.5px; margin-bottom: 12px; }

  body.home .review-promo { padding: 24px 22px; border-radius: 20px; margin-bottom: 44px; gap: 18px; }
  body.home .review-promo h2 { font-size: 25px; }
  body.home .review-promo h2 br { display: none; }
  body.home .review-promo p { font-size: 15px; }
  body.home .review-promo img { width: 100%; max-width: 420px; margin-inline: auto; }

  body.home .cta { padding: 26px 22px; border-radius: 20px; gap: 20px; margin-bottom: 44px; }
  body.home .cta h2 { font-size: 25px; }
  body.home .cta h2 br { display: none; }
  body.home .cta p { font-size: 15px; }
  body.home .cta .button { width: 100%; justify-content: space-between; }

  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 32px 0 26px; }
  .footer-col, .footer-brand { min-width: 0; }
  .footer-brand { grid-column: 1 / -1; gap: 10px; }
  .footer-col > span:first-child { font-size: 11px; }
  .footer-col { font-size: 14px; }
  .footer-contact a:first-of-type { white-space: nowrap; }
  .footer-bottom { padding: 14px 0 18px; }
}

@media (max-width: 360px) {
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .mobile-bar__call { flex: 0 0 38%; font-size: 13.5px; }
  .mobile-bar__cta { font-size: 13.5px; padding-left: 16px; }
  body.home .hero h1 { font-size: clamp(34px, 9.2vw, 46px); }
  body.home .personal h2 { font-size: 25px; }
  body.home .section-top h2 { font-size: 27px; }
}

/* ---------- interactie ---------- */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 70;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.copy-mail {
  align-self: flex-start;
  margin-top: 2px;
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.copy-mail:hover { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 34%, transparent); }
.copy-mail.is-copied {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}

/* plus/min-streepje voor accordeons */
.step-mark {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  margin-left: auto;
  border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
  border-radius: 50%;
  color: var(--ink);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.step-mark::before,
.step-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.step-mark::before { width: 9px; height: 1.5px; }
.step-mark::after { width: 1.5px; height: 9px; }
details[open] > summary .step-mark {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border-color: color-mix(in srgb, var(--accent) 38%, transparent);
  color: var(--accent);
}
details[open] > summary .step-mark::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

/* proces als accordeon */
body.home .process details { border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
body.home .process details:first-of-type { border-top: 0; }
body.home .process summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color .2s var(--ease);
}
body.home .process summary::-webkit-details-marker { display: none; }
body.home .process summary::marker { content: ""; }
body.home .process summary:hover { color: var(--accent); }
body.home .process .step-num { padding-top: 0; min-width: 20px; }
body.home .process .step-body { padding: 0 0 16px 34px; }
body.home .process .step-body p { margin: 0; max-width: 46ch; font-size: 14.5px; }
body.home .process li { display: block; padding: 0; border-top: 0; gap: 0; }
body.home .process ol { gap: 0; }

/* veelgestelde vragen */
body.home .faq {
  padding: var(--section) 0;
  border-top: 1px solid var(--line);
}
body.home .faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
body.home .faq h2 { font-size: clamp(30px, 3.4vw, 46px); max-width: 18ch; margin: 0 0 12px; }
body.home .faq .faq-intro { margin: 0; max-width: 34ch; font-size: 15.5px; }
body.home .faq-list details { border-top: 1px solid var(--line); }
body.home .faq-list details:last-child { border-bottom: 1px solid var(--line); }
body.home .faq-list summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color .2s var(--ease);
}
body.home .faq-list summary::-webkit-details-marker { display: none; }
body.home .faq-list summary::marker { content: ""; }
body.home .faq-list summary:hover,
body.home .faq-list details[open] > summary { color: var(--accent); }
body.home .faq-list .step-mark { width: 24px; height: 24px; }
body.home .faq-list details > p {
  margin: 0;
  padding: 0 40px 20px 0;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  body.home .faq-grid { grid-template-columns: 1fr; gap: 20px; }
  body.home .faq h2 { font-size: 27px; }
  body.home .faq-list summary { font-size: 16px; padding: 16px 0; }
  body.home .faq-list details > p { font-size: 15px; padding-right: 0; }
  body.home .process summary { font-size: 17.5px; padding: 14px 0; }
  body.home .process .step-body { padding-left: 30px; }
}

/* zachte spotlight die de cursor volgt op dienstenkaarten */
@media (hover: hover) and (pointer: fine) {
  body.home .service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(340px 240px at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--mint) 30%, transparent), transparent 72%);
    opacity: 0;
    transition: opacity .3s var(--ease);
  }
  body.home .service-card:hover::before { opacity: 1; }
  body.home .service-card > * { position: relative; z-index: 1; }
}
