/* Webbia — site.css
   Huisstijl: diep bosgroen #0d3b2c met mint #3ee8a2 (uit het logo), Montserrat voor koppen. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f5f9f7;
  --surface: #ffffff;
  --tint: #eaf3ee;
  --ink: #08281d;
  --muted: #4b6358;
  --line: #d7e5dd;
  --forest: #0d3b2c;
  --forest-deep: #082a1f;
  --mint: #3ee8a2;
  --mint-soft: #c9f7e2;
  --link: #0a7149;
  --todo-bg: #fff4d6;
  --todo-ink: #7a4a00;
  --error: #b42318;

  --font-display: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 132px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(8, 40, 29, .06), 0 12px 32px -12px rgba(8, 40, 29, .18);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #061a12;
    --surface: #0b261c;
    --tint: #0a2219;
    --ink: #e4f1ea;
    --muted: #9db6aa;
    --line: #1b3d30;
    --forest: #0d3b2c;
    --forest-deep: #041309;
    --link: #3ee8a2;
    --todo-bg: #3a2c08;
    --todo-ink: #ffd889;
    --error: #ff8a80;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 750; line-height: 1.1; letter-spacing: -.028em; }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--mint); color: var(--forest-deep); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); transition: top .2s; }
.skip-link:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; }

/* Ontbrekende gegevens: bewust zichtbaar */
.todo {
  display: inline-flex; align-items: center; gap: .35em;
  background: var(--todo-bg); color: var(--todo-ink);
  border: 1px dashed currentColor; border-radius: 6px;
  padding: 0 .5em; font-size: .875em; font-weight: 600; line-height: 1.7;
}
.todo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Typografie ---------- */
.display {
  font-size: clamp(2.5rem, 6.4vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
  max-width: 16ch;
}
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.body-lg { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.kicker { font-weight: 600; color: var(--link); margin-bottom: 1rem; }
.fineprint { margin-top: 1.5rem; font-size: .9rem; color: var(--muted); display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.badge { font-size: .78rem; font-weight: 700; background: var(--todo-bg); color: var(--todo-ink); border-radius: 999px; padding: .15em .7em; }

/* ---------- Knoppen ---------- */
.btn {
  --btn-bg: var(--forest); --btn-ink: #fff; --btn-border: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem;
  font: 650 1rem/1.2 var(--font-display); letter-spacing: -.01em; text-decoration: none;
  color: var(--btn-ink); background: var(--btn-bg);
  border: 1.5px solid var(--btn-border); border-radius: 999px; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { box-shadow: inset 0 -2px 0 rgba(0,0,0,.18), 0 8px 20px -10px rgba(13,59,44,.7); }
.btn-primary:hover { --btn-bg: #11503b; box-shadow: inset 0 -2px 0 rgba(0,0,0,.18), 0 0 0 4px rgba(62,232,162,.35), 0 10px 24px -10px rgba(13,59,44,.8); }
.btn-secondary { --btn-bg: transparent; --btn-ink: var(--ink); --btn-border: var(--line); }
.btn-secondary:hover { --btn-border: var(--ink); }
.btn-ghost { --btn-bg: transparent; --btn-ink: inherit; --btn-border: currentColor; }
.btn-sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }
@media (prefers-color-scheme: dark) {
  .btn-primary { --btn-bg: var(--mint); --btn-ink: var(--forest-deep); }
  .btn-primary:hover { --btn-bg: #6df0b9; }
}

.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; font-family: var(--font-display); text-decoration: none; }
.text-link .icon { transition: transform .25s var(--ease); width: 18px; height: 18px; }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; border-radius: 10px; }
.brand img { height: 34px; width: auto; }
.brand-dark { display: none; }
@media (prefers-color-scheme: dark) { .brand-light { display: none; } .brand-dark { display: block; } }

.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a:not(.btn) {
  display: block; padding: .5rem .85rem; border-radius: 999px;
  font: 550 .975rem/1.2 var(--font-display); color: var(--muted); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-list a:not(.btn):hover { color: var(--ink); background: var(--tint); }
.nav-list a[aria-current="page"]:not(.btn) { color: var(--ink); background: var(--tint); }
.nav-cta { margin-left: 10px; }

.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; place-items: center; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .js .menu-toggle { display: grid; }
  .js .main-nav {
    position: fixed; inset: 76px 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .js .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); box-shadow: var(--shadow); }
  .js .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .js .nav-list a:not(.btn) { padding: .9rem 1rem; font-size: 1.1rem; border-radius: var(--radius-sm); }
  .js .nav-cta { margin: 12px 0 0; }
  .js .nav-cta .btn { width: 100%; min-height: 50px; }
  html:not(.js) .nav-list { flex-wrap: wrap; }
  html:not(.js) .header-inner { height: auto; padding-block: 12px; flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 104px) 0 clamp(72px, 10vw, 128px); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: min(900px, 90vw); aspect-ratio: 1; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(62,232,162,.28), transparent 70%);
  filter: blur(10px);
}
.hero::after { /* fijn raster, verwijzing naar een bouwtekening */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .45;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero-title { max-width: 12ch; }
.hero .lede { margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 2.25rem; color: var(--muted); font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-facts .icon { width: 18px; height: 18px; color: var(--link); }

/* Hero-visual: bouwende website */
.builder { position: relative; margin: 0; padding: 0 0 56px 0; }
.builder-window {
  position: relative; background: var(--forest); border-radius: var(--radius-lg);
  padding: 10px; box-shadow: 0 40px 80px -30px rgba(8,40,29,.55), 0 0 0 1px rgba(255,255,255,.04) inset;
  transform: rotate(-1.2deg);
}
.builder-bar { display: flex; align-items: center; gap: 14px; padding: 6px 8px 12px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.builder-url { flex: 1; font: 500 .8rem/1 var(--font-body); color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); border-radius: 999px; padding: 8px 14px; }
.builder-page { background: #f7fbf9; border-radius: 16px; padding: 22px; display: grid; gap: 22px; min-height: 360px; align-content: start; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; }
.mock-logo { width: 34px; height: 34px; border-radius: 10px; background: var(--forest); position: relative; }
.mock-logo::after { content: ""; position: absolute; inset: 11px 8px; border-radius: 3px; background: var(--mint); }
.mock-links { display: flex; gap: 10px; }
.mock-links i { width: 38px; height: 8px; border-radius: 4px; background: #d5e4dc; }
.mock-hero { display: grid; gap: 10px; padding: 8px 0; }
.mock-line { height: 18px; border-radius: 6px; background: #0d3b2c; }
.mock-text { height: 8px; border-radius: 4px; background: #c9d9d0; }
.mock-btn { width: 110px; height: 32px; border-radius: 999px; background: var(--mint); margin-top: 6px; }
.w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; } .w55 { width: 55%; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards span { height: 92px; border-radius: 12px; background: #e6f0eb; border: 1px solid #d7e5dd; }

.builder-steps {
  position: absolute; left: -28px; bottom: 96px; z-index: 2;
  display: grid; gap: 8px; padding: 14px 16px; min-width: 260px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: .9rem; font-weight: 550;
}
.builder-steps li { display: flex; align-items: center; gap: .55rem; }
.builder-steps .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--mint); color: var(--forest-deep); stroke-width: 3; }

.builder-approve {
  position: absolute; right: -12px; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px;
  background: var(--forest-deep); color: #fff; border-radius: 999px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.5);
  font-size: .9rem; font-weight: 600;
}
.approve-status { position: relative; display: inline-flex; align-items: center; gap: .6rem; }
.approve-live { position: absolute; left: 1.15rem; opacity: 0; color: var(--mint); white-space: nowrap; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #ffc857; box-shadow: 0 0 0 0 rgba(255,200,87,.6); }
.approve-btn { background: var(--mint); color: var(--forest-deep); border-radius: 999px; padding: 8px 16px; font-family: var(--font-display); font-weight: 700; }

/* Eén georkestreerd laadmoment */
@media (prefers-reduced-motion: no-preference) {
  .js [data-hero] { animation: rise .8s var(--ease) both; }
  .js [data-hero]:nth-child(2) { animation-delay: .08s; }
  .js [data-hero]:nth-child(3) { animation-delay: .16s; }
  .js [data-hero]:nth-child(4) { animation-delay: .24s; }

  .js .builder-window { animation: rise-tilt 1s var(--ease) .1s both; }
  .js .mock-nav, .js .mock-line, .js .mock-text, .js .mock-btn, .js .mock-cards span { animation: build .6s var(--ease) both; }
  .js .mock-nav { animation-delay: .5s; }
  .js .mock-line.w80 { animation-delay: .75s; } .js .mock-line.w55 { animation-delay: .85s; }
  .js .mock-text.w90 { animation-delay: 1s; } .js .mock-text.w70 { animation-delay: 1.08s; }
  .js .mock-btn { animation-delay: 1.2s; }
  .js .mock-cards span:nth-child(1) { animation-delay: 1.35s; }
  .js .mock-cards span:nth-child(2) { animation-delay: 1.45s; }
  .js .mock-cards span:nth-child(3) { animation-delay: 1.55s; }
  .js .builder-steps { animation: pop .5s var(--ease) 1.7s both; }
  .js .builder-steps li { animation: rise .45s var(--ease) both; }
  .js .builder-steps li:nth-child(1) { animation-delay: 1.9s; }
  .js .builder-steps li:nth-child(2) { animation-delay: 2.3s; }
  .js .builder-steps li:nth-child(3) { animation-delay: 2.7s; }
  .js .builder-approve { animation: pop .5s var(--ease) 3.1s both; }
  .js .pulse-dot { animation: pulse 1.4s ease-out 3.3s 2, go-live .3s ease 5.9s forwards; }
  .js .approve-wait { animation: fade-out .3s ease 5.9s forwards; }
  .js .approve-live { animation: fade-in .3s ease 6s forwards; }
  .js .approve-btn { animation: press .5s var(--ease) 5.6s both; }
}
@media (prefers-reduced-motion: reduce) {
  .approve-wait { opacity: 0; } .approve-live { opacity: 1; } .pulse-dot { background: var(--mint); }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rise-tilt { from { opacity: 0; transform: translateY(24px) rotate(1deg); } to { opacity: 1; transform: rotate(-1.2deg); } }
@keyframes build { from { opacity: 0; transform: scaleX(.6); transform-origin: left; } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(255,200,87,0); } }
@keyframes go-live { to { background: var(--mint); } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes press { 0%, 100% { transform: none; } 40% { transform: scale(.9); box-shadow: 0 0 0 6px rgba(62,232,162,.3); } }

/* ---------- Secties ---------- */
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-top: clamp(32px, 5vw, 56px); }
.section-tint { background: var(--tint); }
.section-forest { background: var(--forest); color: #d6ebe1; }
.section-forest h2, .section-forest h3 { color: #fff; }
.section-forest .section-head p, .section-forest .body-lg { color: #a9cbbb; }
.section-forest .btn-secondary { --btn-ink: #fff; --btn-border: rgba(255,255,255,.3); }
.section-forest .btn-secondary:hover { --btn-border: #fff; }
@media (prefers-color-scheme: dark) { .section-forest { background: #0a3022; } }

.section-head { display: grid; gap: 1rem; max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.section-link { margin-top: 2.5rem; }

/* App-tegel uit het logo als icoonhouder */
.tile {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 27%;
  background: var(--forest); color: var(--mint);
}
.tile .icon { width: 24px; height: 24px; }
.tile-sm { width: 44px; height: 44px; }
.tile-sm .icon { width: 21px; height: 21px; }
.tile-mint { background: var(--mint); color: var(--forest-deep); }
@media (prefers-color-scheme: dark) { .tile:not(.tile-mint) { background: #134a37; } }

/* Diensten-overzicht homepage: lijst met dunne scheidingen, geen kaartenbak */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature { padding: 32px 28px 36px 0; border-bottom: 1px solid var(--line); display: grid; gap: .75rem; align-content: start; }
.feature:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.feature .tile { margin-bottom: .5rem; transition: transform .35s var(--ease), border-radius .35s var(--ease); }
.feature:hover .tile { transform: translateY(-3px); border-radius: 50%; }
.feature p { color: var(--muted); }
.feature-grid-dark { border-color: rgba(255,255,255,.12); }
.feature-grid-dark .feature { border-color: rgba(255,255,255,.12); }
.feature-grid-dark .feature p { color: #a9cbbb; }

/* Werkwijze: echte volgorde, dus genummerd */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  display: grid; gap: .6rem; align-content: start;
  transition: background-color .3s, border-color .3s;
}
.step:hover { background: rgba(255,255,255,.07); border-color: rgba(62,232,162,.35); }
.step p { color: #a9cbbb; font-size: .975rem; }
.step-num {
  font: 800 2.75rem/1 var(--font-display); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(62,232,162,.65); margin-bottom: .75rem;
}
.step-you { background: var(--mint); border-color: var(--mint); }
.step-you:hover { background: #59eeb1; border-color: #59eeb1; }
.step-you h3 { color: var(--forest-deep); }
.step-you p { color: #134a37; }
.step-you .step-num { -webkit-text-stroke-color: var(--forest-deep); }

/* Split-layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.split > div:first-child { display: grid; gap: 1.25rem; justify-items: start; position: sticky; top: 120px; }
.principles { display: grid; gap: 8px; }
.principles li { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .3s var(--ease); }
.principles li:hover { border-color: var(--link); transform: translateX(4px); }
.principles p { color: var(--muted); margin-top: .3rem; }

/* Pakketten */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.package {
  position: relative; display: flex; flex-direction: column; gap: 1rem;
  padding: 32px 28px 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.package:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.package header { display: grid; gap: .5rem; }
.package h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.package header p { color: var(--muted); font-size: .975rem; }
.package-flag { position: absolute; top: 20px; right: 20px; font: 700 .78rem/1 var(--font-display); background: var(--mint); color: var(--forest-deep); padding: .45em .8em; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.price-main { font: 800 2.4rem/1 var(--font-display); letter-spacing: -.04em; }
.price-sub { color: var(--muted); font-size: .9rem; }
.price-monthly { margin-top: -.5rem; font-weight: 650; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.checks { display: grid; gap: .55rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; }
.checks .icon { width: 20px; height: 20px; margin-top: .15em; color: var(--link); stroke-width: 2.4; }
.package .checks { flex: 1; }
.package.is-featured { background: var(--forest); border-color: var(--forest); color: #d6ebe1; }
.package.is-featured h3, .package.is-featured .price-main { color: #fff; }
.package.is-featured header p, .package.is-featured .price-sub { color: #a9cbbb; }
.package.is-featured .price-monthly { border-color: rgba(255,255,255,.15); }
.package.is-featured .checks .icon { color: var(--mint); }
.package.is-featured .btn-primary { --btn-bg: var(--mint); --btn-ink: var(--forest-deep); }
.package.is-featured .btn-primary:hover { --btn-bg: #6df0b9; }

.extras { margin-top: 20px; padding: 24px 28px; border-radius: var(--radius); border: 1px dashed var(--line); background: var(--surface); }
.extras h3 { margin-bottom: .75rem; }
.extras li { display: flex; justify-content: space-between; gap: 16px; padding: .6rem 0; border-top: 1px solid var(--line); }
.extras li span:last-child { font-weight: 650; white-space: nowrap; }

/* CTA-band */
.cta-band { padding: 0 0 clamp(56px, 8vw, 96px); }
.cta-inner {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  padding: clamp(36px, 6vw, 72px) clamp(28px, 6vw, 72px) !important;
  max-width: calc(var(--container) - 2 * var(--gutter));
  border-radius: var(--radius-lg);
  background: var(--forest-deep); color: #c6e0d4;
  isolation: isolate;
}
.cta-inner::before {
  content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 480px; height: 480px; border-radius: 27%;
  background: radial-gradient(circle at 30% 30%, rgba(62,232,162,.55), rgba(62,232,162,0) 65%);
  transform: rotate(18deg);
}
.cta-inner h2 { color: #fff; }
.cta-inner p { margin-top: 1rem; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band .btn-primary { --btn-bg: var(--mint); --btn-ink: var(--forest-deep); }
.cta-band .btn-primary:hover { --btn-bg: #6df0b9; }
.cta-band .btn-ghost { --btn-ink: #fff; --btn-border: rgba(255,255,255,.35); }
.cta-band .btn-ghost:hover { --btn-border: #fff; }
@media (max-width: 1240px) { .cta-band { padding-inline: var(--gutter); } .cta-inner { max-width: var(--container); } }

/* ---------- Subpagina's ---------- */
.page-head { padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; right: -8vw; top: -12vw; width: 38vw; max-width: 520px; aspect-ratio: 1; border-radius: 27%;
  background: linear-gradient(140deg, rgba(62,232,162,.35), rgba(62,232,162,0) 70%);
  transform: rotate(14deg); pointer-events: none;
}
.page-head .container { position: relative; }
.page-head .lede { margin-top: 1.5rem; }

.prose-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 6vw, 96px); }
.prose { display: grid; gap: 1.25rem; font-size: 1.125rem; max-width: 64ch; }
.prose p { color: var(--muted); }
.prose p:first-child { color: var(--ink); font-size: 1.25rem; }
.placeholder-block { border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px; background: var(--surface); }
.placeholder-block span { display: block; margin-top: .5rem; font-size: .95rem; }

.mission { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.mission-label { font-size: 1rem; font-weight: 700; color: var(--link); letter-spacing: 0; margin-bottom: 1rem; }
.mission-text { font: 700 clamp(1.5rem, 2.8vw, 2.15rem)/1.22 var(--font-display); letter-spacing: -.025em; text-wrap: balance; }

/* Diensten */
.service-index ul { display: flex; flex-wrap: wrap; gap: 8px; }
.service-index a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem;
  transition: border-color .2s, background-color .2s;
}
.service-index a:hover { border-color: var(--link); }
.service-index .icon { width: 18px; height: 18px; color: var(--link); }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); }
.service { padding: 40px 0; border-top: 1px solid var(--line); display: grid; gap: 1.1rem; align-content: start; }
.service-head { display: flex; align-items: center; gap: 16px; }
.service-head h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.service-text { color: var(--muted); max-width: 58ch; }

.ai-table { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ai-col { padding: 26px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.14); }
.ai-col h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.ai-col h3 .icon { color: var(--mint); }
.ai-col li { padding: .6rem 0; border-top: 1px solid rgba(255,255,255,.1); color: #c6e0d4; }
.ai-col-human { background: var(--mint); border-color: var(--mint); }
.ai-col-human h3 { color: var(--forest-deep); }
.ai-col-human h3 .icon { color: var(--forest-deep); }
.ai-col-human li { color: var(--forest-deep); border-color: rgba(8,42,31,.15); font-weight: 550; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-nav { position: sticky; top: 110px; }
.faq-nav ul { display: grid; gap: 4px; border-left: 2px solid var(--line); }
.faq-nav a { display: block; padding: .45rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-weight: 550; transition: color .2s, border-color .2s; }
.faq-nav a:hover, .faq-nav a.is-active { color: var(--ink); border-left-color: var(--link); }
.faq-groups { display: grid; gap: clamp(48px, 6vw, 72px); }
.faq-group h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 1rem; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 4px; font: 650 1.1rem/1.4 var(--font-display); letter-spacing: -.01em;
  border-radius: 8px; transition: color .2s;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary:hover { color: var(--link); }
.acc-icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
.acc-icon::after { transform: rotate(90deg); }
.acc-item[open] .acc-icon { background: var(--forest); border-color: var(--forest); color: var(--mint); transform: rotate(180deg); }
.acc-item[open] .acc-icon::after { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s var(--ease); }
.acc-body { overflow: hidden; display: grid; gap: .75rem; color: var(--muted); max-width: 64ch; padding: 0 4px 24px; }
.js .acc-item.is-closing .acc-panel, .js .acc-item.is-opening .acc-panel { grid-template-rows: 0fr; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-form { display: grid; gap: 20px; padding: clamp(24px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 650; font-size: .95rem; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .95rem; min-height: 50px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b6358' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b5cdc0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 4px rgba(62,232,162,.3); background: var(--surface); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { font-size: .875rem; color: var(--muted); }
.field-error { font-size: .875rem; color: var(--error); font-weight: 600; }
.form-privacy { font-size: .9rem; color: var(--muted); }
.form-actions .btn { min-width: 200px; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .75; }
.form-status { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--tint); border: 1px solid var(--line); }
.form-status.is-success { background: var(--mint-soft); border-color: var(--mint); color: var(--forest-deep); }
.form-status.is-error { background: var(--todo-bg); border-color: var(--todo-ink); color: var(--todo-ink); }

.contact-aside { display: grid; gap: 20px; }
.contact-aside h2 { font-size: 1.5rem; }
.channels { display: grid; gap: 8px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.channel h3 { font-size: .9rem; font-weight: 600; color: var(--muted); font-family: var(--font-body); }
.channel p { font-weight: 600; }
.aside-note { display: flex; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--tint); color: var(--muted); font-size: .95rem; }
.aside-note .icon { color: var(--link); margin-top: .2em; }

/* 404 */
.not-found-code { font: 800 clamp(6rem, 20vw, 12rem)/.9 var(--font-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--line); margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: #a9cbbb; padding: 72px 0 28px; font-size: .95rem; }
.site-footer a { color: #e4f1ea; text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 40px; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 34ch; }
.footer-title { font-size: .95rem; color: #fff; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .6rem; }
.footer-contact li { display: flex; align-items: center; gap: .6rem; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--mint); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .875rem; }
.footer-bottom span { margin: 0 .6rem; opacity: .5; }
.site-footer .todo { background: rgba(255,216,137,.12); color: #ffd889; }

/* ---------- Scroll-onthulling (subtiel) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .builder { max-width: 560px; margin-inline: auto; width: 100%; }
  .builder-steps { left: -8px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .packages { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature, .feature:not(:nth-child(3n + 1)) { padding: 28px 20px 28px 0; border-left: 0; }
  .feature:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .feature-grid-dark .feature:nth-child(2n) { border-color: rgba(255,255,255,.12); }
  .split, .prose-grid, .mission, .contact-grid, .services, .faq-layout { grid-template-columns: 1fr; }
  .split > div:first-child { position: static; }
  .faq-nav { position: static; }
  .faq-nav ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .faq-nav a { border: 1px solid var(--line); border-radius: 999px; margin: 0; padding: .45rem .9rem; }
  .faq-nav a:hover, .faq-nav a.is-active { border-color: var(--link); }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .header-inner { height: 68px; }
  .js .main-nav { top: 68px; }
  .brand img { height: 30px; }
  .feature-grid, .steps, .ai-table, .field-row { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(2n) { padding: 24px 0; border-left: 0; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .builder { padding-bottom: 64px; }
  .builder-page { min-height: 240px; padding: 14px; }
  .builder-steps { position: relative; left: auto; bottom: auto; margin: -36px 12px 0; min-width: 0; }
  .builder-approve { right: 50%; transform: translateX(50%); white-space: nowrap; }
  .js .builder-approve { animation-name: pop-center; }
  .step { padding: 22px; }
  .acc-item summary { font-size: 1.025rem; padding: 18px 2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-actions .btn { width: 100%; }
}
@keyframes pop-center { from { opacity: 0; transform: translateX(50%) translateY(10px); } to { opacity: 1; transform: translateX(50%); } }

/* Diensten: AI-tabel krijgt meer ruimte */
@media (min-width: 861px) { .split:has(.ai-table) { grid-template-columns: 1fr 1.4fr; } }

/* ---------- Cookietoestemming ---------- */
.consent {
  position: fixed; z-index: 80; left: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px));
  display: grid; gap: .75rem; padding: 22px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -20px rgba(8, 40, 29, .45);
}
.consent[hidden] { display: none; }
.consent:focus { outline: none; }
.consent-title { font-size: 1.05rem; }
.consent p { font-size: .95rem; color: var(--muted); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: .25rem; }
@media (prefers-reduced-motion: no-preference) {
  .consent.is-showing { animation: pop .45s var(--ease) both; }
}
.link-button { font: inherit; color: #e4f1ea; background: none; border: 0; padding: 0; cursor: pointer; }
.link-button:hover { color: var(--mint); text-decoration: underline; }
.table-wrap { overflow-x: auto; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cookie-table th { font-size: .85rem; color: var(--muted); }
.cookie-table tr:last-child td { border-bottom: 0; }
.prose .cookie-table td { color: var(--ink); }

/* ---------- Glow die de muis volgt (hero en CTA) ---------- */
[data-glow] { --mx: 70%; --my: 40%; --glow-on: 0; }
.glow-spot {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: var(--glow-on); transition: opacity .6s var(--ease);
  background:
    radial-gradient(520px circle at var(--mx) var(--my), rgba(62, 232, 162, .26), transparent 62%),
    radial-gradient(260px circle at var(--mx) var(--my), rgba(62, 232, 162, .18), transparent 70%);
}
/* raster licht op rond de cursor, als een bouwtekening onder een lamp */
.glow-spot::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14, 140, 92, .55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 140, 92, .55) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(280px circle at var(--mx) var(--my), #000, transparent 75%);
          mask-image: radial-gradient(280px circle at var(--mx) var(--my), #000, transparent 75%);
}
.hero .glow-spot { mix-blend-mode: normal; }
.cta-inner .glow-spot { z-index: -1; border-radius: inherit; }
.cta-inner .glow-spot::after {
  background-image:
    linear-gradient(rgba(62, 232, 162, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 232, 162, .28) 1px, transparent 1px);
  background-size: 40px 40px;
}
@media (prefers-color-scheme: dark) {
  .hero .glow-spot::after {
    background-image:
      linear-gradient(rgba(62, 232, 162, .35) 1px, transparent 1px),
      linear-gradient(90deg, rgba(62, 232, 162, .35) 1px, transparent 1px);
  }
}

/* ---------- Ons werk ---------- */
.frame {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow);
}
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--tint); }
.frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.frame-bar em { margin-left: 10px; font: 500 .78rem/1 var(--font-body); font-style: normal; color: var(--muted); }
.frame img, .frame video, .frame-empty { display: block; width: 100%; height: auto; aspect-ratio: var(--ratio, 16 / 10); object-fit: cover; object-position: top; }
.frame img { transition: transform .8s var(--ease); }
.frame-empty {
  display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, var(--tint) 0 14px, var(--paper) 14px 28px);
}

.projects { display: grid; gap: clamp(56px, 8vw, 104px); }
.project { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.project:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.project:nth-child(even) .frame { order: 2; }
.project:hover .frame img { transform: scale(1.025); }
.project-body { display: grid; gap: .9rem; justify-items: start; }
.project-body h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.03em; }
.project-body > p { color: var(--muted); max-width: 52ch; }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .92rem; color: var(--muted); }
.tag { font: 700 .74rem/1 var(--font-display); padding: .45em .75em; border-radius: 999px; background: var(--mint-soft); color: var(--forest); }
.tag-demo { background: var(--todo-bg); color: var(--todo-ink); }

.projects-compact { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.project-compact, .project-compact:nth-child(even) { grid-template-columns: 1fr; gap: 18px; align-items: start; }
.project-compact:nth-child(even) .frame { order: 0; }
.project-compact .project-body { gap: .5rem; }
.project-compact h3 { font-size: 1.25rem; }

.designs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.design { display: grid; align-content: start; gap: 1rem; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.design h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.design > p { color: var(--muted); }
.design-premium {
  background: radial-gradient(120% 80% at 100% 0%, rgba(62,232,162,.22), transparent 55%), var(--forest);
  border-color: rgba(62,232,162,.35); color: #d6ebe1;
}
.design-premium h3 { color: #fff; }
.design-premium > p { color: #a9cbbb; }
.design-premium .checks .icon { color: var(--mint); }
.designs-note { margin-top: 1.5rem; max-width: 70ch; }

@media (max-width: 1080px) {

}
@media (max-width: 860px) {
  .project, .project:nth-child(even) { grid-template-columns: 1fr; }
  .project:nth-child(even) .frame { order: 0; }
  .designs { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .projects-compact { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .frame img { transition: none; }
  .project:hover .frame img { transform: none; }
}
