/* Sektion: Bilder */
.bilder {
    display: flex;
    justify-content: space-between;
    margin: 0;
}

.sektionsüberschrift-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    width: 30%;
    font-family: 'Monteserrat', sans-serif;
    font-size: 3em;
    text-align: justify; /* Blocksatz */
    word-wrap: break-word;  
    padding: 30px; 
}

.sektionsüberschrift-1 h2 {
    margin: 0;
}

.thumbnail-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 35px;
    gap: 10px;  
}

/* Sektion: Bilder -> Thumbnail Styling */
.thumbnail {
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
    height: auto;
    width: 60px;
    border: 1px solid #b3b3b3;
    border-radius: 4px;
}

.thumbnail:hover {
    opacity: 1;
}

.slideshow {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    width: 70%;
    padding: 30px;  
    margin-right: 15px;  
}

.slideshow-bilder {
    border: 1px solid #b3b3b3;
    border-radius: 15px;
}

.slide {
    display: none;
}

.fade {
    animation-name: fade;
    animation-duration: 1.0s;
}

@keyframes fade {
    from {opacity: .5}
    to {opacity: 1}
}

/* Sektion: Bilder -> Slideshow Button Design */
.prev, .next {
    position: absolute;
    top: 50%;
    cursor: pointer;
    width: auto;
    padding: 15px;
    color: black;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    transition: 0.6s ease;
    user-select: none;
}

.next {
    right: 0;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: #F5F5F5;
}

/* Sektion: Raumbeschreibung */
.raumbeschreibung {
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
}

.beschreibungstext {
    background-color: #F5F5F5;
    border: 1px solid #b3b3b3;
    border-radius: 15px;
    height: auto;
    width: 60%;
    padding: 30px;
    text-align: justify;
    margin-left: 50px;
}

.beschreibungstext p {
    font-size: larger;
    padding: 10px;
}

.beschreibungstext a {
    text-decoration: underline;
}

.beschreibungstext a:hover {
    color: #DBD7D4;
}

.highlight-beschreibung {
    font-weight: bold;
}

.sektionsüberschrift-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    width: 40%;
    font-family: 'Monteserrat', sans-serif;
    font-size: 3em;
    text-align: justify;
    padding: 30px;
}

.sektionsüberschrift-2 h2 {
    margin: 0;
}

/* Sektion: Anfahrt */
.anfahrt {
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
}

.sektionsüberschrift-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    width: 40%;
    font-family: 'Monteserrat', sans-serif;
    font-size: 3em;
    text-align: justify;  
    padding: 30px; 
}

.sektionsüberschrift-3 h2 {
    margin: 0;
}

.maps-integration {
    height: 450px;
    width: 60%;
    padding: 30px;
    margin-right: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.maps-integration img {
    border: 1px solid #b3b3b3;
    border-radius: 15px;
}

/* Mobile Styles (für Bildschirme mit einer Breite bis zu 600px) */
@media (max-width: 600px) {
    /* Sektion: Bilder */
    .bilder {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .sektionsüberschrift-1 {
        width: 80%;
        margin-top: 30px;
        padding: 0px;
    }

    .thumbnail-container {
        display: none;
    }

    .slideshow {
        width: 95%;
        padding: 0px;
        margin-top: 50px;
        margin-right: 0px; 
    }

    /* Sektion: Bilder -> Slideshow Button Design */
    .prev, .next {
        top: 37%;
        padding: 5px;
        font-weight: normal;
        font-size: 30px;
    }

    /* Sektion: Raumbeschreibung */
    .raumbeschreibung {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        margin-top: 80px;
    }

    .beschreibungstext {
        width: 85%;
        padding: 15px;
        margin-left: 0px;
        text-align: unset;
        margin-top: 50px;
    }

    .beschreibungstext p {
        font-size: large;
        padding: 5px;
    }

    .sektionsüberschrift-2 {
        width: 80%;
        padding: 0px;
    }

    /* Sektion: Anfahrt */
    .anfahrt {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 80px;
    }

    .sektionsüberschrift-3 {
        width: 80%;
        padding: 0px; 
    }

    .maps-integration {
        height: 300px;
        width: 95%;
        padding: 0px;
        margin-right: 0px;
        margin-top: 50px;
        margin-bottom: 40px;
    }
}

/* Mobile Styles (für Bildschirme mit einer Breite von 601px bis zu 1080px) */
@media (min-width: 601px) and (max-width: 1080px) {
    /* Sektion: Bilder */
    .bilder {
        flex-direction: column;
        align-items: center;
        justify-content: center;        
    }

    .sektionsüberschrift-1 {
        width: 80%;
        margin-top: 30px;
        padding: 0px;
     }

    .thumbnail-container {
        margin-top: 30px;
        gap: 20px;  
     }
        
     /* Sektion: Bilder -> Thumbnail Styling */
    .thumbnail {
        width: 80px;
    }
    
    .slideshow {
        width: 95%;
        padding: 0px;
        margin-top: 50px;
        margin-right: 0px; 
    }
    
    /* Sektion: Bilder -> Slideshow Button Design */
    .prev, .next {
        top: 42%;
        padding: 10px;
        font-weight: bold;
        font-size: 35px;
    }
    
    /* Sektion: Raumbeschreibung */
    .raumbeschreibung {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        margin-top: 80px;
    }
    
    .beschreibungstext {
        width: 90%;
        padding: 15px;
        margin-left: 0px;
        margin-top: 50px;
    }
    
    .beschreibungstext p {
        font-size: larger;
        padding: 5px;
    }
    
    .sektionsüberschrift-2 {
        width: 80%;
        padding: 0px;
    }
    
    /* Sektion: Anfahrt */
    .anfahrt {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 80px;
    }
    
    .sektionsüberschrift-3 {
        width: 80%;
        padding: 0px; 
    }
    
    .maps-integration {
        height: 400px;
        width: 95%;
        padding: 0px;
        margin-right: 0px;
        margin-top: 50px;
        margin-bottom: 40px;
    }
}