/* CRITICAL CSS - INLINE FOR PERFORMANCE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    margin-bottom: 1rem;
}

a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ff5722;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2e 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #a8d769;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 20px;
    font-family: sans-serif;
}

.lang-link {
    text-decoration: none;
    color: white; /* Oder die Farbe deines Headers */
    font-weight: bold;
    font-size: 0.9rem;
    padding: 2px 5px;
    transition: all 0.3s ease;
}

.lang-link:hover {
    color: #a8d769; /* Deine Akzentfarbe */
}

.lang-link.active {
    color: #ff6b35; /* Farbe für die aktuelle Sprache */
    border-bottom: 2px solid #ff6b35;
}

.separator {
    color: white;
    opacity: 0.5;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4a7c2e 0%, #6ba03b 100%);
    color: white;
    padding: 6rem 1rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* CTA Button */
.cta-btn {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    cursor: pointer;
    border: none;
}

.cta-btn:hover {
    background: #ff5722;
    transform: translateY(-2px);
}

.cta-btn:active {
    transform: translateY(0);
}

/* Content Sections */
.section {
    padding: 4rem 1rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #2d5016;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: #2d5016;
    margin-bottom: 1rem;
}

.service-card ul {
    margin-left: 1.5rem;
}

.service-card li {
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
    background: #f9f9f9;
    padding: 4rem 1rem;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h4 {
    color: #2d5016;
    cursor: pointer;
    user-select: none;
    padding: 1rem;
    background: white;
    border-radius: 5px;
    transition: background 0.3s;
}

.faq-item h4:hover {
    background: #f0f0f0;
}

.faq-item p {
    display: none;
    padding: 1rem;
    background: white;
    border-left: 4px solid #ff6b35;
    margin-top: 0.5rem;
}

.faq-item.active p {
    display: block;
}

/* Contact Block */
.contact-block {
    background: #2d5016;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 2rem;
}

.contact-block p {
    margin: 0.5rem 0;
}

.contact-block a {
    color: #a8d769;
    text-decoration: none;
    font-weight: bold;
}

.contact-block a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #1a3a0d;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 3rem;
}

footer a {
    color: #a8d769;
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    nav ul.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 1rem;
        background: #2d5016;
        padding: 1rem;
        border-radius: 5px;
        gap: 1rem;
        z-index: 999;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1rem; }

    .cta-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .service-card {
        padding: 1rem;
    }

    header {
        padding: 0.75rem 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    body {
        color: #000;
    }
    
    a {
        text-decoration: underline;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }

    .service-card {
        background: #2a2a2a;
    }

    .faq-item h4 {
        background: #2a2a2a;
        color: #a8d769;
    }

    .faq-item p {
        background: #2a2a2a;
        color: #e0e0e0;
    }
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print styles */
@media print {
    header, footer, .cta-btn, .menu-toggle {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}
