/* Reset und Basisstyling */
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 */
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ff5e5e 0%, #ff9a5e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    color: white;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero-button {
    background-color: white;
    color: #ff5e5e;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: #ffe5d0;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    margin-top: 20px;
}

/* Features Section */
.features {
    padding: 60px 20px;
    background-color: white;
    text-align: center;
}

.features h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 200px;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.card p {
    font-size: 1em;
    color: #555;
}

/* Sustainability Section */
.sustainability {
    padding: 60px 20px;
    background: linear-gradient(135deg, #292b2e 0%, #414549 100%);
    color: white;
    text-align: center;
}

.sustainability h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.sustainability p {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-button {
    background-color: #ff5e5e;
    color: white;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #ff3838;
}

/* Shop Section */
.shop {
    padding: 60px 20px;
    background-color: white;
    text-align: center;
}

.shop h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.product-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.product-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 1em;
    color: #555;
}

.buy-now {
    background-color: #ff5e5e;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.buy-now:hover {
    background-color: #ff3838;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .hero-button {
        font-size: 1em;
        padding: 10px 20px;
    }

    .feature-cards,
    .product-showcase {
        grid-template-columns: 1fr; /* Stack all cards in a single column on mobile */
    }

    .features h2, .shop h2 {
        font-size: 2em;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.5em;
    }

    .hero p {
        font-size: 1.5em;
    }

    .hero-button {
        font-size: 1.2em;
        padding: 14px 40px;
    }

    .features h2, .shop h2 {
        font-size: 3em;
    }
}

/* Sustainability Section */
.sustainability3 {
    padding: 60px 20px;
    background: linear-gradient(135deg, #5f8cce 0%, #414549 100%);
    color: rgb(248, 137, 137);
    text-align: center;
}

.sustainability3 h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.sustainability3 p {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-button3 {
    background-color: #f3d1d1;
    color: rgb(255, 255, 255);
    padding: 2px 20px;
    margin-left: 1%;
    border-radius: 50px;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.cta-button3:hover {
    background-color: #01fff2;
}










.desktop-only1, .mobile-only1 {
    display: none;
}

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-only1 {
        display: block; /* Desktop-Inhalt anzeigen */
        width: 100%;
    }
    .container1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 40px;
        margin-top: -17%;
        padding-top: 10%;
    }
    
    .logo1 {
        justify-content: flex-start;
    }

    .logo1 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-only1 {
        display: block; /* Mobile-Inhalt anzeigen */
        width: 100%; /* Volle Breite nutzen */
    }
    

    .container-mobile1 {
        display: flex;
        flex-direction: column; /* Alles untereinander anordnen */
        align-items: center; /* Zentriere den Inhalt */
        padding: 5px;
    }

    .logo-mobile1 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;
    }
}




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;
    }
}

@media (min-width: 768px) {
    main {
        position: relative;
        z-index: 10;
        padding: 15px;
        color: rgb(5, 5, 5);
        text-align: center;
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }    
}

.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;
}


