:root {
    --primary: #2d7a4f;
    --primary-soft: #d1f4e0;
    --primary-dark: #1e5a37;
    --bg: #f5f5f7;
    --text: #1f2933;
    --muted: #6b7280;
    --border: #e5e7eb;
    --surface: #ffffff;
    --scale: 1;
    /* FHD bleibt 1x */
}

/* NUR WQHD+ skalieren - FHD unverändert */
@media (min-width: 1920px) {
    :root {
        --scale: 1.18;
    }
}

@media (min-width: 2560px) {
    :root {
        --scale: 1.28;
    }
}

/* SKALIERUNG ANWENDEN (FHD: keine Änderung) */
html {
    font-size: calc(16px * var(--scale, 1));
}

.container {
    max-width: calc(1200px * var(--scale, 1)) !important;
    /* FHD: 1200px, WQHD: 1416px */
    padding: 0 calc(1.8rem * var(--scale, 1));
}



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Safari support */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom-color: var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-logo {
    height: 40px;
    width: auto;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.brand-tagline {
    font-size: 0.8rem;
    color: var(--muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.9rem;
}

.main-nav a {
    color: var(--muted);
}

.main-nav a:hover {
    color: var(--text);
}

.nav-call {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--primary);
    color: var(--primary-dark);
    font-weight: 600;
}



/* Base styles for mobile elements (hidden on desktop) */
.burger-menu,
.mobile-nav-overlay {
    display: none;
}


.section {
    padding: 3rem 0;
}

.section-alt {
    background: #ffffff;
}

.section-contact {
    background: #f9fafb;
}


.section-header {
    margin-bottom: 1.6rem;
    max-width: 620px;
}

.text-center {
    text-align: center;
}

.lead-text {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}


.section-label {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 0.2rem;
}

.section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.section-header p {
    font-size: 0.95rem;
    color: var(--muted);
}

/* Highlight-Text im H1 */

.highlight-text {
    background-image: linear-gradient(120deg, #2d7a4f, #4a9d6f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Buttons */

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #236b44 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 4px 12px rgba(45, 122, 79, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3a8f62 0%, #2d7a4f 100%);
    box-shadow: 0 6px 16px rgba(45, 122, 79, 0.35);
    transform: translateY(-1px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.5);
    border-color: var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background: #fff;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

/* Hero */

.hero {
    padding: 3.5rem 0 3rem;
    background: radial-gradient(circle at top left, #ffffff 0, #f3f4f6 55%, #e5e7eb 100%);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2.2rem;
    align-items: center;
}

.hero-label {
    font-size: 0.85rem;
    color: var(--primary-dark);
    background: var(--primary-soft);
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.7rem;
}

.hero h1 {
    font-size: clamp(2rem, 3vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 0.6rem;
}

.hero-text {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.hero-list {
    list-style: none;
    margin-bottom: 1.2rem;
}

.hero-list li {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.35rem;
    position: relative;
    padding-left: 1.2rem;
}

.hero-list li::before {
    content: "•";
    position: absolute;
    left: 0.2rem;
    color: var(--primary);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.hero-note {
    font-size: 0.78rem;
    color: var(--muted);
}

/* Hero-Slider mit JS */

.hero-slider {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    background: #e5e7eb;
}

/* Bilder abdunkeln */
.hero-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: 1;
}

.hero-slider-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider-inner .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* sichtbarer Slide */
.hero-slider-inner .slide.active {
    opacity: 1;
}

/* Logo zentral, ohne Rahmen */
.hero-slider-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.hero-slider-logo img {
    height: 150px;
    /* Feste Höhe */
    width: 300px;
    /* Feste Breite für 2:1 Ratio - passe an dein Logo an */
    max-width: 100%;
    /* Responsive */
    object-fit: contain;
    /* Verhindert Verzerrung - skaliert proportional */
    object-position: center;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.hero-slider-logo img:hover {
    transform: scale(1.05);
    /* Sanftere Skalierung statt 1.2 */
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.4));
}


/* Grid & Cards */

/* Grid & Cards */

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: rgba(45, 122, 79, 0.1);
    background: #ffffff;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.card p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Nano Restored Classic */
#nano {
    background: var(--surface);
    /* Standard Hintergrund */
    position: relative;
}

.nano-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.feature-card {
    background: var(--surface);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
    /* Standard Shadow */
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    /* Kein extra Schatten-Change nötig, passt so */
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Nano */

.nano-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2rem;
}

.nano-layout p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.6rem;
}

.nano-layout h3 {
    margin-top: 0.8rem;
    margin-bottom: 0.3rem;
}

.nano-aside {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.nano-box {
    background: #f9fafb;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
}

.nano-box h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.nano-box ul {
    list-style: none;
    padding-left: 0;
}

.nano-box ul li {
    font-size: 0.86rem;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

/* STRICT GRID SYSTEM for Colors */
.nano-colors {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 Columns Desktop */
    gap: 1.2rem;
    margin-top: 2rem;
}

.color-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.8rem;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.color-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.color-swatch {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    margin-bottom: 0.6rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.color-item:hover .color-swatch img {
    transform: scale(1.1);
}

.color-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    display: block;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.color-item:hover .color-name {
    font-size: 0.88rem;
    color: var(--primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nano-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 3rem 0;
}

/* Response adjustment for strict grid */
@media (max-width: 900px) {
    .nano-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nano-colors {
        grid-template-columns: repeat(3, 1fr);
        /* 3 Columns Tablet */
    }
}

@media (max-width: 600px) {
    .nano-colors {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns Mobile */
        gap: 0.8rem;
    }
}


/* Vorher/Nachher */
.before-after {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.before-after-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Vorher/Nachher */
.before-after {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.before-after-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.before-after-images figure {
    background: #f9fafb;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.before-after-images img {
    width: 100%;
    height: auto;
    display: block;
}

.before-after-images figcaption {
    font-size: 0.8rem;
    color: var(--muted);
    padding: 0.4rem 0.6rem;
}

.before-after-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.before-after-info p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.8rem;
}


/* Galerie */

.gallery h3 {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-item {
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 0.5rem;
}

.gallery-item figcaption {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.3rem;
}

/* Familie */

.familie-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2rem;
}

.familie-layout p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.6rem;
}

.familie-card {
    background: var(--surface);
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 1.1rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.familie-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

/* Kontakt */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
}

.contact-info-card,
.contact-form-card {
    background: var(--surface);
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 1.3rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.3rem;
}

.contact-form-card h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
}

.contact-form-card form {
    display: grid;
    gap: 0.7rem;
}

.contact-form-card label {
    font-size: 0.85rem;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

input,
textarea {
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    font-family: inherit;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(45, 122, 79, 0.3);
}

.form-hint {
    font-size: 0.78rem;
    color: var(--muted);
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border);
    background: #ffffff;
    padding: 1.1rem 0 1.5rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    justify-content: space-between;
}

/* Responsive */

@media (max-width: 900px) {

    .hero-layout,
    .nano-layout,
    .before-after,
    .familie-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .before-after-images {
        grid-template-columns: 1fr;
    }

    .gallery-grid,
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }

    .main-nav {
        gap: 0.7rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .main-nav {
        display: none;
    }

    /* BURGER MENU VISIBLE ON MOBILE */
    .burger-menu {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 101;
        /* Higher than header */
        padding: 5px;
    }

    .burger-menu span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--text);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Burger Animation Active */
    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* MOBILE NAV OVERLAY */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        z-index: 100;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: transform 0.4s ease-in-out;
        transform: translateX(100%);
        /* Hidden by default */
        display: flex;
    }

    .mobile-nav-overlay.active {
        transform: translateX(0);
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        font-size: 1.3rem;
        font-weight: 600;
    }

    .mobile-nav-links a {
        color: var(--text);
    }


    .section {
        padding: 2.2rem 0;
    }

    .hero {
        padding-top: 2.4rem;
    }

    .gallery-grid,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   VIDEO GALERIE - 2x2 GRID
   ═══════════════════════════════════════════════════════════════════════ */

.video-gallery {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Spalten Desktop */
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.video-card {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.video-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #000;
    outline: none;
}

.video-caption {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
    background: #fff;
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        /* 1 Spalte Mobile */
        max-width: 500px;
    }
}




/* Whats App*/
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    overflow: hidden;
}

.whatsapp-float img {
    width: 42px;
    height: 42px;
    /* Perfekte Größe */
    filter: brightness(0) invert(1);
    /* Grün auf WhatsApp-Grün */
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

/* ═══════════════════════════════════════════════════════════════════════
   BUTTONS & STATUS
   ═══════════════════════════════════════════════════════════════════════ */

.btn-primary {
    position: relative;
    overflow: hidden;
    background: var(--primary);
    border: 2px solid transparent;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(45, 122, 79, 0.25);
    transition: all 0.3s ease;
}

.status-message {
    display: none;
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    font-weight: 600;
    text-align: center;
}

.status-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ═══════════════════════════════════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 10000;
    /* Ganz oben */
    border-top: 1px solid var(--border);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text);
    margin: 0;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* Mobile Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-buttons button {
        width: 100%;
    }

    /* Mehr Platz für Content auf Mobile */
    .section {
        padding: 2.5rem 0;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.6rem !important;
    }

    .container {
        padding: 0 1.2rem;
    }
}