/* kud.website */

:root {
  /* Merkkleuren */
  --primair: #4A17C0;
  --secundair: #1C0A4A;
  --achtergrond: #F5F3EC;
  --tekst: #150A33;
  --accent: #DCFF6A;

  /* Afgeleid */
  --tekst-zacht: color-mix(in srgb, var(--tekst) 74%, var(--achtergrond));
  --lijn: color-mix(in srgb, var(--tekst) 16%, transparent);
  --licht-zacht: color-mix(in srgb, var(--achtergrond) 72%, var(--secundair));
  --licht-lijn: color-mix(in srgb, var(--achtergrond) 20%, transparent);
  --wit: #fff;

  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --rand: 3px;
  --hoek: clamp(28px, 4vw, 56px); /* ronde overgang tussen secties */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--achtergrond);
  color: var(--tekst);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--primair);
  outline-offset: 3px;
}
.report :focus-visible,
.lead :focus-visible,
.footer :focus-visible { outline-color: var(--accent); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--tekst); color: var(--achtergrond);
  padding: 12px 16px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.4em;
  border: var(--rand) solid currentColor; border-radius: 0;
  background: transparent; font-weight: 700; font-size: 1.0625rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s;
}
.btn:active { transform: translate(2px, 2px); }
.btn[disabled] { cursor: progress; opacity: .7; }

.btn-accent {
  background: var(--accent); color: var(--tekst); border-color: var(--tekst);
}
.btn-light { background: var(--achtergrond); color: var(--tekst); border-color: var(--achtergrond); }
.btn-light:hover { box-shadow: 5px 5px 0 var(--accent); }
/* Naar SLYM Agency: staat altijd 'omhoog' met schaduw, wordt bij hover ingedrukt */
.btn-light.btn-big { box-shadow: 5px 5px 0 var(--accent); }
.btn-light.btn-big:hover, .btn-light.btn-big:focus-visible, .btn-light.btn-big:active {
  transform: translate(5px, 5px); box-shadow: 0 0 0 var(--accent);
}
.btn-ghost { color: var(--achtergrond); border-color: var(--licht-lijn); }
.btn-ghost:hover { border-color: var(--achtergrond); }
.btn-dark { background: var(--tekst); color: var(--achtergrond); border-color: var(--tekst); }
.btn-dark:hover { box-shadow: 5px 5px 0 var(--accent); }
.btn-big { min-height: 64px; font-size: 1.2rem; padding-inline: 1.6em; }

/* Navigatie */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding: 20px var(--gutter);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; text-decoration: none;
}
.brand img { width: 40px; height: 40px; }
.nav nav { display: flex; gap: 20px; }
.nav nav a { font-weight: 600; text-decoration: none; font-size: 1rem; }
.nav nav a:hover { text-decoration: underline; }
@media (max-width: 480px) {
  .nav nav a[href="#hoe"] { display: none; }
}

/* Hero */
.hero {
  --nav-h: 80px; /* hoogte van de navigatie: samen precies één scherm */
  display: flex; flex-direction: column;
  min-height: calc(100svh - var(--nav-h) + var(--hoek)); /* + hoek: de sectie eronder schuift er zoveel overheen */
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding: clamp(40px, 9vw, 120px) var(--gutter) calc(clamp(48px, 8vw, 96px) + var(--hoek));
}
.hero-title {
  font-size: clamp(3.4rem, 17vw, 9.5rem);
  line-height: .9;
  font-weight: 800;
  letter-spacing: -.045em;
  font-variation-settings: "opsz" 96;
}
.hero-title > span { display: block; }
.hero-title .kud {
  display: block;
  width: fit-content;
  margin-top: .08em;
  padding: .02em .14em .1em;
  background: var(--primair);
  color: var(--accent);
}
@media (min-width: 760px) {
  /* schaalt mee met de schermhoogte, zodat de hele hero (tot en met de schaal) in beeld past */
  .hero { padding-block: clamp(16px, 5svh, 96px) calc(clamp(24px, 5svh, 72px) + var(--hoek)); }
  .hero-title { font-size: clamp(4rem, min(10.4vw, 13.5svh), 10rem); }
  .hero-title > span:first-child,
  .hero-title > span:nth-child(2) { display: inline; }
}

.hero-sub {
  max-width: 34ch;
  margin-top: clamp(20px, min(4vw, 4svh), 40px);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.35;
  color: var(--tekst-zacht);
}

.check { margin-top: clamp(20px, min(4vw, 4.5svh), 44px); max-width: 820px; }
.check-label {
  display: block; margin-bottom: 10px;
  font-weight: 700; font-size: 1rem;
}
.check-field {
  display: grid; gap: 0;
  box-shadow: 8px 8px 0 var(--primair);
}
.check-field input {
  width: 100%; min-width: 0; height: 68px; padding: 0 20px;
  border: var(--rand) solid var(--tekst); border-radius: 0;
  background: var(--wit);
  font-size: 1.25rem; font-weight: 500;
}
.check-field input::placeholder { color: color-mix(in srgb, var(--tekst) 45%, var(--wit)); }
.check-field input:focus-visible { outline-offset: -7px; }
.check-field .btn { height: 64px; border-top: 0; font-size: 1.15rem; }
@media (min-width: 640px) {
  .check-field { grid-template-columns: 1fr auto; }
  .check-field input { height: 76px; font-size: 1.4rem; }
  .check-field .btn { height: 76px; border-top: var(--rand) solid var(--tekst); border-left: 0; font-size: 1.2rem; padding-inline: 1.6em; }
}
.check-field .btn:hover { background: color-mix(in srgb, var(--accent) 80%, var(--wit)); }
.check-hint { margin-top: 18px; font-size: .95rem; color: var(--tekst-zacht); }
.check-error {
  margin-top: 14px; padding: 12px 16px;
  border-left: 6px solid var(--primair);
  background: color-mix(in srgb, var(--primair) 8%, var(--achtergrond));
  font-weight: 600;
}

.levels {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: auto; /* duwt de schaal naar de onderkant van het scherm */
  border-top: var(--rand) solid var(--tekst);
}
.hero .check { margin-bottom: clamp(28px, 5svh, 96px); }
/* lage laptopschermen: iets compacter, zodat de schaal nog in beeld staat */
@media (min-width: 760px) and (max-height: 780px) {
  .hero-sub { font-size: 1.3rem; }
  .check-field input, .check-field .btn { height: 64px; }
  .check-hint { margin-top: 12px; }
}
.levels li { padding-top: 12px; padding-right: 8px; }
.levels b { display: block; font-size: clamp(.95rem, 2.4vw, 1.5rem); line-height: 1.1; letter-spacing: -.02em; }
.levels span { font-size: .85rem; color: var(--tekst-zacht); font-variant-numeric: tabular-nums; }

/* Laden */
.loading {
  padding: clamp(56px, 10vw, 120px) 0;
  background: var(--secundair); color: var(--achtergrond);
  min-height: 60svh;
  display: flex; align-items: center;
}
.loading-title {
  font-size: 1rem; font-weight: 600; color: var(--licht-zacht);
  overflow-wrap: anywhere;
}
.loading-line {
  margin-top: 16px; min-height: 2.3em;
  font-size: clamp(2rem, 6.5vw, 5rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em;
}
.loading-line.is-in { animation: regel-in .45s var(--ease); }
@keyframes regel-in {
  from { opacity: 0; transform: translateY(.35em); }
  to { opacity: 1; transform: none; }
}
.loading-bar {
  margin-top: clamp(32px, 5vw, 56px);
  height: 6px; background: var(--licht-lijn); overflow: hidden;
}
.loading-bar span {
  display: block; height: 100%; width: 100%;
  background: var(--accent);
  transform-origin: left; transform: scaleX(0);
}
.loading.is-running .loading-bar span {
  transform: scaleX(.94);
  transition: transform 24s cubic-bezier(.1, .7, .3, 1);
}

/* Rapport */
.report {
  background: var(--secundair); color: var(--achtergrond);
  padding: clamp(48px, 8vw, 112px) 0 clamp(56px, 9vw, 128px);
  outline: none;
}
.report-url { font-size: 1rem; color: var(--licht-zacht); overflow-wrap: anywhere; }
.report-url a { color: var(--achtergrond); font-weight: 700; }

.report-warn {
  margin-top: 16px; max-width: 70ch; padding: 12px 16px;
  border-left: 6px solid var(--accent);
  background: color-mix(in srgb, var(--achtergrond) 8%, transparent);
  font-weight: 600;
}

.report-head {
  display: grid; gap: 24px; align-items: end;
  margin-top: 12px;
}
@media (min-width: 900px) {
  .report-head { grid-template-columns: auto 1fr; gap: clamp(32px, 5vw, 80px); }
}
.score {
  display: flex; align-items: baseline;
  line-height: .78; font-weight: 800; letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.score-num {
  font-size: clamp(9rem, 44vw, 22rem);
  color: var(--accent);
  min-width: 2ch;
  font-variation-settings: "opsz" 96;
}
.score-max {
  font-size: clamp(1.5rem, 5vw, 3rem);
  color: var(--licht-zacht);
  letter-spacing: -.03em;
  margin-left: .1em;
}
.report-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: .98; font-weight: 800; letter-spacing: -.04em;
}
.report-sub { margin-top: 16px; max-width: 46ch; font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--licht-zacht); }
.report-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.share-status { flex-basis: 100%; font-weight: 600; min-height: 1.5em; color: var(--accent); }

.scale { position: relative; margin-top: clamp(40px, 6vw, 72px); padding-top: 20px; }
.scale ol { display: grid; grid-template-columns: repeat(4, 1fr); }
.scale li {
  border-top: 8px solid var(--licht-lijn);
  padding: 12px 8px 0 0;
  color: var(--licht-zacht);
  transition: color .3s, border-color .3s;
}
.scale li + li { margin-left: 4px; }
.scale b { display: block; font-size: clamp(.95rem, 2.6vw, 1.6rem); line-height: 1.1; letter-spacing: -.02em; }
.scale span { font-size: .85rem; font-variant-numeric: tabular-nums; }
.scale li.is-active { border-top-color: var(--accent); color: var(--achtergrond); }
.scale li.is-active b { color: var(--accent); }
.scale-marker {
  position: absolute; top: 0; left: 0;
  width: 0; height: 0;
  border-left: 9px solid transparent; border-right: 9px solid transparent;
  border-top: 12px solid var(--accent);
  transform: translateX(-9px);
  transition: left 1.4s var(--ease);
}

.cats-title {
  margin-top: clamp(64px, 9vw, 112px);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1;
}
.cats-sum { margin-top: 12px; max-width: 60ch; color: var(--licht-zacht); font-size: 1.05rem; }
.cats { margin-top: 24px; border-bottom: 1px solid var(--licht-lijn); }

.top-list { margin-top: 28px; display: grid; gap: 0; }
@media (min-width: 960px) { .top-list { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.top-item {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  padding: 20px 0 28px; border-top: var(--rand) solid var(--achtergrond);
}
.top-num {
  font-size: clamp(3rem, 8vw, 4.5rem); line-height: .8; font-weight: 800; letter-spacing: -.05em;
  color: var(--accent);
}
.top-cat { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--licht-zacht); }
.top-item h4 { margin-top: 6px; font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.15; letter-spacing: -.02em; }
.top-text { margin-top: 8px; color: var(--licht-zacht); }
.cat { border-top: 1px solid var(--licht-lijn); }
.cat summary {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 16px;
  padding: 24px 0 22px;
  cursor: pointer; list-style: none;
}
.cat summary::-webkit-details-marker { display: none; }
.cat-name {
  font-size: clamp(1.6rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1;
}
.cat-score {
  font-size: clamp(1.6rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cat-score small { font-size: .45em; color: var(--licht-zacht); letter-spacing: 0; margin-left: .15em; }
.cat-bar {
  grid-column: 1 / -1; margin-top: 12px;
  height: 6px; background: var(--licht-lijn); overflow: hidden;
}
.cat-bar span {
  display: block; height: 100%; width: 100%;
  background: var(--achtergrond);
  transform-origin: left; transform: scaleX(0);
  transition: transform 1.1s var(--ease);
}
.cat-bar.is-filled span { transform: scaleX(var(--v, 0)); }
.cat-meta {
  grid-column: 1 / -1; margin-top: 8px;
  display: flex; justify-content: space-between; gap: 12px;
  font-size: .95rem; color: var(--licht-zacht);
}
.cat-meta .toggle::after { content: "+"; display: inline-block; margin-left: .4em; font-weight: 700; transition: transform .35s var(--ease); }
.cat details.is-open .cat-meta .toggle::after { transform: rotate(45deg); }
.cat summary:hover .cat-name { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .12em; }

.cat-body { padding: 4px 0 36px; }
.cat-note { max-width: 62ch; color: var(--licht-zacht); }
.cat-tag {
  display: inline-block; vertical-align: middle; margin-left: .5em; transform: translateY(-.15em);
  padding: 3px 7px; border: 2px solid var(--accent); color: var(--accent);
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; line-height: 1;
}

.shots { display: flex; align-items: flex-end; gap: 16px; margin: 20px 0 28px; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; object-fit: cover; object-position: top; border: 1px solid var(--licht-lijn); background: var(--wit); }
.shot-desktop img { aspect-ratio: 1350 / 940; }
.shot-mobiel img { aspect-ratio: 412 / 823; }
.shot figcaption { margin-top: 6px; font-size: .85rem; color: var(--licht-zacht); }
.shot-desktop { flex: 3 1 0; max-width: 560px; }
.shot-mobiel { flex: 1 1 0; max-width: 160px; }

.vitals {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-bottom: 28px; border: 1px solid var(--licht-lijn);
}
.vitals > div { padding: 14px 12px; }
.vitals > div + div { border-left: 1px solid var(--licht-lijn); }
.vitals dt { font-size: .85rem; color: var(--licht-zacht); }
.vitals dd { margin: 4px 0 0; font-size: clamp(1.3rem, 3.6vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.vitals dd small { display: block; font-size: .8rem; font-weight: 600; letter-spacing: 0; margin-top: 4px; }
.vitals [data-rating="goed"] small { color: var(--accent); }
.vitals [data-rating="matig"] small { color: var(--achtergrond); }
.vitals [data-rating="slecht"] small { color: var(--achtergrond); text-decoration: underline; text-decoration-thickness: 2px; }
.vitals-note { margin: -16px 0 28px; font-size: .85rem; color: var(--licht-zacht); max-width: 70ch; }

.findings { counter-reset: punt; }
.finding {
  display: grid; grid-template-columns: 1fr; gap: 6px;
  padding: 18px 0;
  border-top: 1px dashed var(--licht-lijn);
}
.finding:first-child { border-top: 0; padding-top: 4px; }
@media (min-width: 760px) {
  .finding { grid-template-columns: 150px 1fr; gap: 24px; }
}
.impact {
  align-self: start; justify-self: start;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 8px; border: 2px solid var(--achtergrond); white-space: nowrap;
}
.finding[data-impact="hoog"] .impact { background: var(--achtergrond); color: var(--secundair); }
.finding[data-impact="laag"] .impact { border-color: var(--licht-lijn); color: var(--licht-zacht); }
.finding h4 { font-size: clamp(1.15rem, 2.4vw, 1.45rem); line-height: 1.2; letter-spacing: -.015em; }
.finding p { margin-top: 6px; max-width: 66ch; color: var(--licht-zacht); }

.passed { margin-top: 24px; font-size: .95rem; color: var(--licht-zacht); }
.passed b { color: var(--achtergrond); }
.no-findings { font-size: 1.15rem; font-weight: 700; }

.report-note { margin-top: 28px; font-size: .9rem; color: var(--licht-zacht); max-width: 70ch; }

/* Lead */
.lead {
  background: var(--primair); color: var(--wit);
  padding: clamp(64px, 10vw, 140px) 0;
}
.lead-grid { display: grid; gap: 56px; }
@media (min-width: 960px) {
  .lead-grid { grid-template-columns: 1.15fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
}
.lead-title {
  font-size: clamp(3rem, 11vw, 8rem); line-height: .9; font-weight: 800; letter-spacing: -.05em;
}
.lead-text { margin: 24px 0 32px; max-width: 40ch; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.4; }

.mail { border-top: var(--rand) solid var(--wit); padding-top: 24px; }
.mail-title { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; letter-spacing: -.03em; }
.mail-text { margin-top: 8px; color: color-mix(in srgb, var(--wit) 82%, var(--primair)); }
.mail-label { display: block; margin-top: 20px; margin-bottom: 8px; font-weight: 700; }
.mail-field { display: grid; gap: 10px; }
@media (min-width: 520px) { .mail-field { grid-template-columns: 1fr auto; gap: 0; } }
.mail-field input {
  min-width: 0; height: 56px; padding: 0 16px;
  border: var(--rand) solid var(--wit); border-radius: 0;
  background: var(--wit); color: var(--tekst); font-size: 1.05rem;
}
.mail-field .btn { height: 56px; }
.mail-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; cursor: pointer; font-size: .98rem; }
.mail-check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--tekst); }
.mail-status { min-height: 1.5em; margin-top: 12px; font-weight: 700; }
.mail-small { font-size: .9rem; color: color-mix(in srgb, var(--wit) 82%, var(--primair)); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Hoe werkt het */
.how { padding: clamp(72px, 11vw, 160px) 0 clamp(40px, 6vw, 80px); }
.section-title {
  font-size: clamp(2.4rem, 8vw, 6rem); line-height: .92; font-weight: 800; letter-spacing: -.05em;
  max-width: 14ch;
}
.steps {
  display: grid; gap: 0;
  margin-top: clamp(40px, 6vw, 72px);
  counter-reset: stap;
}
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); } }
.steps li { border-top: var(--rand) solid var(--tekst); padding: 16px 0 40px; }
.step-num {
  display: block;
  font-size: clamp(5rem, 14vw, 9rem); line-height: .85; font-weight: 800; letter-spacing: -.06em;
  color: var(--primair);
}
.steps h3 { margin-top: 20px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -.03em; line-height: 1.1; }
.steps p { margin-top: 10px; color: var(--tekst-zacht); max-width: 36ch; }

/* FAQ */
.faq { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 12vw, 160px); }
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 1fr 1.3fr; gap: 64px; } }
.faq-list { border-bottom: 1px solid var(--lijn); }
.faq details { border-top: 1px solid var(--lijn); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-size: 1.6em; line-height: 1; font-weight: 500; color: var(--primair);
  transition: transform .35s var(--ease);
}
.faq details.is-open summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 62ch; color: var(--tekst-zacht); }

/* Footer */
.footer {
  --vlak: var(--tekst);
  background: var(--tekst); color: var(--achtergrond); padding: clamp(56px, 8vw, 104px) 0 40px;
}
.footer-grid { display: grid; gap: 40px; }
.footer-big {
  font-size: clamp(1.8rem, 5.5vw, 4rem); line-height: 1; font-weight: 800; letter-spacing: -.04em; max-width: 18ch;
}
.footer-big a {
  position: relative; display: inline-block; white-space: nowrap;
  color: var(--accent); text-decoration-thickness: 3px;
  transition: transform .45s var(--ease);
}
/* pijl die bij hover rechts naast de link inschuift */
.footer-big a::after {
  content: "→"; content: "→" / ""; position: absolute; left: 100%; top: 0; margin-left: .2em;
  opacity: 0; transform: translateX(-.4em); pointer-events: none;
  transition: opacity .25s var(--ease), transform .45s var(--ease);
}
.footer-big a:hover, .footer-big a:focus-visible { transform: translateX(.25em); }
.footer-big a:hover::after, .footer-big a:focus-visible::after { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .footer-big a, .footer-big a::after { transition: none; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 600; }
.footer-links a:hover { color: var(--accent); }

/* Privacy-pagina */
.page { padding: clamp(32px, 6vw, 80px) 0 clamp(72px, 10vw, 140px); }
.page h1 { font-size: clamp(2.6rem, 9vw, 6rem); line-height: .92; font-weight: 800; letter-spacing: -.05em; }
.page .intro { margin-top: 20px; font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--tekst-zacht); max-width: 50ch; }
.prose { max-width: 70ch; margin-top: 48px; }
.prose h2 { margin-top: 40px; font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.03em; line-height: 1.15; }
.prose p, .prose ul { margin-top: 12px; color: var(--tekst-zacht); }
.prose ul { list-style: square; padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }

/* ---------- Gidsen ---------- */
.kruimel ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .95rem; color: var(--tekst-zacht); }
.kruimel li + li::before { content: "/"; margin: 0 .55em; opacity: .5; }
.kruimel a { text-decoration: none; font-weight: 600; }
.kruimel a:hover { text-decoration: underline; }

.gids-kop { padding: clamp(28px, 6vw, 72px) 0 clamp(40px, 6vw, 72px); }
.gids-titel {
  margin-top: clamp(20px, 3vw, 32px); max-width: 17ch;
  font-size: clamp(2.2rem, 7vw, 5.4rem); line-height: .95; font-weight: 800; letter-spacing: -.045em;
  font-variation-settings: "opsz" 96;
  hyphens: auto; overflow-wrap: break-word; /* lange Nederlandse woorden op smalle schermen */
}
.gids-check-titel, .gids-slym-titel, .gids-cat h2, .gids-body h2 { hyphens: auto; overflow-wrap: break-word; }
.gids-intro { margin-top: clamp(20px, 3vw, 32px); max-width: 52ch; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; color: var(--tekst-zacht); }
.gids-melding {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  margin-top: clamp(28px, 4vw, 40px); padding: 14px 18px;
  background: var(--secundair); color: var(--achtergrond);
  box-shadow: 6px 6px 0 var(--primair);
  font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 800; letter-spacing: -.02em;
}
.gids-melding span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

.gids-body { max-width: 780px; padding-bottom: clamp(56px, 8vw, 104px); }
.gids-body section + section { margin-top: clamp(48px, 7vw, 80px); }
.gids-body h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.gids-body p { margin-top: 14px; font-size: 1.125rem; line-height: 1.6; }
.gids-body p + p { margin-top: 12px; }
.gids-body code, .gids-lijst code {
  padding: .08em .35em; background: color-mix(in srgb, var(--tekst) 8%, var(--achtergrond));
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em;
  overflow-wrap: anywhere;
}
.gids-stappen { counter-reset: stap; margin-top: 20px; }
.gids-stappen li {
  counter-increment: stap;
  position: relative; padding: 16px 0 16px 56px;
  border-top: 1px solid var(--lijn);
  font-size: 1.1rem; line-height: 1.55;
}
.gids-stappen li:last-child { border-bottom: 1px solid var(--lijn); }
.gids-stappen li::before {
  content: counter(stap); position: absolute; left: 0; top: 10px;
  font-size: 2rem; line-height: 1; font-weight: 800; letter-spacing: -.05em; color: var(--primair);
}
.gids-code {
  margin: 24px 0 0; padding: 20px 22px; overflow-x: auto;
  background: var(--secundair); color: var(--achtergrond);
  border-left: 6px solid var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9rem; line-height: 1.6;
}
.gids-code code { padding: 0; background: none; font-size: inherit; overflow-wrap: normal; }
.gids-platforms { display: grid; gap: 0 32px; margin: 20px 0 0; }
@media (min-width: 760px) { .gids-platforms { grid-template-columns: repeat(2, 1fr); } }
.gids-platforms > div { padding: 14px 0 18px; border-top: var(--rand) solid var(--tekst); }
.gids-platforms dt { font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.gids-platforms dd { margin: 6px 0 0; color: var(--tekst-zacht); line-height: 1.55; }
.gids-faq h3 { margin-top: 28px; font-size: 1.25rem; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.gids-faq h3 + p { margin-top: 6px; color: var(--tekst-zacht); }

.gids-check { background: var(--secundair); color: var(--achtergrond); padding: clamp(56px, 9vw, 112px) 0; }
.gids-check-titel { font-size: clamp(2.4rem, 7vw, 5rem); line-height: .95; font-weight: 800; letter-spacing: -.045em; max-width: 16ch; }
.gids-check-sub { margin-top: 16px; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--licht-zacht); }
.gids-check .check-label { color: var(--achtergrond); }
.gids-check .check-field { box-shadow: 8px 8px 0 var(--accent); }
.gids-check :focus-visible { outline-color: var(--accent); }

.gids-meer { padding: clamp(56px, 9vw, 112px) 0; }
.gids-meer-titel { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.gids-lijst { display: grid; gap: 0 32px; margin-top: 24px; }
@media (min-width: 760px) { .gids-lijst { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .gids-lijst { grid-template-columns: repeat(3, 1fr); } }
.gids-lijst a {
  position: relative; display: block; height: 100%; padding: 16px 0 20px;
  border-top: var(--rand) solid var(--tekst); text-decoration: none;
}
/* Paarse balk die bij hover van links over de lijn schuift */
.gids-lijst a::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--rand) * -1);
  height: var(--rand); background: var(--primair);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.gids-lijst b {
  display: block; padding-right: 1.4em; font-size: 1.15rem; line-height: 1.2; letter-spacing: -.02em;
  transition: color .25s var(--ease), transform .45s var(--ease);
}
.gids-lijst b::after {
  content: "→"; content: "→" / ""; display: inline-block; margin-left: .3em; color: var(--primair);
  opacity: 0; transform: translateX(-8px); transition: opacity .25s var(--ease), transform .45s var(--ease);
}
.gids-lijst span { display: block; margin-top: 6px; color: var(--tekst-zacht); font-size: .95rem; transition: color .25s var(--ease), transform .45s var(--ease); }
.gids-lijst a:hover::before, .gids-lijst a:focus-visible::before { transform: scaleX(1); }
.gids-lijst a:hover b, .gids-lijst a:focus-visible b { color: var(--primair); transform: translateX(4px); }
.gids-lijst a:hover b::after, .gids-lijst a:focus-visible b::after { opacity: 1; transform: none; }
.gids-lijst a:hover span, .gids-lijst a:focus-visible span { color: var(--tekst); transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .gids-lijst a::before, .gids-lijst b, .gids-lijst b::after, .gids-lijst span { transition: none; }
}
.gids-alle { margin-top: 28px; font-weight: 700; }
.gids-alle a { display: inline-block; transition: color .25s var(--ease), transform .45s var(--ease); }
.gids-alle a::after {
  content: "→"; content: "→" / ""; display: inline-block; margin-left: .35em;
  transition: transform .45s var(--ease);
}
.gids-alle a:hover, .gids-alle a:focus-visible { color: var(--primair); transform: translateX(4px); }
.gids-alle a:hover::after, .gids-alle a:focus-visible::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .gids-alle a, .gids-alle a::after { transition: none; } }

.gids-slym { background: var(--primair); color: var(--wit); padding: clamp(56px, 9vw, 112px) 0; }
.gids-slym-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .gids-slym-grid { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 64px; } }
.gids-slym-titel { font-size: clamp(2.4rem, 7vw, 5.2rem); line-height: .92; font-weight: 800; letter-spacing: -.05em; }
.gids-slym-tekst { max-width: 40ch; margin-bottom: 24px; font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.45; }
.gids-slym :focus-visible { outline-color: var(--accent); }

.gids-overzicht { padding-bottom: clamp(64px, 9vw, 120px); }
.gids-index { display: flex; flex-wrap: wrap; gap: 8px; }
.gids-index a {
  padding: 8px 14px; border: var(--rand) solid var(--tekst);
  font-weight: 700; text-decoration: none; background: var(--achtergrond);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.gids-index a:hover, .gids-index a:focus-visible {
  background: var(--accent); transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--primair);
}
.gids-index a:active { transform: none; box-shadow: 0 0 0 var(--primair); }
@media (prefers-reduced-motion: reduce) { .gids-index a { transition: background-color .2s; } }
.gids-cat { margin-top: clamp(48px, 7vw, 80px); scroll-margin-top: 24px; }
.gids-cat h2 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; font-weight: 800; letter-spacing: -.045em; }
.gids-cat h2 small { font-size: .4em; color: var(--primair); letter-spacing: 0; vertical-align: super; }
.gids-cat > p { margin-top: 10px; max-width: 60ch; color: var(--tekst-zacht); font-size: 1.1rem; }

/* Link vanuit het rapport naar de gids */
.finding-link, .top-link {
  display: inline-block; margin-top: 10px;
  font-weight: 700; color: var(--accent); text-decoration-thickness: 2px;
}
.finding-link:hover, .top-link:hover { text-decoration-thickness: 4px; }

/* Minder beweging */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Ronde overgangen tussen secties.
   De onderste sectie schuift --hoek over de sectie erboven, krijgt aan één kant een ronde
   bovenhoek en tekent aan de andere kant een holle hoek in zijn eigen kleur, zodat de sectie
   erboven daar een ronde onderhoek lijkt te hebben. -r = ronde hoek rechts, -l = links. */
.overgang { position: relative; z-index: 1; margin-top: calc(var(--hoek) * -1); }
/* De sectie erboven verliest onderaan --hoek aan de overlap: vul dat aan met een transparante
   rand (de achtergrond loopt eronder door), zodat de inhoud optisch in het midden blijft.
   De hero regelt dit zelf, omdat hij precies één scherm hoog is. */
main > :has(+ .overgang):not(.hero), main > :last-child { border-bottom: var(--hoek) solid transparent; }
.overgang::before {
  content: ""; position: absolute; bottom: 100%; width: var(--hoek); height: var(--hoek);
  pointer-events: none;
}
.overgang-r { border-top-right-radius: var(--hoek); }
.overgang-r::before { left: 0; background: radial-gradient(circle at 100% 0, transparent calc(var(--hoek) - .5px), var(--vlak) var(--hoek)); }
.overgang-l { border-top-left-radius: var(--hoek); }
.overgang-l::before { right: 0; background: radial-gradient(circle at 0 0, transparent calc(var(--hoek) - .5px), var(--vlak) var(--hoek)); }
/* kleur per sectie (gelijk aan de achtergrond) */
.loading, .report, .gids-check { --vlak: var(--secundair); }
.lead, .gids-slym { --vlak: var(--primair); }
.how, .gids-meer { --vlak: var(--achtergrond); background: var(--achtergrond); }
