/* Montserrat, het huisstijlfont van Topicus. SIL Open Font License 1.1 (zie /fonts/OFL.txt). */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/montserrat-latin.woff2') format('woff2');
}

/* Kleuren uit de huisstijl van topicus.nl. Elke tekstcombinatie haalt minimaal 7:1 (WCAG AAA). */
:root {
  --darkblue: #242f36;
  --darkblue-2: #2e3b43;
  --yellow: #f8e800;
  --white: #fff;
  --lightgrey: #f6f8fa;
  --line: #eaedf0;
  --soft: #c9d1d8;       /* 8,9:1 op donkerblauw */
  --muted: #4a5560;      /* 7,6:1 op wit, 7,2:1 op lichtgrijs */
  --coral: #ff9774;      /* onderwijsaccent, alleen decoratief of als achtergrond */
  --coral-soft: #ffd9cc;
  --error: #a3001b;      /* 8,2:1 op wit */
  --mono: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Menlo, Consolas, monospace;

  --radius: 1.25rem;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1.75rem 3.5rem -1.25rem rgb(16 22 26 / .45);
  --shadow-soft: 0 .75rem 2rem -1rem rgb(16 22 26 / .25);

  --focus: var(--darkblue);
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--darkblue);
  background: var(--white);
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }

h1, h2, h3 { line-height: 1.15; font-weight: 800; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: 0; }

p, li, dd { max-width: 65ch; }
p + p { margin-top: 1.5em; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 3px; }
.link-block { display: inline-flex; align-items: center; min-height: 2.75rem; }

[id] { scroll-margin-top: 1.5rem; }

/* Focus: altijd zichtbaar, minimaal 3px en ruim 7:1 tegen de achtergrond. */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
[tabindex="-1"]:focus { outline: none; }

/* Klassen als .btn zetten display; zonder dit zou het hidden-attribuut daar niets doen. */
[hidden] { display: none !important; }

.sprite { display: none; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 78rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

.kicker,
.card__kicker {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  font-weight: 700;
}
.kicker::before,
.card__kicker::before {
  content: '';
  width: 1.75rem; height: .3rem;
  border-radius: 1rem;
  background: var(--coral);
}

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:not(.kicker) { margin-top: 1rem; font-size: 1.25rem; }

/* ---------- Skiplink ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100vh;
  z-index: 30;
  padding: .75rem 1.25rem;
  border-radius: .5rem;
  background: var(--yellow);
  color: var(--darkblue);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; outline: 3px solid var(--darkblue); outline-offset: 0; }

/* ---------- Knoppen (minimaal 44 bij 44 pixels) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 3.25rem;
  padding: .75rem 1.75rem;
  border: 2px solid var(--darkblue);
  border-radius: 999px;
  max-width: 100%;
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s var(--ease-out);
}
.btn .icon { transition: transform .2s var(--ease-out); }
.btn:hover .icon:last-child { transform: translateX(.2rem); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--yellow); color: var(--darkblue); }
.btn--primary:hover { background: var(--darkblue); color: var(--yellow); }
.btn--dark { background: var(--darkblue); color: var(--white); }
.btn--dark:hover { background: var(--white); color: var(--darkblue); }
.btn--ghost { background: transparent; color: var(--darkblue); }
.btn--ghost:hover { background: var(--darkblue); color: var(--white); }
.btn--small { background: var(--white); color: var(--darkblue); min-height: 2.75rem; padding: .375rem 1rem; gap: .5rem; font-size: 1rem; }
.btn--small:hover { background: var(--darkblue); color: var(--white); }
.btn--compact { min-height: 2.75rem; padding: .5rem 1.25rem; }
.btn--large { min-height: 3.75rem; padding: 1rem 2.25rem; font-size: 1.25rem; }
.btn--block { width: 100%; }
.btn[aria-disabled='true'] { cursor: progress; }

.btn-text {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 .25rem;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.btn-text:hover { text-decoration-thickness: 3px; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 2rem;
  padding-block: 1rem;
}
.brand { display: flex; align-items: center; gap: 1rem; }
.logo { display: block; height: 2.25rem; width: auto; aspect-ratio: 425 / 100; color: var(--darkblue); }
.brand__divider { width: 1px; height: 1.75rem; background: var(--soft); }
.brand__product { font-weight: 700; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { display: flex; gap: .25rem; list-style: none; padding: 0; }
.site-nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: .75rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav ul a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--yellow); }
@media (max-width: 60rem) {
  .site-nav ul { display: none; }
}
@media (max-width: 30rem) {
  .brand__divider, .brand__product { display: none; }
}

/* ---------- Testbanner (alleen zolang de stub draait) ---------- */
.test-banner { background: var(--coral-soft); padding-block: .75rem; }
.test-banner p { max-width: none; }
.code-inline, .input--code, .ticket__code {
  font-family: var(--mono);
  letter-spacing: .08em;
}
.code-inline { font-weight: 700; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
  --focus: var(--yellow);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--darkblue);
  color: var(--white);
  padding-block: clamp(3rem, 8vw, 7rem);
}

/* Decoratie. De gloed blijft onder 12% dekking, zodat alle tekst erboven 7:1 blijft halen.
   Elk vlak blijft binnen de rand van de hero: wat erbuiten steekt, ziet een contrastchecker als
   overlap met de header, ook al is het weggeknipt. */
.hero__decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__orb {
  position: absolute;
  top: 0; right: 0;
  width: min(46rem, 100%); height: 40rem;
  background: radial-gradient(circle at 85% 0, rgb(248 232 0 / .12), transparent 60%);
}
.hero__ring {
  position: absolute;
  right: 0; bottom: 0;
  width: min(24rem, 100%); height: 14rem;
  background: radial-gradient(circle at 70% 160%,
    transparent 16.9rem, rgb(248 232 0 / .35) 17rem, rgb(248 232 0 / .35) calc(17rem + 2px), transparent calc(17rem + 2px));
}
.hero__square {
  position: absolute;
  width: 4.5rem; height: 4.5rem;
  left: 46%; bottom: 3rem;
  border-radius: .75rem;
  background: var(--coral);
  transform: rotate(18deg);
  opacity: .9;
}
.hero__dots {
  position: absolute;
  width: 16rem; height: 12rem;
  left: -2rem; top: 1.5rem;
  background: radial-gradient(rgb(255 255 255 / .22) 1.5px, transparent 1.5px) 0 0 / 1.25rem 1.25rem;
  mask: linear-gradient(135deg, #000, transparent 75%);
}

.hero__inner { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
@media (min-width: 64rem) {
  .hero__inner { grid-template-columns: 1fr minmax(0, 32rem); }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  max-width: 100%;
  margin-bottom: 1.75rem;
  padding: .5rem 1.125rem .5rem .875rem;
  border: 1px solid rgb(255 255 255 / .25);
  border-radius: 999px;
  background: rgb(255 255 255 / .06);
  font-size: 1rem;
  font-weight: 600;
}
.pill__dot {
  position: relative;
  flex: none;
  width: .625rem; height: .625rem;
  border-radius: 50%;
  background: var(--yellow);
}

.hero h1 {
  font-size: clamp(2.5rem, 1.5rem + 4.2vw, 5rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin-bottom: 1.75rem;
}
.highlight {
  color: var(--yellow);
  background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 100% / 100% .09em;
  padding-bottom: .04em;
}
.lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); color: var(--line); }

.checklist { list-style: none; padding: 0; margin-top: 2.25rem; display: grid; gap: .875rem; }
.checklist li { display: flex; gap: .875rem; align-items: flex-start; font-weight: 600; }
.checklist .icon {
  width: 1.75rem; height: 1.75rem;
  padding: .35rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--darkblue);
}

/* ---------- Kaart met formulier en resultaat ---------- */
.card {
  --focus: var(--darkblue);
  position: relative;
  background: var(--white);
  color: var(--darkblue);
  border-top: .5rem solid var(--yellow);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}
.card h2 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); margin-bottom: .5rem; }
.card h3 { margin-top: 2rem; margin-bottom: .5rem; }
.card__intro { margin-bottom: 1.75rem; }

.field { margin-bottom: 1.5rem; }
.field label { display: block; font-weight: 700; margin-bottom: .25rem; }
.hint { color: var(--muted); font-size: 1rem; margin-bottom: .5rem; }
.field__error { color: var(--error); font-weight: 700; margin-bottom: .5rem; }
.field p + p { margin-top: 0; }
.field--error { border-left: .3rem solid var(--error); padding-left: 1rem; }

.input {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  padding: .75rem 1rem;
  border: 2px solid var(--darkblue);
  border-radius: .625rem;
  background: var(--white);
  color: var(--darkblue);
  font: inherit;
  transition: box-shadow .2s ease;
}
.input:focus-visible { outline-offset: 2px; box-shadow: 0 0 0 .375rem rgb(248 232 0 / .55); }
.input--code { text-transform: uppercase; font-size: 1.375rem; font-weight: 700; }
.input[aria-invalid='true'] { border-color: var(--error); border-width: 3px; }

.error-summary {
  border: 4px solid var(--error);
  border-radius: .75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}
.error-summary:focus { outline: 3px solid var(--darkblue); outline-offset: 3px; }
.card .error-summary h3 { margin: 0 0 .5rem; color: var(--error); }
.error-summary ul { padding-left: 1.25rem; display: grid; }
.error-summary a { display: inline-block; padding-block: .5rem; color: var(--error); font-weight: 700; }

/* ---------- Uitnodigingen als tickets ---------- */
.tickets { list-style: none; padding: 0; margin-block: 1.25rem; display: grid; gap: 1rem; }
.ticket {
  --notch: .8rem;
  position: relative;
  display: grid;
  gap: .875rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: var(--yellow);
  color: var(--darkblue);
  /* De halve cirkels links en rechts maken er een kaartje van. */
  mask:
    radial-gradient(circle at 0 50%, transparent var(--notch), #000 calc(var(--notch) + .5px)) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, transparent var(--notch), #000 calc(var(--notch) + .5px)) right / 51% 100% no-repeat;
}
.ticket__main { display: grid; gap: .125rem; padding-bottom: .875rem; border-bottom: 2px dashed rgb(36 47 54 / .4); }
.ticket__label { font-size: 1rem; font-weight: 700; }
.ticket__code { font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); font-weight: 700; overflow-wrap: anywhere; }
.ticket__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.ticket [data-copied] { background: var(--darkblue); color: var(--white); }

.result-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1.5rem 1.25rem; }
.result-actions [data-copied] { background: var(--darkblue); color: var(--white); }

.confetti { position: fixed; inset: 0; z-index: 25; overflow: hidden; pointer-events: none; }
.confetti:empty { display: none; }
.confetti span { position: absolute; top: 0; left: 0; display: block; border-radius: 2px; }

/* ---------- Cijfers ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.5rem 3rem;
  padding-block: clamp(2rem, 5vw, 3.5rem);
}
.stats__list li { display: flex; align-items: center; gap: 1.25rem; }
.stats__list strong {
  flex: none;
  font-size: clamp(3rem, 2rem + 3vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  background: linear-gradient(transparent 64%, var(--yellow) 64% 92%, transparent 92%);
  padding-inline: .1em;
}
.stats__list span { font-weight: 600; max-width: 18ch; }

/* ---------- Secties ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--grey { background: var(--lightgrey); }

/* ---------- Demo: van prompt naar live ---------- */
.demo-layout { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 64rem) {
  .demo-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
}
.demo-layout__text h2 { margin-bottom: 1.25rem; }
.demo-layout__text .btn { margin-top: 2rem; }

.demo__window {
  border-radius: var(--radius);
  background: var(--darkblue);
  color: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.demo__bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.25rem;
  border-bottom: 1px solid rgb(255 255 255 / .12);
}
.demo__bar span { width: .75rem; height: .75rem; border-radius: 50%; background: var(--coral); }
.demo__bar span:nth-child(2) { background: var(--yellow); }
.demo__bar span:nth-child(3) { background: var(--soft); }
.demo__bar b { margin-left: .75rem; font-size: 1rem; color: var(--soft); font-weight: 600; }

.demo__body { display: grid; gap: 1.25rem; padding: clamp(1.25rem, 3vw, 1.75rem); }
.demo__prompt {
  display: flex;
  gap: .875rem;
  padding: 1rem 1.25rem;
  border-radius: .875rem;
  background: var(--darkblue-2);
  font-weight: 600;
}
.demo__prompt .icon { color: var(--yellow); margin-top: .15em; }
.demo__text { display: grid; }
.demo__ghost, .demo__typing { grid-area: 1 / 1; }
.demo__ghost { visibility: hidden; }
.demo__caret {
  display: inline-block;
  width: 2px; height: 1.1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--yellow);
  visibility: hidden;
}
.demo.is-typing .demo__caret { visibility: visible; animation: blink 1s steps(1) infinite; }

.demo__steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: .625rem 1rem;
  font-size: 1rem;
}
.demo__steps li { display: flex; align-items: center; gap: .625rem; color: var(--white); }
.demo__steps .icon {
  width: 1.5rem; height: 1.5rem;
  padding: .25rem;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--darkblue);
  transition: background-color .3s ease, color .3s ease;
}
.demo.is-armed .demo__steps li:not(.is-done) { color: var(--soft); }
.demo.is-armed .demo__steps li:not(.is-done) .icon { background: transparent; color: transparent; border-color: var(--soft); }

.demo__browser {
  border-radius: .875rem;
  overflow: hidden;
  background: var(--white);
  color: var(--darkblue);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.demo.is-armed:not(.is-live) .demo__browser { opacity: 0; transform: translateY(1rem) scale(.98); }
.demo__url {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1rem;
  background: var(--line);
  font-size: 1rem;
  font-weight: 600;
}
.demo__live {
  margin-left: auto;
  padding: .125rem .75rem;
  border-radius: 999px;
  background: var(--yellow);
  font-weight: 700;
}
.demo__app { padding: 1rem 1.25rem 1.25rem; }
.demo__apphead { display: flex; justify-content: space-between; align-items: center; margin-bottom: .875rem; }
.demo__appbtn { padding: .125rem .875rem; border-radius: 999px; background: var(--darkblue); color: var(--white); font-size: 1rem; font-weight: 700; }
.demo__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .375rem; }
.demo__grid span { text-align: center; font-size: 1rem; font-weight: 600; color: var(--muted); }
.demo__grid i { height: 1.5rem; border-radius: .3rem; background: var(--line); }
.demo__grid i.y { background: var(--yellow); }
.demo__grid i.c { background: var(--coral); }
.demo__grid i.d { background: var(--darkblue); }

.demo figcaption { margin-top: 1rem; color: var(--muted); font-size: 1rem; }

/* ---------- Waarvoor ---------- */
.purpose { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }
.purpose__col { border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.75rem); }
.purpose__col--yes { background: var(--lightgrey); }
.purpose__col--no { --focus: var(--yellow); background: var(--darkblue); color: var(--line); }
.purpose__col--no strong, .purpose__col--no h3 { color: var(--white); }
.purpose__col h3 { display: flex; align-items: center; gap: 1rem; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); margin-bottom: 1.75rem; }
.purpose__badge { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: .75rem; }
.purpose__col--yes .purpose__badge { background: var(--yellow); color: var(--darkblue); }
.purpose__col--no .purpose__badge { background: var(--coral); color: var(--darkblue); }
.purpose__list { list-style: none; padding: 0; display: grid; gap: 1.5rem; }
.purpose__list > li, .purpose__list > p { display: flex; gap: 1.125rem; align-items: flex-start; }
.purpose__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.purpose__col--no .purpose__icon { background: var(--darkblue-2); box-shadow: none; color: var(--coral); }
.purpose strong { display: block; }
.purpose__note { margin-block: 1.5rem; }
.purpose__address { margin-top: .75rem; font-weight: 600; overflow-wrap: anywhere; }
.purpose__col--no .btn--dark { background: var(--yellow); color: var(--darkblue); border-color: var(--yellow); }
.purpose__col--no .btn--dark:hover { background: var(--white); border-color: var(--white); }

/* ---------- Ideeën ---------- */
.ideas {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}
.idea {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1.75rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.idea:hover { transform: translateY(-.25rem); box-shadow: var(--shadow); }
.idea h3 { margin-bottom: .75rem; font-size: 1.375rem; }
.idea__for {
  align-self: flex-start;
  margin: 1.25rem 0 .75rem;
  padding: .25rem .875rem;
  border-radius: 999px;
  background: var(--coral-soft);
  font-size: 1rem;
  font-weight: 700;
}
.idea__prompt { padding-left: 1rem; border-left: 3px solid var(--yellow); color: var(--muted); }

.idea__art {
  display: grid;
  gap: .5rem;
  height: 10rem;
  padding: 1.25rem;
  border-radius: .875rem;
  background: var(--darkblue);
}
.idea__art i { display: block; border-radius: .375rem; background: var(--darkblue-2); }
.idea__art--rooster { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); }
.idea__art--rooster i:nth-child(1), .idea__art--rooster i:nth-child(6) { background: var(--yellow); }
.idea__art--rooster i:nth-child(3), .idea__art--rooster i:nth-child(8) { background: var(--coral); }
.idea__art--rooster i:nth-child(4) { background: var(--soft); }
.idea__art--dashboard { grid-template-columns: repeat(4, 1fr); align-items: end; }
.idea__art--dashboard i:nth-child(1) { height: 45%; background: var(--soft); }
.idea__art--dashboard i:nth-child(2) { height: 75%; background: var(--coral); }
.idea__art--dashboard i:nth-child(3) { height: 60%; background: var(--soft); }
.idea__art--dashboard i:nth-child(4) { height: 100%; background: var(--yellow); }
.idea__art--calc { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1.4fr 1fr 1fr; }
.idea__art--calc i:nth-child(1) { grid-column: 1 / -1; background: var(--line); }
.idea__art--calc i { border-radius: 999px; }
.idea__art--calc i:nth-child(1) { border-radius: .5rem; }
.idea__art--calc i:nth-child(6) { background: var(--yellow); }
.idea__art--calc i:nth-child(4) { background: var(--coral); }

/* ---------- Stappen ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: 2.5rem; counter-reset: stap; }
.steps li { position: relative; counter-increment: stap; }
.steps li::before {
  content: counter(stap);
  display: grid;
  place-items: center;
  width: 3.5rem; height: 3.5rem;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 1.5rem;
  font-weight: 800;
}
.steps h3 { margin-bottom: .5rem; }
@media (min-width: 60rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.75rem;
    left: 4.75rem;
    right: -1.75rem;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--soft) 0 .5rem, transparent .5rem 1rem);
  }
}

/* ---------- Vragen en begrippen ---------- */
.faq-layout { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 64rem) {
  .faq-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 4rem; }
}
.faq { display: grid; gap: .75rem; }
.faq details { border-radius: 1rem; background: var(--white); box-shadow: var(--shadow-soft); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.75rem;
  padding: .875rem 1.25rem .875rem 1.5rem;
  border-radius: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.faq details > p { padding: 0 1.5rem 1.25rem; }
.faq details > p + p { margin-top: 0; }

.glossary { padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); }
.glossary h2 { font-size: 1.75rem; margin-bottom: 1.25rem; }
.glossary dl > div { padding-block: .875rem; border-top: 1px solid var(--line); }
.glossary dt { font-weight: 700; }
.glossary dd { color: var(--muted); font-size: 1rem; }

/* ---------- Afsluiter ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--yellow);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.cta-band::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 30rem; height: 30rem;
  right: -8rem; top: -12rem;
  border: 2px solid rgb(36 47 54 / .2);
  border-radius: 50%;
}
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { font-size: 1.25rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  --focus: var(--yellow);
  background: var(--darkblue);
  color: var(--white);
  padding-block: 3rem;
}
.site-footer__inner { display: grid; gap: 1.25rem; }
.site-footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.site-footer .logo { color: var(--white); height: 2rem; }
.site-footer p + p { margin-top: 0; }
.site-footer__a11y { color: var(--line); font-size: 1rem; }

/* ---------- Beweging (alleen als de bezoeker dat niet heeft uitgezet) ---------- */
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }
@keyframes underline { from { background-size: 0 .09em; } }
@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } }
@keyframes ticket-in { from { opacity: 0; transform: translateY(1rem) rotate(-2deg) scale(.96); } }

@media (prefers-reduced-motion: no-preference) {
  /* Drie keer pulseren en dan stoppen: niets beweegt langer dan 5 seconden. */
  .pill__dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--yellow);
    animation: pulse 1.6s var(--ease-out) 3;
  }
  .highlight { animation: underline .9s var(--ease-out) .5s both; }
  .hero__text > * { animation: rise .8s var(--ease-out) both; }
  .hero__text > :nth-child(2) { animation-delay: .08s; }
  .hero__text > :nth-child(3) { animation-delay: .16s; }
  .hero__text > :nth-child(4) { animation-delay: .24s; }
  .card { animation: rise .9s var(--ease-out) .2s both; }

  .js .reveal { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
  .js .reveal:not(.is-visible):not(:focus-within) { opacity: 0; transform: translateY(1.5rem); }

  .ticket.is-new { animation: ticket-in .6s cubic-bezier(.2, .9, .3, 1.25) both; animation-delay: calc(var(--i, 0) * 140ms); }
}

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

@media (forced-colors: active) {
  .btn, .card, .ticket, .purpose__col, .idea, .faq details, .glossary, .demo__window { border: 2px solid ButtonText; }
  .ticket { mask: none; }
  .checklist .icon, .steps li::before, .purpose__badge { forced-color-adjust: none; background: CanvasText; color: Canvas; }
  :focus-visible { outline-color: Highlight; }
}

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__decor, .confetti, .site-nav, .cta-band { display: none; }
}
