/* Content */

.generell {
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    text-align: center;
}
.generell-content{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}



/* Carousel */

.slider-wrapper{
    position: relative;
    max-width: 50vw;
    margin: 0 auto;
}
.slider{
    display: flex;
    aspect-ratio: 16 / 9;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    border-radius: 0.5rem;
}
.slider img{
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
    transition: transform 0.5s ease; 
    width: 100%;
    height: auto;
}
.slider-nav{
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    transition: opacity 0.5s ease;
}
.slider-nav a{
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.75;
    transition: opacity ease 250ms;
}
.slider-nav a:hover{
    opacity: 1;
}
.slider-nav a.active{
    opacity: 1;
}

@media screen and (max-width: 780px) {
    .slider-wrapper{
        max-width: 60vw;
    }
    .slider{
        aspect-ratio: 4 / 3;
    }
    
}
@media screen and (max-width: 620px) {
    .slider-wrapper{
        max-width: 70vw;
    }
    
}
@media screen and (max-width: 470px) {
    .slider-wrapper{
        max-width: 80vw;
    }
    
} 

/* Carousel end */ 


/* Info */
.info{
    margin-top: 2rem;
    display: flex;
    flex-direction: column-reverse;
    max-width: 100vw;
    justify-content: start;
    align-items: center;
    gap: 0.8rem;
}
.info-ozeiten{
    display: flex;
    flex-shrink: 1;
    background: #081f37;
    flex-direction: column;
}
.info-text{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem;
    width: 70vw;
}
.info-text p{
    text-align: center;
}
.info-ozeiten p{
    color: #fff;
    padding: 0.8rem;
    text-align: center;
}
.info-ozeiten table {
    width: 100%;
    border-collapse: collapse;
}

.info-ozeiten th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    color: #fff;
}

.info-ozeiten td {
    background-color: #2e79ba;
}

 @media (max-width: 1400px) {
    .info-text {
        width: 90vw;
    }

} 

/* Aktuelles */
#aktuelles{
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    

}
#blog-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
h2.t-size-h3 {
    color: #1e549f; 
    font-size: 2em;  
}

.blog-post {
    background-color: #fff; 
    padding: 10px; 
    border-radius: 8px; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); 
    transition: transform 0.2s; 
    margin: 1rem;
    min-width: 100%;
}

.blog-post:hover {
    transform: scale(1.02); 
}

.blog-post h3 {
    color: #2e79ba; 
    margin: 0; 
}

.blog-post p {
    color: #333333; 
    margin: 5px 0; 
}

.date {
    font-size: 0.9em; 
    color: #081f37;
    margin-top: 10px; 
}

.team-img{
    max-width: 90%;
    height: auto;
    margin-top: 10px
}