.hero-slide {
  position: relative;
  height: 90vh;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;

  background:
    radial-gradient(circle at 20% 30%, rgba(230, 169, 109, 0.12), transparent 30%),
    radial-gradient(circle at 78% 38%, rgba(255, 255, 255, 0.06), transparent 22%),
    linear-gradient(
      135deg,
      rgba(43, 31, 48, 0.96) 0%,
      rgba(58, 40, 64, 0.92) 45%,
      rgba(43, 31, 48, 0.98) 100%
    ),
    url("../../assets/Slider/Hintergrund-Grafik-v3.jpg");
  background-size: cover;
  background-position: center;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(22, 14, 26, 0.78) 0%,
      rgba(22, 14, 26, 0.52) 32%,
      rgba(22, 14, 26, 0.14) 58%,
      rgba(22, 14, 26, 0.18) 100%
    );
  z-index: 0;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 62% 48%, rgba(230, 169, 109, 0.14), transparent 20%),
    radial-gradient(circle at 55% 56%, rgba(255,255,255,0.05), transparent 26%);
  z-index: 0;
  pointer-events: none;
}

/* Hintergrund-Element */
.hero-img-back {
  position: absolute;
  right: -2%;
  top: 54%;
  transform: translateY(-50%) scale(0.82);
  width: min(34vw, 360px);
  max-width: 100%;
  z-index: 1;
  opacity: 0.32;
  filter:
    blur(1.5px)
    drop-shadow(0 12px 26px rgba(0, 0, 0, 0.14));
  animation:
    mintIn 1.5s ease-out forwards,
    mintFloat 7s ease-in-out 1.8s infinite;
}

/* Hauptbild jetzt mittig und größer */
.hero-img-main {
  position: absolute;
  right: 6%;
  top: 56%;
  transform: translateY(-50%) scale(0.82);
  width: min(60vw, 920px);
  max-width: 95%;
  height: auto;
  z-index: 3;
  opacity: 0;
  filter:
    drop-shadow(0 34px 60px rgba(0, 0, 0, 0.36))
    saturate(1.08)
    contrast(1.04);
  animation:
    iceRevealRight 1.2s cubic-bezier(.2,.8,.2,1) 0.25s forwards,
    iceFloatRight 5.5s ease-in-out 1.6s infinite;
}

/* Optional falls du später noch ein Vordergrund-Objekt nutzt */
.hero-img-top {
  position: absolute;
  left: 58%;
  top: 17%;
  transform: translateX(-50%) rotate(-12deg);
  max-width: 250px;
  z-index: 4;
  opacity: 0;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.28));
  animation:
    scoopIn 1s ease-out 0.75s forwards,
    scoopFloat 5.2s ease-in-out 1.8s infinite;
}

/* Text links, sauber vor dem Bild */
.hero-caption {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 520px;
  z-index: 5;
  opacity: 0;
  animation: textFadeUp 1s ease-out 0.45s forwards;
}

.hero-title {
  font-family: "Great Vibes", cursive;
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  color: #ffffff;
  margin-bottom: 0.25rem;
  line-height: 1.05;
  text-shadow: 0 8px 24px rgba(0,0,0,0.30);
}

.hero-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  font-weight: 600;
  color: #e6a96d;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-text {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  color: #efe7f3;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 500px;
}

/* Eigene Button-Klasse statt Bootstrap btn-primary */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0bf7a 0%, #e6a96d 100%);
  color: #2b1f30;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(230, 169, 109, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(230, 169, 109, 0.34);
  filter: brightness(1.03);
  color: #2b1f30;
}

/* Carousel Controls etwas edler */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0) invert(1);
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 6px;
  background-color: rgba(255,255,255,0.45);
  border: none;
}

.carousel-indicators .active {
  background-color: #e6a96d;
}

/* Animationen */
@keyframes mintIn {
  0% {
    opacity: 0;
    transform: translateY(-50%) translateX(40px) scale(0.72) rotate(-6deg);
    filter: blur(10px);
  }
  100% {
    opacity: 0.32;
    transform: translateY(-50%) translateX(0) scale(0.82) rotate(0deg);
    filter: blur(1.5px);
  }
}


@keyframes mintFloat {
  0%, 100% {
    transform: translateY(-50%) scale(0.82);
  }
  50% {
    transform: translateY(calc(-50% - 6px)) scale(0.84);
  }
}


@keyframes iceReveal {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
    filter:
      blur(12px)
      drop-shadow(0 16px 28px rgba(0, 0, 0, 0.18))
      saturate(0.95);
  }
  60% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter:
      drop-shadow(0 30px 50px rgba(0, 0, 0, 0.34))
      saturate(1.06)
      contrast(1.03);
  }
}

@keyframes iceRevealRight {
  0% {
    opacity: 0;
    transform: translateY(-50%) translateX(80px) scale(0.72);
    filter:
      blur(12px)
      drop-shadow(0 16px 28px rgba(0, 0, 0, 0.18))
      saturate(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
    filter:
      drop-shadow(0 34px 60px rgba(0, 0, 0, 0.36))
      saturate(1.08)
      contrast(1.04);
  }
}
@keyframes iceFloat {
  0%, 100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, calc(-50% - 14px));
  }
}
@keyframes iceFloatRight {
  0%, 100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 14px));
  }
}
@keyframes scoopIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-50px) rotate(-24deg);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) rotate(-12deg);
  }
}

@keyframes scoopFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0) rotate(-12deg);
  }
  50% {
    transform: translateX(-50%) translateY(-8px) rotate(-8deg);
  }
}

@keyframes textFadeUp {
  from {
    opacity: 0;
    transform: translateY(calc(-50% + 30px));
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

/* Responsive */
@media (max-width: 1199.98px) {
  .hero-img-main {
    width: min(58vw, 680px);
  }

  .hero-caption {
    left: 6%;
    max-width: 460px;
  }
}

@media (max-width: 991.98px) {
  .hero-slide {
    min-height: 680px;
  }

  .hero-slide::before {
    background:
      linear-gradient(
        to bottom,
        rgba(22, 14, 26, 0.68) 0%,
        rgba(22, 14, 26, 0.42) 40%,
        rgba(22, 14, 26, 0.75) 100%
      );
  }

  .hero-caption {
    left: 50%;
    top: 18%;
    transform: translateX(-50%);
    width: min(90%, 640px);
    max-width: 90%;
    text-align: center;
    animation: textFadeMobile 1s ease-out 0.45s forwards;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }
.hero-img-main {
    right: 2%;
    top: 64%;
    width: min(72vw, 700px);
  }


  .hero-img-back {
    right: -6%;
    top: 63%;
    width: min(42vw, 280px);
    opacity: 0.22;
  }


  .hero-img-top {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .hero-slide {
    height: 88vh;
    min-height: 620px;
  }

  .hero-title {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.65;
  }

   .hero-img-main {
    right: 50%;
    top: 67%;
    transform: translate(50%, -50%);
    width: min(84vw, 560px);
  }


   .hero-img-back {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero-slide {
    min-height: 580px;
  }

  .hero-caption {
    top: 14%;
  }

    .hero-img-main {
    right: 50%;
    top: 70%;
    transform: translate(50%, -50%);
    width: 90vw;
  }

  .hero-btn {
    min-height: 50px;
    padding: 0 22px;
    font-size: 0.95rem;
  }
}

@keyframes textFadeMobile {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}