/* Luxury Studio Slideshow Pro Stylesheet - v2.6.0 */

#lss-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 999999 !important;
    background-color: #050505;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--lss-fade-duration, 1200ms) cubic-bezier(0.16, 1, 0.3, 1), visibility var(--lss-fade-duration, 1200ms);
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    touch-action: manipulation;
}

#lss-overlay.lss-visible {
    opacity: 1;
    visibility: visible;
}

.lss-backdrop-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background-color: var(--lss-overlay-color, #000000);
    opacity: var(--lss-overlay-opacity, 0.5);
    pointer-events: none;
}

.lss-slides-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.lss-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--lss-fade-duration, 1200ms) ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.lss-slide.lss-active {
    opacity: 1;
}

.lss-fg-image {
    position: relative;
    z-index: 10 !important;
    max-width: 90vw;
    max-height: 62vh;
    max-height: 62dvh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.85);
    display: block;
    margin: auto;
}

.lss-mode-cover .lss-fg-image {
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.lss-bg-blur {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(50px) brightness(0.45);
    transform: scale(1.25);
    z-index: 1 !important;
    pointer-events: none;
}

.lss-ken-burns .lss-fg-image {
    transition: transform 7s ease-out;
}

.lss-ken-burns .lss-slide.lss-active .lss-fg-image {
    transform: scale(1.04);
}

.lss-header-box {
    position: absolute;
    top: max(25px, env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    text-align: center;
    width: 88%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.lss-logo {
    max-height: clamp(40px, 8vh, 75px);
    width: auto;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
}

.lss-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 5vw, var(--lss-title-size, 36px));
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.lss-subtitle {
    font-size: clamp(10px, 2.5vw, var(--lss-subtitle-size, 13px));
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--lss-accent-color, #d4af37);
    margin-top: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.lss-music-btn {
    position: absolute;
    top: max(20px, env(safe-area-inset-top));
    right: max(20px, env(safe-area-inset-right));
    z-index: 30;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.lss-music-btn:hover {
    border-color: var(--lss-accent-color, #d4af37);
    color: var(--lss-accent-color, #d4af37);
    background: rgba(0, 0, 0, 0.75);
}

.lss-music-btn.lss-muted {
    opacity: 0.5;
}

.lss-footer-box {
    position: absolute;
    bottom: max(30px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 90%;
}

.lss-enter-btn {
    position: relative;
    z-index: 30;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 12px 32px;
    font-size: clamp(10px, 2.8vw, 12px);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.lss-enter-btn:hover {
    border-color: var(--lss-accent-color, #d4af37);
    color: var(--lss-accent-color, #d4af37);
    background: rgba(0, 0, 0, 0.9);
}

.lss-dots {
    display: flex;
    gap: 8px;
}

.lss-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: all 0.4s ease;
    cursor: pointer;
}

.lss-dot.lss-active-dot {
    background: var(--lss-accent-color, #d4af37);
    transform: scale(1.3);
}

.lss-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.lss-nav-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: var(--lss-accent-color, #d4af37);
    color: var(--lss-accent-color, #d4af37);
}

.lss-prev { left: 20px; }
.lss-next { right: 20px; }

/* MOBIL-ANPASSUNGEN */
@media (max-width: 768px) {
    .lss-nav-btn { 
        display: none; 
    }

    .lss-header-box {
        top: max(15px, env(safe-area-inset-top));
    }

    .lss-enter-btn {
        padding: 10px 24px;
        font-size: 10px;
    }

    .lss-fg-image {
        max-height: 55vh;
        max-height: 55dvh;
    }

    .lss-footer-box {
        bottom: max(20px, env(safe-area-inset-bottom));
    }
}