
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 1150px;
    margin: auto;
    overflow: hidden;
    background: #eee;

    /* Fallback Ratio (wird per JS überschrieben) */
    aspect-ratio: 16 / 9;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.slide[data-url] {
    cursor: pointer;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dots */
.dot-container {
    position: absolute;
    bottom: 12px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background: rgba(255,255,255,0.5);
    border: 0.01px solid rgba(122,139,139,0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}
