/* ============================
   Galerie Vollbildmodus
   ============================ */

.slideshow {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 20px auto;
    overflow: hidden;
    background-color: #000;
}

.slideshow-track {
    display: flex;
    width: 100%;
}

.slide {
    min-width: 100%;
    display: none;
    text-align: center;
}

.slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    max-width: 100%;
    max-height: 600px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Navigation Buttons */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(50, 24, 9, 0.75);
    color: #FFFFFF;
    border: none;
    font-size: 28px;
    font-family: "open-sans-condensed", sans-serif;
    font-weight: 700;
    width: 50px;
    height: 60px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1;
}

.slide-btn:hover {
    background-color: rgba(86, 45, 15, 0.9);
    text-decoration: none;
    color: #FFFFFF;
}

.slide-btn-prev {
    left: 0;
}

.slide-btn-next {
    right: 0;
}

/* Fortschrittsanzeige */
.slide-counter {
    text-align: center;
    padding: 8px 0;
    color: #8A4810;
    font-family: "open-sans-condensed", sans-serif;
    font-size: 14px;
}

/* ============================
   Responsive – Mobil (max 600px)
   ============================ */
@media (max-width: 600px) {
    .slideshow {
        margin: 10px auto;
    }

    .slide img {
        max-height: 280px;
    }

    /* Größere Touch-Buttons auf Mobil */
    .slide-btn {
        width: 44px;
        height: 50px;
        font-size: 22px;
    }

    .slide-counter {
        font-size: 13px;
    }
}
