/* ============================================================
   MAXIME & FRANCESCA - HOCHZEIT 05.09.2026
   Shared Stylesheet
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --burgundy: #6E1F28;
  --burgundy-light: #7A2A35;
  --burgundy-dark: #5C1720;
  --burgundy-glow: rgba(110, 31, 40, 0.15);
  --sage: #98A869;
  --sage-soft: #8F9E8F;
  --sage-light: #b3c48a;
  --blush: #F2C8C8;
  --blush-medium: #E8B8B8;
  --nude: #F9E9E5;
  --nude-warm: #FAD9D2;
  --cream: #FFF8F5;
  --white: #FFFCFA;
  --text-dark: #3A1A1A;
  --text-medium: #5C3A3A;
  --text-light: #8A6A6A;
  --gold: #C4A265;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Josefin Sans', 'Segoe UI', sans-serif;
  --font-script: 'Great Vibes', cursive;

  --shadow-soft: 0 4px 30px rgba(110, 31, 40, 0.08);
  --shadow-medium: 0 8px 40px rgba(110, 31, 40, 0.12);
  --shadow-strong: 0 12px 60px rgba(110, 31, 40, 0.18);
  --radius: 4px;
  --radius-lg: 12px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-dark);
  background-color: var(--cream);
  overflow-x: hidden;
  line-height: 1.7;
  letter-spacing: 0.02em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

::selection {
  background: var(--blush);
  color: var(--burgundy-dark);
}

.main-content {
  flex: 1;
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(242, 200, 200, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(152, 168, 105, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(249, 233, 229, 0.4) 0%, transparent 60%),
    var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-initials {
  font-family: var(--font-script);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--burgundy);
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  animation: loadPulse 2s ease-in-out infinite;
}

.loading-wreath {
  width: 80px;
  height: 80px;
  animation: wreathSpin 3s linear infinite;
}

.loading-wreath circle { fill: none; stroke: var(--sage); stroke-width: 1; stroke-dasharray: 8 4; opacity: 0.6; }
.loading-wreath .leaf { fill: var(--sage); opacity: 0.7; }

@keyframes loadPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes wreathSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ============================================================
   FLOATING PETALS
   ============================================================ */
.petals-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-petal {
  position: absolute;
  top: -20px;
  border-radius: 150% 0 150% 0;
  pointer-events: none;
  animation: petalDrift linear infinite;
  will-change: transform;
  filter: blur(0.5px);
}

@keyframes petalDrift {
  0% { transform: translateY(-5vh) translateX(0) rotate(0deg) scale(1); opacity: 0; }
  5% { opacity: var(--petal-opacity, 0.3); }
  50% { transform: translateY(50vh) translateX(var(--drift, 80px)) rotate(180deg) scale(0.9); }
  95% { opacity: var(--petal-opacity, 0.3); }
  100% { transform: translateY(105vh) translateX(var(--drift-end, 40px)) rotate(var(--rotation, 360deg)) scale(0.7); opacity: 0; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  padding: 0 2rem;
  transition: all 0.5s ease;
  background: rgba(255, 248, 245, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 30px rgba(110, 31, 40, 0.06);
}

.nav--hero {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav--hero.scrolled {
  background: rgba(255, 248, 245, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 30px rgba(110, 31, 40, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  position: relative;
}

.nav-logo {
  position: absolute;
  left: 0;
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--burgundy);
  transition: opacity 0.5s ease;
}

.nav--hero .nav-logo { opacity: 0; }
.nav--hero.scrolled .nav-logo { opacity: 1; }

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

.nav-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dark);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition);
}

.nav--hero .nav-link { color: var(--white); }
.nav--hero.scrolled .nav-link { color: var(--text-dark); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--burgundy);
  transition: all var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active { font-weight: 500; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 9001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--burgundy);
  transition: all 0.3s ease;
}

.nav--hero .nav-toggle span { background: var(--white); }
.nav--hero.scrolled .nav-toggle span { background: var(--burgundy); }

/* ============================================================
   HERO SECTION (index.html)
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.4) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(92, 23, 32, 0.3) 0%, rgba(92, 23, 32, 0.05) 40%, rgba(92, 23, 32, 0.45) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(92, 23, 32, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  padding: 2rem;
}

.hero-save-the-date {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--blush);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 1.2s ease 0.3s forwards;
}

.hero-names {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeSlideUp 1.2s ease 0.6s forwards;
}

.hero-ampersand {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--blush);
  display: block;
  margin: 0.3rem 0;
}

.hero-date {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--nude);
  margin-top: 2rem;
  opacity: 0;
  animation: fadeSlideUp 1.2s ease 0.9s forwards;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--blush);
  margin: 1.5rem auto;
  opacity: 0;
  animation: fadeSlideUp 1.2s ease 1.1s forwards;
}

.hero-venue {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--blush);
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeSlideUp 1.2s ease 1.3s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--nude);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeSlideUp 1.2s ease 1.6s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--blush), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

/* Hero floral corners */
.hero-floral {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  opacity: 0.35;
}

.hero-floral-tl {
  top: -20px;
  left: -20px;
  width: clamp(200px, 30vw, 400px);
}

.hero-floral-br {
  bottom: -20px;
  right: -20px;
  width: clamp(200px, 30vw, 400px);
  transform: rotate(180deg);
}

/* ============================================================
   PAGE HEADER (non-hero pages)
   ============================================================ */
.page-header {
  padding: 8rem 2rem 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(242, 200, 200, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(152, 168, 105, 0.08) 0%, transparent 40%),
    linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 40%, var(--burgundy-light) 80%, #8a3040 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' fill='none'%3E%3Cellipse cx='50' cy='160' rx='8' ry='35' fill='white' opacity='0.04' transform='rotate(30 50 160)'/%3E%3Cellipse cx='80' cy='170' rx='6' ry='28' fill='white' opacity='0.03' transform='rotate(-20 80 170)'/%3E%3Cellipse cx='30' cy='140' rx='7' ry='30' fill='white' opacity='0.035' transform='rotate(45 30 140)'/%3E%3Ccircle cx='60' cy='150' r='12' fill='white' opacity='0.03'/%3E%3Ccircle cx='60' cy='150' r='7' fill='white' opacity='0.02'/%3E%3Cellipse cx='350' cy='40' rx='8' ry='35' fill='white' opacity='0.04' transform='rotate(-30 350 40)'/%3E%3Cellipse cx='320' cy='30' rx='6' ry='28' fill='white' opacity='0.03' transform='rotate(20 320 30)'/%3E%3Cellipse cx='370' cy='60' rx='7' ry='30' fill='white' opacity='0.035' transform='rotate(-45 370 60)'/%3E%3Ccircle cx='340' cy='50' r='12' fill='white' opacity='0.03'/%3E%3Ccircle cx='340' cy='50' r='7' fill='white' opacity='0.02'/%3E%3Cpath d='M60 155 Q45 110 55 75' stroke='white' stroke-width='1' opacity='0.025' fill='none'/%3E%3Cpath d='M340 50 Q355 90 345 125' stroke='white' stroke-width='1' opacity='0.025' fill='none'/%3E%3C/svg%3E");
  background-size: auto, 100% 100%;
}

/* Decorative floral corner bottom-right */
.page-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 280px;
  height: 280px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg' fill='none'%3E%3Cellipse cx='120' cy='120' rx='50' ry='22' fill='white' opacity='0.05' transform='rotate(-30 120 120)'/%3E%3Cellipse cx='160' cy='80' rx='35' ry='16' fill='white' opacity='0.04' transform='rotate(15 160 80)'/%3E%3Cellipse cx='80' cy='160' rx='40' ry='14' fill='white' opacity='0.045' transform='rotate(-50 80 160)'/%3E%3Cellipse cx='180' cy='140' rx='25' ry='12' fill='white' opacity='0.035' transform='rotate(30 180 140)'/%3E%3Ccircle cx='190' cy='60' r='10' fill='white' opacity='0.04'/%3E%3Ccircle cx='190' cy='60' r='5' fill='white' opacity='0.03'/%3E%3Ccircle cx='60' cy='180' r='8' fill='white' opacity='0.035'/%3E%3Ccircle cx='140' cy='100' r='16' fill='white' opacity='0.03'/%3E%3Ccircle cx='140' cy='100' r='9' fill='white' opacity='0.02'/%3E%3Cpath d='M140 100 Q125 50 150 20' stroke='white' stroke-width='1' opacity='0.03' fill='none'/%3E%3Cpath d='M140 105 Q165 60 155 25' stroke='white' stroke-width='0.8' opacity='0.025' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.page-header .section-label {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--blush);
  margin-bottom: 0.5rem;
  position: relative;
}

.page-header .section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.05em;
  position: relative;
}

.page-header .section-subtitle {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: var(--blush);
  margin-top: 1rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.page-header .section-divider-ornament .line {
  background: rgba(255,255,255,0.3);
}

.page-header .section-divider-ornament .dot {
  background: var(--blush);
  opacity: 0.6;
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section-padding {
  padding: 6rem 2rem;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.section-label {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--burgundy);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-light);
  margin-top: 1rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.section-divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto;
  position: relative;
}

.section-divider-ornament .line {
  width: 60px;
  height: 1px;
  background: var(--blush-medium);
}

.section-divider-ornament .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--burgundy);
  opacity: 0.4;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

/* ============================================================
   STORY SECTION (index.html)
   ============================================================ */
.story-section {
  padding: 5rem 2rem;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(242, 200, 200, 0.4) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 70%, rgba(152, 168, 105, 0.2) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 0%, rgba(249, 233, 229, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 10%, rgba(196, 162, 101, 0.08) 0%, transparent 35%),
    var(--nude);
  position: relative;
}

.story-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blush-medium), var(--blush), var(--blush-medium), transparent);
}

/* Decorative botanical corner on story section */
.story-section::after {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  width: 250px;
  height: 250px;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'%3E%3Cellipse cx='80' cy='50' rx='6' ry='28' fill='%2398A869' opacity='0.1' transform='rotate(-25 80 50)'/%3E%3Cellipse cx='60' cy='90' rx='7' ry='32' fill='%238F9E8F' opacity='0.08' transform='rotate(15 60 90)'/%3E%3Cellipse cx='100' cy='110' rx='5' ry='25' fill='%2398A869' opacity='0.09' transform='rotate(-40 100 110)'/%3E%3Ccircle cx='75' cy='100' r='12' fill='%23F2C8C8' opacity='0.1'/%3E%3Ccircle cx='75' cy='100' r='7' fill='%23E8B8B8' opacity='0.08'/%3E%3Cpath d='M75 100 Q65 55 80 25' stroke='%2398A869' stroke-width='1' opacity='0.07' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.story-intro {
  max-width: 700px;
  margin: 0 auto 4rem;
  text-align: center;
}

.story-intro p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-medium);
  line-height: 2;
}

.story-quote {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--burgundy);
  text-align: center;
  margin: 3rem 0;
  opacity: 0.8;
}

/* Photo Collage */
.collage {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  height: 600px;
}

.collage-photo {
  position: absolute;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease;
  z-index: 1;
}

.collage-photo:hover {
  z-index: 10;
}

.collage-frame {
  background: white;
  padding: 10px 10px 35px 10px;
  box-shadow:
    0 4px 15px rgba(92, 23, 32, 0.12),
    0 1px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease;
  position: relative;
  overflow: hidden;
}

.collage-frame::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--blush-medium);
  opacity: 0.6;
}

.collage-photo:hover .collage-frame {
  box-shadow:
    0 20px 50px rgba(92, 23, 32, 0.2),
    0 8px 20px rgba(0, 0, 0, 0.1);
}

.collage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.02);
  transition: filter 0.6s ease;
}

.collage-photo:hover .collage-frame img {
  filter: saturate(1) contrast(1.05);
}

/* Photo 1: Sunset - large, left side, slight tilt left */
.collage-photo--1 {
  left: 2%;
  top: 5%;
  width: 380px;
  transform: rotate(-4deg);
  z-index: 2;
}

.collage-photo--1 .collage-frame img {
  height: 320px;
}

.collage-photo--1:hover {
  transform: rotate(-1deg) translateY(-8px) scale(1.03);
}

/* Photo 2: Save the Date - tall portrait, center-right, overlapping */
.collage-photo--2 {
  right: 8%;
  top: 0;
  width: 300px;
  transform: rotate(3deg);
  z-index: 3;
}

.collage-photo--2 .collage-frame img {
  height: 380px;
}

.collage-photo--2:hover {
  transform: rotate(1deg) translateY(-8px) scale(1.03);
}

/* Photo 3: Beach/Train - landscape, bottom center, overlapping both */
.collage-photo--3 {
  left: 18%;
  bottom: 0;
  width: 360px;
  transform: rotate(2deg);
  z-index: 4;
}

.collage-photo--3 .collage-frame img {
  height: 280px;
}

.collage-photo--3:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.03);
}

/* Decorative tape strips */
.collage-photo--1::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 60px;
  height: 18px;
  background: rgba(249, 233, 229, 0.7);
  z-index: 5;
  border-radius: 1px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.collage-photo--2::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 25%;
  transform: rotate(8deg);
  width: 55px;
  height: 18px;
  background: rgba(242, 200, 200, 0.6);
  z-index: 5;
  border-radius: 1px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.collage-photo--3::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 30%;
  transform: rotate(-5deg);
  width: 55px;
  height: 18px;
  background: rgba(152, 168, 105, 0.35);
  z-index: 5;
  border-radius: 1px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown-section {
  padding: 5rem 2rem;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(242, 200, 200, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 50%, rgba(152, 168, 105, 0.08) 0%, transparent 45%),
    linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 40%, var(--burgundy-light) 80%, #8a3040 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.countdown-label {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--blush);
  margin-bottom: 2rem;
  position: relative;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  position: relative;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1;
  color: var(--nude);
}

.countdown-unit {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blush-medium);
  margin-top: 0.5rem;
}

.countdown-separator {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--blush);
  opacity: 0.3;
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ============================================================
   TIMELINE (programm.html)
   ============================================================ */
.programm-section {
  padding: 6rem 2rem;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(242, 200, 200, 0.45) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 80%, rgba(152, 168, 105, 0.2) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(249, 233, 229, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 10%, rgba(250, 217, 210, 0.35) 0%, transparent 40%),
    radial-gradient(ellipse at 30% 90%, rgba(232, 184, 184, 0.25) 0%, transparent 40%),
    var(--nude);
  position: relative;
  overflow: hidden;
}

/* Large decorative botanical background for programm */
.programm-section::before {
  content: '';
  position: absolute;
  top: 60px;
  right: -40px;
  width: 350px;
  height: 350px;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300' fill='none'%3E%3Cellipse cx='150' cy='80' rx='8' ry='35' fill='%2398A869' opacity='0.12' transform='rotate(-20 150 80)'/%3E%3Cellipse cx='170' cy='120' rx='7' ry='30' fill='%2398A869' opacity='0.1' transform='rotate(15 170 120)'/%3E%3Cellipse cx='130' cy='140' rx='9' ry='40' fill='%238F9E8F' opacity='0.08' transform='rotate(-35 130 140)'/%3E%3Cellipse cx='190' cy='170' rx='6' ry='25' fill='%2398A869' opacity='0.1' transform='rotate(25 190 170)'/%3E%3Ccircle cx='155' cy='160' r='18' fill='%236E1F28' opacity='0.06'/%3E%3Ccircle cx='155' cy='160' r='12' fill='%23F2C8C8' opacity='0.08'/%3E%3Ccircle cx='140' cy='100' r='10' fill='%237A2A35' opacity='0.05'/%3E%3Ccircle cx='180' cy='90' r='6' fill='%23E8B8B8' opacity='0.08'/%3E%3Cpath d='M150 160 Q140 100 155 60' stroke='%2398A869' stroke-width='1.5' opacity='0.08' fill='none'/%3E%3Cpath d='M155 160 Q175 110 170 70' stroke='%238F9E8F' stroke-width='1' opacity='0.06' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 1;
}

.programm-section::after {
  content: '';
  position: absolute;
  bottom: 80px;
  left: -30px;
  width: 280px;
  height: 280px;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 250 250' fill='none'%3E%3Cellipse cx='120' cy='60' rx='7' ry='30' fill='%2398A869' opacity='0.1' transform='rotate(25 120 60)'/%3E%3Cellipse cx='100' cy='100' rx='8' ry='35' fill='%238F9E8F' opacity='0.08' transform='rotate(-15 100 100)'/%3E%3Cellipse cx='140' cy='130' rx='6' ry='28' fill='%2398A869' opacity='0.09' transform='rotate(40 140 130)'/%3E%3Ccircle cx='115' cy='115' r='14' fill='%23E8B8B8' opacity='0.07'/%3E%3Ccircle cx='115' cy='115' r='8' fill='%23F2C8C8' opacity='0.06'/%3E%3Cpath d='M115 120 Q100 70 120 35' stroke='%2398A869' stroke-width='1' opacity='0.07' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.timeline {
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--blush-medium), var(--blush), var(--blush-medium), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  text-align: right;
  padding-right: calc(50% + 2.5rem);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  text-align: left;
  padding-left: calc(50% + 2.5rem);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.timeline-marker-inner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--blush-medium), 0 0 12px var(--burgundy-glow);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker-inner {
  transform: scale(1.3);
  box-shadow: 0 0 0 3px var(--burgundy), 0 0 20px var(--burgundy-glow);
}

.timeline-content {
  padding: 1.8rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
  width: 100%;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--blush-medium);
  background: var(--cream);
}

/* Photo background for timeline cards */
.timeline-content::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  transition: opacity 0.5s ease;
  border-radius: var(--radius-lg);
}

.timeline-content:hover::before {
  opacity: 0.32;
}

/* Gradient overlay to keep text readable */
.timeline-content::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,252,250,0.82) 0%, rgba(255,252,250,0.68) 100%);
}

.timeline-content > * { position: relative; z-index: 1; }

/* ---- Per-event card styling: photo bg + border accent ---- */

/* Arrival */
.timeline-content[data-bg="arrival"] { border-left-color: var(--sage); }
.timeline-content[data-bg="arrival"]::before { background-image: url('../images/timeline/arrival.jpg'); }
.timeline-content[data-bg="arrival"]::after {
  background: linear-gradient(135deg, rgba(247,243,237,0.72) 0%, rgba(152,168,105,0.15) 100%);
}

/* Ceremony */
.timeline-content[data-bg="ceremony"] { border-left-color: var(--burgundy); }
.timeline-content[data-bg="ceremony"]::before { background-image: url('../images/timeline/ceremony.jpg'); }
.timeline-content[data-bg="ceremony"]::after {
  background: linear-gradient(135deg, rgba(253,245,245,0.72) 0%, rgba(110,31,40,0.1) 100%);
}

/* Champagne */
.timeline-content[data-bg="champagne"] { border-left-color: var(--gold); }
.timeline-content[data-bg="champagne"]::before { background-image: url('../images/timeline/champagne.jpg'); }
.timeline-content[data-bg="champagne"]::after {
  background: linear-gradient(135deg, rgba(254,249,240,0.72) 0%, rgba(196,162,101,0.12) 100%);
}

/* Cake */
.timeline-content[data-bg="cake"] { border-left-color: var(--blush); }
.timeline-content[data-bg="cake"]::before { background-image: url('../images/timeline/cake.jpg'); }
.timeline-content[data-bg="cake"]::after {
  background: linear-gradient(135deg, rgba(253,246,246,0.72) 0%, rgba(242,200,200,0.2) 100%);
}

/* Photo */
.timeline-content[data-bg="photo"] { border-left-color: var(--sage); }
.timeline-content[data-bg="photo"]::before { background-image: url('../images/timeline/photo.jpg'); }
.timeline-content[data-bg="photo"]::after {
  background: linear-gradient(135deg, rgba(245,247,240,0.72) 0%, rgba(152,168,105,0.12) 100%);
}

/* Dinner */
.timeline-content[data-bg="dinner"] { border-left-color: var(--burgundy-light); }
.timeline-content[data-bg="dinner"]::before { background-image: url('../images/timeline/dinner.jpg'); }
.timeline-content[data-bg="dinner"]::after {
  background: linear-gradient(135deg, rgba(250,245,242,0.72) 0%, rgba(122,42,53,0.1) 100%);
}

/* Dance */
.timeline-content[data-bg="dance"] { border-left-color: var(--nude-warm); }
.timeline-content[data-bg="dance"]::before { background-image: url('../images/timeline/dance.jpg'); }
.timeline-content[data-bg="dance"]::after {
  background: linear-gradient(135deg, rgba(253,245,245,0.72) 0%, rgba(250,217,210,0.2) 100%);
}

/* Party */
.timeline-content[data-bg="party"] { border-left-color: var(--gold); }
.timeline-content[data-bg="party"]::before { background-image: url('../images/timeline/party.jpg'); }
.timeline-content[data-bg="party"]::after {
  background: linear-gradient(135deg, rgba(254,249,243,0.72) 0%, rgba(196,162,101,0.12) 100%);
}

/* Midnight */
.timeline-content[data-bg="midnight"] { border-left-color: var(--burgundy-dark); }
.timeline-content[data-bg="midnight"]::before { background-image: url('../images/timeline/midnight.jpg'); }
.timeline-content[data-bg="midnight"]::after {
  background: linear-gradient(135deg, rgba(245,240,242,0.72) 0%, rgba(92,23,32,0.1) 100%);
}

.timeline-content:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
}

.timeline-time {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--burgundy);
  margin-bottom: 0.3rem;
}

.timeline-event {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
  letter-spacing: 0.03em;
}

.timeline-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.6;
}

.timeline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  width: 28px;
  height: 28px;
}

.timeline-icon svg {
  width: 28px;
  height: 28px;
}

/* ============================================================
   GESCHENKE (geschenke.html)
   ============================================================ */
.geschenke-section {
  padding: 6rem 2rem;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(250, 217, 210, 0.5) 0%, transparent 45%),
    radial-gradient(ellipse at 20% 80%, rgba(152, 168, 105, 0.18) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(242, 200, 200, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 30%, rgba(249, 233, 229, 0.4) 0%, transparent 40%),
    var(--nude);
  position: relative;
}

.geschenke-section::before {
  content: '';
  position: absolute;
  bottom: 40px;
  right: -20px;
  width: 300px;
  height: 300px;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 250 250' fill='none'%3E%3Cellipse cx='130' cy='70' rx='7' ry='32' fill='%2398A869' opacity='0.1' transform='rotate(20 130 70)'/%3E%3Cellipse cx='110' cy='110' rx='8' ry='35' fill='%238F9E8F' opacity='0.08' transform='rotate(-25 110 110)'/%3E%3Cellipse cx='150' cy='140' rx='6' ry='28' fill='%2398A869' opacity='0.09' transform='rotate(35 150 140)'/%3E%3Ccircle cx='125' cy='120' r='15' fill='%236E1F28' opacity='0.04'/%3E%3Ccircle cx='125' cy='120' r='9' fill='%23F2C8C8' opacity='0.06'/%3E%3Ccircle cx='145' cy='85' r='7' fill='%23E8B8B8' opacity='0.06'/%3E%3Cpath d='M125 120 Q115 70 130 35' stroke='%2398A869' stroke-width='1.5' opacity='0.06' fill='none'/%3E%3Cpath d='M128 120 Q145 80 150 45' stroke='%238F9E8F' stroke-width='1' opacity='0.05' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.geschenke-section::after {
  content: '';
  position: absolute;
  top: 30px;
  left: -10px;
  width: 220px;
  height: 220px;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180' fill='none'%3E%3Cellipse cx='90' cy='50' rx='5' ry='25' fill='%2398A869' opacity='0.09' transform='rotate(-30 90 50)'/%3E%3Cellipse cx='70' cy='80' rx='6' ry='28' fill='%238F9E8F' opacity='0.07' transform='rotate(20 70 80)'/%3E%3Ccircle cx='85' cy='90' r='10' fill='%23FAD9D2' opacity='0.08'/%3E%3Cpath d='M85 90 Q75 50 90 25' stroke='%2398A869' stroke-width='1' opacity='0.06' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.geschenke-intro {
  max-width: 650px;
  margin: 0 auto 3rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-medium);
  line-height: 2;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 950px;
  margin: 0 auto;
}

.gift-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.gift-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--blush), var(--sage));
  opacity: 0;
  transition: opacity var(--transition);
}

.gift-card:hover {
  border-color: var(--blush);
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

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

.gift-icon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.gift-icon svg {
  width: 32px;
  height: 32px;
}

.gift-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--burgundy);
  margin-bottom: 0.5rem;
}

.gift-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.gift-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-medium);
  font-weight: 500;
}

.honeymoon-banner {
  background: linear-gradient(135deg, var(--nude) 0%, var(--nude-warm) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  max-width: 700px;
  margin: 3rem auto 0;
  border: 1px solid var(--blush);
}

.honeymoon-banner .hm-title {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--burgundy);
  margin-bottom: 1rem;
}

.honeymoon-banner .hm-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-medium);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   FOTOS (fotos.html)
   ============================================================ */
.fotos-section {
  padding: 6rem 2rem;
  background:
    radial-gradient(ellipse at 10% 30%, rgba(242, 200, 200, 0.4) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 60%, rgba(152, 168, 105, 0.18) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 80%, rgba(250, 217, 210, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 15%, rgba(249, 233, 229, 0.35) 0%, transparent 40%),
    var(--nude);
  min-height: 60vh;
  position: relative;
}

.fotos-section::before {
  content: '';
  position: absolute;
  top: 50px;
  right: -15px;
  width: 250px;
  height: 250px;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'%3E%3Cellipse cx='100' cy='60' rx='7' ry='30' fill='%2398A869' opacity='0.1' transform='rotate(25 100 60)'/%3E%3Cellipse cx='80' cy='100' rx='6' ry='28' fill='%238F9E8F' opacity='0.08' transform='rotate(-20 80 100)'/%3E%3Ccircle cx='95' cy='95' r='12' fill='%23F2C8C8' opacity='0.08'/%3E%3Cpath d='M95 95 Q85 55 100 25' stroke='%2398A869' stroke-width='1' opacity='0.06' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.gallery-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  border: 2px solid var(--burgundy);
}

.btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--burgundy-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
}

.btn-secondary:hover {
  background: var(--burgundy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-small {
  padding: 0.5rem 1.2rem;
  font-size: 0.7rem;
}

/* Folders grid */
.folders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.folder-card {
  background: white;
  padding: 10px 10px 20px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  box-shadow:
    0 3px 12px rgba(92, 23, 32, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.06);
  border: none;
  border-radius: 2px;
}

.folder-card:nth-child(odd) { transform: rotate(-1.5deg); }
.folder-card:nth-child(even) { transform: rotate(1.5deg); }
.folder-card:nth-child(3n) { transform: rotate(-0.5deg); }

.folder-card:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.03) !important;
  box-shadow:
    0 15px 40px rgba(92, 23, 32, 0.15),
    0 5px 15px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.folder-card .folder-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  display: block;
  padding: 1.5rem 0;
  background: var(--nude);
  border-radius: 2px;
  margin-bottom: 0.8rem;
}

.folder-card .folder-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--burgundy);
  margin-bottom: 0.2rem;
}

.folder-card .folder-count { font-size: 0.72rem; color: var(--text-light); font-style: italic; }

.folder-card .folder-delete {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--burgundy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(110, 31, 40, 0.3);
}

.folder-card:hover .folder-delete { opacity: 1; }
.folder-card .folder-delete:hover { background: #c0392b; transform: scale(1.15); }

/* Photo grid - Collage style */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.photo-thumb {
  position: relative;
  cursor: pointer;
  background: white;
  padding: 8px 8px 28px 8px;
  box-shadow:
    0 3px 12px rgba(92, 23, 32, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 2px;
  aspect-ratio: auto;
}

.photo-thumb:nth-child(odd) { transform: rotate(-1.2deg); }
.photo-thumb:nth-child(even) { transform: rotate(1.2deg); }
.photo-thumb:nth-child(3n) { transform: rotate(0.5deg); }
.photo-thumb:nth-child(4n+1) { transform: rotate(-2deg); }

.photo-thumb:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.04) !important;
  box-shadow:
    0 18px 45px rgba(92, 23, 32, 0.18),
    0 6px 15px rgba(0, 0, 0, 0.08);
  z-index: 5;
}

.photo-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 1px;
  transition: filter 0.6s ease;
  filter: saturate(0.92) contrast(1.02);
}

.photo-thumb:hover img { filter: saturate(1.05) contrast(1.05); }

.photo-thumb .photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(92, 23, 32, 0.75), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.8rem;
  border-radius: 2px;
}

.photo-thumb:hover .photo-overlay { opacity: 1; }

.photo-thumb .photo-name {
  color: white;
  font-size: 0.7rem;
  font-weight: 300;
  max-width: 55%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-actions {
  display: flex;
  gap: 0.4rem;
}

.photo-action-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  backdrop-filter: blur(4px);
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.photo-action-btn:hover { background: rgba(255,255,255,0.35); }
.photo-action-btn.delete-btn:hover { background: rgba(220, 50, 50, 0.7); }

/* Folder header */
.folder-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.folder-back-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
}

.folder-back-btn:hover { color: var(--burgundy); }

.folder-current-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--burgundy);
}

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--blush-medium);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  background: var(--white);
  cursor: pointer;
}

.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--burgundy);
  background: var(--nude);
}

.upload-zone-icon { margin-bottom: 0.8rem; display: flex; align-items: center; justify-content: center; }

.upload-zone-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 0.3rem;
}

.upload-zone-subtext { font-size: 0.8rem; color: var(--text-light); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50000;
  background: rgba(30, 10, 12, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(10px);
}

.lightbox.open { display: flex; opacity: 1; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0,0,0,0.3);
}

.lightbox-btn {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  border: none;
  cursor: pointer;
}

.lightbox-btn:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-close:hover { transform: rotate(90deg); }
.lightbox-prev { top: 50%; left: 1.5rem; transform: translateY(-50%); font-size: 1.4rem; width: 50px; height: 50px; }
.lightbox-next { top: 50%; right: 1.5rem; transform: translateY(-50%); font-size: 1.4rem; width: 50px; height: 50px; }
.lightbox-download { top: 1.5rem; right: 5rem; }

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60000;
  background: rgba(30, 10, 12, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(6px);
}

.modal-overlay.open { display: flex; opacity: 1; }

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 420px;
  width: 90%;
  box-shadow: var(--shadow-strong);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

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

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--burgundy);
  margin-bottom: 1.5rem;
  text-align: center;
}

.modal-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--blush);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--cream);
  outline: none;
  transition: border-color 0.3s ease;
  margin-bottom: 1rem;
}

.modal-input:focus { border-color: var(--burgundy); }
.modal-input::placeholder { color: var(--text-light); font-weight: 300; }

.modal-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.modal-error {
  color: #c0392b;
  font-size: 0.8rem;
  text-align: center;
  margin-bottom: 0.5rem;
  min-height: 1.2em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--burgundy-dark);
  color: var(--nude);
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blush-medium), transparent);
}

.footer-names {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--blush);
  margin-bottom: 0.5rem;
}

.footer-date {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6;
}

.footer-heart {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heartbeat 2s ease-in-out infinite;
}

.footer-heart svg {
  width: 20px;
  height: 18px;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.15); }
  30% { transform: scale(1); }
  45% { transform: scale(1.1); }
}

/* ============================================================
   FLORAL DECORATION
   ============================================================ */
.floral-divider {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  opacity: 0.5;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
}

.empty-state-icon { margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; }

.empty-state-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--burgundy);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-size: 0.85rem;
  z-index: 70000;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 30px rgba(110, 31, 40, 0.3);
  white-space: nowrap;
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 248, 245, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    align-items: center;
    box-shadow: var(--shadow-medium);
  }
  .nav-links.open .nav-link { color: var(--text-dark) !important; }
  .nav-toggle { display: flex; }
  .nav-inner { justify-content: space-between; }
  .nav-logo { position: static !important; opacity: 1 !important; }

  .hero-names { font-size: clamp(2.2rem, 10vw, 3.5rem); }

  .collage {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
  }
  .collage-photo {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 85% !important;
    max-width: 340px;
  }
  .collage-photo--1 { transform: rotate(-2deg) !important; }
  .collage-photo--2 { transform: rotate(1.5deg) !important; }
  .collage-photo--3 { transform: rotate(-1deg) !important; }
  .collage-photo--1 .collage-frame img,
  .collage-photo--2 .collage-frame img,
  .collage-photo--3 .collage-frame img {
    height: 260px !important;
  }

  .timeline::before { left: 20px; }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 60px !important;
    padding-right: 0 !important;
    text-align: left !important;
    flex-direction: row !important;
  }
  .timeline-marker { left: 20px; }

  .countdown-grid { gap: 1.5rem; }
  .countdown-separator { display: none; }

  .gift-grid { grid-template-columns: 1fr; }

  .folders-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  .folder-card { padding: 8px 8px 15px 8px; }
  .folder-card .folder-name { font-size: 1rem; }
  .folder-card:nth-child(odd) { transform: rotate(-1deg); }
  .folder-card:nth-child(even) { transform: rotate(1deg); }

  .photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .photo-thumb { padding: 6px 6px 22px 6px; }
  .photo-thumb img { height: 140px !important; }
  .photo-thumb:nth-child(odd) { transform: rotate(-1deg); }
  .photo-thumb:nth-child(even) { transform: rotate(1deg); }

  .folder-header { flex-direction: column; align-items: flex-start; }

  .upload-zone { padding: 2rem 1rem; }
  .upload-zone-icon svg { width: 30px; height: 30px; }

  .timeline-content { border-left-width: 3px; }

  .story-section { padding: 3.5rem 1.2rem; }
  .story-intro p { font-size: 1.05rem; }
  .story-quote { font-size: 1.6rem; margin: 2rem 0; }

  .geschenke-intro { font-size: 1rem; }
  .honeymoon-banner { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .section-padding { padding: 3.5rem 1rem; }
  .hero-content { padding: 1rem; }
  .countdown-grid { gap: 1rem; }
  .countdown-item { min-width: 65px; }
  .countdown-number { font-size: 2.2rem !important; }
  .modal { padding: 1.5rem; }
  .page-header { padding: 6.5rem 1.2rem 2.5rem; }
  .page-header .section-title { font-size: 2rem; }

  .collage-photo--1 .collage-frame img,
  .collage-photo--2 .collage-frame img,
  .collage-photo--3 .collage-frame img {
    height: 200px !important;
  }

  .photos-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .photo-thumb img { height: 120px !important; }
  .photo-thumb { padding: 5px 5px 18px 5px; }

  .folders-grid { gap: 1rem; }

  .nav-inner { height: 60px; }
  .nav-logo { font-size: 1.3rem; }

  .gift-card { padding: 1.5rem; }
  .gift-icon svg { width: 28px; height: 28px; }
  .gift-name { font-size: 1.1rem; }

  .footer { padding: 2rem 1rem; }
  .footer-names { font-size: 1.6rem; }

  .lightbox-btn { width: 38px; height: 38px; }
  .lightbox-prev { left: 0.8rem; }
  .lightbox-next { right: 0.8rem; }
  .lightbox-close { top: 0.8rem; right: 0.8rem; }
  .lightbox-download { top: 0.8rem; right: 3.5rem; }
}
