/* Hallmark · genre: playful · macrostructure: custom-bespoke "schrift" (H2 split hero + checklist strip + taped-photo intro + F4 steps + note wall + F3 tariff sheet + lined sheet + FAQ) · design-system: design.md · designed-as-app
 * H2 knobs: ratio=7/5, right side=photo (taped polaroid), divider=negative space · F4: numbering=1./2./3. (handwritten), layout=horizontal flow, connector=none
 * T: sticky-note wall (6 real Google reviews, tilted ±1.2°) · F3: columns=3, rules=every row, numbers=tabular
 * nav: N9 edge-aligned (wordmark + one marker CTA) · footer: Ft1 mast-headed as schrift cover with name label
 * theme: custom · vibe: "ruitjesschrift, balpen, markeerstift, ingeplakte foto's" · paper: oklch(98.6% 0.006 95) · accent: marker oklch(92% 0.16 102) + pen oklch(45% 0.16 263)
 * display/body: Plus Jakarta Sans · handwriting role: Kalam (user asked for handwritten notes) · axes: light / geometric-sans + handwritten / chromatic-other
 * enrichment: real owner photos from the Google profile (taped), Tier-B hand-drawn SVG arrow + red-pen ticks, Tier-A CSS grid paper · motion: press + colour only
 * studied: abcbijles.nl (structure/feel only, no assets) · context: user answers 2026-11-09 (kop+knop hero, schrift sterker, warm & persoonlijk, Google-foto's) · v2
 */

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

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--space-md));
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  /* ruitjespapier */
  background-color: var(--color-paper);
  background-image:
    linear-gradient(var(--color-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
picture { display: block; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-style: normal;
  overflow-wrap: anywhere;
  min-width: 0;
  text-wrap: balance;
}
h1 { font-size: var(--text-display); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: var(--text-xl); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: var(--text-md); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

a {
  color: var(--color-pen);
  text-decoration-line: underline;
  text-decoration-thickness: var(--rule-hair);
  text-underline-offset: 0.2em;
  transition: color var(--dur-short) var(--ease-out);
}
a:hover { color: var(--color-accent-deep); text-decoration-thickness: var(--rule-ink); }
a:active { color: var(--color-ink); }

:focus-visible { outline: var(--rule-ink) solid var(--color-focus); outline-offset: 3px; }
::selection { background: var(--color-marker); color: var(--color-ink); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: var(--space-md);
  top: var(--space-xs);
  z-index: var(--z-sticky);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-ink);
  color: var(--color-label);
  border-radius: var(--radius-btn);
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; color: var(--color-label); }

/* Markeerstift: a band behind the lower half of the letters, never at the baseline */
.hl {
  background-image: linear-gradient(
    to bottom,
    transparent 0.5em,
    var(--color-marker) 0.5em,
    var(--color-marker) 1.02em,
    transparent 1.02em
  );
  padding-inline: 0.08em;
  margin-inline: -0.04em;
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.nowrap { white-space: nowrap; }

/* Handwriting (Kalam, blue ballpoint) */
.hand { font-family: var(--font-hand); color: var(--color-pen); font-weight: 400; line-height: 1.25; }

.stars { letter-spacing: 0.08em; white-space: nowrap; }

/* ── Shell + kantlijn ─────────────────────────────────────────────── */
.shell {
  width: min(100% - 2 * var(--gutter), var(--shell-max));
  margin-inline: auto;
  padding-inline-start: var(--margin-gap);
}
.page { position: relative; }
.page::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(var(--gutter), (100% - var(--shell-max)) / 2);
  width: var(--rule-ink);
  background: var(--color-margin);
  z-index: var(--z-raised);
  pointer-events: none;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 2.75rem;
  padding: var(--space-sm) var(--space-lg);
  border: var(--rule-ink) solid var(--color-ink);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur-short) var(--ease-out),
    box-shadow var(--dur-micro) var(--ease-out),
    transform var(--dur-micro) var(--ease-out);
}
.btn--marker { background: var(--color-marker); color: var(--color-ink); box-shadow: var(--shadow-ink); }
.btn--marker:hover { background: var(--color-marker-deep); color: var(--color-ink); text-decoration: none; }
.btn--marker:active { transform: translate(0.1875rem, 0.1875rem); box-shadow: var(--shadow-press); }
.btn--plain { background: var(--color-label); color: var(--color-ink); box-shadow: var(--shadow-ink); }
.btn--plain:hover { background: var(--color-paper-2); color: var(--color-ink); text-decoration: none; }
.btn--plain:active { transform: translate(0.1875rem, 0.1875rem); box-shadow: var(--shadow-press); }
.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--color-paper-3);
  border-color: var(--color-rule-strong);
  color: var(--color-muted);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.btn--sm { padding: var(--space-xs) var(--space-md); font-size: var(--text-sm); }
.btn--lg { min-height: 3.25rem; padding-inline: var(--space-xl); }
.btn--block { width: 100%; }

.btn__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 30rem) {
  .btn__long { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .btn__short { display: none; }
}

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: 2.75rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ── Header (N9): the blank top band of the schrift ─────────────── */
.masthead {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--color-paper);
  border-bottom: var(--rule-ink) solid var(--color-ink);
}
.masthead__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: var(--header-h);
}
.wordmark {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--color-ink); text-decoration: none; }
/* Buddy als sticker voor het woordmerk (logo-familie met StudyBuddy) */
.wordmark { display: inline-flex; align-items: center; gap: 0.5rem; }
.wordmark__buddy {
  flex: none; width: 2rem; height: 2rem; padding: 0.125rem;
  background: var(--color-label); border-radius: 0.5625rem;
  box-shadow: var(--shadow-note); transform: rotate(-6deg);
}
@media (max-width: 22.99rem) { .wordmark { gap: 0.375rem; font-size: 0.9375rem; } }
@media (min-width: 22.5rem) { .wordmark__buddy { width: 2.5rem; height: 2.5rem; padding: 0.1875rem; border-radius: 0.6875rem; } }
@media (min-width: 40rem) {
  .wordmark { gap: 0.625rem; }
  .wordmark__buddy { width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; }
}
/* Laptop en groter: logo iets groter (Timo, 10 nov); de kop groeit mee, ankers schuiven mee via --header-h */
@media (min-width: 60rem) {
  :root { --header-h: 5rem; }
  .wordmark { gap: 0.75rem; font-size: 1.625rem; }
  .wordmark__buddy { width: 3.5rem; height: 3.5rem; padding: 0.25rem; border-radius: 0.9375rem; }
}
.masthead__aside { font-size: var(--text-sm); }

/* ── Section rhythm ─────────────────────────────────────────────── */
.section-head { display: grid; gap: var(--space-xs); max-width: var(--measure); }
.section-head p { color: var(--color-ink-2); }

/* ── Hero (H2 split: kop + knop, foto ingeplakt) ─────────────────── */
.hero { padding-block: var(--space-xl) var(--space-2xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); align-items: center; }
.hero__text { display: grid; gap: var(--space-md); }
.lead { font-size: var(--text-md); line-height: 1.45; color: var(--color-ink-2); max-width: 32rem; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); margin-top: var(--space-xs); }
.hero__price { font-size: var(--text-md); }
.hero__price strong { font-weight: 800; }
.hero__note { display: flex; align-items: flex-start; gap: var(--space-xs); font-size: var(--text-md); max-width: 24rem; }
.hero__arrow { flex: none; width: 3rem; height: 2.25rem; margin-top: calc(-1 * var(--space-xs)); }
.hero__arrow path { fill: none; stroke: var(--color-pen); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2xs) var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.rating .stars { color: var(--color-ink); font-size: var(--text-base); }
.rating strong { color: var(--color-ink); }

/* Ingeplakte foto: polaroid on the grid, two strips of tape */
.taped {
  position: relative;
  padding: var(--space-sm) var(--space-sm) var(--space-xl);
  background: var(--color-label);
  box-shadow: var(--shadow-photo);
  transform: rotate(1.5deg);
}
.taped img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.taped figcaption {
  position: absolute;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-xs);
  font-family: var(--font-hand);
  font-size: var(--text-md);
  line-height: 1.2;
  color: var(--color-pen);
}
.taped::before,
.taped::after {
  content: "";
  position: absolute;
  top: calc(-1 * var(--space-sm));
  width: 5.5rem;
  height: 1.75rem;
  background: var(--color-tape);
  mix-blend-mode: multiply;
  z-index: var(--z-raised);
}
.taped::before { left: calc(-1 * var(--space-md)); transform: rotate(-32deg); }
.taped::after { right: calc(-1 * var(--space-md)); transform: rotate(28deg); }

/* ── Checklist strip ────────────────────────────────────────────── */
.checks {
  padding-block: var(--space-lg);
  background: var(--color-label);
  border-block: var(--rule-ink) solid var(--color-ink);
}
.checks__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
.checks__list li { display: flex; align-items: center; gap: var(--space-sm); font-weight: 700; line-height: 1.3; }
.tick { flex: none; width: 1.75rem; height: 1.5rem; }
.tick path { fill: none; stroke: var(--color-redpen); stroke-width: 2.75; stroke-linecap: round; stroke-linejoin: round; }

/* ── Intro (Hallo, wij zijn …) ──────────────────────────────────── */
.intro { padding-block: var(--section-lg) var(--section-sm); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); align-items: center; }
.intro__photos { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); padding-inline-end: var(--space-xl); }
.intro__photos .taped--a { transform: rotate(-2deg); }
.intro__photos .taped--b { width: 56%; justify-self: end; margin-top: calc(-1 * var(--space-xs)); margin-inline-end: calc(-1 * var(--space-md)); transform: rotate(3deg); }
.intro__text { display: grid; gap: var(--space-md); max-width: 34rem; }
.intro__hello { font-size: var(--text-xl); transform: rotate(-3deg); transform-origin: left center; justify-self: start; }
.intro__text p:not(.intro__hello) { color: var(--color-ink-2); }

/* ── Steps (F4, handwritten numbers) ────────────────────────────── */
.steps-section { padding-block: var(--section-sm) var(--section-lg); }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); margin-top: var(--space-xl); }
.step { display: grid; gap: var(--space-xs); align-content: start; max-width: 30rem; }
.step__num { font-family: var(--font-hand); font-weight: 700; font-size: var(--text-xl); line-height: 1; color: var(--color-pen); }
.step p { color: var(--color-ink-2); }

/* ── Reviews: geeltjes ──────────────────────────────────────────── */
.reviews-section { padding-block: var(--section-sm) var(--section-lg); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-sm) var(--space-xl); }
.reviews__score { font-size: var(--text-md); }
.reviews__score strong { font-weight: 800; }
.notes { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl) var(--space-lg); margin-top: var(--space-xl); }
.note-card {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: var(--space-md);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  background: var(--color-note);
  box-shadow: var(--shadow-note);
}
.note-card::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--space-sm));
  left: 50%;
  width: 5rem;
  height: 1.5rem;
  margin-left: -2.5rem;
  background: var(--color-tape);
  mix-blend-mode: multiply;
  transform: rotate(-3deg);
}
.note-card:nth-child(3n + 2) { background: var(--color-note-2); }
.note-card:nth-child(1) { transform: rotate(-1.2deg); }
.note-card:nth-child(2) { transform: rotate(0.8deg); }
.note-card:nth-child(3) { transform: rotate(-0.5deg); }
.note-card:nth-child(4) { transform: rotate(1deg); }
.note-card:nth-child(5) { transform: rotate(-0.9deg); }
.note-card:nth-child(6) { transform: rotate(0.6deg); }
.note-card blockquote p { font-size: var(--text-base); line-height: 1.55; }
.note-card__by { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2xs) var(--space-sm); }
.note-card__name { font-family: var(--font-hand); font-weight: 700; font-size: var(--text-md); color: var(--color-pen); }
.note-card .stars { font-size: var(--text-sm); color: var(--color-ink); }
.reviews__more { margin-top: var(--space-xl); }

/* ── Tariffs: a worksheet glued in ──────────────────────────────── */
.prices-section { padding-block: var(--section-sm); }
.prices { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
.worksheet {
  position: relative;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-label);
  border: var(--rule-ink) solid var(--color-ink);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-ink);
}
.tariff { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tariff th,
.tariff td {
  padding: var(--space-sm) var(--space-2xs);
  text-align: left;
  vertical-align: top;
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
.tariff thead th { padding-top: 0; font-size: var(--text-sm); font-weight: 700; color: var(--color-ink-2); border-bottom: var(--rule-ink) solid var(--color-ink); white-space: nowrap; }
.tariff tbody th { width: 34%; font-weight: 700; }
.tariff tbody tr:last-child th,
.tariff tbody tr:last-child td { border-bottom: 0; }
.tariff__best th,
.tariff__best td { background: var(--color-marker); }
.price { display: block; font-size: var(--text-xl); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.price__sub { display: block; margin-top: var(--space-2xs); font-size: var(--text-sm); line-height: 1.4; color: var(--color-ink-2); }
.tariff__best .price__sub { color: var(--color-ink); }
.tariff__tag { display: block; font-family: var(--font-hand); font-weight: 700; font-size: var(--text-md); line-height: 1.1; color: var(--color-pen); }
.tariff__note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-ink-2); max-width: var(--measure); }
.prices__cta { margin-top: var(--space-sm); }

/* ── Subjects: a lined sheet glued in ───────────────────────────── */
.subjects-section { padding-block: var(--section-sm) var(--section-lg); }
.subjects { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
.lined {
  position: relative;
  padding: var(--space-lg) var(--space-lg) var(--space-lg) var(--space-2xl);
  background-color: var(--color-label);
  background-image:
    linear-gradient(90deg, transparent calc(var(--space-xl) - 1px), var(--color-margin) calc(var(--space-xl) - 1px), var(--color-margin) calc(var(--space-xl) + 1px), transparent calc(var(--space-xl) + 1px)),
    linear-gradient(to bottom, transparent calc(2.5rem - 1px), var(--color-line) calc(2.5rem - 1px), var(--color-line) 2.5rem, transparent 2.5rem);
  background-size: 100% 100%, 100% 2.5rem;
  background-position: 0 0, 0 var(--space-xs);
  box-shadow: var(--shadow-photo);
  transform: rotate(-0.6deg);
}
.lined::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--space-sm));
  left: 50%;
  width: 6rem;
  height: 1.75rem;
  margin-left: -3rem;
  background: var(--color-tape);
  mix-blend-mode: multiply;
  transform: rotate(2deg);
}
.subjects__list {
  columns: 1;
  column-gap: var(--space-xl);
  font-family: var(--font-hand);
  font-size: var(--text-md);
  line-height: 2.5rem;
}
.subjects__list li { break-inside: avoid; }
.subjects__list a { color: var(--color-pen); }
.subjects__more { font-family: var(--font-hand); font-size: var(--text-md); line-height: 2.5rem; color: var(--color-ink-2); }
.subjects__aside { display: grid; gap: var(--space-lg); align-content: start; max-width: 30rem; }
.subjects__aside p { margin-top: var(--space-2xs); color: var(--color-ink-2); }

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq-section { padding-block: var(--section-sm); }
.faq { margin-top: var(--space-lg); max-width: 46rem; background: var(--color-label); border: var(--rule-ink) solid var(--color-ink); border-radius: var(--radius-card); }
.faq__item + .faq__item { border-top: var(--rule-hair) solid var(--color-rule); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 2.75rem;
  padding: var(--space-md) var(--space-lg);
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  transition: background-color var(--dur-short) var(--ease-out);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-family: var(--font-hand); font-weight: 700; font-size: var(--text-md); line-height: 1; color: var(--color-pen); }
.faq__item[open] summary::after { content: "\2013"; }
.faq__item summary:hover { background: var(--color-paper-2); }
.faq__item summary:active { background: var(--color-paper-3); }
.faq__content { padding: 0 var(--space-lg) var(--space-lg); max-width: var(--measure); color: var(--color-ink-2); }

/* ── Closing CTA: a big geeltje ─────────────────────────────────── */
.cta-section { padding-block: var(--space-xl) var(--section-lg); }
.cta-note {
  position: relative;
  display: grid;
  gap: var(--space-md);
  justify-items: start;
  max-width: 40rem;
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  background: var(--color-note);
  box-shadow: var(--shadow-note);
  transform: rotate(-0.8deg);
}
.cta-note::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--space-sm));
  left: var(--space-xl);
  width: 6rem;
  height: 1.75rem;
  background: var(--color-tape);
  mix-blend-mode: multiply;
  transform: rotate(-4deg);
}
.cta-note p { color: var(--color-ink-2); max-width: var(--measure); }

/* ── Footer: the schrift cover with its name label ──────────────── */
.foot {
  padding-block: var(--space-2xl) var(--space-xl);
  background: var(--color-cover);
  color: var(--color-label);
}
.foot a { color: var(--color-label); }
.foot a:hover { color: var(--color-label); }
.foot a:active { color: var(--color-paper-3); }
.foot :focus-visible { outline-color: var(--color-label); }
.foot__band { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
.label-card {
  max-width: 22rem;
  margin: 0;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-label);
  color: var(--color-ink);
  border-radius: var(--radius-card);
  box-shadow: inset 0 0 0 var(--space-2xs) var(--color-label), inset 0 0 0 calc(var(--space-2xs) + 2px) var(--color-cover);
}
.label-card__row { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); align-items: baseline; gap: var(--space-xs); border-bottom: var(--rule-hair) dashed var(--color-rule-strong); padding-block: var(--space-2xs); }
.label-card__row:last-child { border-bottom: 0; }
.label-card dt { font-size: var(--text-sm); font-weight: 700; color: var(--color-ink-2); }
.label-card dd { margin: 0; font-family: var(--font-hand); font-weight: 700; font-size: var(--text-md); line-height: 1.3; color: var(--color-pen); }
.label-card dd.label-card__name { font-family: var(--font-display); font-weight: 800; color: var(--color-ink); }
.foot__rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
.foot__label { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 800; line-height: 1.4; color: var(--color-label); }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); margin-top: var(--space-2xs); }
.foot__links a { display: inline-flex; align-items: center; min-height: 2.75rem; white-space: nowrap; }
.foot__legal { margin-top: var(--space-xl); font-size: var(--text-sm); }
.has-fab .foot { padding-bottom: var(--space-3xl); }

/* ── WhatsApp button ───────────────────────────────────────────── */
.wa-fab {
  position: fixed;
  right: max(var(--space-md), env(safe-area-inset-right));
  bottom: max(var(--space-md), env(safe-area-inset-bottom));
  z-index: var(--z-sticky);
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: var(--rule-ink) solid var(--color-ink);
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: var(--color-label);
  box-shadow: var(--shadow-ink);
  transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
}
.wa-fab svg { width: 1.625rem; height: 1.625rem; fill: currentColor; }
.wa-fab:hover { background: var(--color-whatsapp-deep); color: var(--color-label); }
.wa-fab:active { transform: translate(0.1875rem, 0.1875rem); box-shadow: var(--shadow-press); }

/* ── Wizard (bijlesagenda) ─────────────────────────────────────── */
.wizard-page { padding-block: var(--space-xl) var(--section-lg); }
.wizard { max-width: 40rem; padding: var(--space-lg) var(--space-md); }
.wizard__header { display: grid; gap: var(--space-xs); }
.wizard__header h1 { font-size: var(--text-xl); }
.wizard__header p { color: var(--color-ink-2); }
.wizard__meta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 2.75rem; margin-top: var(--space-lg); }
.wizard__step-label { font-family: var(--font-hand); font-weight: 700; font-size: var(--text-md); color: var(--color-pen); }
.wizard__back {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-pen);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
}
.wizard__back:hover { color: var(--color-accent-deep); text-decoration: underline; }
.wizard__back:active { color: var(--color-ink); }
.wizard__back:disabled { color: var(--color-muted); cursor: not-allowed; text-decoration: none; }
.wizard__progress {
  height: var(--space-sm);
  background: var(--color-paper-3);
  border: var(--rule-ink) solid var(--color-ink);
  border-radius: var(--radius-btn);
  overflow: hidden;
}
.wizard__bar {
  height: 100%;
  background: var(--color-marker);
  transform-origin: left center;
  transform: scaleX(max(var(--p, 0), 0.06));
  transition: transform var(--dur-long) var(--ease-out);
}
.wizard__step { margin-top: var(--space-xl); animation: step-in var(--dur-short) var(--ease-out); }
@keyframes step-in { from { opacity: 0; } to { opacity: 1; } }
.wizard__question { font-size: var(--text-md); font-weight: 800; line-height: 1.3; }
.wizard__hint { margin-top: var(--space-2xs); font-family: var(--font-hand); font-size: var(--text-md); color: var(--color-pen); }
.wizard__choices { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-lg); }

.choice {
  flex: 1 1 calc(50% - var(--space-xs));
  min-height: 3rem;
  padding: var(--space-sm) var(--space-md);
  border: var(--rule-ink) solid var(--color-ink);
  border-radius: var(--radius-btn);
  outline: var(--rule-ink) solid transparent;
  background: var(--color-label);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.choice:hover { background: var(--color-paper-2); }
.choice:active { transform: translateY(1px); }
.choice:disabled { border-color: var(--color-rule-strong); color: var(--color-muted); cursor: not-allowed; }
.choice--selected,
.choice--selected:hover { background: var(--color-marker); color: var(--color-ink); }
.choice--selected::before { content: "\2713\00a0"; color: var(--color-redpen); }

.wizard__next {
  position: sticky;
  bottom: max(var(--space-sm), env(safe-area-inset-bottom));
  z-index: var(--z-raised);
  margin-top: var(--space-lg);
}
.wizard__next .btn { width: 100%; }

.anders-field { margin-top: var(--space-md); }
.anders-field .input { max-width: 24rem; }

.wizard__summary { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }
.summary-chip {
  padding: var(--space-2xs) var(--space-sm);
  background: var(--color-marker);
  border-radius: var(--radius-btn);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-ink);
}

/* ── Form fields (wizard + bedankt) ────────────────────────────── */
.contact-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); margin-top: var(--space-lg); }
.field { display: grid; gap: var(--space-2xs); }
.field label,
.field__legend { font-size: var(--text-sm); font-weight: 700; color: var(--color-ink); }
.field__opt { font-weight: 400; color: var(--color-ink-2); }
.input {
  width: 100%;
  min-height: 3.25rem;
  padding: var(--space-sm) var(--space-md);
  border: var(--rule-ink) solid var(--color-rule-strong);
  border-radius: var(--radius-input);
  outline: var(--rule-ink) solid transparent;
  background: var(--color-label);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.4;
  transition: border-color var(--dur-short) var(--ease-out);
}
.input::placeholder { color: var(--color-muted); opacity: 1; }
.input:hover { border-color: var(--color-ink-2); }
.input:focus { border-color: var(--color-ink); }
.input:focus-visible { outline-color: var(--color-focus); outline-offset: 1px; }
.input:disabled { background: var(--color-paper-2); border-color: var(--color-rule); color: var(--color-muted); cursor: not-allowed; }
.input[aria-invalid="true"] { border-color: var(--color-error); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-error); }
textarea.input { min-height: 7rem; resize: vertical; }

.form-error[hidden] { display: flex !important; visibility: hidden; }
.form-error {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  min-height: 1.4em;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-error);
}
.form-error::before {
  content: "!";
  flex: none;
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--color-error);
  color: var(--color-label);
  font-size: var(--text-sm);
  line-height: 1;
}
.submit-privacy { font-size: var(--text-sm); color: var(--color-ink-2); }
.hp { display: none; }

.options { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; border: 0; }
.options legend { margin-bottom: var(--space-xs); padding: 0; }
.option {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: 2.75rem;
  padding: var(--space-xs) var(--space-md);
  border: var(--rule-ink) solid var(--color-ink);
  border-radius: var(--radius-btn);
  background: var(--color-label);
  font-size: var(--text-base);
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out);
}
.option:hover { background: var(--color-paper-2); }
.option:active { background: var(--color-paper-3); }
.option input { width: 1.125rem; height: 1.125rem; margin: 0; accent-color: var(--color-pen); }
.option:has(input:checked) { background: var(--color-marker); }
.option:has(input:disabled) { color: var(--color-muted); cursor: not-allowed; }

/* ── Bedankt ───────────────────────────────────────────────────── */
.letter { padding-block: var(--space-xl) var(--section-lg); }
.letter__inner { position: relative; max-width: 40rem; }
.letter__tick { width: 4rem; height: 3rem; margin-bottom: var(--space-sm); }
.letter__tick path { fill: none; stroke: var(--color-redpen); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.letter h1 { font-size: var(--text-xl); }
.letter__lead { margin-top: var(--space-sm); font-size: var(--text-md); line-height: 1.45; color: var(--color-ink-2); }
.extra { margin-top: var(--space-xl); }
.extra h2 { font-size: var(--text-md); font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
.extra__intro { margin-top: var(--space-2xs); font-family: var(--font-hand); font-size: var(--text-md); color: var(--color-pen); }
.success-msg {
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-marker);
  border: var(--rule-ink) solid var(--color-ink);
  border-radius: var(--radius-btn);
  font-weight: 700;
}
.success-msg::before { content: "\2713\00a0"; color: var(--color-redpen); }
.letter__back { margin-top: var(--space-xl); }

/* ── ≥ 30rem ───────────────────────────────────────────────────── */
@media (min-width: 30rem) {
  .subjects__list { columns: 2; }
  .checks__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── ≥ 40rem ───────────────────────────────────────────────────── */
@media (min-width: 40rem) {
  .hero { padding-block: var(--space-2xl) var(--space-3xl); }
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice { flex: 0 1 auto; }
  .wizard { padding: var(--space-xl); }
  .wizard__next { position: static; }
  .wizard__next .btn { width: auto; }
  .tariff th, .tariff td { padding-inline: var(--space-sm); }
  .worksheet { padding: var(--space-xl) var(--space-lg); }
  .foot__rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__links { flex-direction: column; }
  .foot__links a { min-height: 2.25rem; }
  .has-fab .foot { padding-bottom: var(--space-xl); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro__photos .taped--b { width: 62%; margin-top: calc(-1 * var(--space-2xl)); margin-inline-end: calc(-1 * var(--space-xl)); }
}

/* ── ≥ 60rem ───────────────────────────────────────────────────── */
@media (min-width: 60rem) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); }
  .hero__photo { padding-inline-end: var(--space-md); }
  .checks__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .intro__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
  .notes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prices { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
  .subjects { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: var(--space-2xl); align-items: start; }
  .subjects h2 { grid-column: 1 / -1; }
  .foot__band { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
}

/* ── Reduced motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .btn:active, .choice:active, .wa-fab:active { transform: none; }
}
