/* --- Globale Resets & Basis-Styling --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333333;
    /* Dunkelgrau/Schwarz für Text */
    background-color: #ffffff;
    /* Weißer Hintergrund */
}

/* --- Container für zentrierten Inhalt --- */
.container {
    max-width: 1140px;
    /* Maximale Breite */
    margin: 0 auto;
    /* Zentrierung */
    padding: 0 20px;
    /* Innenabstand links/rechts */
}

/* --- Links --- */
a {
    color: #70B584;
    /* Grün aus dem Logo */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #333333;
    /* Dunkler bei Hover */
    text-decoration: underline;
}

/* --- Bilder --- */
img {
    max-width: 100%;
    /* Responsive Bilder */
    height: auto;
    display: block;
    /* Verhindert unerwünschten Leerraum unter Bildern */
}

/* --- Header --- */
.site-header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #eeeeee;
    /* Dezente Trennlinie */
}

.site-header .container {
    display: flex;
    flex-direction: column;
    /* Standard: Logo über Navi auf kleinen Screens */
    align-items: center;
    justify-content: space-between;
}

#header-logo {
    max-width: 280px;
    /* Größe des Logos anpassen */
    margin-bottom: 15px;
    /* Abstand zum Menü auf kleinen Screens */
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    /* Umbruch bei Bedarf */
    justify-content: center;
    gap: 10px 20px;
    /* Abstand zwischen den Menüpunkten (vertikal horizontal) */
}

.main-navigation a {
    color: #333333;
    font-weight: bold;
    padding: 8px 12px;
    display: block;
    /* Bessere Klickfläche */
    border-radius: 4px;
    /* Leichte Abrundung */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: #ffffff;
    /* Weißer Text bei Hover/Aktiv */
    background-color: #70B584;
    /* Grüner Hintergrund */
    text-decoration: none;
}

/* --- Main Content --- */
.site-main {
    padding: 40px 0;
    /* Abstand oben/unten */
}

.content-section {
    margin-bottom: 40px;
    /* Abstand zwischen den Abschnitten */
    padding-bottom: 20px;
    /* Abstand unterhalb des Inhalts */
    /* border-bottom: 1px solid #eeeeee; */
    /* Optionale Trennlinie zwischen Sektionen */
}

.content-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.content-section h1 {
    color: #70B584;
    /* Grüne Überschriften */
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid #eeeeee;
    /* Dezente Linie unter H1*/
    font-size: 2.0em;
}

.content-section h2 {
    color: #70B584;
    /* Grüne Überschriften */
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid #eeeeee;
    /* Dezente Linie unter H2 */
    font-size: 1.8em;
}

.content-section h3 {
    color: #70B584;
    /* Grüne Überschriften */
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid #eeeeee;
    /* Dezente Linie unter H2 */
    font-size: 1.4em;
}

.content-section h4 {
    color: #70B584;
    /* Grüne Überschriften */
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: none;
    /* Dezente Linie unter H2 */
    font-size: 1.0em;
}

.content-section p,
.content-section ul {
    margin-bottom: 15px;
}

.content-section ul {
    list-style-position: outside;
    /* Aufzählungszeichen außerhalb */
    padding-left: 25px;
    /* Einrückung für Listen */
}

.content-section li {
    margin-bottom: 8px;
    /* Abstand zwischen Listenelementen */
}


/* Styling für Platzhalterbilder (optional) */
.placeholder-img {
    border: 1px dashed #cccccc;
    padding: 30px;
    text-align: center;
    background-color: #f9f9f9;
    margin: 20px auto;
    font-style: italic;
    display: block;
    max-width: 600px;
    border-radius: 6px;
}

.placeholder-img .rounded-img {
    border-radius: 6px;
    display: block;
    max-width: 90%;
    height: auto;
    margin-left: auto;
    margin-right: auto
}

.placeholder-img-small {
    max-width: 150px;
    /* Reduced from default */
    height: auto;
    margin: 10px 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-summary {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-summary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.product-summary h3 {
    margin-bottom: 10px;
    border-bottom: none;
    font-size: 1.2em;
}

.product-summary p {
    margin-bottom: 20px;
    font-size: 0.95em;
    flex-grow: 1;
    /* Pushes the button to the bottom */
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #70B584;
    color: #ffffff;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-top: auto;
    /* Ensure button stays at bottom */
}

.button:hover {
    background-color: #5a936a;
    color: #ffffff;
    text-decoration: none;
}



/* --- Footer --- */
.site-footer {
    background-color: #f8f8f8;
    /* Sehr helles Grau */
    color: #555555;
    /* Etwas helleres Grau für Footer-Text */
    padding: 30px 0;
    border-top: 1px solid #eeeeee;
    font-size: 0.95em;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    /* Umbruch auf kleinen Screens */
    gap: 30px;
    /* Abstand zwischen den Spalten */
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    /* Spalten teilen sich den Platz */
    min-width: 250px;
    /* Mindestbreite bevor Umbruch */
}

.footer-column h4 {
    color: #333333;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.footer-column p {
    margin-bottom: 10px;
}

.footer-logo {
    max-width: 180px;
    /* Kleinere Größe für Footer-Logo */
    margin-top: 15px;
}

#partners {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dddddd;
}

#partners h3 {
    color: #333333;
    margin-bottom: 15px;
    font-size: 1.2em;
}

#partners ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

#partners a {
    color: #555555;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #dddddd;
    font-size: 0.9em;
    color: #777777;
}

/* --- Responsivität --- */

/* Tablet und größere Bildschirme */
@media (min-width: 768px) {
    .site-header .container {
        flex-direction: row;
        /* Logo links, Navi rechts */
    }

    #header-logo {
        margin-bottom: 0;
        /* Kein Abstand mehr nach unten */
    }

    .main-navigation ul {
        justify-content: flex-end;
        /* Navi nach rechts */
    }

    .footer-columns {
        flex-wrap: nowrap;
        /* Kein Umbruch der Spalten */
    }

    .content-section h2 {
        font-size: 2em;
    }

    .content-section {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
        align-items: stretch;
    }

    .content-section h1,
    .content-section h2,
    .content-section h3,
    .content-section h4,
    .content-section p,
    .content-section br,
    .content-section ul,
    .content-section img.placeholder-img,
    .content-section div:not(.product-summary) {
        grid-column: 1 / -1;
    }

    .grid-list-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        list-style-position: inside;
        padding-left: 0;
    }

    .grid-list-3 li {
        margin-bottom: 0;
    }
}

/* Optional: Anpassungen für sehr kleine Bildschirme */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
        /* Weniger Padding auf sehr kleinen Screens */
    }

    .main-navigation a {
        padding: 6px 8px;
        /* Kleinere Buttons */
        font-size: 0.9em;
    }

    .content-section h2 {
        font-size: 1.6em;
    }

    .footer-column {
        min-width: 100%;
        /* Spalten untereinander */
    }
}

/* --- Kontaktformular --- */
.contact-form {
    max-width: 800px;
    margin-top: 20px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eeeeee;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.form-checkbox input {
    margin-top: 4px;
}

.submit-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #70B584;
    color: #ffffff;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #5a936a;
}