body,form,figure{margin:0;padding:0}img{border:0}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font-size:100.01%}select,input,textarea{font-size:99%}#container,.inside{position:relative}#main,#left,#right{float:left;position:relative}#main{width:100%}#left{margin-left:-100%}#right{margin-right:-100%}#footer{clear:both}#main .inside{min-height:1px}.ce_gallery>ul{margin:0;padding:0;overflow:hidden;list-style:none}.ce_gallery>ul li{float:left}.ce_gallery>ul li.col_first{clear:left}.float_left{float:left}.float_right{float:right}.block{overflow:hidden}.clear,#clear{height:.1px;font-size:.1px;line-height:.1px;clear:both}.invisible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.custom{display:block}#container:after,.custom:after{content:"";display:table;clear:both}
@media (max-width:767px){#wrapper{margin:0;width:auto}#container{padding-left:0;padding-right:0}#main,#left,#right{float:none;width:auto}#left{right:0;margin-left:0}#right{margin-right:0}}img{max-width:100%;height:auto}.ie7 img{-ms-interpolation-mode:bicubic}.ie8 img{width:auto}.audio_container audio{max-width:100%}.video_container video{max-width:100%;height:auto}.responsive{position:relative;height:0}.responsive iframe{position:absolute;top:0;left:0;width:100%;height:100%}.responsive.ratio-169{padding-bottom:56.25%}.responsive.ratio-1610{padding-bottom:62.5%}.responsive.ratio-219{padding-bottom:42.8571%}.responsive.ratio-43{padding-bottom:75%}.responsive.ratio-32{padding-bottom:66.6666%}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url(../../files/fonts/./Lato/Lato-Light.ttf) format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url(../../files/fonts/./Lato/Lato-Regular.ttf) format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url(../../files/fonts/./Lato/Lato-Bold.ttf) format('woff2');
}
@font-face {
  font-family: 'Patrick Hand';
  font-style: normal;
  font-weight: 400;
  src: url(../../files/fonts/./Patrick_Hand/PatrickHand-Regular.ttf) format('woff2');
}
/* ====================================
   News Slider - Strandkorb Strande
   Angepasst für Contao 4.10.7
   ==================================== */

:root {
    /* Farben von strandkorb-strande.de */
    --primary-color: rgb(32, 60, 130);
    --primary-dark: #004d7a;
    --primary-light: #3d8fc4;
    --secondary-color: rgb(255, 165, 0);
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --overlay-gradient: linear-gradient(to bottom, rgba(0, 102, 161, 0) 0%, rgba(0, 102, 161, 0.85) 100%);
    
    /* Abstände und Größen */
    --slider-height: 500px;
    --transition-speed: 0.5s;
    --progress-duration: 5s;
}

/* ====================================
   Container & Hauptlayout
   ==================================== */

#strande-slider {
	    width: 100vw;
    margin-top: -60px;
    margin-left: calc((525px - 50vw));
}

@media (max-width: 1080px) {
	#strande-slider {
		margin-left: -40px;
	}
}

.news-slider-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.news-slider {
    position: relative;
    display: flex;
    width: 100%;
    height: var(--slider-height);
    overflow: hidden;
    background: #f5f5f5;
}

/* ====================================
   Hauptbereich (2/3)
   ==================================== */

.slider-main {
    position: relative;
    flex: 2;
    width: 66.666%;
    height: 100%;
    overflow: hidden;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease-in-out, visibility var(--transition-speed) ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: var(--overlay-gradient);
    z-index: 2;
}

.slide-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 3;
    color: var(--white);
}

.slide-date {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.slide-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Patrick Hand SC', cursive;
}

.slide-teaser {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 600px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.slide-cta {
    display: inline-block;
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
}

.slide-cta:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ====================================
   Progress Bar
   ==================================== */

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    z-index: 99;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--secondary-color);
    transition: width 0.1s linear;
}

.progress-bar.animating {
    transition: width var(--progress-duration) linear;
    width: 100%;
}

.progress-bar.paused {
    transition: none;
}

/* ====================================
   Play/Pause Button
   ==================================== */

.play-pause-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.play-pause-btn:hover {
    background: var(--white);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.play-pause-btn svg {
    color: var(--primary-color);
}

/* ====================================
   Navigation (1/3)
   ==================================== */

.slider-navigation {
    flex: 1;
    width: 33.333%;
    background: var(--primary-color);
    border-left: 2px solid var(--primary-color);
    padding: 0;
    overflow-y: auto;
}

.nav-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    padding: 10px;
    margin: 0;
    text-align: center;
    font-family: 'Patrick Hand SC', cursive;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-item {
    display: flex;
    align-items: flex-start;
    gap: 0px;
    padding: 16px;
    background: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 0px solid transparent;
}

.nav-item:hover {
    background: rgba(255, 165, 0, 0.2);
}

.nav-item.active {
    background: var(--secondary-color);
    color: var(--primary-color) !important;
    border-left-color: var(--primary-light);
    box-shadow: 0 2px 8px rgba(0, 102, 161, 0.3);
}

.nav-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    min-width: 24px;
    opacity: 0.6;
}

.nav-item.active .nav-number {
    color: var(--primary-color);
    opacity: 0.8;
}

.nav-title {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    font-family: 'Lato', sans-serif !important;
    color: #fff;
    margin: 0;
}

.nav-item.active .nav-title {
    color: var(--primary-color);
}

/* ====================================
   Mobile Navigation
   ==================================== */

.mobile-nav-toggle,
.mobile-dots {
    display: none;
}

/* ====================================
   Responsive Design
   ==================================== */

/* Tablet (unter 1024px) */
@media (max-width: 1024px) {
    :root {
        --slider-height: 450px;
    }
    
    .slide-title {
        font-size: 1.75rem;
    }
    
    .slide-content {
        bottom: 30px;
        left: 30px;
        right: 30px;
    }
    
    .slider-navigation {
        padding: 20px 15px;
    }
}

/* Mobile (unter 768px) */
@media (max-width: 768px) {
    :root {
        --slider-height: 400px;
    }
    
    .news-slider {
        flex-direction: column;
    }
    
    .slider-main {
        width: 100%;
        flex: none;
    }
    
    .slider-navigation {
        position: absolute;
        top: 0;
        right: 0;
        width: 280px;
        height: 100%;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 10;
        border-left: 2px solid var(--primary-color);
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
    }
    
    .slider-navigation.active {
        transform: translateX(0);
    }
    
    .mobile-nav-toggle {
        display: flex;
        position: absolute;
        bottom: 16px;
        left: calc(50% + 0.25em);
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        z-index: 6;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .mobile-nav-toggle:hover {
        background: var(--white);
        transform: scale(1.1);
    }
    
    .mobile-nav-toggle svg {
        color: var(--primary-color);
    }
    
    .mobile-dots {
        display: flex;
        position: absolute;
        bottom: 65px;
        left: 50%;
        transform: translateX(-50%);
        gap: 10px;
        z-index: 5;
    }
    
    .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid rgba(255, 255, 255, 0.8);
    }
    
    .dot:hover {
        background: rgba(255, 255, 255, 0.8);
        transform: scale(1.2);
    }
    
    .dot.active {
        background: var(--secondary-color);
        transform: scale(1.3);
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-teaser {
        font-size: 0.9rem;
    }
    
    .slide-content {
        bottom: 80px;
        left: 20px;
        right: 20px;
    }
    
    .play-pause-btn {
        bottom: 15px;
        right: calc(50% + 0.25em);
        width: 40px;
        height: 40px;
    }
}

/* Small Mobile (unter 480px) */
@media (max-width: 480px) {
    :root {
        --slider-height: 350px;
    }
    
    .slide-title {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }
    
    .slide-teaser {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .slide-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .slider-navigation {
        width: 260px;
    }
    
    .nav-heading {
        font-size: 1.1rem;
    }
    
    .nav-title {
        font-size: 0.85rem;
    }
}

/* ====================================
   Scrollbar Styling (Navigation)
   ==================================== */

.slider-navigation::-webkit-scrollbar {
    width: 6px;
}

.slider-navigation::-webkit-scrollbar-track {
    background: #e0e0e0;
}

.slider-navigation::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.slider-navigation::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ====================================
   Accessibility
   ==================================== */

.slide-cta:focus,
.nav-item:focus,
.play-pause-btn:focus,
.mobile-nav-toggle:focus,
.dot:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .slide,
    .nav-item,
    .slide-cta,
    .progress-bar,
    .play-pause-btn {
        transition: none;
    }
}

/* ====================================
   Contao-spezifische Anpassungen
   ==================================== */

/* Falls das Modul in einem Wrapper ist */
.mod_newslist_slider .news-slider-container {
    margin: 0;
}

/* Screen-Reader-Only Klasse */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

