/*
 * KASCH, de productpagina (index.html, 20-11) — bovenop strak.css.
 *
 * Naar het voorbeeld van een productpagina van Apple: één ding per scherm, een klein grijs woord
 * boven een grote kop, het product groot in beeld, en cijfers in kleur. Wat van KASCH blijft: de
 * tweetonige kop, Geist, groen als enige accent, en echte schermen in plaats van foto's.
 *
 * Beweging komt van het scrollen (strak.js): de film is een scrollverhaal, de opening groeit mee,
 * en één alinea kleurt woord voor woord in. Zonder script en met "minder beweging" staat alles er
 * gewoon: elke variabele heeft de eindstand als standaard.
 */

.oogje { font: 600 clamp(15px, 1.3vw, 19px)/1.2 var(--font); letter-spacing: -.01em; color: var(--grijs); }

/* ------------------------------------------------------------------ koppen in het nieuwe gewicht */
.nieuw .blok__kop h2,
.nieuw .slot h2 { font-weight: 600; font-size: clamp(2.5rem, 6.2vw, 5.4rem); line-height: 1; letter-spacing: -.05em; }
.nieuw .blok__kop .oogje { margin: 0 auto 14px; max-width: none; font-size: clamp(15px, 1.3vw, 19px); color: var(--grijs); }
.nieuw .blok--links .blok__kop .oogje { margin-left: 0; }
.nieuw .blok__kop p:not(.oogje) { margin-top: 26px; max-width: 40ch; font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; line-height: 1.4; }
.nieuw .bijschrift h3 { font-weight: 600; }

/* ------------------------------------------------------------------ opening */
.opening {
  max-width: calc(var(--breed) + 2 * var(--rand));
  margin: 0 auto;
  padding: 4vh var(--rand) 0;
  text-align: center;
}
.opening__tekst { transform: translateY(calc(var(--g, 0) * -22px)); }
.opening h1 {
  margin-top: 10px;
  font: 600 clamp(3.2rem, 9vw, 7.6rem)/.96 var(--font);
  letter-spacing: -.055em;
  text-wrap: balance;
}
.opening .held__knoppen { justify-content: center; margin-top: 30px; }
.opening__onder { margin-top: 18px; font-size: clamp(15px, 1.25vw, 18px); font-weight: 500; }
/* Het beeld begint iets kleiner en groeit naar zijn plek terwijl je scrolt; de telefoon komt na. */
.opening__beeld {
  /* Niet breder dan dat de tablet onder de tekst nog in het scherm past: zo zie je het openklappen
     in één oogopslag (20-11). De tablet is 326 hoog op 672 breed; de tekst erboven vraagt ± 340 px. */
  max-width: min(1100px, max(520px, calc((100svh - 340px) * 2.06)));
  margin: 3vh auto 0;
  transform: scale(calc(.86 + .14 * var(--g, 1)));
  transform-origin: 50% 0;
  will-change: transform;
}
/* De tablet bovenaan, direct onder de tekst; de telefoon hangt er rechts voor en steekt eronder uit. */
.toestellen { position: relative; width: 672px; height: 470px; transform-origin: 0 0; text-align: left; }
.toestellen .tablet { position: absolute; left: 0; top: 0; transform-origin: 50% 100%; transition: transform 1.3s var(--ease), opacity .5s var(--ease), filter .7s var(--ease), scale .9s var(--ease); }
/* De telefoon hangt net naast het scherm van de tablet, over de rand: zo blijft de kassa heel te zien. */
.toestellen .telefoon {
  position: absolute; left: 458px; top: 30px; z-index: 2;
  transform: translateY(calc((1 - var(--g, 1)) * 46px));
  transition: opacity .8s var(--ease), translate 1.2s var(--ease), scale 1.2s var(--ease), box-shadow .8s var(--ease);
}
/* Wie aan de beurt is komt naar voren: tijdens de webshop de telefoon, de tablet wijkt iets terug. */
.js [data-intro].is-shop .telefoon { scale: 1.06; translate: 0 -8px; box-shadow: inset 0 0 0 1px var(--toestel-rand), 0 60px 90px -40px rgba(0, 0, 0, .85); }
.js [data-intro].is-shop .tablet { filter: brightness(.62) saturate(.8); scale: .985; }

/*
 * De opening als kleine film. Met script begint de tablet dichtgeklapt (plat naar achteren, het
 * scherm uit); strak.js zet .is-open en hij klapt omhoog terwijl het scherm aangaat. De telefoon
 * schuift erbij zodra de kassa heeft afgerekend (.is-tel). Zonder script geldt niets hiervan.
 */
.toestellen .tablet::after {
  content: ""; position: absolute; inset: 9px; z-index: 5; border-radius: 14px;
  background: #060607; opacity: 0; pointer-events: none;
  transition: opacity .8s var(--ease) .45s;
}
.js [data-intro]:not(.is-open) .tablet { transform: perspective(1400px) rotateX(76deg) scale(.92); opacity: 0; }
.js [data-intro]:not(.is-open) .tablet::after { opacity: 1; transition: none; }
/* De telefoon komt met het openklappen mee naar voren: van onderen, iets kleiner, naar zijn plek. */
.js [data-intro]:not(.is-tel) .telefoon { opacity: 0; translate: 0 90px; scale: .86; }
/*
 * De kassa op de tablet, nagetekend naar de echte app op een groot scherm (20-11): bovenaan de
 * balk met Kassa en Bestellingen, links de groepen onder elkaar, in het midden de artikelen als
 * tegels en rechts altijd de bon. Afrekenen gebeurt in de bonkolom zelf, zoals in de app
 * (ui/kassa/Afrekenen.tsx), zodat de rest van de kassa in beeld blijft. Vaste kleuren: de kassa
 * is donker, ook als de pagina licht is.
 */
.toestellen .tablet { width: 470px; height: 326px; }
.tablet > .ak { --ak-grond: #000; --ak-vlak: #1c1c1e; --ak-vlak-2: #2c2c2e; --ak-lijn: #2c2c2e; --ak-tekst: #f5f5f7; --ak-grijs: #8e8e93; --ak-groen: #67d36d;
  display: flex; flex-direction: column; background: var(--ak-grond); color: var(--ak-tekst); font-size: 8px; line-height: 1.2; }
.ak em { font-style: normal; }
.ak__balk { display: flex; align-items: center; gap: 6px; height: 24px; flex: none; padding: 0 10px; background: var(--ak-vlak); border-bottom: 1px solid #000; }
.ak__menu { display: grid; gap: 2px; width: 10px; }
.ak__menu i { height: 1.3px; border-radius: 1px; background: var(--ak-tekst); }
.ak__merk { margin: 0 8px 0 4px; font-size: 8.5px; font-weight: 700; letter-spacing: .1em; }
.ak__merk .punt { color: var(--ak-groen); }
.ak__pil { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 999px; color: var(--ak-grijs); font-size: 7.5px; }
.ak__pil.is-aan { background: var(--ak-vlak-2); color: var(--ak-tekst); font-weight: 500; }
.ak__pil em { display: grid; place-items: center; min-width: 10px; height: 10px; padding: 0 3px; border-radius: 999px; background: #3a3a3c; color: var(--ak-tekst); font-size: 6px; font-weight: 600; }
.ak__klok { margin-left: auto; font-weight: 600; font-size: 8px; font-variant-numeric: tabular-nums; }
.ak__lijf { flex: 1; display: grid; grid-template-columns: 94px minmax(0, 1fr) 150px; min-height: 0; }

/* Links: de groepen onder elkaar, met hun kleur en een tellertje als er iets van op de bon staat. */
.ak__zij { display: flex; flex-direction: column; gap: 2px; padding: 6px 5px; border-right: 1px solid var(--ak-lijn); }
.ak__zoekveld { display: flex; align-items: center; gap: 4px; height: 18px; margin-bottom: 3px; padding: 0 6px; border-radius: 6px; background: var(--ak-vlak-2); color: var(--ak-grijs); font-size: 7px; }
.ak__zoekveld svg { width: 8px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.ak__groep { display: flex; align-items: center; gap: 5px; height: 19px; padding: 0 6px; border-radius: 6px; color: var(--ak-grijs); font-size: 7.5px; white-space: nowrap; transition: background .25s, color .25s; }
.ak__groep.is-aan { background: var(--ak-vlak-2); color: var(--ak-tekst); font-weight: 600; }
.ak__groep i { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--k); }
.ak__groep em { margin-left: auto; }
.ak__groep em, .ak__tegels em, .ak__regels em { display: grid; place-items: center; min-width: 10px; height: 10px; padding: 0 3px; border-radius: 999px; background: var(--ak-groen); color: #04210b; font-size: 6px; font-weight: 700; transition: opacity .2s, scale .3s var(--ease); }
.ak__groep em:empty { opacity: 0; scale: .5; }
.ak__inklap { margin-top: auto; padding: 4px 6px; color: var(--ak-grijs); font-size: 6.5px; }

/* Midden: de artikelen van de gekozen groep als tegels, met de kleurstreep van de groep. */
.ak__midden { position: relative; min-width: 0; }
.ak__tegels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 44px; gap: 5px; padding: 7px; align-content: start;
  transition: opacity .25s var(--ease), translate .35s var(--ease); }
.ak__tegels:not(.is-aan) { opacity: 0; translate: 6px 0; visibility: hidden; }
.ak__tegels span { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 6px 6px 6px 8px; border-radius: 7px; background: var(--ak-vlak);
  font-size: 7.5px; font-weight: 600; line-height: 1.15; overflow: hidden; transition: background .25s; }
.ak__tegels span::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 0 2px 2px 0; background: var(--k); }
.ak__tegels b { font-weight: 400; color: var(--ak-grijs); font-size: 7px; font-variant-numeric: tabular-nums; }
.ak__tegels em { position: absolute; right: 4px; top: 4px; }
.ak__tegels span.is-er { background: #1f2a21; }
.ak__tegels span:not(.is-er) em { display: none; }

/* Rechts: de bon. */
.ak__bon { position: relative; display: flex; flex-direction: column; background: var(--ak-vlak); overflow: hidden; }
.ak__soort { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 6px; padding: 2px; border-radius: 7px; background: var(--ak-vlak-2); }
.ak__soort i { display: grid; place-items: center; height: 17px; border-radius: 5px; font-style: normal; font-size: 7px; font-weight: 600; color: var(--ak-grijs); }
.ak__soort i.is-aan { background: var(--ak-vlak); color: var(--ak-tekst); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.ak__optel { display: flex; justify-content: space-between; padding: 2px 8px 4px; color: var(--ak-grijs); font-size: 6.5px; transition: opacity .25s; }
.ak__leeg { position: absolute; left: 8px; right: 8px; top: 72px; text-align: center; color: var(--ak-grijs); font-size: 7px; transition: opacity .25s; }
.ak__optel.is-weg, .ak__leeg.is-weg { opacity: 0; }
.ak__regels { flex: 1; display: flex; flex-direction: column; gap: 3px; padding: 0 6px; }
.ak__regels li { display: flex; align-items: center; gap: 5px; height: 20px; padding: 0 6px; border-radius: 6px; background: var(--ak-vlak-2); font-size: 7.5px; transition: opacity .3s, translate .4s var(--ease); }
.ak__regels li em { min-width: 12px; height: 12px; border-radius: 4px; background: #3a3a3c; color: var(--ak-tekst); }
.ak__regels li b { margin-left: auto; font-weight: 500; font-variant-numeric: tabular-nums; }
.ak__regels li:not(.is-er) { opacity: 0; translate: 0 -4px; }
.ak__functies { display: grid; grid-template-columns: repeat(4, 1fr); padding: 5px 4px 4px; border-top: 1px solid var(--ak-lijn); }
.ak__functies span { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ak-grijs); font-size: 5.5px; }
.ak__functies i { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--ak-vlak-2); color: var(--ak-tekst); }
.ak__functies svg { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ak__afreken { display: flex; align-items: center; justify-content: space-between; height: 26px; margin: 2px 6px 7px; padding: 0 9px; border-radius: 8px;
  background: var(--ak-vlak-2); color: #6e6e73; font-size: 8.5px; font-weight: 700; transition: background .3s, color .3s; }
.ak__afreken.is-vol { background: var(--ak-groen); color: #04210b; }
.ak__afreken b { font-variant-numeric: tabular-nums; }

/* Afrekenen: schuift binnen de bonkolom omhoog, de kassa ernaast blijft zichtbaar. */
.ak__afrekenen { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; gap: 4px; padding: 6px; background: var(--ak-vlak);
  box-shadow: 0 -10px 24px rgba(0, 0, 0, .5); transition: translate .5s var(--ease), visibility 0s linear 0s; }
.ak__afrekenen:not(.is-er) { translate: 0 105%; visibility: hidden; transition: translate .45s var(--ease), visibility 0s linear .45s; }
.ak__afkop { display: flex; align-items: center; gap: 5px; font-size: 8.5px; }
.ak__afkop > span:last-child { margin-left: auto; color: var(--ak-grijs); font-size: 7px; font-variant-numeric: tabular-nums; }
.ak__terug { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--ak-vlak-2); font-size: 9px; }
.ak__vak { display: flex; flex-direction: column; padding: 4px 7px; border-radius: 6px; background: var(--ak-vlak-2); }
.ak__vak small { font-size: 5.5px; color: var(--ak-grijs); }
.ak__vak b { font-size: 13px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ak__snel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.ak__snel span { display: grid; place-items: center; height: 14px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--ak-vlak-2); font-size: 6.5px; font-weight: 600; }
.ak__cijfers { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; min-height: 0; }
.ak__cijfers span { display: grid; place-items: center; border-radius: 5px; background: var(--ak-vlak-2); font-weight: 600; font-size: 8px; }
.ak__betaal { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ak__betaal > span { display: flex; align-items: center; justify-content: center; gap: 3px; height: 26px; border-radius: 7px; font-weight: 700; font-size: 8px; transition: box-shadow .25s; }
.ak__betaal svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ak__pin { background: var(--ak-groen); color: #04210b; }
.ak__pin.is-gedrukt { box-shadow: 0 0 0 1.5px var(--ak-vlak), 0 0 0 3px var(--ak-groen); }
.ak__contant { background: #fff; color: #111; }
.ak__wacht { position: absolute; left: 50%; top: 45%; padding: 7px 10px; border-radius: 10px; background: #f5f5f7; color: #1d1d1f;
  box-shadow: 0 0 0 200px rgba(0, 0, 0, .5), 0 14px 30px -8px rgba(0, 0, 0, .7); font-size: 8px; font-weight: 600; white-space: nowrap;
  translate: -50% -50%; transition: opacity .3s var(--ease), scale .35s var(--ease); }
.ak__wacht:not(.is-er) { opacity: 0; scale: .9; }
/* Betaald: het scherm van de app na afrekenen, met het groene vinkje. */
.ak__klaar { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px;
  background: var(--ak-vlak); transition: opacity .35s var(--ease), scale .45s var(--ease); }
.ak__klaar:not(.is-er) { opacity: 0; scale: .96; visibility: hidden; }
.ak__vink { position: relative; width: 30px; height: 30px; margin-bottom: 3px; border-radius: 50%; background: var(--ak-groen); }
.ak__vink::after { content: ""; position: absolute; left: 11px; top: 6.5px; width: 6px; height: 12px; border: solid #04210b; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.ak__klaar b { font-size: 10px; font-weight: 700; }
.ak__klaar small { font-size: 7px; color: var(--ak-grijs); }
.ak__klaarknop { position: absolute; left: 6px; right: 6px; bottom: 7px; display: grid; place-items: center; height: 26px; border-radius: 8px; background: var(--ak-groen); color: #04210b; font-size: 8.5px; font-weight: 700; }
.ak .film__melding { left: calc(94px + (100% - 244px) / 2); bottom: 12px; z-index: 4; font-size: 8px; background: rgba(44, 44, 46, .96); color: var(--ak-tekst); box-shadow: inset 0 0 0 1px #3a3a3c, 0 14px 30px -10px rgba(0, 0, 0, .8); }

/*
 * De webshop op de telefoon, zoals een gast hem ziet (20-11): licht, de zaak bovenaan, de
 * groepen als pillen, kaartjes met een ronde plus, de mandbalk en het bedankscherm.
 */
.telefoon > .aw { --aw-tekst: #1d1d1f; --aw-grijs: #6e6e73; --aw-vlak: #f2f2f5; --aw-lijn: #e5e5ea; --aw-knop: #1d1d1f;
  background: #fff; color: var(--aw-tekst); font-size: 8.5px; line-height: 1.25; }
.aw em, .aw i { font-style: normal; }
.aw__status { display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 13px 20px 0 22px; font-weight: 600; font-size: 9.5px; }
.aw__iconen { display: inline-flex; align-items: flex-end; gap: 2px; }
.aw__iconen i { width: 2.5px; border-radius: 1px; background: var(--aw-tekst); }
.aw__iconen i:nth-child(1) { height: 3.5px; } .aw__iconen i:nth-child(2) { height: 5px; }
.aw__iconen i:nth-child(3) { width: 14px; height: 7px; margin-left: 3px; border-radius: 2.5px; background: none; box-shadow: inset 0 0 0 1px var(--aw-tekst), inset -4px 0 0 1px #fff, inset 0 0 0 2px var(--aw-tekst); }
.aw__kop { display: flex; align-items: center; gap: 8px; padding: 6px 12px 9px; }
.aw__logo { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; background: #8a2b1f; color: #fff; font-weight: 700; font-size: 13px; font-family: Georgia, serif; }
.aw__kop b { display: block; font-size: 12px; font-weight: 700; letter-spacing: -.02em; }
.aw__kop small { font-size: 7.5px; color: var(--aw-grijs); }
.aw__open { color: #1f8a3b; font-weight: 600; }
.aw__pillen { display: flex; align-items: center; gap: 4px; padding: 6px 12px; border-top: 1px solid var(--aw-lijn); border-bottom: 1px solid var(--aw-lijn); white-space: nowrap; overflow: hidden; }
.aw__pillen > span:not(.aw__zoek) { padding: 4px 8px; border-radius: 999px; background: var(--aw-vlak); font-size: 8px; font-weight: 500; }
.aw__pillen > span.is-aan { background: var(--aw-knop); color: #fff; }
.aw__zoek { width: 18px; height: 18px; border-radius: 50%; background: none; box-shadow: inset 0 0 0 1px var(--aw-lijn); flex: none; }
.aw__zoek { display: grid; place-items: center; }
.aw__zoek svg { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; opacity: .7; }
.aw__nogeens { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 8px 10px 0; padding: 7px 9px; border-radius: 10px; background: var(--aw-vlak); }
.aw__nogeens b { display: block; font-size: 8px; }
.aw__nogeens small { font-size: 7px; color: var(--aw-grijs); }
.aw__nogeens i { padding: 4px 7px; border-radius: 999px; background: var(--aw-knop); color: #fff; font-size: 7px; font-weight: 600; }
.aw__kaart { display: grid; gap: 6px; padding: 8px 10px; }
.aw__kaart li { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 9px; border-radius: 11px; background: var(--aw-vlak); }
.aw__kaart p { flex: 1; min-width: 0; }
.aw__kaart b { display: block; font-size: 9px; font-weight: 600; }
.aw__kaart small { display: block; margin-top: 1px; font-size: 7px; color: var(--aw-grijs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw__kaart span { display: block; margin-top: 4px; font-size: 8.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.aw__kaart span small { display: inline; font-weight: 400; }
.aw__kaart i { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--aw-knop); color: #fff; font-size: 12px; line-height: 1; }
.aw__kaart em { position: absolute; right: 4px; top: 4px; display: grid; place-items: center; min-width: 12px; height: 12px; padding: 0 3px; border-radius: 999px;
  background: #1f8a3b; color: #fff; font-size: 7px; font-weight: 700; transition: opacity .2s, scale .3s var(--ease); }
.aw__kaart em:not(.is-er) { opacity: 0; scale: .4; }
.aw__mand { position: absolute; left: 9px; right: 9px; bottom: 14px; display: flex; align-items: center; gap: 7px; padding: 9px 11px; border-radius: 13px;
  background: var(--aw-knop); color: #fff; font-size: 9px; font-weight: 600; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .45);
  transition: opacity .35s var(--ease), translate .45s var(--ease); }
.aw__mand em { display: grid; place-items: center; min-width: 15px; height: 15px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 8px; }
.aw__mand b { margin-left: auto; font-variant-numeric: tabular-nums; }
.aw__mand:not(.is-er) { opacity: 0; translate: 0 12px; }
.aw__bedankt { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 18px;
  background: #fff; color: var(--aw-grijs); font-size: 9px; text-align: center; transition: opacity .45s var(--ease), translate .6s var(--ease); }
.aw__bedankt > b { font-size: 19px; font-weight: 700; letter-spacing: -.03em; color: var(--aw-tekst); }
.aw__bedankt:not(.is-er) { opacity: 0; translate: 0 22px; }
.aw__bedankt .shop__vink { background: #34c759; }
.aw__stappen { align-self: stretch; display: grid; gap: 7px; margin: 14px 0 4px; padding: 10px 12px; border-radius: 12px; background: var(--aw-vlak); text-align: left; counter-reset: stap; }
.aw__stappen li { display: flex; align-items: center; gap: 7px; color: #aeaeb2; font-size: 8.5px; }
.aw__stappen li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c7c7cc; }
.aw__stappen li.is-klaar { color: var(--aw-tekst); }
.aw__stappen li.is-klaar::before { background: #34c759; box-shadow: none; }
.aw__stappen li.is-nu { color: var(--aw-tekst); font-weight: 600; }
.aw__stappen li.is-nu::before { box-shadow: inset 0 0 0 2.5px #34c759; }
.aw__tijd { color: var(--aw-tekst); }
.aw__tijd b { color: #1f8a3b; }
.aw .is-getikt::after { background: #1d1d1f; }

/* ------------------------------------------------------------------ dit valt op */
.valtop { padding-top: 16vh; }
.valtop__kop {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  max-width: calc(var(--breed) + 2 * var(--rand));
  margin: 0 auto;
  padding: 0 var(--rand);
}
.valtop h2, .waarom h2, .pakketten h2 { font: 600 clamp(2rem, 4.2vw, 3.5rem)/1.05 var(--font); letter-spacing: -.035em; text-wrap: balance; }
.rijknoppen { display: flex; gap: 10px; }
.rijknop {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--vlak-2); color: var(--tekst);
  transition: background .2s, transform .2s var(--ease);
}
.rijknop:hover { background: var(--lijn); }
.rijknop:active { transform: scale(.94); }
.rijknop svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.valtop__rij {
  display: flex; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 34px max(var(--rand), calc((100vw - var(--breed)) / 2)) 26px;
}
.valtop__rij::-webkit-scrollbar { display: none; }
.valtop__kaart {
  flex: 0 0 min(84vw, 860px);
  scroll-snap-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 30px;
  min-height: clamp(360px, 54vh, 500px);
  padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 52px) 0;
  border-radius: 28px;
  background: var(--vlak);
  overflow: hidden;
}
.valtop__kaart--rond { padding-bottom: clamp(28px, 4vw, 52px); justify-content: center; }
.valtop__zin { max-width: 24ch; text-align: center; font: 600 clamp(1.35rem, 2.4vw, 2rem)/1.18 var(--font); letter-spacing: -.025em; text-wrap: balance; }

/* De kleine beelden in de kaarten. */
.minibon {
  width: min(100%, 340px);
  padding: 24px 26px 64px;
  border-radius: 5px 5px 0 0;
  background: var(--papier); color: var(--papier-inkt);
  font: 500 16px/1.9 var(--mono);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
}
.minibon b { display: block; font-size: 13px; font-weight: 500; opacity: .62; }
:root[data-kleur="licht"] .minibon { box-shadow: 0 0 0 1px var(--lijn), 0 30px 60px -30px rgba(0, 0, 0, .3); background: #fff; }
.miniadres {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--vlak-2);
  font-size: clamp(15px, 1.4vw, 18px); font-weight: 500;
}
.minirit { display: flex; align-items: center; gap: 0; }
.minirit b {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--vlak-2); font: 600 17px/1 var(--font);
}
.minirit b:first-child { background: var(--knop); color: var(--knop-tekst); }
.minirit i { width: clamp(28px, 6vw, 72px); height: 2px; background: var(--lijn-2); }
.minilog { width: min(100%, 440px); font-size: 14.5px; }
.minilog p { display: flex; justify-content: space-between; gap: 14px; padding: 13px 2px; border-top: 1px solid var(--lijn); }
.minilog p:last-child { border-bottom: 1px solid var(--lijn); }
.minilog span:last-child { color: var(--zacht); }
.minilog .is-groen { color: var(--groen-tekst); font-weight: 600; }

/* ------------------------------------------------------------------ de ene alinea */
.zin { max-width: 1040px; margin: 0 auto; padding: 22vh var(--rand) 6vh; }
.zin p { font: 600 clamp(1.7rem, 4.3vw, 3.7rem)/1.1 var(--font); letter-spacing: -.04em; text-wrap: balance; }
.zin.is-leeslicht span { color: var(--lijn-2); transition: color .4s var(--ease); }
.zin.is-leeslicht span.is-aan { color: var(--tekst); }

/* ------------------------------------------------------------------ het scrollverhaal */
/* De baan is een paar schermen hoog; de film plakt erin. Het script zet .is-scrollfilm. Zonder dat
   staat de film gewoon in de pagina en speelt hij vanzelf, zoals op de oude pagina. */
.verhaal { position: relative; margin-top: 8vh; }
.verhaal__plak {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas: "kop podium" "onder podium";
  align-content: center;
  column-gap: 5vw;
  max-width: calc(var(--breed) + 2 * var(--rand));
  margin: 0 auto;
  padding: 0 var(--rand);
}
.verhaal__film { display: contents; }
.verhaal__kop { grid-area: kop; align-self: end; }
.verhaal__kop h2 { margin-top: 10px; font: 600 clamp(2.2rem, 4.8vw, 4.3rem)/1 var(--font); letter-spacing: -.05em; text-wrap: balance; }
.verhaal .film__podium { grid-area: podium; align-self: center; max-width: min(640px, calc((100svh - 150px) * .9167)); }
.verhaal .film__onder { grid-area: onder; align-self: start; max-width: none; margin: 4vh 0 0; }
.verhaal .film__uitleg { margin-top: 3vh; min-height: 4.6em; max-width: 34ch; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.42; font-weight: 500; }

.verhaal.is-scrollfilm { height: 560vh; }
.verhaal.is-scrollfilm .verhaal__plak {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  padding-top: 72px; padding-bottom: 16px;
}
.verhaal.is-scrollfilm .film__pauze { display: none; }

@media (min-width: 961px) {
  /* De hoofdstukken onder elkaar, met een streep links die volloopt terwijl je scrolt. */
  .verhaal .film__balk { display: block; }
  .verhaal .film__hoofdstukken { grid-template-columns: 1fr; gap: 0; }
  .verhaal .film__hoofdstukken button {
    padding: 8px 0 8px 22px;
    font: 600 clamp(1.3rem, 2.3vw, 2.1rem)/1.15 var(--font); letter-spacing: -.03em;
  }
  .verhaal .film__hoofdstukken button::before,
  .verhaal .film__hoofdstukken i { left: 0; right: auto; top: 7px; bottom: 7px; width: 3px; height: auto; border-radius: 2px; }
  .verhaal .film__hoofdstukken i { transform-origin: 50% 0; transform: scaleY(var(--v, 0)); }
}

/* ------------------------------------------------------------------ grote cijfers */
.cijfers {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  max-width: 1060px; margin: 9vh auto 0;
}
.cijfer { padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--vlak); }
.cijfer b { display: block; font: 600 clamp(3rem, 6.6vw, 5.8rem)/1 var(--font); letter-spacing: -.055em; color: var(--groen-tekst); font-feature-settings: "tnum" 1; }
.cijfer span { display: block; margin-top: 12px; max-width: 22ch; font-size: clamp(15px, 1.25vw, 17.5px); font-weight: 500; line-height: 1.35; }

/* ------------------------------------------------------------------ waarom en pakketten */
.waarom, .pakketten {
  max-width: calc(var(--breed) + 2 * var(--rand));
  margin: 0 auto;
  padding: 18vh var(--rand) 0;
}
.waarom h2 { max-width: 16ch; }
.waarom__rij { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 6vh; }
.waarom__kaart { display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 26px; border-radius: 22px; background: var(--vlak); }
.waarom__kaart small { font-size: 13px; font-weight: 600; color: var(--grijs); }
.waarom__kaart b { font: 600 clamp(1.25rem, 1.7vw, 1.6rem)/1.15 var(--font); letter-spacing: -.025em; }
.waarom__kaart p { font-size: 15px; line-height: 1.45; color: var(--zacht); }

.pakketten h2 { text-align: center; }
.pakketten__rij { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 6vh; }
.pakket { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(24px, 2.6vw, 36px); border-radius: 28px; background: var(--vlak); }
.pakket--aan { box-shadow: inset 0 0 0 2px var(--groen-tekst); }
.pakket small { font-size: 13px; font-weight: 600; color: var(--groen-tekst); }
.pakket h3 { font: 600 clamp(1.6rem, 2.4vw, 2.1rem)/1.1 var(--font); letter-spacing: -.03em; }
.pakket__wie { margin-top: -8px; font-size: 15px; color: var(--zacht); }
.pakket__prijs { font-size: 16px; font-weight: 600; }
.pakket ul { align-self: stretch; display: flex; flex-direction: column; gap: 11px; margin-top: 6px; padding-top: 20px; border-top: 1px solid var(--lijn); font-size: 15px; }
.pakket li { position: relative; padding-left: 24px; }
.pakket li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 11px; height: 6px; border-left: 2px solid var(--groen-tekst); border-bottom: 2px solid var(--groen-tekst); transform: rotate(-45deg); }
.pakketten__meer { margin-top: 30px; text-align: center; font-size: 15px; }
.pakketten__meer a { color: var(--groen-tekst); text-decoration: none; font-weight: 500; }

/* ------------------------------------------------------------------ minder beweging */
@media (prefers-reduced-motion: reduce) {
  .opening__tekst, .opening__beeld, .toestellen .telefoon { transform: none; }
  .toestellen .tablet, .toestellen .telefoon, .toestellen .tablet::after { transition: none; }
  .rijknop { transition: none; }
}

/* ------------------------------------------------------------------ smal */
@media (max-width: 960px) {
  .verhaal__plak { grid-template-columns: 1fr; grid-template-areas: "kop" "podium" "onder"; row-gap: 2vh; }
  .verhaal__kop { text-align: center; }
  .verhaal .film__podium { max-width: min(520px, calc((100svh - 330px) * .9167)); }
  .verhaal .film__onder { margin-top: 0; width: 100%; max-width: 520px; justify-self: center; }
  .verhaal .film__uitleg { max-width: none; min-height: 4.4em; font-size: 15.5px; }
  .waarom__rij { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pakketten__rij { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cijfers { grid-template-columns: 1fr; }
  .waarom__rij { grid-template-columns: 1fr; }
  .waarom__kaart { min-height: 0; }
  .rijknoppen { display: none; }
  .valtop__kaart { flex-basis: 86vw; }
}
