/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
@font-face {
  font-family: "LibreCaslonDisplay-Regular";
  src: url("Eckel/fonts/LibreCaslonDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --bg-dark: #e8e6e1;          
  --card-bg: #ffffff;          
  --text-dark: #0f1015;        
  --text-muted: #555c6e;       
  --accent-yellow: #ffb405;     
  --font-heading: 'LibreCaslonDisplay', serif;
  --font-body: 'Elms Sans', sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  background: radial-gradient(circle at center, #f0eee9 0%, #9c9a95 100%);
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  opacity: 0;
  transform: scale(0.985);
  transition: 
    opacity 0.35s cubic-bezier(0.09, 1, 0.800, 1),
    transform 0.35s cubic-bezier(0.050, 1, 0.800, 1);
  will-change: opacity, transform;
}

body.page-loaded {
  opacity: 1;
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
.top-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6%;
  position: relative;
  z-index: 20;
}

.logo {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: bold;
  letter-spacing: 1px;
  color: var(--text-dark);
  white-space: nowrap;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--accent-yellow);
  font-weight: 700;
  margin-left: 5px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hamburger-btn {
  display: flex;
  background: #00000030;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 30;
  width: 35px;
  height: 30px;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease-in-out;
}

.hamburger-btn .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
}

.hamburger-btn:hover .bar {
  background-color: var(--accent-yellow);
}

.mobile-menu-overlay.open ~ .top-bar .hamburger-btn,
body:has(.mobile-menu-overlay.open) .hamburger-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   MOBILE MENU OVERLAY (BLICKDICHT)
   ========================================================================== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: #ebeae6f1;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.mobile-menu-overlay.open {
  transform: translateX(0);
  visibility: visible;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.close-btn:hover {
  color: var(--accent-yellow);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.mobile-nav-links a {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  word-break: break-word;
}

.mobile-nav-links a:hover {
  color: var(--accent-yellow);
}

/* ==========================================================================
   HINTERGRUND WATERMARK
   ========================================================================== */
.bg-watermark {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 18vw;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.035);
  letter-spacing: 12px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  transition: all 0.5s ease;
}

/* ==========================================================================
   HORIZONTAL VIEWPORT SLIDER
   ========================================================================== */
.viewport-slider {
  display: flex;
  width: 200vw;
  flex: 1;
  transition: transform 1.2s cubic-bezier(0.42, 0.78, 0.400, 0.900);
  position: relative;
  z-index: 1;
}

.viewport-slider.slide-active {
  transform: translateX(-100vw);
}

.slide-section {
  width: 100vw;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
}

.viewport-slider.no-animation {
  transition: none !important;
}

/* ==========================================================================
   SEITE 1: HERO WRAPPER
   ========================================================================== */
.hero-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-20px); 
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero-image-wrapper {
  width: 100%;
  max-height: 68vh;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border: 5px solid #000000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-image-wrapper img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  display: block;
}

.hero-content-box {
  background-color: var(--card-bg);
  color: var(--text-dark);
  padding: 45px 40px;
  margin-left: -70px;
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-left: 14px solid var(--accent-yellow);
  border-radius: 8px;
}

.category-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 20px;
  text-shadow: 4px 4px 0px var(--accent-yellow); 
}

.hero-quote {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  color: #1a1a1a;
  margin-bottom: 15px;
  font-style: italic;
}

.hero-intro-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--text-dark);
  color: #ffffff;
  padding: 12px 24px;
  border: none;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border-radius: 6px;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
}

/* ==========================================================================
   SEITE 2: KATEGORIEN & AKKORDEON
   ========================================================================== */
.categories-section {
  position: relative;
}

.categories-wrapper {
  position: relative;
  width: 100%;
  max-width: 1300px;
}

.categories-container {
  display: flex;
  gap: 0;
  width: 100%;
  height: 65vh;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border: none;
  overflow: hidden;
  border-radius: 12px;
}

.category-card {
  flex: 1;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: flex 0.8s cubic-bezier(0.25, 1, 0.45, 1);
}

.categories-container:not(.has-expanded) .category-card:hover {
  flex: 7;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(95%) contrast(1.25) brightness(0.9);
  transition: filter 0.6s ease, transform 0.8s ease;
  z-index: 0;
}

.category-card:hover::before {
  filter: brightness(1);
  transform: scale(1.03);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom, 
    rgba(0, 0, 0, 0.1) 0%, 
    rgba(0, 0, 0, 0.4) 50%, 
    rgba(0, 0, 0, 0.95) 100%
  );
  z-index: 1;
}

.card-content {
  position: absolute;
  inset: 0;
  padding: 35px 25px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
  box-sizing: border-box;
}

.card-num {
  position: absolute;
  bottom: 30px;
  left: 25px;
  font-family: var(--font-body);
  font-size: 2.2rem;
  color: var(--accent-yellow);
  font-weight: bold;
  line-height: 1;
  z-index: 3;
  margin: 0 !important;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.45, 1);
}

.card-title,
.card-desc {
  opacity: 0;
  transform: translateY(15px);
  white-space: nowrap;
  transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
}

.card-title {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 1.8vw, 2.0rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0;
  margin-bottom: 6px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  color: #ffffff;
}

.card-desc {
  font-size: 0.85rem;
  color: #e0e0e0;
  line-height: 1.4;
  max-width: 420px;
}

.categories-container:not(.has-expanded) .category-card:hover .card-title,
.categories-container:not(.has-expanded) .category-card:hover .card-desc {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

.categories-container:not(.has-expanded) .category-card:hover .card-num {
  transform: translateY(-95px);
}

/* ==========================================================================
   EXPANDED STATE (ABGERUNDETE KARTE MIT GELBEM BALKEN)
   ========================================================================== */
.category-card.is-expanded {
  flex: 1 0 100% !important;
  cursor: default;
  z-index: 10;
  border-radius: 16px !important;
  overflow: hidden !important;
}

.category-card.is-expanded::before {
  opacity: 0.15;
  filter: blur(6px);
}

.category-card.is-expanded .card-content {
  opacity: 0 !important;
}

.categories-container.has-expanded .category-card:not(.is-expanded) {
  flex: 0 0 0px !important;
  border: none;
  overflow: hidden;
}

.card-expanded-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  padding: 45px 50px 45px 65px;
  color: var(--text-dark);
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background-color: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: opacity 0.4s ease 0.2s, visibility 0.4s ease 0.2s;
}

.card-expanded-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 14px;
  background-color: var(--accent-yellow);
}

.category-card.is-expanded .card-expanded-content {
  opacity: 1;
  visibility: visible;
}

.card-close-btn {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  z-index: 20;
  transition: color 0.3s ease, transform 0.3s ease;
  line-height: 1;
}

.card-close-btn:hover {
  color: var(--accent-yellow);
  transform: scale(1.15) rotate(90deg);
}

.card-close-btn.is-closing {
  color: var(--accent-yellow);
  transform: scale(1.15) rotate(90deg);
}

.expanded-hero {
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 15px;
}

.expanded-hero .card-num {
  font-size: 1.00rem;
  letter-spacing: 2px;
}

.expanded-title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  text-transform: uppercase;
  color: var(--text-dark);
  line-height: 1;
  margin-top: 5px;
  font-weight: 200;
  letter-spacing: 0.5px;
}

.expanded-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.expanded-lead {
  font-family: 'LibreCaslonDisplay-Regular', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #1a1a1a;
  line-height: 1.4;
  border-left: 3px solid var(--accent-yellow);
  padding-left: 15px;
  margin-bottom: 10px;
}

.expanded-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 35px;
  align-items: start;
  margin-top: 10px;
}

.expanded-text-block h3 {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.expanded-text-block p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.expanded-media-block img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  border: none;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
}

/* ==========================================================================
   BUTTONS (NEUMORPHIC)
   ========================================================================== */
.galery-btn,
.btn-neumorph {
  display: inline-block;
  margin-top: 15px;
  padding: 0.5em 1.4em;
  background: #f1f1f1;
  color: #090909;
  text-decoration: none;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.3s;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid #e8e8e8;
  box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
}

.galery-btn:hover,
.btn-neumorph:hover {
  color: #666666;
  box-shadow:
    0px 0px 0px #c5c5c5,
    0px 0px 0px #ffffff,
    inset 4px 4px 12px #c5c5c5,
    inset -4px -4px 12px #ffffff;
}

.back-btn-circle {
  display: none;
  position: absolute;
  bottom: -28px;
  left: -100px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #bbbab6;
  border: 1px solid #908f8c;
  cursor: pointer;
  z-index: 30;
  align-items: center;
  justify-content: center;
  box-shadow: 6px 6px 12px #8d8c89, -6px -6px 12px #d3cfcfcc;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-btn-circle.visible {
  display: flex;
}

.back-btn-circle .arrow {
  font-size: 1.8rem;
  color: #666c7a;
  transition: transform 0.3s ease, color 0.3s ease;
  line-height: 1;
}

.back-btn-circle:hover {
  border-color: #a59f9f;
  box-shadow: 8px 8px 16px #a1a09e, -8px -8px 16px #e6cbb0;
  transform: translateY(-2px);
}

.back-btn-circle:hover .arrow {
  color: var(--accent-yellow);
  transform: translateX(-1px);
}

.back-btn-circle:active {
  box-shadow: inset 3px 3px 6px #c5c3be, inset -3px -3px 6px #ffffff;
  transform: translateY(0) scale(0.96);
}

.back-btn-circle:active .arrow {
  color: var(--accent-yellow);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-dark);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBIL ANPASSUNGEN)
   ========================================================================== */
@media (max-width: 900px) {
  .top-bar {
    padding: 15px 5%;
  }

  .hero-wrapper {
    transform: translateY(0);
    padding: 10px 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hero-image-wrapper {
    max-height: 35vh;
    border-width: 3px;
  }

  .hero-content-box {
    margin-left: 0;
    margin-top: 0;
    padding: 25px 20px;
    border-left-width: 8px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  .bg-watermark {
    font-size: 25vw;
  }

  .bottom-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .categories-container {
    flex-direction: column;
    height: 72vh;
    border-radius: 16px;
  }

  .category-card {
    flex: 1 !important;
  }

  .category-card::before {
    filter: grayscale(0%) brightness(0.85) !important;
  }

  .card-content {
    padding: 18px 20px;
  }

  .card-num {
    position: static !important;
    font-size: 1.1rem;
    margin-bottom: 2px !important;
    transform: none !important;
  }

  .card-title {
    opacity: 1 !important;
    transform: translateY(0) !important;
    font-size: 1.2rem;
    white-space: normal;
  }

  .card-desc {
    display: none;
  }

  .back-btn-circle {
    display: none !important;
  }

  .card-expanded-content {
    padding: 20px 20px 20px 30px;
    max-height: 85vh;
    overflow-y: auto;
  }

  .expanded-title {
    font-size: 1.75rem;
  }

  .expanded-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Nur die gelbe Nummerierung (z.B. 04 // DYNAMICS) auf Mobilgeräten ausblenden */
.expanded-hero .card-num {
  display: none !important;
}



/* ==========================================================================
   FOOTER STYLING (IMPRESSUM & DATENSCHUTZ)
   ========================================================================== */
.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
}

.footer-copy {
  font-family: var(--font-mono, 'Courier New', monospace);
  color: var(--text-muted, #8a8e99);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-family: var(--font-mono, 'Courier New', monospace);
  color: var(--text-muted, #8a8e99);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-orange, #ffa500);
}

/* Mobil-Anpassung: Footer-Elemente untereinander zentrieren */
@media (max-width: 900px) {
  .bottom-bar {
    flex-direction: column-reverse;
    gap: 15px;
    text-align: center;
    padding: 20px 10px;
  }
}
/* Hosting-Release: vollständige Street-&-Moments- und Travel-Galerien */

/* ===========================================================================
   BIRTHDAY MOMENT
   ========================================================================== */
.birthday-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background: rgba(15, 16, 21, 0.76);
  backdrop-filter: blur(10px);
}

.birthday-overlay.is-visible {
  display: grid;
  animation: birthday-overlay-in 0.45s ease both;
}

.birthday-card {
  position: relative;
  z-index: 1;
  width: min(100%, 570px);
  padding: 50px;
  border: 1px solid rgba(255, 180, 5, 0.5);
  border-radius: 18px;
  color: var(--text-dark);
  background: linear-gradient(135deg, #fffdf8, #e8e6e1);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.38);
  text-align: center;
  animation: birthday-card-in 0.6s 0.08s cubic-bezier(0.18, 0.9, 0.25, 1.1) both;
}

.birthday-tag {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-yellow);
  font-family: var(--font-mono, "Courier New", monospace);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.birthday-card h1 {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 7vw, 4.8rem);
  font-weight: 400;
  line-height: 0.92;
}

.birthday-card > p {
  max-width: 420px;
  margin: 0 auto 24px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.birthday-email-note {
  display: grid;
  gap: 7px;
  margin: 0 auto 24px;
  padding: 17px 18px;
  border-left: 3px solid var(--accent-yellow);
  background: rgba(15, 16, 21, 0.055);
  text-align: left;
}

.birthday-email-note strong { font-size: 0.95rem; letter-spacing: 0.4px; }
.birthday-email-note span { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }
.birthday-email-note em { color: var(--text-dark); font-style: normal; font-weight: 600; }

.birthday-email-btn,
.birthday-enter {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.birthday-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 0 20px;
  color: #17120a;
  background: var(--accent-yellow);
  box-shadow: 0 9px 20px rgba(255, 180, 5, 0.28);
  text-decoration: none;
}

.birthday-email-btn:hover { transform: translateY(-2px); }
.birthday-enter { display: block; margin: 14px auto 0; padding: 0 12px; color: var(--text-muted); background: transparent; }
.birthday-close { position: absolute; top: 15px; right: 17px; border: 0; color: var(--text-muted); background: transparent; font-size: 2rem; line-height: 1; cursor: pointer; }
.birthday-close:hover { color: var(--accent-yellow); transform: rotate(90deg); }

.birthday-confetti i { position: absolute; top: -10%; width: 10px; height: 18px; background: var(--accent-yellow); animation: birthday-confetti-fall 4.5s linear infinite; }
.birthday-confetti i:nth-child(3n) { background: #ffffff; width: 7px; height: 13px; }
.birthday-confetti i:nth-child(4n) { background: #8f9cbd; width: 12px; height: 12px; border-radius: 50%; }
.birthday-confetti i:nth-child(1) { left: 7%; animation-delay: -0.8s; }
.birthday-confetti i:nth-child(2) { left: 15%; animation-delay: -3.1s; }
.birthday-confetti i:nth-child(3) { left: 24%; animation-delay: -1.7s; }
.birthday-confetti i:nth-child(4) { left: 34%; animation-delay: -2.4s; }
.birthday-confetti i:nth-child(5) { left: 44%; animation-delay: -0.4s; }
.birthday-confetti i:nth-child(6) { left: 55%; animation-delay: -3.6s; }
.birthday-confetti i:nth-child(7) { left: 64%; animation-delay: -1.1s; }
.birthday-confetti i:nth-child(8) { left: 72%; animation-delay: -2.9s; }
.birthday-confetti i:nth-child(9) { left: 81%; animation-delay: -0.2s; }
.birthday-confetti i:nth-child(10) { left: 90%; animation-delay: -3.3s; }
.birthday-confetti i:nth-child(11) { left: 11%; animation-delay: -2s; }
.birthday-confetti i:nth-child(12) { left: 95%; animation-delay: -1.3s; }

@keyframes birthday-overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes birthday-card-in { from { opacity: 0; transform: translateY(24px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes birthday-confetti-fall { to { transform: translate3d(22px, 120vh, 0) rotate(720deg); } }

@media (max-width: 600px) {
  .birthday-overlay { padding: 18px; }
  .birthday-card { padding: 42px 24px 28px; }
  .birthday-card > p { font-size: 0.98rem; }
  .birthday-email-note { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .birthday-overlay.is-visible,
  .birthday-card,
  .birthday-confetti i { animation: none; }
}
