/* jeep3.css - slides als überlagernde Ebenen (sauberer Fade) */

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 2rem auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  height: 400px; /* feste Höhe, verhindert Einklappen */
}

/* Bilder als absolute Layer über dem Container */
.slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

/* Sichtbares Bild */
.slides.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* Mobile: kleinere Höhe */
@media (max-width: 768px) {
  .slideshow-container {
    height: 250px;
  }
}

/* Text-Container (wie vorher) */
.text-container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255,255,255,0.95);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.text-container h2 { color: #ffcc00; margin-bottom: 1rem; }
.text-container p { line-height: 1.6; margin-bottom: 1rem; }
.text-container ul { margin: 0.5rem 0 1rem 1.5rem; }

.detail-zurueck { text-align: center; margin-top: 1.5rem; }
.detail-zurueck a {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  background: #fff176;
  color: #111;
  font-weight: bold;
  transition: transform 0.2s, background 0.2s;
}
.detail-zurueck a:hover { background: #fdd835; transform: scale(1.05); }
