:root {
    --font-body: "Source Sans 3", Arial, sans-serif;
    --font-heading: "Playfair Display", serif;

    --green-main: #00682f;
    --green-dark: #005225;
    --green-mid:  #0a7a3a;
    --green-light:#1e8c4f;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 18px; /* +2 pt */
    line-height: 1.6;
    color: #ffffff;
    background: var(--green-main);
}

/* Header */
/* Standard Desktop */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: var(--green-dark);
}

.header img {
    height: 150px;
    transition: all 0.3s ease;
}

.header nav {
    display: flex;
}

.header nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
}

/* 📱 Tablet & Mobile */
@media (max-width: 900px) {

    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Logo größer (Zoom-Effekt) */
    .header img {
        height: 75px;
        margin-bottom: 15px;
    }

    /* Menü unter Logo */
    .header nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header nav a {
        margin: 8px 12px;
        font-size: 16px;
    }
}

/* 📱 Kleine Smartphones */
@media (max-width: 500px) {

    .header img {
        height: 85px;
    }

    .header nav a {
        display: block;
        width: 100%;
        margin: 6px 0;
    }
}

/* Sections */
.section {
    padding: 70px 8%;
    background: var(--green-main);
}

.section:nth-of-type(even) {
    background: var(--green-mid);
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    margin-top: 0;
}

h2 {
    font-size: 34px;
}

/* Unternehmen */
.split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.icons div {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.icons img {
    width: 34px;
    height: 34px;
}

/* Facts */
.facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
    text-align: center;
    padding: 50px 8%;
    background: var(--green-light);
}

.facts strong {
    font-family: var(--font-heading);
    font-size: 32px;
    display: block;
}

/* Produkte */
.filter {
    margin-bottom: 25px;
}

.filter button {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 8px 16px;
    margin-right: 10px;
    cursor: pointer;
    font-family: var(--font-body);
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 20px;
}

.product {
    background: rgba(255,255,255,0.12);
    padding: 20px;
}

/* Hofladen */
iframe {
    width: 100%;
    height: 300px;
    border: none;
    margin: 20px 0;
}

.opening-hours {
    font-size: 16px;
}

/* Footer */
footer {
    background: #003d1b;
    text-align: center;
    padding: 30px;
    font-size: 14px;
}

footer a {
    color: #cfe8d9;
    text-decoration: none;
}
.section-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
}
@media (max-width: 900px) {
    .split {
        grid-template-columns: 1fr;
    }

    .section-image {
        height: 220px;
    }
}
/* Fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 900px) {
    .split {
        grid-template-columns: 1fr;
    }
}
/* Produktkarten mit Bildern */
.product {
    background: rgba(255,255,255,0.12);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s;
}

.product:hover {
    transform: translateY(-5px);
}

.product img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.product span {
    display: block;
    padding: 12px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.modal-content {
    background: #ffffff;
    color: #333;
    width: 90%;
    max-width: 800px;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.modal-content h3 {
    font-family: var(--font-heading);
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
}
.sortiment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.sortiment-block h3 {
    margin-bottom: 10px;
}

.sortiment-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sortiment-block li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 16px;
}
.modal-content.legal {
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    text-align: left;
}

.modal-content.legal h3 {
    margin-top: 20px;
}

.modal-content.legal h4 {
    margin-top: 15px;
}
/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #003d1b;
    color: #fff;
    padding: 20px;

    display: none;
    z-index: 9999;

    text-align: center; /* ✅ Text zentriert */
}

/* Buttons mittig */
.cookie-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: center; /* ✅ mittig */
    gap: 12px;
}

/* Buttons schöner */
.cookie-buttons button {
    padding: 8px 18px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    min-width: 120px;
}

.cookie-buttons button:first-child {
    background: #1e8c4f;
    color: #fff;
}

.cookie-buttons button:last-child {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

/* Map Placeholder */
.map-placeholder {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    text-align: center;
}

.map-placeholder button {
    margin-top: 10px;
    padding: 8px 16px;
    cursor: pointer;
}