.slideshow-container {
    max-width: 1024px;
    position: relative;
    margin: auto;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: transparent; /*#000;  schwarz*/
}

.slides-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slides-wrapper.no-transition {
    transition: none !important;
}

.slide-item {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

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

.caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    background: var(--orange); /*rgba(0,0,0,0.65); */
    padding: 8px 12px;
    text-align: center;
    font-size: 16px;
    box-sizing: border-box;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    border: none;
    background: var(--blau); /*rgba(0,0,0,0.3); */
    z-index: 10;
}
.next { right: 0; }

.prev:hover, .next:hover {
    background: var(--orange); /*rgba(0,0,0,0.8);  */
}

.gallery-list {
    max-width: 1024px;
    margin: 20px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.gallery-item {
    width: 240px;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border: 1px solid #ccc;
    cursor: pointer;
}

.gallery-caption {
    margin-top: 6px;
    font-size: 11px;
    color: var(--blau);
    word-wrap: break-word;
}