/* Het boek van… — page layout for hetboekvan.nl.
   Components (knop, invulveld, kenmerkenkiezer, staalkeuzes, etiket, boekobject, spread, slot, levering, kerstbalk, stempel, specs, melding, pdf, cookiebanner, mail)
   come from components.css; colours, type and spacing from tokens.css. Load order: tokens.css, components.css, site.css.
   Design: https://claude.ai/artifact/DkHSm7rXjRCunfaJDoFw9e (spec: docs/SITE.md).
   Every page root is .site: a size container, so the layout follows the page width (390 px phone, 1280 px desktop).
   Each page type has its own composition (docs/SITE.md, section 3): no shared hero, no 1-2-3 circles, no feature-icon rows,
   no pattern behind text. */

.site { container-type: inline-size; box-sizing: border-box; width: 100%; background: var(--papier); color: var(--inkt); font-family: var(--font-tekst); font-size: 18px; line-height: 28px; -webkit-font-smoothing: antialiased; }
.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site p, .site h1, .site h2, .site h3, .site h4, .site ul, .site ol, .site dl, .site dd, .site figure, .site blockquote { margin: 0; }
.site img { max-width: 100%; }

/* Type on a phone; desktop sizes from 720 px. Corben only for h1, h2, the child's name and the etiket. */
.site .kop-1 { font-size: 32px; line-height: 1.12; letter-spacing: -0.005em; }
.site .kop-2 { font-size: 30px; line-height: 1.15; }
.site .kop-3 { font-family: var(--font-tekst); font-size: 20px; line-height: 27px; font-weight: 700; }
.site .intro { font-size: 19px; line-height: 30px; }
.site .tekst { font-size: 18px; line-height: 28px; }
.site .label { font-size: 17px; line-height: 24px; letter-spacing: 0; text-transform: none; }
.site .klein { font-size: 16px; line-height: 24px; }
@container (min-width: 720px) {
  .site .kop-1 { font-size: 52px; line-height: 1.05; }
  .site .kop-2 { font-size: 38px; line-height: 1.12; }
  .site .kop-3 { font-size: 22px; line-height: 30px; }
  .site .intro { font-size: 21px; line-height: 32px; }
  .site .tekst { font-size: 19px; line-height: 30px; }
}

.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Layout */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap--smal { max-width: 760px; }
@container (min-width: 720px) { .wrap { padding: 0 48px; font-size: 19px; line-height: 30px; } }
.sectie { padding: 56px 0; }
.sectie--krap { padding: 32px 0; }
.sectie--lijn { border-top: 1px solid var(--lijn); }
.sectie--tafel { background: var(--tafel); }
.sectie--schutblad { background: var(--schutblad); }
@container (min-width: 720px) { .sectie { padding: 96px 0; } .sectie--krap { padding: 48px 0; } }
/* The endpaper pattern: only as a strip at the edge of a section or inside a book, never behind text */
.rand-schutblad { height: 28px; background: var(--schutblad) url("schutblad-tegel.svg") repeat-x 0 -6px; background-size: 72px 72px; }
.schutblad-vlak { position: absolute; inset: 0; background: var(--schutblad) url("schutblad-tegel.svg") repeat; background-size: 9cqw 9cqw; }

.stapel { display: grid; gap: 24px; align-content: start; }
.stapel--xs { gap: 6px; }
.stapel--s { gap: 12px; }
.stapel--l { gap: 32px; }
.stapel--xl { gap: 48px; }
.rij { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tekstbreedte { max-width: 60ch; }
.zacht { color: var(--inkt-zacht); }
.naam { color: var(--framboos); }
.midden { text-align: center; justify-items: center; }
.kolommen { display: grid; gap: 40px; }
@container (min-width: 720px) {
  .kolommen--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  .kolommen--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kolommen--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; }
  .kolommen--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
}
.kolommen--midden { align-items: center; }

.link { color: var(--inkt); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.link:hover { color: var(--framboos); }
/* A link that stands on its own line is a 44 px target */
.link--los { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.link--los .ico { width: 20px; height: 20px; }
.site a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.knop-vol { width: 100%; }
@container (min-width: 720px) { .knop-vol { width: auto; } }

/* Header */
.sitekop { background: var(--papier); border-bottom: 1px solid var(--lijn); }
.sitekop__binnen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.sitekop__logo { display: inline-flex; padding: 10px 0; }
.sitekop__logo img { display: block; height: 19px; width: auto; }
.sitekop__nav { display: none; }
.sitekop .hbv-knop { min-height: 48px; padding: 0 18px; font-size: 17px; }
.menuknop { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; min-width: 48px; margin-right: -8px; padding: 0 8px; border: 0; background: transparent; color: var(--inkt); font: 700 17px/24px var(--font-tekst); cursor: pointer; }
.menuknop:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.navlink { color: var(--inkt); font-weight: 700; font-size: 17px; line-height: 24px; text-decoration: none; padding: 12px 0; }
.navlink:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.sitekop__stap { font: 700 17px/24px var(--font-tekst); color: var(--inkt-zacht); }
@container (min-width: 900px) {
  .sitekop__binnen { min-height: 76px; }
  .sitekop__logo img { height: 24px; }
  .sitekop__nav { display: flex; align-items: center; gap: 28px; }
  .menuknop { display: none; }
}
/* Open menu (phone): a full-width panel under the header */
.menu { background: var(--papier); border-bottom: 1px solid var(--lijn); padding: 8px 0 24px; }
.menu__lijst { list-style: none; padding: 0; display: grid; }
.menu__lijst a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--lijn); color: var(--inkt); font: 700 20px/26px var(--font-tekst); text-decoration: none; }
.menu__lijst a .ico { width: 20px; height: 20px; color: var(--inkt-zacht); }
.menu__lijst small { display: block; font: 400 16px/22px var(--font-tekst); color: var(--inkt-zacht); }
.menu__onder { display: grid; gap: 14px; margin-top: 24px; }

/* Footer: ink, so the site ends like the back of a book */
.voet { background: var(--voet); color: var(--op-voet); padding: 48px 0 40px; font-size: 17px; line-height: 26px; }
.voet .label { color: var(--op-voet-zacht); font-size: 16px; }
.voet__kolommen { display: grid; gap: 28px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.voet__kolommen nav:first-child { grid-column: 1 / -1; }
@container (min-width: 720px) { .voet__kolommen { grid-template-columns: repeat(3, minmax(0, 1fr)); } .voet__kolommen nav:first-child { grid-column: auto; } }
.voet ul { list-style: none; padding: 0; display: grid; }
.voet ul.rij { display: flex; flex-wrap: wrap; gap: 0 24px; }
.voet li a { display: inline-flex; align-items: center; min-height: 44px; }
.voet a { color: var(--op-voet); text-underline-offset: 3px; }
.voet a:hover { color: var(--op-kerst-accent); }
.voet a:focus-visible { outline-color: var(--op-kerst-accent); }
.voet__onder { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 252, 247, 0.18); display: grid; gap: 10px; color: var(--op-voet-zacht); font-size: 16px; line-height: 24px; }
.voet__merk { display: flex; gap: 12px; align-items: center; color: var(--op-voet); font: 700 18px/24px var(--font-display); margin-bottom: 4px; }
.voet__merk img { width: 40px; height: 40px; }

/* Hero, homepage and theme pages: the book first on a phone, text and form beside it on desktop */
.held { padding: 20px 0 48px; }
.held__raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.held__raster > * { min-width: 0; }
.held__kop { order: 1; }
.held__boek { order: 2; display: flex; justify-content: center; padding: 6px 0 14px; }
.held__vorm { order: 3; display: grid; gap: 14px; }
.held .hbv-object { width: min(282px, 76cqw); }
.held__geruststelling { font-size: 17px; line-height: 25px; color: var(--inkt); }
@container (min-width: 860px) {
  .held { padding: 72px 0 104px; }
  .held__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 72px; row-gap: 28px; align-items: start; }
  .held__kop { grid-column: 1; grid-row: 1; align-self: end; }
  .held__vorm { grid-column: 1; grid-row: 2; max-width: 520px; }
  .held__boek { grid-column: 2; grid-row: 1 / 3; align-self: center; padding: 0; }
  .held .hbv-object { width: 440px; }
}
/* The table the book lies on: a warm surface with a second book behind (desktop) */
.tafel { position: relative; display: grid; place-items: center; }
.tafel > .hbv-object { position: relative; z-index: 1; }
.tafel > .tafel__achter { position: absolute; z-index: 0; display: none; }
@container (min-width: 860px) {
  .tafel > .tafel__achter { display: block; width: 330px; right: -36px; top: -46px; transform: rotate(5deg); }
  .tafel .hbv-object--schuin { transform: rotate(-3deg) translate(-56px, 28px); }
}

/* Shelf: the three books standing next to each other, the label carries the name the visitor typed */
.plank { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 232px; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding: 4px 16px 0; margin: 0 -16px; scrollbar-width: none; }
.plank::-webkit-scrollbar { display: none; }
.plank > * { scroll-snap-align: start; }
.plank__boek { display: grid; gap: 18px; align-content: start; color: var(--inkt); text-decoration: none; }
/* One shelf: the boards of neighbouring books touch, the text stands under the shelf */
.plank__boek > :not(.plank__staan) { padding-right: 24px; }
.plank__staan { position: relative; display: grid; place-items: end center; height: 232px; padding: 0 12px 14px; border-bottom: 10px solid var(--tafel); box-shadow: 0 1px 0 var(--lijn); }
.plank__staan .hbv-object { width: 190px; }
.plank__boek h3 { font: 700 24px/1.15 var(--font-display); }
.plank__boek p { font-size: 17px; line-height: 25px; }
.plank__boek .zacht { font-size: 16px; line-height: 22px; }
@container (min-width: 860px) {
  .plank { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; padding: 0; margin: 0; gap: 0; }
  .plank__boek > :not(.plank__staan) { padding-right: 40px; }
  .plank__staan { height: 300px; }
  .plank__staan .hbv-object { width: 236px; }
}
.plank--klein { grid-auto-columns: 168px; }
.plank--klein .plank__staan { height: 168px; }
.plank--klein .plank__staan .hbv-object { width: 136px; }
@container (min-width: 860px) { .plank--klein { grid-template-columns: repeat(3, minmax(0, 220px)); } .plank--klein .plank__staan { height: 210px; } .plank--klein .plank__staan .hbv-object { width: 168px; } }

/* Bladeren: spreads you swipe through; every page is a snap point, so one swipe turns one page */
.blader { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding: 8px 16px 28px; margin: 0 -16px; scrollbar-width: thin; }
.blader > .hbv-spread { flex: none; width: 640px; }
.blader .hbv-spread__pagina { scroll-snap-align: start; }
@container (min-width: 860px) { .blader { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 48px; overflow: visible; margin: 0; padding: 8px 0 28px; } .blader > .hbv-spread { width: 100%; } .blader--een { grid-auto-columns: minmax(0, 860px); justify-content: center; } }
.blader__hint { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 22px; color: var(--inkt-zacht); }
@container (min-width: 860px) { .blader__hint { display: none; } }

/* Proof band: Rob and the proof print */
.bewijs { display: grid; gap: 28px; }
.bewijs__foto { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-boek); }
.bewijs__citaat { font: 400 24px/1.35 var(--font-display); color: var(--inkt); }
.bewijs__wie { display: flex; align-items: center; gap: 14px; }
.bewijs__wie p { font-size: 17px; line-height: 24px; }
.bewijs__feiten { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--lijn); }
.bewijs__feiten li { display: grid; grid-template-columns: minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--lijn); }
.bewijs__feiten strong { font-size: 18px; }
.bewijs__feiten span { color: var(--inkt-zacht); font-size: 17px; line-height: 25px; }
@container (min-width: 860px) {
  .bewijs { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
  .bewijs__citaat { font-size: 30px; }
}

/* Product block: facts and price as information, not as selectable cards */
.product { display: grid; gap: 40px; }
.product__prijs { font: 700 48px/1 var(--font-display); letter-spacing: -0.01em; }
.product__prijs small { display: block; margin-top: 8px; font: 400 18px/26px var(--font-tekst); color: var(--inkt-zacht); letter-spacing: 0; }
.product__tweede { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; padding-top: 24px; border-top: 1px solid var(--lijn); }
.product__tweede .hbv-slot { aspect-ratio: 1; border-radius: var(--radius-boek); }
@container (min-width: 860px) { .product { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; } }

/* Kerst band: a full green section in December */
.kerstband { background: var(--kerst-vlak); color: var(--op-kerst); }
.kerstband .kop-2 { color: var(--op-kerst); }
.kerstband p { color: var(--op-kerst); }
.kerstband b { color: var(--op-kerst-accent); }
.kerstband .link { color: var(--op-kerst); }
.kerstband__raster { display: grid; gap: 28px; align-items: center; }
.kerstband .hbv-object { width: 168px; }
@container (min-width: 720px) { .kerstband__raster { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; } .kerstband .hbv-object { width: 210px; } }

/* Theme page: the story, scene by scene */
.verhaal { display: grid; gap: 48px; }
.scene { display: grid; gap: 16px; }
.scene__nr { font: 700 16px/22px var(--font-tekst); color: var(--inkt-zacht); }
.scene .hbv-spread { width: 100%; }
@container (max-width: 559px) {
  /* On a phone a scene is one page of text and one plate below it, both full width */
  .scene .hbv-spread { grid-template-columns: 1fr; aspect-ratio: auto; }
  .scene .hbv-spread__pagina:first-child { padding: 28px 24px 44px; }
  .scene .hbv-spread__pagina:first-child .hbv-spread__tekst { position: relative; inset: auto; }
  .scene .hbv-spread__pagina:last-child { aspect-ratio: 1; }
  .scene .hbv-spread__pagina:first-child { border-radius: 3px 3px 0 0; }
  .scene .hbv-spread__pagina:last-child { border-radius: 0 0 3px 3px; }
  .scene .hbv-spread__pagina:first-child::after { background: linear-gradient(180deg, transparent 80%, rgba(22, 48, 43, 0.10)); }
  .scene .hbv-spread__pagina:last-child::after { background: linear-gradient(180deg, rgba(22, 48, 43, 0.12), transparent 14%); }
  .scene .hbv-spread__tekst { font-size: 21px; line-height: 1.5; }
  .scene .hbv-spread__nr { font-size: 13px; bottom: 14px; }
}
.feiten { display: grid; gap: 0; border-top: 1px solid var(--lijn); }
.feiten > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--lijn); }
.feiten dt { font-weight: 700; }
.feiten dd { margin: 0; color: var(--inkt); }
@container (min-width: 720px) { .feiten > div { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; } }
.opdracht { position: relative; aspect-ratio: var(--spread-verhouding, 2 / 1); container-type: inline-size; }
.opdracht .hbv-spread { width: 100%; height: 100%; }
/* The dedication page: an etiket and the buyer's own words, on the right-hand page after the endpaper */
.opdracht__tekst { position: absolute; inset: 16% 9% auto 9%; text-align: center; font: 400 2.5cqw/1.5 var(--font-display); color: var(--inkt); }
.opdracht__tekst .hbv-etiket { margin: 0 auto 3cqw; width: 72%; padding: 2.6cqw 2cqw 2.2cqw; --etiket-klein: 2.2cqw; --etiket-naam: 5.4cqw; --r: 1.6cqw; box-shadow: 0 0 0 1px var(--lijn); }
.opdracht__tekst .hbv-etiket::after { inset: 1cqw; border-width: 1px; }
.opdracht__tekst .hbv-etiket__streep { height: 0.8cqw; margin-top: 0.8cqw; background-size: 1.8cqw 0.8cqw; background-image: radial-gradient(circle, var(--inkt) 0.28cqw, #0000 0.36cqw); }

/* Name page: the name, big, and on all three books */
.naamheld { padding: 28px 0 40px; }
.naamheld__kop { font: 700 44px/1 var(--font-display); letter-spacing: -0.01em; }
.naamheld__kop .naam { display: block; font-size: 1.7em; line-height: 0.95; }
@container (min-width: 860px) { .naamheld { padding: 72px 0 72px; } .naamheld__kop { font-size: 64px; } }
.naamkaart { display: grid; gap: 14px; padding: 28px 24px; background: var(--papier-wit); border: 1px solid var(--lijn); border-radius: var(--radius-boek); }
.naamkaart__getal { font: 700 60px/1 var(--font-display); color: var(--inkt); letter-spacing: -0.01em; }

/* Sticky order bar on a phone; on the canvas it shows at the end of the page */
.plakbalk { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--papier-wit); border-top: 1px solid var(--lijn); box-shadow: 0 -6px 18px rgba(22, 48, 43, 0.08); }
.plakbalk__wat { display: grid; font-size: 16px; line-height: 22px; min-width: 0; }
.plakbalk__wat strong { font: 700 20px/24px var(--font-display); }
.plakbalk .hbv-knop { flex: none; padding: 0 18px; }
@container (min-width: 860px) { .plakbalk { display: none; } }

/* FAQ */
.vragen { border-bottom: 1px solid var(--lijn); }
.vraag { border-top: 1px solid var(--lijn); }
.vraag summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font: 700 19px/26px var(--font-tekst); cursor: pointer; list-style: none; }
.vraag summary::-webkit-details-marker { display: none; }
.vraag summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; color: var(--inkt); font: 400 30px/1 var(--font-tekst); }
.vraag[open] summary::after { content: "\2212"; }
.vraag summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.vraag__antwoord { padding: 0 0 22px; max-width: 62ch; display: grid; gap: 12px; }
.site .faqkop { margin: 48px 0 4px; }
.site .faqkop:first-child { margin-top: 0; }

/* Forms */
.veldgroep { display: grid; gap: 8px; }
.veldlabel { font: 700 18px/24px var(--font-tekst); }
.veldhulp { font-size: 16px; line-height: 24px; color: var(--inkt-zacht); }
.site .hbv-veld { width: 100%; }
.hbv-veld--tekst { min-height: 150px; padding: 14px 16px; line-height: 28px; resize: vertical; }
.velden-rij { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: 12px; }
.keuze { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; min-height: 44px; cursor: pointer; font-size: 17px; line-height: 26px; }
.keuze input { width: 26px; height: 26px; margin: 0; accent-color: var(--inkt); }
.keuze input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.foutmelding { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; color: var(--fout); font-weight: 700; font-size: 17px; line-height: 24px; }
.foutmelding .ico { width: 22px; height: 22px; margin-top: 1px; }
.hbv-veld--fout { border-color: var(--fout); }
.suggestie { font-size: 17px; line-height: 24px; }
.suggestie button { min-height: 44px; padding: 0; border: 0; background: none; color: var(--inkt); font: 700 17px/24px var(--font-tekst); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }

/* Cards, summary, timeline */
.kaart { background: var(--papier-wit); border: 1px solid var(--lijn); border-radius: var(--radius-boek); padding: 24px 20px; display: grid; gap: 16px; align-content: start; }
.kaart--zacht { background: var(--tafel); border-color: transparent; }
.overzicht { display: grid; }
.regel { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--lijn); font-variant-numeric: tabular-nums; }
.regel--totaal { border-bottom: 0; padding-top: 14px; font-weight: 700; font-size: 21px; line-height: 28px; }
.gegevens { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 20px; }
.gegevens dt { font-weight: 700; }
.gegevens dd { min-width: 0; overflow-wrap: anywhere; }
.tijdlijn { list-style: none; padding: 0; display: grid; }
.tijdlijn li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding-bottom: 22px; }
.tijdlijn li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--lijn); }
.tijdlijn__punt { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-rond); border: 2px solid var(--rand); background: var(--papier-wit); color: var(--papier); }
.tijdlijn__punt .ico { width: 18px; height: 18px; }
.is-klaar .tijdlijn__punt { background: var(--inkt); border-color: var(--inkt); }
.is-nu .tijdlijn__punt { border: 3px solid var(--inkt); box-shadow: 0 0 0 5px var(--inkt-tint); }
.tijdlijn strong { display: block; }
.status { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: var(--radius-rond); background: var(--inkt-tint); color: var(--inkt); font: 700 16px/24px var(--font-tekst); }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--inkt); }

/* Order summary with the cover thumbnail */
.besteld { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; }
.besteld .hbv-object { width: 88px; }
.besteld .hbv-object::after { display: none; }

/* Preview: the book you open */
.openboek { display: grid; gap: 28px; }
.openboek__omslag { display: grid; justify-items: center; gap: 16px; }
.openboek__omslag .hbv-object { width: min(264px, 70cqw); }
@container (min-width: 900px) { .openboek__omslag .hbv-object { width: 320px; } }
.bestelkaart { display: grid; gap: 14px; padding: 22px 20px; background: var(--papier-wit); border: 2px solid var(--inkt); border-radius: var(--radius-veld); }
.bestelkaart__prijs { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bestelkaart__prijs strong { font: 700 32px/1 var(--font-display); }
.bestelkaart__prijs span { font-size: 16px; line-height: 22px; color: var(--inkt-zacht); text-align: right; }
@container (min-width: 900px) {
  .preview-raster { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
  .preview-raster__zij { position: sticky; top: 24px; }
}

/* Maakflow: live card at the top of a step */
.levend { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 16px; background: var(--papier-wit); border: 1px solid var(--lijn); border-radius: var(--radius-veld); }
.levend .hbv-object { width: 96px; }
.levend .hbv-object::after { display: none; }
.levend__tekst { display: grid; gap: 2px; font-size: 16px; line-height: 22px; }
.levend__tekst strong { font: 700 20px/1.2 var(--font-display); }
.zin { font: 700 26px/1.6 var(--font-display); }
.zin .hbv-chips { display: inline-flex; vertical-align: middle; margin: 4px 0; }
.momenten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.moment { position: relative; display: grid; gap: 8px; justify-items: center; padding: 12px 6px 10px; border: 2px solid var(--rand); border-radius: var(--radius-veld); background: var(--papier-wit); cursor: pointer; text-align: center; font: 700 16px/20px var(--font-tekst); }
.moment input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.moment .hbv-object { width: 84px; }
.moment .hbv-object::after { display: none; }
.moment:has(input:checked) { border-color: var(--inkt); box-shadow: inset 0 0 0 2px var(--inkt); background: var(--inkt-tint); }
.moment:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.uitklap { border-top: 1px solid var(--lijn); }
.uitklap:last-child { border-bottom: 1px solid var(--lijn); }
.uitklap summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; cursor: pointer; list-style: none; font: 700 19px/26px var(--font-tekst); }
.uitklap summary::-webkit-details-marker { display: none; }
.uitklap summary small { display: block; font: 400 16px/22px var(--font-tekst); color: var(--inkt-zacht); }
.uitklap summary::after { content: "+"; font: 400 30px/1 var(--font-tekst); }
.uitklap[open] summary::after { content: "\2212"; }
.uitklap__inhoud { display: grid; gap: 20px; padding: 0 0 24px; }

/* Boards: several phone screens side by side on the canvas */
.bord { box-sizing: border-box; padding: 48px; background: var(--lijn); color: var(--inkt); font-family: var(--font-tekst); }
.bord__rij { display: flex; gap: 48px; align-items: flex-start; }
.bord__item { display: grid; gap: 12px; flex: none; width: min-content; }
.bord__titel { margin: 0; font: 700 17px/24px var(--font-tekst); color: var(--inkt); }
.bord__notitie { margin: 0; max-width: 390px; font: 400 16px/22px var(--font-tekst); color: var(--inkt); }
.scherm { width: 390px; min-height: 844px; display: flex; flex-direction: column; }
.scherm--kort { min-height: 0; }
.scherm__inhoud { flex: 1; padding: 24px 16px 32px; display: grid; gap: 24px; align-content: start; }
.scherm__onder { padding: 16px 16px 24px; border-top: 1px solid var(--lijn); display: grid; gap: 10px; background: var(--papier); }
.stapbalk { display: grid; gap: 10px; padding: 8px 16px 14px; border-bottom: 1px solid var(--lijn); }
.stapbalk__rij { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; }
.terug { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; color: var(--inkt); font-weight: 700; font-size: 17px; text-decoration: none; }
.terug .ico { width: 20px; height: 20px; }
.voortgang { height: 6px; border-radius: var(--radius-rond); background: var(--inkt-tint); overflow: hidden; }
.voortgang span { display: block; height: 100%; background: var(--inkt); border-radius: inherit; }
.subgroep { display: grid; gap: 20px; padding: 20px 16px; border-radius: var(--radius-veld); background: var(--tafel); }

/* Placeholder washes for old .illu markup (admin): no shapes, only the series colour */
.illu { position: absolute; inset: 0; }
.illu--feest { background: #fdf1d6; }
.illu--school { background: #e5eef0; }
.illu--kerst { background: #e4efe7; }
.illu--zacht { background: var(--slot); }

/* E-mails */
.mail-knop { justify-self: start; }
.mail-voet { padding: 20px 28px 28px; background: var(--papier-wit); font-size: 15px; line-height: 22px; color: var(--inkt-zacht); display: grid; gap: 8px; }
.mail-voet a { color: var(--inkt); }
.mail-onderwerp { box-sizing: border-box; display: grid; gap: 2px; padding: 14px 18px; background: var(--papier-wit); border: 1px solid var(--lijn); border-bottom: 0; width: 560px; font-size: 15px; line-height: 22px; }
.mail-onderwerp b { font-size: 17px; }
.mail-omslag { display: block; position: relative; width: 100%; aspect-ratio: 1; border-radius: 4px; }
.mail-omslag .hbv-slot__label { font-size: 15px; }

/* Kerst hero: the whole hero on green, so the Christmas book has its own look. The name turns light gold (framboos fails on green). */
.held--kerst { background: var(--kerst-vlak); color: var(--op-kerst); }
.held--kerst .kop-1, .held--kerst .held__geruststelling, .held--kerst .hbv-levering, .held--kerst .hbv-invul__label { color: var(--op-kerst); }
.held--kerst .kop-1 .naam { color: var(--op-kerst-accent); }
.held--kerst .hbv-invul__veld { border-color: var(--papier-wit); }
.held--kerst .hbv-object::after { background: radial-gradient(closest-side, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0)); }
.held--kerst .hbv-knop--primair { box-shadow: 0 0 0 2px var(--papier-wit); }
@container (max-width: 559px) {
  /* On a phone the dedication shows as one page */
  .opdracht { aspect-ratio: var(--boek-verhouding, 1); }
  .opdracht .hbv-spread { grid-template-columns: 1fr; aspect-ratio: var(--boek-verhouding, 1); }
  .opdracht .hbv-spread__pagina:first-child { display: none; }
  .opdracht .hbv-spread__pagina:last-child { border-radius: 3px; }
  .opdracht .opdracht__tekst { inset: 16% 10% auto 10%; font-size: 5.2cqw; }
  .opdracht .opdracht__tekst .hbv-etiket { padding: 5cqw 4cqw 4.4cqw; --etiket-klein: 4.4cqw; --etiket-naam: 11cqw; --r: 3.2cqw; margin-bottom: 6cqw; }
  .opdracht .opdracht__tekst .hbv-etiket::after { inset: 2cqw; }
  .opdracht .opdracht__tekst .hbv-etiket__streep { height: 1.6cqw; margin-top: 1.6cqw; background-size: 3.6cqw 1.6cqw; background-image: radial-gradient(circle, var(--inkt) 0.56cqw, #0000 0.72cqw); }
}
@container (min-width: 860px) {
  .verhaal { gap: 72px; }
  .scene { width: 80%; }
  .scene:nth-child(even) { justify-self: end; }
}
.naamheld__kop .naam.is-m { font-size: 1.45em; }
.naamheld__kop .naam.is-l { font-size: 1.2em; }
.naamheld__kop .naam.is-xl, .naamheld__kop .naam.is-xxl { font-size: 1em; overflow-wrap: anywhere; }
.toon-breed { display: none; }
@container (min-width: 900px) { .toon-breed { display: grid; } .verberg-breed { display: none; } }
.hbv-spread__pagina .hbv-slot + .hbv-spread__tekst { z-index: 1; }

/* Checkout: summary first on a phone; on desktop the form left and a sticky summary right. The pay button ends the form. */
.kassa { display: grid; gap: 32px; }
.kassa > * { min-width: 0; }
@container (min-width: 900px) {
  .kassa { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
  .kassa__zij { grid-column: 2; grid-row: 1; position: sticky; top: 24px; }
  .kassa__hoofd { grid-column: 1; grid-row: 1; max-width: 640px; }
}
/* Step numbers as type, not as coloured circles */
.genummerd { font: 700 64px/0.9 var(--font-tekst); color: var(--inkt); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.mail-omslag { text-decoration: none; color: inherit; }


/* ---------- Round 4 ---------- */

/* Short phone screens (Facebook and Instagram in-app browsers are ~650 px tall): the hero button must end at 620 px or higher */
@media (max-height: 760px) and (max-width: 719px) {
  .sitekop__binnen { min-height: 56px; }
  .held { padding-top: 14px; }
  .held__raster { gap: 14px; }
  .held__vorm { gap: 10px; }
  .held .kop-1 { font-size: 28px; line-height: 1.1; }
  .held__boek { padding: 2px 0 10px; }
  .held .hbv-object { width: min(188px, 50vw); }
  .held .hbv-invul { gap: 6px; }
}

/* Focus ring on green: framboos on green is 1:1, so use the light gold */
.held--kerst, .kerstband { --focus: var(--op-kerst-accent); }

/* Admin page thumbnails */
.pagina { position: relative; overflow: hidden; border-radius: 3px; background: var(--slot); }

/* Older iPads without container units: fixed etiket sizes per book size */
@supports not (width: 1cqw) {
  .plank .hbv-object .hbv-etiket, .kerstband .hbv-object .hbv-etiket, .tafel__achter .hbv-etiket { padding: 11px 8px 9px; --etiket-klein: 10px; --etiket-naam: 28px; --etiket-onder: 8px; --r: 6px; }
  .besteld .hbv-object .hbv-etiket, .levend .hbv-object .hbv-etiket, .moment .hbv-object .hbv-etiket { display: none; }
}

/* Preview: the whole story as text, each spread with a small example plate */
.verhaallijst { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--lijn); counter-reset: none; }
.verhaallijst li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--lijn); }
.verhaallijst .hbv-slot { aspect-ratio: var(--spread-verhouding, 2 / 1); border-radius: 2px; }
.verhaallijst .wat { display: block; font: 700 15px/20px var(--font-tekst); color: var(--inkt-zacht); }
.verhaallijst p { font: 400 18px/1.5 var(--font-display); }
.verhaallijst .naam { font-weight: 700; }
@container (min-width: 720px) { .verhaallijst li { grid-template-columns: 120px minmax(0, 1fr); } }

/* Make flow on desktop: the book and the step on the left, the questions on the right */
.flow { padding: 40px 0 72px; }
.flow__raster { display: grid; gap: 32px; }
@container (min-width: 900px) {
  .flow__raster { grid-template-columns: 340px minmax(0, 1fr); gap: 72px; align-items: start; }
  .flow__zij { position: sticky; top: 24px; display: grid; gap: 20px; justify-items: start; }
  .flow__zij .hbv-object { width: 300px; }
  .flow__hoofd { max-width: 640px; }
  .flow__onder { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--lijn); }
}
.flow__hoofd { display: grid; gap: 28px; }

/* Second copy after payment */
.stappenrij { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; font-size: 16px; line-height: 22px; color: var(--inkt-zacht); }
.stappenrij li[aria-current="step"] { color: var(--inkt); font-weight: 700; }

/* Design-only marker for proposals Rob still decides on (never shown to customers) */
.voorstel { display: inline-block; justify-self: start; padding: 4px 10px; border: 1.5px dashed var(--fout); border-radius: 6px; background: var(--papier-wit); font: 700 14px/18px var(--font-tekst); color: var(--fout); }

/* Open Graph image */
.og { width: 1200px; height: 630px; display: grid; grid-template-columns: 1fr 460px; align-items: center; gap: 48px; padding: 0 80px; background: var(--tafel); box-sizing: border-box; color: var(--inkt); font-family: var(--font-tekst); }
.og h1 { margin: 0; font: 700 54px/1.06 var(--font-display); }
.og p { margin: 16px 0 0; font-size: 28px; line-height: 38px; }
.og img { height: 32px; margin-top: 40px; }

/* Desktop flow header: logo left, step and progress right */
.kopstap { display: flex; align-items: center; gap: 16px; }
.kopstap .voortgang { width: 180px; }
.flow__zij .levend__tekst strong { font-size: 24px; }
.flow__onder .hbv-knop, .flow__onder .terug { flex: none; white-space: nowrap; }
.flow__onder .klein { max-width: 300px; }

/* Preview: copy-link fallback when the browser has no share sheet */
.kopieerrij { display: flex; gap: 8px; align-items: stretch; }
.kopieerrij .hbv-veld { flex: 1 1 0; width: 100%; min-width: 0; font-size: 16px; color: var(--inkt-zacht); }
.kopieerrij .hbv-knop { flex: none; padding: 0 16px; }
.bestelkaart__keuze { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--lijn); }
.bestelkaart__keuze .rijprijs { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; }
.bestelkaart__keuze .rijprijs b { font: 700 22px/1 var(--font-display); }

/* Checkout recap: what gets printed */
.recap { display: grid; gap: 6px; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--lijn); font-size: 16px; line-height: 22px; }
.recap div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
.recap dt { color: var(--inkt-zacht); }
.recap dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.besteld .hbv-pdf { width: 64px; justify-self: center; }
.mail-blok { display: grid; gap: 10px; padding: 16px; background: var(--papier-wit); border-radius: var(--radius-veld); }
.mail-blok .hbv-knop { justify-self: start; }
.mail-link { color: var(--inkt); font-weight: 700; }
