/* Layout: 12-koloms container (max 1280px), linkse uitlijning, ruime sectie-afstand, glas-kaarten op diep navy. */
:root {
  color-scheme: dark;
  --bg: #0b1326;
  --bg-lowest: #060e20;
  --surface: #1e293b;
  --surface-high: #222a3d;
  --fg: #dae2fd;
  --fg-muted: #bdc8cf;
  --outline: #879299;
  --outline-variant: #3e484e;
  --white: #ffffff;
  --primary: #6fd2ff;
  --primary-container: #23a6d5;
  --secondary: #ffb1c5;
  --magenta: #e73c7e;
  --tertiary: #ffb869;
  --teal: #23d5ab;
  --orange: #ee7752;
  --line: rgba(255, 255, 255, .1);
  --line-soft: rgba(255, 255, 255, .05);
  --grad: linear-gradient(135deg, #23a6d5 0%, #e73c7e 100%);
  --grad-text: linear-gradient(to right, #6fd2ff, #ffb1c5);

  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: 24px;
  --section-gap: clamp(80px, 12vw, 120px);
  --pad-x: clamp(20px, 6vw, 80px);
  --radius: .5rem;
  --radius-lg: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
::selection { background: var(--primary-container); color: var(--white); }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--white); text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section-gap); position: relative; }

/* Type scale */
.display { font-size: clamp(40px, 7vw, 72px); line-height: 1.1; font-weight: 800; letter-spacing: -.04em; }
.h-xl { font-size: clamp(34px, 5vw, 48px); line-height: 1.17; font-weight: 700; letter-spacing: -.02em; }
.h-lg { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; font-weight: 600; }
.body-lg { font-size: 18px; line-height: 28px; color: var(--fg-muted); }
.label { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.text-gradient { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border: 0; cursor: pointer; transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, border-color .3s ease;
}
.btn-primary { background: var(--grad); color: var(--white); }
.btn-primary:hover { box-shadow: 0 0 20px rgba(35, 166, 213, .4); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--outline-variant); color: var(--fg); background: transparent; }
.btn-ghost:hover { background: var(--surface-high); }
.btn-sm { padding: 12px 24px; }
.btn svg { width: 18px; height: 18px; }

/* Glass */
/* Kaarten liggen op een egale achtergrond: backdrop-blur voegt niets toe en kost rekenkracht */
.glass { background: rgba(30, 41, 59, .7); border: 1px solid var(--line); }
.lift { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
/* Hover in de accentkleur van de kaart zelf: blauw, roze of geel */
.lift { --acc: 111, 210, 255; }
.acc-blue { --acc: 111, 210, 255; }
.acc-pink { --acc: 255, 177, 197; }
.acc-yellow { --acc: 255, 184, 105; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 0 32px rgba(var(--acc), .2); border-color: rgba(var(--acc), .45); }
.post.lift:hover .more { color: rgb(var(--acc)); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(11, 19, 38, .7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled { background: rgba(11, 19, 38, .9); box-shadow: 0 4px 24px rgba(0, 0, 0, .25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; flex: none; transition: transform .3s ease; }
.brand:hover .brand-mark { transform: scale(1.05); }
.brand-name { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: rgba(218, 226, 253, .8); font-weight: 500; transition: color .3s ease; }
.nav-links a:hover, .nav-links a.is-active { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--fg); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; display: block; }
.mobile-menu {
  border-top: 1px solid var(--line);
  padding-block: 16px 24px;
}
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu a:not(.btn) { display: block; padding: 12px 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--white); }
.mobile-menu .btn { margin-top: 16px; width: 100%; }

@media (max-width: 860px) {
  .nav-links, .nav-actions .btn { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 480px) { .brand-name { font-size: 22px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 168px 96px; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; opacity: .2; }
/* Gloed via een radiaal masker in plaats van filter: blur() – ziet er hetzelfde uit, maar is veel lichter voor de browser */
.hero-glow span { position: absolute; border-radius: 50%; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.hero-glow .g1 { top: 0; right: -30%; width: 1100px; height: 1100px; background: var(--primary); }
.hero-glow .g2 { bottom: -35%; left: -30%; width: 900px; height: 900px; background: var(--secondary); }
.hero-grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
.hero-copy { grid-column: span 8; display: grid; gap: 32px; justify-items: start; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border-color: rgba(111, 210, 255, .3); color: var(--primary); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.hero .body-lg { max-width: 42rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.hero-art { grid-column: span 4; display: flex; justify-content: flex-end; }
.hero-badge { position: relative; width: min(100%, 360px); aspect-ratio: 1; max-width: 100%; display: grid; place-items: center; }
.hero-badge::before { content: ""; position: absolute; inset: 0; border-radius: 24px; background: linear-gradient(135deg, var(--primary-container), #b10257); opacity: .35; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); animation: pulse 4s ease-in-out infinite; }
.hero-badge .badge-inner { position: relative; display: flex; align-items: center; gap: 16px; transition: transform .7s ease; filter: drop-shadow(0 0 40px rgba(111, 210, 255, .3)); }
.hero-badge:hover .badge-inner { transform: scale(1.05); }
.hero-badge svg { width: 96px; height: 96px; }
.hero-badge .badge-word { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--white); letter-spacing: -.02em; line-height: 1.05; }

@media (max-width: 1024px) {
  .hero-copy { grid-column: 1 / -1; }
  .hero-art { display: none; }
}

/* ---------- Section header ---------- */
.sec-head { display: grid; gap: 16px; max-width: 42rem; margin-bottom: 64px; }
.sec-head .label { color: var(--primary); }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 64px; }
.sec-head-row .sec-head { margin-bottom: 0; }

/* ---------- Expertise ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.pillar { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.pillar .icon { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; transition: transform .3s ease; }
.pillar:hover .icon { transform: scale(1.1); }
.pillar .icon svg { width: 28px; height: 28px; }
.pillar p { color: var(--fg-muted); flex-grow: 1; }
.pillar ul { display: grid; gap: 8px; margin-top: 12px; color: var(--outline); }
.pillar li { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; }
.pillar li svg { width: 14px; height: 14px; flex: none; }
.pillar .corner { position: absolute; top: 0; right: 0; width: 128px; height: 128px; pointer-events: none; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.c-primary { color: var(--primary); } .bg-primary { background: rgba(111, 210, 255, .1); }
.c-secondary { color: var(--secondary); } .bg-secondary { background: rgba(255, 177, 197, .1); }
.c-tertiary { color: var(--tertiary); } .bg-tertiary { background: rgba(255, 184, 105, .1); }

@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Werk ---------- */
.work { background: linear-gradient(to bottom, var(--bg), var(--bg-lowest)); }
.cases { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.case { grid-column: span 6; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.case.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.case-visual { position: relative; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: var(--bg-lowest); border-bottom: 1px solid var(--line); }
.case.wide .case-visual { aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-right: 1px solid var(--line); }
.case-body { padding: 32px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.case.wide .case-body { justify-content: center; padding: 48px; }
.case-body p { color: var(--fg-muted); }
.case-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; padding: 6px 10px; border-radius: 6px; }
.chip-teal { background: rgba(35, 213, 171, .1); color: var(--teal); }
.chip-orange { background: rgba(238, 119, 82, .1); color: var(--orange); }
.chip-blue { background: rgba(111, 210, 255, .1); color: var(--primary); }
.chip-pink { background: rgba(255, 177, 197, .1); color: var(--secondary); }
.status { display: inline-flex; align-items: center; gap: 6px; color: var(--outline); }
.status .dot { width: 6px; height: 6px; }
.status.live .dot { background: var(--teal); animation: none; }
.status.build .dot { background: var(--tertiary); }

/* Mock UI inside visuals */
.mock { position: absolute; inset: 24px 24px -1px; border-radius: 10px 10px 0 0; background: #101a30; border: 1px solid var(--line); border-bottom: 0; overflow: hidden; transition: transform .5s ease; }
.case:hover .mock { transform: translateY(-6px); }
.mock-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--outline-variant); }
.mock-body { padding: 16px; display: grid; gap: 10px; }
.bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.glow-a { position: absolute; width: 70%; height: 100%; right: -15%; top: -30%; opacity: .45; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }

.m-shop { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.m-shop .wave { height: 120px; border-radius: 8px; background: linear-gradient(160deg, rgba(35, 166, 213, .35), rgba(35, 213, 171, .15)); position: relative; overflow: hidden; }
.m-shop .wave svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; }
.m-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.m-products div { aspect-ratio: 1; border-radius: 6px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-soft); }
.m-tide { display: grid; gap: 8px; }
.m-tide-row { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; color: var(--fg-muted); padding: 6px 8px; border-radius: 4px; background: rgba(255, 255, 255, .04); }
.m-tide-row b { color: var(--teal); font-weight: 500; }

.m-table { display: grid; gap: 6px; }
.m-row { display: grid; grid-template-columns: 2fr 1fr 1fr 70px; gap: 8px; align-items: center; padding: 8px; border-radius: 4px; background: rgba(255, 255, 255, .03); font-family: var(--font-mono); font-size: 10px; color: var(--fg-muted); }
.m-row.head { background: none; color: var(--outline); text-transform: uppercase; letter-spacing: .08em; }
.m-row .swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.m-row .ok { color: var(--teal); }
.m-row .low { color: var(--tertiary); }
.m-row .add { justify-self: end; padding: 3px 8px; border-radius: 4px; background: rgba(238, 119, 82, .15); color: var(--orange); }

.mock { display: flex; flex-direction: column; }
.mock-bar { align-items: center; flex: none; }
.mock-url { margin-left: 10px; font-family: var(--font-mono); font-size: 10px; color: var(--outline); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.shot { display: block; width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top center; }
.m-club-hero { height: 72px; border-radius: 8px; padding: 10px 12px; display: flex; align-items: flex-end; background: linear-gradient(160deg, rgba(35, 213, 171, .35), rgba(35, 166, 213, .15)), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 18px, transparent 18px 36px); }
.m-club-tag { font-family: var(--font-display); font-size: 11px; font-weight: 600; color: var(--white); line-height: 1.3; max-width: 70%; }
.m-row .score { background: rgba(35, 213, 171, .15); color: var(--teal); }
.case-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; margin-top: 4px; }
.case-link svg { width: 16px; height: 16px; transition: transform .3s ease; }
.case-link:hover svg { transform: translateX(4px); }
.m-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-tab { border-radius: 8px; padding: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-soft); display: grid; gap: 6px; }
.m-tab .n { font-family: var(--font-display); font-size: 11px; color: var(--white); font-weight: 600; }
.m-tab .v { font-family: var(--font-mono); font-size: 13px; color: var(--secondary); }
.m-pos { margin-top: 4px; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 8px; background: var(--grad); font-family: var(--font-mono); font-size: 10px; color: var(--white); letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 900px) {
  .case, .case.wide { grid-column: 1 / -1; }
  .case.wide { display: flex; flex-direction: column; }
  .case.wide .case-visual { min-height: 0; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--line); }
  .case.wide .case-body { padding: 32px; }
}
@media (max-width: 480px) {
  .m-shop { grid-template-columns: 1fr; }
  .m-shop .m-tide { display: none; }
  .m-row { grid-template-columns: 2fr 1fr 60px; }
  .m-row > :nth-child(3) { display: none; }
  .case-body { padding: 24px; }
}

/* ---------- Bureau ---------- */
.agency-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.agency-intro { grid-column: span 5; display: grid; gap: 24px; position: sticky; top: 120px; min-width: 0; }
.agency-intro p { color: var(--fg-muted); }
.agency-intro .body-lg { color: var(--fg); }
.stack { display: grid; gap: 12px; margin-top: 8px; }
.stack .label { color: var(--outline); }
.steps { grid-column: 7 / -1; display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; padding-block: 32px; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--primary); padding-top: 6px; }
.step h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--fg-muted); max-width: 34rem; }
.step:nth-child(2) .step-num { color: var(--secondary); }
.step:nth-child(3) .step-num { color: var(--tertiary); }
.step:nth-child(4) .step-num { color: var(--teal); }

@media (max-width: 960px) {
  .agency-intro { grid-column: 1 / -1; position: static; }
  .steps { grid-column: 1 / -1; margin-top: 32px; }
}
@media (max-width: 480px) { .step { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Inzichten ---------- */
.insights { background: var(--bg-lowest); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.post { border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--line); }
.post .label { color: var(--outline); display: flex; gap: 12px; flex-wrap: wrap; }
.post h3 { font-size: 22px; line-height: 1.3; font-weight: 600; }
.post p { color: var(--fg-muted); flex-grow: 1; }
.post .more { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; align-self: flex-start; }
.post .more { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; }
.post .more svg { width: 16px; height: 16px; transition: transform .3s ease; }
.post:hover .more svg { transform: translateX(4px); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

/* ---------- Artikel-pop-up ---------- */
.article-modal {
  width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-radius: 20px; background: var(--grad); color: var(--fg);
  overflow: hidden;
}
.article-modal::backdrop { background: rgba(6, 14, 32, .75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.article-modal[open] { display: flex; animation: modal-in .3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal-shell { margin: 1px; flex: 1; min-width: 0; border-radius: 19px; background: var(--bg); display: flex; flex-direction: column; max-height: calc(100dvh - 50px); position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-high); color: var(--fg); display: grid; place-items: center; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.modal-close:hover { color: var(--primary); border-color: rgba(111, 210, 255, .4); }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { overflow-y: auto; padding: clamp(28px, 5vw, 56px); padding-top: clamp(40px, 6vw, 56px); display: grid; gap: 16px; overscroll-behavior: contain; }
.modal-body h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; padding-right: 40px; }
.modal-body h3 { font-size: 20px; font-weight: 600; margin-top: 16px; }
.modal-body p, .modal-body li { color: var(--fg-muted); font-size: 17px; line-height: 1.65; max-width: 62ch; }
.modal-body .lead { color: var(--fg); font-size: 19px; }
.modal-body ul { display: grid; gap: 10px; padding-left: 0; }
.modal-body li { position: relative; padding-left: 24px; }
.modal-body li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); }
.modal-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px clamp(28px, 5vw, 56px); border-top: 1px solid var(--line); background: var(--bg-lowest); border-radius: 0 0 19px 19px; }
.modal-foot p { color: var(--fg-muted); }
body.modal-open { overflow: hidden; }

/* ---------- Contact ---------- */
.contact-card { position: relative; border-radius: 24px; padding: 2px; background: var(--grad); }
.contact-inner { border-radius: 22px; background: var(--bg); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.contact-inner::before { content: ""; position: absolute; width: 500px; height: 500px; left: -200px; top: -200px; border-radius: 50%; background: var(--primary); opacity: .12; pointer-events: none; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.contact-copy { display: grid; gap: 24px; align-content: start; position: relative; min-width: 0; }
.contact-lines { display: grid; gap: 16px; margin-top: 8px; }
.contact-line { display: flex; gap: 12px; align-items: center; color: var(--fg); }
.contact-line svg { width: 20px; height: 20px; color: var(--primary); flex: none; }
.contact-line span { overflow-wrap: anywhere; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; position: relative; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); }
/* Velden: de rand is altijd 2px. Bij focus verandert alleen de kleur van de rand
   (naar de merkgradiënt), zodat de maat van het veld nooit verspringt. */
.field input, .field textarea {
  display: block; width: 100%; margin: 0;
  font: inherit; font-size: 16px; line-height: 24px; color: var(--white);
  padding: 13px 15px;
  border: 2px solid transparent; border-radius: var(--radius);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(#2c3a52, #2c3a52) border-box;
  box-shadow: 0 0 0 0 transparent;
  transition: box-shadow .25s ease;
  -webkit-appearance: none; appearance: none;
}
.field input { height: 54px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(#3a4a66, #3a4a66) border-box;
}
.field input:focus, .field textarea:focus {
  outline: none;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  box-shadow: -6px 0 20px -10px rgba(35, 166, 213, .6), 6px 0 20px -10px rgba(231, 60, 126, .6);
}
/* Automatisch invullen door de browser: zelfde kleuren houden */
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--white);
  -webkit-box-shadow: 0 0 0 1000px var(--surface) inset;
  caret-color: var(--white);
}
.field input::placeholder, .field textarea::placeholder { color: var(--outline); }
.type-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.type-choice input { position: absolute; opacity: 0; pointer-events: none; }
.type-choice label { cursor: pointer; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--outline-variant); font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: none; color: var(--fg); transition: all .2s ease; }
.type-choice input:checked + label { border-color: transparent; background: var(--grad); color: var(--white); }
.type-choice input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { color: var(--fg-muted); font-size: 14px; }
.form-note.ok { color: var(--teal); }
.form-note.err { color: #ffb4ab; }

@media (max-width: 960px) { .contact-inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--bg-lowest); border-top: 1px solid var(--line-soft); padding-block: var(--section-gap) 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--gutter); margin-bottom: 48px; }
.footer .brand-mark { width: 32px; height: 32px; }
.footer .brand-name { font-size: 28px; font-weight: 700; color: var(--fg); }
.footer-about { display: grid; gap: 24px; align-content: start; }
.footer-about p { color: var(--fg-muted); max-width: 24rem; }
.footer h4 { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg); margin-bottom: 24px; }
.footer ul { display: grid; gap: 12px; }
.footer ul a { color: var(--fg-muted); transition: color .2s ease; }
.footer ul a:hover { color: var(--teal); }
.footer-bottom { padding-top: 32px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: var(--fg-muted); font-size: 14px; }
.socials { display: flex; gap: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-high); display: grid; place-items: center; color: var(--fg); transition: color .2s ease; }
.socials a:hover { color: var(--primary); }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Footer-knop als link ---------- */
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--fg-muted); cursor: pointer; transition: color .2s ease; text-align: left; }
.link-btn:hover { color: var(--teal); }

/* ---------- Cookiemelding ---------- */
.cookie-banner {
  position: fixed; z-index: 80;
  left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 760px; margin: 0 auto;
  padding: 1px; border-radius: 18px; background: var(--grad);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  transform: translateY(12px); opacity: 0; transition: transform .35s ease, opacity .35s ease;
}
.cookie-banner.is-visible { transform: none; opacity: 1; }
.cookie-inner { border-radius: 17px; background: rgba(11, 19, 38, .97); padding: 20px 24px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.cookie-text { flex: 1 1 320px; display: grid; gap: 6px; min-width: 0; }
.cookie-text p { color: var(--fg-muted); font-size: 15px; line-height: 1.5; }
.cookie-text a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 480px) { .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1; } }

/* ---------- Juridische pagina's ---------- */
.legal-hero { position: relative; overflow: hidden; padding-block: 160px 56px; border-bottom: 1px solid var(--line-soft); }
.legal-hero .hero-glow { opacity: .14; }
.legal-hero .wrap { position: relative; display: grid; gap: 16px; }
.legal-hero .label { color: var(--primary); }
.legal-hero p { color: var(--fg-muted); }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--outline); font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; }
.breadcrumb a { color: var(--fg-muted); } .breadcrumb a:hover { color: var(--primary); }
.legal-layout { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; padding-block: 64px var(--section-gap); }
.toc { position: sticky; top: 112px; display: grid; gap: 4px; }
.toc .label { color: var(--outline); margin-bottom: 8px; }
.toc a { color: var(--fg-muted); padding: 6px 0 6px 14px; border-left: 2px solid var(--line); font-size: 15px; transition: color .2s ease, border-color .2s ease; }
.toc a:hover, .toc a.is-active { color: var(--white); border-image: var(--grad) 1; }
.legal { min-width: 0; max-width: 72ch; display: grid; gap: 16px; }
.legal section { display: grid; gap: 14px; scroll-margin-top: 112px; padding-bottom: 24px; }
.legal h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 600; letter-spacing: -.01em; display: flex; gap: 14px; align-items: baseline; }
.legal h2 .num { font-family: var(--font-mono); font-size: 14px; color: var(--primary); flex: none; }
.legal h3 { font-size: 18px; font-weight: 600; margin-top: 4px; }
.legal p, .legal li { color: var(--fg-muted); font-size: 17px; line-height: 1.7; }
.legal strong { color: var(--fg); font-weight: 600; }
.legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.legal ul, .legal ol { display: grid; gap: 8px; }
.legal ul li { position: relative; padding-left: 22px; }
.legal ul li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 7px; height: 7px; border-radius: 2px; background: var(--grad); }
.legal ol { counter-reset: art; }
.legal ol > li { counter-increment: art; position: relative; padding-left: 40px; }
.legal ol > li::before { content: attr(data-n); position: absolute; left: 0; top: .2em; font-family: var(--font-mono); font-size: 13px; color: var(--outline); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.legal th, .legal td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--fg-muted); }
.legal th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--outline); background: var(--bg-lowest); }
.legal tr:last-child td { border-bottom: 0; }
.info-card { border-radius: var(--radius-lg); padding: 24px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; }
.info-card p { font-size: 16px; }
.consent-box { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
mark.todo { background: rgba(255, 184, 105, .15); color: var(--tertiary); padding: 1px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: .85em; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

/* ---------- Artikelpagina's ---------- */
.article-body { margin: 0; padding-block: 64px var(--section-gap); }
.article-body h3 { font-size: clamp(20px, 2.4vw, 24px); margin-top: 24px; }
.article-cta { margin-top: 32px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.article-cta p { flex: 1 1 280px; margin: 0; }
.posts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
a.post { color: inherit; }
a.post h3 { color: var(--white); }
.post span.more { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; }
.post span.more svg { width: 16px; height: 16px; transition: transform .3s ease; }
a.post:hover span.more svg { transform: translateX(4px); }
a.post.lift:hover span.more { color: rgb(var(--acc)); }
@media (max-width: 900px) { .posts-2 { grid-template-columns: 1fr; } }
.notfound { padding-block: 200px 160px; border-bottom: 0; }
.notfound .hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
