/* Zentrale Farb- und Design-Variablen */
:root {
    --bg-body: #F4F7F5;
    --text-main: #1C2D21;
    --text-muted: #556B2F;
    --accent-green: #2E7D32;
    --accent-gold: #D4AF37;
    --card-bg: rgba(255, 255, 255, 0.95);
    --nav-bg: rgba(255, 255, 255, 0.92); /* Schwebendes, leicht transparentes Weiß */
    --border-color: #E2EBE4;
}

/* Globale Resets */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
}

/* ====== SCHWEBENDE NAVIGATION & BURGER-LOGIK ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px); /* Edler Milchglas-Effekt */
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--accent-green);
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-green);
}

/* Burger Button (Standardmäßig auf PC versteckt) */
.nav-toggle {
    display: none;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-main);
    border-radius: 2px;
    transition: 0.3s;
}

/* ====== HERO-BEREICH (MIT EINGEBAUTEM PROFI-KONTRAST) ====== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    
    /* NEU: Ein sanfter, transparenter Verlauf dunkelt das Bild nur im Zentrum leicht ab */
    background-image: linear-gradient(
        rgba(0, 0, 0, 0.4), 
        rgba(0, 0, 0, 0.3)
    ), url('../img/gartenbau-1920-1080.jpg');
}

/* AUTOMATISCHER WECHSEL AUF HANDY-FORMAT (Media Query) */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        /* Auch hier sorgt der Verlauf für perfekten Kontrast auf dem Smartphone */
        background-image: linear-gradient(
            rgba(0, 0, 0, 0.45), 
            rgba(0, 0, 0, 0.35)
        ), url('hintergrund-handy.jpg');
    }
}


/* Frei schwebender, gestochen scharfer Text direkt auf dem Hintergrund */
.hero-content-free p {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #FFFFFF !important;
    
    /* Wir nehmen die erdrückende Umrandung weg... */
    -webkit-text-stroke: none !important; 
    
    /* ...und nehmen stattdessen einen extrem weichen, großflächigen Schatten-Schleier */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.7);
    
    /* Zusätzlicher Profi-Kniff: Ein dezenter, schwebender Schutzschild nur für diese Zeile */
    background: rgba(28, 45, 33, 0.4); /* Sehr transparentes Waldgrün */
    display: inline-block; /* Sorgt dafür, dass die Box nur so lang ist wie der Text */
    padding: 6px 18px;
    border-radius: 6px;
    backdrop-filter: blur(2px); /* Minimale Weichzeichnung des Hintergrunds hinter dem Text */
}


/* Damit auch die Unterüberschrift und alle Absätze im Hero-Bereich weiß und umrandet bleiben */
.hero-content-free h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #FFFFFF !important;
}

.hero-content-free p {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #FFFFFF !important;
    -webkit-text-stroke: 0.5px #1C2D21; /* Etwas feinere Umrandung für den Fließtext */
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent-green);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    text-shadow: none; /* Kein Schatten auf dem Button-Text */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #1b5e20;
}

/* ====== RESPONSIVE DESIGN (HANDY-FORMAT & BURGER MENU) ====== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        background-image: url('../img/gartenbau-800-1200.jpg');
    }

    .hero-content-free h1 {
        font-size: 2em;
    }

    .hero-content-free p {
        font-size: 1.1em;
    }

    /* Zeige den Burger-Button auf dem Handy */
    .burger-menu {
        display: flex;
    }

    /* Transformiere die Link-Liste in ein ausklappbares Handy-Menü */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        flex-direction: column;
        text-align: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        border-bottom: 0 solid var(--border-color);
    }

    .nav-links li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
    }

    /* Wenn die unsichtbare Checkbox aktiv ist, klappt das Menü auf */
    .nav-toggle:checked ~ .nav-links {
        max-height: 300px;
        border-bottom: 1px solid var(--border-color);
    }
}
/* ====== LEISTUNGS-SEKTION ====== */
.leistungen-section {
    padding: 80px 20px;
    background-color: var(--bg-body);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-container h2 {
    font-size: 2.2em;
    color: var(--text-main);
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1em;
    margin-bottom: 5px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Das responsive CSS Grid für die Kacheln */
.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Styling für die einzelnen Leistungskacheln */
.leistung-card {
    background: var(--card-bg);
    padding: 35px 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(28,45,33,0.03);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Edler Hover-Effekt: Kachel hebt sich leicht ab und kriegt einen goldenen Akzent */
.leistung-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(28,45,33,0.08);
    border-color: var(--accent-gold);
}

.card-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.leistung-card h3 {
    color: var(--accent-green);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.leistung-card p {
    color: var(--text-main);
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
}


/* ====== PROFESSIONELLER FOOTER ====== */
.main-footer {
    background-color: #1C2D21; /* Tiefes Waldgrün als edler, dunkler Abschluss */
    color: #FFFFFF;
    padding: 60px 20px 20px 20px;
    font-size: 0.95em;
    border-top: 3px solid var(--accent-gold); /* Goldene feine Trennlinie oben */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; /* Wichtig für den Handy-Umbruch */
}

.footer-brand {
    flex: 2;
    min-width: 250px;
}

.footer-logo {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #A3B899; /* Dezentes Hellgrün für den Beschreibungstext */
    line-height: 1.5;
    margin: 0;
}

.footer-nav, .footer-legal {
    flex: 1;
    min-width: 150px;
}

.main-footer h4 {
    color: #FFFFFF;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
    border-bottom: 1px solid #334E39;
    padding-bottom: 5px;
}

.main-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-footer li {
    margin-bottom: 10px;
}

.main-footer a {
    color: #A3B899;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

/* Eleganter kleiner Effekt beim Drüberfahren */
.main-footer a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid #334E39;
    text-align: center;
    font-size: 0.85em;
    color: #A3B899;
}

/* HANDY-ANSICHT FÜR DEN FOOTER */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-brand, .footer-nav, .footer-legal {
        flex: 1;
        min-width: 100%;
    }
}
