:root {
  /* Altrosa, Beige & Dunkelbraun */
  --bg: #f7f0f2; /* zartes Altrosa/Beige */
  --bg-soft: #fbe9e9;
  --text: #3c2523; /* dunkles Braun */
  --accent: #c07a85; /* Altrosa */
  --accent-soft: #e8b3bd;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(50, 35, 20, 0.18);
  --radius-lg: 26px;
  --radius-pill: 999px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Raleway", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* Confetti canvas */

#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

/* Hero */

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  padding: 1.75rem 1.5rem 3rem;
  background-image: linear-gradient(
      to bottom,
      rgba(15, 7, 0, 0.45),
      rgba(15, 7, 0, 0.75)
    ),
    url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center 40%;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.16), transparent),
    radial-gradient(circle at 90% 80%, rgba(192, 122, 133, 0.32), transparent);
  mix-blend-mode: screen;
  opacity: 0.8;
}

.top-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.nav-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #f4c3cf, #e8b3bd);
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

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

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  margin: 0 0 0.9rem;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  letter-spacing: 0.04em;
  margin: 0 0 0.6rem;
}

.hero-date {
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-hearts {
  position: absolute;
  inset-inline: 0;
  top: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  pointer-events: none;
}

.heart {
  font-size: 1.8rem;
  color: #f7c7d3;
  opacity: 0.8;
}

.heart-1 {
  animation: float-heart-1 6s ease-in-out infinite;
}

.heart-2 {
  animation: float-heart-2 7s ease-in-out infinite;
}

@keyframes float-heart-1 {
  0% {
    transform: translate(-30px, 0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 0.9;
  }
  50% {
    transform: translate(10px, -14px) scale(1.15);
  }
  80% {
    opacity: 0.6;
  }
  100% {
    transform: translate(40px, 0) scale(1);
    opacity: 0;
  }
}

@keyframes float-heart-2 {
  0% {
    transform: translate(30px, 0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 0.9;
  }
  50% {
    transform: translate(-18px, -12px) scale(1.1);
  }
  80% {
    opacity: 0.6;
  }
  100% {
    transform: translate(-40px, 0) scale(1);
    opacity: 0;
  }
}

.hero-scroll-hint {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Sections */

.section {
  padding: 3.5rem 1.75rem;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin: 0 0 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.section-title-heart {
  font-size: 1.3rem;
  color: var(--accent-soft);
  animation: pulse-heart 2.8s ease-in-out infinite;
}

.section-title-heart.gold {
  color: var(--accent);
}

@keyframes pulse-heart {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

.section-text {
  max-width: 640px;
  font-size: 0.98rem;
  line-height: 1.8;
  margin: 0 0 1rem;
}

.story {
  background: radial-gradient(circle at top left, #ffeef2, var(--bg-soft));
}

/* Music Player */
.music-player {
  text-align: center;
  margin: 2.5rem 0 0;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(192, 122, 133, 0.25);
  max-width: 420px;
}
.music-player-label {
  margin: 0 0 1rem;
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: 0.06em;
}
.music-player audio {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  display: block;
  height: 40px;
}
.music-player audio::-webkit-media-controls-panel {
  background: linear-gradient(180deg, var(--accent-soft), #f5dce2);
}

/* Menu */

.menu {
  background: linear-gradient(145deg, #f6dde3, #f7e6e8, #f9f0f2);
}

.menu-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-subtitle {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.menu-card {
  position: relative;
  padding: 1.5rem 1.35rem 1.7rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 252, 0.98);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.7);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.menu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(60, 37, 15, 0.24);
}

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

.menu-icon {
  width: 44px;
  height: 44px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f0b9c7, #e48ca3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
  box-shadow: 0 10px 24px rgba(143, 106, 50, 0.4);
}

.menu-title {
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
}

.menu-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(192, 122, 133, 0.12);
  color: #8a4652;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 0.55rem;
}

.menu-text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
}

.menu-note {
  margin: 2.25rem auto 0;
  text-align: center;
  font-size: 0.9rem;
}

.menu-note span {
  font-weight: 500;
  color: var(--accent);
}

/* RSVP */

.rsvp {
  background: linear-gradient(180deg, #fef7f8, var(--bg-soft));
}

.rsvp-inner {
  display: grid;
  gap: 2.25rem;
}

.rsvp-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.rsvp-button {
  padding: 0.95rem 2.6rem;
  border-radius: var(--radius-pill);
  border: none;
  background-image: linear-gradient(135deg, #f4c3cf, #e8b3bd, #f7dde4);
  color: #3c2523;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(125, 92, 47, 0.45);
  transform: translateY(0);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, filter 0.18s ease-out;
}

.rsvp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(146, 90, 104, 0.5);
  filter: brightness(1.02);
}

.rsvp-button:active {
  transform: translateY(1px);
  box-shadow: 0 10px 25px rgba(146, 90, 104, 0.55);
}

.rsvp-hint {
  font-size: 0.8rem;
  color: rgba(75, 59, 53, 0.8);
}

/* Footer */

.footer {
  margin-top: auto;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(75, 59, 53, 0.75);
}

/* Responsive */

@media (min-width: 640px) {
  .hero {
    padding: 2.25rem 4rem 3.25rem;
    min-height: 90vh;
  }

  .section {
    padding-inline: 3.5rem;
  }
}

@media (min-width: 880px) {
  .hero {
    padding-inline: 5.5rem;
  }

  .rsvp-inner {
    grid-template-columns: 3fr 2.5fr;
    align-items: center;
  }

  .rsvp-action {
    align-items: flex-end;
    text-align: right;
  }
}

@media (max-width: 600px) {
  .nav-links {
    font-size: 0.75rem;
    gap: 0.65rem;
  }

  .hero {
    padding-inline: 1.25rem;
  }

  .section {
    padding-inline: 1.25rem;
  }
}
