:root {
    /* --- BASIS FARBEN --- */
    --primary: #14532d;         
    --accent: #16a34a;          
    
    /* VARIABLEN: HELL */
    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --bg-nav: rgba(255, 255, 255, 0.98);
    --bg-owner: #f9fafb;
    --bg-input: #f9f9f9;
    
    --text-main: #1f2937;       
    --text-heading: #14532d;    
    --text-muted: #4b5563;      
    
    --border-color: #e5e7eb;
    --shadow: 0 20px 40px rgba(20, 83, 45, 0.15);
    
    --hero-gradient: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    --overlay-color: rgba(20, 83, 45, 0.9);
}

/* --- DARK MODE ANPASSUNGEN --- */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-body: #0f172a;       
        --bg-card: #1e293b;       
        --bg-nav: rgba(15, 23, 42, 0.95);
        --bg-owner: #1e293b;
        --bg-input: #334155;
        
        --text-main: #e2e8f0;     
        --text-heading: #f0fdf4;
        --text-muted: #94a3b8;    
        
        --border-color: #334155;
        --shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        
        --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        --overlay-color: rgba(15, 23, 42, 0.9);
        
        --primary: #4ade80; 
    }

    .brand {
        background-color: white;
        padding: 6px 15px;
        border-radius: 50px;
        display: inline-flex; align-items: center; justify-content: center;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    }
    .brand img { height: 38px !important; margin: 0; filter: none !important; }
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    /* DSGVO-SICHER: System Fonts statt Google Fonts */
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }

/* --- NAVIGATION --- */
nav {
    height: 80px; display: flex; align-items: center;
    position: sticky; top: 0; 
    background: var(--bg-nav);
    backdrop-filter: blur(10px); z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--border-color);
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.brand img { height: 50px; width: auto; transition: 0.3s; }

.nav-list { display: flex; gap: 30px; align-items: center; }
.nav-list a { font-weight: 500; color: var(--text-main); font-size: 0.95rem; }
.nav-list a:hover { color: var(--accent); }

/* --- BUTTONS --- */
.cta-btn {
    background: var(--accent); color: white !important;
    padding: 10px 25px; border-radius: 50px; font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn { padding: 15px 35px; border-radius: 10px; font-weight: 600; cursor: pointer; border: none; font-size: 1rem; transition: all 0.3s ease; text-align: center; }
.btn i { margin-right: 10px; }

.primary { 
    background: var(--accent); color: white; 
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.2); 
    position: relative; overflow: hidden;
}
.primary:hover { background: #15803d; transform: translateY(-3px); }

.secondary { background: transparent; border: 2px solid var(--accent); color: var(--text-main); }
.secondary:hover { background: var(--accent); color: white; transform: translateY(-3px); }

.white-btn { background: white; color: var(--accent) !important; display: inline-block; padding: 18px 40px; font-size: 1.2rem; border-radius: 50px; font-weight: bold; }

.whatsapp-btn {
    background-color: #25D366; 
    color: white !important;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}
.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 90vh; display: flex; align-items: center;
    background: var(--hero-gradient);
    position: relative; overflow: hidden;
    padding-top: 40px; padding-bottom: 40px;
}
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.badge {
    background: rgba(34, 197, 94, 0.1); color: var(--accent);
    padding: 8px 18px; border-radius: 30px; font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; display: inline-block; margin-bottom: 20px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.hero-text h1 { font-size: 3.5rem; line-height: 1.15; margin-bottom: 25px; color: var(--text-heading); font-weight: 700; }
.hero-text p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 35px; max-width: 90%; }
.btn-group { display: flex; gap: 15px; flex-wrap: wrap; }

.image-slider {
    width: 100%; height: 500px; 
    border-radius: 20px; position: relative;
    box-shadow: var(--shadow);
    z-index: 1; overflow: hidden; background: #333;
}
.image-slider::after {
    content: ''; position: absolute; top: -20px; right: -20px;
    width: 100%; height: 100%; border: 3px solid var(--accent);
    border-radius: 20px; z-index: -1; opacity: 0.3;
}
.slide {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover; opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active { opacity: 1; }

/* --- BENEFITS SECTION --- */
.benefits { background-color: var(--bg-body); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.benefit-card {
    background: var(--bg-card); padding: 40px 30px; border-radius: 20px;
    text-align: center; border: 1px solid var(--border-color); transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.benefit-card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: var(--shadow); }
.icon-box {
    width: 80px; height: 80px; background: rgba(34, 197, 94, 0.1); color: var(--accent);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 25px auto;
}
.benefit-card h3 { margin-bottom: 15px; color: var(--text-heading); font-size: 1.5rem; font-weight: 700; }
.benefit-card p { color: var(--text-muted); font-size: 1rem; }

.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px auto; }
.section-header h2 { font-size: 2.5rem; color: var(--text-heading); margin-bottom: 15px; }
.divider { width: 80px; height: 4px; background: var(--accent); margin: 0 auto 20px auto; border-radius: 2px; }

/* --- SERVICES SECTION --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.service-box {
    background: var(--bg-card); border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}
.service-box:hover { transform: translateY(-15px); box-shadow: var(--shadow); border-color: var(--accent); }
.service-img { 
    width: 100%; height: 220px; background-size: cover; background-position: center;
    transition: transform 0.6s ease;
}
.service-box:hover .service-img { transform: scale(1.08); }

.img-1 { background-image: url('bilder/slider2.jpg'); }
.img-2 { background-image: url('bilder/slider3.jpg'); }
.img-3 { background-image: url('bilder/service-3.jpg'); }

.service-content { padding: 30px; }
.service-box h3 { margin-bottom: 20px; font-size: 1.4rem; color: var(--text-heading); font-weight: 700; }
.service-list li { margin-bottom: 12px; padding-left: 25px; position: relative; color: var(--text-muted); }
.service-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent); position: absolute; left: 0; top: 3px; }

/* --- CTA BANNER --- */
.cta-banner {
    background: linear-gradient(var(--overlay-color), var(--overlay-color)),
                url('bilder/hero.jpg') center/cover;
    background-attachment: fixed; color: white; text-align: center;
    padding: 100px 0; margin-top: 80px;
}
.cta-banner h2 { font-size: 2.5rem; margin-bottom: 15px; font-weight: 700; color: white; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 30px; }
.cta-buttons {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 20px;
}

/* --- CONTACT SECTION --- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-text h2 { font-size: 2.5rem; color: var(--text-heading); margin-bottom: 30px; }
.owner-box {
    display: flex; align-items: center; gap: 20px; margin-top: 30px; margin-bottom: 30px;
    background: var(--bg-owner); padding: 15px; border-radius: 15px; border: 1px solid var(--border-color);
}
.owner-img {
    width: 90px; height: 90px; border-radius: 50%;
    object-fit: cover; object-position: top center;
    border: 3px solid var(--accent);
}
.owner-box h4 { margin: 0; color: var(--accent); font-size: 0.9rem; text-transform: uppercase; }
.owner-box p { margin: 0; font-weight: bold; font-size: 1.1rem; color: var(--text-main); }
.contact-detail h4 { color: var(--accent); margin-bottom: 5px; }

.modern-form { 
    background: var(--bg-card); padding: 50px; border-radius: 20px; box-shadow: var(--shadow); 
    border: 1px solid var(--border-color);
}
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 600; color: var(--text-main); }
.form-group input, .form-group textarea {
    width: 100%; padding: 18px; border: 2px solid var(--border-color);
    border-radius: 10px; background: var(--bg-input); font-family: inherit; color: var(--text-main);
}
.form-group input:focus, .form-group textarea:focus { 
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}
.full-width { width: 100%; }

/* Erfolgsmeldung */
#form-feedback {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
}
.success-message {
    background-color: #dcfce7;
    color: #14532d;
    border: 1px solid #16a34a;
}
.error-message {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* --- ABOUT SECTION --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { position: relative; border-radius: 20px; overflow: visible; }
.about-img img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); display: block; }
.experience-badge {
    position: absolute; bottom: -30px; right: -30px;
    background: var(--accent); color: white; padding: 25px;
    border-radius: 20px; text-align: center;
    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.4); min-width: 140px;
}
.experience-badge span { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.experience-badge p { margin: 0; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; }

.about-content h3 { font-size: 1.8rem; color: var(--text-heading); margin-bottom: 20px; font-weight: 700; }
.about-content p { margin-bottom: 20px; color: var(--text-muted); }

.values-list { margin: 30px 0; display: flex; flex-direction: column; gap: 20px; }
.value-item { display: flex; align-items: flex-start; gap: 15px; }
.value-item i {
    color: var(--accent); font-size: 1.2rem;
    background: rgba(34, 197, 94, 0.1); padding: 8px;
    border-radius: 50%; margin-top: 2px;
}
.value-item strong { display: block; color: var(--text-heading); font-size: 1.05rem; }
.value-item span { font-size: 0.9rem; color: var(--text-muted); }

/* --- OPTIMIERTER FOOTER --- */
footer { 
    background: #0f172a; 
    color: #9ca3af; 
    padding: 60px 0 30px 0; 
    border-top: 5px solid var(--accent); 
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}
.footer-column:first-child { flex: 0 1 45%; min-width: 300px; }
.footer-column { flex: 0 1 auto; }
.footer-logo { font-size: 1.8rem; color: white; font-weight: 700; margin-bottom: 20px; }
.footer-logo span { color: var(--accent); }
.footer-about { font-size: 0.95rem; line-height: 1.6; color: #9ca3af; text-align: left; }
.footer-column h4 { color: white; font-size: 1.1rem; margin-bottom: 20px; font-weight: 600; }
.footer-links { padding: 0; list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #9ca3af; font-weight: 500; transition: 0.3s; }
.footer-links a:hover { color: white; padding-left: 5px; }
.footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.05); text-align: center; font-size: 0.85rem; }
.copyright-text { margin-bottom: 8px; }
.created-by a { color: white; text-decoration: none; font-weight: 700; }

/* SOCIAL ICONS */
.social-icons a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 45px; height: 45px;
    background: rgba(255, 255, 255, 0.1); color: white;
    border-radius: 50%; font-size: 1.5rem; transition: 0.3s;
}
.social-icons a:hover { transform: translateY(-3px); }
.si-insta:hover { background: #E1306C; }   
.si-fb:hover { background: #1877F2; }      
.si-tiktok:hover { background: #fe2c55; }  

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner-overlay {
    position: fixed; bottom: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); display: flex; align-items: flex-end;
    z-index: 9999; justify-content: center; backdrop-filter: blur(2px);
}
.cookie-content {
    background: #fff; width: 100%; max-width: 600px; padding: 30px;
    border-radius: 15px 15px 0 0; box-shadow: 0 -5px 25px rgba(0,0,0,0.2);
    animation: slideUp 0.4s ease-out;
}
@media(min-width: 768px) {
    .cookie-banner-overlay { align-items: center; }
    .cookie-content { border-radius: 15px; margin: 20px; }
}
.cookie-content h3 { margin-top: 0; color: var(--text-heading); font-size: 1.3rem; margin-bottom: 15px; }
.cookie-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 20px; }
.cookie-details summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; outline: none; }
.cookie-details ul { margin-top: 10px; margin-bottom: 20px; background: #f9f9f9; padding: 15px 15px 15px 35px; border-radius: 8px; font-size: 0.85rem; }
.cookie-buttons-group { display: flex; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; }
.btn-cookie-primary { flex: 1; background: var(--accent); color: white; border: none; padding: 12px 20px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.2s; }
.btn-cookie-primary:hover { background: #15803d; }
.btn-cookie-secondary { flex: 1; background: transparent; color: var(--text-muted); border: 2px solid #e5e7eb; padding: 12px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.btn-cookie-secondary:hover { border-color: var(--text-main); color: var(--text-main); }
.cookie-legal { font-size: 0.8rem; text-align: center; color: #9ca3af; }
.cookie-legal a { text-decoration: underline; color: #9ca3af; }
@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Hilfsklassen */
.hamburger { display: none; cursor: pointer; z-index: 1001; }
.line { width: 30px; height: 3px; background: var(--text-main); margin: 6px; transition: 0.3s; }
.fade-in { animation: fadeIn 1s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }


/* ============================================================ */
/* RESPONSIVE ANPASSUNGEN (MOBILE & TABLET)           */
/* ============================================================ */

/* Tablet & kleine Laptops (bis 991px) */
@media (max-width: 991px) {
    .section-padding { padding: 80px 0; }
    
    .hero-text h1 { font-size: 3rem; }
    .hero-container { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    
    .image-slider { height: 400px; width: 100%; margin-top: 20px; }
    .btn-group { justify-content: center; }
    
    .about-grid { grid-template-columns: 1fr; text-align: left; }
    /* Badge etwas kleiner und besser positioniert */
    .experience-badge { right: 0; bottom: -25px; padding: 20px; min-width: 120px; }
    
    .contact-layout { grid-template-columns: 1fr; gap: 50px; }
}

/* Mobile (bis 768px) */
@media (max-width: 768px) {
    /* Navigation */
    .hamburger { display: block; }
    
    .nav-list {
        position: fixed; 
        top: 80px; 
        left: 0; 
        width: 100%; 
        height: calc(100vh - 80px); 
        background: var(--bg-card); 
        flex-direction: column; 
        padding: 40px 20px;
        transition: transform 0.3s ease-in-out; 
        justify-content: flex-start; 
        align-items: center; /* Zentriert die Links */
        gap: 35px; 
        overflow-y: auto;
        transform: translateX(100%); 
        border-top: 1px solid var(--border-color);
    }
    .nav-list.active { transform: translateX(0); }
    
    /* Links größer machen für Touch */
    .nav-list a { font-size: 1.2rem; font-weight: 600; }
    .nav-list .cta-btn { width: 100%; text-align: center; display: block; }

    /* Hero Section */
    .hero { padding-top: 40px; min-height: auto; }
    .hero-text h1 { font-size: 2.2rem; }
    .image-slider { height: 280px; }

    /* Footer: Zentriert auf Mobile */
    .footer-grid { flex-direction: column; text-align: center; gap: 40px; }
    .footer-column { width: 100%; align-items: center; }
    .footer-about { text-align: center; }
    .social-icons { justify-content: center; }
    
    /* Cookie Banner: Buttons untereinander für bessere Klickbarkeit */
    .cookie-buttons-group { flex-direction: column; }
    .btn-cookie-primary, .btn-cookie-secondary { width: 100%; text-align: center; }
}

/* Sehr kleine Handys (bis 480px) */
@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.8rem; margin-bottom: 20px; }
    .hero-text p { font-size: 1rem; }
    
    /* Buttons untereinander und volle Breite */
    .btn-group { flex-direction: column; gap: 10px; width: 100%; }
    .btn { width: 100%; display: block; margin: 0; }
    
    /* Überschriften kleiner */
    .section-header h2 { font-size: 2rem; }
    
    /* Formular Padding reduzieren */
    .modern-form { padding: 30px 20px; }
    
    /* Grid erzwingen 1 Spalte */
    .services-grid, .benefits-grid { grid-template-columns: 1fr; }
}