/* ===== FONTS (lokal, DSGVO-konform) ===== */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/inter-800.woff2') format('woff2'); }

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green: #6abf2e;
    --green-dark: #509020;
    --green-light: #eaf5d5;
    --navy: #1a3a5c;
    --navy-dark: #0f2440;
    --text: #111827;
    --text-mid: #374151;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --bg: #ffffff;
    --bg-light: #f7faf2;
    --bg-dark: #0f1e2e;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text); background: var(--bg);
    line-height: 1.6; font-size: 16px;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== HEADER / NAV ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow); }

.nav {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex; align-items: center; gap: 12px;
}
.logo-img {
    height: 52px; width: 52px;
    border-radius: 8px; object-fit: contain;
}
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text-wrap span { font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.logo-text-wrap small { font-size: 0.72rem; color: var(--text-light); font-weight: 500; letter-spacing: 0.04em; }
.logo-fallback {
    display: flex; align-items: center; gap: 8px;
    font-size: 1.2rem; color: var(--text);
}
.logo-icon { color: var(--green); font-size: 1.4rem; }
.logo-fallback strong { color: var(--green); }

.nav-links {
    display: flex; align-items: center; gap: 32px;
    list-style: none;
}
.nav-links a {
    color: var(--text-mid); font-size: 0.95rem; font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--green-dark); }
.nav-links .nav-cta {
    background: var(--green); color: #fff;
    padding: 10px 22px; border-radius: 8px; font-weight: 600;
    transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: var(--green-dark); color: #fff; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--text); border-radius: 2px; transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 0 80px; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #f0f9e8 0%, #e4f4cc 40%, #d5eeaa 100%);
    z-index: 0;
}
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236abf2e' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-badge {
    display: inline-block;
    background: #fff; border: 1px solid var(--border);
    padding: 8px 16px; border-radius: 100px;
    font-size: 0.875rem; font-weight: 500; color: var(--navy);
    margin-bottom: 24px; box-shadow: var(--shadow);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800; line-height: 1.15;
    color: var(--navy); margin-bottom: 20px;
}
.hero h1 span { color: var(--green-dark); }

.hero-sub {
    font-size: 1.15rem; color: var(--text-mid);
    margin-bottom: 36px; max-width: 580px; line-height: 1.7;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 10px;
    font-size: 1rem; font-weight: 600; border: none; cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--green); color: #fff;
    box-shadow: 0 4px 16px rgba(106,191,46,0.4);
}
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 6px 24px rgba(106,191,46,0.45); }

.btn-outline {
    background: #fff; color: var(--navy);
    border: 2px solid var(--border); box-shadow: var(--shadow);
}
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); }

.btn-white {
    background: #fff; color: var(--green-dark); width: 100%;
    justify-content: center; font-size: 1.05rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-white:hover { background: var(--green-light); }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.8rem; font-weight: 800; color: var(--green-dark); line-height: 1; }
.stat span { font-size: 0.875rem; color: var(--text-light); margin-top: 4px; }

.hero-scroll {
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%); z-index: 1;
}
.hero-scroll a {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: #fff; box-shadow: var(--shadow);
    color: var(--green-dark); font-size: 1.2rem;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-dark { background: var(--bg-dark); }
.section-green { background: var(--navy); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block;
    background: var(--green-light); color: var(--green-dark);
    padding: 6px 16px; border-radius: 100px;
    font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 16px;
}
.section-tag.light { background: rgba(255,255,255,0.15); color: #fff; }

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800; margin-bottom: 16px;
}
.section-dark .section-header h2,
.section-green .section-header h2 { color: #fff; }

.section-header p {
    font-size: 1.05rem; color: var(--text-light);
    max-width: 560px; margin: 0 auto;
}
.section-dark .section-header p,
.section-green .section-header p { color: rgba(255,255,255,0.6); }

/* ===== SERVICES ===== */
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-bottom: 48px;
}

.service-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px 28px;
    position: relative; transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card.featured {
    border-color: var(--green);
    box-shadow: 0 0 0 1px var(--green), var(--shadow-lg);
}

.service-badge {
    position: absolute; top: -12px; left: 28px;
    background: var(--green); color: #fff;
    padding: 4px 14px; border-radius: 100px;
    font-size: 0.75rem; font-weight: 700;
}

.service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--navy); }
.service-card p { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }

.service-list { list-style: none; }
.service-list li {
    padding: 6px 0; font-size: 0.9rem; color: var(--text-mid);
    border-bottom: 1px solid var(--border);
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before { content: '✓ '; color: var(--green); font-weight: 700; }

.usp-bar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: var(--border);
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden;
}
.usp-item {
    display: flex; align-items: center; gap: 14px;
    padding: 24px 20px; background: var(--bg-light);
}
.usp-icon { font-size: 1.8rem; flex-shrink: 0; }
.usp-item strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--navy); }
.usp-item small { font-size: 0.8rem; color: var(--text-light); }

/* ===== GALLERY (Before/After) ===== */
.gallery-container {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
    gap: 32px;
}
.gallery-loading {
    color: rgba(255,255,255,0.5); text-align: center;
    padding: 60px; grid-column: 1 / -1;
}
.gallery-empty { text-align: center; padding: 80px 24px; }
.gallery-empty .empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.5; }
.gallery-empty p { color: rgba(255,255,255,0.5); }
.hidden { display: none !important; }

/* Before/After Slider */
.ba-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

.ba-label-row {
    display: flex; justify-content: space-between;
    padding: 12px 16px; background: rgba(255,255,255,0.06);
}
.ba-label {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(255,255,255,0.7);
}

.ba-slider-wrap {
    position: relative; overflow: hidden; cursor: ew-resize;
    user-select: none; aspect-ratio: 4/3; background: #0a1020;
}
.ba-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; inset: 0; overflow: hidden; width: 50%; }
.ba-before {
    width: 100%; height: 100%; object-fit: cover;
    position: absolute; top: 0; left: 0; min-width: 200%;
}
.ba-divider {
    position: absolute; top: 0; bottom: 0;
    left: 50%; transform: translateX(-50%);
    width: 3px; background: #fff; z-index: 10; pointer-events: none;
}
.ba-handle {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; color: var(--green-dark); font-weight: 800;
    z-index: 11; cursor: ew-resize; pointer-events: none;
}
.ba-hint {
    padding: 10px 16px; text-align: center;
    font-size: 0.78rem; color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.03);
}

/* ===== INFO NOTICE ===== */
.info-notice {
    display: flex; align-items: center; gap: 12px;
    background: #fffbeb; border: 1px solid #fcd34d;
    border-radius: var(--radius); padding: 14px 20px;
    margin-bottom: 40px; font-size: 0.9rem; color: #78350f;
}
.info-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-bottom: 32px;
}
.testimonial-card {
    background: var(--bg-light); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px 24px;
    border-top: 4px solid var(--green);
    transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p {
    color: var(--text-mid); font-size: 0.95rem; line-height: 1.65;
    margin-bottom: 16px; font-style: italic;
}
.testimonial-card small { font-size: 0.8rem; color: var(--text-light); font-weight: 600; }
.testimonials-source {
    text-align: center; font-size: 0.85rem; color: var(--text-light);
}
.testimonials-source a { color: var(--green-dark); font-weight: 600; }
.testimonials-source a:hover { text-decoration: underline; }

/* ===== ABOUT ===== */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.about-text .section-tag { display: inline-block; margin-bottom: 16px; }
.about-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800; margin-bottom: 20px; line-height: 1.2; color: var(--navy);
}
.about-text p { color: var(--text-mid); margin-bottom: 16px; line-height: 1.7; }
.about-highlights { display: flex; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.highlight {
    background: var(--bg-light); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px 20px;
    border-left: 4px solid var(--green);
}
.highlight strong { display: block; font-size: 1rem; margin-bottom: 4px; color: var(--navy); }
.highlight span { font-size: 0.85rem; color: var(--text-light); }

.about-logo-box {
    display: flex; align-items: center; justify-content: center;
}
.about-logo-box img {
    width: 100%; max-width: 360px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-img-box {
    width: 100%; aspect-ratio: 1;
    background: var(--green); border-radius: var(--radius-lg);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: #fff; gap: 8px; box-shadow: var(--shadow-lg);
    max-width: 360px;
}
.about-img-box span { font-size: 1.8rem; font-weight: 800; }
.about-img-box small { font-size: 1rem; opacity: 0.85; }

/* ===== CONTACT ===== */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
}
.contact-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800; color: #fff; margin-bottom: 16px; line-height: 1.2;
}
.contact-info > p { color: rgba(255,255,255,0.75); margin-bottom: 36px; line-height: 1.7; }

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
    display: flex; align-items: center; gap: 16px;
    background: rgba(255,255,255,0.1); border-radius: var(--radius);
    padding: 16px 20px; color: #fff; transition: background 0.2s;
}
a.contact-item:hover { background: rgba(255,255,255,0.18); }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.8rem; opacity: 0.7; margin-bottom: 2px; }
.contact-item span { font-size: 1rem; font-weight: 600; }

.contact-form {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); padding: 36px;
    backdrop-filter: blur(8px);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 0.875rem; font-weight: 600;
    color: rgba(255,255,255,0.85); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 16px;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px; color: #fff; font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s; font-family: inherit;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group select option { background: var(--navy-dark); color: #fff; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--green);
    background: rgba(255,255,255,0.18);
}

.form-success {
    margin-top: 16px; padding: 14px 20px;
    background: rgba(106,191,46,0.25); border-radius: 8px;
    color: #fff; font-weight: 600; text-align: center;
    border: 1px solid rgba(106,191,46,0.5);
}

/* ===== CONTACT (Option C – nur E-Mail-Link) ===== */
.contact-email-block {
    display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
}
.email-link-big {
    display: inline-flex; align-items: center; gap: 14px;
    background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-lg); padding: 20px 28px;
    color: #fff; font-size: 1.15rem; font-weight: 700;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
}
.email-link-big:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.6); }
.email-link-big .email-icon { font-size: 1.6rem; }

/* ===== LEGAL (Impressum / Datenschutz) ===== */
.legal-section {
    padding: 80px 0; background: var(--bg-light);
    border-top: 1px solid var(--border);
}
.legal-section h2 {
    font-size: 1.8rem; font-weight: 800;
    color: var(--navy); margin-bottom: 32px;
}
.legal-content { max-width: 720px; }
.legal-content h3 {
    font-size: 1rem; font-weight: 700; color: var(--navy);
    margin: 28px 0 8px;
}
.legal-content h3:first-of-type { margin-top: 0; }
.legal-content p, .legal-content address {
    font-size: 0.95rem; color: var(--text-mid);
    line-height: 1.7; font-style: normal;
}
.legal-content a { color: var(--green-dark); }
.legal-notice {
    display: inline-block; margin-top: 16px;
    background: #fffbeb; border: 1px solid #fcd34d;
    border-radius: 8px; padding: 10px 16px;
    font-size: 0.85rem; color: #78350f;
}

/* ===== FOOTER ===== */
.footer { background: var(--bg-dark); padding: 32px 0; }
.footer-content {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 44px; width: 44px; border-radius: 6px; object-fit: contain; }
.footer-brand-text span { display: block; font-size: 1rem; font-weight: 700; color: #fff; }
.footer-brand-text small { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.footer-fallback { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 1.1rem; }
.footer-fallback .logo-icon { color: var(--green); }
.footer-fallback strong { color: var(--green); }
.footer-fallback small { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin-left: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: rgba(255,255,255,0.4); font-size: 0.8rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; }
    .usp-bar { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .gallery-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; flex-direction: column; gap: 0;
        position: absolute; top: 72px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--border);
        padding: 12px 0; box-shadow: var(--shadow);
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 14px 24px; border-radius: 0; }
    .nav-links .nav-cta { margin: 12px 16px; border-radius: 8px; text-align: center; }
    .nav-toggle { display: flex; }
    .hero-stats { gap: 24px; }
    .usp-bar { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
    .footer-content { flex-direction: column; text-align: center; }
}
