body, html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    max-width: 100%;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body.video-playing main,
body.video-playing header,
body.video-playing footer {
    display: none; /* Blendet den Inhalt aus, solange das Video läuft */
}

.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;
    }
}

.stardbild {
    width: 100%;
    height: auto;
    margin-top: 0%;
    margin-bottom: 10%;
}

main {
    padding: 15px; /* Weniger Padding für mehr Platz auf kleineren Bildschirmen */
    max-width: 100%; /* Volle Breite für kleinere Bildschirme */
    margin: 0 auto;
}

.hero {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
}

.hero h1 {
    font-size: 2em; /* Schriftgröße reduziert */
    margin-bottom: 10px;
}

.hero p {
    font-size: 1em; /* Schriftgröße reduziert */
    margin-bottom: 20px;
}

.hero .btn {
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.about-us {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap; /* Wrap aktiviert für mobile Geräte */
    width: 100%;
}

.about-us img {
    max-width: 100%; /* Volle Breite für mobile Geräte */
    margin-bottom: 20px; /* Abstand hinzugefügt für mobile Geräte */
}

.about-text {
    max-width: 100%; /* Volle Breite für mobile Geräte */
}

.about-text h2 {
    font-size: 1.8em; /* Schriftgröße leicht reduziert */
    margin-bottom: 10px;
}

.about-text .btn {
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.styles, .popular-products, .customer-reviews {
    margin-bottom: 30px;
    width: 100%;
}

.styles-grid, .products-grid, .reviews-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}

.style-item, .product-item, .review-item {
    flex: 1 1 calc(50% - 15px); /* Breitere Elemente für mobile Geräte */
    box-sizing: border-box;
    text-align: center;
}

.review-item {
    flex: 1 1 calc(50% - 15px); /* Gleiche Anpassung für Reviews */
}

.review-item p {
    margin-bottom: 10px;
}

.review-item p:last-child {
    font-size: 1.2em; /* Schriftgröße leicht reduziert */
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.newsletter-signup {
    background-image: url('bilder/header-hintergrundbild.webp');
    background-size: cover;
    background-position: center;
    padding: 40px 15px; /* Weniger Padding für mobile Geräte */
    text-align: center;
    color: white;
    width: 100%;
}

.newsletter-signup h2 {
    font-size: 1.8em; /* Schriftgröße leicht reduziert */
    margin-bottom: 20px;
}

.newsletter-signup form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.newsletter-signup input[type="email"] {
    padding: 10px;
    width: 100%; /* Volle Breite für mobile Geräte */
    max-width: 300px;
    border-radius: 5px;
    border: none;
}

.newsletter-signup button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.newsletter-signup button:hover {
    background-color: #0056b3;
}

/* Galerie-Bereich */
.gallery {
    padding: 30px 15px; /* Weniger Padding für mobile Geräte */
    background-color: #f8f9fa;
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Flexibles Layout für mobile Geräte */
    gap: 10px;
    width: 100%;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Kontaktformular-Bereich */
.contact-form {
    padding: 30px 15px; /* Weniger Padding für mobile Geräte */
    display: flex;
    flex-direction: column; /* Spaltenlayout für mobile Geräte */
    gap: 20px;
    width: 100%;
}

.contact-info {
    max-width: 100%; /* Volle Breite für mobile Geräte */
    text-align: center; /* Zentrierte Texte */
}

.contact-info h2 {
    font-size: 1.8em; /* Schriftgröße leicht reduziert */
    margin-bottom: 10px;
}

.contact-info p, .contact-info a {
    font-size: 1em; /* Schriftgröße leicht reduziert */
    color: #333;
}

.social-icons a {
    margin-right: 10px;
    color: #333;
    font-size: 1.5em;
    text-decoration: none;
}

.contact-form form {
    width: 100%; /* Volle Breite für mobile Geräte */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
}

.contact-form button {
    padding: 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
}

.contact-form button:hover {
    background-color: #0056b3;
}

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%;
}


.styles-grid a{
    text-decoration: none;
    color: black;
}


.products-grid a{
    text-decoration: none;
    color: black;
}


.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-overlay.hidden ~ main,
.video-overlay.hidden ~ header,
.video-overlay.hidden ~ footer {
    display: block;
}

.video-overlay video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

main {
    position: relative;
    z-index: 10;
    padding: 15px;
    color: rgb(5, 5, 5);
    text-align: center;
    width: 100%;
}


/* 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;
}
