/* Drostei Slider
   ============== */

.drostei-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #111;
    margin-bottom: 1.5em;
}

.drostei-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

/* Erstes Bild als Platzhalter – verhindert Höhe 0 beim Laden */
.drostei-slide:first-child {
    position: relative;
}

.drostei-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

/* Damit absolute Slides die Höhe des aktiven übernehmen */
.drostei-slider .drostei-slide:not(.is-active) {
    position: absolute;
}

.drostei-slide img {
    display: block;
    width: 100%;
    height: auto;
}

/* Pfeile */
.drostei-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    font-size: 2.5em;
    line-height: 1;
    padding: 0.1em 0.4em;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
    border-radius: 2px;
}

.drostei-arrow:hover {
    background: rgba(0,0,0,0.6);
}

.drostei-prev { left: 8px; }
.drostei-next { right: 8px; }

/* Dots */
.drostei-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.drostei-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.drostei-dots button.is-active {
    background: #fff;
}
