/* =========================================
   style.css - Grow-Experte Portal (Final Fix)
========================================= */

:root {
    --primary: #2e7d32;      /* Seriöses Dunkelgrün */
    --secondary: #e67e22;    /* Auffälliges Orange für Top-Buttons */
    --bg: #f8f9fa;           /* Sehr helles Grau für den Hintergrund */
    --text: #2c3e50;         /* Dunkles Blaugrau für Text */
    --card-bg: #ffffff;
    --text-on-img: #ffffff;  /* Weiße Schrift für den Bild-Banner */
}

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    background: var(--bg); 
    color: var(--text); 
    margin: 0; 
    line-height: 1.6; 
}

/* --- Header & Navigation (Kugelsicher & Obenauf) --- */
.site-header {
    background: #ffffff;
    padding: 0 5%;
    height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 9999; /* Bleibt immer über dem Content */
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: #555;
    font-weight: 300;
}

/* Checkbox unsichtbar */
#menu-toggle {
    display: none !important;
}

/* Burger Icon */
.burger-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text);
    padding: 5px;
    user-select: none;
}

/* Desktop Menü */
.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary);
}

/* --- Mobile Ansicht (unter 850px) --- */
@media (max-width: 850px) {
    .burger-icon { display: block; }

    .main-nav {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 75px; 
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    #menu-toggle:checked ~ .main-nav {
        display: flex;
    }

    .main-nav a {
        padding: 18px 5%;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        box-sizing: border-box; 
        font-size: 1.1rem;
    }
}

/* --- Hero Section (Bild-Banner) - Korrigierte Abstände --- */
.hero { 
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('header-premium.jpg'); 
    background-size: cover;
    background-position: center; 
    min-height: 420px; /* Mehr Höhe für den Textfluss */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-on-img);
    border-bottom: 5px solid var(--primary);
    padding: 40px 20px 100px 20px; /* Großzügiges Padding oben und unten */
    box-sizing: border-box;
    background-color: #2e7d32;
}

.hero h1 {
    font-size: 3rem; 
    margin: 10px 0 15px 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6); 
    max-width: 800px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    line-height: 1.4;
}

.hero .domain-text {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

/* Mobile Banner Anpassung */
@media (max-width: 600px) {
    .hero { min-height: 350px; padding-bottom: 80px; }
    .hero h1 { font-size: 2.1rem; }
    .hero p { font-size: 1.1rem; }
}

/* --- Layout & Grid System --- */
.container { 
    max-width: 1100px; 
    margin: -50px auto 40px; /* Boxen rücken leicht in den Banner rein */
    padding: 0 20px; 
    position: relative;
    z-index: 10;
}

.shop-grid { 
    display: grid; 
    gap: 25px; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
}

/* --- Shop Karten (Cards) --- */
.card { 
    background: var(--card-bg); 
    border-radius: 12px; 
    padding: 30px; 
    text-align: center; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.08); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    border: 1px solid #ebebeb; 
    display: flex; 
    flex-direction: column; 
}

.card:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.12); 
    border-color: var(--primary); 
}

.badge { 
    display: inline-block; 
    background: #e8f5e9; 
    color: var(--primary); 
    padding: 6px 14px; 
    border-radius: 50px; 
    font-size: 0.75rem; 
    font-weight: 700; 
    margin-bottom: 15px; 
    align-self: center;
}

.card h3 { 
    margin: 10px 0; 
    font-size: 1.4rem; 
    color: #1b5e20;
}

.card p { 
    font-size: 0.95rem; 
    color: #555; 
    flex-grow: 1; 
    margin-bottom: 25px; 
}

/* --- Buttons --- */
.btn { 
    background: var(--primary); 
    color: white; 
    padding: 14px; 
    text-decoration: none; 
    border-radius: 8px; 
    font-weight: bold; 
    transition: opacity 0.2s, background-color 0.2s; 
    display: block;
}

.btn:hover { 
    opacity: 0.9; 
}

.btn-secondary { 
    background: var(--secondary); 
}

/* --- Footer --- */
footer { 
    text-align: center; 
    padding: 50px 20px; 
    background: #fff; 
    border-top: 1px solid #eee; 
    margin-top: 60px; 
    font-size: 0.9rem; 
    color: #888; 
}

footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}