/* ============================================================
   BRUILOFT MEDDY & ROY — Stylesheet v3 (M&G inspired)
   ============================================================ */

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

:root {
  --white:    #FFFFFF;
  --off:      #F7F5F2;
  --stone:    #9A8C80;
  --stone-l:  #C4BAB2;
  --stone-d:  #6B5F52;
  --text:     #1A1714;
  --text-l:   #4A4038;
  --border:   #E4DDD6;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: var(--white);
  color: var(--text);
  font-size: 19px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* Sans-serif utility */
.sans {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

/* ============================================================
   PASSWORD OVERLAY
   ============================================================ */

#password-overlay {
  position: fixed; inset: 0;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}

.password-box {
  text-align: center;
  padding: 3.5rem 2.5rem;
  max-width: 360px;
  width: 90%;
  border: 1px solid var(--border);
}

.pw-monogram-img {
  width: 90px;
  object-fit: contain;
  mix-blend-mode: multiply;
  margin-bottom: 1.75rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.password-label {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-l);
  margin-bottom: 1.5rem;
}

.password-box input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-bottom: 1px solid var(--text);
  background: transparent;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--text);
  text-align: center;
  letter-spacing: 0.1em;
  outline: none;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s;
  border-left: none; border-right: none; border-top: none;
}
.password-box input:focus { border-bottom-color: var(--stone); }

.password-box button {
  width: 100%;
  padding: 0.85rem;
  background: var(--text);
  color: var(--white);
  border: none;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.password-box button:hover { background: var(--stone-d); }

.password-error {
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: 0.75rem;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  min-height: 1.2em;
}

/* ============================================================
   NAVBAR — always visible
   ============================================================ */

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 0.85rem 2.5rem;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo: links uitgelijnd */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-monogram-img {
  height: 54px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

.nav-castle-img {
  height: 66px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
  opacity: 0.75;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-l);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text);
  cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background: var(--off);
}

.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.68);
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.20) 0%,
    rgba(0,0,0,0.42) 40%,
    rgba(0,0,0,0.62) 80%,
    rgba(0,0,0,0.70) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7rem 2rem 4rem;
  color: #fff;
}

.hero-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  letter-spacing: 0.08em;
  opacity: 0.88;
  margin-bottom: 0.75rem;
}

.hero-names {
  font-size: clamp(3rem, 8vw, 5.8rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.hero-date {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  margin-bottom: 0.35rem;
}

.hero-venue {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 2.5rem;
}

/* COUNTDOWN */
.countdown {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap; justify-content: center;
  margin-bottom: 3rem;
}

.cd-item {
  display: flex; flex-direction: column; align-items: center;
  min-width: 60px;
}
.cd-item span {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.03em;
}
.cd-item label {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 0.3rem;
}
.cd-sep {
  font-size: 1.6rem;
  font-weight: 300;
  opacity: 0.4;
  padding-bottom: 1rem;
}

.scroll-cue {
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: inherit;
  animation: bounce 2.2s ease-in-out infinite;
  opacity: 0.65;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section { padding: 7rem 2rem; }
.section-tinted { background: var(--off); }

.container { max-width: 1100px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 4.5rem; }

.section-eyebrow {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.section-rule {
  height: 1px;
  background: var(--border);
  margin: 0 2.5rem;
}

/* ============================================================
   DAG / AVOND VERSIE ZICHTBAARHEID
   ============================================================ */

/* Standaard: avond-only elementen verborgen */
.avond-only { display: none !important; }

/* Dag-modus: alles normaal zichtbaar (standaard) */
/* Avond-modus: dag-only verbergen, avond-only tonen */
[data-mode="avond"] .dag-only  { display: none !important; }
[data-mode="avond"] .avond-only { display: block !important; }

/* Inline varianten voor spans in lopende tekst */
[data-mode="avond"] .avond-only-p { display: block !important; }

/* FADE IN */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   TIMELINE
   ============================================================ */

.timeline {
  position: relative;
  padding-left: 2.5rem;
}

/* Linkse vertikale lijn */
.timeline::before {
  content: '';
  position: absolute;
  left: 0.55rem; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 4%, var(--border) 96%, transparent);
}

.timeline-item {
  position: relative;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }

/* Dot op de lijn */
.tl-dot {
  display: block;
  position: absolute;
  left: -2rem;
  top: 3rem;
  width: 9px; height: 9px;
  background: var(--stone);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--stone);
  z-index: 2;
}

.tl-dot--final {
  width: 13px; height: 13px;
  left: -2.2rem;
  background: var(--text);
  box-shadow: 0 0 0 3px var(--stone-l);
}

.timeline-content {
  display: flex;
  gap: 3.5rem;
  align-items: flex-start;
  width: 100%;
}

/* left: foto links, tekst rechts */
.timeline-item[data-side="left"]  .timeline-content { flex-direction: row; }
/* right: foto rechts, tekst links */
.timeline-item[data-side="right"] .timeline-content { flex-direction: row-reverse; }

.tl-photo {
  flex: 0 0 220px;
}

.tl-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* Fallback placeholder if no photo */
.photo-ph {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--stone-l);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-style: normal;
}

.photo-landscape { aspect-ratio: 4/3; }

.tl-text { flex: 1; padding-top: 0.5rem; }

.tl-date {
  display: block;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.4rem;
}

.tl-text h3 {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.tl-text p {
  font-size: 1rem;
  color: var(--text-l);
  line-height: 1.85;
}

.tl-final .tl-text h3 { color: var(--stone-d); }

/* ============================================================
   PROGRAMMA
   ============================================================ */

.program-list { max-width: 640px; margin: 0 auto; }

.prog-item {
  display: grid;
  grid-template-columns: 68px 26px 1fr;
  gap: 0 1.5rem;
  align-items: stretch;
}

.prog-time {
  text-align: right;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--stone);
  letter-spacing: 0.03em;
  padding-top: 0.1rem;
  white-space: nowrap;
}

.prog-track {
  display: flex; flex-direction: column; align-items: center;
}
.prog-track::before,
.prog-track::after { content: ''; flex: 1; width: 1px; background: var(--border); }
.prog-track--last::after { display: none; }

.prog-node {
  width: 8px; height: 8px;
  background: var(--stone);
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--off);
  box-shadow: 0 0 0 1px var(--stone);
  margin: 0.35rem 0;
}
.prog-node--end { background: var(--off); border-color: var(--stone); }

.prog-body { padding: 0 0 2.5rem; }

.prog-body h3 {
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.prog-body p { font-size: 1rem; color: var(--text-l); line-height: 1.8; }

/* Castle image — herbruikbaar (locatie + ev. elders) */
.castle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.castle-img {
  width: min(480px, 80vw);
  display: block;
  mix-blend-mode: multiply;
  opacity: 0.65;
}

/* Dresscode tekst-variant (vervangt bullet-lijst) */
.dc-text {
  font-size: 1rem;
  color: var(--text-l);
  line-height: 1.85;
}

/* ============================================================
   LOCATIE
   ============================================================ */

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.location-info h3 {
  font-size: 1.9rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.location-info address {
  font-style: italic;
  color: var(--stone);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.loc-items { display: flex; flex-direction: column; gap: 1.4rem; }

.loc-item {
  display: flex; gap: 0.9rem; align-items: flex-start;
  color: var(--stone);
}
.loc-item svg { flex-shrink: 0; margin-top: 0.2rem; }
.loc-item strong {
  display: block;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.15rem;
}
.loc-item p { font-size: 0.95rem; color: var(--text-l); }

.location-map iframe {
  border-radius: 2px;
  border: 1px solid var(--border);
}

/* ============================================================
   DRESSCODE
   ============================================================ */

.dresscode-intro { text-align: center; margin-bottom: 3.5rem; }

.dc-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.12em;
  color: var(--stone-d);
  margin-bottom: 0.75rem;
}

.dc-desc {
  font-size: 1rem;
  color: var(--text-l);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.85;
}

.dresscode-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.dc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.dc-photo .photo-ph {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  aspect-ratio: 4/3;
}

.dc-info { padding: 1.5rem 1.5rem 1.75rem; }

.dc-info h3 {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.85rem;
}

.dc-info ul { list-style: none; margin-bottom: 1rem; }

.dc-info li {
  font-size: 0.95rem;
  color: var(--text-l);
  padding: 0.25rem 0 0.25rem 1.1rem;
  position: relative;
}
.dc-info li::before {
  content: '·';
  position: absolute; left: 0;
  color: var(--stone-l);
  font-size: 1rem;
  line-height: 1.5;
}

.dc-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--stone);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.dc-notice {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--white);
}
.dc-notice p {
  font-size: 0.95rem;
  color: var(--text-l);
  font-style: italic;
}

/* ============================================================
   RSVP
   ============================================================ */

.rsvp-wrap { max-width: 580px; margin: 0 auto; }

.rsvp-intro {
  text-align: center;
  color: var(--text-l);
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.85;
}

.rsvp-form-box {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2.5rem 2rem;
  margin-top: 2rem;
}

.rsvp-form { display: flex; flex-direction: column; gap: 2.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* form-group: label + hint + input als één eenheid, dicht op elkaar */
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

/* Ruimte tussen opeenvolgende vragen binnen aanwezig-velden */
#aanwezig-velden .form-group + .form-group { margin-top: 2.5rem; }

/* Extra ruimte boven specifieke vragen */
.form-group--spaced { margin-top: 2rem; }

.form-group label {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.form-group input[type="text"],
.form-group input[type="password"] {
  padding: 0.75rem 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus { border-bottom-color: var(--text); }

.toggle-group {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.tog-btn {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  background: var(--white);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--text-l);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.tog-btn + .tog-btn { border-left: 1px solid var(--border); }
.tog-btn.active { background: var(--text); color: #fff; }
.tog-btn:not(.active):hover { background: var(--off); }

.form-hint {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  color: var(--stone-l);
  font-style: normal;
  letter-spacing: 0.04em;
}

/* Menu keuze knoppen */
.menu-options {
  display: flex;
  gap: 0.6rem;
}

.menu-opt {
  flex: 1;
  cursor: pointer;
}

.menu-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
}

.menu-opt span {
  display: block;
  padding: 0.7rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  text-align: center;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-l);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.menu-opt input:checked + span {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.menu-opt span:hover { background: var(--off); }

/* Divider tussen form-secties */
.rsvp-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0 0.75rem;
}
.rsvp-divider::before,
.rsvp-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.rsvp-divider span {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}

/* Textarea — auto-grow via JS, starts at 1 line */
.form-group textarea {
  padding: 0.75rem 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  resize: none;
  overflow: hidden;
  width: 100%;
  min-height: 1.75rem;
  height: auto;
  transition: border-color 0.2s;
  line-height: 1.75;
}
.form-group textarea:focus { border-bottom-color: var(--text); }

/* Placeholder styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--stone-l);
  font-size: 1rem;
}

/* Error message */
.rsvp-error-msg {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  color: #c0392b;
  text-align: center;
  padding: 0.75rem;
  border: 1px solid #c0392b;
  border-radius: 2px;
}

/* (cadeau-wrap removed — replaced by info-cards) */

.btn-submit {
  padding: 1rem 2.5rem;
  background: var(--text);
  color: #fff;
  border: none;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
  align-self: center;
  min-width: 220px;
}
.btn-submit:hover { background: var(--stone-d); }

.rsvp-success {
  text-align: center;
  padding: 4.5rem 2rem 5rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--off);
}
.rsvp-success svg { margin-bottom: 1.5rem; }
.rsvp-success h3 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.rsvp-success p {
  color: var(--text-l);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--text);
  padding: 5rem 2rem 4rem;
  text-align: center;
  color: var(--white);
}

.footer-inner { max-width: 400px; margin: 0 auto; }

.footer-monogram-img {
  display: none;
}

.footer-date {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.3rem;
}

.footer-venue {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
}

.footer-copy {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .location-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .dresscode-cards { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; max-width: 480px; }

  .timeline-item[data-side="right"] .timeline-content,
  .timeline-item[data-side="left"]  .timeline-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .tl-photo { flex: none; width: 60%; max-width: 280px; }
  .tl-photo img { aspect-ratio: 4/5; }
}

@media (max-width: 680px) {
  /* --- Navbar --- */
  .nav-monogram-img { height: 40px; }
  .nav-castle-img { height: 50px; }
  #navbar { padding: 0.75rem 1.25rem; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 0.85rem 1.5rem; font-size: 0.75rem; }
  .nav-toggle { display: block; }

  /* --- Sections --- */
  .section { padding: 4rem 1.25rem; }
  .section-rule { margin: 0 1.25rem; }
  .section-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }

  /* --- Programma --- */
  .form-row { grid-template-columns: 1fr; }
  .prog-item { grid-template-columns: 52px 20px 1fr; gap: 0 0.75rem; }
  .prog-body h3 { font-size: 1.15rem; }
  .prog-body p { font-size: 0.9rem; }

  /* --- Countdown --- */
  .cd-sep { display: none; }
  .cd-item { min-width: 52px; }
  .cd-item span { font-size: clamp(1.5rem, 6vw, 2.2rem); }

  /* --- Timeline --- */
  .timeline { padding-left: 1.75rem; }
  .tl-photo { width: 100%; max-width: none; }
  .tl-photo img { aspect-ratio: 4/3; }
  .tl-text h3 { font-size: 1.35rem; }
  .tl-text p { font-size: 0.95rem; }

  /* --- RSVP form --- */
  .rsvp-form-box { padding: 1.5rem 1.1rem; }
  .rsvp-wrap { max-width: 100%; }
  .menu-card { padding: 0.9rem 1rem; }
  .menu-card-name { font-size: 1rem; }

  /* --- Overige informatie --- */
  .info-card { padding: 2rem 1.25rem; max-width: 100%; }
  .info-contact { font-size: 0.72rem; }

  /* --- Locatie kaart --- */
  .location-map iframe { height: 280px; }

  /* --- Dresscode --- */
  .dresscode-cards { gap: 1.25rem; }
  .dc-card .dc-info { padding: 1.25rem; }
}

/* ============================================================
   CEREMONIEMEESTER BLOCK
   ============================================================ */

/* cm-block is nu verplaatst naar .info-card in Overige Informatie */
.cm-block {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--off);
}
.cm-label {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.3rem;
}
.cm-name {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.cm-tel {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--stone);
  text-decoration: none;
}
.cm-tel:hover { color: var(--text); }

/* RSVP subtext */
.rsvp-subtext {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--stone);
  text-align: center;
  margin-top: 0.25rem;
  font-style: italic;
}

/* ============================================================
   OVERIGE INFORMATIE (CM + Cadeau)
   ============================================================ */

/* Gecombineerde info-sectie (één kaartje: CM + cadeau) */
.info-single {
  display: flex;
  justify-content: center;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2.5rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
}

.info-card-label {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.2rem;
}

.info-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.info-card-divider {
  width: 80%;
  height: 1px;
  background: var(--border);
  margin: 1.25rem 0 1rem;
}

.info-card-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.25rem;
  width: 100%;
}

.info-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all;
}
.info-contact:hover { color: var(--text); }
.info-contact svg { flex-shrink: 0; }

/* Achternaam in CM-blok: kleiner dan voornaam */
.info-card-lastname {
  font-size: 0.72em;
  font-weight: 300;
  color: var(--stone-d);
  letter-spacing: 0.04em;
}

/* ============================================================
   AVOND PROGRAMMA BLOK
   ============================================================ */

.avond-programma {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 0 1rem;
}

.avond-programma-tekst {
  font-size: 1rem;
  color: var(--text-l);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

.avond-tijden {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.avond-tijd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.avond-tijd {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.04em;
}

.avond-label {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.avond-tijd-sep {
  font-size: 1.8rem;
  color: var(--stone-l);
  padding-bottom: 1.2rem;
}

/* Menu section heading */
.menu-section-label {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.75rem;
  margin-top: 0.25rem;
}

/* Menu cards */
.menu-cards {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.menu-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
  background: var(--white);
  transition: border-color 0.2s, background 0.2s;
}
.menu-card:hover { background: #F0EDE8; }
.menu-card--selected {
  border-color: var(--stone-d);
  background: var(--white);
}

.menu-card-radio {
  width: 16px; height: 16px;
  border: 1px solid var(--stone-l);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.3rem;
  position: relative;
  transition: border-color 0.2s;
}
.menu-card-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--text);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}
.menu-card--selected .menu-card-radio { border-color: var(--text); }
.menu-card--selected .menu-card-radio::after { opacity: 1; }

.menu-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.menu-card-body { flex: 1; }

.menu-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.4;
}

.menu-card-desc {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--stone);
  margin-top: 0.3rem;
  line-height: 1.65;
  font-weight: 300;
}

.menu-tag {
  font-family: 'Jost', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  border: 1px solid var(--stone-l);
  color: var(--stone);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  font-weight: 300;
}

/* Cadeau icon */
.cadeau-icon {
  color: var(--stone);
  margin: 0.5rem auto 0.75rem;
  display: block;
}

.cadeau-text {
  font-size: 0.95rem;
  color: var(--text-l);
  line-height: 1.9;
  margin-top: 0.5rem;
  text-align: center;
}
