#slider {
  max-width: 700px;
  margin: 20px auto;
  padding: 15px 20px;
  background: rgba(74, 54, 14, 0.6); /* Messing-Braun halbtransparent */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(199, 130, 44, 0.8); /* Hellgoldener Schein */
  color: #f3f4f6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

#slider h2 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

/* Slider Container */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

/* Slides Wrapper */
.slides {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

/* Einzelne Slide */
.slide {
  min-width: 180px; /* kompakter */
  margin-right: 10px;
  background: rgba(199, 130, 44, 0.15); /* Hellgold halbtransparent */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(199, 130, 44, 0.2);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}

/* Bild in Slide */
.slide img {
  width: 100%;
  height: 350px; /* kompakte Höhe */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(199, 130, 44, 0.3);
}

/* Beschreibung unter Bild */
.slide .description {
  padding: 6px 8px;
  font-size: 0.85rem;
  color: #f3f4f6;
  background: rgba(74, 54, 14, 0.8);
  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(199, 130, 44, 0.8);
  border: none;
  color: #1a1a1a;
  font-size: 1.3rem;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

.nav-button:hover {
  background-color: rgba(199, 130, 44, 1);
  color: #fff;
}
