    :root {
    --primary: #1a8f4a;          /* Hauptgrün */
    --primary-dark: #0f6131;     /* Dunkleres Grün */
    --accent: #a5d6a7;           /* Hellgrün / Akzent */
    --bg: #c8ebd2;               /* Hintergrund */
    --text: #222;
    --muted: #666;
    --radius: 14px;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header / Navigation */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(245, 248, 246, 0.94);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-logo {
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.95rem;
    justify-content: center;
}

.nav-links a {
    padding: 6px 0;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* aktive Seite markieren */
.nav-links a.active {
    font-weight: 600;
    color: var(--primary-dark);
}

.nav-links a.active::after {
    width: 100%;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.nav-contact span {
    font-weight: 600;
    white-space: nowrap;
}

/* Buttons */

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(26, 143, 74, 0.32);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 97, 49, 0.45);
}

.btn-secondary {
    background: #fff;
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.btn-secondary:hover {
    border-color: rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 13px 26px rgba(0, 0, 0, 0.08);
}

/* Allgemeines Layout */

main {
    flex: 1;
}

section.page-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 26px 20px 30px;
}

.section-header {
    margin-bottom: 16px;
}

.section-header h1,
.section-header h2 {
    margin: 0 0 6px;
}

.section-header p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

/* Startseite (Hero) */

.hero {
    max-width: 1100px;
    margin: 24px auto 10px;
    padding: 24px 20px 10px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 30px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.8rem;
    color: var(--muted);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
    margin-bottom: 14px;
}

.hero-badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2ecc71;
}

.hero h1 {
    font-size: clamp(2.1rem, 3vw, 2.6rem);
    margin: 0 0 14px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-sub {
    font-size: 0.98rem;
    color: var(--muted);
    max-width: 35rem;
}

.hero-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--muted);
}

.hero-side {
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
}

/* Karten / Boxen */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px 16px 14px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
}

.card h3 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

/* einfache Listen */

ul.clean {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 0;
}

ul.clean li::before {
    content: "•";
    color: var(--primary);
    font-weight: 700;
    display: inline-block;
    width: 1em;
    margin-left: 0;
}

/* kleine Meta-Zeilen bei Rezensionen */

.review-meta {
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--muted);
    font-style: italic;
}

/* Kontaktbox */

.kontakt-box {
    background: var(--primary-dark);
    color: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.kontakt-row {
    margin-top: 6px;
    font-size: 0.9rem;
}

/* Footer */

footer {
    margin-top: 30px;
    padding: 16px 20px 22px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.8rem;
    color: var(--muted);
    background: #ffffff;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.footer-info {
    max-width: 380px;
}

.footer-copy {
    margin-top: 6px;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Social Media Icons */
.footer-social {
    margin-top: 10px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.social-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--muted);
    transition: 0.25s ease;
}

.social-icon:hover svg {
    fill: var(--primary-dark);
    transform: scale(1.12);
}

/* Klickbare Karten (Leistungen) */

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

/* ============================= */
/*        MOBILE ANPASSUNGEN     */
/* ============================= */

/* Tablets & kleine Laptops */
@media (max-width: 900px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .nav-contact {
        align-self: stretch;
        justify-content: space-between;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 18px;
    }

    .hero-side {
        order: 2;
    }
}

/* Smartphones */
@media (max-width: 600px) {

    header {
        position: static; /* Sticky kann auf Handy manchmal nerven */
    }

    .nav {
        padding: 10px 14px;
        gap: 6px;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .nav-links {
        justify-content: flex-start;
        row-gap: 4px;
        column-gap: 12px;
        font-size: 0.9rem;
    }

    .nav-contact span {
        display: none; /* Nur Button auf sehr kleinen Bildschirmen */
    }

    .nav-contact {
        align-self: stretch;
        justify-content: flex-end;
    }

    section.page-section {
        padding: 20px 14px 24px;
    }

    .hero {
        margin: 10px auto 0;
        padding: 18px 14px 6px;
    }

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

    .hero-sub {
        font-size: 0.9rem;
    }

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

    footer {
        padding: 14px 14px 18px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
/* ========================================= */
/*                MOBILE FIXES               */
/* ========================================= */

@media (max-width: 768px) {

    /* Navigation fix */
    .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .nav-links {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px 16px;
        justify-content: flex-start;
        font-size: 0.9rem;
    }

    .nav-contact {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .nav-contact span {
        display: none; /* Telefonnummer verbergen */
    }

    .btn-primary {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    /* Hero fix */
    .hero {
        grid-template-columns: 1fr; /* Macht 1 Spalte */
        gap: 22px;
        margin-top: 0;
    }

    .hero-side {
        order: 2;
    }

    .hero-badge {
        margin-top: 10px;
    }

    /* Karten auf 1 Spalte */
    .card-grid {
        grid-template-columns: 1fr;
    }
}
