:root {
    --primary: #4a7c44;
    --accent: #e67e22;
    --dark: #2c3e50;
    --light: #f4f7f6;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; } /* Macht das Runterscrollen sanft */

body { 
    font-family: 'Segoe UI', Roboto, Arial, sans-serif; 
    color: var(--dark); 
    line-height: 1.6;
    background-color: var(--white);
}

/* Navigation */
.navbar {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 1rem 5%;
    background: var(--white);
    position: fixed; /* Bleibt beim Scrollen oben kleben */
    top: 0; width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary); text-transform: uppercase; }
.logo span { color: var(--accent); }
.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 1.5rem; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 600; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}
.slide.active { opacity: 1; }
.hero-slider::after {
    content: ''; position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); z-index: 2;
}
.hero-content {
    position: relative; z-index: 3;
    text-align: center; max-width: 800px;
}
.hero-content h1 { font-size: 4rem; text-shadow: 2px 2px 15px rgba(0,0,0,0.5); }

/* Sections & Container */
.section { padding: 100px 5%; min-height: 400px; }
.container { max-width: 1200px; margin: 0 auto; }
.bg-light { background: var(--light); }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3.5rem; color: var(--primary); }

/* Karten Design */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { background: #c3fabd; padding: 2.5rem; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; }

/* Blog Anzeige */
.blog-grid { display: flex; flex-direction: column; gap: 2rem; max-width: 900px; margin: 0 auto; }
.blog-card { background: var(--white); padding: 2.5rem; border-radius: 10px; border-left: 8px solid var(--accent); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.date { display: block; color: var(--accent); font-weight: bold; margin-bottom: 0.5rem; font-size: 0.9rem; }
.post-content { margin-top: 1rem; color: #555; }
.msg { text-align: center; font-style: italic; color: #888; }

/* Buttons & Formular */
.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: transform 0.3s;
}
.btn:hover { transform: scale(1.05); background: #3d6638; }

.contact-form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; }
.contact-form input, .contact-form textarea {
    padding: 1rem; margin-bottom: 1rem; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem;
}
.contact-form textarea { height: 150px; }

/* Footer */
.site-footer { background: #1a1a1a; color: #ccc; padding: 80px 5% 20px; border-top: 5px solid var(--primary); }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; }
.footer-section h4 { color: white; margin-bottom: 1.5rem; }
.footer-section ul { list-style: none; }
.footer-section a { color: #aaa; text-decoration: none; }
.footer-bottom { text-align: center; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid #333; font-size: 0.8rem; }

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .navbar { padding: 1rem; }
    .nav-links { display: none; }
}