/* ═══════════════════════════════════════════════════════════════════
   PakjesMagie — stijlen
   Auteur: Erwin Biharie
   ═══════════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/nunito-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/nunito-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/nunito-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/fonts/nunito-latin-900-normal.woff2') format('woff2'); }

:root {
  --nacht: #17102F;
  --violet: #281747;
  --paars: #3a2066;
  --goud: #F4C66A;
  --goud-donker: #c9952f;
  --ivoor: #FFF4DF;
  --rood: #C82348;
  --roze: #EB3571;
  --wit: #FFFFFF;
  --inkt: #1d1530;
  --grijs: #6b6280;
  --groen: #1f9d55;
  --oranje: #e0a21b;
  --rand: rgba(255, 244, 223, .16);
  --radius: 16px;
  --veilig-onder: env(safe-area-inset-bottom, 0px);
  --veilig-boven: env(safe-area-inset-top, 0px);
  --font: 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--veilig-boven); }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--wit);
  background: var(--nacht);
  background-image:
    radial-gradient(ellipse 120% 60% at 50% 0%, #3b1f6e 0%, rgba(59, 31, 110, 0) 70%),
    linear-gradient(180deg, #1a1238 0%, #241544 55%, #2e1850 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
/* Sterrenhemel */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 8%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 22%, #fff7 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 46% 6%, #fffa 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 18%, #fff6 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 82% 9%, #ffe9b8cc 50%, transparent 51%),
    radial-gradient(1px 1px at 91% 30%, #fff6 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 7% 36%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 37% 40%, #fff5 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 72% 44%, #fff7 50%, transparent 51%);
}
/* Stadssilhouet onderaan */
.skyline {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 44vh;
  max-height: 460px;
  z-index: 0;
  pointer-events: none;
  background: url('/assets/stad.webp') center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
  opacity: .95;
}
.skyline::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23, 16, 47, 0) 30%, rgba(23, 16, 47, .35) 100%);
}
body.beheer-modus .skyline { display: none; }

#app { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--goud); }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--goud); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ═══ Scherm (deelnemer) ═══════════════════════════════════════════ */
.scherm {
  max-width: 460px;
  margin: 0 auto;
  min-height: 100dvh;
  padding: calc(var(--veilig-boven) + 22px) 20px calc(var(--veilig-onder) + 32px);
  display: flex;
  flex-direction: column;
  position: relative;
}
.scherm.met-tabbar { padding-bottom: calc(var(--veilig-onder) + 112px); }
.scherm.midden { justify-content: center; }
.stapel { display: flex; flex-direction: column; gap: 14px; }
.stapel-lg { display: flex; flex-direction: column; gap: 22px; }
.gecentreerd { text-align: center; align-items: center; }

.titel { font-size: 30px; line-height: 1.12; font-weight: 900; margin: 0; letter-spacing: -.01em; text-align: center; text-wrap: balance; }
.titel-md { font-size: 24px; line-height: 1.15; font-weight: 900; margin: 0; }
.titel-rij { display: flex; align-items: center; justify-content: center; gap: 10px; }
.sub { margin: 0; color: rgba(255, 244, 223, .88); font-size: 16px; line-height: 1.45; text-align: center; font-weight: 600; text-wrap: pretty; }
.klein { font-size: 14px; color: rgba(255, 244, 223, .75); font-weight: 600; line-height: 1.4; }
.goud-tekst { color: var(--goud); }

.lijn-icoon { width: 56px; height: 56px; color: var(--wit); margin: 0 auto; display: block; }
.lijn-icoon svg.i { width: 100%; height: 100%; stroke-width: 1.6; }
.goud-icoon { display: inline-block; object-fit: contain; flex: none; }
svg.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ═══ Knoppen ══════════════════════════════════════════════════════ */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 56px; padding: 0 22px;
  border-radius: 16px; border: 0; cursor: pointer;
  font: 800 19px/1 var(--font); color: var(--wit); text-decoration: none;
  transition: transform .12s ease, filter .12s ease, opacity .12s;
}
.knop:active { transform: scale(.98); }
.knop[disabled] { opacity: .6; cursor: default; }
.knop-rood {
  background: linear-gradient(180deg, #e33c60 0%, #c82348 52%, #a71a3b 100%);
  box-shadow: 0 10px 26px rgba(200, 35, 72, .45), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 0 rgba(0, 0, 0, .15);
}
.knop-rood:hover { filter: brightness(1.06); }
.knop-rand {
  background: rgba(23, 16, 47, .35);
  border: 1.6px solid rgba(255, 244, 223, .78);
  min-height: 48px; font-size: 16px; font-weight: 700;
}
.knop-goud { background: rgba(23, 16, 47, .35); border: 1.6px solid var(--goud); color: var(--wit); min-height: 50px; font-size: 16px; font-weight: 800; }
.knop-paars {
  background: linear-gradient(180deg, #8d3fbf, #6a2aa3);
  border: 1.5px solid rgba(235, 160, 255, .7);
  min-height: 46px; font-size: 15px; font-weight: 800;
  box-shadow: 0 6px 18px rgba(106, 42, 163, .4);
}
.knop-licht { background: #f3eefc; color: var(--paars); min-height: 42px; font-size: 15px; border-radius: 12px; }
.knop-gevaar { background: #fff0f3; color: #b0173b; border: 1.5px solid #f2b8c6; min-height: 44px; font-size: 15px; border-radius: 12px; }
.knop-klein { min-height: 38px; font-size: 14px; padding: 0 14px; border-radius: 11px; width: auto; }
.knop-auto { width: auto; }
.tekstknop { background: none; border: 0; color: rgba(255, 244, 223, .85); font: 700 15px var(--font); padding: 10px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.icoonknop {
  width: 40px; height: 40px; border-radius: 12px; border: 0; cursor: pointer;
  display: inline-grid; place-items: center; background: transparent; color: inherit;
}
.icoonknop:hover { background: rgba(0, 0, 0, .05); }
.terug {
  position: absolute; left: 12px; top: calc(var(--veilig-boven) + 16px);
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  color: var(--wit); background: transparent; border: 0; cursor: pointer;
}
.terug svg { width: 26px; height: 26px; }
.spinner { width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: draai .8s linear infinite; }
@keyframes draai { to { transform: rotate(360deg); } }

/* ═══ Formulieren ══════════════════════════════════════════════════ */
.veld { display: flex; flex-direction: column; gap: 7px; }
.veld > label, .veld > .label { font-size: 15px; font-weight: 800; color: var(--ivoor); }
.veld .hint { font-size: 13px; color: rgba(255, 244, 223, .7); font-weight: 600; line-height: 1.35; }
.invoer, .keuze, textarea.invoer {
  width: 100%; min-height: 54px; padding: 0 16px;
  border-radius: 14px; border: 2px solid transparent;
  background: var(--wit); color: var(--inkt);
  font: 700 17px var(--font);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
textarea.invoer { padding: 14px 16px; min-height: 92px; resize: vertical; line-height: 1.4; }
.invoer:focus, .keuze:focus { outline: none; border-color: var(--goud); }
.invoer::placeholder { color: #9a92ad; font-weight: 600; }
.keuze-wrap { position: relative; }
.keuze-wrap .keuze { appearance: none; -webkit-appearance: none; padding-left: 52px; padding-right: 46px; font-size: 19px; }
.keuze-wrap .voor, .keuze-wrap .na { position: absolute; top: 50%; transform: translateY(-50%); color: var(--inkt); pointer-events: none; }
.keuze-wrap .voor { left: 16px; }
.keuze-wrap .na { right: 16px; }
.keuze-wrap svg { width: 24px; height: 24px; }
.code-invoer { text-align: center; font-size: 30px; letter-spacing: .32em; text-transform: uppercase; font-weight: 900; min-height: 66px; padding-left: .32em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-keuze { position: relative; }
.chip-keuze input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-keuze span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1.6px solid rgba(255, 244, 223, .5); font-weight: 800; font-size: 14px; color: var(--ivoor);
}
.chip-keuze input:checked + span { background: var(--goud); color: var(--inkt); border-color: var(--goud); }
.chip-keuze input:focus-visible + span { outline: 3px solid var(--goud); outline-offset: 2px; }
.melding {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: 14px; font-weight: 700; font-size: 14px; line-height: 1.4;
  background: rgba(244, 198, 106, .14); border: 1.5px solid rgba(244, 198, 106, .55); color: var(--ivoor);
}
.melding svg { flex: none; margin-top: 1px; }
.melding.fout { background: rgba(200, 35, 72, .18); border-color: rgba(235, 53, 113, .7); }
.melding.licht { background: #fff6e3; color: #6b4a07; border-color: #f2d48f; }
.melding.licht.fout { background: #fff0f3; color: #8d1530; border-color: #f2b8c6; }

/* ═══ Welkom ═══════════════════════════════════════════════════════ */
.maan {
  position: absolute; top: calc(var(--veilig-boven) + 34px); left: 26px;
  width: 54px; height: 54px; border-radius: 50%;
  box-shadow: -12px 6px 0 0 #ffe3a3; transform: rotate(-12deg);
  filter: drop-shadow(0 0 14px rgba(255, 220, 150, .8));
}
.welkom-logo { width: 100%; max-width: 360px; margin: 10px auto 0; display: block; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35)); }
.welkom-cadeau { width: 78%; max-width: 320px; margin: -6px auto -18px; display: block; filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .45)); }
.hoek-cadeaus { position: fixed; right: max(0px, calc(50% - 250px)); bottom: calc(var(--veilig-onder) - 8px); width: min(46vw, 210px); z-index: 0; pointer-events: none; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45)); }

/* ═══ Stappen ══════════════════════════════════════════════════════ */
.stappen { display: flex; align-items: center; justify-content: center; gap: 0; margin: 2px 0 4px; }
.stap { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 244, 223, .8); display: grid; place-items: center; }
.stap.klaar { border-color: var(--goud); color: var(--goud); }
.stap.klaar svg { width: 13px; height: 13px; stroke-width: 3.5; }
.stap.nu { box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.stap-lijn { width: 34px; height: 2px; background: rgba(255, 244, 223, .7); }

/* ═══ Witte kaartlijsten (cadeaus) ═════════════════════════════════ */
.lijst {
  background: var(--wit); color: var(--inkt);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .32);
}
.wens {
  display: grid; grid-template-columns: 66px 1fr auto; gap: 12px; align-items: center;
  padding: 12px 12px 12px 12px; border-bottom: 1px solid #eee8f3; position: relative;
}
.wens:last-child { border-bottom: 0; }
.wens-foto { width: 66px; height: 66px; border-radius: 12px; object-fit: contain; background: #f7f3ec; display: grid; place-items: center; overflow: hidden; }
.wens-foto img { width: 100%; height: 100%; object-fit: contain; }
.wens-foto .goud-icoon { width: 40px; height: 40px; }
.wens-midden { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.wens-titel { font-weight: 800; font-size: 15.5px; line-height: 1.18; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--inkt); text-decoration: none; }
.wens-rij { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.prijs { font-weight: 800; font-size: 15.5px; color: var(--inkt); }
.winkel-label {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: 7px;
  background: var(--violet); color: var(--wit); font-size: 12px; font-weight: 900; text-decoration: none;
}
.winkel-label svg { width: 13px; height: 13px; }
.winkel-label.licht { background: var(--wit); color: var(--violet); height: 28px; font-size: 13px; padding: 0 10px; }
.wens-noot { font-size: 13px; color: var(--grijs); font-weight: 700; line-height: 1.3; }
.prio { display: inline-flex; height: 22px; align-items: center; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 900; background: #fff1d6; color: #8a5a00; }
.prio.heel_graag { background: #ffe1e9; color: #a3163a; }
.prio.extra { background: #efeaff; color: #4b3596; }
.boven-budget { color: #b0173b; font-size: 12px; font-weight: 800; display: inline-flex; gap: 4px; align-items: center; }
.boven-budget svg { width: 14px; height: 14px; }
.wens-acties { display: flex; flex-direction: column; gap: 2px; align-self: start; }
.wens-acties .icoonknop { color: #c4213f; width: 38px; height: 38px; }
.wens-acties .icoonknop.neutraal { color: #6a5a8c; }
.wens-acties svg { width: 21px; height: 21px; }
.wens-klikbaar { cursor: pointer; }
.leeg-lijst { padding: 22px 18px; text-align: center; color: var(--grijs); font-weight: 700; font-size: 15px; line-height: 1.45; }

/* ═══ Lootjeskaart ═════════════════════════════════════════════════ */
.lot-kaart {
  background: linear-gradient(180deg, #fffaf0 0%, #fdeec8 100%);
  border: 3px solid var(--goud);
  border-radius: 24px;
  padding: 26px 20px 24px;
  color: var(--inkt); text-align: center;
  box-shadow: 0 0 0 5px rgba(244, 198, 106, .22), 0 0 46px rgba(244, 198, 106, .5), 0 18px 40px rgba(0, 0, 0, .35);
}
.lot-avatar {
  width: 66px; height: 66px; margin: -60px auto 10px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #4a2c7a, #2a1748); border: 3px solid var(--goud); color: var(--ivoor);
  box-shadow: 0 0 18px rgba(244, 198, 106, .7);
}
.lot-avatar svg { width: 36px; height: 36px; stroke-width: 2.2; }
.lot-kaart.met-avatar { margin-top: 34px; padding-top: 18px; }
.lot-label { font-size: 17px; font-weight: 800; color: #3a2d4f; }
.lot-naam { font-size: 46px; line-height: 1.05; font-weight: 900; margin-top: 4px; word-break: break-word; }
.onthul-kop { position: relative; height: 160px; display: grid; place-items: center; }
.onthul-kop .stralen {
  position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 214, 120, .32) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 68%);
  mask-image: radial-gradient(circle, #000 20%, transparent 68%);
  animation: draai 30s linear infinite;
}
.onthul-kop img { width: 170px; position: relative; filter: drop-shadow(0 0 22px rgba(255, 200, 90, .7)); }

/* Trek-animatie */
.trek-podium { display: grid; place-items: center; min-height: 320px; position: relative; }
.trek-cadeau { width: 240px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .5)); }
.trek-cadeau.schud { animation: schud .55s ease-in-out infinite; }
.trek-cadeau.open { animation: openBarst .7s cubic-bezier(.2, .8, .2, 1) forwards; }
.trek-gloed { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 110, .55), transparent 65%); opacity: .7; animation: puls 1.4s ease-in-out infinite; }
@keyframes schud { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-5deg) translateY(-2px); } 40% { transform: rotate(5deg); } 60% { transform: rotate(-3deg) translateY(-3px); } 80% { transform: rotate(3deg); } }
@keyframes openBarst { 0% { transform: scale(1); opacity: 1; } 40% { transform: scale(1.18); } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes puls { 0%, 100% { transform: scale(.9); opacity: .5; } 50% { transform: scale(1.08); opacity: .9; } }
.verschijn { animation: verschijn .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes verschijn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; }

/* ═══ Dashboard (deelnemer) ════════════════════════════════════════ */
.kop-welkom { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.kop-welkom img { width: 52px; }
.kop-welkom h1 { margin: 0; font-size: 26px; font-weight: 900; line-height: 1.1; }
.kop-welkom p { margin: 2px 0 0; font-size: 15px; font-weight: 700; color: var(--goud); }
.info-rij { display: flex; gap: 8px; flex-wrap: wrap; }
.info-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 999px;
  background: rgba(255, 244, 223, .1); border: 1px solid var(--rand); font-size: 14px; font-weight: 800; color: var(--ivoor);
}
.info-chip svg { width: 16px; height: 16px; color: var(--goud); }
.sectie-kop { display: flex; align-items: center; gap: 10px; margin: 6px 2px 0; }
.sectie-kop h2 { margin: 0; font-size: 20px; font-weight: 900; flex: 1; }
.sectie-kop img { width: 34px; height: 34px; }
.sectie-kop a, .sectie-kop button.tekstknop { font-size: 14px; padding: 4px; }
.kaart-donker {
  background: linear-gradient(180deg, rgba(64, 38, 112, .72), rgba(40, 23, 71, .82));
  border: 1px solid rgba(244, 198, 106, .3); border-radius: 20px; padding: 18px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}
.kaart-donker.compact { padding: 14px 16px; }
.bericht-kaart { display: flex; gap: 12px; align-items: flex-start; }
.bericht-kaart img { width: 38px; height: 38px; }
.bericht-kaart p { margin: 3px 0 0; font-weight: 700; line-height: 1.45; color: var(--ivoor); white-space: pre-line; }
.mini-lot { display: flex; align-items: center; gap: 14px; }
.mini-lot .naam { font-size: 28px; font-weight: 900; line-height: 1.05; color: var(--inkt); }
.knoppen-rij { display: flex; gap: 10px; }
.knoppen-rij > * { flex: 1; }

/* Profiel ontvanger */
.ontvanger-kop { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(160deg, #ffe3a0, #e9a93e); color: var(--inkt);
  font-size: 28px; font-weight: 900; border: 3px solid #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}
.ontvanger-kop .klein-label { font-size: 17px; font-weight: 700; color: var(--ivoor); }
.ontvanger-kop .grote-naam { font-size: 34px; font-weight: 900; line-height: 1.05; }
.budget-rij { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 800; color: var(--ivoor); }
.budget-rij span { display: inline-flex; align-items: center; gap: 8px; }

/* Tabbar */
.tabbar {
  position: fixed; z-index: 20; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(100%, 460px);
  padding: 8px 8px calc(var(--veilig-onder) + 8px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(20, 13, 42, .9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(244, 198, 106, .28);
}
.tabbar.vijf { grid-template-columns: repeat(5, 1fr); }
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 2px;
  color: rgba(255, 244, 223, .62); text-decoration: none; font-size: 12px; font-weight: 800; border-radius: 12px;
}
.tab img { width: 32px; height: 32px; opacity: .55; filter: saturate(.6); transition: opacity .15s; }
.tab.actief { color: var(--goud); }
.tab.actief img { opacity: 1; filter: none; }

/* ═══ Toast en dialoog ═════════════════════════════════════════════ */
#toasts { position: fixed; z-index: 90; left: 50%; transform: translateX(-50%); top: calc(var(--veilig-boven) + 14px); width: min(92vw, 420px); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  background: #fff; color: var(--inkt); border-radius: 14px; padding: 13px 16px; font-weight: 800; font-size: 15px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35); border-left: 5px solid var(--groen); animation: verschijn .3s both;
}
.toast.fout { border-left-color: var(--rood); }
.dialoog-achter { position: fixed; inset: 0; z-index: 80; background: rgba(10, 6, 24, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: grid; place-items: end center; padding: 12px; }
@media (min-width: 600px) { .dialoog-achter { place-items: center; } }
.dialoog {
  width: min(100%, 440px); max-height: calc(100dvh - 40px); overflow: auto;
  background: #fff; color: var(--inkt); border-radius: 22px; padding: 22px 20px calc(18px + var(--veilig-onder));
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45); animation: verschijn .25s both;
}
.dialoog h2 { margin: 0 0 8px; font-size: 21px; font-weight: 900; }
.dialoog p { margin: 0 0 12px; color: #4a4060; font-weight: 600; line-height: 1.45; }
.dialoog .invoer { box-shadow: none; border-color: #e2dbee; }
.dialoog-knoppen { display: flex; flex-direction: column-reverse; gap: 8px; margin-top: 16px; }
@media (min-width: 600px) { .dialoog-knoppen { flex-direction: row; justify-content: flex-end; } .dialoog-knoppen .knop { width: auto; } }
.dialoog .knop-rand { color: var(--inkt); border-color: #d7cfe6; background: #fff; }
.code-rij { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #eee8f3; }
.code-rij:last-child { border-bottom: 0; }
.code-rij strong { flex: 1; font-size: 16px; }
.code-waarde { font: 900 20px var(--font); letter-spacing: .14em; background: #fff4df; border: 1.5px dashed var(--goud-donker); padding: 4px 10px; border-radius: 10px; }

/* ═══ Beheer ═══════════════════════════════════════════════════════ */
.beheer { display: grid; grid-template-columns: 252px 1fr; min-height: 100dvh; }
.zijbalk {
  background: linear-gradient(180deg, rgba(23, 16, 47, .96), rgba(30, 18, 58, .96));
  border-right: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 14px; position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 4px;
}
.zijbalk-merk { display: flex; align-items: center; gap: 10px; padding: 4px 8px 22px; }
.zijbalk-merk img { width: 46px; }
.zijbalk-merk strong { display: block; font-size: 19px; font-weight: 900; line-height: 1.05; }
.zijbalk-merk span { font-size: 14px; font-weight: 700; color: rgba(255, 244, 223, .8); }
.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px;
  color: rgba(255, 244, 223, .88); text-decoration: none; font-weight: 800; font-size: 15.5px; border: 1.5px solid transparent;
}
.nav-item svg { width: 20px; height: 20px; }
.nav-item:hover { background: rgba(255, 255, 255, .06); }
.nav-item.actief { background: linear-gradient(90deg, rgba(126, 74, 214, .7), rgba(150, 70, 200, .55)); border-color: rgba(205, 170, 255, .55); color: #fff; }
.zijbalk .onder { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.beheer-hoofd { min-width: 0; padding-bottom: 40px; }
.banner {
  position: relative; min-height: 178px; padding: 32px 32px 26px; display: flex; flex-direction: column; justify-content: flex-end;
  background: url('/assets/sint-dak.webp') 70% 28% / cover no-repeat;
}
.banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 16, 47, .92) 0%, rgba(23, 16, 47, .55) 45%, rgba(23, 16, 47, 0) 75%), linear-gradient(0deg, rgba(36, 21, 68, 1) 0%, rgba(36, 21, 68, 0) 40%); }
.banner > * { position: relative; }
.banner h1 { margin: 0; font-size: 34px; font-weight: 900; }
.banner p { margin: 6px 0 0; font-weight: 700; color: var(--goud); font-size: 16px; }
.beheer-inhoud { padding: 8px 32px; display: flex; flex-direction: column; gap: 20px; max-width: 1080px; }
.tegels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tegel {
  background: linear-gradient(180deg, rgba(92, 60, 158, .72), rgba(54, 32, 102, .82));
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px;
  padding: 16px 10px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 10px 26px rgba(0, 0, 0, .22);
}
.tegel svg.i { width: 30px; height: 30px; stroke-width: 1.8; }
.tegel strong { font-size: 32px; font-weight: 900; line-height: 1; margin-top: 4px; }
.tegel span { font-size: 14px; font-weight: 700; color: rgba(255, 244, 223, .88); }
.ring { width: 104px; height: 104px; }
.ring text { font: 900 24px var(--font); fill: #fff; }
.paneel { background: #fff; color: var(--inkt); border-radius: 16px; padding: 18px; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.paneel h2 { margin: 0 0 12px; font-size: 19px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.paneel h2 svg { width: 22px; height: 22px; color: var(--paars); }
.paneel .klein { color: var(--grijs); }
.paneel .veld > label, .paneel .veld > .label { color: var(--inkt); }
.paneel .veld .hint { color: var(--grijs); }
.paneel .invoer, .paneel .keuze { box-shadow: none; border-color: #e2dbee; background: #fbf9ff; }
.paneel .invoer:focus, .paneel .keuze:focus { border-color: #8f5fe0; }
.paneel-kop { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.paneel-kop h2 { margin: 0; }
.activiteit { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid #eee8f3; font-weight: 700; font-size: 14.5px; }
.activiteit:last-child { border-bottom: 0; }
.activiteit .bol-groen { width: 24px; height: 24px; border-radius: 50%; background: var(--groen); color: #fff; display: grid; place-items: center; flex: none; }
.activiteit .bol-groen svg { width: 14px; height: 14px; stroke-width: 3.2; }
.activiteit .bol-paars { width: 24px; height: 24px; color: var(--paars); flex: none; }
.activiteit span { flex: 1; }
.activiteit time { color: var(--grijs); font-size: 13px; white-space: nowrap; }
.raster-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.deeln-rij { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid #eee8f3; }
.deeln-rij:last-child { border-bottom: 0; }
.deeln-rij > svg { width: 24px; height: 24px; color: var(--paars); flex: none; }
.deeln-rij .naam { flex: 1; font-weight: 800; font-size: 16px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.status svg { width: 15px; height: 15px; stroke-width: 3; }
.status.ok { color: var(--groen); }
.status.open { color: #9a6c05; }
.status.open::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--oranje); }
.status.grijs { color: var(--grijs); }
.statussen { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.rij-acties { display: flex; gap: 2px; }
.rij-acties .icoonknop { color: #5d4b85; width: 36px; height: 36px; }
.rij-acties .icoonknop.rood { color: #c4213f; }
.rij-acties svg { width: 19px; height: 19px; }
.optie {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: 14px;
  border: 2px solid #e6dff2; cursor: pointer; background: #fff;
}
.optie + .optie { margin-top: 10px; }
.optie input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: #7b3fe4; flex: none; }
.optie strong { display: block; font-size: 15.5px; font-weight: 900; color: var(--paars); }
.optie span { font-size: 13px; color: var(--grijs); font-weight: 700; }
.optie:has(input:checked) { border-color: #9b6ff0; background: #f6f1ff; }
.koppel-rij { display: grid; grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1.3fr); gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid #eee8f3; }
.koppel-rij:last-of-type { border-bottom: 0; }
.koppel-naam { font-weight: 800; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.koppel-rij .keuze.vast { border-color: #9b6ff0; background: #f6f1ff; color: #5a2fb0; }
.koppel-rij .keuze { min-height: 44px; font-size: 15px; padding: 0 10px; }
.koppel-rij > svg { width: 20px; height: 20px; color: var(--paars); justify-self: center; }
.tabel-wrap { overflow-x: auto; }
table.tabel { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tabel th { text-align: left; font-size: 13px; color: var(--grijs); font-weight: 800; padding: 8px 10px; border-bottom: 2px solid #eee8f3; white-space: nowrap; }
.tabel td { padding: 10px; border-bottom: 1px solid #eee8f3; font-weight: 700; }
.tabel tr:last-child td { border-bottom: 0; }
.verborgen { filter: blur(6px); user-select: none; }
.label-pil { display: inline-flex; height: 24px; align-items: center; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.label-pil.paars { background: #efe7ff; color: #5a2fb0; }
.label-pil.groen { background: #e2f6ea; color: #157a40; }
.label-pil.grijs { background: #f1eef5; color: #6b6280; }
.label-pil.goud { background: #fff1d1; color: #8a5a00; }
.deel-link { display: flex; gap: 8px; align-items: center; }
.deel-link input { flex: 1; min-width: 0; font-size: 14px !important; min-height: 46px !important; }
.schakel { display: flex; align-items: center; gap: 12px; font-weight: 800; cursor: pointer; }
.schakel input { width: 46px; height: 26px; accent-color: #7b3fe4; }
.formraster { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.formraster .breed { grid-column: 1 / -1; }
.mobiel-kop { display: none; }
.beheer-tabbar { display: none; }

@media (max-width: 960px) {
  .tegels { grid-template-columns: repeat(2, 1fr); }
  .raster-2 { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .beheer { grid-template-columns: 1fr; }
  .zijbalk { display: none; }
  .mobiel-kop { display: flex; align-items: center; gap: 10px; padding: calc(var(--veilig-boven) + 12px) 18px 10px; }
  .mobiel-kop img { width: 38px; }
  .mobiel-kop strong { font-size: 17px; font-weight: 900; flex: 1; }
  .banner { min-height: 130px; padding: 20px 18px 16px; }
  .banner h1 { font-size: 26px; }
  .beheer-inhoud { padding: 6px 16px; }
  .beheer-hoofd { padding-bottom: calc(110px + var(--veilig-onder)); }
  .beheer-tabbar { display: grid; }
  .formraster { grid-template-columns: 1fr; }
  .tegel strong { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Formulierelementen op witte vlakken in lichte modus tekenen */
.invoer, .keuze, .paneel, .dialoog, .lijst { color-scheme: light; }

/* ═══ bol.com-zoeken en productkaart (1.3.0) ═══ */
.zoekbalk { display: flex; gap: 8px; }
.zoekbalk .invoer { flex: 1; min-width: 0; }
.zoekbalk .knop { min-height: 54px; width: 58px; padding: 0; }
.plus-knop { background: var(--rood); color: #fff; border-radius: 50%; width: 42px; height: 42px; box-shadow: 0 6px 14px rgba(200, 35, 72, .35); }
.plus-knop:hover { background: #b01d3f; }
.plus-knop svg { width: 22px; height: 22px; stroke-width: 2.6; }
.toegevoegd { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #e2f6ea; color: var(--groen); }
.toegevoegd svg { width: 22px; height: 22px; stroke-width: 3; }
.product-foto { background: #f7f3ec; border-radius: 16px; height: 240px; display: grid; place-items: center; overflow: hidden; }
.product-foto img { width: 100%; height: 100%; object-fit: contain; }
.product-noot { background: #fff6e3; border: 1.5px solid #f2d48f; border-radius: 12px; padding: 10px 12px; font-weight: 700; color: #5c4208; line-height: 1.4; }
.product-noot strong { display: block; font-size: 12px; color: #8a5a00; margin-bottom: 2px; }
.dialoog .knop-rood { color: #fff; }
.product-foto img.goud-icoon { width: 96px; height: 96px; }

/* ═══════════════════════════════════════════════════════════════════
   PakjesMagie 2.0 — dashboard, CadeauOntdekker en productdetails
   ═══════════════════════════════════════════════════════════════════ */
.roze-tekst { color: var(--roze); }
.tabbar.lijn .tab svg.i { width: 26px; height: 26px; stroke-width: 1.9; }
.tabbar.lijn .tab { color: rgba(255, 244, 223, .7); }
.tabbar.lijn .tab.actief { color: var(--roze); }

/* Dashboard */
.kop-profiel { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.kop-profiel .avatar { width: 72px; height: 72px; font-size: 32px; }
.kop-profiel h1 { margin: 0; font-size: 30px; font-weight: 900; line-height: 1.05; }
.kop-groet { margin: 0; font-size: 18px; font-weight: 700; color: var(--ivoor); }
.kop-groep { margin: 4px 0 0; font-size: 15px; font-weight: 700; color: rgba(255, 244, 223, .8); }
.home-lot { text-align: center; padding: 18px 18px 20px; }
.home-lot-kop { display: flex; align-items: center; gap: 8px; justify-content: flex-start; font-size: 19px; font-weight: 900; margin-bottom: 8px; }
.home-lot .lot-naam { font-size: 42px; }
.menu-kaart {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; text-decoration: none;
  background: #fff; color: var(--inkt); box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}
.menu-kaart > svg.i { width: 22px; height: 22px; color: #6a5a8c; }
.menu-kaart.compact { padding: 10px 14px; }
.menu-icoon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.menu-icoon svg.i { width: 26px; height: 26px; }
.menu-icoon.roze { background: #ffe5ee; color: var(--rood); }
.menu-icoon.goud { background: #fff1d1; color: #b27a07; }
.menu-tekst { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.menu-tekst strong { font-size: 18px; font-weight: 900; }
.menu-tekst span { font-size: 14px; font-weight: 700; color: var(--grijs); }
.knop-paars-groot {
  background: linear-gradient(90deg, #c22a62, #9b3bc4); border: 1.5px solid rgba(255, 190, 230, .6);
  box-shadow: 0 10px 26px rgba(170, 50, 140, .4); min-height: 54px; font-size: 17px;
}
.wens-acties.rij { flex-direction: row; align-self: center; }

/* Ontdekken */
.ontdek-titel { color: var(--goud); font-size: 34px; text-shadow: 0 2px 14px rgba(244, 198, 106, .35); }
.zoekveld { position: relative; }
.zoekveld input {
  width: 100%; min-height: 54px; border-radius: 16px; border: 2px solid transparent; padding: 0 16px 0 50px;
  font: 700 17px var(--font); background: #fff; color: var(--inkt); box-shadow: 0 8px 22px rgba(0, 0, 0, .25); color-scheme: light;
}
.zoekveld input:focus { outline: none; border-color: var(--goud); }
.zoekveld-icoon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--grijs); }
.zoekveld-icoon svg.i { width: 22px; height: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(255, 244, 223, .45); background: rgba(23, 16, 47, .35); color: var(--ivoor); font: 800 14px var(--font);
}
.chip svg.i { width: 16px; height: 16px; }
.chip.actief { background: rgba(235, 53, 113, .2); border-color: var(--roze); color: #fff; }
.chip.icoon { width: 40px; justify-content: center; padding: 0; }
.chips.recent { gap: 6px; }
.cat-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cat-tegel {
  aspect-ratio: 1 / .92; border-radius: 16px; text-decoration: none; color: var(--ivoor);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 8px 6px; text-align: center;
  background: linear-gradient(180deg, rgba(92, 60, 158, .75), rgba(54, 32, 102, .85));
  border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 20px rgba(0, 0, 0, .25);
  font-weight: 800; font-size: 13.5px; line-height: 1.15; transition: transform .12s;
}
.cat-tegel:active { transform: scale(.97); }
.cat-tegel svg.i { width: 34px; height: 34px; stroke-width: 1.7; color: #ff9fc2; }
.cat-tegel.uitgelicht { border: 2px solid var(--goud); box-shadow: 0 0 0 3px rgba(244, 198, 106, .2), 0 0 24px rgba(244, 198, 106, .3); }
.cat-tegel.uitgelicht svg.i { color: var(--goud); }
.budget-balk {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 16px; text-decoration: none;
  background: #fff; color: var(--inkt); box-shadow: 0 12px 28px rgba(0, 0, 0, .28); font-size: 17px;
}
.budget-pil { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px 6px 14px; border-radius: 999px; background: #f3eefc; font-weight: 900; font-size: 15px; color: var(--paars); }
.budget-pil svg.i { width: 18px; height: 18px; }

/* Resultaten */
.filter-rij { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.chip-select {
  appearance: none; -webkit-appearance: none; min-height: 36px; border-radius: 999px; padding: 0 30px 0 14px; cursor: pointer;
  border: 1.5px solid rgba(255, 244, 223, .45); color: var(--ivoor); font: 800 14px var(--font);
  background: rgba(23, 16, 47, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23FFF4DF' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
}
.chip-select option { color: var(--inkt); }
.product-lijst { display: flex; flex-direction: column; gap: 10px; }
.product-rij {
  display: flex; align-items: center; gap: 4px; background: #fff; color: var(--inkt); border-radius: 16px; padding: 8px 8px 8px 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25); color-scheme: light;
}
.product-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.product-beeld { width: 92px; height: 92px; flex: none; border-radius: 12px; background: #f7f3ec; display: grid; place-items: center; overflow: hidden; }
.product-beeld img { width: 100%; height: 100%; object-fit: contain; }
.product-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.sterren { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: #c47a00; }
.sterren .aantal { color: var(--grijs); font-weight: 700; }
svg.ster-vol { width: 15px; height: 15px; fill: #f5a623; stroke: #f5a623; }
.budget-label { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.budget-label svg.i { width: 13px; height: 13px; stroke-width: 3; }
.budget-label.ok { background: #e2f6ea; color: #157a40; }
.hart-knop { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: transparent; color: var(--rood); cursor: pointer; display: grid; place-items: center; align-self: flex-start; }
.hart-knop svg.i { width: 26px; height: 26px; stroke-width: 2.1; transition: transform .15s; }
.hart-knop.aan svg.i { fill: var(--rood); }
.hart-knop:active svg.i { transform: scale(1.2); }
.skelet .product-beeld, .sk-regel { background: linear-gradient(90deg, #eee8f3 0%, #f8f5fb 50%, #eee8f3 100%); background-size: 200% 100%; animation: glans 1.2s linear infinite; }
.sk-regel { display: block; height: 14px; border-radius: 7px; width: 90%; }
.sk-regel.kort { width: 50%; }
.sk-blok { display: flex; flex-direction: column; gap: 8px; margin: 6px 0; }
@keyframes glans { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Productdetail */
body.laag-open { overflow: hidden; }
.product-laag { position: fixed; inset: 0; z-index: 70; background: rgba(10, 6, 24, .6); display: flex; justify-content: center; animation: verschijn .25s both; }
.laag-vel {
  position: relative; width: min(100%, 560px); height: 100%; overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(ellipse 120% 50% at 50% 0%, #4d2a86 0%, #281747 60%, #1d1238 100%);
  display: flex; flex-direction: column;
}
@media (min-width: 700px) { .product-laag { padding: 24px; } .laag-vel { height: auto; max-height: calc(100dvh - 48px); border-radius: 24px; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); } }
.laag-kop { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; padding: calc(var(--veilig-boven) + 10px) 12px 0; pointer-events: none; }
.laag-knop { pointer-events: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--inkt); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.laag-knop svg.i { width: 24px; height: 24px; }
.laag-knop.hart { color: var(--rood); }
.laag-knop.hart.aan svg.i { fill: var(--rood); }
.galerij { position: relative; padding-top: calc(var(--veilig-boven) + 58px); }
.galerij-spoor { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.galerij-spoor::-webkit-scrollbar { display: none; }
.galerij-foto { flex: 0 0 100%; scroll-snap-align: center; height: 300px; display: grid; place-items: center; padding: 10px 40px 26px; background: none; border: 0; cursor: zoom-in; }
.galerij-foto img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .4)); background: #fff; }
.galerij-foto.leeg { cursor: default; }
.galerij-pijl { position: absolute; top: 55%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(23, 16, 47, .5); color: #fff; display: grid; place-items: center; cursor: pointer; }
.galerij-pijl.links { left: 8px; } .galerij-pijl.rechts { right: 8px; }
.galerij-pijl svg.i { width: 22px; height: 22px; }
.galerij-punten { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.galerij-punten span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .4); }
.galerij-punten span.aan { background: #fff; width: 18px; border-radius: 4px; }
.laag-inhoud { background: #fff; color: var(--inkt); border-radius: 24px 24px 0 0; padding: 20px 18px 16px; flex: 1; display: flex; flex-direction: column; gap: 10px; color-scheme: light; }
.merk { margin: 0; font-size: 13px; font-weight: 900; color: var(--paars); }
.laag-titel { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 900; }
.laag-prijs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.prijs-groot { font-size: 30px; font-weight: 900; }
.prijs-oud { color: var(--grijs); font-weight: 700; }
.klein.donker { color: var(--grijs); margin: 0; display: flex; gap: 6px; align-items: center; }
.klein.donker svg.i { width: 16px; height: 16px; }
.spec-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.spec-chip { background: #f6f2fc; border-radius: 12px; padding: 8px; font-size: 13px; font-weight: 800; text-align: center; line-height: 1.2; overflow: hidden; }
.spec-chip small { display: block; font-size: 11px; color: var(--grijs); font-weight: 700; margin-bottom: 2px; }
.over h3 { margin: 6px 0 6px; font-size: 17px; font-weight: 900; }
.omschrijving { margin: 0; color: #3e3552; font-weight: 600; line-height: 1.5; white-space: pre-line; }
.omschrijving.ingeklapt { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.tekstknop.donker { color: var(--paars); padding: 4px 0; }
.specs { margin: 0; display: flex; flex-direction: column; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eee8f3; font-size: 14px; }
.specs dt { color: var(--grijs); font-weight: 700; }
.specs dd { margin: 0; font-weight: 800; text-align: right; }
.laag-acties { position: sticky; bottom: 0; background: #fff; padding: 12px 18px calc(var(--veilig-onder) + 14px); display: flex; flex-direction: column; gap: 8px; box-shadow: 0 -10px 24px rgba(0, 0, 0, .08); }
.knop-rand-donker { background: #fff; border: 1.6px solid #d7cfe6; color: var(--inkt); min-height: 48px; font-size: 16px; }
.chip-keuze.licht span { color: var(--inkt); border-color: #d7cfe6; }
.notitie-form { background: #faf7ff; border-radius: 16px; padding: 14px; }
.notitie-form .veld > label { color: var(--inkt); }
.notitie-form .invoer { box-shadow: none; border-color: #e2dbee; }
.zoom-laag { position: absolute; inset: 0; z-index: 5; background: rgba(10, 6, 24, .92); border: 0; display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.zoom-laag img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 12px; }

.laag-acties .knop { font-size: 17px; }
.op-lijst { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #ffe5ee; color: #a3163a; font-weight: 900; font-size: 13.5px; }
.op-lijst svg.i { width: 16px; height: 16px; fill: currentColor; }
body.laag-open #toasts { top: auto; bottom: calc(var(--veilig-onder) + 132px); }

/* ═══ Vaste schermen: alles op één scherm (2.1.0) ═══
   Alleen cadeaupagina's scrollen; deze schermen schalen mee met de schermhoogte. */
.scherm.vast {
  height: 100dvh; min-height: 0; overflow: hidden;
  padding-top: calc(var(--veilig-boven) + clamp(10px, 2.6dvh, 24px));
  padding-bottom: calc(var(--veilig-onder) + clamp(12px, 2.6dvh, 30px));
}
.scherm.vast.met-tabbar { padding-bottom: calc(var(--veilig-onder) + 86px); }
.vast > .stapel-lg, .vast > .stapel, .vast > form {
  flex: 1 1 auto; min-height: 0; margin-top: 0 !important;
  gap: clamp(8px, 1.9dvh, 22px);
  overflow-y: auto; scrollbar-width: none;
}
.vast > .stapel-lg::-webkit-scrollbar, .vast > .stapel::-webkit-scrollbar { display: none; }
.vast.midden > .stapel-lg { flex: 0 1 auto; }
.vast .stapel { gap: clamp(6px, 1.4dvh, 14px); }
.vast .titel { font-size: clamp(23px, 3.6dvh, 30px); }
.vast .sub { font-size: clamp(14px, 2dvh, 16px); }
.vast .knop { min-height: clamp(46px, 6.4dvh, 56px); flex: none; }
.vast .knop-rand { min-height: clamp(40px, 5.4dvh, 48px); }
.vast .lijn-icoon { width: clamp(40px, 6.5dvh, 56px); height: clamp(40px, 6.5dvh, 56px); }
.vast .goud-icoon { max-height: 7dvh; width: auto; }
.vast .krimp { flex: 1 1 0; min-height: 50px; height: 0; width: auto; max-width: 100%; object-fit: contain; align-self: center; margin: 0 auto; }
.vast .krimp-vak { flex: 1 1 0; min-height: 0; }
.vast .krimp-vak > .scroll-vak { flex: 1 1 0; min-height: 0; overflow-y: auto; align-content: flex-start; }
.vast .welkom-kolom { padding-top: clamp(20px, 5dvh, 40px); }
.vast .welkom-logo { max-height: 24dvh; width: auto; max-width: 100%; margin: 0 auto; flex: none; }
.vast .welkom-cadeau { margin: 0 auto; max-width: 320px; }
.vast .maan { top: calc(var(--veilig-boven) + 18px); }
.vast .trek-podium { min-height: 0; }
.vast .trek-cadeau { max-height: 100%; width: auto; max-width: 240px; }
.vast .onthul-kop { height: clamp(90px, 18dvh, 160px); flex: none; }
.vast .onthul-kop img { width: auto; height: clamp(80px, 16dvh, 150px); max-width: 70%; }
.vast .lot-kaart { padding: clamp(14px, 2.6dvh, 26px) 18px; flex: none; }
.vast .lot-naam { font-size: clamp(32px, 5.2dvh, 46px); }
.vast .lot-avatar { width: clamp(48px, 7.5dvh, 66px); height: clamp(48px, 7.5dvh, 66px); margin-top: calc(clamp(48px, 7.5dvh, 66px) * -.9); }
.vast .lot-kaart.met-avatar { margin-top: clamp(26px, 4dvh, 34px); }
/* Home */
.vast .kop-profiel .avatar { width: clamp(52px, 8dvh, 72px); height: clamp(52px, 8dvh, 72px); font-size: clamp(24px, 3.6dvh, 32px); }
.vast .kop-profiel h1 { font-size: clamp(24px, 3.6dvh, 30px); }
.vast .kop-groet { font-size: clamp(15px, 2.1dvh, 18px); }
.vast .home-lot { padding: clamp(12px, 2dvh, 18px) 16px; }
.vast .home-lot .lot-naam { font-size: clamp(30px, 5dvh, 42px); }
.vast .home-lot .knop { margin-top: clamp(8px, 1.4dvh, 14px) !important; }
.vast .menu-kaart { padding: clamp(9px, 1.5dvh, 14px) 14px; flex: none; }
.vast .menu-icoon { width: clamp(38px, 5.4dvh, 46px); height: clamp(38px, 5.4dvh, 46px); }
.vast .menu-tekst strong { font-size: clamp(16px, 2.2dvh, 18px); }
.vast .kaart-donker { padding: clamp(12px, 2dvh, 18px); }
.vast .kaart-donker.stapel.rek { flex: 1 1 auto; min-height: 0; }
.vast .kaart-donker { flex: none; }
.vast .info-rij { flex: none; }
/* Ontdekken */
.vast .ontdek-kop { flex: none; gap: 2px; }
.vast .ontdek-kop .goud-icoon { max-height: 5.5dvh; }
.vast .ontdek-titel { font-size: clamp(26px, 4.2dvh, 34px); }
.vast .zoekveld { flex: none; }
.vast .zoekveld input { min-height: clamp(44px, 6dvh, 54px); }
.vast .chips.recent { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex: none; margin: 0 -20px; padding: 0 20px; }
.vast .chips.recent .chip { flex: none; white-space: nowrap; text-decoration: none; }
.vast .cat-raster { flex: 1 1 0; min-height: 0; grid-auto-rows: 1fr; gap: clamp(6px, 1.1dvh, 10px); }
.vast .cat-tegel { aspect-ratio: auto; min-height: 0; gap: clamp(2px, .8dvh, 8px); font-size: clamp(11.5px, 1.6dvh, 13.5px); padding: 4px; }
.vast .cat-tegel svg.i { width: clamp(22px, 3.8dvh, 34px); height: clamp(22px, 3.8dvh, 34px); }
.vast .budget-balk { flex: none; padding: clamp(10px, 1.6dvh, 14px) 16px; }
/* Groep */
.vast .krimp-vak.stapel { overflow: hidden; }
@media (max-height: 700px) {
  .vast .welkom-kolom .klein { display: none; }
}

/* Op het beginscherm zetten (2.2.0) */
.installatie-icoon { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 6px 0 4px; }
.installatie-icoon img { border-radius: 18px; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.installatie-stappen { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.installatie-stappen li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #3e3552; }
.stap-icoon { width: 36px; height: 36px; border-radius: 10px; background: #f3eefc; color: #5a2fb0; display: grid; place-items: center; flex: none; }
.stap-icoon svg.i { width: 20px; height: 20px; }

/* iOS Safari: datumveld niet breder dan het vak, tekst links zoals de andere velden (2.3.1) */
.veld { min-width: 0; }
.formraster > * { min-width: 0; }
input.invoer[type="date"] {
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; min-width: 0; max-width: 100%;
  line-height: 50px; text-align: left;
}
input.invoer[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
input.invoer[type="date"]::-webkit-calendar-picker-indicator { opacity: .6; }

/* ═══ PakjesMagie 3.0 ═══ */
.gekocht-knop { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: none; cursor: pointer; color: #8f84a8; font: 800 11px var(--font); padding: 4px; min-width: 56px; }
.gekocht-knop svg.i { width: 28px; height: 28px; }
.gekocht-knop.aan { color: var(--groen); }
.gekocht-knop.aan svg.i rect { fill: #e2f6ea; }
.wens:has(.gekocht-knop.aan) .wens-titel { text-decoration: line-through; text-decoration-color: rgba(31, 157, 85, .6); }
.qa-lijst { display: flex; flex-direction: column; gap: 8px; }
.qa { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 10px 12px; }
.qa p { margin: 0; line-height: 1.4; font-weight: 700; }
.qa-v { color: var(--ivoor); }
.qa-a { color: var(--goud); margin-top: 4px !important; }
.qa-wacht { color: rgba(255, 244, 223, .55); font-size: 13px; margin-top: 4px !important; }
.qa-sint { margin: 0; font-size: 18px; font-weight: 900; line-height: 1.35; }
.sint-vraag { box-shadow: 0 0 0 3px rgba(235, 53, 113, .45), 0 12px 28px rgba(0, 0, 0, .28); }
.gedicht-kaart { background: #fff; color: var(--inkt); border-radius: 18px; padding: 16px; color-scheme: light; }
.gedicht-kaart h2 { margin: 0; font-size: 19px; font-weight: 900; display: flex; gap: 8px; align-items: center; }
.gedicht-tekst { width: 100%; border: 2px solid #eee8f3; border-radius: 12px; padding: 12px; font: 700 16px/1.6 var(--font); color: var(--inkt); background: #fffaf0; resize: vertical; }
.herstel-code { font: 900 26px var(--font); letter-spacing: .12em; text-align: center; background: #fff4df; border: 2px dashed var(--goud-donker); border-radius: 14px; padding: 14px 8px; margin: 6px 0 10px; color: var(--inkt); }
.koppel-rij.uitsl > svg.i { color: #c4213f; }
.beheer-wensen { max-height: 40dvh; overflow-y: auto; }
.code-rij span { color: var(--grijs); font-weight: 800; white-space: nowrap; }
svg.schild-groot { width: 54px; height: 54px; color: var(--goud); }
.privacy { color: var(--ivoor); line-height: 1.55; font-weight: 600; max-width: 62ch; }
.privacy h2 { font-size: 18px; margin: 14px 0 2px; color: #fff; }
.privacy p, .privacy ul { margin: 0; }
.privacy ul { padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
/* Verkooppagina */
.scherm.landing { max-width: 720px; }
.landing-hero { min-height: calc(100dvh - 60px); justify-content: center; padding-top: 20px; }
.landing-hero .welkom-logo { max-height: 26dvh; width: auto; }
.landing-blok { margin-top: 44px; }
.kenmerken { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.kenmerk { display: flex; gap: 12px; align-items: flex-start; background: #fff; color: var(--inkt); border-radius: 16px; padding: 14px; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.kenmerk strong { font-size: 16px; font-weight: 900; }
.kenmerk p { margin: 3px 0 0; color: var(--grijs); font-weight: 700; font-size: 14px; line-height: 1.4; }
.stappen-lijst { list-style: none; counter-reset: stap; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.stappen-lijst li { counter-increment: stap; display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 14px 62px; position: relative; background: rgba(255, 255, 255, .08); border: 1px solid var(--rand); border-radius: 16px; }
.stappen-lijst li::before { content: counter(stap); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--goud); color: var(--inkt); font-weight: 900; display: grid; place-items: center; }
.stappen-lijst span { color: rgba(255, 244, 223, .8); font-weight: 700; font-size: 14px; }
.faq { background: rgba(255, 255, 255, .08); border: 1px solid var(--rand); border-radius: 14px; padding: 12px 14px; }
.faq summary { font-weight: 900; cursor: pointer; }
.faq p { margin: 8px 0 0; color: rgba(255, 244, 223, .85); font-weight: 600; line-height: 1.45; }
.koppel-rij.uitsl { grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 40px; }
/* Klein scherm met vraag van de Sint: budgetlabels wijken (staan ook bij Groep) */
@media (max-height: 760px) {
  .vast .stapel-lg:has(.sint-vraag) > .info-rij { display: none; }
  .vast .stapel-lg:has(.sint-vraag) .home-lot .lot-label { display: none; }
  .vast .sint-vraag .menu-tekst span { display: none; }
}

/* Verkooppagina: voorbeeldschermen, voet (3.2.0) */
.schermen { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; scrollbar-width: none; }
.schermen::-webkit-scrollbar { display: none; }
.scherm-voorbeeld { flex: 0 0 min(62%, 230px); margin: 0; scroll-snap-align: center; text-align: center; }
.scherm-voorbeeld img { width: 100%; height: auto; border-radius: 22px; border: 3px solid rgba(244, 198, 106, .45); box-shadow: 0 16px 34px rgba(0, 0, 0, .4); }
.scherm-voorbeeld figcaption { margin-top: 8px; font-weight: 800; font-size: 14px; color: var(--ivoor); }
@media (min-width: 700px) {
  .schermen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; overflow: visible; padding: 4px 0 10px; }
  .scherm-voorbeeld { flex: none; min-width: 0; }
}
.voet { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--rand); text-align: center; font-size: 13px; font-weight: 600; color: rgba(255, 244, 223, .7); display: flex; flex-direction: column; gap: 8px; }
.voet p { margin: 0; line-height: 1.45; }
.voet a { color: var(--goud); font-weight: 800; }
.affiliate-regel { margin: 0; font-size: 12px; font-weight: 600; color: var(--grijs); text-align: center; }
.voet { background: rgba(23, 16, 47, .82); border: 1px solid var(--rand); border-radius: 16px; padding: 14px 16px; margin-bottom: 8px; position: relative; z-index: 1; }

/* ═══ Home volgens mock 3.3.0 ═══ */
body.home-modus { background: #1b0f3a url('/assets/home/achtergrond.webp') center bottom / cover no-repeat fixed; }
body.home-modus::before { display: none; }
body.home-modus .skyline { display: none; }
.home2 .kop-profiel { gap: 18px; padding-left: 6px; }
.avatar-mijter { position: relative; flex: none; }
.home2 .avatar { width: clamp(64px, 10dvh, 86px); height: clamp(64px, 10dvh, 86px); font-size: clamp(28px, 4.4dvh, 38px); border: 3px solid #f6cf78; box-shadow: 0 0 0 4px rgba(244, 198, 106, .18), 0 10px 24px rgba(0, 0, 0, .35); }
.avatar-hoed { position: absolute; width: 58%; height: auto; left: -14%; top: -22%; transform: rotate(-24deg); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
.home2 .kop-groet { font-size: clamp(16px, 2.4dvh, 20px); color: #fff; font-weight: 700; }
.home2 .kop-profiel h1 { font-size: clamp(28px, 4.6dvh, 38px); }
.home2 .kop-groep { font-size: clamp(14px, 2dvh, 17px); color: rgba(255, 244, 223, .75); }
.home2 .sectie-kop { margin: 0 4px -4px; flex: none; }
.home2 .sectie-kop h2 { font-size: clamp(20px, 3dvh, 24px); }
.lot-scene {
  position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center;
  padding: clamp(10px, 2dvh, 22px) 18px clamp(14px, 2.6dvh, 26px);
  border-radius: 28px; border: 1.5px solid rgba(244, 198, 106, .7);
  background:
    linear-gradient(180deg, rgba(30, 16, 62, 0) 0%, rgba(30, 16, 62, .35) 38%, rgba(33, 18, 66, .96) 62%),
    url('/assets/sint-dak.webp') 72% 38% / cover no-repeat, #2a1650;
  box-shadow: 0 0 0 4px rgba(244, 198, 106, .08), 0 0 34px rgba(244, 198, 106, .25), 0 18px 40px rgba(0, 0, 0, .35);
}
.lot-scene-beeld { flex: 1 1 0; min-height: 40px; height: 0; width: auto; max-width: 46%; max-height: 130px; object-fit: contain; filter: drop-shadow(0 0 18px rgba(255, 200, 90, .55)); margin-bottom: clamp(4px, 1dvh, 10px); }
.lot-scene h2 { margin: 0; font-size: clamp(18px, 2.8dvh, 23px); font-weight: 900; line-height: 1.2; color: #fff; text-wrap: balance; }
.lot-scene p { margin: 6px 0 0; font-size: clamp(14px, 2dvh, 16px); font-weight: 600; color: rgba(255, 244, 223, .82); line-height: 1.4; text-wrap: balance; }
.lot-scene .knop { margin-top: clamp(10px, 1.6dvh, 16px); max-width: 340px; }
.menu-kaart.ivoor {
  background: linear-gradient(180deg, #fffaf1 0%, #f8e7d8 100%); border: 1.5px solid rgba(255, 255, 255, .7);
  border-radius: 24px; padding: clamp(8px, 1.4dvh, 14px) 18px clamp(8px, 1.4dvh, 14px) 10px; gap: 14px;
  box-shadow: 0 0 0 1px rgba(235, 53, 113, .18), 0 12px 28px rgba(0, 0, 0, .3);
}
.menu-beeld { flex: none; width: clamp(64px, 9dvh, 82px); height: clamp(56px, 8dvh, 72px); display: grid; place-items: center; border-right: 1px solid rgba(120, 80, 90, .18); padding-right: 12px; }
.menu-beeld img { width: 100%; height: 100%; object-fit: contain; }
.menu-kaart.ivoor .menu-tekst strong { font-size: clamp(17px, 2.5dvh, 21px); color: #1d1235; }
.menu-kaart.ivoor .menu-tekst span { font-size: clamp(13px, 1.9dvh, 16px); color: #5c4f6e; }
.menu-kaart.ivoor > svg.i { color: var(--roze); width: 24px; height: 24px; stroke-width: 2.4; }
.home-chips { justify-content: center; }
.info-chip.donker { background: rgba(23, 12, 48, .72); border: 1.5px solid rgba(244, 198, 106, .55); height: clamp(34px, 4.8dvh, 42px); padding: 0 16px; font-size: clamp(14px, 2dvh, 16px); color: #fff; }
.info-chip.donker svg.i { width: 20px; height: 20px; }
/* Tabbalk zoals de mock */
.tabbar.lijn { border-radius: 26px 26px 0 0; border-top: 1px solid rgba(244, 198, 106, .2); background: rgba(18, 10, 38, .94); padding-top: 12px; }
.tabbar.lijn .tab { position: relative; font-size: 13px; }
.tabbar.lijn .tab.actief::after { content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 44px; height: 3px; border-radius: 3px; background: var(--roze); }
@media (max-height: 760px) {
  .home2 .stapel-lg:has(.sint-vraag) > .home-chips { display: none; }
  .home2 .stapel-lg:has(.bericht-kaart) > .home-chips { display: none; }
}

/* Home: verfijning naar mock */
.lot-scene { flex: none; height: clamp(170px, 29dvh, 250px); justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(30, 16, 62, .15) 0%, rgba(30, 16, 62, .2) 35%, rgba(33, 18, 66, .97) 66%),
    url('/assets/sint-dak.webp') 92% 62% / 175% auto no-repeat, #2a1650; }
.lot-scene-beeld { max-height: clamp(54px, 11dvh, 110px); }
.lot-scene h2 { font-size: clamp(16px, 2.5dvh, 21px); }
.lot-scene p { font-size: clamp(13px, 1.8dvh, 15px); }
.home-deco { position: fixed; left: max(-6px, calc(50% - 236px)); bottom: calc(var(--veilig-onder) + 74px); width: clamp(90px, 15dvh, 140px); pointer-events: none; z-index: 0; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .45)); }
@media (max-height: 760px) { .home-deco { display: none; } }
.lot-scene { background:
    linear-gradient(180deg, rgba(30, 16, 62, .05) 0%, rgba(30, 16, 62, .15) 34%, rgba(33, 18, 66, .97) 64%),
    url('/assets/sint-dak.webp') 58% 70% / 160% auto no-repeat, #2a1650; }
.home-deco { display: none; }
@media (min-height: 900px) { .home-deco { display: block; width: 120px; bottom: calc(var(--veilig-onder) + 70px); } }
.lot-scene { background:
    linear-gradient(180deg, rgba(30, 16, 62, 0) 0%, rgba(30, 16, 62, .12) 32%, rgba(33, 18, 66, .97) 64%),
    url('/assets/home/lootje-scene.webp') 100% 0% / cover no-repeat, #2a1650; }

/* ═══════════ Home en Groep volgens mock 3.3.0 ═══════════ */
body.home-modus { background: linear-gradient(180deg, #1c0e3d 0%, #26124b 55%, #2d1552 100%) fixed; }
body.home-modus::before { display: block; }
body.home-modus .skyline { display: none; }
.home-skyline { position: fixed; left: 0; right: 0; bottom: calc(var(--veilig-onder) + 64px); height: clamp(70px, 12dvh, 110px); z-index: 0; pointer-events: none;
  background: url('/assets/home/skyline-rechts.webp') center bottom / auto 100% repeat-x; opacity: .95; }
.home3 > .stapel-lg, .groep2 > .stapel-lg { position: relative; z-index: 1; }

/* Banner bovenaan, tot de randen */
.home-banner, .groep-banner {
  position: relative; flex: none; margin: calc(-1 * (var(--veilig-boven) + clamp(10px, 2.6dvh, 24px))) -20px 0;
  padding: calc(var(--veilig-boven) + clamp(8px, 1.6dvh, 16px)) 20px clamp(10px, 2dvh, 18px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background:
    linear-gradient(180deg, rgba(28, 14, 61, 0) 45%, #1d0f3f 100%),
    url('/assets/home/banner-paard-v3.webp') 18% 30% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent);
  mask-image: linear-gradient(180deg, #000 82%, transparent);
}
.home-logo { width: min(68vw, 300px); max-height: 17dvh; height: auto; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .5)); }

/* Welkom */
.home-welkom { display: flex; align-items: center; gap: 16px; padding-left: 6px; flex: none; }
.home-welkom .avatar { width: clamp(64px, 10.5dvh, 92px); height: clamp(64px, 10.5dvh, 92px); font-size: clamp(30px, 4.6dvh, 40px); border: 4px solid #fbe3a6; box-shadow: 0 0 0 3px #e3a43c, 0 10px 24px rgba(0, 0, 0, .35); }
.home-welkom .kop-groet { margin: 0; font-size: clamp(16px, 2.5dvh, 21px); font-weight: 700; color: #fff; }
.home-welkom h1 { margin: 0; font-size: clamp(28px, 4.6dvh, 38px); font-weight: 900; line-height: 1.05; }
.home-welkom .kop-groep { margin: 4px 0 0; display: flex; align-items: center; gap: 6px; font-size: clamp(15px, 2.1dvh, 18px); font-weight: 800; color: var(--goud); }
.home-welkom .kop-groep svg.i { width: 20px; height: 20px; }
.sint-vraag-balk { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; text-decoration: none; color: #fff; font-weight: 800; flex: none;
  background: linear-gradient(90deg, #c22a62, #8d3fbf); box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.sint-vraag-balk span { flex: 1; }

/* Lootjeskaart met lint */
.lot-roze {
  position: relative; flex: 1 1 auto; min-height: 0; margin-top: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center;
  padding: clamp(26px, 4dvh, 40px) 18px clamp(14px, 2.4dvh, 24px);
  border-radius: 28px; border: 2px solid #f0b85a;
  background: radial-gradient(ellipse 70% 55% at 50% 38%, rgba(232, 74, 120, .45), transparent 70%), linear-gradient(180deg, #4a1747 0%, #3a1446 55%, #2c1240 100%);
  box-shadow: 0 0 0 4px rgba(240, 184, 90, .12), 0 0 30px rgba(240, 120, 140, .35), inset 0 0 30px rgba(255, 120, 160, .12);
}
.lint {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 7px 34px 9px; font-weight: 900; font-size: clamp(17px, 2.6dvh, 22px); color: #fff4df;
  background: linear-gradient(180deg, #e2324f 0%, #b31637 100%); border-radius: 6px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 0 rgba(0, 0, 0, .2);
  clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%);
}
.glinster { position: absolute; color: #ffd98a; text-shadow: 0 0 10px rgba(255, 210, 120, .9); font-size: 22px; pointer-events: none; }
.glinster.g1 { top: 22%; left: 16%; font-size: 28px; } .glinster.g2 { top: 18%; right: 18%; } .glinster.g3 { top: 44%; left: 26%; font-size: 14px; }
.lot-cadeau { flex: 1 1 0; min-height: 50px; height: 0; width: auto; max-width: 60%; max-height: 170px; object-fit: contain; filter: drop-shadow(0 0 22px rgba(255, 190, 90, .6)); margin-bottom: clamp(6px, 1.2dvh, 12px); }
.lot-roze h2 { margin: 0; font-size: clamp(16px, 2.5dvh, 21px); font-weight: 900; color: #fff; text-wrap: balance; }
.lot-roze p { margin: 6px 0 0; font-size: clamp(13px, 1.9dvh, 16px); font-weight: 600; color: rgba(255, 244, 223, .85); text-wrap: balance; line-height: 1.4; }
.lot-roze .knop { margin-top: clamp(10px, 1.6dvh, 16px); max-width: 320px; }
.lot-inhoud { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; }
.lot-voor { font-size: clamp(15px, 2.2dvh, 18px) !important; color: #fff !important; }
.lot-wie { margin: 4px 0 0 !important; font-size: clamp(36px, 6dvh, 52px) !important; font-weight: 900 !important; color: var(--goud) !important; text-shadow: 0 0 18px rgba(244, 198, 106, .5); }

/* Twee tegels */
.home-tegels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: none; }
.home-tegel { position: relative; display: flex; flex-direction: column; gap: 4px; padding: clamp(10px, 1.8dvh, 16px) 14px clamp(12px, 2dvh, 18px); border-radius: 22px; text-decoration: none; color: #fff; min-height: clamp(118px, 18dvh, 170px); }
.home-tegel.roze { background: linear-gradient(160deg, #a52a62 0%, #6c1f55 100%); border: 1.5px solid rgba(255, 140, 190, .6); box-shadow: 0 10px 24px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .2); }
.home-tegel.paars { background: linear-gradient(160deg, #6a3bb0 0%, #43237c 100%); border: 1.5px solid rgba(200, 160, 255, .55); box-shadow: 0 10px 24px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .2); }
.home-tegel .tegel-icoon { width: clamp(30px, 4.6dvh, 40px); height: clamp(30px, 4.6dvh, 40px); color: var(--goud); stroke-width: 1.8; margin-bottom: 2px; }
.home-tegel strong { font-size: clamp(16px, 2.5dvh, 21px); font-weight: 900; line-height: 1.12; }
.home-tegel span { font-size: clamp(12.5px, 1.8dvh, 15px); font-weight: 600; color: rgba(255, 244, 223, .88); line-height: 1.3; padding-right: 26px; }
.home-tegel .tegel-pijl { position: absolute; right: 12px; bottom: 12px; width: 26px; height: 26px; color: #fff; stroke-width: 1.8; }

/* Statistiekbalk */
.home-stats { display: grid; grid-template-columns: repeat(3, 1fr); flex: none; border-radius: 20px; padding: clamp(8px, 1.4dvh, 12px) 4px;
  background: linear-gradient(180deg, rgba(74, 40, 130, .75), rgba(50, 26, 92, .85)); border: 1.5px solid rgba(200, 160, 255, .4); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.home-stats > div { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.home-stats > div + div { border-left: 1px solid rgba(255, 255, 255, .15); }
.home-stats svg.i { width: clamp(24px, 3.6dvh, 32px); height: clamp(24px, 3.6dvh, 32px); color: var(--goud); stroke-width: 1.8; }
.home-stats strong { font-size: clamp(16px, 2.4dvh, 20px); font-weight: 900; }
.home-stats span { font-size: clamp(12px, 1.7dvh, 14px); font-weight: 600; color: rgba(255, 244, 223, .85); }

/* ═══ Groep ═══ */
.groep-banner { padding-bottom: clamp(12px, 2dvh, 20px); background:
    linear-gradient(180deg, rgba(28, 14, 61, 0) 40%, #1d0f3f 100%),
    url('/assets/home/banner-paard-v3.webp') 0% 40% / cover no-repeat; }
.groep-banner .goud-icoon { max-height: 7dvh; width: auto; }
.groep-banner h1 { margin: 2px 0 0; font-size: clamp(28px, 4.6dvh, 38px); font-weight: 900; }
.groep-banner p { margin: 4px 0 0; font-weight: 600; color: rgba(255, 244, 223, .9); font-size: clamp(14px, 2dvh, 16px); max-width: 260px; }
.groep-banner-deco { position: absolute; right: -10px; bottom: 0; width: clamp(96px, 16dvh, 150px); height: auto; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .4)); }
.segmenten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 999px; flex: none;
  background: rgba(23, 12, 48, .7); border: 1.5px solid rgba(200, 160, 255, .35); }
.seg { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: clamp(40px, 5.6dvh, 48px); border-radius: 999px; border: 0; background: none; color: #fff; font: 800 clamp(13px, 1.9dvh, 15px) var(--font); cursor: pointer; }
.seg svg.i { width: 20px; height: 20px; }
.seg.actief { background: linear-gradient(180deg, #e03a74, #b51f58); box-shadow: 0 6px 14px rgba(181, 31, 88, .45), inset 0 1px 0 rgba(255, 255, 255, .3); }
.groep-info { position: relative; flex: none; background: linear-gradient(180deg, #fff9ee, #f7e9d3); color: var(--inkt); border-radius: 22px; padding: clamp(12px, 2dvh, 18px) 16px 10px; border: 1.5px solid #f2d39a; box-shadow: 0 12px 28px rgba(0, 0, 0, .3); color-scheme: light; }
.groep-info h2 { margin: 0 0 6px; display: flex; align-items: center; gap: 10px; font-size: clamp(18px, 2.7dvh, 22px); font-weight: 900; }
.groep-info h2 svg.i { width: 26px; height: 26px; color: #c58a1d; }
.groep-info h2 small { margin-left: auto; margin-right: 60px; font-size: 14px; color: var(--grijs); }
.groep-info-hoed { position: absolute; right: 8px; top: -26px; width: clamp(58px, 9dvh, 80px); height: auto; transform: rotate(10deg); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.groep-rijen > * { display: flex; align-items: center; gap: 12px; padding: clamp(6px, 1.2dvh, 11px) 4px; border-bottom: 1px solid #ecdcc3; font-size: clamp(14px, 2dvh, 16px); font-weight: 700; width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; color: inherit; font-family: inherit; text-align: left; }
.groep-rijen > *:last-child { border-bottom: 0; }
.groep-rijen svg.i { width: 22px; height: 22px; color: #b5402f; flex: none; }
.groep-rijen span { flex: 1; }
.groep-rijen strong { font-weight: 900; }
.groep-rijen button { cursor: pointer; }
.voortgang { flex: none; border-radius: 22px; padding: clamp(10px, 1.6dvh, 14px) 12px 12px; background: linear-gradient(180deg, rgba(74, 40, 130, .7), rgba(50, 26, 92, .82)); border: 1.5px solid rgba(200, 160, 255, .4); }
.voortgang h2 { margin: 0 0 10px 4px; display: flex; align-items: center; gap: 10px; font-size: clamp(18px, 2.7dvh, 22px); font-weight: 900; }
.voortgang h2 svg.i { width: 26px; height: 26px; color: var(--goud); stroke-width: 3; }
.voortgang-tegels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.voortgang-tegels > div { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: clamp(8px, 1.4dvh, 12px) 4px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); text-align: center; }
.voortgang-tegels svg.i { width: clamp(28px, 4.2dvh, 36px); height: clamp(28px, 4.2dvh, 36px); color: var(--goud); stroke-width: 1.8; }
.voortgang-tegels svg.i.rood { color: var(--roze); fill: rgba(235, 53, 113, .25); }
.voortgang-tegels strong { font-size: clamp(16px, 2.4dvh, 20px); font-weight: 900; }
.voortgang-tegels span { font-size: clamp(12px, 1.7dvh, 14px); font-weight: 600; color: rgba(255, 244, 223, .85); }
.ring-klein { width: clamp(46px, 7.4dvh, 62px); height: clamp(46px, 7.4dvh, 62px); }
.ring-klein text { font: 900 16px var(--font); fill: #fff; }
.laatste-update { flex: none; display: flex; gap: 12px; align-items: flex-start; border-radius: 22px; padding: clamp(10px, 1.6dvh, 14px) 16px;
  background: linear-gradient(180deg, rgba(110, 40, 120, .7), rgba(70, 26, 96, .82)); border: 1.5px solid rgba(255, 140, 190, .4); }
.laatste-update > svg.i { width: 34px; height: 34px; color: var(--goud); flex: none; }
.laatste-update strong { font-size: clamp(16px, 2.4dvh, 19px); font-weight: 900; }
.laatste-update p { margin: 2px 0 0; font-size: clamp(13px, 1.9dvh, 15px); font-weight: 600; color: rgba(255, 244, 223, .9); line-height: 1.4; }
.groep-lijst { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.groep-namen { overflow-y: auto; flex: 1; min-height: 0; }
.groep-namen > div { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid #ecdcc3; font-weight: 800; }
.groep-namen > div:last-child { border-bottom: 0; }
.groep-namen svg.i { color: #b5402f; }
/* ── Compacter, zoals de mock ── */
.home3 > .stapel-lg, .groep2 > .stapel-lg { gap: clamp(7px, 1.5dvh, 16px); }
.home-banner { padding-bottom: clamp(4px, 1dvh, 10px); }
.home-logo { width: min(62vw, 270px); max-height: 14dvh; }
.home-welkom { gap: 14px; }
.home-welkom .avatar { width: clamp(54px, 8.6dvh, 78px); height: clamp(54px, 8.6dvh, 78px); font-size: clamp(26px, 4dvh, 34px); }
.home-welkom .kop-groet { font-size: clamp(15px, 2.2dvh, 19px); }
.home-welkom h1 { font-size: clamp(24px, 4dvh, 33px); }
.home-welkom .kop-groep { font-size: clamp(13px, 1.9dvh, 16px); }
.lot-roze { margin-top: 16px; padding-top: clamp(22px, 3.4dvh, 34px); justify-content: center; }
.lot-cadeau { flex: none; height: clamp(62px, 13dvh, 150px); width: auto; max-width: 62%; max-height: none; }
.lint { top: -17px; font-size: clamp(16px, 2.4dvh, 20px); padding: 6px 30px 8px; }
.home-tegels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.home-tegel { min-height: clamp(96px, 15dvh, 150px); padding: clamp(9px, 1.5dvh, 14px) 12px clamp(10px, 1.6dvh, 14px); border-radius: 20px; }
.home-tegel strong { font-size: clamp(15px, 2.2dvh, 19px); }
.home-tegel span { font-size: clamp(12px, 1.65dvh, 14px); }
.home-tegel .tegel-icoon { width: clamp(26px, 4dvh, 36px); height: clamp(26px, 4dvh, 36px); }
.home-tegel .tegel-pijl { width: 24px; height: 24px; right: 10px; bottom: 10px; }
.home-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-stats strong { font-size: clamp(15px, 2.2dvh, 19px); }
.home-stats svg.i { width: clamp(22px, 3.2dvh, 30px); height: clamp(22px, 3.2dvh, 30px); }
/* Groep */
.groep-banner { padding-bottom: clamp(6px, 1.2dvh, 12px); }
.banner-icoon { width: clamp(38px, 6dvh, 54px) !important; height: clamp(38px, 6dvh, 54px) !important; color: var(--goud); stroke-width: 1.6; filter: drop-shadow(0 0 10px rgba(244, 198, 106, .5)); }
.groep-banner h1 { font-size: clamp(24px, 4dvh, 32px); }
.groep-banner p { font-size: clamp(13px, 1.8dvh, 15px); max-width: 230px; }
.groep-banner-deco { width: clamp(78px, 13dvh, 128px); right: -22px; }
.seg { gap: 4px; font-size: clamp(12px, 1.7dvh, 14px); min-height: clamp(36px, 5dvh, 44px); padding: 0 4px; }
.seg svg.i { width: 17px; height: 17px; }
.groep-info { padding: clamp(10px, 1.6dvh, 14px) 14px 6px; }
.groep-info h2 { font-size: clamp(16px, 2.4dvh, 20px); margin-bottom: 2px; }
.groep-info h2 svg.i { width: 22px; height: 22px; }
.groep-info-hoed { width: clamp(50px, 7.6dvh, 70px); top: -22px; }
.groep-rijen > * { padding: clamp(4px, 0.95dvh, 9px) 2px; font-size: clamp(13px, 1.8dvh, 15px); gap: 10px; }
.groep-rijen svg.i { width: 20px; height: 20px; }
.voortgang { padding: clamp(8px, 1.3dvh, 12px) 10px 10px; }
.voortgang h2 { font-size: clamp(16px, 2.4dvh, 20px); margin-bottom: clamp(6px, 1dvh, 10px); }
.voortgang h2 svg.i { width: 22px; height: 22px; }
.voortgang-tegels { gap: 7px; }
.voortgang-tegels > div { padding: clamp(6px, 1dvh, 10px) 2px; }
.voortgang-tegels svg.i { width: clamp(22px, 3.4dvh, 30px); height: clamp(22px, 3.4dvh, 30px); }
.voortgang-tegels strong { font-size: clamp(15px, 2.1dvh, 18px); }
.voortgang-tegels span { font-size: clamp(11.5px, 1.6dvh, 13px); }
.ring-klein { width: clamp(38px, 6.2dvh, 54px); height: clamp(38px, 6.2dvh, 54px); }
.laatste-update { padding: clamp(8px, 1.3dvh, 12px) 14px; gap: 10px; }
.laatste-update > svg.i { width: 28px; height: 28px; }
.laatste-update strong { font-size: clamp(15px, 2.1dvh, 18px); }
.laatste-update p { font-size: clamp(12.5px, 1.75dvh, 14px); }
@media (max-height: 720px) {
  .groep-banner p { display: none; }
  .voortgang-tegels span { font-size: 11px; }
}
.lot-cadeau { height: clamp(52px, 11dvh, 130px); }
.lot-roze h2 { font-size: clamp(15px, 2.2dvh, 19px); }
.lot-roze p { font-size: clamp(12.5px, 1.75dvh, 15px); margin-top: 4px; }
.lot-roze { padding-bottom: clamp(10px, 1.8dvh, 18px); }
.home-tegel strong { font-size: clamp(14px, 1.95dvh, 17px); }
@media (max-height: 720px) { .lot-cadeau { height: 44px; } .glinster.g3 { display: none; } }
/* 3.3.2: banner met Sint op het paard; getrokken lootje past altijd in de kaart */
.home-banner { background:
    linear-gradient(180deg, rgba(28, 14, 61, 0) 50%, #1d0f3f 100%),
    url('/assets/home/banner-paard-v3.webp') center 30% / cover no-repeat; }
.lot-roze.getrokken { flex: 0 0 auto; justify-content: flex-start; padding-top: clamp(32px, 4.6dvh, 42px); padding-bottom: clamp(14px, 2.2dvh, 22px); }
.lot-roze.getrokken .lot-inhoud { flex: none; gap: 2px; }
.lot-roze.getrokken .lot-voor { margin: 0 !important; }
.lot-roze.getrokken .lot-wie { font-size: clamp(30px, 5.4dvh, 46px) !important; line-height: 1.1; margin: 2px 0 0 !important; }
.lot-roze.getrokken .knop { margin-top: clamp(8px, 1.4dvh, 14px); min-height: clamp(44px, 6dvh, 52px); font-size: clamp(16px, 2.2dvh, 18px); }
/* Kleine schermen: alles zichtbaar op één scherm */
.lot-roze .glinster.g1 { top: 14%; left: 7%; } .lot-roze .glinster.g2 { top: 12%; right: 8%; } .lot-roze .glinster.g3 { top: 58%; left: 10%; }
@media (max-height: 760px) {
  .home-logo { max-height: 11dvh; }
  .home-banner { padding-bottom: 2px; }
  .home-welkom .avatar { width: 50px; height: 50px; font-size: 24px; border-width: 3px; }
  .home-welkom h1 { font-size: 23px; }
  .home-welkom .kop-groet { font-size: 14px; }
  .home3 > .stapel-lg { gap: 7px; }
  .lot-roze { margin-top: 14px; }
  .home-tegel { min-height: 0; padding: 8px 10px 10px; }
  .home-tegel .tegel-icoon { width: 22px; height: 22px; margin: 0; }
  .home-tegel strong { font-size: 14px; }
  .home-tegel span { font-size: 11.5px; line-height: 1.25; }
  .home-tegel .tegel-pijl { width: 20px; height: 20px; right: 8px; bottom: 8px; }
  .home-stats { padding: 6px 2px; }
  .home-stats svg.i { width: 20px; height: 20px; }
  .home-stats strong { font-size: 14px; }
  .home-stats span { font-size: 11px; }
}

/* 3.3.3: de lootjeskaart wordt nooit kleiner dan zijn inhoud, in geen enkele situatie */
.lot-roze, .lot-roze.getrokken { flex: 0 0 auto; min-height: auto; justify-content: flex-start; overflow: visible; }
.lot-roze { padding-top: clamp(30px, 4.4dvh, 40px); }
.lot-roze > .lot-cadeau { flex: none; }

/* ═══ 3.3.3: alles compacter, Home / Mijn wensen / Groep altijd op één scherm ═══ */
.home3 > .stapel-lg, .groep2 > .stapel-lg, .wensen2 > .stapel-lg { gap: clamp(6px, 1.2dvh, 12px); }
.home-logo { width: min(54vw, 230px); max-height: 11dvh; }
.home-banner { padding-bottom: 2px; }
.home-welkom { gap: 12px; }
.home-welkom .avatar { width: clamp(46px, 7dvh, 64px); height: clamp(46px, 7dvh, 64px); font-size: clamp(22px, 3.3dvh, 28px); border-width: 3px; }
.home-welkom .kop-groet { font-size: clamp(13px, 1.9dvh, 16px); }
.home-welkom h1 { font-size: clamp(21px, 3.4dvh, 28px); }
.home-welkom .kop-groep { font-size: clamp(12px, 1.7dvh, 14px); margin-top: 2px; }
.lot-roze { margin-top: 13px; padding: clamp(24px, 3.6dvh, 32px) 14px clamp(10px, 1.6dvh, 16px); border-radius: 24px; }
.lint { top: -15px; font-size: clamp(14px, 2.1dvh, 18px); padding: 5px 26px 7px; }
.lot-cadeau { height: clamp(40px, 8.5dvh, 100px); margin-bottom: 4px; }
.lot-roze h2 { font-size: clamp(14px, 2dvh, 17px); }
.lot-roze p { font-size: clamp(12px, 1.6dvh, 14px); margin-top: 3px; }
.lot-roze .knop, .lot-roze.getrokken .knop { margin-top: clamp(6px, 1.1dvh, 12px); min-height: clamp(38px, 5.2dvh, 46px); font-size: clamp(14px, 2dvh, 17px); }
.lot-roze.getrokken { padding-top: clamp(26px, 3.8dvh, 34px); }
.lot-roze.getrokken .lot-voor { font-size: clamp(13px, 1.9dvh, 16px) !important; }
.lot-roze.getrokken .lot-wie { font-size: clamp(26px, 4.4dvh, 38px) !important; }
.home-tegel { min-height: 0; padding: clamp(8px, 1.3dvh, 12px) 11px clamp(9px, 1.4dvh, 12px); border-radius: 18px; gap: 2px; }
.home-tegel .tegel-icoon { width: clamp(22px, 3.4dvh, 30px); height: clamp(22px, 3.4dvh, 30px); }
.home-tegel strong { font-size: clamp(13px, 1.85dvh, 16px); }
.home-tegel span { font-size: clamp(11px, 1.55dvh, 13px); line-height: 1.28; padding-right: 22px; }
.home-tegel .tegel-pijl { width: 21px; height: 21px; right: 9px; bottom: 9px; }
.home-stats { padding: clamp(5px, 1dvh, 9px) 2px; border-radius: 16px; }
.home-stats svg.i { width: clamp(18px, 2.7dvh, 24px); height: clamp(18px, 2.7dvh, 24px); }
.home-stats strong { font-size: clamp(13px, 1.9dvh, 16px); }
.home-stats span { font-size: clamp(10.5px, 1.45dvh, 12.5px); }
.home-skyline { height: clamp(50px, 8dvh, 80px); }
/* Groep compacter */
.banner-icoon { width: clamp(30px, 4.6dvh, 42px) !important; height: clamp(30px, 4.6dvh, 42px) !important; }
.groep-banner h1 { font-size: clamp(21px, 3.4dvh, 28px); }
.groep-banner p { font-size: clamp(12px, 1.6dvh, 14px); margin-top: 2px; }
.groep-banner-deco { width: clamp(64px, 10.5dvh, 104px); }
.seg { min-height: clamp(32px, 4.4dvh, 40px); font-size: clamp(11.5px, 1.6dvh, 13.5px); }
.seg svg.i { width: 15px; height: 15px; }
.groep-info { padding: clamp(8px, 1.3dvh, 12px) 12px 4px; border-radius: 18px; }
.groep-info h2 { font-size: clamp(14px, 2.1dvh, 18px); }
.groep-info h2 svg.i { width: 19px; height: 19px; }
.groep-info-hoed { width: clamp(42px, 6.4dvh, 60px); top: -18px; }
.groep-rijen > * { padding: clamp(3px, 0.75dvh, 7px) 2px; font-size: clamp(12px, 1.65dvh, 14px); }
.groep-rijen svg.i { width: 17px; height: 17px; }
.voortgang { padding: clamp(6px, 1.1dvh, 10px) 9px 9px; border-radius: 18px; }
.voortgang h2 { font-size: clamp(14px, 2.1dvh, 18px); margin-bottom: clamp(4px, 0.8dvh, 8px); }
.voortgang h2 svg.i { width: 19px; height: 19px; }
.voortgang-tegels > div { padding: clamp(5px, 0.8dvh, 8px) 2px; border-radius: 13px; gap: 1px; }
.voortgang-tegels svg.i { width: clamp(18px, 2.8dvh, 26px); height: clamp(18px, 2.8dvh, 26px); }
.voortgang-tegels strong { font-size: clamp(13px, 1.9dvh, 16px); }
.voortgang-tegels span { font-size: clamp(10.5px, 1.45dvh, 12px); }
.ring-klein { width: clamp(32px, 5.2dvh, 46px); height: clamp(32px, 5.2dvh, 46px); }
.laatste-update { padding: clamp(6px, 1.1dvh, 10px) 12px; border-radius: 18px; }
.laatste-update > svg.i { width: 24px; height: 24px; }
.laatste-update strong { font-size: clamp(13px, 1.9dvh, 16px); }
.laatste-update p { font-size: clamp(11.5px, 1.6dvh, 13px); }
.groep2 .menu-kaart { padding: clamp(8px, 1.3dvh, 12px) 12px; }
.groep2 .menu-icoon { width: 38px; height: 38px; }
.groep2 .menu-tekst strong { font-size: clamp(14px, 2dvh, 16px); }
.groep2 .menu-tekst span { font-size: clamp(11.5px, 1.6dvh, 13px); }
.groep2 .knop-rand { min-height: 40px; }
/* Mijn wensen op één scherm */
.wensen-kop { display: flex; align-items: center; gap: 12px; flex: none; margin-top: 4px; }
.wensen-hart { width: clamp(40px, 6dvh, 52px); height: clamp(40px, 6dvh, 52px); flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(235, 53, 113, .16); border: 1.5px solid rgba(235, 53, 113, .5); color: var(--roze); }
.wensen-hart svg.i { width: 60%; height: 60%; }
.wensen-kop h1 { margin: 0; font-size: clamp(20px, 3.2dvh, 26px); font-weight: 900; }
.wensen-kop p { margin: 2px 0 0; font-size: clamp(12px, 1.7dvh, 14px); font-weight: 700; color: rgba(255, 244, 223, .8); }
.wensen-vak { flex: 1 1 auto; min-height: 0; overflow-y: auto; border-radius: var(--radius); overscroll-behavior: contain; }
.wensen2 .wens { padding: clamp(7px, 1.1dvh, 10px) 10px; gap: 10px; grid-template-columns: clamp(46px, 7dvh, 58px) 1fr auto; }
.wensen2 .wens-foto { width: clamp(46px, 7dvh, 58px); height: clamp(46px, 7dvh, 58px); }
.wensen2 .wens-titel { font-size: clamp(13px, 1.9dvh, 15px); }
.wensen2 .prijs { font-size: clamp(13px, 1.9dvh, 15px); }
.wensen2 .knop-paars-groot { flex: none; min-height: clamp(42px, 5.8dvh, 50px); font-size: clamp(14px, 2dvh, 16px); }
.wensen-extra { display: flex; justify-content: center; gap: 18px; flex: none; margin-top: -4px; }
.wensen-extra .tekstknop { padding: 2px 4px; font-size: 13px; }
/* 3.3.3: dunnere tabbalk, verder naar beneden */
.tabbar, .tabbar.lijn { padding: 5px 6px calc(var(--veilig-onder) + 2px); border-radius: 22px 22px 0 0; }
.tabbar.lijn .tab { gap: 1px; padding: 3px 2px; font-size: 11.5px; }
.tabbar.lijn .tab svg.i { width: 22px; height: 22px; }
.tabbar.lijn .tab.actief::after { bottom: -2px; width: 36px; height: 3px; }
.scherm.vast.met-tabbar, .scherm.met-tabbar { padding-bottom: calc(var(--veilig-onder) + 62px); }
.home-skyline { bottom: calc(var(--veilig-onder) + 46px); }

/* ═══ 3.4.0 ═══ */
/* Achtergrond loopt door tot onder de Safari-balk (geen zwarte strook) */
html { background-color: #1d0f3f; }
body { min-height: 100lvh; }
@supports (-webkit-touch-callout: none) { body, body.home-modus { background-attachment: scroll; } }
/* Banner bovenaan uitgelijnd: maan altijd helemaal zichtbaar */
.home-banner, .groep-banner { background-position: center, center top !important; }
.home-banner { background-size: auto, cover !important; }
.groep-banner { background-size: auto, cover !important; }
.groep-inhoud { display: flex; flex-direction: column; gap: clamp(6px, 1.2dvh, 12px); flex: 1 1 auto; min-height: 0; }
.groep2 .groep-banner h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: .01em; }
.groep2 .groep-banner p { font-family: Georgia, 'Times New Roman', serif; font-style: italic; }
/* Deelnemerskaart volgens mock */
.wie-kaart { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; color: #2a1640; color-scheme: light;
  background: linear-gradient(180deg, #fffaf0 0%, #f8ecd9 100%); border: 2px solid #f0c777; border-radius: 26px;
  box-shadow: 0 0 0 4px rgba(240, 199, 119, .18), 0 14px 30px rgba(0, 0, 0, .35); padding: clamp(10px, 1.6dvh, 16px) 16px 8px; }
.tab-deelnemers > .stapel-lg { padding-bottom: clamp(52px, 9dvh, 92px); }
.wie-kop { display: flex; align-items: center; gap: 10px; flex: none; }
.wie-veer { width: clamp(36px, 5.4dvh, 50px); height: auto; flex: none; transform: rotate(-8deg); }
.wie-kop h2 { margin: 0; flex: 1; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: clamp(20px, 3.2dvh, 27px); color: #2a1640; }
.wie-teller { position: relative; width: clamp(38px, 5.6dvh, 48px); height: clamp(38px, 5.6dvh, 48px); flex: none; display: grid; place-items: center; margin-right: 6px;
  background: radial-gradient(circle at 50% 40%, #6c2bb0, #3d1270); border-radius: 50%; border: 2.5px solid #e6b450; box-shadow: 0 0 0 2px rgba(230, 180, 80, .35); }
.wie-teller::before, .wie-teller::after { content: '✦'; position: absolute; color: #e6b450; font-size: 12px; top: 50%; transform: translateY(-50%); }
.wie-teller::before { left: -16px; } .wie-teller::after { right: -16px; }
.wie-teller span { font-family: Georgia, serif; font-weight: 700; font-size: clamp(17px, 2.6dvh, 22px); color: #ffe6a8; }
.wie-sierlijn { display: block; width: 74%; max-width: 300px; height: auto; margin: 2px auto 4px; flex: none; opacity: .95; }
.wie-lijst { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 -6px; padding: 0 6px; }
.wie-rij { display: flex; align-items: center; gap: 14px; padding: clamp(5px, 0.9dvh, 9px) 4px; border-bottom: 1px solid rgba(160, 120, 80, .22); }
.wie-rij:last-child { border-bottom: 0; }
.wie-piet { width: clamp(46px, 7dvh, 62px); height: clamp(46px, 7dvh, 62px); flex: none; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(60, 20, 80, .25)); }
.wie-rij span { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: clamp(17px, 2.6dvh, 22px); color: #2a1640; }
/* Beheer: Piet in de lijst */
.deeln-piet { width: 40px; height: 40px; flex: none; object-fit: contain; }
/* Deelnemerskaart compact zoals de mock: zo hoog als de lijst, lange lijst schuift in de kaart */
.wie-kaart { flex: 0 1 auto; }
.wie-kop h2 { font-size: clamp(18px, 2.6dvh, 23px); white-space: nowrap; }
.wie-veer { width: clamp(32px, 4.6dvh, 42px); }
.wie-teller { width: clamp(34px, 4.8dvh, 42px); height: clamp(34px, 4.8dvh, 42px); }
.wie-teller span { font-size: clamp(15px, 2.2dvh, 19px); }
.wie-sierlijn { width: 62%; max-width: 230px; margin: 0 auto 2px; }
.wie-rij { gap: 12px; padding: clamp(4px, 0.7dvh, 7px) 4px; }
.wie-piet { width: clamp(40px, 5.6dvh, 50px); height: clamp(40px, 5.6dvh, 50px); }
.wie-rij span { font-size: clamp(16px, 2.2dvh, 19px); }
.tab-deelnemers .home-skyline { height: clamp(60px, 10dvh, 100px); }

/* 3.4.1: jouw groepen op de startpagina */
.mijn-groepen { width: 100%; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.mijn-groepen .knop small { font-weight: 700; opacity: .85; font-size: 14px; margin-left: 4px; }

/* ═══ 3.5.0 ═══ */
/* Banner begint pas onder de statusbalk van de iPhone: maan altijd helemaal zichtbaar */
.home-banner, .groep-banner {
  background-color: #1d0f3f !important;
  background-position: center, center env(safe-area-inset-top, 0px) !important;
  background-size: auto, 100% auto !important;
  background-repeat: no-repeat !important;
}
/* Deelnemers-tabblad op dezelfde maat als Overzicht */
.wie-kaart { padding: clamp(8px, 1.3dvh, 12px) 12px 6px; border-radius: 18px; border-width: 1.5px; }
.wie-kop { gap: 8px; }
.wie-veer { width: clamp(24px, 3.4dvh, 30px); }
.wie-kop h2 { font-size: clamp(15px, 2.2dvh, 18px); }
.wie-teller { width: clamp(28px, 3.8dvh, 34px); height: clamp(28px, 3.8dvh, 34px); border-width: 2px; }
.wie-teller span { font-size: clamp(13px, 1.8dvh, 15px); }
.wie-teller::before, .wie-teller::after { font-size: 9px; } .wie-teller::before { left: -12px; } .wie-teller::after { right: -12px; }
.wie-sierlijn { width: 48%; max-width: 170px; margin: -2px auto 0; }
.wie-rij { gap: 10px; padding: clamp(3px, 0.6dvh, 6px) 2px; }
.wie-piet { width: clamp(30px, 4.4dvh, 38px); height: clamp(30px, 4.4dvh, 38px); }
.wie-rij span { font-size: clamp(13px, 1.85dvh, 15px); }
/* Website volgens mock */
body.website-modus .skyline { display: none; }
body.website-modus::before { display: none; }
.website-hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: calc(env(safe-area-inset-top, 0px) + 16px) 16px 24px;
  background: linear-gradient(180deg, rgba(20, 8, 46, .25), rgba(20, 8, 46, 0) 30%, rgba(20, 8, 46, 0) 70%, rgba(29, 15, 63, .9) 100%), url('/assets/home/website-hero.jpg') center / cover no-repeat, #1d0f3f; }
.website-hero-inhoud { width: min(100%, 620px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(10px, 1.8vh, 18px); }
.website-logo { width: min(80vw, 440px); height: auto; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .5)); }
.website-kop { margin: 0; font-size: clamp(28px, 4.4vw, 48px); font-weight: 900; line-height: 1.1; color: #fff; text-shadow: 0 3px 14px rgba(0, 0, 0, .5); }
.goud-zwier { position: relative; color: var(--goud); white-space: nowrap; display: inline-block; }
.goud-zwier::after { content: ''; position: absolute; left: 4%; right: -2%; bottom: -8px; height: 10px; border-bottom: 4px solid var(--goud); border-radius: 0 0 60% 40% / 0 0 100% 100%; transform: rotate(-2deg); }
.website-sub { margin: 4px 0 0; max-width: 560px; font-size: clamp(15px, 1.6vw, 19px); font-weight: 600; color: #fff; line-height: 1.45; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
.website-tegels { display: grid; grid-template-columns: repeat(3, minmax(0, 120px)); gap: 14px; justify-content: center; }
.website-tegels > div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px 12px; border-radius: 18px; color: #fff; font-weight: 800; font-size: 14px; line-height: 1.2;
  background: linear-gradient(180deg, rgba(110, 40, 130, .75), rgba(60, 20, 90, .85)); border: 1.5px solid rgba(255, 170, 220, .45); box-shadow: 0 10px 24px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .15); }
.website-tegels svg.i { width: 34px; height: 34px; color: var(--goud); stroke-width: 1.8; }
.website-cta { display: inline-flex; align-items: center; justify-content: center; gap: 14px; width: min(100%, 520px); min-height: 66px; padding: 0 28px; border-radius: 999px; text-decoration: none; color: #fff; font-size: clamp(19px, 2.2vw, 26px); font-weight: 900;
  background: linear-gradient(180deg, #f0426f, #c81e5a); border: 2px solid #f6c46a; box-shadow: 0 0 0 4px rgba(246, 196, 106, .2), 0 0 28px rgba(240, 66, 111, .55), 0 12px 26px rgba(0, 0, 0, .4); }
.website-cta span { flex: 1; }
.website-cta svg.i { width: 26px; height: 26px; stroke-width: 2.8; }
.website-cta:active { transform: scale(.98); }
.website-deel { display: inline-flex; align-items: center; gap: 10px; padding: 9px 22px 9px 10px; border-radius: 999px; text-decoration: none; color: #fff; font-weight: 700; font-size: 15px;
  background: rgba(23, 10, 48, .72); border: 1.5px solid rgba(246, 196, 106, .55); }
.deel-bol { width: 30px; height: 30px; border-radius: 50%; background: #25a34a; display: grid; place-items: center; }
.deel-bol svg.i { width: 16px; height: 16px; color: #fff; }
.website-hero .mijn-groepen { width: min(100%, 520px); }
@media (max-width: 700px) {
  .website-hero { background-position: 30% center; align-items: flex-start; padding-top: calc(env(safe-area-inset-top, 0px) + 24px); }
  .website-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 55% at 50% 42%, rgba(20, 8, 46, .55), transparent 75%); pointer-events: none; }
  .website-hero-inhoud { position: relative; }
  .website-tegels { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 8px; }
  .website-tegels > div { font-size: 12.5px; padding: 10px 4px; }
  .website-tegels svg.i { width: 28px; height: 28px; }
  .website-cta { min-height: 58px; }
}
@media (min-width: 701px) {
  .website-hero { align-items: flex-start; padding-top: max(2vh, 14px); }
  .website-hero-inhoud { width: min(100%, 780px); gap: clamp(10px, 1.6vh, 18px); }
  .website-logo { width: min(40vw, 500px); max-height: 30vh; object-fit: contain; }
  .website-kop { font-size: clamp(32px, 3.6vw, 50px); white-space: nowrap; }
  .website-sub { font-size: clamp(16px, 1.45vw, 20px); max-width: 640px; }
  .website-tegels { grid-template-columns: repeat(3, 140px); gap: 18px; }
  .website-tegels > div { padding: 16px 8px 14px; font-size: 15px; min-height: 118px; justify-content: center; }
  .website-tegels svg.i { width: 40px; height: 40px; }
  .website-cta { width: min(100%, 540px); min-height: 72px; }
}
@media (min-width: 701px) {
  .website-logo { width: min(46vw, 580px); max-height: 34vh; }
}
.website-tegels > div { background: linear-gradient(180deg, rgba(126, 38, 120, .92), rgba(72, 20, 96, .95)); border-color: rgba(255, 180, 220, .6); }
/* 3.5.1: banner toont de hele afbeelding (maan links, Sint op paard rechts), onder de statusbalk */
.home-banner, .groep-banner {
  background-image: linear-gradient(180deg, rgba(29, 15, 63, 0) 80%, #1d0f3f 100%), url('/assets/home/banner-paard-v4.webp') !important;
  background-position: center, center env(safe-area-inset-top, 0px) !important;
  background-size: auto, 100% auto !important;
  min-height: calc(env(safe-area-inset-top, 0px) + min(100vw, 500px) * 0.332);
  -webkit-mask-image: linear-gradient(180deg, #000 93%, transparent); mask-image: linear-gradient(180deg, #000 93%, transparent);
}
/* Website op mobiel: eigen achtergrond, inhoud in de lucht */
@media (max-width: 700px) {
  .website-hero { background: linear-gradient(180deg, rgba(20, 8, 46, 0) 70%, rgba(29, 15, 63, .85) 100%), url('/assets/home/website-hero-mobiel.jpg') center top / cover no-repeat, #1d0f3f; }
  .website-hero::before { background: radial-gradient(ellipse 85% 45% at 50% 36%, rgba(20, 8, 46, .45), transparent 75%); }
  .website-logo { width: min(74vw, 320px); margin-top: 6px; }
}
/* 3.5.2: scherpe achtergrond op de pc, alles iets kleiner */
@media (min-width: 701px) {
  .website-hero { background: linear-gradient(180deg, rgba(20, 8, 46, .25), rgba(20, 8, 46, 0) 30%, rgba(20, 8, 46, 0) 70%, rgba(29, 15, 63, .9) 100%), url('/assets/home/website-hero-2560.webp') center / cover no-repeat, #1d0f3f; }
  .website-hero-inhoud { width: min(100%, 680px); gap: clamp(8px, 1.4vh, 14px); }
  .website-logo { width: min(36vw, 470px); max-height: 27vh; }
  .website-kop { font-size: clamp(26px, 2.9vw, 42px); }
  .website-sub { font-size: clamp(14px, 1.2vw, 17px); max-width: 560px; }
  .website-tegels { grid-template-columns: repeat(3, 118px); gap: 14px; }
  .website-tegels > div { min-height: 98px; padding: 12px 6px 10px; font-size: 13.5px; border-radius: 16px; }
  .website-tegels svg.i { width: 32px; height: 32px; }
  .website-cta { width: min(100%, 450px); min-height: 60px; font-size: clamp(17px, 1.6vw, 22px); }
  .website-cta svg.i { width: 22px; height: 22px; }
  .website-deel { font-size: 14px; padding: 7px 18px 7px 8px; }
  .deel-bol { width: 26px; height: 26px; }
}

/* ═══ 3.5.3: rustigere website, achtergrond volledig zichtbaar ═══ */
.website-acties { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.website-cta { width: auto; min-height: 50px; padding: 0 26px; gap: 10px; font-size: 18px; flex: 0 1 auto; }
.website-cta span { flex: none; }
.website-deel { width: 50px; height: 50px; padding: 0; justify-content: center; border-radius: 50%; flex: none;
  background: #25a34a; border: 2px solid rgba(255, 255, 255, .85); box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
.website-deel svg.i { width: 22px; height: 22px; color: #fff; }
.website-tegels > div { background: rgba(60, 18, 80, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-color: rgba(255, 200, 230, .45); }
.mijn-groepen-klein { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.groep-link { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(23, 10, 48, .6); border: 1px solid rgba(246, 196, 106, .45); font-size: 13px; font-weight: 800; }
.groep-link a { color: var(--goud); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.groep-link svg.i { width: 15px; height: 15px; }
.groep-link .beheer-link { color: rgba(255, 244, 223, .6); font-weight: 700; font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 701px) {
  .website-cta { min-height: 54px; font-size: 19px; padding: 0 30px; }
  .website-deel { width: 54px; height: 54px; }
  .website-tegels > div { min-height: 88px; }
}
@media (max-width: 700px) {
  /* Afbeelding precies op schermbreedte: boom links en vlaggenstok rechts blijven zichtbaar */
  .website-hero { min-height: calc(100vw * 1.777); align-items: flex-start; padding-top: calc(env(safe-area-inset-top, 0px) + 14px);
    background: url('/assets/home/website-hero-mobiel.jpg') center top / 100% auto no-repeat, #1d0f3f; }
  .website-hero::before { background: radial-gradient(ellipse 78% 34% at 50% 34%, rgba(20, 8, 46, .5), transparent 75%); }
  .website-hero-inhoud { gap: 10px; padding: 0 6px; }
  .website-logo { width: min(58vw, 250px); margin-top: 18px; }
  .website-kop { font-size: 25px; }
  .website-sub { font-size: 14px; max-width: 320px; }
  .website-tegels { width: auto; grid-template-columns: repeat(3, 92px); gap: 8px; }
  .website-tegels > div { font-size: 11.5px; padding: 8px 4px; border-radius: 14px; }
  .website-tegels svg.i { width: 24px; height: 24px; }
  .website-cta { min-height: 46px; font-size: 16px; padding: 0 20px; }
  .website-deel { width: 46px; height: 46px; }
}
/* Deelnemers: zelfde lettertype als Overzicht */
.wie-kop h2, .wie-rij span, .wie-teller span { font-family: var(--font); }
.wie-kop h2 { font-weight: 900; }
.wie-rij span { font-weight: 800; }
.wie-teller span { font-weight: 900; }

/* 3.5.4: nieuwe veer, badge en sierlijn bij Deelnemers */
.wie-veer { width: clamp(30px, 4.2dvh, 38px); transform: none; }
.wie-badge { position: relative; flex: none; width: clamp(52px, 7.2dvh, 64px); aspect-ratio: 240 / 154; display: grid; place-items: center; }
.wie-badge img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.wie-badge span { position: relative; font-family: var(--font); font-weight: 900; font-size: clamp(15px, 2.2dvh, 19px); color: #fbe7bd; text-shadow: 0 1px 0 #b98a2c, 0 0 6px rgba(255, 210, 130, .5); line-height: 1; }
.wie-sierlijn { width: 78%; max-width: 280px; margin: 0 auto 2px; }

/* 3.5.5 */
.groep-link { color: var(--goud); text-decoration: none; gap: 6px; }
.groep-link small { color: rgba(255, 244, 223, .75); font-weight: 700; }
.beheer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.beheer-links a { color: rgba(255, 244, 223, .5); font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) {
  /* Bovenste deel precies zo hoog als de afbeelding: geen leeg vlak eronder */
  .website-hero { min-height: 0 !important; height: auto; aspect-ratio: 941 / 1672; padding-bottom: 0; }
  .website-hero + .scherm.landing { padding-top: 22px; }
  .website-hero + .scherm.landing > .landing-blok:first-child { margin-top: 0; }
}
.beheer-links a { color: rgba(255, 244, 223, .7); background: rgba(20, 8, 42, .6); padding: 2px 9px; border-radius: 999px; text-decoration: none; }
body.website-modus { background: #1d0f3f; }

/* 3.5.6: wie al in een groep zit, ziet alleen zijn groep */
.website-groepen { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.website-groepen .website-cta { width: min(100%, 420px); justify-content: space-between; }
.website-groepen .website-cta span { flex: 1; text-align: center; }
.website-groepen .website-cta small { font-weight: 700; opacity: .85; font-size: .8em; }
.scherm.landing.alleen-voet { padding-top: 8px; min-height: 0; }
.scherm.landing.alleen-voet .voet { margin-top: 8px; }

/* 3.5.7: afbeelding op mobiel begint onder de statusbalk */
@media (max-width: 700px) {
  .website-hero { aspect-ratio: auto; min-height: calc(env(safe-area-inset-top, 0px) + 100vw * 1.777) !important;
    background-color: #1d0f3f; background-position: center env(safe-area-inset-top, 0px) !important; background-size: 100% auto !important; background-repeat: no-repeat !important; }
}

/* Groep-kop in hetzelfde lettertype als de rest */
.groep2 .groep-banner h1 { font-family: var(--font); font-weight: 900; letter-spacing: 0; }
.groep2 .groep-banner p { font-family: var(--font); font-style: normal; font-weight: 600; }
.scherm.landing.alleen-voet .beheer-links { margin-top: 4px; }

/* ═══ 3.5.8: mobiel precies één scherm, hele afbeelding zichtbaar, inhoud in het midden ═══ */
.beheer-klein { color: rgba(255, 244, 223, .72); font-size: 12.5px; font-weight: 700; text-decoration: none; padding: 3px 12px; border-radius: 999px; background: rgba(20, 8, 42, .5); }
@media (max-width: 700px) {
  .website-hero {
    height: 100svh; min-height: 0 !important; aspect-ratio: auto;
    background: url('/assets/home/website-hero-mobiel.jpg') 0 0 / 100% 100% no-repeat, #1d0f3f !important;
    align-items: center !important; justify-content: center;
    padding: calc(env(safe-area-inset-top, 0px) + 8px) 16px 12px !important;
  }
  .website-hero::before { background: radial-gradient(ellipse 80% 40% at 50% 50%, rgba(20, 8, 46, .45), transparent 75%); }
  .website-hero-inhoud { gap: 12px; margin-top: 4vh; }
  .website-logo { width: min(60vw, 260px); margin-top: 0; }
  .website-groepen { gap: 8px; margin-top: 6px; }
  .website-groepen .website-cta { width: min(70%, 260px); min-height: 44px; font-size: 17px; padding: 0 18px; border-width: 1.5px; }
  .website-groepen .website-cta svg.i { width: 20px; height: 20px; }
  .website-cta { min-height: 44px; }
}
@media (max-width: 700px) {
  .website-groepen .website-cta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .website-groepen .website-cta:has(small) { width: min(86%, 320px); font-size: 15.5px; }
}

/* ═══ 3.5.9 ═══ */
@media (max-width: 700px) {
  /* Groepslink en familielid: vast op het zichtbare scherm, niets kan schuiven */
  html:has(body.een-scherm), body.een-scherm { height: 100%; min-height: 0; overflow: hidden; overscroll-behavior: none; }
  body.een-scherm .website-hero { position: fixed; inset: 0; height: auto; }
  /* Afbeelding begint onder de iPhone-balk en loopt tot de onderkant */
  .website-hero {
    background-position: 0 env(safe-area-inset-top, 0px) !important;
    background-size: 100% calc(100% - env(safe-area-inset-top, 0px)) !important;
    padding: calc(env(safe-area-inset-top, 0px) + 6px) 16px 0 !important;
    align-items: stretch !important;
  }
  .website-hero-inhoud { height: 100%; justify-content: flex-start; margin: 0 auto; }
  .website-logo { width: min(66vw, 290px); margin-top: 6svh; }
  .website-kop { margin-top: auto; }
  .website-hero-inhoud > :last-child { margin-bottom: 19svh; }
}
@media (min-width: 701px) {
  /* Pc: logo en tekst boven, tegels en knop omlaag naar het water */
  .website-hero { align-items: stretch !important; padding-bottom: 0; }
  .website-hero-inhoud { min-height: calc(100svh - max(2vh, 14px)); justify-content: flex-start; margin: 0 auto; }
  .website-tegels { margin-top: auto; }
  .website-hero-inhoud > :last-child { margin-bottom: 13vh; }
}
@media (max-width: 700px) { .website-logo { margin-top: 10svh; } }
@media (min-width: 701px) { .website-hero-inhoud > :last-child { margin-bottom: 25vh; } }
/* 3.5.10: afbeelding loopt tot de absolute onderkant, ook onder de zwevende Safari-balk */
@media (max-width: 700px) {
  html:has(body.een-scherm), body.een-scherm { background: linear-gradient(180deg, #1d0f3f 0%, #1d0f3f 60%, #330f11 100%) fixed, #330f11 !important; }
  body.een-scherm .website-hero { top: 0; left: 0; right: 0; bottom: auto; height: 100vh; height: 100lvh; }
  /* knoppen blijven boven de balk: gemeten vanaf het zichtbare deel */
  body.een-scherm .website-hero-inhoud > :last-child { margin-bottom: calc(19svh + 100lvh - 100svh); }
}

/* 3.5.11: WhatsApp-icoon met mijter */
.website-deel { background: none !important; border: 0 !important; box-shadow: none !important; width: 56px !important; height: 64px !important; border-radius: 0 !important; padding: 0 !important; }
.website-deel img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .45)); transition: transform .15s; }
.website-deel:hover img, .website-deel:active img { transform: scale(1.06); }
@media (max-width: 700px) { .website-deel { width: 48px !important; height: 56px !important; } }

/* ═══ 3.5.12: hele afbeelding binnen het zichtbare deel; Safari-balken in de kleuren van de afbeelding ═══ */
@media (max-width: 700px) {
  html:has(body.een-scherm), body.een-scherm { background: #3e1418 !important; }
  body.een-scherm .website-hero { top: 0 !important; bottom: 0 !important; left: 0; right: 0; height: auto !important; }
  body.een-scherm .website-hero-inhoud > :last-child { margin-bottom: 19svh !important; }
}
.balk-rand { position: fixed; left: 0; right: 0; height: 2px; z-index: 1; pointer-events: none; }
.balk-boven { top: 0; } .balk-onder { bottom: 0; }

/* ═══ 3.5.13: afbeelding als achtergrond van de hele pagina, over de volledige schermhoogte.
   Safari toont onder zijn balk de paginaachtergrond, dus de afbeelding loopt daar door tot de onderste rand. ═══ */
@media (max-width: 700px) {
  html.een-scherm {
    height: 100vh; height: 100lvh; overflow: hidden;
    background: url('/assets/home/website-hero-mobiel.jpg') 0 0 / 100% 100% no-repeat, #3e1418 !important;
  }
  html.een-scherm body { background: transparent !important; height: 100%; overflow: hidden; }
  html.een-scherm .website-hero { background: none !important; position: fixed; top: 0 !important; bottom: 0 !important; left: 0; right: 0; height: auto !important; }
  html.een-scherm .website-hero::before { display: none; }
}
@media (max-width: 700px) {
  html.een-scherm:has(body.een-scherm) {
    background: url('/assets/home/website-hero-mobiel.jpg') 0 0 / 100% 100% no-repeat, #3e1418 !important;
  }
  html.een-scherm body.een-scherm { background: transparent !important; }
}
/* ═══ 3.5.14: afbeelding als gewoon deel van de pagina, zo hoog als het volledige scherm
   (100lvh = inclusief het stuk onder de Safari-balk). Vaste (fixed) onderdelen houdt Safari altijd
   boven zijn balk; inhoud die in de pagina doorloopt laat Safari wél zien achter de balk. ═══ */
@media (max-width: 700px) {
  html.een-scherm, html.een-scherm:has(body.een-scherm) { height: auto !important; overflow: visible !important; background: #3e1418 !important; }
  html.een-scherm body, html.een-scherm body.een-scherm { height: auto !important; min-height: 0 !important; overflow: visible !important; background: #3e1418 !important; }
  html.een-scherm .website-hero {
    position: relative !important; top: auto !important; bottom: auto !important;
    height: 100vh !important; height: 100lvh !important;
    background: url('/assets/home/website-hero-mobiel.jpg') 0 0 / 100% 100% no-repeat, #3e1418 !important;
  }
  /* knoppen staan boven de balk, gemeten vanaf het zichtbare deel */
  html.een-scherm .website-hero-inhoud > :last-child { margin-bottom: calc(19svh + 100lvh - 100svh) !important; }
}

/* ═══ 3.5.15 ═══ */
@media (max-width: 700px) {
  /* Bovenbalk van Safari in de kleur van de lucht, niet bruin */
  html.een-scherm, html.een-scherm:has(body.een-scherm), html.een-scherm body, html.een-scherm body.een-scherm { background: #120440 !important; }
  /* Inhoud past precies binnen de afbeelding: de pagina kan niet verschuiven, vlag en boom blijven in beeld */
  html.een-scherm .website-hero { box-sizing: border-box; overflow: hidden; }
  html.een-scherm .website-hero-inhoud { height: 100%; box-sizing: border-box; padding-bottom: calc(100lvh - 100svh + 7svh); }
  html.een-scherm .website-hero-inhoud > :last-child { margin-bottom: 0 !important; }
  /* Logo, tekst en tegels in de lucht; Startknop lager, met de grachten ertussen zichtbaar */
  html.een-scherm .website-logo { margin-top: 7svh; }
  html.een-scherm .website-kop { margin-top: 4px; }
  html.een-scherm .website-groepen { margin-top: auto; }
}

/* ═══ 3.5.16: als app op het beginscherm loopt de afbeelding helemaal tot bovenaan, achter de statusbalk ═══ */
@media (max-width: 700px) and (display-mode: standalone) {
  html.een-scherm .website-hero { background-position: 0 0 !important; background-size: 100% 100% !important; }
}
@media (max-width: 700px) { html.een-scherm, html.een-scherm body { overscroll-behavior: none; touch-action: none; } html.een-scherm .website-hero a { touch-action: manipulation; } }
/* Startknop iets hoger, in het water */
@media (max-width: 700px) { html.een-scherm .website-hero-inhoud { padding-bottom: calc(100lvh - 100svh + 15svh) !important; } }

/* ═══ 3.7.0: persoonlijke links ═══ */
.link-uitleg { display: flex; align-items: center; gap: 10px; max-width: 330px; padding: 10px 16px; border-radius: 18px; text-align: left;
  background: rgba(20, 8, 42, .62); border: 1.5px solid rgba(246, 196, 106, .5); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.link-uitleg svg.i { width: 22px; height: 22px; color: var(--goud); flex: none; }
.link-uitleg strong { color: var(--goud); }
.welkom-piet { width: clamp(78px, 12svh, 104px); aspect-ratio: 1; margin: 2px auto -4px; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .45)); }
.welkom-piet img { width: 100%; height: 100%; object-fit: contain; }
.uitnodigingen .uitn-balk { height: 8px; border-radius: 999px; background: rgba(120, 90, 160, .18); overflow: hidden; }
.uitnodigingen .uitn-balk span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2fbf6a, #f4c66a); transition: width .4s; }
.uitn-lijst { display: flex; flex-direction: column; }
.uitn-rij { display: flex; align-items: center; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--rand-licht, rgba(120, 90, 160, .16)); }
.uitn-rij:last-child { border-bottom: 0; }
.uitn-piet { width: 44px; height: 44px; flex: none; object-fit: contain; }
.uitn-naam { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.uitn-naam strong { font-weight: 900; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uitn-status { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 999px; }
.uitn-status svg.i { width: 13px; height: 13px; }
.uitn-status.grijs { background: rgba(120, 110, 140, .14); color: #6b6280; }
.uitn-status.groen { background: rgba(47, 191, 106, .16); color: #1d8a4a; }
.uitn-status.goud { background: rgba(244, 198, 106, .25); color: #9a6a12; }
.uitn-acties { display: flex; align-items: center; gap: 4px; flex: none; }
.uitn-wa { width: 38px; height: 44px; display: grid; place-items: center; }
.uitn-wa img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .25)); }
.uitn-mini { display: flex; flex-wrap: wrap; gap: 6px; }
.uitn-mini img { width: 38px; height: 38px; object-fit: contain; }
.uitn-mini img.nog-niet { filter: grayscale(1); opacity: .45; }

/* ═══ 3.8.0: trekscherm volgens de mock ═══ */
.trek-scherm { position: fixed; inset: 0; z-index: 40; overflow: hidden; display: flex; flex-direction: column; align-items: center;
  background:
    radial-gradient(ellipse 70% 32% at 50% 30%, rgba(130, 60, 170, .42), transparent 72%),
    linear-gradient(180deg, #1f0f3b 0%, #1d103a 30%, #22123f 48%, #2a154c 60%, #4a2372 72%, #3a1a5e 100%); }
.trek-scherm::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background-image: radial-gradient(1.4px 1.4px at 12% 8%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 78% 12%, #ffe9b0 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 34% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 88% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 8% 40%, #ffe9b0 50%, transparent 51%), radial-gradient(1px 1px at 62% 6%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 93% 52%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 20% 58%, #fff 50%, transparent 51%); }
.trek-inhoud { position: relative; z-index: 2; width: 100%; max-width: 520px; padding: calc(env(safe-area-inset-top, 0px) + 5svh) 22px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.trek-kist-vak { position: relative; height: min(38svh, 340px); aspect-ratio: 428 / 620; display: grid; place-items: center; }
.trek-gloed2 { position: absolute; inset: 8% -40% -6%; border-radius: 50%; background: radial-gradient(circle at 50% 55%, rgba(255, 205, 110, .55), rgba(255, 160, 60, .18) 38%, transparent 68%); animation: trek-puls 1.8s ease-in-out infinite; }
.trek-kist { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .45)) drop-shadow(0 0 22px rgba(255, 196, 90, .35)); animation: trek-zweef 2.6s ease-in-out infinite; }
.trek-spoor { position: absolute; z-index: 1; width: 175%; left: -37.5%; top: 18%; overflow: visible; pointer-events: none; }
.trek-spoor ellipse { fill: none; stroke: #ffd27a; stroke-linecap: round; filter: url(#tg); }
.trek-spoor .spoor1 { stroke-width: 3.2; stroke-dasharray: 1 9; animation: trek-spoor 6s linear infinite; }
.trek-spoor .spoor2 { stroke-width: 2.2; stroke-dasharray: 1 12; opacity: .75; animation: trek-spoor 9s linear infinite reverse; }
.trek-ster { position: absolute; z-index: 3; color: #ffe39a; text-shadow: 0 0 10px rgba(255, 220, 140, .95); font-size: 16px; animation: trek-twinkel 1.6s ease-in-out infinite; }
.trek-ster.s1 { top: 4%; left: -18%; font-size: 20px; } .trek-ster.s2 { top: 12%; right: -22%; animation-delay: .5s; }
.trek-ster.s3 { bottom: 26%; left: -26%; font-size: 12px; animation-delay: .9s; } .trek-ster.s4 { bottom: 18%; right: -16%; font-size: 14px; animation-delay: 1.2s; }
.trek-titel { margin: clamp(10px, 2.4svh, 22px) 0 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: clamp(30px, 9vw, 44px); line-height: 1.12; letter-spacing: .005em;
  background: linear-gradient(180deg, #fff4c8 0%, #f6d27a 48%, #e2a63c 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(90, 40, 10, .35)) drop-shadow(0 0 14px rgba(255, 200, 100, .35)); text-wrap: balance; }
.trek-sierlijn { width: min(64vw, 300px); height: auto; margin: clamp(8px, 1.8svh, 16px) 0 0; filter: drop-shadow(0 0 6px rgba(255, 200, 100, .4)); }
.trek-sub { margin: clamp(10px, 2svh, 18px) 0 0; color: #fff4df; font-size: clamp(15px, 4.2vw, 18px); font-weight: 600; text-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.trek-punten { display: flex; gap: 12px; margin-top: clamp(14px, 3svh, 26px); }
.trek-punten span { width: 11px; height: 11px; border-radius: 50%; background: #f6cf78; box-shadow: 0 0 10px rgba(255, 205, 110, .8); animation: trek-punt 1.2s ease-in-out infinite; }
.trek-punten span:nth-child(2) { animation-delay: .2s; } .trek-punten span:nth-child(3) { animation-delay: .4s; }
.trek-stad { position: absolute; z-index: 1; left: 0; bottom: 0; width: 100%; height: auto; max-height: 40svh; object-fit: cover; object-position: top center; pointer-events: none; }
.trek-scherm.klaar .trek-kist { animation: trek-open .65s ease-in forwards; }
.trek-scherm.klaar .trek-gloed2 { animation: trek-flits .65s ease-in forwards; }
@keyframes trek-zweef { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-8px) rotate(.6deg); } }
@keyframes trek-puls { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes trek-spoor { to { stroke-dashoffset: -400; } }
@keyframes trek-twinkel { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes trek-punt { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes trek-open { to { transform: translateY(-14px) scale(1.18); filter: drop-shadow(0 0 60px rgba(255, 220, 140, 1)) brightness(1.4); opacity: 0; } }
@keyframes trek-flits { to { opacity: 1; transform: scale(2.2); } }
@media (prefers-reduced-motion: reduce) { .trek-scherm *, .trek-scherm *::before { animation: none !important; } }

.trek-titel { font-size: clamp(31px, 9.4vw, 46px); text-wrap: initial; -webkit-text-stroke: .7px #f1c25c; line-height: 1.1; }
.trek-gloed2 { inset: -2% -55% -10%; background: radial-gradient(circle at 50% 52%, rgba(255, 214, 120, .75), rgba(255, 170, 70, .3) 34%, rgba(200, 90, 160, .12) 52%, transparent 70%); }
.trek-kist { filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .45)) drop-shadow(0 0 34px rgba(255, 200, 100, .55)); }
.trek-stad { height: clamp(240px, 35svh, 360px); max-height: none; object-fit: cover; object-position: top center; }

/* ═══════════ 3.9.0: beheer volgens de mock ═══════════ */
.beheer2 { --crème: #fdf6e8; --crème2: #f7ead2; --goudrand: #e9c27a; --inkt2: #2a1640; }
/* Zijbalk */
.beheer2 .zijbalk { padding: 18px 14px 0; gap: 6px; overflow: hidden; background: linear-gradient(180deg, #2a1250 0%, #22103f 55%, #1d0d36 100%); border-right: 1px solid rgba(233, 194, 122, .18); }
.zijbalk-logo { display: block; padding: 0 6px; }
.zijbalk-logo img { width: 100%; height: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45)); }
.beheerder-pil { align-self: center; display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 18px; padding: 7px 22px; border-radius: 999px; font-weight: 800; color: #fff4df;
  background: rgba(20, 8, 42, .55); border: 1.5px solid rgba(233, 194, 122, .6); }
.beheerder-pil svg.i { color: var(--goud); fill: rgba(244, 198, 106, .9); width: 18px; height: 18px; }
.zijbalk-nav { display: flex; flex-direction: column; gap: 6px; }
.beheer2 .nav-item { font-size: 16px; padding: 12px 16px; border-radius: 16px; }
.beheer2 .nav-item svg.i { color: var(--goud); width: 24px; height: 24px; }
.beheer2 .nav-item.actief { background: linear-gradient(90deg, #d2307a, #9a2aa8); border-color: rgba(255, 170, 220, .55); box-shadow: 0 8px 20px rgba(160, 30, 110, .4); }
.beheer2 .nav-item.actief svg.i { color: #fff; }
.beheer2 .zijbalk .onder { border-top: 1px solid rgba(233, 194, 122, .25); padding-top: 12px; margin-bottom: 8px; position: relative; z-index: 2; }
.knop-reset { background: none; cursor: pointer; width: 100%; font: inherit; font-weight: 800; text-align: left; }
.zijbalk-deco { width: 82%; align-self: flex-start; margin: 0 0 -8px -6px; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .4)); }
/* Kop */
.beheer2 .banner2 { min-height: 150px; padding: 26px 32px 18px; background: url('/assets/home/banner-paard-v4.webp') right top / auto 100% no-repeat; }
.beheer2 .banner2::before { background: linear-gradient(90deg, rgba(28, 14, 58, 1) 0%, rgba(28, 14, 58, .85) 40%, rgba(28, 14, 58, .1) 80%), linear-gradient(0deg, rgba(36, 21, 68, 1) 0%, rgba(36, 21, 68, 0) 45%); }
.beheer2 .banner2 h1 { font-size: 40px; letter-spacing: -.01em; }
.beheer2 .banner2 p { display: flex; align-items: center; gap: 8px; color: #fff4df; font-size: 18px; }
.beheer2 .banner2 p svg.i { color: var(--goud); width: 22px; height: 22px; }
.beheer2 .beheer-inhoud { max-width: 1180px; }
/* Deelnemers: twee kolommen */
.dn-raster { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.dn-zij { display: flex; flex-direction: column; gap: 20px; }
.dn-kaart { background: linear-gradient(180deg, var(--crème) 0%, var(--crème2) 100%); color: var(--inkt2); border: 2px solid var(--goudrand); border-radius: 26px; padding: 18px 20px;
  box-shadow: 0 0 0 4px rgba(233, 194, 122, .14), 0 18px 40px rgba(0, 0, 0, .35); color-scheme: light; }
.dn-kop { display: flex; align-items: center; gap: 12px; }
.dn-kop h2 { margin: 0; flex: 1; font-size: 23px; font-weight: 900; color: var(--inkt2); }
.dn-kop.klein h2 { font-size: 18px; }
.dn-kop-icoon { width: 34px !important; height: 34px !important; color: #e0a63a; stroke-width: 1.8; }
.dn-kop.klein .dn-kop-icoon { width: 28px !important; height: 28px !important; }
.dn-teller { padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 800; color: #fff; background: linear-gradient(180deg, #7a2a8f, #561a72); border: 1.5px solid #c75aa0; white-space: nowrap; }
.dn-balk { height: 12px; margin: 14px 0 10px; border-radius: 999px; background: #efe3cd; border: 1px solid #e4d3b2; overflow: hidden; }
.dn-balk span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2db04f, #4bd35d); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); transition: width .4s; }
.dn-info { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: #4b3d5e; line-height: 1.4; }
.dn-info svg.i { width: 20px; height: 20px; flex: none; color: #8a7a6a; }
.dn-info.klein { font-size: 13px; }
.dn-lijst { margin-top: 6px; }
.dn-rij { display: grid; grid-template-columns: minmax(0, 1fr) 170px auto; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid #ead9bd; }
.dn-persoon { display: flex; align-items: center; gap: 14px; min-width: 0; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; text-align: left; }
.dn-persoon img { width: 46px; height: 46px; flex: none; object-fit: contain; filter: drop-shadow(0 3px 5px rgba(60, 20, 80, .25)); }
.dn-persoon strong { font-size: 18px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dn-persoon:hover strong { text-decoration: underline; text-decoration-color: rgba(42, 22, 64, .3); }
.pil-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.pil-status svg.i { width: 14px; height: 14px; }
.pil-status.groen { background: linear-gradient(180deg, #35b552, #239a40); color: #fff; }
.pil-status.grijs { background: #efe7da; color: #5d5468; border: 1px solid #ddd0bd; }
.pil-status.goud { background: linear-gradient(180deg, #ffd56f, #f3b93c); color: #5a3a06; }
.dn-acties { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.dn-wa { width: 40px; height: 46px; display: grid; place-items: center; margin-right: 6px; }
.dn-wa img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .25)); transition: transform .15s; }
.dn-wa:hover img { transform: scale(1.08); }
.dn-knop { width: 44px; height: 34px; display: grid; place-items: center; border-radius: 12px; cursor: pointer; color: #b07a1c; background: #fff8ea; border: 1.5px solid #e6c07a; box-shadow: 0 2px 0 #e9d3a6; }
.dn-knop svg.i { width: 18px; height: 18px; }
.dn-knop:hover { background: #fff1d2; }
.dn-allen { width: 100%; margin-top: 14px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font: 800 18px var(--font); color: var(--inkt2);
  background: #fff8ea; border: 2px solid var(--goudrand); border-radius: 18px; box-shadow: 0 3px 0 #e2c58a; }
.dn-allen svg.i { color: #b07a1c; }
.dn-leeg { margin: 14px 0 4px; font-weight: 700; color: #6b6280; }
.dn-namen { min-height: 110px; background: #fffdf8; color: var(--inkt2); border: 1.5px solid #e6d6b8; border-radius: 16px; }
.dn-geslacht { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dn-geslacht input { position: absolute; opacity: 0; pointer-events: none; }
.dn-geslacht span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 16px; cursor: pointer; font-weight: 800; font-size: 17px; color: var(--inkt2); background: #fffdf8; border: 1.5px solid #e6d6b8; }
.dn-geslacht input:checked + span { background: linear-gradient(180deg, #ffd56f, #f3b93c); border-color: #d9a13c; color: #3a2406; box-shadow: 0 3px 0 #d39a33; }
.dn-geslacht input:focus-visible + span { outline: 3px solid #8d3fbf; outline-offset: 2px; }
.dn-voeg { min-height: 52px; font-size: 18px; }
.dn-wa-klein { width: 30px; height: 34px; object-fit: contain; }
.wa-ballon { position: relative; margin-top: 12px; padding: 14px 16px 26px; border-radius: 18px; background: #dcf8c6; color: #10231a; font-size: 15px; line-height: 1.45; font-weight: 600; box-shadow: 0 2px 0 #bfe3a6; }
.wa-link { color: #1b5fc1; text-decoration: underline; word-break: break-all; }
.wa-tijd { position: absolute; right: 12px; bottom: 6px; font-size: 12px; color: #4a6b55; }
.wa-vink { color: #34b7f1; font-weight: 900; letter-spacing: -2px; }
.alleen-mobiel { display: none !important; }
.menu-achter { display: none; }
/* Keuzemenu per deelnemer */
.dialoog-knoppen:has(.menu-keuze) { flex-direction: column !important; }
.dialoog-knoppen .menu-keuze { width: 100% !important; justify-content: center; }
.dialoog-knoppen .menu-keuze.gevaar { color: #c4213f; }
@media (max-width: 1100px) { .dn-raster { grid-template-columns: minmax(0, 1fr) 270px; } .dn-rij { grid-template-columns: minmax(0, 1fr) 150px auto; } }
/* Telefoon */
@media (max-width: 820px) {
  .beheer2 .mobiel-kop { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: calc(var(--veilig-boven) + 8px) 14px 0; }
  .mobiel-logo { width: 130px !important; height: auto; justify-self: center; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45)); }
  .icoonknop.licht { color: #fff4df; width: 44px; height: 44px; }
  .icoonknop.licht svg.i { width: 26px; height: 26px; }
  .bel-knop { justify-self: end; display: grid; place-items: center; }
  .beheer2 .banner2 { min-height: 0; padding: 4px 18px 12px; text-align: center; align-items: center; background: none; }
  .beheer2 .banner2 h1 { font-size: 30px; }
  .beheer2 .banner2 p { font-size: 15px; justify-content: center; }
  .dn-raster { grid-template-columns: 1fr; gap: 14px; }
  .dn-kaart { padding: 14px 12px; border-radius: 22px; }
  .dn-uitn .dn-kop h2, .dn-uitn .dn-info { display: none; }
  .dn-uitn .dn-kop { justify-content: center; }
  .dn-uitn .dn-kop .dn-kop-icoon { display: none; }
  .dn-balk { margin: 10px 4px 6px; }
  .dn-rij { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'persoon acties' 'status acties'; row-gap: 0; padding: 8px 2px; }
  .dn-persoon { grid-area: persoon; }
  .dn-status { grid-area: status; padding-left: 60px; margin-top: -14px; }
  .dn-acties { grid-area: acties; }
  .dn-persoon img { width: 50px; height: 50px; }
  .dn-persoon strong { font-size: 17px; align-self: flex-start; margin-top: 4px; }
  .alleen-pc { display: none !important; }
  .alleen-mobiel { display: inline-flex !important; }
  .dn-knop.alleen-mobiel { display: grid !important; width: 40px; height: 32px; border-radius: 999px; }
  .dn-plus { width: 100%; margin-top: 12px; min-height: 52px; align-items: center; justify-content: center; gap: 8px; cursor: pointer; border: 2px solid #f6c46a; border-radius: 18px; color: #fff;
    font: 900 18px var(--font); background: linear-gradient(180deg, #e0386d, #b81f55); box-shadow: 0 6px 16px rgba(184, 31, 85, .4); }
  .dn-toevoegen { display: none; }
  .dn-toevoegen.open { display: block; }
  /* Menu als uitschuifpaneel */
  .beheer2 .zijbalk { display: flex; position: fixed; z-index: 60; top: 0; left: 0; bottom: 0; width: min(80vw, 290px); height: 100dvh; padding-top: calc(var(--veilig-boven) + 16px);
    transform: translateX(-105%); transition: transform .25s ease; }
  .beheer2.menu-open .zijbalk { transform: none; box-shadow: 12px 0 40px rgba(0, 0, 0, .5); }
  .beheer2.menu-open .menu-achter { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(10, 4, 24, .55); }
  .beheer2 .beheer-tabbar .tab svg.i { width: 24px; height: 24px; }
  .beheer2 .beheer-tabbar .tab.actief { background: linear-gradient(180deg, #d2307a, #9a2aa8); border-radius: 16px; color: #fff; }
  .beheer2 .beheer-tabbar .tab.actief::after { display: none; }
  .beheer2 .beheer-tabbar .tab span { font-size: 11px; }
}
/* Status direct naast de naam, zoals de mock; iets grotere menubalk */
.dn-rij { grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) auto; }
.dn-status { justify-self: start; }
.beheer2 .nav-item { font-size: 17px; }
.beheer2 .nav-item svg.i { width: 26px; height: 26px; }
@media (max-width: 1100px) { .dn-rij { grid-template-columns: minmax(130px, 190px) minmax(0, 1fr) auto; } }
@media (max-width: 820px) {
  .dn-rij { grid-template-columns: minmax(0, 1fr) auto; padding: 5px 2px; }
  .dn-persoon { gap: 12px; }
  .dn-persoon img { width: 46px; height: 46px; }
  .dn-persoon strong { margin-top: 1px; }
  .dn-status { padding-left: 58px; margin-top: -22px; }
  .dn-status .pil-status { font-size: 12px; padding: 2px 9px; }
  .dn-wa { width: 36px; height: 42px; margin-right: 2px; }
}

/* ═══ 3.11.0: de kist gaat echt open ═══ */
.trek-kist { position: relative; display: block; }
.kist-lagen { position: absolute; inset: 0; }
.kist-laag { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
/* Lagen uit dezelfde afbeelding: deksel boven de schuine rand, envelop in het midden, voorkant van de kist onder */
.kist-deksel { z-index: 3; clip-path: polygon(0 0, 100% 0, 100% 39%, 0 33.5%); transform-origin: 18% 36%; }
.kist-env { z-index: 1; clip-path: polygon(0 32%, 100% 37.5%, 100% 61%, 0 61%); }
.kist-voor { z-index: 2; clip-path: inset(54% 0 0 0); }
.kist-flits { position: absolute; z-index: 2; left: 10%; right: 10%; top: 30%; height: 34%; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse at 50% 70%, rgba(255, 246, 210, 1), rgba(255, 210, 110, .75) 35%, rgba(255, 170, 60, 0) 72%); }
/* Dicht: deksel op de kist, envelop verstopt, kist schudt */
.kist-lagen.dicht .kist-deksel { transform: translateY(19.5%); }
.kist-lagen.dicht .kist-env { transform: translateY(16%); opacity: 0; }
.kist-lagen.dicht { animation: kist-schud 1.1s ease-in-out .3s 2; }
/* Open: deksel springt omhoog en kantelt terug, lichtflits, daarna komt de envelop omhoog */
.kist-lagen.open .kist-deksel { animation: deksel-open .75s cubic-bezier(.2, .9, .3, 1.25) both; }
.kist-lagen.open .kist-flits { animation: kist-flits-aan 1.4s ease-out both; }
.kist-lagen .kist-env { transition: transform .9s cubic-bezier(.2, .8, .3, 1.15), opacity .5s ease-out; }
.kist-lagen.open:not(.envelop) .kist-env { transform: translateY(16%); opacity: 0; }
.kist-lagen.envelop .kist-env { transform: translateY(0); opacity: 1; }
@keyframes kist-schud {
  0%, 100% { transform: rotate(0); } 15% { transform: rotate(-4deg) translateY(-2px); } 30% { transform: rotate(3.5deg); }
  45% { transform: rotate(-3deg) translateY(-3px); } 60% { transform: rotate(2.5deg); } 75% { transform: rotate(-1.5deg); }
}
@keyframes deksel-open {
  0% { transform: translateY(19.5%) rotate(0); }
  45% { transform: translateY(-9%) rotate(-9deg); }
  75% { transform: translateY(2%) rotate(2deg); }
  100% { transform: translateY(0) rotate(0); }
}
@keyframes kist-flits-aan { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(1.25); } 100% { opacity: .55; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .kist-lagen .kist-deksel, .kist-lagen .kist-env { transform: none !important; opacity: 1 !important; animation: none !important; transition: none !important; }
}
.kist-voor { clip-path: polygon(0 57%, 50% 55.5%, 100% 57%, 100% 100%, 0 100%); }

/* 3.11.1: eerst de echte dichte kist; bij het openen wisselt hij met de lichtflits naar de open kist */
.kist-dicht { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transition: opacity .22s ease-out; }
.kist-lagen.dicht .kist-laag { opacity: 0; }
.kist-lagen.open .kist-dicht { opacity: 0; }
.kist-lagen.open .kist-flits { z-index: 5; }
@media (prefers-reduced-motion: reduce) { .kist-dicht { display: none; } .kist-lagen .kist-laag { opacity: 1 !important; } }
/* 3.11.2: Home en Groep krijgen dezelfde grachten onderaan als Ontdekken en Mijn wensen */
body.home-modus .skyline { display: block !important; }
body.home-modus .home-skyline { display: none !important; }
body.home-modus { background: var(--achtergrond, linear-gradient(180deg, #1c0e3d 0%, #26124b 55%, #2d1552 100%)) fixed; }

/* ═══ 3.12.0: Piet als profielfoto, vier soorten Pieten ═══ */
.piet-foto { padding: 0 !important; overflow: hidden; background: none !important; border: 0 !important; box-shadow: 0 8px 20px rgba(0, 0, 0, .35) !important; }
.piet-foto img { width: 100%; height: 100%; object-fit: contain; display: block; }
.home-welkom .piet-foto { border-radius: 50%; }
.lot-avatar.piet-foto { border-radius: 50%; }
.dn-geslacht.vier { grid-template-columns: 1fr 1fr; }
.dn-geslacht.vier span { justify-content: flex-start; gap: 8px; padding: 0 10px; min-height: 50px; font-size: 16px; }
.dn-geslacht.vier span img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.dialoog .dn-geslacht.vier span { color: var(--inkt, #2a1640); }
.dn-voeg { white-space: nowrap; font-size: 16.5px; padding: 0 12px; }
