.jubileum { align-self: flex-start; display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
header.site { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
header.site .brand { font-family: var(--serif); font-size: 22px; color: var(--ink); }
header.site nav { display: flex; gap: 24px; font-size: 15px; font-weight: 500; }
header.site nav a { color: var(--ink); }

.hero { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,380px),1fr)); gap: clamp(32px,5vw,72px); align-items: center; padding-top: clamp(24px,5vw,64px); padding-bottom: clamp(56px,8vw,112px); }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(56px,9vw,112px); line-height: .95; }
.hero h1 em { color: var(--red); }
.dots { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.dots span { margin-left: 6px; }
.lead { font-size: clamp(18px,2vw,21px); line-height: 1.55; max-width: 34ch; text-wrap: pretty; }
.when { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); max-width: 420px; }
.when .big { font-family: var(--serif); font-size: 28px; }
.when .sub { font-size: 16px; color: var(--ink-2); }
.voortgang { display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.voortgang-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 17px; }
.voortgang-top span { font-size: 14px; color: var(--ink-muted); }
.voortgang-bar { height: 12px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.voortgang-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--red); transition: width .8s ease; }
.voortgang.is-gehaald .voortgang-bar i { background: var(--green); }
.voortgang-sub { font-size: 14px; color: var(--ink-2); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.crest { width: 100%; max-width: 520px; height: auto; mix-blend-mode: multiply; justify-self: center; }

section h2 { font-size: clamp(40px,5vw,64px); line-height: 1; }

/* Galerij-slider */
#galerij { background: var(--green); color: var(--cream); padding: clamp(56px,8vw,104px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head p { font-size: 17px; line-height: 1.5; color: var(--green-2); }
.gallery-slider { position: relative; overflow: hidden; border-radius: 16px; }
.gallery-track { display: flex; transition: transform .5s ease; }
.gallery-slide { flex: 0 0 100%; aspect-ratio: 16/9; background-size: cover; background-position: center; }
.gallery-slide { display: block; background-color: rgba(0,0,0,.15); }
.gallery-dots { flex-wrap: wrap; padding: 0 64px; }
.albums-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 40px 0 14px; }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--yellow); color: var(--ink); }
.albums { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,150px),1fr)); gap: 10px; }
.album { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; border: 1.5px solid rgba(251,246,236,.3); color: var(--cream); }
.album b { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; }
.album span { font-size: 14px; color: var(--green-2); }
.album:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.album:hover span { color: var(--green); }
.album-groep { position: relative; }
.album-groep > summary { list-style: none; cursor: pointer; height: 100%; }
.album-groep > summary::-webkit-details-marker { display: none; }
.album-groep > summary span::after { content: ' ▾'; }
.album-groep[open] > summary { background: var(--cream); border-color: var(--cream); color: var(--ink); border-radius: 14px 14px 0 0; }
.album-groep[open] > summary span { color: var(--green); }
.album-groep[open] > summary span::after { content: ' ▴'; }
.album-menu { position: absolute; z-index: 5; top: 100%; left: 0; right: 0; min-width: 180px; display: flex; flex-direction: column; padding: 6px; background: var(--cream); border-radius: 0 0 14px 14px; box-shadow: 0 12px 24px rgba(0,0,0,.2); }
.album-menu a { padding: 10px 12px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.album-menu a:hover { background: var(--yellow); color: var(--ink); }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: none; background: rgba(251,246,236,.92); color: var(--ink); font-size: 20px; cursor: pointer; }
.gallery-arrow:hover { background: var(--yellow); }
.gallery-arrow.prev { left: 16px; }
.gallery-arrow.next { right: 16px; }
.gallery-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; }
.gallery-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(251,246,236,.5); cursor: pointer; padding: 0; }
.gallery-dots button.active { background: var(--yellow); }

/* Inschrijven */
#inschrijven { padding: clamp(56px,8vw,104px) 0; }
.two { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,340px),1fr)); gap: clamp(32px,5vw,72px); align-items: start; }
.info { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 24px; }
.info p { font-size: 18px; line-height: 1.55; }
.info .blk { display: flex; flex-direction: column; gap: 6px; }
.price { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--sand); font-size: 17px; }
.price b { font-weight: 600; }

.inschrijf-form { display: flex; flex-direction: column; gap: 20px; background: var(--paper); border: 1px solid var(--sand); border-radius: 18px; padding: clamp(20px,3vw,36px); }
.inschrijf-form fieldset { border: none; display: flex; flex-direction: column; gap: 14px; }
.inschrijf-form legend { font-family: var(--serif); font-size: 24px; margin-bottom: 6px; }
.inschrijf-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.inp { min-height: 48px; padding: 0 14px; border: 1.5px solid var(--sand-2); border-radius: 10px; background: #fff; font-size: 16px; color: var(--ink); width: 100%; }
textarea.inp { padding: 12px 14px; min-height: 88px; resize: vertical; }
.inp:focus { outline: none; border-color: var(--red); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); gap: 14px; }
.count { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sand-3); }
.count > span { font-size: 16px; font-weight: 600; }
.count small { display: block; font-weight: 400; color: var(--ink-muted); font-size: 14px; }
.step { display: flex; align-items: center; gap: 6px; }
.step button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--sand-2); background: var(--cream); font-size: 20px; cursor: pointer; color: var(--ink); }
.step button:hover { border-color: var(--ink); }
.step output { min-width: 32px; text-align: center; font-size: 18px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.inschrijf-form .chips label { flex-direction: row; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--sand-2); border-radius: 999px; cursor: pointer; font-weight: 500; font-size: 15px; }
.chips input { accent-color: var(--red); width: 18px; height: 18px; }
.chips label:has(input:checked) { border-color: var(--red); background: #FDF0EE; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 20px; border-radius: 12px; background: var(--cream); }
.total b { font-family: var(--serif); font-size: 32px; font-weight: 400; }
.err { color: var(--red-ink); font-weight: 600; }
.hp { position: absolute; left: -9999px; }

.form-success { display: none; flex-direction: column; gap: 16px; padding: clamp(24px,3vw,40px); border-radius: 18px; background: var(--yellow); }
.form-success.is-visible { display: flex; }
.form-success h3 { font-size: 36px; }
.form-success p { font-size: 17px; line-height: 1.5; }
.pay { display: flex; flex-direction: column; gap: 2px; background: var(--yellow-2); border-radius: 12px; padding: 16px 20px; }
.pay div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 16px; flex-wrap: wrap; }
.pay b { font-weight: 700; }

/* Organiseer mee */
#meedoen { background: var(--yellow); padding: clamp(56px,8vw,104px) 0; }
#meedoen .section-head p { color: var(--ink); max-width: 52ch; }
.rollen { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,240px),1fr)); gap: 12px; }
.rol { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 20px; min-height: 120px; border-radius: 14px; border: 1.5px solid transparent; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 15px; line-height: 1.45; }
.rol b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; }
.rol span { color: var(--ink-2); }
.rol:hover { border-color: var(--ink); }
.rol.is-picked { border-color: var(--red); }
.rol { position: relative; }
.rol-status { align-self: flex-start; margin-top: auto; padding: 3px 10px; border-radius: 999px; background: var(--green-2); color: var(--green); font-style: normal; font-size: 13px; font-weight: 600; }
.rol-status.is-vol { background: var(--sand-3); color: var(--ink-muted); }
.rol[disabled] { cursor: not-allowed; background: #FFF7DD; }
.rol[disabled] b, .rol[disabled] span { color: var(--ink-muted); }
.rol[disabled]:hover { border-color: transparent; }
.inschrijf-form .chips label.is-vol { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.rollen-cta { margin-top: 24px; font-size: 17px; }
.rollen-cta a { color: var(--ink); text-decoration: underline; font-weight: 600; }

/* Peiling */
#peiling { padding: clamp(56px,8vw,104px) 0 0; }
.seg { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 12px; border: 1.5px solid var(--sand-2); border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; text-align: center; }
.seg input:checked + span { border-color: var(--red); background: #FDF0EE; color: var(--red-ink); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.inschrijf-form label.check { flex-direction: row; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; cursor: pointer; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--red); }
.edit-note { padding: 12px 16px; border-radius: 10px; background: var(--cream); font-size: 15px; font-weight: 600; }

/* Datumstemming */
.stem { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.stem-kop { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stem-ronde { font-size: 13px; font-weight: 600; color: var(--green); background: var(--green-2); padding: 3px 10px; border-radius: 999px; }
.stem-uitleg { font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.stem-lijst { display: flex; flex-direction: column; gap: 14px; }
.stem-maand { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.stem-maand legend { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); padding: 0; margin-bottom: 2px; }
.stem-dagen { display: flex; flex-wrap: wrap; gap: 8px; }
.stem-dag { position: relative; }
.stem-dag input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.stem-dag span { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--sand-2); border-radius: 999px; font-size: 15px; font-weight: 600; background: var(--paper); white-space: nowrap; }
.stem-dag span::before { content: ''; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--sand-2); background: #fff; flex: none; }
.stem-dag input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.stem-dag input:checked + span::before { content: '✓'; border-color: #fff; background: #fff; color: var(--green); font-size: 12px; line-height: 14px; text-align: center; }
.stem-dag input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.stem-teller { font-size: 14px; color: var(--ink-muted); }

/* Fasering peiling → datum → inschrijven */
.fasen { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fasen li { display: flex; gap: 12px; align-items: center; color: var(--ink-muted); }
.fasen b { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--sand-2); font-size: 15px; }
.fasen span { display: flex; flex-direction: column; }
.fasen strong { font-size: 16px; color: var(--ink-2); }
.fasen small { font-size: 13px; }
.fasen .is-nu b { background: var(--red); border-color: var(--red); color: #fff; }
.fasen .is-nu strong { color: var(--ink); }

.uitslag { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--paper); border: 1px solid var(--sand); border-radius: 16px; }
.uitslag-kop { display: flex; justify-content: space-between; gap: 12px; }
.uitslag-sluit { font-size: 13px; color: var(--ink-muted); }
.uitslag-lijst { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.u-kop { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin-bottom: 4px; }
.u-kop span { color: var(--ink-muted); font-size: 14px; }
.u-bar { display: flex; height: 10px; border-radius: 999px; background: var(--sand-3); overflow: hidden; }
.u-bar i, .uitslag-legenda i { display: block; height: 100%; }
.k-kan { background: var(--green); } .k-liever { background: var(--yellow); } .k-niet { background: var(--red); }
.stem-keuze .k-kan, .stem-keuze .k-liever, .stem-keuze .k-niet { background: none; }
.is-veto { opacity: .5; } .is-veto .u-kop b { text-decoration: line-through; }
.uitslag-legenda { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-muted); }
.uitslag-legenda span { display: flex; align-items: center; gap: 6px; }
.uitslag-legenda i { width: 10px; height: 10px; border-radius: 50%; }
.uitslag-noot { font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* Stamboom */
#stamboom { background: var(--sand-3); padding: clamp(56px,8vw,104px) 0; margin-top: clamp(56px,8vw,104px); }
#stamboom .section-head p { max-width: 44ch; color: var(--ink-2); }
.sb-ouders { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 24px 28px; margin-bottom: 20px; border-radius: 18px; background: var(--band); color: var(--cream); }
.sb-ouders .sb-data { color: #CDBFAE; }
.sb-en { font-family: var(--serif); font-size: 32px; color: var(--yellow); }
.sb-getrouwd { flex-basis: 100%; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.sb-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.sb-tools .inp { flex: 1 1 280px; max-width: 420px; }
.sb-zoekinfo { font-size: 14px; color: var(--ink-muted); }
.sb-takken { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,300px),1fr)); gap: 12px; align-items: start; }
.sb-tak { background: var(--paper); border: 1px solid var(--sand); border-radius: 16px; }
.sb-tak[open] { grid-column: 1 / -1; }
.sb-tak-kop { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px; list-style: none; }
summary.sb-tak-kop { cursor: pointer; }
summary.sb-tak-kop::-webkit-details-marker, .sb-sub > summary::-webkit-details-marker { display: none; }
summary.sb-tak-kop::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); font-size: 20px; line-height: 1; }
.sb-tak[open] > summary.sb-tak-kop::after { content: '−'; background: var(--red); color: #fff; }
.sb-tak-kop .sb-tel { margin-left: auto; }
.sb-tak-body { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 16px; }
.sb-persoon { display: flex; flex-direction: column; gap: 2px; min-width: 0; border-radius: 6px; }
.sb-persoon.is-hit { background: #FFF1C9; box-shadow: 0 0 0 6px #FFF1C9; }
.sb-naam { font-size: 16px; font-weight: 600; line-height: 1.3; }
.sb-naam.big { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.15; }
.sb-roep { font-style: italic; color: var(--red); margin-left: 6px; }
.sb-kruis { margin-left: 4px; color: var(--ink-muted); }
.sb-data { font-size: 14px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.sb-tel { flex: none; align-self: center; font-size: 13px; font-weight: 600; color: var(--green); background: var(--green-2); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.sb-gezin { display: flex; flex-direction: column; gap: 10px; }
.sb-partner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 15px; font-weight: 600; }
.sb-met { font-family: var(--serif); font-size: 20px; color: var(--red); font-weight: 400; }
.sb-partner .sb-data { font-weight: 400; }
.sb-kinderen { list-style: none; display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,220px),1fr)); gap: 8px; padding-left: 14px; border-left: 2px solid var(--sand); }
.sb-item { padding: 10px 12px; border-radius: 10px; background: var(--cream); }
.sb-item:has(details[open]) { grid-column: 1 / -1; background: #fff; border: 1px solid var(--sand); }
.sb-sub > summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; cursor: pointer; list-style: none; }
.sb-sub[open] > summary { margin-bottom: 12px; }
.sb-sub > .sb-gezin + .sb-gezin { margin-top: 12px; }
.sb-persoon.met-foto { flex-direction: row; align-items: center; gap: 10px; }
.sb-tekst { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sb-foto { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--sand); }
.sb-aanvul { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 24px; padding: 20px 24px; border-radius: 16px; background: var(--paper); border: 1px solid var(--sand); }
.sb-aanvul b { font-size: 18px; }
.sb-aanvul p { margin-top: 4px; max-width: 52ch; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.p-stamboom { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-radius: 12px; background: var(--yellow-2); }
.p-stamboom p { font-size: 15px !important; }

/* Stamboom aanvullen */
.sa { display: flex; flex-direction: column; gap: 28px; max-width: 820px; padding-top: 24px; padding-bottom: 96px; }
.sa-intro { display: flex; flex-direction: column; gap: 12px; }
.sa-intro h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px,5vw,56px); line-height: 1.05; }
.sa-intro p { font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 56ch; }
.sa-form { display: flex; flex-direction: column; gap: 28px; }
.sa-stap { display: flex; flex-direction: column; gap: 14px; }
.sa-stapkop { display: flex; align-items: center; gap: 12px; }
.sa-stapkop b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--cream); font-size: 16px; }
.sa-stapkop h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.sa-hint { font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
.sa-kaart { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--sand); }
.sa-kaart h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.sa-kaart.is-ik { background: #fff; }
.sa-kaartkop { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sa-kaartkop b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.sa-lijst { display: flex; flex-direction: column; gap: 12px; }
.sa-lijst:empty { display: none; }
.sa-knoppen { display: flex; flex-wrap: wrap; gap: 8px; }
.sa-knoppen .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.sa-opt { font-weight: 400; color: var(--ink-muted); }
.sa-x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--cream); font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); }
.sa-x:hover { background: var(--red); color: #fff; }
.sa-kiezer { position: relative; display: flex; flex-direction: column; }
.sa-hits { list-style: none; position: absolute; z-index: 5; top: 100%; left: 0; right: 0; margin-top: 4px; padding: 6px; background: #fff; border: 1px solid var(--sand); border-radius: 12px; box-shadow: 0 12px 24px rgba(42,29,20,.14); display: flex; flex-direction: column; }
.sa-hits button { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 44px; padding: 8px 10px; border: none; background: none; border-radius: 8px; text-align: left; font: inherit; cursor: pointer; color: var(--ink); }
.sa-hits button:hover, .sa-hits button:focus-visible { background: var(--cream); outline: none; }
.sa-hits b, .sa-chip b { font-size: 15px; }
.sa-hits small, .sa-chip small { font-size: 13px; color: var(--ink-muted); }
.sa-leeg { padding: 10px; font-size: 14px; color: var(--ink-muted); }
.sa-chip { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border-radius: 12px; background: var(--green-2); }
.sa-chip span { display: flex; flex-direction: column; gap: 2px; }
.sa-overl { display: flex; flex-direction: column; gap: 8px; }
.sa-foto input { font-size: 14px; font-weight: 400; }
.sa-foto img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; }
.sa-samen { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; background: var(--cream); }
.sa-samen-kop { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.sa-samen-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sa-samen-chips:empty { display: none; }
.sa-chip-klein { padding: 4px 4px 4px 12px; }
.sa-chip-klein .sa-x { width: 28px; height: 28px; font-size: 16px; }
.sa-samen .btn { align-self: flex-start; min-height: 44px; font-size: 15px; }
.sa-mijn, .sa-koppel { align-self: flex-start; }
.sa-fotoblok { display: flex; flex-direction: column; gap: 10px; }
.sa-toest { align-items: flex-start !important; padding: 10px 12px; border-radius: 10px; background: var(--yellow-2); font-size: 14px; line-height: 1.45; font-weight: 400; }
.sa-toest input { margin-top: 2px; flex: none; }
.sa-bij { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 12px; background: var(--cream); }
.sa-kaart[data-bij] { margin-left: clamp(12px, 3vw, 28px); }
.sa-beheer { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 12px; background: var(--yellow-2); font-size: 15px; line-height: 1.5; }
.sa .form-success { max-width: 640px; }

.p-wie { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--sand); }
.p-wie > b { font-size: 17px; }
.p-wie p { font-size: 15px !important; }
.p-wie-lijst { display: flex; flex-direction: column; gap: 8px; }
.p-wie-optie { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "naam ja" "ctx ja"; align-items: center; gap: 2px 12px; min-height: 56px; padding: 10px 14px; border: 1.5px solid var(--sand); border-radius: 12px; background: var(--paper); text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.p-wie-optie:hover { border-color: var(--ink); }
.p-wie-naam { grid-area: naam; font-weight: 600; }
.p-wie-optie small { grid-area: ctx; font-size: 13px; color: var(--ink-muted); }
.p-wie-ja { grid-area: ja; padding: 6px 12px; border-radius: 999px; background: var(--green); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.p-wie-nee { align-self: flex-start; border: none; background: none; padding: 6px 0; font: inherit; font-size: 14px; color: var(--ink-muted); text-decoration: underline; cursor: pointer; }
.p-hoi { padding: 12px 16px; border-radius: 12px; background: var(--yellow-2); font-size: 16px; font-weight: 600; }

.galerij-dicht { display: flex; flex-direction: column; gap: 8px; max-width: 640px; padding: 22px 24px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.galerij-dicht b { font-size: 20px; }
.galerij-dicht p { font-size: 16px; line-height: 1.5; opacity: .9; }
.galerij-dicht a { color: inherit; text-decoration: underline; }

/* Nieuwsbrief */
.nb { padding: clamp(48px,7vw,88px) 0; }
.nb-in { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 24px 48px; align-items: start; }
.nb-tekst { display: flex; flex-direction: column; gap: 12px; }
.nb-tekst h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px,4vw,48px); line-height: 1.05; }
.nb-tekst p { font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.nb-form { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--sand); }
.nb-velden { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.nb-velden label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.nb-form .btn { align-self: flex-start; }
.nb-klaar { padding: 12px 16px; border-radius: 12px; background: var(--green-2); color: var(--green); font-weight: 600; }
.nb-klein { font-size: 13px; color: var(--ink-muted); }
@media (max-width: 760px) { .nb-in { grid-template-columns: 1fr; } }

/* Stamboom focusweergave */
.sf-publiek { display: flex; flex-direction: column; gap: 6px; max-width: 640px; margin-bottom: 14px; padding: 20px 22px; border-radius: 16px; background: var(--paper); border: 1px solid var(--sand); font-size: 16px; line-height: 1.5; }
.sf-publiek b { font-size: 20px; }
.sf-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.sf-zoek { position: relative; flex: 1 1 260px; max-width: 440px; }
.sf-zoek .inp { width: 100%; }
.sf-ikinfo { margin-bottom: 12px; padding: 12px 16px; border-radius: 12px; background: var(--yellow-2); font-size: 15px; }
.sf-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-bottom: 16px; font-size: 14px; }
.sf-crumb { border: none; background: none; padding: 6px 4px; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-decoration-color: var(--sand-2); text-underline-offset: 3px; }
.sf-crumb:hover { color: var(--red); }
.sf-crumb.is-nu { text-decoration: none; color: var(--ink); cursor: default; }
.sf-sep { color: var(--ink-muted); }
.sf { display: flex; flex-direction: column; align-items: center; }
.sf > * { width: 100%; }
.sf > *:not(:empty):not([hidden]) + *:not(:empty) { position: relative; margin-top: 28px; }
.sf > *:not(:empty):not([hidden]) + *:not(:empty)::before { content: ''; position: absolute; left: 50%; top: -28px; height: 28px; width: 2px; background: var(--sand-2); }
.sf-groep { display: flex; flex-direction: column; gap: 8px; }
.sf-groep + .sf-groep { margin-top: 16px; }
.sf-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.is-ouders { align-items: center; }
.is-ouders .sf-grid { display: flex; flex-wrap: wrap; justify-content: center; width: 100%; }
.is-ouders .sf-kaart { width: min(100%, 300px); }
.sf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; }
.sf-kaart { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px 10px 10px; border: 1px solid var(--sand); border-radius: 14px; background: var(--paper); text-align: left; font: inherit; color: var(--ink); cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.sf-kaart:hover { transform: translateY(-1px); border-color: var(--sand-2); box-shadow: 0 6px 16px rgba(42,29,20,.08); }
.sf-kaart:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sf-kt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sf-kt b { font-size: 15px; line-height: 1.3; }
.sf-kt em { font-size: 14px; color: var(--red); }
.sf-kt small { font-size: 13px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.sf-kt .sf-gehuwd { color: var(--red); font-weight: 600; }
.sf-kt .sf-tel { color: var(--green); font-weight: 600; }
.sf-av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; font-size: 14px; font-weight: 700; color: #fff; }
.sf-av.groot { width: 72px; height: 72px; font-size: 24px; }
.sf-av img { width: 100%; height: 100%; object-fit: cover; }
.g0 { background: var(--band); } .g1 { background: var(--red); } .g2 { background: var(--green); }
.g3 { background: var(--yellow); color: var(--ink); } .g4 { background: oklch(0.52 0.09 250); }
.g5 { background: oklch(0.5 0.1 330); } .g6 { background: var(--ink-muted); }
.sf-focus { display: flex; flex-direction: column; gap: 16px; padding: clamp(18px,3vw,28px); border-radius: 20px; background: #fff; border: 1px solid var(--sand); box-shadow: 0 10px 30px rgba(42,29,20,.08); max-width: 760px; align-self: center; }
.sf-focus.in { animation: sfIn .25s ease-out; }
@keyframes sfIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sf-fkop { display: flex; align-items: center; gap: 18px; }
.sf-ft { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sf-ft h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px,4vw,36px); line-height: 1.1; text-wrap: pretty; }
.sf-gen { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.sf-roep { font-size: 18px; color: var(--red); }
.sf-data { font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sf-partners { display: flex; flex-direction: column; gap: 8px; }
.sf-ikknop { align-self: flex-start; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--sand-2); background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.sf-acties { display: flex; flex-wrap: wrap; gap: 8px; }
a.sf-ikknop { display: inline-flex; align-items: center; text-decoration: none; }
.sf-ikknop:hover { border-color: var(--ink); color: var(--ink); }
.sf-ikknop.is-ik { background: var(--green); border-color: var(--green); color: #fff; }
.sf-leeg { text-align: center; font-size: 15px; color: var(--ink-muted); }
.is-broers { padding-top: 20px; border-top: 1px dashed var(--sand-2); }
.is-broers .sf-kaart { background: transparent; }
.sf-legenda { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 24px; font-size: 13px; color: var(--ink-muted); }
.sf-legenda span { display: flex; align-items: center; gap: 6px; }
.sf-legenda i { width: 10px; height: 10px; border-radius: 50%; }
@media (max-width: 560px) {
  .sf-grid { grid-template-columns: 1fr 1fr; }
  .sf-kaart { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .is-ouders .sf-kaart { width: calc(50% - 4px); }
  .sf-fkop { gap: 14px; }
  .sf-av.groot { width: 56px; height: 56px; font-size: 20px; }
  .sf-bar .btn { flex: 1 1 auto; }
}

.sb-noot { margin-top: 24px; font-size: 15px; color: var(--ink-2); }

/* Uit onze geschiedenis */
#verhalen { padding: clamp(56px,8vw,104px) 0; }
#verhalen .section-head p { max-width: 44ch; color: var(--ink-2); }
.verhalen { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,560px),1fr)); gap: 16px; }
.verhaal { display: grid; grid-template-columns: minmax(120px,180px) minmax(0,1fr); gap: clamp(18px,3vw,32px); padding: clamp(18px,3vw,28px); background: var(--paper); border: 1px solid var(--sand); border-radius: 18px; }
.verhaal.zonder-beeld { grid-template-columns: 1fr; }
.verhaal-beeld { display: block; align-self: start; }
.verhaal-beeld img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 8px 24px rgba(42,29,20,.18); }
.verhaal-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.verhaal-body h3 { font-size: clamp(26px,3vw,34px); line-height: 1.05; }
.verhaal-bron { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.verhaal-body p { font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.verhaal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.verhaal-extra { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .verhaal { grid-template-columns: 1fr; } .verhaal-beeld { max-width: 160px; } }

@media (max-width: 860px) {
  .info { position: static; }
  .gallery-slide { aspect-ratio: 4/3; }
  header.site nav { gap: 16px; }
}

.sb-aanvul[hidden] { display: none !important; }

.voortgang[hidden] { display: none; }
