body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    background-color: #e9f3f5;
    text-align: center;
}

header {
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1em 2em;
    position: absolute;
    top: 0;
    z-index: 2;
}

nav a.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1em;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

.slideshow-container img {
    width: 100%;
    height: 600px;
    display: none;
    object-fit: cover;
}

.slideshow-container img.active {
    display: block;
}

.thumbnail-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.thumbnail-container img {
    width: 100px;
    height: auto;
    cursor: pointer;
    opacity: 0.6;
}

.thumbnail-container img.active {
    opacity: 1;
}

.hero {
    z-index: 2;
    position: relative;
    margin-top: -200px;
}

.hero h1 {
    font-size: 3em;
    margin: 0.5em 0;
}

.hero p {
    font-size: 1.2em;
}

.hero .btn {
    display: inline-block;
    padding: 0.5em 1.5em;
    background: white;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1em;
    font-weight: bold;
}

.hero .btn:hover {
    background-color: black;
    color: white;
}

main {
    padding: 2em 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    margin-bottom: 1em;
    font-size: 2em;
    color: #007BFF;
}

.gallery .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1em;
    margin-top: 2em;
}

.gallery img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
}

#lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    text-align: center;
}

#lightbox img {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    margin-top: 5%;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1em 0;
}

.features, .location, .comfort {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    margin: 20px 0;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.features ul, .location ul, .comfort ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
}

.features li, .location li, .comfort li {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.features li i, .location li i, .comfort li i {
    margin-right: 10px;
    font-size: 1.5em;
    color: #007BFF;
}

.comfort h3 {
    text-align: left;
    margin-top: 20px;
    text-decoration: underline;
}

.hidden-content {
    display: none;
}

.show-more {
    cursor: pointer;
    color: black;
    background-color: white;
    border: 1px solid black;
    border-radius: 5px;
    padding: 0.5em 1em;
    text-decoration: none;
    display: inline-block;
    margin-top: 1em;
}

.show-more:hover {
    background-color: black;
    color: white;
}

.map {
    margin-top: 20px;
}

.map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
}

.booking-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em;
    margin-top: 2em;
}

.booking-link {
    background-color: white;
    border-radius: 10px;
    padding: 1em;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.booking-link.ostseeliebe {
    background-color: #d4f5d2;
    border: 2px solid #4CAF50;
}

.booking-link .btn {
    background-color: #007BFF;
    color: white;
    padding: 0.5em 1em;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5em;
}

.booking-link .btn:hover {
    background-color: rgba(0, 123, 255, 0.8);
}

.booking-link p {
    margin: 0;
    font-size: 0.9em;
    color: #333;
}

@media (max-width: 768px) {
    header {
        height: auto;
        padding: 20px 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5em;
    }

    .hero {
        margin-top: 0;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .slideshow-container img {
        height: 300px; /* Kleinere Höhe für das Hauptbild */
    }

    .thumbnail-container img {
        width: 50px;
    }

    .container {
        width: 100%;
        padding: 0 10px;
    }

    .features ul, .location ul, .comfort ul {
        grid-template-columns: 1fr; /* Einspaltiges Layout */
    }

    .gallery .grid {
        grid-template-columns: 1fr; /* Einspaltiges Layout */
    }

    .booking-links {
        flex-direction: column;
        gap: 1em;
    }

    .booking-link {
        min-width: 100%;
    }

    .map iframe {
        height: 300px; /* Kleinere Höhe für die Karte */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5em;
    }

    .hero p {
        font-size: 0.9em;
    }

    .hero .btn {
        padding: 0.3em 1em;
        font-size: 0.9em;
    }

    .features li i, .location li i, .comfort li i {
        font-size: 1.2em;
    }

    .show-more {
        padding: 0.3em 1em;
        font-size: 0.9em;
    }
}

.activities .activity {
    cursor: pointer;
    padding: 10px;
    background: #f4f4f4;
    margin: 10px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.activities .activity:hover {
    background: #e0e0e0;
}

.activities .activity h3 {
    margin: 0;
    font-size: 1.5em;
    color: #007BFF;
}

.activities .activity-content {
    display: none;
    text-align: left;
    margin-top: 10px;
}

.activities .activity-content p {
    margin: 10px 0;
}

.activities .activity-content a {
    display: inline-block;
    margin: 10px 0;
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.activities .activity-content a:hover {
    text-decoration: underline;
}

.activities .activity-content img {
    width: 25%;
    height: auto;
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* Stilierung für den Anfrage-Button-Container */
.btn-wrapper {
    display: flex;
    justify-content: center; /* Button zentriert */
    align-items: center;
    margin-top: -30px; /* Kleinerer Abstand nach oben */
    margin-bottom: 30px; /* Abstand zum folgenden Abschnitt */
}

/* Stilierung für den Anfrage-Button-Container */
.btn-wrapper {
    display: flex;
    justify-content: center; /* Button zentriert */
    align-items: center;
    margin-top: 50px; /* Größerer Abstand nach oben */
    margin-bottom: 30px; /* Abstand zum folgenden Abschnitt */
}

/* Anfrage-Button-Stil */
.btn-request {
    display: inline-block;
    padding: 20px 50px; /* Größerer Button */
    background: #007BFF; /* Blaue Hintergrundfarbe passend zur Website */
    color: white;
    text-decoration: none;
    font-size: 1.4em; /* Größerer Text */
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3); /* Leichtes blaues Shadow */
    transition: all 0.3s ease-in-out;
}

.btn-request:hover {
    background: #0056b3; /* Hellerer Blauton beim Hover */
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.4); /* Stärkerer Shadow beim Hover */
    transform: translateY(-3px);
}

/* Anpassung für kleinere Bildschirme */
@media (max-width: 768px) {
    .btn-wrapper {
        margin-top: 50px; /* Größerer Abstand auf mobilen Geräten */
    }

    .btn-request {
        padding: 15px 40px; /* Etwas kleinerer Button auf mobilen Geräten */
        font-size: 1.2em;
    }
}
/* Neuer Buchungswebsite-Button */
.btn-booking {
    display: inline-block;
    padding: 20px 50px; /* Größe des Buttons */
    background: #28a745; /* Grüne Hintergrundfarbe für Buchung */
    color: white;
    text-decoration: none;
    font-size: 1.4em;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3); /* Grüne Schattenfarbe */
    transition: all 0.3s ease-in-out;
}

.btn-booking:hover {
    background: #218838; /* Helleres Grün beim Hover */
    box-shadow: 0 6px 18px rgba(40, 167, 69, 0.4);
    transform: translateY(-3px);
}

/* Anpassung für kleinere Bildschirme */
@media (max-width: 768px) {
    .btn-wrapper {
        margin-top: 20px; /* Weniger Abstand auf mobilen Geräten */
    }

    .btn-request, .btn-booking {
        padding: 15px 40px; /* Kleinere Buttons */
        font-size: 1.2em;
    }
}
/* Sicherstellen, dass die Buttons auf allen Geräten sichtbar sind */
.btn-request, .btn-booking {
    display: inline-block; /* Sorgt dafür, dass die Buttons immer als Block angezeigt werden */
}

/* Zusätzliche Media-Query für Desktop */
@media (min-width: 769px) {
    .btn-request, .btn-booking {
        display: inline-block; /* Auch auf größeren Bildschirmen anzeigen */
    }
}
/* Optimierung für kleine Bildschirme (Smartphones) */
@media (max-width: 480px) {
    /* Anpassung der Navigation */
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    /* Header-Anpassungen */
    header {
        height: auto; /* Header-Höhe reduziert */
        padding: 20px 0;
    }

    .hero h1 {
        font-size: 1.3em; /* Kleinere Schriftgröße */
    }

    .hero p {
        font-size: 0.85em;
        margin: 10px 0; /* Kleinere Abstände */
    }

    .hero .btn {
        padding: 0.4em 1em; /* Kleinere Buttons */
        font-size: 0.9em;
    }

    /* Container-Anpassung */
    .container {
        width: 95%; /* Kleinere Ränder für mobile Ansicht */
        padding: 0 5px;
    }

    /* Slider-Anpassungen */
    .slideshow-container img {
        height: 200px; /* Geringere Bildhöhe für mobile Ansicht */
    }

    /* Thumbnails */
    .thumbnail-container img {
        width: 40px; /* Kleinere Vorschaubilder */
    }

    /* Inhaltsbereiche */
    .features, .location, .comfort {
        width: 95%; /* Breite für mobile Ansicht angepasst */
        padding: 15px;
        margin: 10px auto; /* Weniger Rand außen */
    }

    /* Button-Größenanpassung */
    .btn-request, .btn-booking {
        padding: 12px 35px; /* Kleinere Buttons */
        font-size: 1.1em; /* Textgröße angepasst */
    }

    .btn-wrapper {
        margin-top: 30px; /* Weniger Abstand auf mobilen Geräten */
    }

    /* Galerie und Karte */
    .gallery .grid, .features ul, .location ul, .comfort ul {
        grid-template-columns: 1fr; /* Einspaltiges Layout */
    }

    .map iframe {
        height: 250px; /* Kleinere Kartengröße */
    }

    /* Optimierung für Aktivitätsbilder */
    .activities .activity-content img {
        width: 20%; /* Kleinere Bildgröße in Aktivitäten */
    }
}

/* Verbesserte Ansicht für Tablets */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8em; /* Kleinere Schriftgröße */
    }

    .hero p {
        font-size: 1em; /* Textgröße angepasst */
    }

    .hero .btn {
        padding: 0.5em 1.2em; /* Kleinere Buttons */
        font-size: 1em; /* Textgröße angepasst */
    }

    /* Inhalte */
    .container {
        width: 100%; /* Volle Breite für Tablets */
    }

    /* Slider-Anpassung */
    .slideshow-container img {
        height: 300px; /* Kleinere Bildhöhe */
    }

    /* Buchungslinks */
    .booking-link {
        min-width: 100%; /* Volle Breite */
    }
}
/* Mobile Navigation Anpassung */
@media (max-width: 768px) {
    nav ul {
        display: none; /* Menü ausblenden */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        width: 100%;
        padding: 1em 0;
        z-index: 1000;
    }

    nav ul.show {
        display: flex; /* Menü einblenden bei Klick */
    }

    nav ul li {
        margin: 0.5em 0;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 1.8em;
        position: absolute;
        top: 20px;
        right: 20px;
        color: white;
        z-index: 1001;
    }
}

/* Kleinere Buchungs-Buttons unter "Jetzt buchen" */
@media (max-width: 768px) {
    .booking-link .btn {
        padding: 0.4em 0.8em; /* Kleinere Buttons */
        font-size: 1em;
    }

    .booking-link {
        padding: 0.5em; /* Weniger Innenabstand */
        margin: 0.5em 0; /* Weniger Abstand zwischen den Links */
    }
}
.menu-toggle {
    background-color: #007BFF; /* Hintergrundfarbe des Menü-Buttons */
    color: white; /* Textfarbe des Buttons */
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: none; /* Der Menü-Button ist nur auf mobilen Geräten sichtbar */
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Zeige den Button nur auf kleinen Bildschirmen */
    }

    nav ul {
        display: none; /* Standardmäßig das Menü ausblenden */
        flex-direction: column;
        position: absolute;
        top: 50px; /* Position des Menüs */
        left: 0;
        width: 100%;
        z-index: 1;
        background-color: white; /* Weißer Hintergrund nach dem Aufklappen */
        border-top: 2px solid #ddd; /* Optionale Grenze oben */
        color: black; /* Schwarzer Text */
        transition: all 0.3s ease-in-out; /* Übergangsanimation */
    }

    nav ul.show {
        display: flex; /* Zeige das Menü an */
        animation: slideIn 0.3s ease-in-out; /* Animation beim Einblenden */
    }

    nav ul li a {
        color: black; /* Schwarze Schrift für die Menüpunkte */
        padding: 15px 20px; /* Abstände der Menüpunkte */
        text-align: left; /* Links im Menü linksbündig anzeigen */
    }

    nav ul li a:hover {
        background-color: #007BFF; /* Blaue Farbe beim Hover */
        color: white; /* Weiße Schrift beim Hover */
    }
}

/* Slide-In Animation */
@keyframes slideIn {
    from {
        opacity: 0; /* Startet unsichtbar */
        transform: translateY(-20px); /* Startet etwas nach oben verschoben */
    }
    to {
        opacity: 1; /* Sichtbar */
        transform: translateY(0); /* Endposition */
    }
}
