/* Verkooppagina Communie- & Lentefeestplanner, speelse versie (8 nov 2026).
   Prentenboek: hemelblauw, bloesemroze, zonnegeel en grasgroen, met marineblauwe inkt en dikke randen.
   Het kind staat centraal: zijn naam op vlaggetjes en op de taart. Beweging: vlaggetjes bij het laden en confetti na een tik, nooit bij reduced motion. */
body { background: #f3faff; }
header.kop { background: rgba(216, 238, 255, .94); border-bottom-color: transparent; }
.cs { --lucht: #d8eeff; --bloesem: #ff7aa2; --zon: #ffc93c; --gras: #35a866; --gras-diep: #2c8f56; --inkt: #1f2d5a; --papier: #fff; --bloesem-licht: #ffe3ec; --zon-licht: #fff1c7; --gras-licht: #e1f5e8;
  color: var(--inkt); }
.cs h1, .cs h2, .cs h3 { font-family: Gabarito, system-ui, sans-serif; color: var(--inkt); }
.cs .knop.cs-knop { background: var(--bloesem); color: var(--inkt); border: 3px solid var(--inkt); border-radius: 999px; box-shadow: 0 5px 0 var(--inkt); font-weight: 800; padding: .8em 1.4em; transition: transform .12s, box-shadow .12s; }
.cs .knop.cs-knop:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--inkt); }
.cs .knop.cs-knop:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--inkt); }
.cs :focus-visible { outline: 3px solid var(--inkt); outline-offset: 3px; }

/* ---- hero: de lucht ---- */
.cs-held { position: relative; background: var(--lucht); padding: clamp(96px, 11vw, 150px) 0 0; overflow: hidden; }
.cs-wolk { position: absolute; background: #fff; border-radius: 999px; opacity: .9; }
.cs-wolk::before, .cs-wolk::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cs-wolk.een { width: 150px; height: 44px; top: 120px; left: 4%; }
.cs-wolk.een::before { width: 70px; height: 70px; left: 26px; top: -34px; } .cs-wolk.een::after { width: 50px; height: 50px; left: 80px; top: -22px; }
.cs-wolk.twee { width: 110px; height: 34px; top: 70px; right: 6%; }
.cs-wolk.twee::before { width: 52px; height: 52px; left: 20px; top: -26px; } .cs-wolk.twee::after { width: 38px; height: 38px; left: 58px; top: -16px; }

/* vlaggenlijn met de naam, een letter per vlag */
.cs-vlaggen { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: center; gap: clamp(4px, 1vw, 10px); margin: 0; padding: 14px 12px 0; list-style: none; z-index: 1; }
.cs-vlaggen::before { content: ""; position: absolute; left: -5%; right: -5%; top: -60px; height: 88px; border-bottom: 3px solid var(--inkt); border-radius: 0 0 50% 50%; pointer-events: none; }
.cs-vlaggen li { --k: var(--bloesem); position: relative; width: clamp(40px, 6.2vw, 86px); height: clamp(52px, 8vw, 110px); translate: 0 var(--dy, 0px); background: var(--k); border: 3px solid var(--inkt); border-top-width: 0;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); display: grid; place-items: start center; padding-top: 6px;
  font: 800 clamp(1.3rem, 3.4vw, 2.8rem)/1 Gabarito, system-ui, sans-serif; color: var(--inkt); transform-origin: 50% 0; rotate: -4deg; padding-top: .25em; }
.cs-vlaggen li:nth-child(4n+2) { --k: var(--zon); rotate: 3deg; } .cs-vlaggen li:nth-child(4n+3) { --k: var(--gras); color: #fff; rotate: -2deg; } .cs-vlaggen li:nth-child(4n) { --k: #9fd8ff; rotate: 5deg; }
.cs-vlaggen li.spatie { visibility: hidden; width: 14px; }
.cs-anim .cs-vlaggen li { animation: cs-vlag .7s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes cs-vlag { from { translate: 0 -120%; } }

.cs-held-rooster { position: relative; z-index: 2; display: grid; gap: 28px; align-items: center; padding-top: 36px; padding-bottom: 40px; }
@media (min-width: 900px) { .cs-held-rooster { grid-template-columns: 1.05fr .95fr; } }
.cs-held .terug { color: var(--inkt); font-weight: 700; }
.cs-held h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.02; letter-spacing: -.02em; margin: 14px 0 12px; overflow-wrap: anywhere; }
#csNaamKop { color: var(--inkt); background: linear-gradient(transparent 62%, var(--zon) 62%, var(--zon) 92%, transparent 92%); padding: 0 .08em; }
.cs-lead { font-size: 1.15rem; max-width: 34rem; margin: 0 0 18px; }

.cs-invul { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; max-width: 34rem; margin-bottom: 16px; }
.cs-invul label { display: grid; gap: 5px; font-weight: 700; font-size: .92rem; min-width: 0; }
.cs-invul input:not([type=radio]) { font: 700 1.15rem Figtree, system-ui, sans-serif; color: var(--inkt); background: #fff; border: 3px solid var(--inkt); border-radius: 14px; padding: .55em .7em; width: 100%; min-width: 0; }
.cs-naamveld input { font-family: Gabarito, system-ui, sans-serif !important; font-size: 1.3rem !important; }
.cs-feesten { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.cs-feesten legend { font-weight: 700; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.cs-feesten label { display: block; cursor: pointer; }
.cs-feesten input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cs-feesten span { display: inline-block; padding: .4em .9em; border: 3px solid var(--inkt); border-radius: 999px; background: #fff; font-weight: 700; font-size: .95rem; }
.cs-feesten input:checked + span { background: var(--zon); }
.cs-feesten input:focus-visible + span { outline: 3px solid var(--inkt); outline-offset: 3px; }

.cs-nachtjes { margin: 6px 0 2px; font-size: 1.25rem; font-weight: 700; }
.cs-nachtjes b { display: inline-block; font: 800 clamp(2.8rem, 7vw, 4rem)/1 Gabarito, system-ui, sans-serif; color: var(--inkt); margin-right: .15em; vertical-align: -.12em; font-variant-numeric: tabular-nums; }
.cs-maantjes { margin: 0 0 18px; font-size: 1.5rem; letter-spacing: .12em; min-height: 1.6em; }
.cs-maantjes small { font: 700 .9rem Figtree, system-ui, sans-serif; letter-spacing: 0; vertical-align: .3em; margin-left: .3em; }
.cs-knoppen { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.cs-prijs { font-weight: 600; }
.cs-klein { font-size: .86rem; margin: 14px 0 0; opacity: .8; }

/* de taart */
.cs-taartvak { position: relative; text-align: center; }
.cs-taartknop { background: none; border: 0; padding: 0; cursor: pointer; width: min(100%, 440px); border-radius: 24px; }
.cs-taart { width: 100%; height: auto; display: block; overflow: visible; }
.cs-taartnaam { font: 800 38px Gabarito, system-ui, sans-serif; fill: #1f2d5a; }
.cs-tik { display: inline-block; margin: 4px 0 0; font: 800 1.05rem Gabarito, system-ui, sans-serif; background: #fff; border: 3px solid var(--inkt); border-radius: 999px; padding: .2em .8em; rotate: -3deg; }
.cs-taartknop:active .cs-taart { scale: .97; }
.cs-confetti { position: fixed; z-index: 50; width: 10px; height: 14px; border-radius: 2px; pointer-events: none; animation: cs-val 1.5s cubic-bezier(.2, .6, .4, 1) forwards; }
@keyframes cs-val { to { translate: var(--x) var(--y); rotate: var(--r); opacity: 0; } }

.cs-heuvel { display: block; width: 100%; height: 70px; margin-top: -10px; position: relative; z-index: 1; }

/* ---- secties ---- */
.cs-sectie { padding: 56px 0; }
.cs-twee { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .cs-twee { grid-template-columns: .9fr 1.1fr; gap: 48px; } }
.cs-uitleg h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.08; margin: 0 0 12px; }
.cs-uitleg p { font-size: 1.08rem; max-width: 34rem; }
.cs-pad { background: var(--gras-licht); }
.cs-mensen { background: #f3faff; }
.cs-cadeaus { background: var(--bloesem-licht); }
.cs-dag { background: var(--zon-licht); }
.cs-inhoud { background: #f3faff; }

/* stapstenen: echte volgorde, dus genummerd */
.cs-stenen { list-style: none; margin: 0; padding: 0; counter-reset: steen; position: relative; }
.cs-stenen::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; border-left: 4px dashed var(--inkt); opacity: .35; }
.cs-stenen li { counter-increment: steen; position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px 0; }
.cs-stenen li:nth-child(even) { padding-left: 22px; }
.cs-steen { width: 58px; height: 50px; border-radius: 48% 52% 44% 56% / 55% 50% 50% 45%; background: #fff; border: 3px solid var(--inkt); display: grid; place-items: center; font: 800 1.3rem Gabarito, system-ui, sans-serif; position: relative; z-index: 1; }
.cs-steen::before { content: counter(steen); }
.cs-stenen li:nth-child(3n+1) .cs-steen { background: var(--zon); } .cs-stenen li:nth-child(3n+2) .cs-steen { background: #9fd8ff; } .cs-stenen li:nth-child(3n) .cs-steen { background: #fff; }
.cs-stenen li.feest .cs-steen { background: var(--bloesem); width: 64px; height: 58px; }
.cs-stenen li.feest .cs-steen::before { content: "★"; }
.cs-stenen h3 { margin: 0; font-size: 1.15rem; }
.cs-stenen p { margin: 2px 0 0; font-weight: 600; }
.cs-stenen li.feest h3 { font-size: 1.5rem; }

/* papier met dikke rand en vaste schaduw */
.cs-papier, .cs-blad, .cs-prijsvak { background: #fff; border: 3px solid var(--inkt); border-radius: 22px; box-shadow: 8px 8px 0 var(--inkt); padding: 22px; }
.cs-velden { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.cs-velden label { display: grid; gap: 4px; font-weight: 700; font-size: .9rem; min-width: 0; }
.cs-velden input { font: 700 1.1rem Figtree, system-ui, sans-serif; color: var(--inkt); border: 3px solid var(--inkt); border-radius: 12px; padding: .45em .6em; width: 100%; min-width: 0; }
.cs-poppetjes { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 4px; min-height: 52px; padding: 10px 0 12px; border-bottom: 3px solid var(--inkt); margin-bottom: 12px; }
.cs-mens { position: relative; width: 20px; height: 42px; border-radius: 10px 10px 4px 4px; background: var(--inkt); margin-top: 20px; }
.cs-mens::before { content: ""; position: absolute; left: 2px; top: -18px; width: 16px; height: 16px; border-radius: 50%; background: inherit; }
.cs-mens.kind { height: 26px; width: 16px; background: var(--bloesem); }
.cs-mens.kind::before { left: 2px; width: 12px; height: 12px; top: -14px; }
.cs-poppetjes small { font-weight: 700; margin-left: 6px; align-self: center; }
.cs-som { margin: 0 0 6px; font-size: 1.1rem; }
.cs-som b { font: 800 1.6rem Gabarito, system-ui, sans-serif; }
.cs-voetnoot { margin: 0; font-size: .85rem; opacity: .75; }

/* hanglabels */
.cs-labels { list-style: none; margin: 0; padding: 34px 0 0; display: grid; gap: 22px; }
@media (min-width: 600px) { .cs-labels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cs-labels li { position: relative; padding: 34px 16px 18px; border: 3px solid var(--inkt); border-radius: 26px 26px 14px 14px; box-shadow: 5px 5px 0 var(--inkt); background: #fff; min-height: 150px; display: grid; align-content: start; gap: 6px; }
.cs-labels li::before { content: ""; position: absolute; top: 10px; left: calc(50% - 9px); width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--inkt); background: var(--bloesem-licht); }
.cs-labels li::after { content: ""; position: absolute; top: -26px; left: calc(50% - 1px); height: 38px; border-left: 3px solid var(--inkt); rotate: 18deg; transform-origin: 50% 100%; }
.cs-labels li:nth-child(1) { rotate: -3deg; } .cs-labels li:nth-child(2) { rotate: 2deg; } .cs-labels li:nth-child(3) { rotate: -1deg; }
.cs-labels li.roze { background: #fff; } .cs-labels li.geel { background: var(--zon-licht); } .cs-labels li.groen { background: var(--gras-licht); }
.cs-labels b { font: 800 1.25rem Gabarito, system-ui, sans-serif; }
.cs-stempel { justify-self: start; margin-top: 6px; font: 800 .95rem Gabarito, system-ui, sans-serif; font-style: normal; color: var(--gras-diep); border: 3px solid var(--gras-diep); border-radius: 8px; padding: .1em .5em; rotate: -8deg; }

/* draaiboek */
.cs-blad { rotate: 1deg; }
.cs-blad p { margin: 0; }
.cs-bladkop { font: 800 1.5rem Gabarito, system-ui, sans-serif; margin-bottom: 10px !important; }
.cs-rij { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 2px dashed #c9d3ea; align-items: baseline; }
.cs-rij b { font: 800 1.05rem Gabarito, system-ui, sans-serif; background: var(--zon); border-radius: 999px; padding: .1em .5em; text-align: center; font-variant-numeric: tabular-nums; }

/* wat erin zit en prijs */
.cs-inhoud h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 18px; }
.cs-functies { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 14px 28px; }
@media (min-width: 700px) { .cs-functies { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cs-functies { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cs-functies li { display: grid; gap: 2px; padding-left: 26px; position: relative; }
.cs-functies li::before { content: ""; position: absolute; left: 0; top: .3em; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--inkt); background: var(--zon); }
.cs-functies li:nth-child(3n+2)::before { background: var(--bloesem); } .cs-functies li:nth-child(3n)::before { background: var(--gras); }
.cs-functies b { font: 800 1.1rem Gabarito, system-ui, sans-serif; }
.cs-prijsvak { max-width: 44rem; background: var(--lucht); }
.cs-prijsvak h2 { margin: 0 0 8px; font-size: 1.8rem; }

@media (max-width: 560px) {
  .cs-held { padding-top: 84px; }
  .cs-held-rooster { padding-top: 24px; }
  .cs-invul { grid-template-columns: minmax(0, 1fr); }
  .cs-velden { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cs-papier, .cs-blad, .cs-prijsvak { box-shadow: 5px 5px 0 var(--inkt); padding: 16px; }
  .cs-wolk.een { display: none; }
  .cs-taartvak { order: -1; } /* op een gsm: de taart met de naam meteen bovenaan */
  .cs-taartknop { width: min(78%, 300px); }
  .cs-held .terug { display: inline-block; margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs .knop.cs-knop, .cs-anim .cs-vlaggen li { transition: none; animation: none; }
}
/* Blok "Eerst gratis rondkijken?" met links naar de hulppagina's (11 nov 2026) */
.ch-gratis { margin: 28px 0 0; background: #fff; border: 3px dashed var(--inkt); border-radius: 22px; padding: 20px 22px; }
.ch-gratis h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.ch-gratis p { max-width: 40rem; }
.ch-meer { margin: 18px 0 0; }
.ch-meerkop { font: 800 1.05rem Gabarito, system-ui, sans-serif; margin: 0 0 8px; }
.ch-meer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ch-meer li a { display: inline-block; background: #fff; border: 2px solid var(--inkt); border-radius: 999px; padding: .35em .9em; color: var(--inkt); font-weight: 700; text-decoration: none; }
