body, html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: Arial, sans-serif;
    box-sizing: border-box; /* Für bessere Kontrolle über Padding und Margin */
}

.desktop-only, .mobile-only {
    display: none;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

header {
    background-image: url('bilder/header-hintergrundbild.webp');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    width: 100%;
}



/* Für Desktop anzeigen (Bildschirmbreite über 768px) */
@media (min-width: 769px) {
    .desktop-only {
        display: block; /* Desktop-Inhalt anzeigen */
        width: 100%;
    }
    .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 40px;
        margin-top: -17%;
        padding-top: 10%;
    }
    
    .logo {
        justify-content: flex-start;
    }

    .logo img {
        height: 416px;
        max-width: 100%;
        margin-left: -30%;
    }
    
    nav {
        justify-content: flex-end;
    }
    
    nav ul {
        list-style: none;
        display: flex;
        gap: 30px;
        padding: 0;
        margin: 0;
    }
    
    nav ul li a {
        text-decoration: none;
        color: rgba(255, 255, 255, 0.966);
        box-shadow: #ffffff;
        font-size: 18px;
        font-weight: bold;
    }
    
    nav ul li a:hover {
        color: gray;
    }
}

/* Für Mobilgeräte anzeigen (Bildschirmbreite bis 768px) */
@media (max-width: 768px) {
    .mobile-only {
        display: block; /* Mobile-Inhalt anzeigen */
        width: 100%; /* Volle Breite nutzen */
    }
    

    .container-mobile {
        display: flex;
        flex-direction: column; /* Alles untereinander anordnen */
        align-items: center; /* Zentriere den Inhalt */
        padding: 5px;
    }

    .logo-mobile img {
        width: 500px; /* Passe die Logo-Größe an */
        margin-top: -20%;
        margin-bottom: -60px; /* Abstand unter dem Logo */
    }

    nav ul {
        list-style: none; /* Entfernt Aufzählungszeichen */
        padding: 0;
        margin: 0;
        text-align: center; /* Text zentrieren */
    }

    nav ul li {
        margin: 15px 0; /* Abstand zwischen den Links */
    }

    nav ul li a {
        text-decoration: none;
        color: rgb(255, 255, 255);
        font-size: 25px; /* Schriftgröße anpassen */
        font-weight: bold;
    }

    nav ul li a:hover {
        color: gray;
    }

}

/* Allgemeine Einstellungen */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    max-width: 100%; /* Maximale Breite auf 100% des Bildschirms begrenzt */
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

/* Legal Disclosure Section Styling */
.legal-disclosure {
    background-color: #fff;
    padding: 30px 20px; /* Weniger Padding für mobile Geräte */
    max-width: 100%; /* Maximale Breite auf 100% begrenzt */
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

.legal-disclosure h1 {
    font-size: 2.4em; /* Schriftgröße leicht reduziert */
    margin-bottom: 20px;
    text-align: center;
    color: #222;
    letter-spacing: 1px;
    font-weight: 600;
}

.legal-disclosure h2 {
    font-size: 1.6em; /* Schriftgröße leicht reduziert */
    margin-top: 20px;
    margin-bottom: 15px;
    color: #007bff;
    border-bottom: 2px solid #007bff;
    display: inline-block;
    padding-bottom: 5px;
}

.legal-disclosure p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #555;
}

.legal-disclosure a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-disclosure a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.legal-disclosure .company-details,
.legal-disclosure .mailing-address,
.legal-disclosure .contact-information,
.legal-disclosure .disclaimer,
.legal-disclosure .privacy-policy-link,
.legal-disclosure .terms-of-service,
.legal-disclosure .intellectual-property {
    margin-bottom: 20px;
}

.legal-disclosure address {
    font-style: normal;
    line-height: 1.6;
    font-size: 1.1em;
    color: #555;
}

.legal-disclosure address::before {
    content: "📍";
    margin-right: 5px;
    color: #007bff;
}

footer {
    background-image: url('bilder/header-hintergrundbild.webp');
    background-size: cover;
    background-position: center;
    padding: 30px 15px; /* Weniger Padding für mobile Geräte */
    color: #000000;
    display: flex;
    flex-direction: column; /* Spaltenlayout für mobile Geräte */
    align-items: center;
    gap: 20px;
    width: 100%;
}

.footer-container {
    display: flex;
    flex-direction: column; /* Spaltenlayout für mobile Geräte */
    align-items: center;
    gap: 20px;
    width: 100%;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -6%;
}

.footer-left h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.social-icons a {
    margin-right: 10px;
    color: #000000;
    font-size: 18px;
    text-decoration: none;
}

.footer-right {
    display: flex;
    flex-direction: column; /* Spaltenlayout für mobile Geräte */
    align-items: center;
    width: 100%;
}

.footer-links, .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentrierte Inhalte */
    text-align: center; /* Zentrierte Texte */
}

.footer-links a {
    color: #000000;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 5px;
}

.footer-contact p, .footer-contact a {
    margin: 5px 0;
    text-decoration: none;
    color: #000000;
    font-weight: 400;
    font-size: 1em;
    line-height: 50%;
}

footer a:hover {
    text-decoration: underline;
}

/* Media Queries für Desktop und größere Bildschirme */
@media (min-width: 768px) {
    .container {
        padding: 0 50px;
    }

    main {
        max-width: 1200px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .newsletter-signup {
        padding: 60px 20px;
    }

    .gallery {
        padding: 40px 20px;
    }

    .contact-form {
        padding: 40px 20px;
        flex-direction: row;
    }

    .contact-info, .contact-form form {
        width: 50%;
    }

    footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-right {
        flex-direction: row;
        justify-content: space-between;
        width: 200px;
    }

    .footer-links, .footer-contact {
        align-items: flex-end;
        text-align: right;
    }
}

.flag-links{
    display: flex;
    justify-content: space-between;
    padding-right: 1%;
}

/* Dropdown-Menu Style */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu li {
    padding: 10px;
}

.dropdown-menu li a {
    text-decoration: none;
    color: black;
    display: block;
}

.dropdown:hover .dropdown-menu {
    display: block;
}



/* Verstecke das Dropdown-Menü standardmäßig */
#mobile-language-menu {
    display: none;
    list-style: none;
    background-color: white;
    padding: 10px;
    border: 1px solid #ccc;
    position: relative; /* Im mobilen Modus positioniert */
}

/* Zeige das Dropdown-Menü an, wenn es aktiv ist */
#mobile-language-menu.active {
    display: block;
}

.dropdown-menu li {
    padding: 10px 0;
}

.dropdown-menu li a {
    text-decoration: none;
    color: black;
}

/* Desktop Styles (falls du das für den Desktop-Dropdown brauchst) */
.desktop-only .dropdown:hover .dropdown-menu {
    display: block;
}
