@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary: #1b4332;   /* Waldgrün */
    --accent: #8bc34a;    /* Hellgrün */
    --light: #f8f9fa;
    --dark: #212529;
    --white: #ffffff;
}

/* --- BASICS --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Open Sans', sans-serif; 
    background-color: var(--light); 
    color: var(--dark); 
    overflow-x: hidden; 
}

/* --- HEADER --- */
header {
    background: #ffffff !important;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary) !important;
    font-size: 1.3rem;
}

.logo span { color: var(--accent); margin-left: 5px; }
.logo-img { height: 45px; margin-right: 10px; }

/* --- NAVIGATION DESKTOP --- */
.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark) !important;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    transition: 0.3s;
}

.nav-menu a:hover { color: var(--accent) !important; }

/* --- MOBILE NAVIGATION (HAMBURGER) --- */
@media (max-width: 1024px) {
    .menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 10001;
    }

    .menu-btn span {
        width: 28px;
        height: 3px;
        background: var(--primary);
        border-radius: 2px;
    }

    /* DAS DROPDOWN ALS KLEINER WEISSER KASTEN RECHTS */
    .nav-menu {
        display: none; 
        position: absolute !important;
        top: 70px !important; 
        right: 5% !important;
        left: auto !important;
        width: 220px !important;
        height: auto !important; /* WICHTIG: Begrenzt die Höhe */
        background: white !important;
        flex-direction: column !important;
        padding: 10px 0 !important;
        border: 1px solid #ddd !important;
        border-radius: 8px !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
        z-index: 10000;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu a {
        padding: 12px 20px !important;
        margin: 0 !important;
        border-bottom: 1px solid #f0f0f0;
        font-size: 1rem;
        width: 100%;
        text-align: left;
    }

    .nav-menu a:last-child { border-bottom: none; }
    
    .nav-menu a:hover {
        background-color: #f9f9f9;
        padding-left: 25px !important; /* Kleiner Effekt beim Hover */
    }
}

/* --- SEKTIONEN & INHALT --- */
.hero { 
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1547530155-236402434079?q=80&w=2000');
    background-size: cover;
    background-position: center;
    color: var(--white); 
    padding: 100px 5%; 
    text-align: center; 
}

.container { max-width: 1100px; margin: 40px auto; padding: 0 20px; min-height: 40vh; }

.card { 
    background: var(--white); 
    padding: 40px; 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}

h1, h2 { font-family: 'Montserrat', sans-serif; margin-bottom: 20px; color: var(--primary); }
p { line-height: 1.8; margin-bottom: 15px; }


/* --- GLOBALER FOOTER (1:1 wie Index) --- */
footer {
    background: #111111 !important; /* Das dunkle Grau der Index-Seite */
    color: #cccccc !important;
    padding: 60px 5% 20px !important;
    margin-top: 80px;
    width: 100%;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: var(--accent); /* Dein Hellgrün für die Überschriften */
    font-family: 'Montserrat', sans-serif;
}

.footer-col p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col a {
    color: #ccc !important;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: #ffffff !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

.social-icons svg {
    fill: #ffffff !important;
    width: 24px;
    margin-right: 15px;
    transition: transform 0.3s;
}

.social-icons a:hover svg {
    transform: scale(1.2);
    fill: var(--accent) !important;
}



.section.section-centered {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.section.section-gray {
    background-color: var(--light) !important; /* Nutzt dein definiertes Hellgrau */
}

.section-centered .section-text {
    width: 100%;
    max-width: 800px; /* Begrenzt die Textbreite für bessere Lesbarkeit */
    margin: 0 auto;
}

/* Optional: Damit die Überschrift in der Mitte bleibt */
.section-centered h2 {
    text-align: center;
}