/* =========================================================
   Bar N°1 – Version 2: animierter Startbereich
   Ebenen: Bar-Foto → Goldperlen → „Bar N°1“ → Schriftzug → Cocktail
   ========================================================= */

.hero-anim { position: relative; min-height: 100svh; overflow: hidden; background: #070605; isolation: isolate; display: flex; flex-direction: column; }
.ha-bg { position: absolute; inset: -4%; z-index: 0; will-change: transform; }
.ha-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.55); opacity: 0; transform: scale(1.12); animation: haBg 2.4s cubic-bezier(.22, .61, .36, 1) .1s forwards; }
@keyframes haBg { to { opacity: 1; transform: scale(1.02); } }
.hero-anim::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 55% 50% at 50% 52%, rgba(197, 160, 101, .16), transparent 70%),
              linear-gradient(180deg, rgba(7, 6, 5, .65) 0%, rgba(7, 6, 5, .15) 30%, rgba(7, 6, 5, .2) 60%, rgba(7, 6, 5, .92) 100%); }
.ha-bubbles { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; opacity: 0; animation: haFade 1.5s ease 1s forwards; }

.ha-stage { position: relative; z-index: 3; flex: 1; display: grid; place-items: center; padding: calc(var(--header-h) + 10px) 20px 190px; }
.ha-inner { position: relative; width: min(1180px, 100%); aspect-ratio: 1180 / 520; }

/* Riesiger Name hinter dem Glas */
.ha-title { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; gap: 24%; z-index: 1; pointer-events: none; will-change: transform; }
.ha-word { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(5rem, 15.5vw, 15.5rem); line-height: .8; color: var(--ivory); letter-spacing: -.02em; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
  text-shadow: 0 10px 60px rgba(0, 0, 0, .55); opacity: 0; filter: blur(14px); }
.ha-w1 { transform: translateX(-18%); animation: haWordL 1.5s cubic-bezier(.16, 1, .3, 1) .45s forwards; }
.ha-w2 { transform: translateX(18%); animation: haWordR 1.5s cubic-bezier(.16, 1, .3, 1) .6s forwards; }
@keyframes haWordL { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes haWordR { to { opacity: 1; transform: none; filter: blur(0); } }

/* Cocktail im Vordergrund */
.ha-glass-wrap { position: absolute; z-index: 3; left: 50%; bottom: -8%; width: 22%; transform: translateX(-50%); will-change: transform; }
.ha-glass { display: block; width: 100%; height: auto; opacity: 0; transform: translateY(45%) rotate(-4deg); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)) drop-shadow(0 0 60px rgba(197, 160, 101, .18));
  animation: haGlassIn 1.6s cubic-bezier(.2, 1.15, .35, 1) 1.05s forwards, haFloat 6s ease-in-out 2.8s infinite; }
@keyframes haGlassIn { to { opacity: 1; transform: none; } }
@keyframes haFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-1.6%) rotate(.6deg); } }

/* Goldener Schriftzug wird gezeichnet */
.ha-script { position: absolute; z-index: 2; left: 21%; bottom: 2%; width: 58%; height: auto; overflow: visible; will-change: transform; opacity: .95; }
.ha-script path { fill: var(--gold); fill-opacity: 0; stroke: var(--gold-light); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: var(--len, 4000); stroke-dashoffset: var(--len, 4000); animation: haDraw 2.4s cubic-bezier(.45, 0, .2, 1) forwards, haFill .9s ease forwards; }
@keyframes haDraw { to { stroke-dashoffset: 0; } }
@keyframes haFill { to { fill-opacity: 1; stroke-opacity: .25; } }

.ha-sub { position: absolute; z-index: 4; left: 0; right: 0; top: 100%; margin: 4% 0 0; text-align: center; font-size: clamp(.66rem, 1vw, .78rem); font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-light);
  opacity: 0; transform: translateY(12px); animation: haUp 1s ease 3.1s forwards; }
@keyframes haUp { to { opacity: 1; transform: none; } }
@keyframes haFade { to { opacity: 1; } }

.hero-anim .booking-bar { left: 50%; right: auto; width: min(1080px, calc(100% - 64px)); transform: translate(-50%, 16px); opacity: 0; animation: haBar 1s ease 3.3s forwards; }
@keyframes haBar { to { opacity: 1; transform: translate(-50%, 0); } }

.ha-skip { position: absolute; z-index: 6; right: 24px; top: calc(var(--header-h) + 14px); background: none; border: 0; color: rgba(237, 230, 218, .45); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.ha-skip:hover { color: var(--gold-light); }
.hero-anim.is-done .ha-skip, .hero-anim.is-done-late .ha-skip { display: none; }

@media (max-width: 1000px) {
  .ha-stage { padding: calc(var(--header-h) + 30px) 16px 110px; align-content: center; }
  .ha-inner { aspect-ratio: 360 / 230; width: 100%; }
  .ha-word { font-size: clamp(3.4rem, 16.5vw, 7rem); }
  .ha-title { gap: 26%; }
  .ha-glass-wrap { width: 24%; bottom: -10%; }
  .ha-script { left: 12%; width: 76%; bottom: -6%; }
  .ha-sub { top: 100%; margin: 17% 0 0; letter-spacing: .2em; line-height: 1.9; padding: 0 6px; }
  .hero-anim .booking-bar { position: relative; left: auto; transform: translateY(16px); width: auto; margin: 0 20px 28px; animation-name: haBarM; }
  @keyframes haBarM { to { opacity: 1; transform: none; } }
  .ha-skip { display: none; }
}

/* „Animation überspringen“ bzw. reduzierte Bewegung → Endzustand */
.hero-anim.is-done *, .hero-anim.is-done .booking-bar { animation-duration: .01ms !important; animation-delay: 0s !important; }
.hero-anim.is-done .ha-glass { animation: none; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-anim *, .hero-anim .booking-bar { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .ha-bubbles { display: none; }
}

/* Handy: zwei Buttons unter der Zeile „Party · Events …“, mit der Animation einblenden */
@media (max-width: 760px) {
  .hero-anim .ha-stage { padding-bottom: 48px; }
  .hero-anim .hero-mobile-cta { margin-top: calc(17% + 78px); max-width: 320px; opacity: 0; transform: translateY(12px); animation: haUp 1s ease 3.3s forwards; }
  .hero-anim.is-done .hero-mobile-cta { opacity: 1; transform: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
