:root {
  --navy: #1f2370; --navy-dark: #12154a; --navy-deep: #0b0d33; --gold: #f8c300; --gold-dark: #d9a900; --gold-soft: #fff4c7;
  --bg: #f6f5f1; --surface: #ffffff; --surface-2: #efeee8; --text: #1b1d2a; --muted: #474a5e; --heading: #12154a;
  --link: #1f2370; --line: rgba(18, 21, 74, .1); --input: #ffffff; --input-line: #cfcdc5;
  --ok: #1d7a46; --ok-bg: #e7f5ec; --err: #b3261e; --err-bg: #fcebea; --info-bg: #eceefb;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18,21,74,.04), 0 4px 16px rgba(18,21,74,.05);
  --shadow-lg: 0 2px 4px rgba(18,21,74,.05), 0 20px 48px rgba(18,21,74,.14);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "SF Pro Text", Roboto, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "SF Pro Display", Roboto, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0c0e26; --surface: #151838; --surface-2: #1c2046; --text: #e7e8f3; --muted: #c0c3dc; --heading: #ffffff;
  --link: #f8c300; --line: rgba(255,255,255,.09); --input: #1c2046; --input-line: #34386a;
  --ok-bg: #12321f; --err-bg: #3a1513; --info-bg: #1c2046; --gold-soft: #2c2a16;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25); --shadow-lg: 0 20px 48px rgba(0,0,0,.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 19px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-dark); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; color: var(--heading); letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin: .3em 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 750; margin: .2em 0 .5em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { text-wrap: pretty; }
.muted { color: var(--muted); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 780px; }
main > section:not(.hero), main > article:not(.hero) { margin-block: 48px 88px; }
@media (max-width: 700px) { main > section:not(.hero), main > article:not(.hero) { margin-block: 24px 56px; } } /* hier, zodat latere uitzonderingen blijven gelden */
main > section:not(.hero) + section { margin-top: clamp(64px, 7vw, 104px); }

/* thema-schakelaar */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 46px; height: 46px; margin-left: 6px; border-radius: 99px; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; font: inherit; font-weight: 550; transition: background .2s, color .2s, transform .3s; }
.theme-toggle:hover { background: rgba(255,255,255,.16); color: var(--gold); }
.theme-toggle:active svg { transform: rotate(40deg); }
.theme-toggle svg { transition: transform .3s; }
.theme-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (max-width: 1100px) {
  .theme-toggle { width: auto; height: auto; margin: 6px 0 0; padding: 10px 16px; justify-content: flex-start; align-self: flex-start; }
  .theme-label { position: static; width: auto; height: auto; clip: auto; }
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; color: #000; padding: 8px; z-index: 20; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.kicker, .label-sm { display: inline-block; font-size: .88rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.gold { color: var(--gold); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--navy-deep); border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { color: var(--gold); }
#nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
#nav a, .linklike { color: rgba(255,255,255,.88); text-decoration: none; padding: 8px 14px; border-radius: 99px; font-weight: 550; font-size: 1.02rem; transition: background .2s, color .2s; }
#nav a:hover, .linklike:hover { background: rgba(255,255,255,.1); color: #fff; }
#nav a[aria-current] { background: var(--gold); color: var(--navy-deep); }
#nav form { margin: 0; }
.linklike { background: none; border: 0; font: inherit; font-size: 1.02rem; cursor: pointer; }
.cart-link { position: relative; display: inline-flex !important; align-items: center; gap: 8px; }
.badge { position: absolute; top: 0; right: 2px; background: var(--gold); color: var(--navy-deep); font-size: .8rem; font-weight: 800; border-radius: 99px; min-width: 22px; text-align: center; padding: 0 5px; line-height: 22px; }
.menu-toggle { display: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 99px; padding: 8px 16px; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .js #nav { display: none; }
  #nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-deep); flex-direction: column; align-items: stretch; padding: 10px 16px 18px; gap: 4px; box-shadow: var(--shadow-lg); }
  .js #nav.open { display: flex; animation: drop .2s ease-out; }
  #nav { max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior: contain; flex-wrap: nowrap; } /* lang menu: binnen het scherm scrollen */
  #nav a { padding: 12px 16px; }
  .cart-link { align-self: flex-start; padding-right: 26px !important; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-deep) var(--hero, none) center 30%/cover; margin-top: 0 !important; margin-bottom: 120px !important; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(11,13,51,.55) 0%, rgba(11,13,51,.75) 55%, rgba(11,13,51,.96) 100%),
  linear-gradient(90deg, rgba(11,13,51,.85) 0%, rgba(11,13,51,.2) 70%); }
.hero-inner { min-height: min(78vh, 720px); display: flex; align-items: center; padding-top: 80px; padding-bottom: 140px; }
.hero-text { max-width: 720px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -.035em; margin: .35em 0 .35em; }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 34em; color: rgba(255,255,255,.88); margin-bottom: 1.6em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 99px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); font-size: .9rem; font-weight: 600; }
.eyebrow img { border-radius: 50%; }
.hero-float { position: absolute; left: 0; right: 0; bottom: -80px; display: flex; justify-content: flex-end; }
.next-event { color: var(--text); width: min(440px, 100%); border-top: 0; position: relative; overflow: hidden; }
.next-event::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); }
.next-event h2 { font-size: 1.35rem; margin: .3em 0 .3em; }
.next-event h2 a { color: var(--heading); text-decoration: none; }
.next-event p { margin: 0 0 12px; }
@media (max-width: 700px) {
  .hero { margin-bottom: 40px !important; }
  .hero-inner { min-height: 0; padding-top: 56px; padding-bottom: 40px; }
  .hero-float { position: static; padding-bottom: 0; transform: translateY(24px); }
}

/* ---------- knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; gap: 8px; padding: 11px 22px; border-radius: 99px; border: 2px solid var(--navy); background: var(--navy); color: #fff; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s; }
.btn:hover { background: var(--navy-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-small { padding: 8px 18px; font-size: 1rem; min-height: 44px; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); box-shadow: 0 6px 20px rgba(248,195,0,.3); }
.btn-gold:hover { background: #ffd23a; border-color: #ffd23a; color: var(--navy-deep); }
.btn-glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-outline-navy { background: transparent; color: var(--navy-deep); border-color: var(--navy-deep); }
.btn-outline-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--link); border-color: currentColor; }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-danger { background: transparent; color: var(--err); border-color: var(--err); }
.btn-danger:hover { background: var(--err); color: #fff; border-color: var(--err); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.arrow-link { font-weight: 650; text-decoration: none; white-space: nowrap; }
.arrow-link span { display: inline-block; transition: transform .2s; }
.arrow-link:hover span { transform: translateX(4px); }

/* ---------- kaarten & grids ---------- */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; border: 1px solid var(--line); }
.glass { background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(16px); box-shadow: var(--shadow-lg); }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.post-card, .album-card, .product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s; }
.post-card:hover, .album-card:hover, .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.card-img { display: block; aspect-ratio: 3/2; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.card-img:empty { background: url(/assets/logo-192.png) center/28% no-repeat, linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.card-img.square { aspect-ratio: 1; background: #fff; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.card-img.square img { object-fit: contain; padding: 8%; }
.post-card:hover .card-img img, .album-card:hover .card-img img, .product-card:hover .card-img img { transform: scale(1.05); }
.card-body { display: block; padding: 18px 22px 22px; }
.card-body h3 { margin: .25em 0 .4em; font-size: 1.15rem; }
.card-body h3 a { text-decoration: none; color: var(--heading); }
.card-body p { margin: 0; color: var(--muted); font-size: 1rem; }
.card-body time, .card-body small, .meta { color: var(--muted); font-size: .95rem; display: block; }
.album-card strong { display: block; color: var(--heading); font-size: 1.05rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h1, .section-head h2 { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* home: features, bento, welkom, cta */
.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature h3 { margin: .6em 0 .3em; }
.feature p { color: var(--muted); margin: 0; }
.f-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; font-size: 1.6rem; background: var(--gold-soft); }
.bento { display: grid; gap: 20px; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; min-height: 520px; }
.bento-item { position: relative; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; text-decoration: none; box-shadow: var(--shadow); isolation: isolate; min-height: 240px; }
.bento-item.big { grid-row: span 2; }
.bento-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.bento-item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(11,13,51,.92)); }
.bento-item:hover img { transform: scale(1.06); }
.bento-item:hover { color: #fff; }
.bento-text { padding: 24px; display: grid; gap: 6px; min-width: 0; }
.bento-text time { font-size: .95rem; opacity: .9; }
.bento-text strong { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.big .bento-text strong { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.bento-excerpt { opacity: .85; font-size: .98rem; }
@media (max-width: 760px) { .bento { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; } .bento-item.big { grid-row: auto; min-height: 340px; } }
.welcome { display: grid; grid-template-columns: 1.5fr 1fr; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.welcome-text { padding: clamp(28px, 5vw, 56px); }
.welcome-text .prose { color: var(--muted); margin-bottom: 20px; }
.welcome-emblem { display: grid; place-items: center; padding: 40px; border-left: 1px solid var(--line);
  background: var(--surface-2); }
.welcome-emblem img { width: min(240px, 70%); filter: drop-shadow(0 14px 28px rgba(11,13,51,.3)); }
@media (max-width: 760px) { .welcome { grid-template-columns: 1fr; } .welcome-emblem { border-left: 0; border-top: 1px solid var(--line); order: -1; padding: 32px; } .welcome-emblem img { width: 150px; } }
.cta { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius); color: #fff; border: 1px solid rgba(248,195,0,.25);
  background: var(--navy-deep); }
.cta > * { position: relative; z-index: 1; }
.cta .kicker { color: var(--gold); }
.cta h2 { color: #fff; margin: .2em 0 .3em; }
.cta p { margin: 0; max-width: 36em; color: rgba(255,255,255,.8); }

/* ---------- inhoud ---------- */
.prose { overflow-wrap: anywhere; font-size: 1.08rem; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose img, .prose iframe { max-width: 100%; border-radius: var(--radius-sm); }
.prose iframe { aspect-ratio: 16/9; width: 100%; height: auto; border: 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.prose blockquote { border-left: 4px solid var(--gold); margin: 1.4em 0; padding: .4em 1.2em; color: var(--muted); font-size: 1.1rem; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.feature { width: 100%; }
img.feature { border-radius: var(--radius); margin: 8px 0 28px; display: block; box-shadow: var(--shadow); }
.post-head { text-align: center; }
.post-head h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.wide-img { max-width: 1000px; }
.crumbs { margin: 0; }
.crumbs a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.pager { display: flex; justify-content: center; gap: 16px; margin-top: 40px; align-items: center; }
.pager a { padding: 8px 18px; border-radius: 99px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; font-weight: 600; }
.lead-dark { font-size: 1.15rem; color: var(--muted); margin-top: -.3em; max-width: 40em; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; background: var(--surface); padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--heading); }
.facts dd { margin: 0; }

/* ---------- agenda ---------- */
.event-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.event { display: flex; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px; transition: transform .2s, box-shadow .2s; }
.event:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.event a { text-decoration: none; color: var(--heading); }
.cal { flex: none; width: 62px; text-align: center; background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: var(--gold); border-radius: 14px; padding: 8px 0; font-size: .75rem; font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.cal b { display: block; font-size: 1.6rem; color: #fff; font-family: var(--font-display); }
.past .event { opacity: .65; }
.past .cal { background: var(--muted); }

/* ---------- galerij ---------- */
.photos { columns: 4 220px; column-gap: 12px; margin-top: 28px; }
.photos a { display: block; margin-bottom: 12px; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface-2); break-inside: avoid; }
.photos img { width: 100%; display: block; transition: transform .4s cubic-bezier(.2,.7,.3,1); }
.photos a:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(6, 7, 26, .95); backdrop-filter: blur(6px); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 10px; }
.lb-caption { color: #fff; margin: 12px 16px 0; text-align: center; }
.lightbox button { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 2.2rem; width: 60px; height: 60px; border-radius: 50%; cursor: pointer; backdrop-filter: blur(6px); }
.lightbox button:hover { background: var(--gold); color: var(--navy-deep); }
.lb-prev { left: 14px; top: 50%; } .lb-next { right: 14px; top: 50%; } .lb-close { right: 14px; top: 14px; }

/* ---------- winkel ---------- */
.price { font-weight: 800; color: var(--heading) !important; margin: 0 0 14px !important; font-size: 1.1rem !important; }
.price.big { font-size: 2rem !important; letter-spacing: -.02em; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; gap: 16px; } }
.product img.feature { background: #fff; padding: 6%; }
.add-form { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin-bottom: 28px; }
.add-form label { display: grid; gap: 4px; font-weight: 600; }
.add-form input { width: 90px; }
.cart { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart th, .cart td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.cart input { width: 76px; }
.num { text-align: right !important; white-space: nowrap; }
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.checkout aside { position: sticky; top: 90px; }
@media (max-width: 760px) { .checkout { grid-template-columns: 1fr; } .checkout aside { order: -1; position: static; } }
.line { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0; }
.line.total { border-top: 1px solid var(--line); padding-top: 12px; font-weight: 800; font-size: 1.15rem; }

/* ---------- formulieren ---------- */
.form { display: grid; gap: 18px; }
.form label, .field { display: grid; gap: 6px; font-weight: 650; font-size: .95rem; color: var(--heading); }
.form .check { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--text); }
input, textarea, select { font: inherit; padding: 14px 16px; border: 1.5px solid var(--input-line); border-radius: var(--radius-sm); background: var(--input); color: var(--text); width: 100%; transition: border-color .2s, box-shadow .2s; }
input[type=checkbox], input[type=radio] { width: 24px; height: 24px; accent-color: var(--navy); flex: none; }
input:focus, textarea:focus, select:focus { border-color: var(--gold-dark); outline: none; box-shadow: 0 0 0 4px rgba(248,195,0,.25); }
fieldset { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0; display: grid; gap: 14px; min-width: 0; }
legend { font-weight: 750; color: var(--heading); padding: 0 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; }
.flash { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--info-bg); border-left: 4px solid var(--navy); margin: 18px 0; }
.flash-ok { background: var(--ok-bg); border-color: var(--ok); }
.flash-error { background: var(--err-bg); border-color: var(--err); }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--navy-deep); color: #c9cbe6; margin-top: 96px; padding: 64px 0 28px; font-size: 1rem; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-dark), var(--gold)); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer h2 { color: var(--gold); font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.4fr; gap: 40px 32px; }
.legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 20px; font-size: .92rem; opacity: .85; }

/* ---------- animatie bij scrollen (alleen met JS, en niet bij 'minder beweging') ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ---------- beheer ---------- */
.admin-main { padding-top: 28px; padding-bottom: 64px; }
.auth { max-width: 440px; margin: 48px auto; }
.table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table th, .table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.table th { background: var(--surface-2); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table tr:hover td { background: color-mix(in srgb, var(--gold) 6%, transparent); }
.tiles .tile { text-decoration: none; display: grid; gap: 4px; color: var(--text); transition: transform .2s, box-shadow .2s; }
.tiles .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.tile-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); font-size: 1.4rem; margin-bottom: 6px; }
.tile b { color: var(--heading); }
.tile small { color: var(--muted); }
.admin-form { max-width: none; }
trix-editor { background: var(--input); min-height: 280px; border-radius: var(--radius-sm); border: 1.5px solid var(--input-line) !important; font-weight: 400; color: var(--text); padding: 14px !important; }
trix-toolbar .trix-button-group { background: #fff; }
.trix-button-group--file-tools { display: none !important; }
.preview { max-width: 240px; border-radius: var(--radius-sm); }
.photo-admin { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.ph { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px; display: grid; gap: 6px; }
.ph img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; }
.ph input { padding: 6px 8px; font-size: .9rem; }
.perm-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.danger { color: var(--err) !important; }
.status { font-size: .88rem; font-weight: 700; padding: 3px 12px; border-radius: 99px; background: var(--surface-2); vertical-align: middle; }
.status-betaald { background: #fff3c4; color: #6b5200; } .status-verzonden { background: #e7f5ec; color: #1d5a35; }
.status-mislukt, .status-geannuleerd, .status-verlopen { background: #fcebea; color: #8a1f18; }

/* ---------- leesbaarheid: veel bezoekers zijn 40+ ---------- */
small { font-size: .92em; }
.prose a { text-decoration-thickness: 2px; }
::selection { background: var(--gold); color: var(--navy-deep); }
.line > span:last-child { white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- pagina's met blokken (Info, Leden, ...) ---------- */
main > article.page-blocks { margin-top: 0; }
.page-hero { position: relative; color: #fff; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); margin-bottom: clamp(40px, 6vw, 64px);
  background: var(--navy-deep); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); margin: .2em 0 .3em; }
.page-hero .kicker { color: var(--gold); }
.page-intro { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.6; max-width: 46em; color: rgba(255,255,255,.9); }
.page-intro :is(h2, h3, h4) { color: #fff; font-size: inherit; font-weight: 600; letter-spacing: 0; }
.page-intro a { color: var(--gold); }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.toc a { color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 99px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.07); font-weight: 600; transition: background .2s, color .2s; }
.toc a:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.blocks { display: grid; gap: clamp(24px, 4vw, 40px); }
.block { scroll-margin-top: 96px; padding: clamp(28px, 4vw, 48px); }
.block.has-img { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.block-img img { width: 100%; border-radius: var(--radius-sm); display: block; }
.block-num { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--navy-deep); background: var(--gold); border-radius: 99px; padding: 2px 12px; }
.block h2 { margin: .4em 0 .5em; }
.block .prose ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.block .prose li { position: relative; padding-left: 34px; }
.block .prose li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230b0d33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (max-width: 760px) { .block.has-img { grid-template-columns: 1fr; } .block.has-img .block-img { order: -1; } }

/* beheer: blokken */
.blocks-admin { display: grid; gap: 18px; margin-top: 12px; }
.blocks-admin h2 { margin-bottom: 0; }
.block-edit { background: var(--surface); }
.block-new { border-style: dashed; border-color: var(--gold-dark); }
.sticky-save { position: sticky; bottom: 0; padding: 14px 0; background: linear-gradient(transparent, var(--bg) 35%); z-index: 2; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- contact ---------- */
main > section.contact-grid { margin-top: 0; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 40px); align-items: start; }
.contact-side { display: grid; gap: 20px; }
.quick { display: grid; gap: 14px; }
.quick-item { display: flex; align-items: center; gap: 16px; padding: 18px 22px; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.quick-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--text); }
.quick-item small { display: block; color: var(--muted); }
.quick-item b { color: var(--heading); font-size: 1.05rem; overflow-wrap: anywhere; }
.q-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy-deep); color: var(--gold); }
.contact-info h3 { margin-top: 1.2em; }
.contact-info ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.contact-info li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-info a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 99px; background: var(--gold); color: var(--navy-deep); font-weight: 700; text-decoration: none; white-space: nowrap; }
.contact-info a[href^="tel:"]:hover { background: #ffd23a; }
.contact-form h2 { margin: 0; }
.contact-form > .muted { margin: -8px 0 0; }
@media (max-width: 860px) { main > section.contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-form .row2 { grid-template-columns: 1fr; } }

/* ---------- doneren & sponsoren ---------- */
main > section.donate-grid { margin-top: 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 40px); align-items: start; }
@media (max-width: 860px) { main > section.donate-grid { grid-template-columns: 1fr; } }
.donate-form h2, .donate-side h2 { margin: 0; }
.amounts { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; }
.amounts legend { padding: 0; margin-bottom: 10px; }
.amount { position: relative; }
.amount input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.amount span { display: inline-flex; align-items: center; justify-content: center; min-width: 84px; min-height: 54px; padding: 0 18px; border-radius: var(--radius-sm);
  border: 2px solid var(--input-line); background: var(--input); font-weight: 750; font-size: 1.1rem; color: var(--heading); transition: border-color .15s, background .15s; }
.amount input:checked + span { border-color: var(--gold-dark); background: var(--gold); color: var(--navy-deep); }
.amount input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.custom-amount { width: 100%; }
.amounts:not(:has([data-custom-toggle]:checked)) .custom-amount { display: none; }
.ticks { list-style: none; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230b0d33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.sponsor-heading { margin-top: 0; }
.sponsor-heading + .sponsors { margin-bottom: 56px; }
.sponsors { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sponsor { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 22px; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
a.sponsor:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.sponsor strong { color: var(--heading); }
.sponsor-logo { display: grid; place-items: center; width: 100%; height: 130px; border-radius: var(--radius-sm); background: #fff; padding: 12px; }
.sponsor-logo img { max-width: 100%; max-height: 106px; object-fit: contain; }
.sponsor-initial { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--navy); }
.sponsor-text { font-size: .95rem; color: var(--muted); }
.sponsor-cta { margin-top: 8px; }

/* ---------- video's en foto's in berichten ---------- */
.video { margin: 1.4em 0; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.video iframe, .video video { display: block; width: 100%; aspect-ratio: 16/9; height: auto; border: 0; }
.prose figure img { width: 100%; height: auto; display: block; }
.prose .attachment-gallery, .prose figure + figure { margin-top: .6em; }

/* beheer: knoppen boven de editor */
.media-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; }
.media-bar .btn { background: var(--surface); color: var(--heading); border-color: var(--input-line); font-weight: 650; }
.media-bar .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.media-status { font-weight: 600; color: var(--muted); }
trix-editor img { max-width: min(100%, 560px); max-height: 360px; width: auto !important; height: auto !important; object-fit: contain; border-radius: 8px; } /* in de editor alleen een voorbeeld; op de site blijft de foto groot */
trix-editor figure.attachment { display: block; width: fit-content; max-width: 100%; } /* knoppen en bijschrift op de foto, niet over de hele breedte */
trix-editor a[href*="youtu"], trix-editor a[href$=".mp4"], trix-editor a[href$=".mov"], trix-editor a[href$=".webm"] {
  display: inline-block; padding: 8px 14px; border-radius: 8px; background: var(--gold-soft); text-decoration: none; font-weight: 700; }
.publish:not(:has([data-plan]:checked)) .plan-date { display: none; }
.plan-date { margin-left: 34px; max-width: 320px; }
.preview-bar { background: var(--gold-soft); border-color: var(--gold-dark); }

/* ---------- beheer: cijfers en grafieken ---------- */
:root { --chart: #1f2370; }
:root[data-theme="dark"] { --chart: #f8c300; }
.stats-block { margin: 40px 0; }
.stats-block h2 { margin: 0; }
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 14px; }
.stat { display: grid; gap: 2px; padding: 18px 20px; }
.stat small { color: var(--muted); }
.stat b { font-family: var(--font-display); font-size: 1.6rem; color: var(--heading); letter-spacing: -.02em; }
.stat-attention { border-left: 4px solid var(--gold-dark); }
.stats-split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
@media (max-width: 900px) { .stats-split { grid-template-columns: 1fr; } }
.stats-split h3 { margin-top: 0; }
.table.plain { box-shadow: none; }
.chart { margin: 0; }
.chart figcaption { font-weight: 700; color: var(--heading); margin-bottom: 14px; }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 200px; border-bottom: 1px solid var(--line); }
.bar-col { position: relative; display: flex; flex-direction: column; justify-content: flex-end; outline: none; cursor: default; }
.bar-track { flex: 1; display: flex; align-items: flex-end; }
.bar { display: block; width: 100%; background: var(--chart); border-radius: 4px 4px 0 0; transition: opacity .15s; }
.bars:hover .bar, .bars:focus-within .bar { opacity: .45; }
.bar-col:hover .bar, .bar-col:focus .bar { opacity: 1; }
.bar-x { position: absolute; bottom: -26px; left: 0; right: 0; text-align: center; font-size: .78rem; color: var(--muted); }
.bar-tip { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; pointer-events: none; z-index: 3;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: 8px; padding: 6px 10px; font-size: .9rem; opacity: 0; transition: opacity .12s; }
.bar-col:hover .bar-tip, .bar-col:focus .bar-tip { opacity: 1; }
.bar-col:first-child .bar-tip { left: 0; transform: none; }
.bar-col:last-child .bar-tip { left: auto; right: 0; transform: none; }
.chart-table { margin-top: 40px; }
.chart-table summary { cursor: pointer; font-weight: 600; color: var(--link); }
.chart-table .table { margin-top: 10px; box-shadow: none; }
.key-state { margin: -6px 0 0; color: var(--muted); }
code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }

/* ---------- beheer: bovenbalk + zijbalk ---------- */
.admin-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 0 20px; }
.admin-actions { display: flex; align-items: center; gap: 6px; }
.admin-actions form { margin: 0; }
.top-link { color: rgba(255,255,255,.88); text-decoration: none; padding: 8px 12px; border-radius: 99px; font-weight: 550; font-size: 1rem; }
.top-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.who { color: rgba(255,255,255,.6); font-size: .95rem; padding: 0 6px; border-left: 1px solid rgba(255,255,255,.2); margin-left: 4px; }
.admin-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - 64px); }
.admin-shell.no-side { grid-template-columns: 1fr; }
.admin-side { position: sticky; top: 64px; align-self: start; height: calc(100vh - 64px); overflow-y: auto; padding: 20px 14px 40px;
  background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.side-group { margin: 18px 12px 6px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.side-link { display: block; padding: 10px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 550; }
.side-link:hover { background: var(--surface-2); color: var(--heading); }
.side-link[aria-current] { background: var(--navy-deep); color: #fff; }
:root[data-theme="dark"] .side-link[aria-current] { background: var(--gold); color: var(--navy-deep); }
.admin .admin-main { width: 100%; padding: 28px clamp(16px, 3vw, 40px) 64px; }
.admin .menu-toggle { display: none; }
@media (max-width: 1000px) {
  .admin .menu-toggle { display: inline-flex; margin-left: 6px; }
  .admin-shell { grid-template-columns: minmax(0, 1fr); } /* brede tabel mag de kolom niet oprekken */
  .admin-side { position: fixed; top: 64px; left: 0; bottom: 0; width: min(300px, 85vw); height: auto; z-index: 20; box-shadow: var(--shadow-lg); transform: translateX(-105%); transition: transform .2s ease;
    align-self: stretch; overscroll-behavior: contain; } /* stretch: anders wordt het menu zo hoog als de inhoud en kun je niet scrollen */
  .admin-side.open { transform: none; }
  .who { display: none; }
}
.side-mobile { display: none; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 4px; }
.side-mobile form { margin: 0; }
.side-mobile .linklike { width: 100%; text-align: left; color: var(--text); font-size: 1rem; }
@media (max-width: 1000px) { .admin-actions .top-link, .admin-actions form { display: none; } .side-mobile { display: block; } }
.admin .theme-toggle { width: 44px; height: 44px; padding: 0; margin: 0 0 0 4px; align-self: center; justify-content: center; }
.admin .theme-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ship-table input { max-width: 180px; }
.ship-note { margin-top: 24px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--surface-2); }
.ship-note h3 { margin: 0 0 .4em; font-size: 1.1rem; }
.ship-note p { margin: 0 0 12px; }
.ship-note .ticks { margin: 0; gap: 10px; font-size: .98rem; }

/* ---------- winkelmand & afrekenen ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.remove-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--input-line); border-radius: 10px;
  background: transparent; color: var(--err); font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; }
.remove-btn:hover { background: var(--err); border-color: var(--err); color: #fff; }
@media (max-width: 560px) { .remove-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .cart th, .cart td { padding: 12px 10px; } }
.ship-choice, .extra-donation { display: grid; gap: 10px; }
.ship-option { display: flex !important; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--input-line); border-radius: var(--radius-sm);
  background: var(--input); cursor: pointer; font-weight: 400 !important; }
.ship-option input { margin-top: 3px; }
.ship-option strong { display: block; color: var(--heading); }
.ship-option small { color: var(--muted); }
.ship-option:has(input:checked) { border-color: var(--gold-dark); background: var(--gold-soft); }
.ship-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
@media (max-width: 560px) { .cart th, .cart td { padding: 10px 6px; } .cart td:first-child { padding-left: 12px; } .cart input { width: 58px; padding: 10px 8px; } .remove-btn { padding: 8px 10px; } .cart th:nth-child(3), .cart td:nth-child(3) { display: none; } }
.staging-bar { background: #f8c300; color: #0b0d33; text-align: center; font-weight: 700; padding: 6px 16px; font-size: .95rem; }

/* ---------- bedankpagina donatie ---------- */
.thanks-hero { text-align: center; }
.thanks-hero .page-intro { margin: 0 auto; }
.thanks-logo { display: block; margin: 0 auto 12px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(248,195,0,.25); }
main > section.thanks { margin-top: 0; display: grid; gap: 20px; }
.thanks h2 { margin-top: 0; font-size: 1.35rem; }
.thanks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .thanks-grid { grid-template-columns: 1fr; } }
.thanks-sign { text-align: center; font-size: 1.15rem; margin: 12px 0 0; }

/* ---------- lijst van donateurs ---------- */
.wall-total { margin: 0; }
.donor-wall { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.donor { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.donor-mark { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); font-size: 1.1rem; }
.donor-text strong { display: block; color: var(--heading); }
.donor-text small { color: var(--muted); }
.inline-form { margin: 4px 0 0; } .linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: .9rem; font-weight: 600; color: var(--link); text-decoration: underline; cursor: pointer; }

/* ---------- achtergrondvideo hero ---------- */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; pointer-events: none; }
.hero-pause { position: absolute; right: 16px; top: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(11,13,51,.55); color: #fff; font-size: .85rem; cursor: pointer; backdrop-filter: blur(6px); }
.hero-pause:hover { background: var(--gold); color: var(--navy-deep); }

/* ---------- blogoverzicht ---------- */
main > header.blog-head { padding: clamp(32px, 5vw, 56px) 0 8px; }
.blog-head h1 { margin-bottom: .2em; }
.blog-head .lead-dark { margin: 0 0 20px; }
.year-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.year-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--input-line);
  background: var(--surface); color: var(--heading); font-weight: 650; text-decoration: none; }
.year-nav a span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.year-nav a:hover { border-color: var(--gold-dark); }
.year-nav a[aria-current] { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.year-nav a[aria-current] span { color: rgba(255,255,255,.75); }
main > section.blog-list { margin-top: 24px; }
.featured-post { display: grid; grid-template-columns: 1.25fr 1fr; padding: 0; overflow: hidden; margin-bottom: 48px; }
.featured-img { display: block; min-height: 320px; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.featured-body time { color: var(--muted); }
.featured-body h2 { margin: .1em 0 .3em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.featured-body h2 a { color: var(--heading); text-decoration: none; }
.featured-body p { color: var(--muted); margin: 0 0 16px; }
@media (max-width: 800px) { .featured-post { grid-template-columns: 1fr; } .featured-img { min-height: 220px; aspect-ratio: 16/9; } }
.blog-sub { font-size: 1.35rem; margin: 0 0 16px; }
.blog-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.blog-grid .card-body h3 { font-size: 1.1rem; line-height: 1.3; }
.pager { flex-wrap: wrap; gap: 8px; }
.pager .pg-num, .pager .pg-step { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 14px; border-radius: 99px;
  background: var(--surface); box-shadow: var(--shadow); text-decoration: none; font-weight: 650; color: var(--heading); }
.pager .pg-num[aria-current] { background: var(--navy-deep); color: #fff; }
.pager a:hover { background: var(--gold); color: var(--navy-deep); }
.pg-gap { color: var(--muted); padding: 0 4px; }

/* ---------- beheer: hulp ---------- */
.help-link { font-weight: 650; text-decoration: none; white-space: nowrap; margin-left: 12px; }
.help-link:hover { text-decoration: underline; }
.side-help { margin-top: 4px; }
.help-toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.help-toc a { padding: 10px 16px; border-radius: 99px; background: var(--surface); border: 1.5px solid var(--input-line); font-weight: 650; text-decoration: none; color: var(--heading); }
.help-toc a:hover { border-color: var(--gold-dark); background: var(--gold-soft); }
.help-section { margin-bottom: 24px; scroll-margin-top: 80px; }
.help-section:target { outline: 3px solid var(--gold); }
.help-section h2 { margin-top: 0; }
.help-steps { counter-reset: stap; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.help-steps li { counter-increment: stap; position: relative; padding-left: 52px; font-size: 1.05rem; line-height: 1.6; min-height: 36px; }
.help-steps li::before { content: counter(stap); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-deep); color: #fff; font-weight: 800; }
.ui { background: var(--gold-soft); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.help-tips { margin-top: 20px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface-2); }
.help-tips ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.help-top { margin: 16px 0 0; font-size: .95rem; }
/* groot schrijfvak voor de hoofdtekst; blokken op pagina's blijven compact */
.admin-form > .field trix-editor { min-height: 560px; font-size: 1.08rem; line-height: 1.75; padding: 18px 20px !important; }
.block-edit trix-editor { min-height: 200px; }
.help-hint a { font-weight: 700; }

/* ---------- leden ---------- */
.members { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.member { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.member-photo { display: block; aspect-ratio: 1; background: #0b0b0b; overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .4s cubic-bezier(.2,.7,.3,1); }
.member-photo:hover img { transform: scale(1.03); }
.member-body { padding: 16px 20px 20px; }
.member-body h2 { font-size: 1.2rem; margin: 0; }
.member-role { margin: 4px 0 0; color: var(--gold-dark); font-weight: 700; font-size: .95rem; }
.member-text { margin: 10px 0 0; color: var(--muted); font-size: .98rem; }

/* ---------- eerstvolgende rit (onder "Wat we doen") ---------- */
.hero { margin-bottom: 0 !important; }
.hero-inner { padding-bottom: clamp(56px, 8vw, 96px); }
.next-ride { display: flex; align-items: center; gap: 20px; margin-top: 24px; border-left: 5px solid var(--gold); }
.next-ride-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--navy-deep); color: var(--gold); }
.next-ride-text { flex: 1; min-width: 0; }
.next-ride h2 { font-size: 1.3rem; margin: 2px 0 4px; }
.next-ride h2 a { color: var(--heading); text-decoration: none; }
.next-ride p { margin: 0; }
@media (max-width: 640px) { .next-ride { flex-wrap: wrap; } .next-ride .btn { width: 100%; } }
.password-form { max-width: 560px; }
.list-search { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.list-search input { flex: 1 1 260px; max-width: 480px; }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 20px; }
.resend-welcome { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin: 24px 0 16px; } .resend-welcome p { margin: 0; max-width: 46em; }
/* beheer op de telefoon: lijsten als kaartjes, overige tabellen schuiven binnen hun eigen vak */
@media (max-width: 700px) {
  .table.stack, .table.stack tbody, .table.stack tr, .table.stack td { display: block; width: 100%; }
  .table.stack { background: none; box-shadow: none; }
  .table.stack tr:first-child { display: none; }
  .table.stack tr { background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow); margin-bottom: 12px; padding: 10px 14px; }
  .table.stack td { border: 0; padding: 4px 0; overflow-wrap: anywhere; }
  .table.stack td[data-label]:not(:first-child)::before { content: attr(data-label) ": "; font-weight: 650; color: var(--muted); }
  .table.stack td:first-child { font-size: 1.08rem; font-weight: 650; }
  .table.stack td:empty { display: none; }
  .table.stack tr:hover td { background: none; }
  .admin-main .table:not(.stack) { display: block; overflow-x: auto; }
  .section-head { flex-wrap: wrap; gap: 10px; }
  .list-search input { flex-basis: 100%; max-width: none; }
}
.help-steps li, .help-tips li { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 700px) { .ui { white-space: normal; } }
.form > *, .form .field, .form label { min-width: 0; } /* smalle telefoons */
trix-editor { box-sizing: border-box; max-width: 100%; }
trix-toolbar .trix-button-row { flex-wrap: wrap !important; row-gap: 6px; }
.consent { position: fixed; z-index: 30; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; background: var(--surface); color: var(--text);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 20px 22px; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 14px; line-height: 1.55; }
.consent strong { color: var(--heading); font-size: 1.08rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.site-footer .linklike { color: #c9cbe6; padding: 0; font-size: inherit; text-decoration: underline; }
.consent a { font-weight: 650; }
/* ---------- sponsoren-strook op de homepage ---------- */
.marquee { position: relative; overflow: hidden; padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur, 36s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; gap: 20px; padding: 0 20px 0 0; margin: 0; list-style: none; } /* rechts dezelfde ruimte als de tussenruimte: naadloze lus */
.marquee-item { display: grid; place-items: center; width: 200px; height: 110px; padding: 14px; border-radius: var(--radius-sm); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--navy); font-weight: 700; text-align: center; line-height: 1.3; }
.marquee-item img { max-width: 100%; max-height: 80px; object-fit: contain; }
a.marquee-item:hover { border-color: var(--gold-dark); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { animation: none; width: auto; }
  .marquee-list { flex-wrap: wrap; justify-content: center; padding: 0; }
  .marquee-list[aria-hidden] { display: none; }
}
@media (max-width: 700px) { .marquee-item { width: 150px; height: 90px; } .marquee-item img { max-height: 62px; } }
/* in memoriam-blok: rustig en ingetogen */
.block.memorial { background: var(--navy-deep); color: #dfe1f3; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); position: relative; }
.block.memorial::before { content: ""; position: absolute; left: 50%; top: 0; width: 72px; height: 3px; margin-left: -36px; background: var(--gold); border-radius: 0 0 3px 3px; }
.block.memorial h2 { color: #fff; }
.block.memorial .kicker { color: var(--gold); }
.block.memorial .prose, .block.memorial .prose p { color: #dfe1f3; }
.block.memorial .prose a { color: var(--gold); }
.block.memorial .block-img img { box-shadow: 0 0 0 6px rgba(255,255,255,.06); }
/* kop van een pagina met achtergrondfoto (in te stellen per pagina in het beheer) */
.page-hero.has-img { background: linear-gradient(90deg, rgba(11,13,51,.94) 0%, rgba(11,13,51,.78) 45%, rgba(11,13,51,.45) 100%), var(--hero-img) center / cover no-repeat, var(--navy-deep);
  padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(56px, 8vw, 96px); }
@media (max-width: 700px) { .page-hero.has-img { background: linear-gradient(rgba(11,13,51,.82), rgba(11,13,51,.88)), var(--hero-img) center / cover no-repeat, var(--navy-deep); } }
.block.memorial .prose ul { gap: 18px; margin: 1em 0; }
.block.memorial .prose li { padding-left: 30px; line-height: 1.55; }
.block.memorial .prose li::before { content: "†"; background: none; width: auto; height: auto; border-radius: 0; top: -.05em; color: var(--gold); font-weight: 700; font-size: 1.2em; }
.block.memorial .prose li strong { color: #fff; font-size: 1.12em; }
.block.memorial .prose li em { color: var(--gold); font-style: normal; }
main > header.page-hero + section { margin-top: 0; } /* de kop heeft zelf al ruimte eronder */
.blog-list > .year-nav { margin-bottom: 28px; }
/* bestellingen afhandelen */
.count { display: inline-grid; place-items: center; min-width: 1.6em; padding: 0 .45em; border-radius: 99px; background: var(--gold); color: var(--navy-deep); font-size: .7em; vertical-align: middle; }
.order-cards { display: grid; gap: 12px; margin-bottom: 32px; }
.order-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; text-decoration: none; color: var(--text); border-left: 5px solid var(--gold); transition: box-shadow .2s, transform .2s; }
.order-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: var(--text); }
.order-card-main { display: grid; gap: 4px; min-width: 0; }
.order-card-name { font-size: 1.2rem; color: var(--heading); }
.order-card-items { font-weight: 600; }
.order-action { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 24px; border-left: 5px solid var(--gold); }
.order-action h2 { margin: 0 0 4px; }
.order-action p { margin: 0; }
.address { font-size: 1.1rem; line-height: 1.5; }
.status-manual { margin-top: 20px; }
.status-manual summary { cursor: pointer; color: var(--muted); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
@media (max-width: 560px) { .order-card-btn, .order-action form, .order-action .btn { width: 100%; justify-content: center; } }
/* volgorde van blokken in het beheer */
.blocks-list { display: flex; flex-direction: column; gap: 18px; }
.block-order h3 { margin: 0 0 4px; }
.block-order ol { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.block-order li { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 12px; border: 1.5px solid var(--input-line); border-radius: var(--radius-sm); background: var(--input); cursor: grab; }
.block-order li.dragging { opacity: .5; border-style: dashed; border-color: var(--gold-dark); }
.block-order .grip { font-size: 1.3rem; color: var(--muted); }
.block-order .t { flex: 1; min-width: 0; font-weight: 650; overflow-wrap: anywhere; }
.block-order .btn { min-width: 44px; min-height: 44px; padding: 0; justify-content: center; }
.hero-sound { position: absolute; right: 68px; top: 16px; z-index: 2; height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(11,13,51,.55); color: #fff; font: inherit; font-weight: 650; font-size: .95rem; cursor: pointer; backdrop-filter: blur(6px); }
.hero-sound:hover, .hero-sound[aria-pressed="true"] { background: var(--gold); color: var(--navy-deep); }
/* ---------- footer ---------- */
.footer-logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: #fff; margin-bottom: 14px; }
.footer-brand p { line-height: 1.65; max-width: 30em; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); transition: background .2s, color .2s; }
.socials a:hover { background: var(--gold); color: var(--navy-deep); }
.site-footer nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer nav a { display: inline-block; padding: 6px 0; }
.site-footer nav a:hover { transform: translateX(3px); }
.site-footer nav a { transition: color .2s, transform .2s; }
.footer-contact p { margin: 0 0 12px; line-height: 1.55; }
.site-footer .footer-contact .btn-gold { color: var(--navy-deep); }
.footer-ride { display: grid; gap: 2px; margin-top: 8px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.footer-ride small { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.footer-ride span { font-size: .92rem; color: #c9cbe6; }
.footer-ride:hover { border-color: var(--gold); }
.made-by span { color: var(--gold); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand, .footer-contact { grid-column: span 2; } }
/* in memoriam: opeenvolgende in memoriam-blokken als één kaart met portretten */
.memorial-group { text-align: center; }
.memorial-group::before { display: none; }
.memorial-head { max-width: 44em; margin: 0 auto 36px; }
.memorial-head h2 { margin: .25em 0 .35em; font-size: clamp(1.9rem, 4vw, 2.5rem); }
.memorial-head::after { content: ""; display: block; width: 64px; height: 2px; margin: 22px auto 0; background: var(--gold); border-radius: 2px; }
.memorial-intro { color: #dfe1f3; margin: 0; font-size: 1.08rem; line-height: 1.65; }
.memorial-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(18px, 2.5vw, 28px); max-width: 980px; margin: 0 auto; }
.memorial-person { display: flex; flex-direction: column; align-items: center; padding: 16px 16px 24px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.memorial-photo { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-sm); outline: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); outline-offset: 4px; margin-bottom: 20px; }
.memorial-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .5s ease; }
.memorial-photo:hover img { transform: scale(1.04); }
.memorial-person h3 { color: #fff; font-size: 1.15rem; line-height: 1.3; margin: 0 0 6px; }
.memorial-person .prose p { margin: 0 0 6px; color: #c9cbe6; font-size: .98rem; }
.memorial-person .prose p:first-child em { display: block; color: var(--gold); font-style: normal; font-weight: 650; font-size: 1.05rem; margin-bottom: 2px; }
.memorial-person .prose p + p { margin-top: 12px; font-size: .92rem; line-height: 1.55; color: #aeb1d3; }
@media (min-width: 701px) { .memorial-person h3 { min-height: 2.6em; display: flex; align-items: flex-end; justify-content: center; } } /* namen even hoog: bijnaam en datum op één lijn */
@media (max-width: 700px) { .memorial-people { max-width: 360px; } }
.memorial-person h3 b { color: var(--gold); font-weight: 700; }

/* ---------- delen ---------- */
.share { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.share h2 { font-size: 1.25rem; }
.share-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btns a.btn { background: var(--c); border-color: var(--c); color: #fff; }
.share-btns [hidden] { display: none; }
.card-body .product-intro { margin-bottom: 10px; }
.product-card .card-body { display: flex; flex-direction: column; flex: 1; }
.product-card .price { margin-top: auto !important; }
.add-form { margin-top: 24px; }

/* ---------- telefoon ---------- */
@media (max-width: 700px) {
  body { line-height: 1.6; }
  h1 { hyphens: auto; overflow-wrap: break-word; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dt { font-size: .95rem; color: var(--muted); }
  .facts dd + dt { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
  .event { align-items: flex-start; gap: 14px; padding: 14px; }
  .event strong { line-height: 1.3; }
  .cal { font-size: .85rem; }
  .event small { font-size: .95rem; line-height: 1.45; }
  .photos { columns: 2; column-gap: 8px; }
  .photos a { margin-bottom: 8px; }
  .share-btns { display: grid; grid-template-columns: 1fr 1fr; }
  .share-btns .btn { padding-inline: 10px; }
}
