/* =====================================================
   FESTIVAL SLIDER PRO - FRONTEND STYLES
   Glassmorphism + Responsive + Fixes + Parallax Support
===================================================== */

/* Scroll Grundeinstellung */
:root {
    --fs-header-height: 0px; /* wird gleich erklärt */
}

/* ---------------- WRAPPER ---------------- */
.fs-slider-wrapper {
    width: var(--fs-slider-width);
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* FLEXIBLE HEIGHT */
.fs-slider {
    width: 100%;
    height: auto;
    min-height: clamp(250px, 60vh, 800px);
}

/* SLIDE */
.fs-slider .swiper-slide {
    position: relative;
    display: flex;
    align-items: stretch;
}

/* IMAGE */
.fs-slide-image,
.fs-slide-image img {
    width: 100%;
    height: 100%;
}

.fs-slide-image img {
    object-fit: cover;
    display: block;
}

/* OVERLAY BASE */
.fs-overlay {
    position: absolute;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    background: rgba(255, 255, 255, 0.08); /* Glas */
    border: 1px solid rgba(255,255,255,0.2);

    color: var(--fs-overlay-color, #fff);
    padding: clamp(12px, 3vw, 30px);

    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);

    width: 100%;
    box-sizing: border-box;
}

/* bessere Lesbarkeit */
.fs-overlay h2 {
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.fs-overlay p {
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* BUTTON moderner */
.fs-btn {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);

    transition: all 0.3s ease;
}

.fs-btn:hover {
    background: rgba(255,255,255,0.35);
    transform: translateY(-2px);
}

/* LAYOUTS */

/* CENTER */
.fs-overlay.layout-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 600px;
}

/* BOTTOM FULL */
.fs-overlay.layout-bottom_full {
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

/* LEFT / RIGHT DESKTOP */
.fs-overlay.layout-bottom_left {
    bottom: 0;
    left: 0;
    width: 50%;
}

.fs-overlay.layout-bottom_right {
    bottom: 0;
    right: 0;
    width: 50%;
}

/* -----------------------
   MOBILE OPTIMIZATION
----------------------- */

@media (max-width: 767px) {

    .fs-slider {
        min-height: 250px;
    }

    .fs-overlay {
    	max-height: 70%;
    	overflow-y: auto;
    	-webkit-overflow-scrolling: touch;
    }

    .fs-overlay.layout-bottom_left,
    .fs-overlay.layout-bottom_right {
        width: 100%;
    }

    .fs-overlay.layout-center {
        width: 90%;
    }

	.swiper-button-next,
    .swiper-button-prev {
        display: none;
		pointer-events: none;
    }
	.swiper-pagination {
		background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
		padding: 10px 0;
		    position: absolute;
			bottom: 10px !important;
			left: 0;
			width: 100%;
			z-index: 5;

	}
	
}

/* -----------------------
   TABLET
----------------------- */
@media (min-width: 768px) and (max-width: 1023px) {

    .fs-overlay.layout-bottom_left,
    .fs-overlay.layout-bottom_right {
        width: 70%;
    }
}

/* -----------------------
   LARGE DESKTOP
----------------------- */
@media (min-width: 1400px) {
    .fs-slider {
        min-height: 75vh;
    }
}

	/*Fade-In Effekt*/
	.fs-lazy {
 	   opacity: 0;
   	 transition: opacity 0.5s ease;
	}

	.fs-lazy.loaded {
    	opacity: 1;
	}