/* ===========================
   Bruiloft — annelotentim.nl
   Aesthetic: Luxury Botanical Stationery
   =========================== */

:root {
  --sage: #A3B18A;
  --sage-dark: #588157;
  --sage-light: #DAD7CD;
  --cream: #FEFAE0;
  --warm-white: #FFFDF7;
  --text-dark: #3A3A3A;
  --text-soft: #7A7A7A;
  --gold: #C9A96E;
  --gold-light: #DFC89A;
  --gold-faint: rgba(201, 169, 110, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--sage-dark);
  color: #fff;
  border-radius: 0 0 8px 8px;
  z-index: 100;
  font-size: 0.9rem;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Body & grain */
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

h2.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 500;
  font-style: italic;
  text-align: center;
  margin-bottom: 0.15em;
  color: var(--text-dark);
  text-wrap: balance;
  letter-spacing: 0.01em;
}

section[id] {
  scroll-margin-top: 2rem;
}

/* ===========================
   Shared ornaments
   =========================== */

.section-ornament,
.hero__rule,
.footer__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-ornament span:first-child,
.section-ornament span:last-child,
.hero__rule span:first-child,
.hero__rule span:last-child,
.footer__rule span:first-child,
.footer__rule span:last-child {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light));
}

.section-ornament span:last-child,
.hero__rule span:last-child,
.footer__rule span:last-child {
  background: linear-gradient(to left, transparent, var(--gold-light));
}

.section-ornament__diamond,
.hero__rule-diamond,
.footer__rule-diamond {
  font-size: 0.7rem;
  color: var(--gold);
  line-height: 1;
}

/* ===========================
   Hero
   =========================== */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(201, 169, 110, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(163, 177, 138, 0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 80%, rgba(163, 177, 138, 0.05) 0%, transparent 45%);
}

/* Decorative frame */
.hero__frame {
  position: absolute;
  inset: 1.25rem;
  border: 1px solid var(--gold-light);
  pointer-events: none;
  opacity: 0;
  animation: frameReveal 1.6s 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__frame::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 169, 110, 0.12);
  pointer-events: none;
}

@keyframes frameReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 640px) {
  .hero__frame { inset: 2.5rem; }
  .hero__frame::before { inset: 8px; }
}

/* Hero corners */
.hero__frame::after {
  content: '';
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    /* Top-left */
    linear-gradient(var(--gold-light), var(--gold-light)) 0 0 / 20px 1px no-repeat,
    linear-gradient(var(--gold-light), var(--gold-light)) 0 0 / 1px 20px no-repeat,
    /* Top-right */
    linear-gradient(var(--gold-light), var(--gold-light)) 100% 0 / 20px 1px no-repeat,
    linear-gradient(var(--gold-light), var(--gold-light)) 100% 0 / 1px 20px no-repeat,
    /* Bottom-left */
    linear-gradient(var(--gold-light), var(--gold-light)) 0 100% / 20px 1px no-repeat,
    linear-gradient(var(--gold-light), var(--gold-light)) 0 100% / 1px 20px no-repeat,
    /* Bottom-right */
    linear-gradient(var(--gold-light), var(--gold-light)) 100% 100% / 20px 1px no-repeat,
    linear-gradient(var(--gold-light), var(--gold-light)) 100% 100% / 1px 20px no-repeat;
}

.hero__content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero__content > * {
  opacity: 0;
  animation: heroItemIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__subtitle { animation-delay: 0.1s; }
.hero__title { animation-delay: 0.25s; }
.hero__rule { animation-delay: 0.4s; }
.hero__date { animation-delay: 0.5s; }
.hero__countdown { animation-delay: 0.6s; }
.hero__cta { animation-delay: 0.7s; }
.hero__calendar { animation-delay: 0.85s; }

@keyframes heroItemIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(3.2rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
}

.hero__ampersand {
  display: block;
  font-family: 'Pinyon Script', cursive;
  font-size: 0.55em;
  font-weight: 400;
  color: var(--gold);
  line-height: 1.2;
  margin: 0.05em 0;
}

.hero__rule {
  margin: 1.75rem auto;
}

.hero__date {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* Countdown */
.hero__countdown {
  display: flex;
  gap: 0;
  align-items: flex-start;
  justify-content: center;
  margin-top: 2.5rem;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 4rem;
}

.countdown__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
  text-align: center;
}

.countdown__label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-soft);
  margin-top: 0.5rem;
}

.countdown__sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  margin-top: 0.2rem;
  user-select: none;
}

/* CTA */
.hero__cta {
  display: inline-block;
  margin-top: 3rem;
  padding: 0.8rem 2.75rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
  border: 1px solid var(--gold-light);
  position: relative;
  overflow: hidden;
  transition: color 0.4s;
}

.hero__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.hero__cta:hover {
  color: var(--warm-white);
}

.hero__cta:hover::before {
  transform: scaleX(1);
}

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

/* Calendar link */
.hero__calendar {
  display: block;
  margin-top: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-soft);
  transition: color 0.3s;
}

.hero__calendar:hover {
  color: var(--gold);
}

/* ===========================
   Informatie
   =========================== */

.info {
  padding: 6rem 2rem 5rem;
  background-color: #E8E5D8;
  background-image:
    radial-gradient(ellipse at 25% 0%, rgba(201, 169, 110, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 100%, rgba(201, 169, 110, 0.04) 0%, transparent 50%);
}

.info__subtitle {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.info__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 720px;
  margin: 2.5rem auto 0;
}

@media (min-width: 640px) {
  .info__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.info__card {
  background: var(--warm-white);
  padding: 2.5rem 2rem 2.25rem;
  text-align: center;
  position: relative;
  border: 1px solid rgba(201, 169, 110, 0.15);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
}

/* Inner frame on cards */
.info__card::after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(201, 169, 110, 0.08);
  pointer-events: none;
}

@media (min-width: 640px) {
  .info__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
  }
}

.info__card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  position: relative;
}

.info__card h3::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold-light);
  margin: 0.65rem auto 0;
}

/* Venue info */
.info__venue {
  margin-bottom: 0.25rem;
}

.info__venue-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

a.info__venue-address {
  display: block;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 0.1rem;
  text-decoration: none;
  transition: color 0.3s;
}

a.info__venue-address:hover {
  color: var(--gold);
}

.info__venue-detail {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-top: 0.3rem;
}

.info__divider {
  border: none;
  border-top: 1px solid var(--gold-faint);
  margin: 1rem 2rem;
}

/* Schedule — timeline style */
.info__schedule {
  text-align: left;
  position: relative;
  padding-left: 0;
}

.info__schedule-row {
  display: flex;
  gap: 0;
  align-items: center;
  padding: 0.5rem 0;
}

.info__schedule-row + .info__schedule-row {
  border-top: 1px solid rgba(201, 169, 110, 0.06);
}

.info__schedule dt {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--text-dark);
  min-width: 3.2rem;
  flex-shrink: 0;
}

.info__schedule dd {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 400;
}

.info__schedule-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
  flex-shrink: 0;
}

/* Location transition */
.info__schedule-transition {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.75rem 0;
  margin: 0.25rem 0;
  border-top: 1px dashed rgba(201, 169, 110, 0.2);
  border-bottom: 1px dashed rgba(201, 169, 110, 0.2);
}

.info__schedule-transition em {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: var(--sage-dark);
}

.info__schedule-transition span {
  font-size: 0.75rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

/* Dresscode — standalone line */
.info__dresscode {
  text-align: center;
  margin-top: 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.info__dresscode em {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-dark);
}

/* ===========================
   FAQ (inside praktisch)
   =========================== */

.faq__list {
  max-width: 560px;
  margin: 2.5rem auto 0;
}

.faq__item {
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s;
}

.faq__item[open] summary::after {
  content: '\2212';
  transform: rotate(180deg);
}

.faq__item p {
  padding: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  animation: faqOpen 0.3s ease forwards;
}

@keyframes faqOpen {
  from { max-height: 0; opacity: 0; }
  to { max-height: 200px; opacity: 1; }
}

.faq__item:not([open]) p {
  animation: none;
}

.faq__item a {
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-faint);
  transition: border-color 0.3s, color 0.3s;
}

.faq__item a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

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

.rsvp {
  padding: 6rem 2rem 7rem;
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(201, 169, 110, 0.05) 0%, transparent 50%);
}

.rsvp__intro {
  text-align: center;
  max-width: 420px;
  margin: 0.5rem auto 0.75rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-soft);
  line-height: 1.6;
}

.rsvp__deadline {
  text-align: center;
  margin: 0 auto 3rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

.rsvp__form {
  max-width: 440px;
  margin: 0 auto;
  background: var(--warm-white);
  padding: 3rem 2.25rem 2.5rem;
  border: 1px solid rgba(201, 169, 110, 0.15);
  position: relative;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
}

/* Inner frame */
.rsvp__form::after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(201, 169, 110, 0.08);
  pointer-events: none;
}

/* Form elements */
.form-group {
  margin-bottom: 1.5rem;
  border: none;
  position: relative;
  z-index: 1;
}

.form-group label,
.form-group legend {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.required {
  color: var(--sage-dark);
}

input[type="text"],
select,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  background: #fff;
  color: var(--text-dark);
  transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-faint);
}

input[type="text"]::placeholder,
textarea::placeholder {
  color: var(--sage-light);
  font-weight: 300;
}

textarea {
  resize: vertical;
}

select {
  appearance: none;
  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='%23C9A96E' 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;
}

/* Radio */
.radio-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 400;
  padding: 0.7rem 1.25rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  transition: border-color 0.3s, background-color 0.3s;
  flex: 1;
  justify-content: center;
}

.radio-label:hover {
  border-color: var(--gold-light);
  background-color: var(--gold-faint);
}

.radio-label:has(input:checked) {
  border-color: var(--gold);
  background-color: var(--gold-faint);
}

input[type="radio"] {
  accent-color: var(--gold);
  width: 14px;
  height: 14px;
}

/* Button */
.btn {
  display: block;
  width: 100%;
  padding: 1rem;
  margin-top: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--warm-white);
  background: var(--gold);
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: transform 0.2s;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

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

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn:disabled::before {
  display: none;
}

/* Form message */
.form-message {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.form-message--success {
  background-color: rgba(163, 177, 138, 0.1);
  color: var(--sage-dark);
  border: 1px solid rgba(163, 177, 138, 0.2);
}

.form-message--error {
  background-color: rgba(198, 40, 40, 0.05);
  color: #b71c1c;
  border: 1px solid rgba(198, 40, 40, 0.1);
}

/* RSVP success celebration */
.rsvp__success {
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  animation: successFadeIn 0.6s ease forwards;
}

@keyframes successFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.rsvp__success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 8vw, 4rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.rsvp__success-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-soft);
}

/* Confetti */
.rsvp__confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rsvp__confetti span {
  position: absolute;
  top: -10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confettiFall 2.5s ease-out forwards;
}

.rsvp__confetti span:nth-child(1) { left: 10%; background: var(--sage); animation-delay: 0s; animation-duration: 2.2s; }
.rsvp__confetti span:nth-child(2) { left: 25%; background: var(--gold); animation-delay: 0.1s; animation-duration: 2.6s; }
.rsvp__confetti span:nth-child(3) { left: 40%; background: var(--sage-dark); animation-delay: 0.2s; animation-duration: 2.3s; }
.rsvp__confetti span:nth-child(4) { left: 55%; background: var(--gold-light); animation-delay: 0.05s; animation-duration: 2.7s; }
.rsvp__confetti span:nth-child(5) { left: 65%; background: var(--sage); animation-delay: 0.15s; animation-duration: 2.1s; }
.rsvp__confetti span:nth-child(6) { left: 75%; background: var(--gold); animation-delay: 0.25s; animation-duration: 2.4s; }
.rsvp__confetti span:nth-child(7) { left: 85%; background: var(--sage-dark); animation-delay: 0.1s; animation-duration: 2.8s; }
.rsvp__confetti span:nth-child(8) { left: 92%; background: var(--gold-light); animation-delay: 0.2s; animation-duration: 2.5s; }

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(300px) rotate(720deg);
    opacity: 0;
  }
}

/* ===========================
   Footer
   =========================== */

.footer {
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  background-color: #E8E5D8;
}

.footer__rule {
  margin-bottom: 1.5rem;
}

.footer__names {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-dark);
}

.footer__ampersand {
  font-family: 'Pinyon Script', cursive;
  color: var(--gold);
  font-size: 0.85em;
}

.footer__date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 0.4rem;
}

/* ===========================
   Fade-in animations
   =========================== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger info cards */
.info__card.fade-in:nth-child(1) { transition-delay: 0.1s; }
.info__card.fade-in:nth-child(2) { transition-delay: 0.25s; }

/* ===========================
   Praktisch
   =========================== */

.praktisch {
  padding: 5rem 2rem;
  background-color: #E8E5D8;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(201, 169, 110, 0.04) 0%, transparent 50%);
}


/* ===========================
   Scroll-driven parallax (progressive enhancement)
   =========================== */

@supports (animation-timeline: scroll()) {
  @keyframes heroParallax {
    from { transform: translateY(0); }
    to { transform: translateY(60px); }
  }

  @keyframes ornamentDrift {
    from { transform: translateY(15px); }
    to { transform: translateY(-5px); }
  }

  .hero__frame {
    animation: frameReveal 1.6s 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards,
               heroParallax linear forwards;
    animation-timeline: auto, scroll();
    animation-range: normal, 0vh 80vh;
  }

  .section-ornament {
    animation: ornamentDrift linear forwards;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }

  .section-ornament.visible {
    animation: ornamentDrift linear forwards;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   Micro-interactions
   =========================== */

.info__schedule-row {
  transition: background-color 0.3s;
  padding: 0.5rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: 2px;
}

@media (min-width: 640px) {
  .info__schedule-row:hover {
    background-color: var(--gold-faint);
  }
}

.hero__cta:active {
  transform: scale(0.97);
}

.btn:active {
  transform: scale(0.97);
}

/* ===========================
   Mobile refinements
   =========================== */

@media (max-width: 400px) {
  .countdown__item {
    min-width: 3rem;
  }

  .countdown__sep {
    margin: 0.2rem -0.25rem 0;
    font-size: 1.2rem;
  }

  .hero__cta {
    padding: 0.7rem 2rem;
  }

  .rsvp__form {
    padding: 2.5rem 1.5rem 2rem;
  }

  .radio-group {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Touch targets for coarse pointers */
@media (pointer: coarse) {
  .radio-label {
    min-height: 44px;
  }

  .faq__item a,
  a.info__venue-address {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .faq__item summary {
    min-height: 44px;
  }
}

/* Landscape fix: hero auto height on short viewports */
@media (max-height: 600px) {
  .hero {
    min-height: auto;
    padding: 4rem 2rem;
  }
}

/* FAQ and form spacing on small screens */
@media (max-width: 480px) {
  .faq__list {
    margin-top: 1.5rem;
  }

  .faq__item summary {
    font-size: 1.05rem;
    padding: 1rem 0;
  }

  .faq__item p {
    font-size: 0.85rem;
  }
}
