:root {
  --red: #DC413D;
  --red-dark: #B8322F;
  --cream: #FFF8F0;
  --warm-white: #FFFDF9;
  --brown: #4A3728;
  --brown-light: #6B5344;
  --gold: #C9A96E;
  --gold-light: #E8D5A8;
  --pink: #F2D5D0;
  --pink-light: #FAE8E5;
  --grey: #8A7E76;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--brown);
  overflow-x: hidden;
}

/* ── Navigation ── */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-back {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-back:hover { color: var(--gold-light); }

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--red);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(220,65,61,0.9) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(190,50,48,0.8) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(160,40,38,0.6) 0%, transparent 60%);
  z-index: 0;
}

.bunting {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 120px;
  z-index: 2;
  overflow: hidden;
}
.bunting svg { width: 100%; height: 100%; }

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

.save-the-date {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.3s ease forwards;
}

.years {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.5em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.5s ease forwards;
}

.wir-feiern {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: -0.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.7s ease forwards;
}

.big-number {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(7rem, 18vw, 14rem);
  color: #fff;
  line-height: 1;
  text-shadow: 0 8px 40px rgba(0,0,0,0.2);
  opacity: 0;
  animation: scaleIn 1.2s 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.jahre {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: -0.5rem;
  opacity: 0;
  animation: fadeUp 1s 1.2s ease forwards;
}

.logo-band {
  margin-top: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s 1.5s ease forwards;
}

.logo-band img {
  max-width: min(90vw, 500px);
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.15));
  border-radius: 8px;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1s 2s ease forwards;
}

.scroll-hint span {
  display: block;
  width: 2px; height: 40px;
  background: rgba(255,255,255,0.4);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.scroll-hint span::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  animation: scrollLine 2s ease-in-out infinite;
}

/* ── Date Section ── */
.date-section {
  padding: 6rem 2rem;
  text-align: center;
  background: var(--warm-white);
  position: relative;
}

.date-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 80px;
  background: linear-gradient(to bottom, var(--red), transparent);
}

.date-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border: 2px solid var(--gold-light);
  position: relative;
}

.date-card::before,
.date-card::after {
  content: '\2726';
  position: absolute;
  top: -0.6em;
  font-size: 1.2rem;
  color: var(--gold);
  background: var(--warm-white);
  padding: 0 0.5rem;
}
.date-card::before { left: 2rem; }
.date-card::after { right: 2rem; }

.date-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1rem;
}

.date-main {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--red);
  line-height: 1.3;
}

.date-sub {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  color: var(--brown-light);
  margin-top: 0.75rem;
  font-style: italic;
}

.date-location {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--grey);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold-light);
  letter-spacing: 0.05em;
}

/* ── Program Section ── */
.program-section {
  padding: 6rem 2rem;
  background: var(--cream);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--brown);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--grey);
  text-align: center;
  margin-bottom: 3rem;
}

.program-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.program-card {
  background: var(--warm-white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(201,169,110,0.15);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(74,55,40,0.08);
}
.program-card:hover::before { transform: scaleX(1); }

.program-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

.program-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.program-card p {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ── Location Section ── */
.location-section {
  padding: 6rem 2rem;
  background: var(--warm-white);
  text-align: center;
}

.address-block {
  max-width: 500px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--cream);
  border-radius: 16px;
  border: 1px solid var(--gold-light);
}

.address-block .pin { font-size: 2rem; margin-bottom: 1rem; display: block; }

.address-block h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.address-block p {
  font-family: 'Lora', serif;
  color: var(--grey);
  line-height: 1.8;
}

.map-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  padding: 0.75rem 2rem;
  border: 2px solid var(--red);
  border-radius: 50px;
  transition: all 0.3s ease;
}
.map-link:hover { background: var(--red); color: #fff; }

/* ── Footer ── */
.footer {
  padding: 3rem 2rem;
  background: var(--red);
  text-align: center;
  color: rgba(255,255,255,0.8);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.05) 0%, transparent 60%);
}

.footer p {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.footer .tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer .copyright {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 1.5rem;
}

.footer .copyright a,
.footer .footer-link {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

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

@media (max-width: 600px) {
  .date-card { padding: 2rem 1.5rem; }
  .program-grid { grid-template-columns: 1fr; }
  .bunting { height: 70px; }
}
