:root {
  --ink: #1B2433; --blue: #23395B; --gold: #B08A3E;
  --bg: #EDF0F4; --line: #9AA6B8; --muted: #6B7686; --card: #fff;
  --border: #C9D1DC;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 'Nunito Sans', system-ui, sans-serif; color: var(--ink); background: var(--bg); }
h1 { font: 600 1.75rem/1.2 'Lora', Georgia, serif; margin: 0 0 1rem; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.hidden { display: none !important; }

/* Inloggen / aanmelden */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.card { background: var(--card); padding: 2rem; border-radius: 12px; width: 100%; max-width: 380px; border: 1px solid var(--border); }
.intro { margin: 0 0 1.25rem; color: var(--muted); }
label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 1rem; }
input { display: block; width: 100%; margin-top: .3rem; padding: .65rem .75rem; font: inherit; font-weight: 400; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.pw { display: flex; gap: .4rem; margin-top: .3rem; }
.pw input { margin: 0; }
.eye { flex: none; padding: 0 .8rem; border: 1px solid var(--border); border-radius: 8px; background: #fff; font: inherit; font-size: .85rem; cursor: pointer; }
.btn { width: 100%; padding: .75rem; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.btn:disabled { opacity: .6; cursor: default; }
.msg { color: #A3261F; min-height: 1.2em; margin: 0 0 .8rem; }
.msg.ok { color: #2E6B3A; }
.alt { margin: 1.2rem 0 0; font-size: .9rem; color: var(--muted); }

/* Organigram */
.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--card); border-bottom: 1px solid var(--border); }
.top h1 { margin: 0; font-size: 1.4rem; }
.link { background: none; border: 0; color: var(--blue); font: inherit; cursor: pointer; text-decoration: underline; }
.wrap { overflow-x: auto; padding: 2rem 1rem 3rem; }
.state { text-align: center; color: var(--muted); padding: 3rem 1rem; }

.tree { width: max-content; margin: 0 auto; }
.tree ul { margin: 0; padding: 24px 0 0; position: relative; display: flex; justify-content: center; }
.tree > ul { padding-top: 0; }
.tree li { list-style: none; position: relative; padding: 24px 6px 0; display: flex; flex-direction: column; align-items: center; }
.tree li::before, .tree li::after { content: ''; position: absolute; top: 0; right: 50%; width: 50%; height: 24px; border-top: 2px solid var(--line); }
.tree li::after { right: auto; left: 50%; border-left: 2px solid var(--line); }
.tree li:only-child { padding-top: 0; }
.tree li:only-child::before, .tree li:only-child::after { display: none; }
.tree li:first-child::before, .tree li:last-child::after { border: 0 none; }
.tree li:last-child::before { border-right: 2px solid var(--line); }
.tree ul ul::before { content: ''; position: absolute; top: 0; left: 50%; height: 24px; border-left: 2px solid var(--line); }

.unit { display: flex; flex-direction: column; align-items: center; }
.unit-name { font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: .35rem; }
.row { display: flex; gap: 8px; justify-content: center; position: relative; }
.row + .row { margin-top: 20px; }
.row + .row::before { content: ''; position: absolute; top: -20px; left: 50%; height: 20px; border-left: 2px solid var(--line); }

.pos { width: 140px; padding: .55rem .6rem; background: var(--card); border: 1px solid var(--border); border-radius: 8px; text-align: center; }
.pos .t { font-size: .75rem; line-height: 1.3; color: var(--muted); }
.pos .n { font-size: .9rem; font-weight: 700; line-height: 1.3; margin-top: .15rem; }
.pos.lead { background: var(--blue); border-color: var(--blue); color: #fff; }
.pos.lead .t { color: #C9D3E3; }
.pos.vacant { background: transparent; border-style: dashed; }
.pos.vacant .n { color: var(--muted); font-weight: 600; }
.pos.lead.vacant { background: transparent; border-color: var(--blue); color: var(--ink); }
.pos.lead.vacant .t { color: var(--muted); }

/* Navigatie */
.nav { display: flex; gap: 1rem; align-items: center; }

/* Beheer */
.admin { max-width: 820px; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
.admin section { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; margin-bottom: 1.5rem; }
h2 { font: 600 1.25rem/1.3 'Lora', Georgia, serif; margin: 0 0 1rem; }
.inline { display: flex; gap: .6rem; align-items: flex-end; flex-wrap: wrap; }
.inline label { margin: 0; flex: 1 1 220px; }
.btn.small { width: auto; padding: .65rem 1rem; }
.hint { font-size: .85rem; color: var(--muted); margin: .6rem 0 1rem; }
.list { width: 100%; border-collapse: collapse; font-size: .92rem; }
.list th { text-align: left; font-size: .8rem; font-weight: 700; color: var(--muted); padding: .4rem .5rem; border-bottom: 1px solid var(--border); }
.list td { padding: .55rem .5rem; border-bottom: 1px solid #E3E7ED; vertical-align: middle; }
.list .sub { display: block; font-size: .8rem; color: var(--muted); }
.tag { font-size: .8rem; padding: .1rem .5rem; border-radius: 99px; background: #E3E7ED; white-space: nowrap; }
.tag.on { background: #DCEBDF; color: #2E6B3A; }
.btn-ghost { border: 1px solid var(--border); background: #fff; border-radius: 8px; padding: .4rem .7rem; font: inherit; font-size: .85rem; cursor: pointer; white-space: nowrap; }
.unitbox { border-top: 1px solid #E3E7ED; padding: 1rem 0; }
.unitbox:first-child { border-top: 0; padding-top: 0; }
.unitbox .u-name { font-weight: 700; margin: 0 0 .6rem; }
.prow { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .4rem; }
.prow input { margin: 0; }
select { display: block; width: 100%; padding: .6rem .7rem; font: inherit; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.toast { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.toast.show { opacity: 1; }
.toast.err { background: #A3261F; }
@media (max-width: 560px) { .prow { grid-template-columns: 1fr; margin-bottom: .9rem; } }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* Header-navigatie */
.top { flex-wrap: wrap; }
.nav { flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--gold); }

.avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .85rem; }
.avatar.group { background: var(--gold); }

/* Tijdlijn */
.feed { max-width: 680px; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
.box { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem; margin-bottom: 1rem; }
.feed textarea { display: block; width: 100%; min-height: 90px; padding: .65rem .75rem; font: inherit; border: 1px solid var(--border); border-radius: 8px; resize: vertical; margin-bottom: .6rem; }
.post + .post { border-top: 1px solid #E3E7ED; margin-top: 1rem; padding-top: 1rem; }
.post-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.post-head .who { font-weight: 700; font-size: .92rem; }
.post-head .when { font-size: .78rem; color: var(--muted); }
.post-head .del { margin-left: auto; font-size: .8rem; color: var(--muted); }
.post-text { white-space: pre-wrap; overflow-wrap: anywhere; }

/* Chat */
.chat { max-width: 1000px; margin: 0 auto; padding: 1.5rem 1rem; display: grid; grid-template-columns: 260px 1fr; gap: 1rem; height: min(80vh, 760px); }
.chat-list { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: .75rem; overflow-y: auto; min-height: 0; }
.chat-list input { margin: 0 0 .6rem; }
.citem { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .5rem; border: 0; background: none; border-radius: 8px; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.citem:hover { background: var(--bg); }
.citem.active { background: #DDE4EE; font-weight: 700; }
.dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-left: auto; }
.chat-win { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 12px; min-height: 0; }
.chat-head { padding: .85rem 1rem; border-bottom: 1px solid var(--border); font-weight: 700; }
.msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.msg { max-width: 75%; align-self: flex-start; padding: .5rem .75rem; border-radius: 12px; background: var(--bg); white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.me { align-self: flex-end; background: var(--blue); color: #fff; }
.msg .meta { font-size: .75rem; font-weight: 700; color: var(--muted); margin-bottom: .1rem; }
.chat-input { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--border); }
.chat-input textarea { flex: 1; resize: none; padding: .6rem .75rem; font: inherit; border: 1px solid var(--border); border-radius: 8px; }
@media (max-width: 700px) {
  .chat { grid-template-columns: 1fr; grid-template-rows: 170px 70vh; height: auto; }
}

/* Taalkeuze */
select.lang { display: inline-block; width: auto; padding: .3rem .5rem; font-size: .85rem; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.card-top h1 { margin-bottom: 1rem; }
.check { width: auto; margin: 0; }

/* Beheer: eenheden en posities */
.inline select { margin-top: .3rem; }
.unitbox { margin-left: calc(var(--depth, 0) * 1rem); }
.unit-head { display: grid; grid-template-columns: 1fr 1fr auto; gap: .5rem; margin-bottom: .6rem; }
.unitbox .unit-head .u-name { margin: 0; font-weight: 700; }
.prow { grid-template-columns: 1fr 1fr 64px auto; align-items: center; }
.prow-head { margin-bottom: .15rem; font-size: .75rem; font-weight: 700; color: var(--muted); }
.p-level { text-align: center; }
.btn-ghost.danger { color: #A3261F; }
.p-del { padding: .4rem .65rem; font-size: 1rem; line-height: 1; }
.p-add { margin-top: .3rem; }
@media (max-width: 560px) {
  .unit-head { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 1fr 64px auto; }
  .prow .p-title { grid-column: 1 / -1; }
  .prow-head { display: none; }
  .unitbox { margin-left: 0; }
}

/* Avatars */
img.avatar { object-fit: cover; cursor: zoom-in; background: var(--bg); }
.avatar.md { width: 40px; height: 40px; font-size: 1rem; margin: 0 auto .35rem; }
.avatar.xl { width: 140px; height: 140px; font-size: 3rem; }
.pos span.avatar.md { display: grid; }
.pos img.avatar.md { display: block; }
.pos a.n { display: block; color: inherit; text-decoration: none; }
.pos a.n:hover { text-decoration: underline; }
.post-head a.who { color: var(--ink); text-decoration: none; }
.post-head a.who:hover { text-decoration: underline; }
.chat-head { display: flex; align-items: center; gap: .6rem; }
.chat-head a { color: var(--ink); text-decoration: none; }
.who-cell { display: flex; align-items: center; gap: .6rem; }
.who-cell a { color: var(--ink); font-weight: 600; text-decoration: none; }

/* Profiel */
.p-top { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.p-main { flex: 1 1 220px; }
.p-main h2 { font-size: 1.6rem; margin: 0 0 .75rem; }
.p-main label { margin-bottom: .75rem; }
.p-main .btn { display: inline-block; text-decoration: none; text-align: center; }
.p-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1rem; }
.p-actions .hint { flex-basis: 100%; margin: 0; }
.file-btn { display: inline-block; margin: 0; font-weight: 600; cursor: pointer; }
.file-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-btn:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.box h3 { font: 600 1.1rem/1.3 'Lora', Georgia, serif; margin: 1.5rem 0 .5rem; }
.pos-list { margin: 0; padding-left: 1.1rem; }
.pos-list li { margin-bottom: .3rem; }
.sub { color: var(--muted); font-size: .85rem; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(15, 22, 34, .92); display: flex; align-items: center; justify-content: center; }
.lb.hidden { display: none; }
.lb-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: auto; padding: 3.5rem 4rem; box-sizing: border-box; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; cursor: zoom-in; }
.lb.zoomed .lb-stage { display: block; }
.lb.zoomed .lb-stage img { max-width: none; max-height: none; cursor: zoom-out; }
.lb-btn { position: absolute; z-index: 1; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); display: none; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb.multi .lb-prev, .lb.multi .lb-next { display: block; }
@media (max-width: 560px) { .lb-stage { padding: 3.5rem .5rem; } }

/* Formulieren */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .75rem; }
.form-actions { display: flex; gap: .5rem; align-items: center; }
.feed h2 { margin-bottom: .9rem; }
.feed .box textarea { display: block; width: 100%; min-height: 90px; margin-top: .3rem; padding: .65rem .75rem; font: inherit; font-weight: 400; border: 1px solid var(--border); border-radius: 8px; resize: vertical; }
@media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }

/* Community Cash */
.cash-total { text-align: center; padding: 1.5rem 1rem; }
.big-amount { font: 600 2.6rem/1.15 'Lora', Georgia, serif; color: var(--blue); margin: .25rem 0; }
.don-row { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-top: 1px solid #E3E7ED; }
.don-row:first-child { border-top: 0; padding-top: 0; }
.don-title { font-weight: 700; }
.don-author { color: var(--gold); font-weight: 700; font-size: .9rem; }
.don-right { text-align: right; flex: none; }
.don-amount { font-weight: 700; font-variant-numeric: tabular-nums; }
.don-right .del { font-size: .8rem; color: var(--muted); }

/* Evenementen */
.add-ev { margin-bottom: 1rem; }
.ev-heading { font-size: 1.15rem; margin: .5rem 0 .75rem; }
.event { display: flex; gap: 1rem; }
.ev-date { flex: none; width: 58px; height: 64px; border-radius: 10px; background: var(--blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.ev-day { font: 600 1.5rem/1 'Lora', Georgia, serif; }
.ev-mon { font-size: .8rem; }
.ev-body { flex: 1; min-width: 0; }
.ev-body h3 { font: 600 1.15rem/1.3 'Lora', Georgia, serif; margin: 0 0 .2rem; }
.ev-desc { margin-top: .6rem; }
.ev-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .8rem; }
.ev-foot .btn.small { padding: .45rem .9rem; }
.ev-people { display: flex; }
.ev-people .avatar { width: 28px; height: 28px; font-size: .75rem; border: 2px solid var(--card); margin-left: -6px; }
.ev-people .avatar:first-child { margin-left: 0; }
.ev-meta { margin-top: .6rem; }
.ev-meta .del { font-size: .8rem; color: var(--muted); }
details#pastWrap { margin-top: 1.5rem; }
details#pastWrap summary { cursor: pointer; font-weight: 700; margin-bottom: .75rem; }
details#pastWrap .event { opacity: .75; }

/* Groepschats */
.new-group { width: 100%; margin-bottom: .6rem; font-weight: 700; }
.clabel { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: .8rem .5rem .3rem; }
.chat-head .grow { flex: 1; min-width: 0; }
.chat-head .btn-ghost { flex: none; }
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(15, 22, 34, .5); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal.hidden { display: none; }
.modal-card { background: var(--card); border-radius: 12px; padding: 1.25rem; width: 100%; max-width: 440px; max-height: 90vh; display: flex; flex-direction: column; }
.modal-card h2 { margin: 0 0 1rem; }
.modal-card > input[type="search"] { margin: 0 0 .5rem; }
.pick-list { flex: 1; min-height: 120px; overflow-y: auto; border: 1px solid var(--border); border-radius: 8px; padding: .3rem; margin-bottom: 1rem; }
.pick { display: flex; align-items: center; gap: .6rem; margin: 0; padding: .4rem .5rem; border-radius: 6px; font-weight: 600; cursor: pointer; }
.pick:hover { background: var(--bg); }
.pick input { width: auto; margin: 0; }
.form-actions { flex-wrap: wrap; }

/* Merk */
.top { justify-content: flex-start; }
.top .nav { margin-left: auto; }
.brand { display: flex; flex: none; }
.brand img { display: block; border-radius: 8px; }
.auth-logo { display: block; height: 40px; width: auto; margin: 0 0 1.25rem; }

/* Menuknop mobiel */
.nav-toggle { display: none; border: 1px solid var(--border); background: #fff; border-radius: 8px; width: 42px; height: 38px; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .nav-toggle { display: block; margin-left: auto; }
  .top .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: .85rem; margin-left: 0; padding: .75rem 0 .25rem; }
  .top .nav.open { display: flex; }
}

/* Hulpbord */
.page-sub { color: var(--muted); margin: 0 0 1rem; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.chip { border: 1px solid var(--border); background: #fff; color: var(--ink); border-radius: 99px; padding: .35rem .85rem; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.badge { display: inline-block; margin-left: .45rem; padding: .05rem .5rem; border-radius: 99px; font-size: .72rem; font-weight: 700; vertical-align: 1px; }
.badge.ask { background: #F6E3D6; color: #8A4B2B; }
.badge.offer { background: #DCEBDF; color: #2E6B3A; }
.mk-img { display: block; width: 100%; max-height: 280px; object-fit: cover; border-radius: 10px; margin: .2rem 0 .6rem; cursor: zoom-in; }
.mk-title { font-weight: 700; }
.mk-price { color: var(--gold); font-weight: 700; }
.mk-reply { display: inline-block; margin-top: .5rem; font-weight: 700; font-size: .9rem; text-decoration: none; }
.mk-reply:hover { text-decoration: underline; }

/* Akkoord + juridische links */
.check-row { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .9rem; }
.check-row input { width: auto; margin: .2rem 0 0; flex: none; }
.legal-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: center; font-size: .82rem; padding: 1rem; }
.legal-links a { color: var(--muted); }

/* Juridische pagina's */
.legal { max-width: 760px; margin: 0 auto; padding: 2rem 1.25rem 4rem; line-height: 1.65; }
.legal-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.legal-top img { height: 36px; width: auto; }
.legal .notice { background: #FFF7E6; border: 1px solid var(--gold); border-radius: 10px; padding: .8rem 1rem; font-size: .88rem; color: var(--muted); font-style: italic; margin-bottom: 1.75rem; }
.legal h1 { font-size: 2rem; margin: 0 0 .25rem; }
.legal .updated { color: var(--muted); font-size: .85rem; margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
.legal p, .legal li { font-size: .95rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .35rem; }
.ph { background: #FDF0D9; padding: 0 .3rem; border-radius: 4px; font-family: ui-monospace, monospace; font-size: .85em; }
.legal section[lang] { display: none; }
.legal section[lang].on { display: block; }

/* Abonnement */
.sub-status { font-weight: 700; padding: .5rem .75rem; border-radius: 8px; display: inline-block; margin: 0 0 .5rem; }
.sub-status.ok { background: #DCEBDF; color: #2E6B3A; }
.sub-status.trial { background: #FFF2D6; color: #7A5C2E; }
.sub-status.bad { background: #F8DCD9; color: #A3261F; }
#abonnement .btn.small { margin: .5rem 0 .25rem; }
.modal-card p { margin: 0 0 1rem; }
.modal-card a.btn { text-decoration: none; display: inline-block; }

/* Landingspagina */
.landing { background: var(--bg); }
.land-top { max-width: 1120px; margin: 0 auto; padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.land-logo img { display: block; height: 40px; width: auto; }
.land-actions { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.land-actions a { text-decoration: none; }
.land-actions .btn-ghost { padding: .6rem 1rem; font-weight: 700; color: var(--ink); }
.landing main { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; padding: 3rem 0 4rem; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.12; margin: 0 0 1rem; color: var(--blue); }
.lead { font-size: 1.15rem; color: var(--ink); max-width: 34em; margin: 0 0 1.75rem; }
.hero-cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-cta .btn, .price-card .btn, .land-end .btn { width: auto; display: inline-block; padding: .85rem 1.6rem; text-decoration: none; font-size: 1.05rem; }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(35, 57, 91, .18)); }
.features { padding: 1rem 0 3.5rem; }
.features h2, .land-end h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); text-align: center; margin: 0 0 2rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature-grid article { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem; }
.f-ic { font-size: 1.6rem; display: block; margin-bottom: .5rem; }
.feature-grid h3 { font: 600 1.1rem/1.3 'Lora', Georgia, serif; margin: 0 0 .35rem; }
.feature-grid p { margin: 0; color: var(--muted); font-size: .95rem; }
.land-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: 3.5rem; }
.price-card, .privacy-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; }
.price-card { border: 2px solid var(--blue); }
.price-card h2, .privacy-card h2 { font-size: 1.4rem; margin: 0 0 .75rem; }
.price { margin: 0 0 .5rem; }
.price #priceVal { font: 600 2.8rem/1 'Lora', Georgia, serif; color: var(--blue); }
.land-end { text-align: center; padding: 3rem 1rem 4rem; background: var(--blue); color: #fff; border-radius: 20px; margin-bottom: 2rem; }
.land-end h2 { color: #fff; margin-bottom: 1.5rem; }
.land-end .btn { background: var(--gold); color: #1B2433; }
.land-foot { max-width: 1120px; margin: 0 auto; padding: 1rem 1.25rem 2rem; justify-content: flex-start; }
.land-foot span { color: var(--muted); }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 1.5rem; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .land-split { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .land-actions .btn.small { display: none; } }
.tag.free { background: #FFF2D6; color: #7A5C2E; }

/* Uitloggen gelijk aan de andere navigatielinks */
.nav #logout { text-decoration: none; font-weight: 600; color: var(--blue); padding: 0; }
.nav #logout:hover { text-decoration: underline; }
.family-note { text-align: center; color: var(--muted); margin: 0 0 2rem; }

/* Aanwezigheid */
.att-btn { margin-top: .6rem; }
.att-card { max-width: 560px; }
.att-print { text-align: center; }
.att-print-title { display: none; }
.att-qr { width: min(280px, 70vw); margin: 0 auto .75rem; }
.att-qr svg { display: block; width: 100%; height: auto; }
.att-print .sub { margin: .25rem 0; }
.att-actions { justify-content: center; margin: .75rem 0 1rem; }
.att-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; overflow-y: auto; min-height: 0; border-top: 1px solid var(--border); padding-top: .75rem; }
.att-lists h3 { font: 600 1rem/1.3 'Lora', Georgia, serif; margin: 0 0 .5rem; }
.att-list { list-style: none; margin: 0; padding: 0; }
.att-list li { display: flex; align-items: center; gap: .5rem; padding: .3rem 0; font-size: .92rem; }
.att-list li .avatar { width: 26px; height: 26px; font-size: .7rem; }
.att-list li .sub { margin-left: auto; }
@media (max-width: 480px) { .att-lists { grid-template-columns: 1fr; } }
@media print {
  body > *:not(#attModal) { display: none !important; }
  #attModal { position: static; background: none; padding: 0; }
  #attModal .modal-card { box-shadow: none; max-height: none; border: 0; }
  #attModal h2, .att-actions, .att-lists { display: none !important; }
  .att-print-title { display: block; font: 600 1.6rem/1.3 'Lora', Georgia, serif; margin: 0 0 1.5rem; }
  .att-qr { width: 12cm; }
  .att-print .sub { font-size: 1rem; color: #000; }
}

/* Inchecken */
.checkin { text-align: center; }
.checkin .auth-logo { margin: 0 auto 1.25rem; }
.ci-icon { font-size: 3rem; line-height: 1; margin-bottom: .5rem; }
.ci-good { color: #2E6B3A; font-weight: 700; }
.ci-bad { color: #A3261F; font-weight: 700; }
.checkin .btn { display: inline-block; width: auto; text-decoration: none; padding: .7rem 1.4rem; margin-top: .5rem; }

/* Inchecken: lid of bezoeker */
.checkin h1 { font-size: 1.5rem; margin-bottom: .35rem; }
.ev-info { color: var(--muted); margin: 0 0 1.25rem; }
.ci-h { font-size: 1.05rem; margin: 0 0 .6rem; text-align: left; }
.checkin form { text-align: left; }
.checkin #loginBtn { display: block; text-decoration: none; text-align: center; margin: 0; width: 100%; }
.ci-or { display: flex; align-items: center; gap: .75rem; color: var(--muted); margin: 1.25rem 0; font-size: .85rem; }
.ci-or::before, .ci-or::after { content: ''; flex: 1; border-top: 1px solid var(--border); }
.checkin #gBtn { margin-top: .25rem; }
#ciMsg { font-size: 1.05rem; }

/* Aanwezigheid: bezoekers en printkop */
.att-guests { grid-column: 1 / -1; }
.att-print-head { display: none; }
@media print {
  .att-print-head { display: block; font: 600 2rem/1.2 'Lora', Georgia, serif; margin: 0 0 .5rem; }
}

/* Organisatielogo */
.brand.has-logo img { border-radius: 0; height: 38px; width: auto; max-width: 160px; object-fit: contain; }
.logo-row { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.logo-preview { width: 180px; height: 90px; border: 1px dashed var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: .5rem; background: #fff; }
.logo-preview img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
.logo-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.auth-logo.org-logo { height: 64px; max-width: 220px; object-fit: contain; }
.att-logo { display: block; height: 56px; width: auto; max-width: 220px; object-fit: contain; margin: 0 auto .75rem; }
@media print { .att-logo { height: 2.5cm; max-width: 9cm; margin-bottom: 1rem; } }
