:root {
  --red: #b3121f;
  --red-dark: #8f0f19;
  --red-deep: #5e0910;
  --gold: #e0b64a;
  --gold-light: #f3d98b;
  --gold-dark: #a8832a;
  --night: #131c3a;
  --night-2: #1f2b55;
  --paper: #fbf4e6;
  --paper-2: #f3e7cf;
  --ink: #3a2416;
  --ink-soft: #6b5040;
  --white: #fffdf8;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(58, 20, 10, .45);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 900;
  letter-spacing: -.01em;
}
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.narrow { max-width: 780px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--red-deep); box-shadow: 0 8px 22px -8px rgba(224, 182, 74, .8);
}
.btn-ghost { border-color: rgba(255, 253, 248, .55); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 253, 248, .1); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 8px 22px -10px var(--red-dark); }
.btn-red:hover { background: var(--red-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--red-dark);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, .5);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand-mitre { width: 34px; height: 34px; color: var(--red); }
.brand-text { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; white-space: nowrap; }
.brand-text em, .footer-brand em { font-style: italic; font-weight: 500; color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--white); text-decoration: none; font-weight: 600;
  padding: 8px 12px; border-radius: 999px; transition: background .15s; white-space: nowrap;
}
.site-nav a:hover { background: rgba(255, 255, 255, .12); }
.site-nav .nav-cta { background: var(--gold); color: var(--red-deep); margin-left: 8px; }
.site-nav .nav-cta:hover { background: var(--gold-light); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 10px; width: 24px; height: 2.5px; background: var(--white);
  border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -8px; }
.nav-toggle-bar::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; inset: 71px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--red-dark); padding: 12px 16px 20px; border-bottom: 3px solid var(--gold);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(243, 217, 139, .35) 0 60px, rgba(243, 217, 139, .08) 61px 140px, transparent 141px),
    linear-gradient(180deg, #0b1230 0%, var(--night) 45%, var(--night-2) 100%);
  padding: clamp(56px, 8vw, 110px) 0 clamp(150px, 16vw, 220px);
}
.stars {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 12%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 44% 30%, var(--gold-light) 50%, transparent 51%),
    radial-gradient(1px 1px at 60% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 70% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 52%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 6% 60%, var(--gold-light) 50%, transparent 51%),
    radial-gradient(1px 1px at 36% 55%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 52% 70%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 20% 80%, #fff 50%, transparent 51%);
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }

.pepernoten { position: absolute; inset: 0; pointer-events: none; }
.pepernoot {
  position: absolute; top: -30px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c98a4b, #8a5226 70%, #5f3517);
  box-shadow: inset -2px -2px 3px rgba(0, 0, 0, .3);
  animation: fall linear infinite;
  opacity: .85;
}
@keyframes fall {
  to { transform: translateY(calc(100vh + 400px)) rotate(540deg); }
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.eyebrow {
  display: inline-block; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  font-size: .8rem; color: var(--gold); margin-bottom: 14px;
}
.eyebrow-red { color: var(--red); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
.hero h1 span { display: block; color: var(--gold); font-style: italic; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255, 253, 248, .86); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }

.countdown {
  display: inline-block; padding: 16px 22px 18px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(224, 182, 74, .35);
  backdrop-filter: blur(4px);
}
.countdown-label { margin: 0 0 8px; font-size: .85rem; color: var(--gold-light); font-weight: 600; }
.countdown-grid { display: flex; gap: 22px; }
.countdown-grid div { text-align: center; min-width: 56px; }
.countdown-grid span { display: block; font: 900 2.1rem/1 var(--font-display); color: var(--white); }
.countdown-grid small { font-size: .78rem; color: rgba(255, 253, 248, .7); }

.hero-portrait { display: flex; justify-content: center; }
.portrait-frame {
  position: relative; width: min(100%, 400px); aspect-ratio: 4 / 5;
  border-radius: 200px 200px 24px 24px; overflow: hidden;
  border: 6px solid var(--gold);
  box-shadow: 0 0 0 10px rgba(224, 182, 74, .18), 0 30px 60px -20px rgba(0, 0, 0, .7);
  background: linear-gradient(160deg, var(--red), var(--red-deep));
}
.portrait-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.portrait-fallback {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  color: var(--gold-light); font-weight: 600; text-align: center; padding: 20px;
}
.portrait-fallback svg { width: 45%; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .35)); }

.rooftops {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(110px, 14vw, 200px);
  z-index: 1; fill: #0a0f24;
}
.rooftops .windows rect { fill: #f3c65c; opacity: .85; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; }
  .portrait-frame { width: min(70%, 300px); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section-head p:last-child { color: var(--ink-soft); font-size: 1.1rem; }

.section-paper {
  background:
    radial-gradient(circle at 10% 10%, rgba(224, 182, 74, .10), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(179, 18, 31, .06), transparent 40%),
    var(--paper);
}
.section-red {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .10), transparent 50%),
    linear-gradient(180deg, var(--red), var(--red-dark));
}
.section-red .section-head p:last-child { color: rgba(255, 253, 248, .85); }
.section-red::before, .section-red::after {
  /* gold brocade trim, like the edge of the Sint's cape */
  content: ""; position: absolute; left: 0; right: 0; height: 14px;
  background:
    radial-gradient(circle at 7px 7px, var(--gold) 3px, transparent 4px) 0 0 / 28px 14px,
    linear-gradient(var(--gold-dark), var(--gold-dark)) 0 50% / 100% 2px no-repeat;
  opacity: .9;
}
.section-red::before { top: 10px; }
.section-red::after { bottom: 10px; }

.section-night {
  color: var(--white);
  background: linear-gradient(180deg, var(--night), var(--night-2));
}
.section-night .section-head p:last-child { color: rgba(255, 253, 248, .75); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.photo-card {
  margin: 0; background: var(--white); padding: 14px 14px 18px; border-radius: 6px;
  box-shadow: var(--shadow); max-width: 440px; margin-inline: auto;
}
.tilt-left { transform: rotate(-2.5deg); }
.photo-card figcaption {
  font-family: var(--font-display); font-style: italic; text-align: center;
  margin-top: 12px; color: var(--ink-soft);
}
.photo-slot {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 3 C20 14 12 26 12 40 L12 58 L52 58 L52 40 C52 26 44 14 32 3 Z' fill='%23e0b64a' opacity='.55'/%3E%3C/svg%3E") center 42% / 28% no-repeat,
    linear-gradient(160deg, var(--paper-2), #e8d6b3);
}
.photo-slot::after {
  content: "Foto volgt"; position: absolute; left: 0; right: 0; bottom: 22%;
  text-align: center; font-weight: 700; color: var(--gold-dark); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
}
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 36px; font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0b64a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12 L10 16 L18 8'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1020px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--paper); color: var(--ink); border-radius: var(--radius);
  padding: 30px 24px 26px; box-shadow: var(--shadow);
  border-top: 5px solid var(--gold);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-5px); }
.card p { color: var(--ink-soft); margin: 0; }
.card-icon {
  width: 52px; height: 52px; margin-bottom: 16px; padding: 10px; border-radius: 14px;
  background: var(--red); fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: none; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: 44px 28px 28px; box-shadow: var(--shadow); border: 1px solid var(--paper-2);
}
.step p { color: var(--ink-soft); margin: 0; }
.step-num {
  position: absolute; top: -24px; left: 28px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font: 900 1.5rem/1 var(--font-display); color: var(--white);
  background: radial-gradient(circle at 35% 30%, #d9202e, var(--red-dark));
  border: 3px solid var(--gold);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 16px;
}
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
.gallery-item { margin: 0; }
.gallery-btn {
  position: relative; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden;
  cursor: zoom-in; display: block;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 3 C20 14 12 26 12 40 L12 58 L52 58 L52 40 C52 26 44 14 32 3 Z' fill='%23e0b64a' opacity='.35'/%3E%3C/svg%3E") center 40% / 56px no-repeat,
    linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1px rgba(224, 182, 74, .3);
}
.gallery-btn:not(:has(img)) { cursor: default; }
.gallery-btn:not(:has(img))::after {
  content: "Foto volgt"; position: absolute; left: 0; right: 0; top: calc(40% + 44px);
  color: rgba(243, 217, 139, .6); font: 700 .8rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
}
.gallery-btn img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-btn:hover img { transform: scale(1.05); }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 90vh;
}
.lightbox::backdrop { background: rgba(8, 10, 25, .88); }
.lightbox img { max-height: 86vh; width: auto; margin: auto; border-radius: 10px; border: 4px solid var(--gold); }
.lightbox-close {
  position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: var(--gold); color: var(--red-deep); font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white); border-radius: 14px; border: 1px solid var(--paper-2);
  box-shadow: 0 6px 18px -12px rgba(58, 20, 10, .35);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font: 700 1.12rem/1.3 var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: var(--gold); font: 700 1.2rem/1 var(--font-body);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-wrap { align-items: start; }
.contact-info p { color: rgba(255, 253, 248, .88); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 1.1rem; }
.contact-list svg {
  flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round;
}
.contact-list a { text-decoration: none; border-bottom: 2px solid rgba(224, 182, 74, .6); overflow-wrap: anywhere; }
.contact-list a:hover { border-color: var(--gold); }

.letter {
  color: var(--ink);
  background:
    repeating-linear-gradient(180deg, transparent 0 33px, rgba(107, 80, 64, .12) 33px 34px),
    var(--paper);
  border-radius: 6px; padding: 32px clamp(20px, 4vw, 36px) 28px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55);
  transform: rotate(1deg);
  border-left: 6px double var(--red);
  container-type: inline-size;
}
@media (max-width: 860px) { .letter { transform: none; } }
.letter-greeting { font: italic 700 1.6rem/1.2 var(--font-display); color: var(--red-dark); margin-bottom: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
/* Stack paired fields whenever the letter itself is narrow, regardless of viewport */
@container (max-width: 500px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 48px;
  font: inherit; color: var(--ink);
  padding: 11px 14px; border-radius: 10px; border: 1.5px solid #d9c7a4; background-color: var(--white);
  -webkit-appearance: none; appearance: none;
}
/* Native date inputs (iOS Safari especially) have an intrinsic width and centred text */
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field select {
  padding-right: 40px; text-overflow: ellipsis;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3121f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9 L12 15 L18 9'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(179, 18, 31, .15); }
.field .is-invalid { border-color: var(--red); }
.form-note { font-size: .85rem; color: var(--ink-soft); margin: 12px 0 0; }

/* ---------- WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; border: 3px solid var(--gold);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--red-deep); color: rgba(255, 253, 248, .85); text-align: center;
  padding: 44px 0 36px; border-top: 3px solid var(--gold);
}
.footer-brand { font: 900 1.5rem/1 var(--font-display); color: var(--white); }
.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-small { font-size: .85rem; opacity: .7; margin: 0; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stars, .pepernoot { animation: none; }
  .pepernoten { display: none; }
  .btn, .card, .gallery-btn img { transition: none; }
}
