/* ============================================================ */
/* HERO VIDEO PATCH v7                                           */
/* Variante A: Pur. Hero Inner unten platziert.                  */
/* Mobile ohne Buttons fuer Cinema Wirkung.                      */
/* ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  background: #1a1410;
  /* Hero etwas hoeher fuer mehr Wirkung */
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%;
  z-index: 0;
  background: #1a1410;
  will-change: transform;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #1a1410;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(26, 20, 16, 0.78) 0%,
      rgba(26, 20, 16, 0.45) 35%,
      rgba(26, 20, 16, 0.15) 65%,
      rgba(26, 20, 16, 0.05) 100%
    );
}

/* Hero Inner sitzt UNTEN, nicht mittig */
.hero__inner {
  position: relative;
  z-index: 2;
  padding-bottom: var(--vr-space-2xl, 4rem);
  padding-top: var(--vr-space-2xl, 4rem);
}


/* ============================================================ */
/* CHOREOGRAFIE — Fade In mit Slide                              */
/* ============================================================ */

@keyframes vrFadeUp {
  0%   { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}


/* ============================================================ */
/* HEADLINE — 3D MULTI SHADOW TIEFE                              */
/* ============================================================ */
.hero__inner h1 {
  opacity: 0;
  animation: vrFadeUp 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) 0.4s forwards;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.9),
    0 2px 0 rgba(0, 0, 0, 0.85),
    0 3px 0 rgba(0, 0, 0, 0.75),
    0 4px 8px rgba(0, 0, 0, 0.8),
    0 8px 16px rgba(0, 0, 0, 0.6),
    0 16px 40px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(184, 146, 74, 0.25),
    0 0 100px rgba(184, 146, 74, 0.15);
}


.hero__inner .lead {
  opacity: 0;
  animation: vrFadeUp 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) 0.9s forwards;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.85),
    0 2px 6px rgba(0, 0, 0, 0.7),
    0 4px 16px rgba(0, 0, 0, 0.5);
}

.hero__inner .cluster {
  opacity: 0;
  animation: vrFadeUp 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) 1.4s forwards;
}


/* ============================================================ */
/* GLUT FUNKEN                                                   */
/* ============================================================ */

.hero__sparks {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.hero__spark {
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd99a 0%, #f0a040 50%, transparent 100%);
  box-shadow:
    0 0 8px rgba(240, 160, 64, 0.8),
    0 0 16px rgba(240, 160, 64, 0.4);
  opacity: 0;
  will-change: transform, opacity;
}

.hero__spark--1 {
  left: 22%;
  animation: vrSpark 4.5s ease-in-out 2s infinite;
}

.hero__spark--2 {
  left: 58%;
  animation: vrSpark 5.2s ease-in-out 3.4s infinite;
}

.hero__spark--3 {
  left: 78%;
  animation: vrSpark 4.8s ease-in-out 4.1s infinite;
}

@keyframes vrSpark {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(0.6);
  }
  10% {
    opacity: 1;
    transform: translateY(-30px) translateX(4px) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-200px) translateX(-8px) scale(0.9);
  }
  85% {
    opacity: 0.4;
    transform: translateY(-380px) translateX(12px) scale(0.7);
  }
  100% {
    opacity: 0;
    transform: translateY(-500px) translateX(-4px) scale(0.4);
  }
}


/* ============================================================ */
/* REDUCE MOTION                                                 */
/* ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .hero__media {
    transform: none !important;
  }
  .hero__inner h1,
  .hero__inner .lead,
  .hero__inner .cluster {
    opacity: 1;
    animation: none;
  }
  .hero__spark {
    display: none;
  }
}


/* ============================================================ */
/* MOBILE OPTIMIERUNG — Variante A maximal pur                   */
/* Buttons komplett ausgeblendet, nur Marke und Statement        */
/* ============================================================ */

@media (max-width: 768px) {

  .hero {
    min-height: 75vh;
  }

  .hero__inner {
    padding-bottom: var(--vr-space-xl, 2rem);
  }

  .hero__overlay {
    background:
      linear-gradient(
        to top,
        rgba(26, 20, 16, 0.85) 0%,
        rgba(26, 20, 16, 0.55) 35%,
        rgba(26, 20, 16, 0.25) 65%,
        rgba(26, 20, 16, 0.10) 100%
      );
  }

  .hero__inner h1 {
    font-size: clamp(2rem, 9vw, 3.25rem) !important;
    line-height: 1.05 !important;
    max-width: 100% !important;
    text-shadow:
      0 1px 0 rgba(0, 0, 0, 0.9),
      0 2px 0 rgba(0, 0, 0, 0.8),
      0 3px 6px rgba(0, 0, 0, 0.75),
      0 6px 14px rgba(0, 0, 0, 0.55),
      0 0 40px rgba(184, 146, 74, 0.2) !important;
  }

  .hero__inner .lead {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    margin-top: 0.75rem !important;
    max-width: 100% !important;
  }

  /* Buttons auf Mobile NEBENEINANDER, kompakt */
  .hero__inner .cluster {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    margin-top: 1.5rem !important;
  }

  .hero__inner .cluster .btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0.7rem 0.5rem !important;
    font-size: clamp(0.78rem, 3.4vw, 0.95rem) !important;
    line-height: 1.2 !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  .site-header .btn,
  header .btn {
    padding: 0.55rem 1rem !important;
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
    white-space: nowrap;
  }

  .scroll-down {
    display: none !important;
  }

  .hero__spark {
    width: 3px;
    height: 3px;
  }
}

/* === Hero Status Badge oben rechts === */



@media (max-width: 768px) {
  
}


/* Hero Container relative + Mobile Badge kleiner */
.hero { position: relative; }
@media (max-width: 768px) {
  #vr-header-status {
    top: 0.675rem !important;
    right: 0.65rem !important;
    font-size: 1.2rem !important;
    font-weight: 400 !important;
  }
}


/* Pulse Animation fuer Jetzt geoeffnet Badge */
@keyframes vrStatusPulse {
  0%, 100% {
    opacity: 1;
    transform: rotate(-4deg) scale(1);
  }
  50% {
    opacity: 0.25;
    transform: rotate(-4deg) scale(1.02);
  }
}
#vr-header-status {
  animation: vrStatusPulse 3.6s ease-in-out infinite;
  transform-origin: right center;
}
@media (prefers-reduced-motion: reduce) {
  #vr-header-status {
    animation: none !important;
  }
}
