body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4; /* Grundfarbe */
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #59b77e; /* Ein Grünton, passend zum Thema */
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header .container {
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin: 0;
    font-size: 1.8em;
    font-weight: 700;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #e2e6ea;
}

.section {
    padding: 100px 0 60px; /* Mehr Platz oben wegen fixed header */
    opacity: 0; /* Standardmäßig unsichtbar für Fade-in */
    transform: translateY(150px); /* Leichte Startposition für Animation */
    transition: opacity 0.8s ease-out, transform 0.01s ease-out;
    background-color: #fff; /* Hintergrundfarbe für Standard-Sektionen */
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Spezifische Regel für die erste Sektion ohne Animation und mit Standard Hintergrund */
#ueber-uns {
    opacity: 1;
    transform: translateY(0);
    padding-top: 100px; /* Sicherstellen, dass genug Platz unter dem Header ist */
    background-color: #f4f4f4; /* Kann hier eine andere Farbe als weiß haben */
}

/* Hintergrundfarbe für abwechselnde Sektionen */
.light-section {
    background-color: #e9ecef;
}


h2 {
    color: #28a745;
    margin-bottom: 40px;
    font-size: 2em;
}

.product-content {
    display: flex;
    flex-direction: column; /* Standard: Bild oben, Text unten auf kleinen Screens */
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

/* Auf größeren Bildschirmen: Standard = Bild links, Text rechts */
@media (min-width: 768px) {
    .product-content {
        flex-direction: row;
        text-align: left;
    }

    /* Auf größeren Bildschirmen: Reverse = Bild rechts, Text links */
    .product-content.reverse {
        flex-direction: row-reverse;
    }
}


.product-image {
    flex: 1;
    display: flex;
    flex-direction: column; /* Bilder immer untereinander auf allen Screens innerhalb des Bildcontainers */
    align-items: center;
    gap: 15px;
}

.product-image img {
    max-width: 100%; /* Bilder füllen den verfügbaren Platz aus */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Auf größeren Bildschirmen: Wenn es mehrere Bilder gibt, können sie nebeneinander sein,
   aber die äußere product-image Flexbox sorgt dafür, dass sie bei Bedarf umbrechen oder skalieren */
/* Die Regel unten sorgt dafür, dass die Bilder innerhalb des product-image Containers
   nebeneinander angezeigt werden KÖNNEN, wenn Platz ist. */
@media (min-width: 768px) {
     .product-image {
        flex-direction: row; /* Bilder nebeneinander auf größeren Screens */
        justify-content: center;
        flex-wrap: wrap; /* Ermöglicht Umbruch, falls viele Bilder */
     }
     .product-image img {
         /* Hier kannst du steuern, wie viel Platz ein einzelnes Bild einnimmt.
            Z.B. 48% für zwei Bilder nebeneinander mit etwas Abstand. */
         width: 48%;
         max-width: 100%; /* Begrenzt die maximale Breite */
     }
}


.product-description {
    flex: 1;
}

.product-description ul {
    list-style: disc;
    margin-left: 20px;
    text-align: left;
}

.product-description li {
    margin-bottom: 10px;
}


.btn {
    display: inline-block;
    background-color: #59b77e;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #218838;
}

.impressum-content,
.datenschutz-content {
    text-align: left!important;
    margin-top: 30px;
    padding: 0 20px;
}

footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s, text-decoration 0.3s;
}
footer a:hover {
    color: #59b77e;
    text-decoration: underline;
}

/* Responsive Design für kleinere Bildschirme */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 10px;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }

    /* Produktinhalte immer untereinander auf kleinen Screens */
    .product-content,
    .product-content.reverse {
        flex-direction: column;
    }

    /* Bilder im Produktcontainer immer untereinander auf kleinen Screens */
     .product-image {
        flex-direction: column;
     }
     .product-image img {
        width: 100%; /* Bilder nehmen volle Breite ein */
        max-width: 100%; /* Bilder dürfen auf Mobil die volle Breite einnehmen */
     }
}