/* Flipkaart — stijlen voor website, kaart en portaal */

@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ground: #F3F5F4;
  --surface: #FFFFFF;
  --ink: #1F2A33;
  --muted: #55626C;
  --line: #D8DFDC;
  --field: #A9B5B0;
  --accent: #3E6B5C;
  --accent-dark: #2C4F43;
  --accent-soft: #E3ECE8;
  --error: #A3361F;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.15; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 600px) { .wrap { padding-left: 20px; padding-right: 20px; } }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-sm { min-height: 44px; padding: 0 20px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-danger { border-color: var(--error); color: var(--error); background: transparent; }
.btn-danger:hover { background: var(--error); color: #fff; }
.linklike { background: none; border: none; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-decoration: none; min-height: 44px; }
.linklike:hover { text-decoration: underline; }
.inline-form { display: inline; margin: 0; }

/* Navigatie */
.site-header, .portal-header { border-bottom: 1px solid var(--line); background: var(--ground); }
.portal-header { background: var(--surface); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand span:first-of-type { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.brand-tag { font-size: 14px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 10px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; }
.nav-links a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.nav-links .nav-strong { color: var(--accent); font-weight: 600; }
.nav-links .btn { color: #fff; }
.nav-links .btn:hover { text-decoration: none; }

/* Typografie secties */
.eyebrow { margin: 0 0 16px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.display { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -.01em; }
.h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 42px); }
.lead { margin: 24px 0 0; max-width: 540px; font-size: 19px; color: var(--muted); }
.muted { color: var(--muted); }
.section { padding-top: 96px; padding-bottom: 96px; }
.section-intro { margin: 12px 0 0; max-width: 620px; color: var(--muted); }
.band-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { .section { padding-top: 64px; padding-bottom: 64px; } }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: 96px; padding-bottom: 80px; }
.hero-text { flex: 1 1 480px; min-width: 0; }
.hero-visual { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.btn-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.stack-card { position: relative; width: 340px; max-width: 100%; height: 440px; }
.stack-card .behind { position: absolute; top: 24px; left: 64px; width: 270px; height: 380px; border-radius: 10px; background: var(--accent-soft); border: 1px solid #C9D6D0; transform: rotate(6deg); }
.stack-card .front { position: absolute; top: 10px; left: 10px; width: 280px; height: 400px; border-radius: 10px; background: #fff; box-shadow: 0 18px 40px rgba(31,42,51,.12); padding: 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.stack-card .photo { width: 140px; height: 140px; flex-shrink: 0; border-radius: 50%; background: var(--accent-soft); }
.stack-card .label { margin: 6px 0 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stack-card .name { margin: 0; font-family: var(--serif); font-size: 28px; line-height: 1.15; }
.stack-card .code { margin-top: auto; padding: 8px 14px; border-radius: 6px; background: var(--ground); font-size: 13px; }

.code-band { background: var(--accent-soft); border-bottom: 1px solid #CFDCD6; color: var(--accent-dark); font-size: 15px; }
.code-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.code-band p { margin: 0; }
.code-band a { color: var(--accent-dark); font-weight: 600; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.code-band a:hover { color: var(--ink); }

/* Grids en kaarten */
.grid-3 { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 32px; }
.step-num { margin: 0; font-family: var(--serif); font-size: 40px; color: var(--accent); line-height: 1; }
.panel h3 { margin: 16px 0 8px; font-size: 20px; font-weight: 600; font-family: var(--sans); }
.panel p { margin: 0; color: var(--muted); }

.benefits { display: flex; flex-wrap: wrap; gap: 64px; }
.benefits-intro { flex: 1 1 340px; min-width: 0; }
.benefits-grid { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 40px; }
.benefits-grid h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.benefits-grid p { margin: 0; color: var(--muted); }

/* Prijzen */
.plans { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.plan-featured { border: 2px solid var(--accent); }
.plan h3 { margin: 0; font-size: 20px; font-weight: 600; }
.plan .for { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.plan .price { margin: 0; }
.plan .price strong { font-family: var(--serif); font-weight: 400; font-size: 44px; }
.plan ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.plan .btn { margin-top: auto; }
.badge { display: inline-block; margin: 0 0 10px; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 600; }
.small-note { margin: 20px 0 0; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 600; min-height: 28px; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 64px; }
.contact > div { flex: 1 1 360px; min-width: 0; }
.contact form { flex: 1 1 440px; min-width: 0; }

/* Formulieren */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-size: 15px; font-weight: 600; }
.field .hint { font-size: 14px; color: var(--muted); margin: 0; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=date], .field input[type=number], .field input[type=url], .field input[type=tel], .field select, .field textarea {
  min-height: 48px; padding: 10px 14px; border: 1px solid var(--field); border-radius: 8px; font: inherit; background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input[type=color] { width: 64px; height: 48px; padding: 2px; border: 1px solid var(--field); border-radius: 8px; background: #fff; }
.field input[type=file] { font: inherit; font-size: 15px; }
.row-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.check input { width: 20px; height: 20px; }
.hp { position: absolute; left: -9999px; }

.alert { padding: 14px 18px; border-radius: 8px; margin: 0 0 20px; }
.alert-ok { background: var(--accent-soft); color: var(--accent-dark); }
.alert-error { background: #F7E4DF; color: #7A2715; }

/* Kaart openen */
.card-page main { display: flex; justify-content: center; padding: 64px 20px; min-height: 70vh; }
.code-box { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 24px; }
.code-box h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.1; }
.code-box .form input[name=code] { font-size: 20px; letter-spacing: .06em; text-transform: uppercase; }
.error-text { margin: 0; font-size: 15px; color: var(--error); }

.flip-area { width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.flip { width: 100%; height: 620px; perspective: 1600px; }
.flip-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s ease; }
.flip.is-open .flip-inner { transform: rotateY(180deg); }
/* Verberg de niet-zichtbare kant ook expliciet (sommige browsers, o.a. Safari, negeren backface-visibility) */
.face { transition: visibility 0s linear .4s; }
.flip:not(.is-open) .face-back { visibility: hidden; }
.flip.is-open .face-front { visibility: hidden; }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px rgba(31,42,51,.12); padding: 40px 32px; }
.face-front { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.face-front.no-photo { justify-content: center; padding-top: 64px; padding-bottom: 96px; }
.face-front.no-photo .label { margin-top: 0; }
.face-front.no-photo .name { font-size: 42px; }
.face-front.no-photo .org-mark { position: absolute; left: 0; right: 0; bottom: 36px; justify-content: center; margin-top: 0; }
.front-rule { display: block; width: 56px; height: 1px; background: var(--accent); margin-top: 8px; }
.face-back { transform: rotateY(180deg); display: flex; flex-direction: column; gap: 16px; overflow-y: auto; padding: 36px 32px; }
.portrait { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; background: #DCE4E0; flex-shrink: 0; }
.face .label { margin: 12px 0 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.face .name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.15; }
.face .dates { margin: 0; color: var(--muted); }
.org-mark { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.org-mark img { max-height: 40px; max-width: 160px; width: auto; }
.personal { font-family: var(--serif); font-size: 21px; line-height: 1.45; }
.personal p, .life p { margin: 0 0 10px; }
.life { color: var(--muted); }
.farewell { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.farewell dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.farewell dt { font-weight: 600; }
.farewell dd { margin: 0; }
.farewell .label { margin: 0 0 4px; }
.flip-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.provided { margin: 0; font-size: 14px; color: var(--muted); text-align: center; }
.provided a { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .flip-inner { transition: none; } }

/* Eigen kaartontwerp */
.flip-area.design-wide { max-width: 920px; }
.flip-area.design-tall { max-width: 560px; }
.pages-view { width: 100%; perspective: 2000px; }
.pages-stage { display: block; width: 100%; padding: 0; border: none; background: #fff; border-radius: 6px; box-shadow: 0 18px 40px rgba(31,42,51,.14); cursor: pointer; transition: transform .25s ease-in; transform-origin: center; overflow: hidden; }
.pages-stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pages-stage img[hidden] { display: none; }
.pages-stage.turn-left { transform: rotateY(-90deg); }
.pages-stage.turn-right { transform: rotateY(90deg); }
.pages-stage.turn-left-in { transform: rotateY(90deg); transition: none; }
.pages-stage.turn-right-in { transform: rotateY(-90deg); transition: none; }
.page-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.page-tab { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
.page-tab[aria-current="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.page-nav .btn-sm { min-width: 44px; padding: 0 14px; }
.page-nav .btn[disabled] { opacity: .35; cursor: default; }
@media (prefers-reduced-motion: reduce) { .pages-stage { transition: none; } }
@media print { .page-nav, .provided { display: none !important; } .pages-stage { box-shadow: none; } .pages-stage img[hidden] { display: block !important; margin-bottom: 16px; } }

/* Portaal: pagina's */
.type-choice { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.type-choice legend { margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.page-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.page-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--ground); }
.page-list img { width: 110px; height: 80px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.page-info { flex: 1 1 140px; display: flex; flex-direction: column; font-size: 15px; }
.page-info .muted { font-size: 13px; }
.page-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-xs { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn[disabled] { opacity: .35; cursor: default; }
[data-mode][hidden] { display: none; }

/* Condoleanceregister */
.register { width: 100%; margin-top: 24px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 24px; }
.register h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; }
.register > p { margin: 0; }
.register .form { padding: 24px; }
.register-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.register-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.register-msg p { margin: 0 0 8px; }
.register-meta { margin: 0; font-size: 14px; color: var(--muted); }
.check-block { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--ground); }
.check-block input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; }
.check-block span { display: block; font-size: 14px; color: var(--muted); }
@media (max-width: 480px) { .card-page main { padding-top: 24px; } .flip { height: clamp(470px, calc(100svh - 230px), 600px); } .face { padding: 32px 22px; } .portrait { width: 170px; height: 170px; } .face .name, .face-front.no-photo .name { font-size: 30px; } }

/* Kaart als lijst bij print */
@media print {
  .site-header, .site-footer, .flip-actions, .skip { display: none !important; }
  .flip { height: auto; perspective: none; }
  .flip-inner { transform: none !important; }
  .face { position: static; box-shadow: none; transform: none; margin-bottom: 24px; visibility: visible !important; }
}

/* Footer */
.site-footer { background: var(--ink); color: #C5CED3; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 40px; padding-bottom: 40px; font-size: 14px; }
.footer-inner p { margin: 0; }
.footer-brand { font-family: var(--serif); font-size: 20px; color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.footer-links a { color: #fff; }
.site-footer-light { background: transparent; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer-light p { margin: 0; padding: 24px 0; }

/* Portaal */
.portal-main { padding-top: 40px; padding-bottom: 80px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.page-head h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 38px; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.table-box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: 15px; }
table.list th, table.list td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
table.list tr:last-child td { border-bottom: none; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.status-gepubliceerd { background: var(--accent-soft); color: var(--accent-dark); }
.status-concept { background: #EEF0F2; color: #3F4A52; }
.status-offline { background: #F7E4DF; color: #7A2715; }
.empty { padding: 48px 32px; text-align: center; color: var(--muted); }
.edit-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.edit-layout > .form { flex: 2 1 560px; min-width: 0; }
.edit-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.form h2 { margin: 8px 0 0; font-size: 20px; font-weight: 600; }
.form h2:first-child { margin-top: 0; }
.share-box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.share-box h2 { margin: 0; font-size: 18px; }
.share-box .code-big { font-size: 24px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.share-box input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--field); border-radius: 8px; font: inherit; font-size: 14px; }
.share-box img.qr { width: 180px; height: 180px; border: 1px solid var(--line); border-radius: 8px; image-rendering: pixelated; }
.thumb { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.logo-preview { max-height: 60px; max-width: 220px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.usage { font-size: 15px; color: var(--muted); }
.login-box { max-width: 440px; margin: 40px auto; }
.login-box h1 { font-family: var(--serif); font-weight: 400; font-size: 38px; margin: 0 0 20px; }
.plan .addon { margin: 0; padding: 10px 14px; border-radius: 8px; background: var(--ground); font-size: 15px; color: var(--ink); }
.upsell { border: 1px solid #CFDCD6; background: var(--accent-soft); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.upsell p { margin: 0; font-size: 15px; color: var(--ink); }

/* ================= Thema's per site ================= */
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-latin-700-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

/* Centrale site: neutraal, inktblauw */
body.theme-hub { --ground: #F5F4F1; --line: #DEDCD6; --field: #A9A69E; --ink: #1D2430; --muted: #585E68; --accent: #1D2430; --accent-dark: #000000; --accent-soft: #E8E6E0; }

/* Trouwen: warm ivoor met diep roze, klassieke serif */
body.theme-trouwen { --ground: #FBF7F3; --surface: #FFFFFF; --line: #EADFD8; --field: #BFAFA6; --ink: #2E2326; --muted: #6E5C60; --accent: #8E3B52; --accent-dark: #6E2A3E; --accent-soft: #F5E6E8; --serif: "Cormorant Garamond", Georgia, serif; }
body.theme-trouwen .display, body.theme-trouwen .h2, body.theme-trouwen .face .name, body.theme-trouwen .page-head h1 { font-weight: 500; letter-spacing: 0; }
body.theme-trouwen .display { font-size: clamp(42px, 5.8vw, 68px); }
body.theme-trouwen .display em, body.theme-trouwen .h2 em { font-style: italic; color: var(--accent); }

/* Geboorte: zacht en rond, zeeblauw */
body.theme-geboorte { --ground: #F3F8F9; --surface: #FFFFFF; --line: #D7E5E9; --field: #9DB4BB; --ink: #1E3138; --muted: #536970; --accent: #2C6E86; --accent-dark: #1F5466; --accent-soft: #E1EFF3; --serif: "Nunito", system-ui, sans-serif; --sans: "Nunito", system-ui, sans-serif; }
body.theme-geboorte .display, body.theme-geboorte .h2, body.theme-geboorte .face .name { font-weight: 800; letter-spacing: -.01em; }
body.theme-geboorte .panel, body.theme-geboorte .plan, body.theme-geboorte .form, body.theme-geboorte .face, body.theme-geboorte .pages-stage { border-radius: 20px; }

/* Feest: uitgesproken, warm oranje, grotesk lettertype */
body.theme-feest { --ground: #FFF7EC; --surface: #FFFFFF; --line: #F0DEC6; --field: #C9AE8C; --ink: #1F1A2E; --muted: #5F5668; --accent: #B83D0C; --accent-dark: #8F2F08; --accent-soft: #FFE6D1; --serif: "Bricolage Grotesque", system-ui, sans-serif; --sans: "Bricolage Grotesque", system-ui, sans-serif; }
body.theme-feest .display, body.theme-feest .h2, body.theme-feest .face .name { font-weight: 800; letter-spacing: -.02em; }
body.theme-feest .eyebrow { color: var(--accent); }
body.theme-feest .btn { border-radius: 10px; }

/* Centrale site: tegels naar de sites */
.site-tiles { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.site-tile { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 14px; text-decoration: none; color: var(--t-ink); background: var(--t-ground); border: 1px solid var(--t-line); min-height: 220px; }
.site-tile:hover { color: var(--t-ink); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.site-tile .tile-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t-accent); }
.site-tile h3 { margin: 0; font-family: "Newsreader", Georgia, serif; font-size: 26px; line-height: 1.15; font-weight: 500; overflow-wrap: normal; hyphens: manual; }
.site-tile p { margin: 0; color: var(--t-muted); font-size: 15px; }
.site-tile .tile-go { margin-top: auto; font-weight: 600; color: var(--t-accent); }
.tile-afscheid { --t-ground: #F3F5F4; --t-line: #D8DFDC; --t-ink: #1F2A33; --t-muted: #55626C; --t-accent: #3E6B5C; }
.tile-trouwen { --t-ground: #FBF7F3; --t-line: #EADFD8; --t-ink: #2E2326; --t-muted: #6E5C60; --t-accent: #8E3B52; }
.tile-geboorte { --t-ground: #F3F8F9; --t-line: #D7E5E9; --t-ink: #1E3138; --t-muted: #536970; --t-accent: #2C6E86; }
.tile-feest { --t-ground: #FFF7EC; --t-line: #F0DEC6; --t-ink: #1F1A2E; --t-muted: #5F5668; --t-accent: #B83D0C; }
.audience-list { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.audience-list li { padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 15px; font-weight: 600; }
.brand-site { font-size: 15px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 10px; }

/* RSVP */
.rsvp { width: 100%; margin-top: 24px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 24px; }
.rsvp h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; }
.rsvp > p { margin: 0; }
.rsvp .form { padding: 24px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--field); border-radius: 999px; cursor: pointer; background: #fff; font-weight: 600; }
.choice input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.occasion-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; border: none; padding: 0; margin: 0; }
.occasion-choice legend { margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.stat-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; min-width: 150px; }
.stat strong { display: block; font-size: 30px; font-family: var(--serif); font-weight: 500; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }
