@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Great+Vibes&family=Raleway:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  /* Garden Party / Summer Chic palette */
  --sage:        #9bb592;   /* fresh herbaceous green */
  --sage-light:  #cfdec5;
  --sage-pale:   #eef4ea;
  --sage-dark:   #5e7d54;
  --sage-deep:   #3f5638;

  --blush:       #e8c8bf;   /* soft dusty rose accent */
  --blush-pale:  #f7ebe6;
  --blush-deep:  #c89484;

  --champagne:   #d9c4a6;   /* warm sand / champagne */
  --champagne-pale: #f5ecdc;

  --cream:       #fbf8f3;   /* lightly warmer cream */
  --cream-mid:   #f3ede2;
  --cream-dark:  #e7dccd;

  --text:        #2f3b2e;
  --text-mid:    #5a6b58;
  --text-light:  #8a9e87;
  --white:       #ffffff;

  --shadow:      rgba(94, 125, 84, 0.10);
  --shadow-lg:   rgba(94, 125, 84, 0.18);
  --radius:      12px;
  --radius-sm:   8px;
  --nav-h:       72px;
}

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

html {
  /* JS regelt de smooth scroll met organische easing — laat dit op auto */
  scroll-behavior: auto;
  font-size: 16px;
}

body {
  font-family: 'Raleway', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}

.script { font-family: 'Great Vibes', cursive; font-weight: 400; }

.section-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--sage-deep);
  margin-bottom: 1.25rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

/* ── Layout helpers ────────────────────────────────────── */
.container {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 100px 0;
}

.text-center { text-align: center; }

/* ── Divider ────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 200px;
  margin: 0 auto 1.5rem;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sage-light);
}
.divider-leaf {
  color: var(--sage);
  font-size: 1rem;
}

/* ── Navbar ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}

#navbar.scrolled {
  background: var(--cream);
  box-shadow: 0 1px 0 var(--cream-dark), 0 2px 20px rgba(60, 90, 52, 0.08);
}

.nav-inner {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Algemeen masker-element: het logo verschijnt in de kleur van de parent */
.logo-mark {
  display: block;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  -webkit-mask: url('logo.svg') center / contain no-repeat;
          mask: url('logo.svg') center / contain no-repeat;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  color: var(--sage-deep);
  transition: color 0.35s, opacity 0.25s;
  line-height: 0;
  width: 64px;
  height: 56px;
}

.nav-brand:hover { opacity: 0.75; }

#navbar.scrolled .nav-brand { color: var(--sage-deep); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.3s ease;
  padding: 0 0 6px;
}

/* Onderlijn die meegroeit van het midden uit */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--sage);
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(.22,.61,.36,1);
}

/* Blush stip die plopt bovenop bij hover */
.nav-links a::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blush-deep);
  transform: translateX(-50%) scale(0);
  transition: transform 0.35s cubic-bezier(.34, 1.56, .64, 1);
}

.nav-links a:hover {
  color: var(--sage-deep);
}

.nav-links a:hover::after  { width: 100%; }
.nav-links a:hover::before { transform: translateX(-50%) scale(1); }

/* Actieve link — onderlijn blijft staan, iets dieper */
.nav-links a.active {
  color: var(--sage-deep);
}
.nav-links a.active::after {
  width: 100%;
  background: var(--sage-dark);
}

#navbar.scrolled .nav-links a { color: var(--text-mid); }
#navbar.scrolled .nav-links a:hover { color: var(--sage-deep); }

.btn-rsvp-nav {
  background: var(--sage);
  color: var(--white) !important;
  padding: 0.5rem 1.4rem !important;
  border-radius: 50px !important;
  border: none !important;
  transition: background 0.25s, transform 0.2s !important;
}
.btn-rsvp-nav:hover {
  background: var(--sage-dark) !important;
  transform: translateY(-1px);
  border-color: transparent !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-mid);
  border-radius: 2px;
  transition: background 0.35s, transform 0.3s, opacity 0.3s;
}
#navbar.scrolled .nav-toggle span { background: var(--text); }

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ─────────────────────────────────────────────── */
#hero {
  height: 100dvh;
  min-height: 640px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(232, 200, 191, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(155, 181, 146, 0.22) 0%, transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--champagne-pale) 100%);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  animation: fadeUp 1.2s ease both;
  max-width: 880px;
}

.hero-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 38px;
  height: 1px;
  background: var(--sage);
  opacity: 0.55;
}
.hero-eyebrow::before { left: -54px; }
.hero-eyebrow::after  { right: -54px; }

.hero-names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(4.5rem, 12vw, 9rem);
  color: var(--sage-deep);
  line-height: 1;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05em;
}

.hero-name {
  display: inline-block;
}

/* Geschrankt: Elien naar links, Lennert naar rechts */
.hero-name-1 { transform: translateX(-0.4em); }
.hero-name-2 { transform: translateX(0.4em); }

.hero-and {
  display: block;
  font-size: 0.32em;
  margin: 0.1em 0;
  color: var(--blush-deep);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.08em;
}

/* Op mobile: namen iets minder schrankt */
@media (max-width: 640px) {
  .hero-name-1 { transform: translateX(-0.25em); }
  .hero-name-2 { transform: translateX(0.25em); }
}

.hero-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  color: var(--text-mid);
  font-weight: 400;
  letter-spacing: 0.14em;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.hero-location {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2.75rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Hero countdown ─────────────────────────────────────── */
.hero-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 0 auto 2.25rem;
  max-width: 480px;
  opacity: 0;
  animation: fadeIn 1.5s ease 0.4s forwards;
}

.cd-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage-light), transparent);
  max-width: 80px;
}

.cd-numbers {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--sage-dark);
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
}

.cd-unit strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
  color: var(--sage-deep);
  font-variant-numeric: tabular-nums;
}

.cd-unit small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.cd-sep {
  color: var(--blush-deep);
  font-size: 1.2rem;
  align-self: center;
  margin-top: -0.4rem;
}

@media (max-width: 480px) {
  .hero-countdown { gap: 0.6rem; }
  .cd-line { max-width: 30px; }
  .cd-unit strong { font-size: 1.45rem; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ── Vallende blaadjes ─────────────────────────────────── */
.petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.petal {
  position: absolute;
  top: -40px;
  width: 14px;
  height: 14px;
  border-radius: 50% 10% 50% 10%;
  background: var(--blush);
  opacity: 0.65;
  animation: petalFall linear infinite;
}

.petal:nth-child(1)  { left:  4%; animation-duration: 22s; animation-delay:   0s; background: var(--blush); }
.petal:nth-child(2)  { left: 12%; animation-duration: 28s; animation-delay:  -8s; background: var(--blush-pale); width: 11px; height: 11px; }
.petal:nth-child(3)  { left: 22%; animation-duration: 25s; animation-delay: -14s; background: var(--sage-light); }
.petal:nth-child(4)  { left: 30%; animation-duration: 30s; animation-delay:  -3s; background: var(--blush); width: 12px; height: 12px; }
.petal:nth-child(5)  { left: 38%; animation-duration: 26s; animation-delay: -19s; background: var(--blush-pale); }
.petal:nth-child(6)  { left: 46%; animation-duration: 24s; animation-delay:  -6s; background: var(--blush); }
.petal:nth-child(7)  { left: 54%; animation-duration: 29s; animation-delay: -11s; background: var(--sage-light); width: 10px; height: 10px; }
.petal:nth-child(8)  { left: 62%; animation-duration: 27s; animation-delay: -22s; background: var(--blush-pale); }
.petal:nth-child(9)  { left: 70%; animation-duration: 23s; animation-delay: -16s; background: var(--blush); width: 11px; height: 11px; }
.petal:nth-child(10) { left: 80%; animation-duration: 31s; animation-delay:  -2s; background: var(--sage-light); }
.petal:nth-child(11) { left: 88%; animation-duration: 26s; animation-delay: -13s; background: var(--blush-pale); }
.petal:nth-child(12) { left: 96%; animation-duration: 28s; animation-delay: -25s; background: var(--blush); width: 10px; height: 10px; }

@keyframes petalFall {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10%  { opacity: 0.65; }
  50%  { transform: translateY(50vh) translateX(40px) rotate(180deg); }
  90%  { opacity: 0.55; }
  100% {
    transform: translateY(110vh) translateX(-30px) rotate(360deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .petal { display: none; }
}

/* ── Kleine "Voeg toe aan agenda" link (in RSVP CTA) ─── */
.rsvp-ical-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.2s;
  margin-top: -0.25rem;
}

.rsvp-ical-link:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.rsvp-ical-link iconify-icon { flex-shrink: 0; }

/* ── Contact via WhatsApp blok ─────────────────────────── */
.rsvp-contact {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.8rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  backdrop-filter: blur(2px);
}

.wa-btn iconify-icon {
  color: #25D366;
  transition: transform 0.25s ease;
}

.wa-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.wa-btn:hover iconify-icon { transform: scale(1.08); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-primary {
  background: var(--white);
  color: var(--sage-dark);
}
.btn-primary:hover {
  background: var(--sage-pale);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Hero-specific buttons (op lichte achtergrond) */
#hero .btn-primary {
  background: var(--sage-dark);
  color: var(--cream);
  border: none;
  box-shadow: 0 4px 18px rgba(94, 125, 84, 0.22);
}
#hero .btn-primary:hover {
  background: var(--sage-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(63, 86, 56, 0.28);
}
#hero .btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border: 1.5px solid var(--sage);
}
#hero .btn-outline:hover {
  background: var(--sage-pale);
  border-color: var(--sage-dark);
  transform: translateY(-2px);
}

.btn-sage {
  background: var(--sage);
  color: var(--white);
}
.btn-sage:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-lg);
}

.btn-sage-outline {
  background: transparent;
  color: var(--sage-dark);
  border: 1.5px solid var(--sage-light);
}
.btn-sage-outline:hover {
  background: var(--sage-pale);
  border-color: var(--sage);
  transform: translateY(-2px);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; opacity: 0.7; }

/* ── Story section ──────────────────────────────────────── */
/* ═══ Ons verhaal — editorial layout ═══ */
#verhaal {
  background: var(--cream-mid);
  position: relative;
  overflow: hidden;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ── Foto + frame ─────────────────────────────────── */
.story-image-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.story-image-frame {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--sage-pale);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.02),
    0 18px 40px rgba(94, 125, 84, 0.16);
  transition: transform 0.5s cubic-bezier(.22,.61,.36,1);
}

.story-image-wrap:hover .story-image-frame {
  transform: translateY(-4px);
}

.story-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--sage-light);
}
.story-image-placeholder svg { width: 48px; height: 48px; }
.story-image-placeholder p {
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* Botanisch gestippeld frame achter de foto */
.story-frame-dashed {
  position: absolute;
  inset: -18px -18px auto auto;
  width: 100%;
  aspect-ratio: 4/5;
  border: 1px dashed var(--sage);
  border-radius: var(--radius);
  opacity: 0.55;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(.22,.61,.36,1);
}

.story-image-wrap:hover .story-frame-dashed {
  transform: translate(6px, 6px);
}

/* ── Tekst ────────────────────────────────────────── */
.story-text { text-align: left; }
.story-text .section-label { display: block; }

.story-text .section-title {
  text-align: left;
  margin-bottom: 0.75rem;
  position: relative;
  padding-bottom: 0.85rem;
}

.story-text .section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 1px;
  background: var(--sage);
  opacity: 0.7;
}

.story-text p {
  color: var(--text-mid);
  margin-bottom: 1.1rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}

.story-text p:last-of-type { margin-bottom: 0; }

/* Drop cap op de eerste alinea */
.dropcap {
  float: left;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 3.6rem;
  line-height: 0.9;
  color: var(--sage-deep);
  padding: 0.35rem 0.6rem 0 0;
  margin-top: 0.1rem;
}

/* ── Milestone-tijdlijn ──────────────────────────── */
.story-milestones {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cream-dark);
}

.milestone {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.milestone-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--sage-deep);
  line-height: 1;
}

.milestone-text {
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
}

.milestone-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--sage-light), var(--blush));
  margin: 0 0.25rem;
  align-self: center;
  position: relative;
}

.milestone-line::before,
.milestone-line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.milestone-line::before { left: -2px;  background: var(--sage); }
.milestone-line::after  { right: -2px; background: var(--blush-deep); }

/* ── De Dag section ─────────────────────────────────────── */
/* ═══ De Dag — verfijnde timeline ═══ */
#de-dag {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.timeline {
  --progress: 0;
  max-width: 760px;
  margin: 1.5rem auto;   /* ruimte rond caps zit nu BUITEN de timeline */
  position: relative;
  padding: 0;
}

/* Kronkelende SVG-lijn achter de items */
.timeline-svg {
  position: absolute;
  left: 50%;
  top: 0;
  width: 100px;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

.t-path-base,
.t-path-fill {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.t-path-base {
  stroke: var(--sage-light);
  stroke-width: 1;
  opacity: 0.55;
}

.t-path-fill {
  stroke: url(#timelineGradient);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--progress));
  transition: stroke-dashoffset 0.2s linear;
  filter: drop-shadow(0 0 4px rgba(155, 181, 146, 0.35));
}

@media (prefers-reduced-motion: reduce) {
  .t-path-fill { stroke-dashoffset: 0; transition: none; }
}

/* Lichtpunt aan de kop van de groeiende lijn */
.timeline-glow {
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  box-shadow:
    0 0 0 4px rgba(155, 181, 146, 0.18),
    0 0 14px rgba(155, 181, 146, 0.85),
    0 0 28px rgba(155, 181, 146, 0.45);
  transition: opacity 0.4s ease, background 0.6s ease, box-shadow 0.6s ease;
  animation: glowPulse 2.4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    }
  50%      { transform: translate(-50%, -50%) scale(1.18); }
}

.timeline.scrolling-active .timeline-glow {
  opacity: 1;
}

/* Wanneer de lijn de onderkant raakt, lost het lichtpunt op in de cap */
.timeline.connected .timeline-glow {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

@media (prefers-reduced-motion: reduce) {
  .timeline-glow { display: none; }
}

/* Ornamenten boven- en onderaan de lijn */
.timeline-cap {
  position: absolute;
  left: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid;
  transform: translateX(-50%);
  z-index: 3;
  transition: background 0.6s ease, border-color 0.6s ease, transform 0.5s ease;
}

.timeline-cap::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px dashed;
  border-radius: 50%;
  opacity: 0.4;
  transition: border-color 0.6s ease, opacity 0.6s ease;
}

/* Topcap: kleur van het begin van de lijn (sage) */
.timeline-cap-top {
  top: -5.5px;
  background: var(--sage);
  border-color: var(--sage);
}
.timeline-cap-top::after { border-color: var(--sage); }

/* Onderste cap: leeg tot de lijn hem bereikt, dan blush */
.timeline-cap-bottom {
  bottom: -5.5px;
  background: var(--cream);
  border-color: var(--sage-light);
}
.timeline-cap-bottom::after { border-color: var(--sage-light); }

.timeline.connected .timeline-cap-bottom {
  background: var(--blush-deep);
  border-color: var(--blush-deep);
  animation: capPulse 0.7s cubic-bezier(.22,.9,.32,1.2);
}
.timeline.connected .timeline-cap-bottom::after {
  border-color: var(--blush-deep);
  opacity: 0.65;
}

@keyframes capPulse {
  0%   { transform: translateX(-50%) scale(1);    }
  40%  { transform: translateX(-50%) scale(1.55); }
  100% { transform: translateX(-50%) scale(1);    }
}

/* Item layout — alternating */
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Ademruimte zodat de lijn niet onder de eerste/laatste kaart begint */
.timeline-item:first-of-type { margin-top: 1.5rem; }
.timeline-item:last-of-type  { margin-bottom: 1.5rem; }

.timeline-item.passed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .timeline-item {
    opacity: 1;
    transform: none;
  }
}

.timeline-item:last-of-type { margin-bottom: 0; }

/* Content kaart */
.timeline-content {
  padding: 1.1rem 1.4rem;
  text-align: right;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  transition: transform 0.3s cubic-bezier(.22,.61,.36,1),
              box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.timeline-content:hover {
  transform: translateY(-3px);
  border-color: var(--sage-light);
  box-shadow: 0 12px 28px rgba(94, 125, 84, 0.12);
}

.timeline-item:nth-of-type(odd) .timeline-content { margin-right: 1.5rem; }

.timeline-item:nth-of-type(even) .timeline-content {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
  margin-left: 1.5rem;
}

.timeline-item:nth-of-type(even) .timeline-dot {
  grid-column: 2;
  grid-row: 1;
}

.timeline-item:nth-of-type(even) .timeline-empty {
  grid-column: 1;
  grid-row: 1;
}

/* Verbindingsstreepje van kaart naar lijn */
.timeline-content::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 1.5rem;
  height: 1px;
  background: var(--sage-light);
  opacity: 0.7;
}

.timeline-item:nth-of-type(odd) .timeline-content::before {
  right: -1.5rem;
}

.timeline-item:nth-of-type(even) .timeline-content::before {
  left: -1.5rem;
}

/* Icoon-dot centraal op de lijn */
.timeline-dot {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.5rem;
  position: relative;
  z-index: 2;
}

.timeline-dot-inner {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(94, 125, 84, 0.10);
  position: relative;
  transition: background 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.timeline-dot-inner::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px dashed var(--sage-light);
  border-radius: 50%;
  opacity: 0.55;
  animation: iconRotate 60s linear infinite;
}

.timeline-dot-inner iconify-icon {
  color: var(--sage-dark);
  transition: color 0.3s ease;
}

.timeline-item:hover .timeline-dot-inner {
  background: var(--sage-pale);
  border-color: var(--sage);
  transform: scale(1.05);
}

.timeline-item:hover .timeline-dot-inner iconify-icon { color: var(--sage-deep); }

/* Items die al voorbij de scroll-progressie zijn — subtiel actief */
.timeline-item.passed .timeline-dot-inner {
  background: var(--sage-pale);
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(155, 181, 146, 0.12),
              0 2px 12px rgba(94, 125, 84, 0.14);
  transition: background 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease;
}

.timeline-item.passed .timeline-dot-inner iconify-icon {
  color: var(--sage-deep);
  transition: color 0.6s ease;
}

.timeline-item.passed .timeline-dot-inner::before {
  opacity: 0.85;
  border-color: var(--sage);
  transition: opacity 0.6s ease, border-color 0.6s ease;
}

.timeline-empty {}

/* Tijdstip — italic Cormorant met blush hairline */
.timeline-time {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--blush-deep);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.timeline-time span { letter-spacing: 0.03em; }

.timeline-time::before,
.timeline-item:nth-of-type(odd) .timeline-time { justify-content: flex-end; }
.timeline-item:nth-of-type(even) .timeline-time { justify-content: flex-start; }

.timeline-time::after {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--blush);
  opacity: 0.7;
}

/* odd items hebben het streepje vóór de tijd ipv erna */
.timeline-item:nth-of-type(odd) .timeline-time::after { display: none; }
.timeline-item:nth-of-type(odd) .timeline-time::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--blush);
  opacity: 0.7;
}

/* Titel met accent-streep onder */
.timeline-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--sage-deep);
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  position: relative;
  line-height: 1.2;
}

.timeline-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 20px;
  height: 1px;
  background: var(--sage);
  opacity: 0.55;
  transition: width 0.4s cubic-bezier(.22,.61,.36,1), opacity 0.3s ease;
}

.timeline-item:nth-of-type(odd) .timeline-title::after { right: 0; }
.timeline-item:nth-of-type(even) .timeline-title::after { left: 0; }

.timeline-content:hover .timeline-title::after {
  width: 36px;
  opacity: 0.85;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.6;
}

/* Staggered reveal */
.timeline .timeline-item:nth-of-type(1) { transition-delay: 0s;    }
.timeline .timeline-item:nth-of-type(2) { transition-delay: 0.1s;  }
.timeline .timeline-item:nth-of-type(3) { transition-delay: 0.2s;  }
.timeline .timeline-item:nth-of-type(4) { transition-delay: 0.3s;  }

/* ── Praktisch section ──────────────────────────────────── */
/* ═══ Praktische info — clean bento ═══ */
#praktisch {
  background:
    radial-gradient(ellipse at 78% 12%, rgba(140, 170, 130, 0.42) 0%, transparent 55%),
    radial-gradient(ellipse at 12% 88%, rgba(155, 181, 146, 0.48) 0%, transparent 60%),
    linear-gradient(180deg, var(--sage-pale) 0%, var(--sage-light) 100%);
  position: relative;
  overflow: hidden;
}

/* Bento-grid: 3+3 / 6 / 3+3 */
.garden-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.garden-card           { grid-column: span 3; }
.garden-card-featured  { grid-column: span 6; }

@media (max-width: 880px) {
  .garden-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  .garden-card,
  .garden-card-featured { grid-column: span 2; }
}

@media (max-width: 540px) {
  .garden-grid { grid-template-columns: 1fr; }
  .garden-card,
  .garden-card-featured { grid-column: span 1; }
}

/* Een kaart — clean wit met subtiele rand */
.garden-card {
  position: relative;
  background: var(--white);
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  transition: transform 0.3s cubic-bezier(.22,.61,.36,1),
              box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: left;
  overflow: hidden;
}

/* Zacht glow-ribbon dat verschijnt op hover */
.garden-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(155, 181, 146, 0.18) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.garden-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage-light);
  box-shadow:
    0 1px 0 rgba(94, 125, 84, 0.04),
    0 14px 32px rgba(94, 125, 84, 0.14);
}

.garden-card:hover::before { opacity: 1; }

.garden-card-featured {
  padding: 1.4rem 1.3rem;
  text-align: left;
}

/* Ronde icon container met gestippelde rand */
.card-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-pale);
  border-radius: 50%;
  margin-bottom: 0.75rem;
  position: relative;
  transition: background 0.35s ease, transform 0.35s ease;
  z-index: 1;
}

.card-icon iconify-icon {
  color: var(--sage-dark);
  width: 19px;
  height: 19px;
  transition: color 0.3s ease, transform 0.4s ease;
}

/* Trage roterende dashed cirkel — botanisch labelvibe */
.card-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px dashed var(--sage-light);
  border-radius: 50%;
  opacity: 0.55;
  animation: iconRotate 60s linear infinite;
  transition: opacity 0.3s ease;
}

@keyframes iconRotate {
  to { transform: rotate(360deg); }
}

.garden-card:hover .card-icon {
  background: var(--sage-light);
  transform: scale(1.06);
}

.garden-card:hover .card-icon iconify-icon {
  color: var(--sage-deep);
}

.garden-card:hover .card-icon::before {
  opacity: 0.9;
}

.garden-card-featured .card-icon {
  margin-left: 0;
  margin-right: 0;
}

.garden-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--sage-deep);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  padding-bottom: 0.45rem;
  position: relative;
}

/* Dunne accent-streep onder titel — groeit op hover */
.garden-card h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 18px;
  height: 1px;
  background: var(--sage);
  opacity: 0.5;
  transition: width 0.4s cubic-bezier(.22,.61,.36,1), opacity 0.3s ease;
}

.garden-card:hover h3::after {
  width: 36px;
  opacity: 0.85;
}

.garden-card-featured h3 {
  font-size: 1.3rem;
}


/* Staggered reveal: kaarten verschijnen één voor één */
.garden-grid .garden-card:nth-child(1) { transition-delay: 0s;    }
.garden-grid .garden-card:nth-child(2) { transition-delay: 0.08s; }
.garden-grid .garden-card:nth-child(3) { transition-delay: 0.16s; }
.garden-grid .garden-card:nth-child(4) { transition-delay: 0.24s; }
.garden-grid .garden-card:nth-child(5) { transition-delay: 0.32s; }

.garden-card p,
.garden-card li {
  font-size: 0.86rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.6;
}

.garden-card p + p { margin-top: 0.4rem; }


/* Dresscode pill op featured card */
.dresscode-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: var(--blush-pale);
  border: 1px solid var(--blush);
  border-radius: 50px;
  color: var(--blush-deep);
  font-size: 0.74rem !important;
  margin-bottom: 0.7rem !important;
  font-weight: 500 !important;
}

.dresscode-tag em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  letter-spacing: 0.04em;
}

/* ── Petals die door de praktische-sectie zweven ─────── */
.petals-section .petal {
  opacity: 0.45;
}

.petals-section .petal:nth-child(1) { left: 12%; animation-duration: 32s; animation-delay:  -2s; background: var(--blush);     width: 11px; height: 11px; }
.petals-section .petal:nth-child(2) { left: 28%; animation-duration: 38s; animation-delay: -18s; background: var(--blush-pale); width: 10px; height: 10px; }
.petals-section .petal:nth-child(3) { left: 48%; animation-duration: 34s; animation-delay:  -8s; background: var(--sage-light); width: 12px; height: 12px; }
.petals-section .petal:nth-child(4) { left: 65%; animation-duration: 36s; animation-delay: -24s; background: var(--blush);     width: 10px; height: 10px; }
.petals-section .petal:nth-child(5) { left: 82%; animation-duration: 33s; animation-delay: -14s; background: var(--blush-pale); width: 11px; height: 11px; }
.petals-section .petal:nth-child(6) { left: 92%; animation-duration: 40s; animation-delay:  -5s; background: var(--sage-light); width: 9px;  height: 9px; }

/* ═══ Cadeautips — onze wensen als open brief ═══ */
#cadeaus {
  background:
    radial-gradient(ellipse at 88% 12%, rgba(232, 200, 191, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse at 12% 88%, rgba(155, 181, 146, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--blush-pale) 100%);
  position: relative;
  overflow: hidden;
}

.gift-intro {
  max-width: 580px;
  margin: 0 auto 3.5rem;
  font-size: 1rem;
  color: var(--text-mid);
  font-weight: 300;
  text-align: center;
  line-height: 1.7;
}

/* Twee wenskaarten */
.wish-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 880px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .wish-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.wish-card {
  position: relative;
  background: var(--white);
  padding: 2.5rem 2rem 2rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.4s cubic-bezier(.22,.61,.36,1),
              box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Ademende aura — altijd zichtbaar, ebt en vloeit traag */
.wish-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 5%,
                    rgba(155, 181, 146, 0.42) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 100%,
                    rgba(232, 200, 191, 0.38) 0%, transparent 60%);
  opacity: 0.5;
  animation: auraBreathe 6.5s ease-in-out infinite;
  pointer-events: none;
}

/* Kaart 2 ademt tegengesteld — twee dromen in een rustig duet */
.wish-grid .wish-card:nth-of-type(2)::before {
  animation-delay: -3.25s;
}

@keyframes auraBreathe {
  0%, 100% { opacity: 0.32; }
  50%      { opacity: 0.88; }
}

@media (prefers-reduced-motion: reduce) {
  .wish-card::before { animation: none; opacity: 0.6; }
}

.wish-card:hover {
  transform: translateY(-5px);
  border-color: var(--sage-light);
  box-shadow:
    0 1px 0 rgba(94, 125, 84, 0.04),
    0 18px 38px rgba(94, 125, 84, 0.13);
}

/* Decoratief lijntje bovenaan met blush bolletjes aan de uiteinden */
.wish-ornament {
  display: block;
  width: 70px;
  height: 1px;
  margin: 0 auto 1.5rem;
  background: var(--sage);
  opacity: 0.45;
  position: relative;
}

.wish-ornament::before,
.wish-ornament::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--blush-deep);
}

.wish-ornament::before { left: -10px; }
.wish-ornament::after  { right: -10px; }

/* Klein italic ondertitel */
.wish-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--blush-deep);
  margin-bottom: 0.2rem;
}

/* GROOT script woord — emotioneel hart van de kaart */
.wish-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3.5rem, 7vw, 5rem);
  color: var(--sage-deep);
  line-height: 1;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

/* Subtiele dunne accent-streep onder het script woord */
.wish-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.4rem;
  width: 28px;
  height: 1px;
  background: var(--sage);
  opacity: 0.5;
  transform: translateX(-50%);
  transition: width 0.4s ease, opacity 0.3s ease;
}

.wish-card:hover .wish-title::after {
  width: 60px;
  opacity: 0.85;
}

/* Lopende tekst — neemt resterende ruimte zodat icoon altijd onderaan staat */
.wish-body {
  font-size: 0.94rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.7;
  max-width: 300px;
  margin: 0 auto 1.75rem;
  flex: 1;
}

/* Icoon-wrapper — push naar de onderkant van de kaart */
.wish-icon-wrap {
  width: 44px;
  height: 44px;
  margin: auto auto 0;
}

/* Icoon onder — zelfde dashed-circle motief als praktisch/dag */
.wish-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-pale);
  border-radius: 50%;
  position: relative;
  transition: background 0.35s ease, transform 0.35s ease;
}

.wish-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px dashed var(--sage-light);
  border-radius: 50%;
  opacity: 0.55;
  animation: iconRotate 60s linear infinite;
}

.wish-icon iconify-icon {
  color: var(--sage-dark);
  transition: color 0.3s ease;
}

.wish-card:hover .wish-icon {
  background: var(--sage-light);
  transform: scale(1.08);
}

.wish-card:hover .wish-icon iconify-icon {
  color: var(--sage-deep);
}


/* ── RSVP CTA section ───────────────────────────────────── */
/* ═══ RSVP — een tuin bij avondlicht ═══ */
#rsvp {
  background:
    radial-gradient(ellipse 60% 50% at 25% 15%, rgba(232, 200, 191, 0.20) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 78% 50%, rgba(207, 222, 197, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, var(--sage) 0%, var(--sage-dark) 50%, var(--sage-deep) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#rsvp::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 75% 35%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

#rsvp .section-label { color: rgba(255,255,255,0.65); }
#rsvp .section-title { color: var(--white); }
#rsvp .section-intro {
  color: rgba(255,255,255,0.82);
  font-size: 1.02rem;
  margin-bottom: 0;
}

/* ── Vuurvliegjes / sparkles ──────────────────────────── */
.sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(245, 233, 214, 0.95);
  box-shadow:
    0 0 8px rgba(245, 233, 214, 0.7),
    0 0 16px rgba(245, 233, 214, 0.35);
  opacity: 0;
  animation: sparkleTwinkle ease-in-out infinite;
}

@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0;    transform: scale(0.4); }
  40%      { opacity: 0.95; transform: scale(1);   }
  60%      { opacity: 0.95; transform: scale(1);   }
}

@media (prefers-reduced-motion: reduce) {
  .sparkle { opacity: 0.4; animation: none; }
}

/* Verspreid op verschillende plekken, met diverse groottes en timings */
.sparkle:nth-child(1)  { top:  8%; left:  6%; width: 3px; height: 3px; animation-duration: 4.5s; animation-delay:  0s;    }
.sparkle:nth-child(2)  { top: 18%; left: 92%; width: 5px; height: 5px; animation-duration: 5.5s; animation-delay: -2.2s;  }
.sparkle:nth-child(3)  { top: 32%; left: 16%; width: 4px; height: 4px; animation-duration: 4s;   animation-delay: -1s;    }
.sparkle:nth-child(4)  { top: 55%; left: 88%; width: 3px; height: 3px; animation-duration: 4.8s; animation-delay: -3.4s;  }
.sparkle:nth-child(5)  { top: 75%; left:  8%; width: 4px; height: 4px; animation-duration: 5.2s; animation-delay: -0.7s;  }
.sparkle:nth-child(6)  { top: 87%; left: 78%; width: 5px; height: 5px; animation-duration: 4.4s; animation-delay: -2.6s;  }
.sparkle:nth-child(7)  { top: 12%; left: 72%; width: 4px; height: 4px; animation-duration: 5.8s; animation-delay: -4.1s;  }
.sparkle:nth-child(8)  { top: 44%; left:  4%; width: 3px; height: 3px; animation-duration: 4.6s; animation-delay: -1.6s;  }
.sparkle:nth-child(9)  { top: 80%; left: 40%; width: 4px; height: 4px; animation-duration: 5s;   animation-delay: -3s;    }
.sparkle:nth-child(10) { top: 26%; left: 52%; width: 3px; height: 3px; animation-duration: 6s;   animation-delay: -1.9s;  }
.sparkle:nth-child(11) { top: 62%; left: 60%; width: 4px; height: 4px; animation-duration: 4.2s; animation-delay: -1.1s;  }
.sparkle:nth-child(12) { top:  6%; left: 42%; width: 4px; height: 4px; animation-duration: 5.5s; animation-delay: -4.5s;  }
.sparkle:nth-child(13) { top: 50%; left: 32%; width: 3px; height: 3px; animation-duration: 5s;   animation-delay: -2.8s;  }
.sparkle:nth-child(14) { top: 92%; left: 50%; width: 4px; height: 4px; animation-duration: 4.6s; animation-delay: -0.4s;  }

/* ── CTA stack ───────────────────────────────────────── */
.rsvp-intro { margin-bottom: 2.5rem; }

.rsvp-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Grotere primary knop met subtiele aura */
.btn-large-cta {
  padding: 1.1rem 3rem;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 4px 22px rgba(0, 0, 0, 0.22),
    0 0 36px rgba(255, 255, 255, 0.08);
}

.btn-large-cta:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 8px 28px rgba(0, 0, 0, 0.28),
    0 0 48px rgba(255, 255, 255, 0.14);
}

.rsvp-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.rsvp-deadline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.7);
  margin: 0;
  text-transform: uppercase;
}

.rsvp-deadline iconify-icon { flex-shrink: 0; opacity: 0.85; }

/* ── Divider tussen CTA en contact ──────────────────── */
.rsvp-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  width: 100%;
  max-width: 320px;
  margin: 3.5rem auto 2.5rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
}

.divider-glyph {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

/* ── Contact / WhatsApp ──────────────────────────────── */
.contact-line {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--white);
  margin: 0 0 0.3rem;
  letter-spacing: 0.01em;
}

.contact-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin: 0 0 1.5rem;
  font-weight: 300;
}

/* ── Modal ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 18, 0.60);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  width: min(100%, 520px);
  max-height: 90dvh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  background: var(--cream);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 1.1rem;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--cream-dark); color: var(--text); }

.modal-header { text-align: center; margin-bottom: 1.75rem; }

/* In form- en success-step: titel blijft, ondertitel verdwijnt */
.modal:has(#formStep.active) #modalSubtitle,
.modal:has(#successStep.active) #modalSubtitle {
  display: none;
}

/* Minder marge onder de header wanneer de subtitle verdwijnt */
.modal:has(#formStep.active) .modal-header,
.modal:has(#successStep.active) .modal-header {
  margin-bottom: 1.25rem;
}

/* Titel-streep weg in form-step (de form-welcome heeft al een eigen divider) */
.modal:has(#formStep.active) .modal-title::after,
.modal:has(#successStep.active) .modal-title::after {
  display: none;
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 2.4rem;
  color: var(--sage-deep);
  letter-spacing: 0.06em;
  margin: 0 0 0.4rem;
  line-height: 1;
  position: relative;
  display: inline-block;
}

/* Subtiel sage streepje onder de titel */
.modal-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--sage);
  opacity: 0.5;
  margin: 0.55rem auto 0;
}

.modal-header p {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 300;
  margin: 0;
}

/* Password step */
.pw-step {
  text-align: center;
}

.pw-step p {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.pw-step .lock-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: var(--sage-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pw-step .lock-icon iconify-icon {
  color: var(--sage-dark);
}

/* Form */
.form-step { display: none; }
.form-step.active { display: block; }
.pw-step.hidden { display: none; }

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(143, 169, 126, 0.15);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9e87' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

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

.radio-group {
  display: flex;
  gap: 1rem;
}

.radio-label {
  flex: 1;
  cursor: pointer;
}

.radio-label input {
  display: none;
}

.radio-label .radio-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all 0.2s;
  background: var(--cream);
}

.radio-label .radio-btn iconify-icon {
  flex-shrink: 0;
}

.radio-label input:checked + .radio-btn {
  border-color: var(--sage);
  background: var(--sage-pale);
  color: var(--sage-dark);
  font-weight: 600;
}

/* ── Form welcome — persoonlijke begroeting ──────────── */
.form-welcome {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-welcome-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--blush-deep);
  letter-spacing: 0.2em;
  text-transform: lowercase;
  margin: 0;
}

.form-welcome-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--sage-deep);
  margin: 0.15rem 0 0.7rem;
  line-height: 1.25;
}

.form-welcome-divider {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--sage);
  opacity: 0.45;
}

/* ── Form sections ──────────────────────────────────── */
.form-section {
  margin-bottom: 1.85rem;
}

/* Sectiekop: nummerbolletje + titel naast elkaar */
.form-section-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

/* Genummerd bolletje — zelfde dashed-circle motief als overal */
.form-section-num {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-pale);
  border-radius: 50%;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sage-deep);
  letter-spacing: 0.02em;
}

.form-section-num::before {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px dashed var(--sage-light);
  border-radius: 50%;
  opacity: 0.55;
  animation: iconRotate 60s linear infinite;
}

.form-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--sage-deep);
  margin: 0;
  line-height: 1.2;
}

/* Sterretje bij verplichte sectie */
.form-required {
  color: var(--blush-deep);
  font-weight: 600;
  margin-left: 0.2rem;
  font-size: 1.05em;
  line-height: 0;
  vertical-align: 0.1em;
}

/* Subtiele "optioneel" tag */
.form-optional {
  display: inline-block;
  margin-left: 0.45rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.04em;
  vertical-align: 0.2em;
}

.form-section-sub {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0 0 0.85rem;
}

/* ── Familieleden checkboxes ─────────────────────────── */
.members-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.member-label {
  cursor: pointer;
}

.member-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.member-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem 0.55rem 0.8rem;
  border: 1.5px solid var(--sage);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--sage-dark);
  background: var(--sage-pale);
  transition: all 0.2s ease;
  user-select: none;
}

.member-btn .member-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.2s;
}

.member-label input:checked + .member-btn {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}

.member-label input:checked + .member-btn .member-icon {
  background: var(--white);
  color: var(--sage-deep);
}

.member-label.unchecked .member-btn {
  background: var(--blush-pale);
  border-color: var(--blush);
  color: var(--blush-deep);
}

.member-label.unchecked .member-btn .member-name {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--blush-deep);
  opacity: 0.82;
}

.member-label.unchecked .member-btn .member-icon {
  background: var(--blush-deep);
  color: var(--white);
}

.member-label:hover .member-btn {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(94, 125, 84, 0.10);
}

/* Live samenvatting onder de chips */
.members-summary {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.55;
  min-height: 1.2em;
}

.members-summary strong {
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  font-size: 0.74rem;
  margin-right: 0.25rem;
}

.members-summary .summary-present strong { color: var(--sage-dark); }
.members-summary .summary-absent  strong { color: var(--blush-deep); }
.members-summary .summary-absent  { color: var(--blush-deep); }
.members-summary .summary-sep {
  display: inline-block;
  margin: 0 0.5rem;
  color: var(--cream-dark);
}

/* Tekstvak in de form-sectie — matched bij de inputstijl */
.form-section textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: 'Raleway', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  outline: none;
  resize: vertical;
  min-height: 90px;
  appearance: none;
}

.form-section textarea::placeholder {
  color: var(--text-light);
  font-style: italic;
  opacity: 0.75;
}

.form-section textarea:focus {
  border-color: var(--sage);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(155, 181, 146, 0.15);
}

/* Karakterteller onder bericht */
.form-char-count {
  text-align: right;
  font-size: 0.72rem;
  color: var(--text-light);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  margin: 0.35rem 0 0;
}

.form-char-count.near-limit { color: var(--blush-deep); }

/* Submit-knop met hartje */
.form-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.form-submit-btn iconify-icon {
  color: var(--blush);
}

/* ── Spotify zoekbalk ────────────────────────────────── */
.spotify-results[hidden],
.spotify-selected[hidden] {
  display: none !important;
}

.existing-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--sage-pale);
  border: 1px solid var(--sage);
  border-radius: var(--radius-sm);
  color: var(--sage-dark);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.existing-banner iconify-icon {
  flex-shrink: 0;
  color: var(--sage);
}

.song-disclaimer {
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.5rem;
  line-height: 1.4;
}

.spotify-wrap {
  position: relative;
}

.spotify-input-row {
  position: relative;
  display: flex;
  align-items: center;
}

.spotify-search-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-light);
  pointer-events: none;
  flex-shrink: 0;
}

.spotify-input-row input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--cream);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.spotify-input-row input:focus {
  border-color: var(--sage);
  background: var(--white);
}

.spotify-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  list-style: none;
  padding: 0.35rem 0;
  margin: 0;
  z-index: 100;
  max-height: 280px;
  overflow-y: auto;
}

.spotify-results li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background 0.15s;
}

.spotify-results li:hover,
.spotify-results li:focus {
  background: var(--cream);
}

.spotify-results li img {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--cream-dark);
}

.spotify-result-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.spotify-result-info strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-result-info span {
  font-size: 0.78rem;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-results-empty {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
}

.spotify-selected {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.6rem;
  padding: 0.65rem 0.9rem;
  background: var(--sage-pale);
  border: 1.5px solid var(--sage);
  border-radius: var(--radius-sm);
}

.spotify-selected img {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.spotify-selected-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.spotify-selected-info strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sage-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-selected-info span {
  font-size: 0.78rem;
  color: var(--sage);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-clear {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sage);
  padding: 0.25rem;
  flex-shrink: 0;
  line-height: 0;
  border-radius: 50%;
  transition: background 0.15s;
}

.spotify-clear:hover {
  background: rgba(0, 0, 0, 0.06);
}

.spotify-loading {
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: center;
}

.form-error {
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: 0.35rem;
  display: none;
}

/* Code-input — authenticator-stijl met 6 losse vakjes */
.code-input-group {
  text-align: center;
  margin-top: 1.25rem;
}

.code-boxes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.code-box {
  width: 2.6rem;
  height: 3.2rem;
  padding: 0;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--sage-deep);
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  outline: none;
  text-transform: uppercase;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.15s;
  caret-color: var(--sage);
}

.code-box:focus {
  border-color: var(--sage);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(155, 181, 146, 0.18);
}

.code-box.filled {
  background: var(--sage-pale);
  border-color: var(--sage-light);
  color: var(--sage-deep);
}

.code-box.shake {
  animation: codeShake 0.4s ease-in-out;
  border-color: #c0392b;
}

@keyframes codeShake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-4px); }
  75%      { transform: translateX(4px); }
}

.code-dash {
  color: var(--text-light);
  font-size: 1.4rem;
  user-select: none;
  margin: 0 0.15rem;
  opacity: 0.6;
}

@media (max-width: 420px) {
  .code-boxes { gap: 0.35rem; }
  .code-box { width: 2.2rem; height: 2.8rem; font-size: 1.45rem; }
  .code-dash { font-size: 1.2rem; margin: 0 0.05rem; }
}

.pw-error {
  color: #c0392b;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 0.5rem;
  min-height: 1.2em;
}

.form-submit {
  margin-top: 1.5rem;
}

/* Success message */
/* ═══ Success-step ═══ */
.success-step {
  display: none;
  text-align: center;
  padding: 1rem 0 0.5rem;
}
.success-step.active { display: block; }

/* Hart in sage-pale cirkel met dashed ring — zelfde motief als overal */
.success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.4rem;
  background: var(--sage-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.success-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px dashed var(--sage-light);
  border-radius: 50%;
  opacity: 0.6;
  animation: iconRotate 60s linear infinite;
}

.success-icon iconify-icon {
  color: var(--blush-deep);
}

.success-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--blush-deep);
  letter-spacing: 0.2em;
  text-transform: lowercase;
  margin: 0 0 0.5rem;
}

.success-message {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--sage-deep);
  margin: 0 auto 1.1rem;
  line-height: 1.3;
  max-width: 360px;
}

.success-divider {
  display: block;
  width: 50px;
  height: 1px;
  background: var(--sage);
  opacity: 0.45;
  margin: 0 auto 1.65rem;
}

.success-close-btn {
  display: inline-flex;
  letter-spacing: 0.16em;
  padding: 0.7rem 1.8rem;
}

/* ── Footer ─────────────────────────────────────────────── */
/* ═══ Footer — de diepe nacht na het feest ═══ */
footer {
  background:
    radial-gradient(ellipse 50% 70% at 88% 25%, rgba(232, 200, 191, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 12% 70%, rgba(207, 222, 197, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #2c3a25 0%, #1d2818 100%);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  padding: 4.5rem 2rem 2.75rem;
  position: relative;
  overflow: hidden;
}

/* Maan-glow in de rechterbovenhoek */
.footer-moon {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
              rgba(245, 233, 214, 0.12) 0%,
              rgba(245, 233, 214, 0.05) 40%,
              transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Sparkles in de footer */
.footer-sparkles { z-index: 0; }

.footer-sparkles .sparkle:nth-child(1) { top: 18%; left: 14%; width: 3px; height: 3px; animation-duration: 4.5s; animation-delay: -1s;   }
.footer-sparkles .sparkle:nth-child(2) { top: 30%; left: 82%; width: 4px; height: 4px; animation-duration: 5.5s; animation-delay: -2.5s; }
.footer-sparkles .sparkle:nth-child(3) { top: 65%; left:  6%; width: 3px; height: 3px; animation-duration: 4.8s; animation-delay: -3.2s; }
.footer-sparkles .sparkle:nth-child(4) { top: 75%; left: 78%; width: 4px; height: 4px; animation-duration: 5s;   animation-delay: -0.5s; }
.footer-sparkles .sparkle:nth-child(5) { top: 42%; left: 92%; width: 3px; height: 3px; animation-duration: 5.2s; animation-delay: -4s;   }
.footer-sparkles .sparkle:nth-child(6) { top: 88%; left: 38%; width: 3px; height: 3px; animation-duration: 4.6s; animation-delay: -2s;   }
.footer-sparkles .sparkle:nth-child(7) { top: 10%; left: 50%; width: 4px; height: 4px; animation-duration: 5.8s; animation-delay: -3.5s; }
.footer-sparkles .sparkle:nth-child(8) { top: 55%; left: 60%; width: 3px; height: 3px; animation-duration: 4.4s; animation-delay: -1.7s; }
.footer-sparkles .sparkle:nth-child(9) { top: 25%; left: 38%; width: 3px; height: 3px; animation-duration: 5.2s; animation-delay: -3s;   }

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo {
  color: var(--white);
  line-height: 0;
  transition: opacity 0.25s ease, transform 0.4s ease;
  display: inline-block;
  width: 110px;
  height: 110px;
}

.footer-logo:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.footer-date {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.78);
  margin: 0.25rem 0 0;
}

.footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  max-width: 220px;
  margin: 0.5rem auto;
}

.footer-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.footer-divider em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
}

.footer-copy {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  letter-spacing: 0.02em;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo {
  color: var(--white);
  line-height: 0;
  transition: opacity 0.25s ease, transform 0.4s ease;
  display: inline-block;
  width: 110px;
  height: 110px;
}

.footer-logo:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.footer-date {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.78);
  margin: 0.25rem 0 0;
}

.footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  max-width: 220px;
  margin: 0.5rem auto;
}

.footer-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.footer-divider em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
}

.footer-copy {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-6px); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 70px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(250, 248, 244, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px var(--shadow);
    padding: 1rem 0 1.5rem;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.9rem 2rem;
    color: var(--text-mid) !important;
    border: none !important;
    font-size: 0.85rem;
  }

  .nav-links a:hover { background: var(--sage-pale); color: var(--sage-dark) !important; }

  .btn-rsvp-nav {
    margin: 0.5rem 2rem !important;
    text-align: center;
    border-radius: 50px !important;
    background: var(--sage) !important;
    color: var(--white) !important;
    padding: 0.7rem 1.4rem !important;
  }

  .nav-toggle { display: flex; }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .story-image { order: -1; }
  .story-text .section-title { text-align: left; }
  .story-text { text-align: left; }

  .story-image-wrap { max-width: 340px; }
  .story-milestones { gap: 0.75rem; }
  .milestone-year { font-size: 1.25rem; }
  .milestone-text { font-size: 0.74rem; }

  /* SVG-lijn naar links verplaatsen zodat hij over de icoon-kolom loopt */
  .timeline-svg {
    left: 0 !important;
    transform: none !important;
    width: 44px !important;
  }
  .timeline-cap        { left: 22px !important; }
  .timeline-glow       { display: none; }  /* lichtpunt skip op mobile */

  .timeline-item {
    grid-template-columns: 48px 1fr;
    gap: 0;
    margin-bottom: 2rem;
  }

  .timeline-content {
    padding: 1rem 1.2rem !important;
    text-align: left !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin-left: 1rem !important;
    margin-right: 0 !important;
  }

  .timeline-content::before {
    left: -1rem !important;
    right: auto !important;
    width: 1rem !important;
  }

  .timeline-dot {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-content: flex-start;
    padding-left: 3px;  /* icoon-midden = 22px = waar de lijn zit */
    padding-top: 0.35rem;
  }

  .timeline-dot-inner {
    width: 38px;
    height: 38px;
  }

  .timeline-dot-inner iconify-icon {
    width: 18px;
    height: 18px;
  }

  .timeline-empty { display: none !important; }

  /* Op mobile staan tijd + titel-streep altijd links */
  .timeline-item .timeline-time { justify-content: flex-start !important; }
  .timeline-item .timeline-time::before { display: none !important; }
  .timeline-item .timeline-time::after  { display: inline-block !important; }
  .timeline-item .timeline-title::after { left: 0 !important; right: auto !important; }

  .modal { padding: 2rem 1.5rem; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-names { font-size: 3.5rem; }
  .modal { padding: 1.75rem 1.25rem; }
}
