/* ===========================
   Bild-Slider / Carousel (Neon-Glas-Look + Weihnachtsfarben)
   =========================== */
#slider.neo-box {
  max-width: 700px;
  margin: 20px auto;
  padding: 15px 20px;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.65) 60%, rgba(255, 77, 77, 0.18) 100%);
  border-radius: 12px; /* von var(--box-radius) übernommen */
  box-shadow:
    0 4px 24px 0 rgba(0, 255, 136, 0.18),
    0 0 0 1.5px rgba(201, 241, 255, 0.12) inset,
    0 1.5px 24px 0 rgba(255, 77, 77, 0.10) inset,
    0 4px 12px rgba(255, 77, 77, 0.8); /* Weihnachtsroter Schein */
  color: #C9F1FF; /* Eisblau */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  user-select: none;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px) saturate(1.2);
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  z-index: 1;
}

#slider.neo-box:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 30px rgba(0, 255, 136, 0.3),
    0 0 0 2px rgba(201, 241, 255, 0.2) inset,
    0 3px 36px 0 rgba(255, 77, 77, 0.15) inset,
    0 6px 18px rgba(255, 77, 77, 1); /* verstärkter Weihnachtsroter Schein */
}

#slider.neo-box > h2 {
  color: #C9F1FF; /* Eisblau */
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow:
    0 0 5px rgba(201, 241, 255, 0.7),
    0 2px 4px rgba(26, 26, 26, 0.3);
}

/* Slider Container */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(255, 77, 77, 0.3);
}

/* Slides Wrapper */
.slides {
  display: flex;
  transition: transform 1.5s ease-in-out; /* langsamer */
  outline: none;
}

/* Einzelne Slide */
.slide {
  min-width: 180px;
  margin-right: 10px;
  background: rgba(255, 77, 77, 0.15); /* halbtransparentes Weihnachtsrot */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(255, 77, 77, 0.2);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}

/* Bild in Slide */
.slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 77, 77, 0.3);
  margin-left: auto;
  margin-right: auto;
}

/* Beschreibung unter Bild */
.slide .description {
  padding: 6px 8px;
  font-size: 0.85rem;
  color: #C9F1FF; /* Eisblau */
  background: rgba(26, 26, 26, 0.8); /* dunkles Anthrazit */
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Navigation Buttons */
.slider-nav {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.nav-button {
  background-color: rgba(255, 77, 77, 0.8); /* Weihnachtsrot */
  border: none;
  color: #1A1A1A; /* dunkles Anthrazit */
  font-size: 1.3rem;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

.nav-button:hover,
.nav-button:focus-visible {
  background-color: rgba(255, 77, 77, 1);
  color: #C9F1FF; /* Eisblau */
  outline: none;
}

/* Responsive */
@media (max-width: 600px) {
  #slider.neo-box {
    max-width: 98vw;
    padding: 16px 12px;
  }
  .nav-button {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
  .description {
    font-size: 0.9rem;
    padding: 8px 10px;
  }
}