/* =========================================================================
   Briljante Bouwers Bokaal — carnavalsavond-stijl
   Nachtpaars + de kleuren uit de logo's (geel, oranje, blauw, rood)
   ========================================================================= */
:root {
  --night: #12082e;
  --night-2: #1f0e52;
  --violet: #3a1f99;
  --indigo: #2b1d7c;
  --yellow: #ffc928;
  --gold: #ffb300;
  --orange: #ff7417;
  --red: #ec2f35;
  --blue: #1d6dff;
  --pink: #ff3d8e;
  --ink: #1d1146;
  --ink-2: #3c2f7a;
  --muted: #6e6793;
  --paper: #fdf9f1;
  --card: #ffffff;
  --line: #ebe5fa;
  --ok: #138a4a; --ok-bg: #e4f7ec;
  --err: #c4202a; --err-bg: #fdeaea;
  --info-bg: #ece8ff;
  --r: 22px;
  --r-sm: 14px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow: 0 10px 30px -12px rgba(43, 29, 124, .25);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); color: var(--ink); line-height: 1.55;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle, rgba(255, 201, 40, .35) 2px, transparent 2.5px),
    radial-gradient(circle, rgba(29, 109, 255, .18) 2px, transparent 2.5px),
    radial-gradient(circle, rgba(255, 61, 142, .18) 2px, transparent 2.5px);
  background-size: 140px 140px, 190px 190px, 230px 230px;
  background-position: 0 0, 60px 90px, 120px 30px;
}
img { max-width: 100%; }
a { color: var(--violet); font-weight: 600; }
h1, h2, h3, h4 { font-weight: 900; letter-spacing: -.01em; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .5rem; }
h2 { font-size: 1.35rem; margin: 1.6rem 0 .7rem; }
h2:first-child, h1 + h2 { margin-top: 0; }
h3 { font-size: 1.08rem; margin: 1.3rem 0 .5rem; }
h4 { font-size: .98rem; margin: 1.1rem 0 .25rem; }
code { background: var(--info-bg); color: var(--ink-2); padding: 1px 6px; border-radius: 6px; font-size: .85em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 26px; padding-bottom: 40px; }

/* ---------- kopbalk (binnenpagina's) ---------- */
.top {
  background: linear-gradient(120deg, var(--night) 0%, var(--night-2) 55%, var(--violet) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.top::after { /* confettiregen in de balk */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background:
    radial-gradient(4px 4px at 12% 30%, var(--yellow) 50%, transparent 51%),
    radial-gradient(3px 3px at 28% 70%, var(--pink) 50%, transparent 51%),
    radial-gradient(4px 4px at 46% 22%, var(--blue) 50%, transparent 51%),
    radial-gradient(3px 3px at 63% 78%, var(--orange) 50%, transparent 51%),
    radial-gradient(4px 4px at 81% 35%, var(--yellow) 50%, transparent 51%),
    radial-gradient(3px 3px at 93% 72%, var(--pink) 50%, transparent 51%);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 10px; padding-bottom: 10px; position: relative; z-index: 1; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { height: 54px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); transition: transform .25s; }
.brand:hover img { transform: rotate(-3deg) scale(1.04); }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand small { color: var(--yellow); font-weight: 800; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.brand span { font-weight: 900; font-size: 1.05rem; }
.who { background: rgba(255,255,255,.12); color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: .88rem; white-space: nowrap; }

/* ---------- voet ---------- */
.foot { text-align: center; color: var(--muted); font-size: .85rem; padding: 18px 16px 34px; }
.foot img { height: 46px; display: block; margin: 0 auto 8px; opacity: .95; }

/* ---------- kaarten & layout ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow); }
.narrow { max-width: 700px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.help { display: block; color: var(--muted); font-size: .83rem; margin-top: 5px; }
.pre { white-space: pre-wrap; }
.lead { font-size: 1.08rem; }
.kicker { color: var(--orange); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 0 0 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.stat { display: flex; flex-direction: column; margin-bottom: 0; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--yellow); }
.grid4 .stat:nth-child(2)::before { background: var(--orange); }
.grid4 .stat:nth-child(3)::before { background: var(--blue); }
.grid4 .stat:nth-child(4)::before { background: var(--pink); }
.stat-label { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.stat strong { font-size: 1.6rem; font-weight: 900; }
.stat small { color: var(--muted); }

.steps { padding-left: 1.2rem; } .steps li { margin: .5rem 0; }
.plain { list-style: none; padding: 0; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li, .tag { background: #fff1c9; color: #7a4a00; border-radius: 999px; padding: 3px 11px; font-size: .8rem; font-weight: 700; display: inline-block; }
.checks { list-style: none; padding: 0; margin: 8px 0; }
.checks li { padding-left: 30px; position: relative; margin: 8px 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 900; font-size: .75rem; display: grid; place-items: center; }

/* ---------- formulieren ---------- */
.label { display: block; font-weight: 800; font-size: .93rem; margin: 16px 0 6px; }
.label em { color: var(--red); font-style: normal; }
input, textarea, select {
  width: 100%; border: 2px solid #ddd5f3; border-radius: 12px; padding: 11px 13px;
  font: inherit; color: inherit; background: #fff; transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(58, 31, 153, .14); }
textarea { min-height: 100px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset:disabled { opacity: .65; }
.field { margin-bottom: 4px; }
.has-error input, .has-error textarea, .has-error select { border-color: var(--red); }
.error { display: block; color: var(--err); font-size: .86rem; font-weight: 700; margin-top: 5px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: flex; align-items: center; gap: 9px; cursor: pointer; font-weight: 600; }
.choices .choice { border: 2px solid #ddd5f3; border-radius: 12px; padding: 9px 14px; background: #fff; }
.choices .choice:has(input:checked) { border-color: var(--violet); background: var(--info-bg); }
.choice input { width: 18px; height: 18px; accent-color: var(--violet); }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 900;
  background: linear-gradient(180deg, var(--yellow), var(--gold)); color: var(--ink);
  padding: 12px 22px; border-radius: 999px; margin-top: 16px;
  box-shadow: 0 4px 0 #c97800, 0 10px 20px -8px rgba(201, 120, 0, .6);
  transition: transform .12s, box-shadow .12s, filter .12s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #c97800, 0 14px 24px -8px rgba(201, 120, 0, .6); filter: saturate(1.1); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #c97800; }
.btn-big { padding: 16px 30px; font-size: 1.1rem; }
.btn-small { padding: 7px 14px; font-size: .86rem; margin-top: 0; box-shadow: 0 3px 0 #c97800; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: 0 4px 0 #d9d1f2; border: 2px solid #e4ddf7; }
.btn-ghost:hover { box-shadow: 0 6px 0 #d9d1f2; }
.btn-ghost.btn-small { box-shadow: 0 3px 0 #d9d1f2; }
.btn-danger { background: #fff; color: var(--err); border: 2px solid #f5c3c5; box-shadow: 0 3px 0 #f5c3c5; }
.btn-hot { background: linear-gradient(180deg, #ff9442, var(--orange)); color: #fff; box-shadow: 0 4px 0 #b84500, 0 12px 24px -8px rgba(255, 116, 23, .7); }
.btn-hot:hover { box-shadow: 0 6px 0 #b84500, 0 16px 28px -8px rgba(255, 116, 23, .7); }
.diary-head .btn, .inline .btn, .linkbox .btn { margin-top: 0; }
.linkbtn { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; font-weight: 700; padding: 0; text-decoration: underline; }
.btnrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.btnrow form { margin: 0; }
.inline { display: flex; gap: 8px; align-items: center; } .inline .btn { white-space: nowrap; }

/* ---------- meldingen ---------- */
.flash { padding: 13px 16px; border-radius: var(--r-sm); margin-bottom: 16px; font-weight: 700; }
.flash-ok { background: var(--ok-bg); color: var(--ok); }
.flash-error { background: var(--err-bg); color: var(--err); }
.flash-info { background: var(--info-bg); color: var(--ink-2); }
.badge { display: inline-block; border-radius: 999px; padding: 5px 14px; font-weight: 800; font-size: .85rem; }
.badge-closed { background: var(--err-bg); color: var(--err); }

.linkbox { background: #fff7dc; border: 2px dashed var(--gold); padding: 16px; border-radius: var(--r-sm); margin: 16px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.linkbox p { margin: 0 0 6px; flex-basis: 100%; }
.linkbox input { flex: 1; min-width: 200px; font-family: ui-monospace, monospace; font-size: .85rem; }

/* ---------- dagboek ---------- */
.diary-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.diary-head h1, .diary-head h2 { margin: 0; }
.shell { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 7px; position: sticky; top: 14px; }
.tabs a { padding: 12px 14px; border-radius: 14px; background: #fff; border: 2px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 800; font-size: .93rem; transition: transform .12s, border-color .12s; }
.tabs a:hover { border-color: #cfc3f5; transform: translateX(3px); }
.tabs a.active { background: linear-gradient(120deg, var(--violet), var(--indigo)); color: #fff; border-color: transparent; box-shadow: 0 6px 16px -6px rgba(58, 31, 153, .6); }
.upload { display: block; border: 2px dashed #cfc3f5; background: #faf8ff; padding: 18px; border-radius: var(--r-sm); margin-top: 18px; cursor: pointer; transition: border-color .15s, background .15s; }
.upload:hover { border-color: var(--violet); background: var(--info-bg); }
.upload span { font-weight: 900; display: block; margin-bottom: 6px; }
.upload input { border: 0; padding: 0; background: transparent; }
.photos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.photos figure { margin: 0; position: relative; }
.photos img { width: 124px; height: 98px; object-fit: cover; border-radius: 12px; display: block; background: var(--line); transition: transform .15s; }
.photos a:hover img { transform: scale(1.04) rotate(-1deg); }
.photos form { position: absolute; top: 5px; right: 5px; margin: 0; }
.x { width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(18, 8, 46, .75); color: #fff; cursor: pointer; font-size: 16px; line-height: 1; }
.member { border: 2px solid var(--line); border-radius: 16px; padding: 14px; margin-bottom: 12px; background: #fff; }
.member-top { display: grid; grid-template-columns: 1fr 110px; gap: 8px; margin-bottom: 10px; }
.member > input { margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 2px solid #ddd5f3; cursor: pointer; font-size: .88rem; font-weight: 700; user-select: none; transition: all .12s; }
.chip span:hover { border-color: var(--violet); }
.chip input:checked + span { background: var(--violet); color: #fff; border-color: var(--violet); }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); }
.newentry { background: linear-gradient(135deg, #fff9e6, #fff); border: 2px solid #ffe39a; border-radius: var(--r); padding: 18px; margin-bottom: 18px; }
.newentry h3 { margin-top: 0; }
.entry { border: 2px solid var(--line); border-radius: 16px; padding: 16px; margin: 12px 0; background: #fff; }
.entry header { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.entry p { margin: .4rem 0; }
.entry-actions { display: flex; gap: 8px; margin-top: 12px; }
.entry-actions form { margin: 0; }
.entry-edit { margin-top: 12px; }
.entry-edit > summary { list-style: none; display: inline-flex; cursor: pointer; }
.entry-edit > summary::-webkit-details-marker { display: none; }
.entry-edit[open] > summary { margin-bottom: 10px; }
.entry-edit > form { border-top: 2px dashed var(--line); padding-top: 12px; }
.card-wrap { display: flex; flex-direction: column; gap: 6px; }
.card-wrap .card-link { align-self: flex-start; font-size: .85rem; font-weight: 700; margin-left: 6px; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 5px 0 5px 32px; position: relative; color: var(--muted); font-weight: 700; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 6px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #ddd5f3; }
.checklist li.ok { color: var(--ink); }
.checklist li.ok::before { content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff; display: grid; place-items: center; font-size: .75rem; }
.data { display: grid; grid-template-columns: max-content 1fr; gap: 7px 20px; margin: 0; }
.data dt { color: var(--muted); font-weight: 700; } .data dd { margin: 0; }

/* ---------- jury ---------- */
.search { margin-bottom: 10px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.card { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; text-decoration: none; color: var(--ink); transition: transform .12s, border-color .12s; }
.card:hover { transform: translateY(-2px); border-color: #cfc3f5; }
.card-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.card-body small { color: var(--muted); }
.card-done { border-color: #a8e2c1; background: var(--ok-bg); }
.state { font-size: 1.4rem; color: var(--muted); font-weight: 900; } .card-done .state { color: var(--ok); }
.nr { display: inline-flex; min-width: 42px; height: 42px; padding: 0 8px; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(135deg, var(--violet), var(--indigo)); color: var(--yellow); font-weight: 900; }
h1 .nr { vertical-align: middle; font-size: 1.1rem; }
.kpi { border-bottom: 2px dashed var(--line); padding: 16px 0; }
.kpi-head { display: flex; flex-direction: column; margin-bottom: 10px; }
.kpi-head small { color: var(--muted); }
.scale { display: flex; gap: 6px; flex-wrap: wrap; }
.scale label { flex: 1; min-width: 44px; }
.scale input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.scale span { display: block; text-align: center; padding: 13px 0; border: 2px solid #ddd5f3; border-radius: 14px; font-weight: 900; font-size: 1.15rem; cursor: pointer; user-select: none; background: #fff; transition: all .12s; }
.scale span:hover { border-color: var(--violet); }
.scale input:checked + span { background: linear-gradient(180deg, var(--yellow), var(--gold)); border-color: var(--gold); box-shadow: 0 3px 0 #c97800; transform: translateY(-2px); }
.scale input:focus-visible + span { outline: 3px solid var(--violet); }
.total { background: linear-gradient(120deg, var(--night), var(--violet)); color: var(--yellow); padding: 18px; border-radius: 18px; font-size: 1.5rem; text-align: center; margin-top: 18px; font-weight: 900; }

/* ---------- tabellen ---------- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th, .tbl td { padding: 10px 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; font-weight: 900; }
.tbl tbody tr:hover td { background: #faf8ff; }
.tbl .num { text-align: right; }
.tbl tr.first td { background: #fff4cf; }
.tbl tr.sub td { border-bottom-style: dashed; font-size: .82rem; padding-top: 0; }

/* ---------- beheer ---------- */
.adminnav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow); }
.adminnav a { padding: 8px 16px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: .9rem; }
.adminnav a:hover { background: var(--info-bg); }
.adminnav a.active { background: var(--violet); color: #fff; }
.adminnav form { margin-left: auto; padding-right: 10px; }
.jumpnav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; font-size: .9rem; position: sticky; top: 0; background: var(--paper); padding: 10px 0; z-index: 5; }
.rows { margin-top: 8px; }
.rowhead, .rowitem { display: grid; gap: 6px; align-items: center; margin-bottom: 6px; }
.rowhead { font-size: .72rem; color: var(--muted); text-transform: uppercase; font-weight: 900; }
.rowitem input, .rowitem select { padding: 7px 9px; font-size: .88rem; border-width: 1.5px; border-radius: 9px; }
.cat { grid-template-columns: 2fr 1fr 1fr 1fr 110px; }
.veld { grid-template-columns: 1.6fr 1fr .9fr .7fr 1.3fr 1.6fr 110px; }
.kpi.rowitem, .rowhead.kpi { grid-template-columns: 1.4fr 2.6fr 70px 110px; border: 0; padding: 0; }
.rowitem input[type=hidden] { display: none; }
.rowbtns { display: flex; gap: 3px; }
.rowbtns button { border: 1.5px solid var(--line); background: #fff; border-radius: 8px; width: 32px; height: 32px; cursor: pointer; font-weight: 900; }
.rowbtns button:hover { border-color: var(--violet); }
.rowbtns .del { color: var(--err); }
.savebar { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--paper) 35%); padding: 20px 0 10px; text-align: right; z-index: 5; }
.juror { border: 2px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.juror.inactive { opacity: .55; }
.juror-name { display: flex; gap: 8px; } .juror-name input { font-weight: 800; } .juror-name .btn { white-space: nowrap; }
.danger-title { color: var(--err); }

/* ---------- verslag ---------- */
.report-bar { margin-bottom: 12px; }
.report-doc h2 { border-bottom: 3px solid var(--yellow); padding-bottom: 5px; margin-top: 2rem; }
.report-doc .photos img { width: 190px; height: 145px; }

/* ---------- melding / aanmelden ---------- */
.mascot { display: block; width: 150px; margin: -10px auto 6px; filter: drop-shadow(0 10px 18px rgba(43,29,124,.25)); animation: bob 4s ease-in-out infinite; }
.form-hero { display: flex; align-items: center; gap: 18px; margin-bottom: 6px; }
.form-hero img { width: 110px; flex-shrink: 0; animation: bob 4s ease-in-out infinite; }

@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }

/* =========================================================================
   LANDINGSPAGINA
   ========================================================================= */
body.landing { background: var(--night); color: #fff; }
.landing h1, .landing h2, .landing h3 { color: #fff; }
.landing main.wrap { max-width: none; padding: 0; overflow-x: hidden; overflow-x: clip; }

.l-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.l-nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.l-nav .vvt, .l-foot img { height: 50px; width: auto; background: rgba(255,255,255,.94); border-radius: 14px; padding: 6px 12px; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.l-nav .btn { margin: 0; }

.hero2 {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
  padding: 100px 16px 70px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 60% 50% at 20% 25%, rgba(255, 116, 23, .35), transparent 70%),
    radial-gradient(ellipse 55% 55% at 85% 30%, rgba(29, 109, 255, .38), transparent 70%),
    radial-gradient(ellipse 70% 60% at 50% 110%, rgba(255, 61, 142, .35), transparent 70%),
    linear-gradient(180deg, #170a3d 0%, var(--night) 100%);
}
.hero2-bg { position: absolute; inset: -5%; z-index: -2; background: url("img/feest.webp") center 40% / cover no-repeat; opacity: .22; filter: blur(2px) saturate(1.3); transform: scale(1.05); }
.hero2::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, transparent 30%, rgba(18, 8, 46, .85) 100%); }
#confetti { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }
.hero2-content { position: relative; z-index: 2; text-align: center; max-width: 860px; }
.hero2-pre { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); padding: 7px 16px; border-radius: 999px; font-weight: 800; font-size: .88rem; color: var(--yellow); }
.hero2-logo { width: min(640px, 92vw); height: auto; margin: 18px auto 6px; display: block; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); animation: logoIn 1s cubic-bezier(.2, 1.4, .4, 1) both, float 6s ease-in-out 1s infinite; }
.hero2-lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #e9e4ff; max-width: 640px; margin: 8px auto 0; }
.hero2-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.hero2-cta .btn { margin: 0; }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; border: 2px solid rgba(255,255,255,.3); box-shadow: none; backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.18); box-shadow: none; }

.countdown { display: flex; gap: 10px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.countdown-label { width: 100%; text-align: center; font-weight: 800; color: #cfc6ff; font-size: .92rem; margin-bottom: 2px; }
.cd { min-width: 82px; padding: 12px 10px 8px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); text-align: center; }
.cd b { display: block; font-size: 2rem; font-weight: 900; line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.cd span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #cfc6ff; font-weight: 800; }

.float { position: absolute; z-index: 1; pointer-events: none; will-change: transform; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.float img { display: block; width: 100%; height: auto; animation: float 7s ease-in-out infinite; }
.f-hamer { width: clamp(110px, 13vw, 190px); left: 4%; top: 18%; }
.f-hamer img { animation-name: swing; animation-duration: 3.2s; transform-origin: 20% 90%; }
.f-kwast { width: clamp(80px, 9vw, 130px); right: 6%; top: 14%; }
.f-kwast img { animation-delay: -2s; }
.f-helm { width: clamp(110px, 12vw, 170px); left: 8%; bottom: 10%; }
.f-helm img { animation-delay: -4s; animation-duration: 8s; }
.f-muts { width: clamp(150px, 17vw, 250px); right: 4%; bottom: 12%; }
.f-muts img { animation-delay: -1s; }
.scroll-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2; color: #cfc6ff; font-size: 1.6rem; text-decoration: none; animation: hint 2s ease-in-out infinite; }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-16px) rotate(3deg); } }
@keyframes swing { 0%, 100% { transform: rotate(-12deg); } 45% { transform: rotate(14deg); } 55% { transform: rotate(10deg); } }
@keyframes logoIn { from { opacity: 0; transform: scale(.6) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes hint { 0%, 100% { transform: translate(-50%, 0); opacity: .6; } 50% { transform: translate(-50%, 8px); opacity: 1; } }

/* lichtkrant */
.ticker { background: linear-gradient(90deg, var(--yellow), var(--orange)); color: var(--ink); overflow: hidden; white-space: nowrap; transform: rotate(-1.5deg) scale(1.02); margin: -14px 0 0; position: relative; z-index: 5; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.ticker-track { display: inline-flex; gap: 0; padding: 14px 0; animation: ticker 32s linear infinite; font-weight: 900; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; }
.ticker-track span { padding: 0 18px; }
.ticker-track span::after { content: "✦"; margin-left: 36px; color: var(--violet); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* secties */
.l-section { padding: 90px 16px; position: relative; }
.l-section .wrap { padding: 0; }
.l-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.l-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 0 0 10px; }
.l-head p { color: #cfc6ff; font-size: 1.05rem; margin: 0; }
.eyebrow { display: inline-block; color: var(--yellow); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: 8px; }

.l-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: stap; }
.l-step { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); border-radius: 26px; padding: 22px 20px 24px; text-align: center; transition: transform .25s, border-color .25s, background .25s; }
.l-step:hover { transform: translateY(-8px) rotate(-1deg); border-color: rgba(255, 201, 40, .6); background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.04)); }
.l-step::before { counter-increment: stap; content: counter(stap); position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 900; display: grid; place-items: center; box-shadow: 0 4px 0 #c97800; }
.l-step img { height: 130px; width: auto; max-width: 100%; object-fit: contain; margin: 8px auto 6px; display: block; filter: drop-shadow(0 12px 20px rgba(0,0,0,.4)); transition: transform .3s; }
.l-step:hover img { transform: scale(1.08) rotate(4deg); }
.l-step h3 { margin: 6px 0 6px; font-size: 1.15rem; }
.l-step p { margin: 0; color: #d8d1ff; font-size: .95rem; }

/* tijdlijn */
.l-time { background: linear-gradient(180deg, transparent, rgba(58, 31, 153, .35), transparent); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 10px; padding-top: 34px; }
.timeline::before, .timeline-fill { content: ""; position: absolute; top: 14px; left: 0; height: 8px; border-radius: 999px; }
.timeline::before { right: 0; background: rgba(255,255,255,.12); }
.timeline-fill { width: 0; background: linear-gradient(90deg, var(--yellow), var(--orange), var(--pink)); transition: width 1.6s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 0 20px rgba(255, 116, 23, .6); }
.tl-item { position: relative; text-align: center; padding-top: 20px; }
.tl-item::before { content: ""; position: absolute; top: -26px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--night-2); border: 4px solid rgba(255,255,255,.35); }
.tl-item.done::before { background: var(--yellow); border-color: #fff; box-shadow: 0 0 0 6px rgba(255, 201, 40, .25); }
.tl-item b { display: block; color: var(--yellow); font-size: 1.15rem; font-weight: 900; }
.tl-item span { color: #e9e4ff; font-weight: 700; }
.tl-item small { display: block; color: #b8aef0; }

/* prijzen */
.prizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 860px; margin: 0 auto; }
.prize { position: relative; border-radius: 28px; padding: 30px 26px; overflow: hidden; color: var(--ink); background: linear-gradient(140deg, var(--yellow), var(--orange)); box-shadow: 0 20px 40px -16px rgba(255, 116, 23, .7); transition: transform .25s; }
.prize:nth-child(2n) { background: linear-gradient(140deg, #57a0ff, var(--blue)); color: #fff; box-shadow: 0 20px 40px -16px rgba(29, 109, 255, .7); }
.prize:nth-child(3n) { background: linear-gradient(140deg, #ff77b0, var(--pink)); color: #fff; }
.prize:hover { transform: translateY(-6px) rotate(1deg); }
.prize .trophy { font-size: 3rem; line-height: 1; display: block; margin-bottom: 8px; }
.prize h3 { color: inherit; font-size: 1.5rem; margin: 0 0 4px; }
.prize p { margin: 0; font-weight: 700; opacity: .9; }
.prize::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.18); }

/* jury */
.l-jury { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.l-jury-img { position: relative; }
.l-jury-img img { width: 100%; border-radius: 30px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transform: rotate(-2deg); }
.l-jury-img .sticker { position: absolute; right: -10px; bottom: -16px; background: var(--yellow); color: var(--ink); font-weight: 900; border-radius: 18px; padding: 12px 18px; transform: rotate(4deg); box-shadow: 0 6px 0 #c97800; text-align: center; line-height: 1.1; }
.l-jury-img .sticker b { font-size: 1.8rem; display: block; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpi-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 14px 16px; transition: background .2s, transform .2s; }
.kpi-card:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.kpi-card b { display: block; }
.kpi-card small { color: #cfc6ff; display: block; margin-top: 2px; }
.dots { display: flex; gap: 4px; margin-top: 8px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.18); }
.kpi-card.in .dots i { animation: dot .4s ease forwards; }
.kpi-card .dots i:nth-child(1) { animation-delay: .1s; } .kpi-card .dots i:nth-child(2) { animation-delay: .2s; }
.kpi-card .dots i:nth-child(3) { animation-delay: .3s; } .kpi-card .dots i:nth-child(4) { animation-delay: .4s; }
.kpi-card .dots i:nth-child(5) { animation-delay: .5s; }
@keyframes dot { to { background: var(--yellow); box-shadow: 0 0 8px rgba(255, 201, 40, .8); } }

/* voorwaarden */
.rules { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.rule { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 14px 18px; font-weight: 600; color: #ece8ff; }
.rule::before { content: "✓"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 900; display: grid; place-items: center; font-size: .85rem; }

/* call to action */
.l-cta { padding: 40px 16px 100px; }
.cta-box { position: relative; overflow: hidden; max-width: 1000px; margin: 0 auto; border-radius: 36px; padding: 56px 32px; text-align: center; background: linear-gradient(130deg, var(--violet), #6b2bd9 50%, var(--pink)); box-shadow: 0 30px 70px -20px rgba(107, 43, 217, .7); }
.cta-box h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 10px; }
.cta-box p { color: #f1ecff; font-size: 1.1rem; margin: 0 auto; max-width: 560px; }
.cta-box .btn { margin-top: 24px; }
.cta-box .f-cta { position: absolute; width: 160px; opacity: .9; }
.cta-box .f-cta.l { left: -20px; bottom: -30px; transform: rotate(-20deg); }
.cta-box .f-cta.r { right: -10px; top: -20px; width: 110px; transform: rotate(25deg); }
.tbl .chk { width: 34px; text-align: center; }
.tbl .chk input { width: 18px; height: 18px; accent-color: var(--violet); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.count-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); border-radius: 999px; padding: 6px 16px; font-weight: 800; margin-bottom: 16px; }
.count-pill b { color: var(--yellow); font-size: 1.15rem; }

.l-foot { border-top: 1px solid rgba(255,255,255,.1); padding: 34px 16px 40px; text-align: center; color: #b8aef0; font-size: .9rem; }
.l-foot img { height: 64px; margin-bottom: 10px; }
.l-foot a { color: var(--yellow); }

/* binnenkomen bij scrollen */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .l-steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .l-jury { grid-template-columns: 1fr; }
  .l-jury-img { max-width: 520px; margin: 0 auto; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .veld { grid-template-columns: 1fr 1fr; } .rowhead.veld { display: none; }
  .veld .rowbtns { grid-column: span 2; }
  .rowitem.veld { border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
}
@media (max-width: 720px) {
  .panel { padding: 18px; border-radius: 18px; }
  .grid2, .grid3, .row2, .row3 { grid-template-columns: 1fr; }
  .shell { grid-template-columns: 1fr; }
  .tabs { flex-direction: row; overflow-x: auto; position: static; padding-bottom: 6px; }
  .tabs a { white-space: nowrap; font-size: .86rem; }
  .tabs a:hover { transform: none; }
  .cat, .kpi.rowitem { grid-template-columns: 1fr 1fr; } .rowhead.cat, .rowhead.kpi { display: none; }
  .rowitem.cat, .rowitem.kpi { border: 1px solid var(--line) !important; border-radius: 10px; padding: 8px !important; }
  .brand img { height: 42px; }
  .brand .brand-text { display: none; }
  .data { grid-template-columns: 1fr; } .data dd { margin-bottom: 8px; }
  .adminnav { border-radius: 18px; }

  .l-nav .vvt { height: 38px; }
  .l-nav .btn { padding: 9px 16px; font-size: .9rem; }
  .hero2 { padding-top: 90px; }
  .f-hamer { left: -18px; top: 11%; } .f-kwast { right: -6px; top: 9%; }
  .f-helm { left: -20px; bottom: 4%; } .f-muts { right: -30px; bottom: 3%; }
  .float { opacity: .7; }
  .cd { min-width: 68px; padding: 10px 6px 6px; } .cd b { font-size: 1.6rem; }
  .l-section { padding: 64px 16px; }
  .l-steps { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 40px; gap: 22px; }
  .timeline::before, .timeline-fill { top: 0; left: 13px; width: 8px !important; height: auto; bottom: 0; right: auto; }
  .timeline-fill { height: 0; transition-property: height; }
  .tl-item { text-align: left; padding-top: 0; }
  .tl-item::before { top: 2px; left: -38px; margin-left: 0; }
  .kpis { grid-template-columns: 1fr; }
  .cta-box { padding: 44px 20px; border-radius: 28px; }
  .cta-box .f-cta { width: 100px; opacity: .5; }
}
@media print {
  body { background: #fff; }
  .top, .foot, .noprint, .adminnav, .flash { display: none !important; }
  .panel { border: 0; box-shadow: none; padding: 0; }
  .report-doc .photos img { width: 160px; height: 120px; }
  .entry { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}
