.slideshow-container {
    width: 95%;
    max-width: 1200px;
    aspect-ratio: 16 / 9; /* Sorgt für ein festes 16:9-Seitenverhältnis */

    margin: 50px auto;
    position: relative;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    background: #000;
    overflow: hidden;
    border-radius: 8px; /* Optional: Ein kleiner Radius für die Ecken */
}

/* Einzelne Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out; /* Etwas schnellere Transition */
    z-index: 0;
}

.slide.aktiv {
    opacity: 1;
    z-index: 1;
}

/* Bilder in den Slides */
.slide-bild {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Perfekt, um das Bild einzupassen */
}

/* Navigation-Pfeile */
.pfeil {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;

    /* OPTIMIERT: Button-Standard-Design entfernen */
    background: none;
    border: none;
    
    color: rgba(255, 255, 255, 0.7);
    font-size: 40px; /* Etwas kleiner für Desktop */
    font-weight: bold;
    padding: 10px 20px; /* Bessere Kontrolle als prozentuale Breite */
    
    user-select: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pfeil:hover, .pfeil:focus {
    color: white;
    outline: none;
}

.pfeil-links {
    left: 0;
}

.pfeil-rechts {
    right: 0;
}

/* Indikatorenliste */
.indikatorenliste {
    position: absolute;
    bottom: 20px; /* Etwas mehr Abstand von unten */
    left: 50%;
    transform: translateX(-50%); /* Präzise horizontale Zentrierung */

    list-style-type: none;
    display: flex;
    gap: 10px; /* Abstand zwischen den Punkten */
    padding: 0;
    margin: 0;
    z-index: 2;
}

.indikator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    
    /* Wichtig, damit der Text-Inhalt (der Punkt) keinen Platz einnimmt */
    font-size: 0; 
}

.indikator:hover {
    background: white;
}

.indikator.aktiv {
    background: white;
}


/* --- Responsive Anpassungen --- */
@media (max-width: 768px) {
    .pfeil {
        font-size: 24px; /* Deutlich kleinere Pfeile für mobile Geräte */
        padding: 10px;
    }

    .indikatorenliste {
        bottom: 10px; /* Etwas näher am Rand */
    }

    .indikator {
        width: 10px;
        height: 10px;
    }
}