/* ═══════════════════════════════
   GRAVO — Main Stylesheet
   Light/Dark theme via data-theme
═══════════════════════════════ */

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

/* ── Theme Variables ── */
[data-theme="light"] {
    --bg: #fefcf8;
    --bg-alt: #f5f0e6;
    --text: #1a2e1a;
    --text-muted: #6b7a65;
    --surface: #f5f0e6;
    --surface-border: rgba(0,0,0,0.06);
    --green: #2E7D32;
    --green-hover: #256d2a;
    --leaf: #8BC34A;
    --leaf-bg: rgba(139,195,74,0.08);
    --orange: #FF9800;
    --gold: #c49530;
    --gold-bg: rgba(196,149,48,0.08);
    --nav-bg: rgba(254,252,248,0.92);
    --nav-border: rgba(0,0,0,0.05);
    --footer-bg: #1a2e1a;
    --footer-text: #b5c4a8;
    --input-bg: #fff;
    --input-border: rgba(0,0,0,0.1);
    --wa-float-bg: #25D366;
    --cookie-bg: #1a2e1a;
    --cookie-text: #f5f2ea;
    --flash-success-bg: #e8f5e9;
    --flash-success-text: #1b5e20;
    --flash-error-bg: #fef2f2;
    --flash-error-text: #c0392b;
}

[data-theme="dark"] {
    --bg: #0e1a0e;
    --bg-alt: #152115;
    --text: #f5f2ea;
    --text-muted: #8a9a7e;
    --surface: #1a2c1a;
    --surface-border: rgba(139,195,74,0.08);
    --green: #3a9940;
    --green-hover: #2E7D32;
    --leaf: #8BC34A;
    --leaf-bg: rgba(139,195,74,0.1);
    --orange: #FF9800;
    --gold: #d4a843;
    --gold-bg: rgba(212,168,67,0.1);
    --nav-bg: rgba(14,26,14,0.92);
    --nav-border: rgba(139,195,74,0.06);
    --footer-bg: #0a120a;
    --footer-text: #6a7a5e;
    --input-bg: rgba(139,195,74,0.03);
    --input-border: rgba(139,195,74,0.1);
    --wa-float-bg: #25D366;
    --cookie-bg: #1a2c1a;
    --cookie-text: #f5f2ea;
    --flash-success-bg: rgba(46,125,50,0.15);
    --flash-success-text: #8BC34A;
    --flash-error-bg: rgba(192,57,43,0.1);
    --flash-error-text: #e74c3c;
}

:root {
    --font-ui: 'Bricolage Grotesque', system-ui, sans-serif;
}

html {
    background: var(--bg);
    color: var(--text);
    scroll-behavior: smooth;
    transition: background-color 0.3s, color 0.3s;
}

body {
    font-family: 'Lora', Georgia, serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

::selection { background: var(--leaf); color: var(--bg); }
a { color: inherit; }
img { display: block; max-width: 100%; }
.icon { display: inline-block; vertical-align: middle; }

/* Icons inherit text color via CSS filter */
[data-theme="dark"] .icon { filter: brightness(0) invert(0.85); }
[data-theme="light"] .icon { filter: brightness(0) invert(0.3); }
.footer .icon { filter: brightness(0) invert(0.6); }

/* ── Canvas ── */
#garden-scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.page-content { position: relative; z-index: 1; }

/* ── Headings ── */
.sec-tag { font-family: var(--font-ui); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); margin-bottom: 0.8rem; }
.sec-title { font-family: var(--font-ui); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 1rem; }
.sec-title .green, .hero__h1 .green { color: var(--green); }
.sec-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; max-width: 500px; margin-bottom: 3rem; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 800px; }
.section { padding: 6rem 2rem; }
.divider { max-width: 1200px; margin: 0 auto; height: 1px; background: linear-gradient(to right, transparent, var(--surface-border), transparent); }

/* ── Nav ── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.2rem 3rem;
    display: flex; justify-content: space-between; align-items: center;
    transition: background 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled { background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--nav-border); }
.nav__logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.nav__logo img { height: 26px; width: auto; display: block; }
[data-theme="dark"] .nav__logo img { filter: brightness(0) invert(1); }
.nav__links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav__links a { font-family: var(--font-ui); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.nav__links a:hover, .nav__links a.active { color: var(--green); }
.nav__cta { background: var(--green) !important; color: #fff !important; padding: 0.5rem 1.3rem !important; transition: background 0.3s !important; }
.nav__cta:hover { background: var(--green-hover) !important; }
.nav__right { display: flex; align-items: center; gap: 0.8rem; }

/* Theme toggle */
.theme-toggle { background: none; border: none; cursor: pointer; padding: 0.4rem; display: flex; align-items: center; }
.theme-toggle img { filter: brightness(0.5); transition: filter 0.3s; }
[data-theme="dark"] .theme-toggle img { filter: brightness(1) invert(0.7) sepia(1) saturate(3) hue-rotate(70deg); }
[data-theme="light"] .theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: block; }

/* Burger */
.nav__burger { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.nav__burger img { filter: brightness(0.3); }
[data-theme="dark"] .nav__burger img { filter: brightness(1) invert(0.7) sepia(1) saturate(3) hue-rotate(70deg); }

/* ── Buttons ── */
.btn {
    font-family: var(--font-ui); font-size: 0.82rem; font-weight: 600;
    padding: 0.9rem 2rem; letter-spacing: 0.04em; text-decoration: none;
    transition: all 0.3s; cursor: pointer; border: 2px solid transparent; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-hover); }
.btn--green .icon, .btn--whatsapp .icon { filter: brightness(0) invert(1); }
.btn--outline { background: none; border: 2px solid var(--text); color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--bg); }
.btn--outline:hover .icon { filter: brightness(0) invert(1); }
.btn--block { width: 100%; justify-content: center; }
.btn--whatsapp { background: #25D366; color: #fff; gap: 0.5rem; }
.btn--whatsapp:hover { background: #1ebe57; }

/* ── Hero ── */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 8rem 3rem 4rem; max-width: 1200px; margin: 0 auto; }
.hero--sm { min-height: 50vh; padding-bottom: 3rem; }
.hero__inner { max-width: 800px; }
.hero__tag { font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); margin-bottom: 1.5rem; }
.hero__h1 { font-family: var(--font-ui); font-weight: 800; font-size: clamp(3rem, 6vw, 5rem); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.hero__sub { font-size: 1.1rem; line-height: 1.8; color: var(--text-muted); max-width: 500px; margin-bottom: 2.5rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Service Cards ── */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.svc { background: var(--surface); border: 1px solid var(--surface-border); padding: 2.2rem; display: grid; grid-template-columns: 40px 1fr; gap: 1.2rem; align-items: start; transition: border-color 0.3s; }
.svc:hover { border-color: rgba(46,125,50,0.2); }
.svc__icon { display: flex; align-items: center; justify-content: center; }
.svc__icon img { filter: brightness(0) saturate(1) invert(0.3) sepia(1) hue-rotate(70deg); }
.svc__title { font-family: var(--font-ui); font-weight: 700; font-size: 1.15rem; margin-bottom: 0.5rem; }
.svc__text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.svc__price { display: inline-block; margin-top: 0.8rem; font-family: var(--font-ui); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); padding: 0.25rem 0.6rem; background: var(--gold-bg); }

/* ── Compare Strip ── */
.compare-strip { background: var(--green); padding: 4rem 2rem; color: #fff; }
.compare-strip__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.compare-strip h2 { font-family: var(--font-ui); font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.5rem); line-height: 1.15; }
.compare-strip h2 em { font-style: italic; font-weight: 300; }
.compare-strip__list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.compare-strip__list li { display: flex; gap: 0.7rem; font-size: 0.92rem; line-height: 1.5; align-items: flex-start; }
.compare-strip__list .icon { filter: brightness(0) invert(1); flex-shrink: 0; margin-top: 0.15rem; }
.compare-strip .icon { filter: brightness(0) invert(1); }

/* ── Process Steps ── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 3rem; }
.pstep { padding: 2rem; border-left: 1px solid var(--surface-border); }
.pstep:first-child { border-left: none; }
.pstep__num { font-family: var(--font-ui); font-weight: 800; font-size: 2rem; color: var(--leaf); opacity: 0.4; margin-bottom: 0.8rem; }
.pstep__title { font-family: var(--font-ui); font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.pstep__text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ── Testimonials ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.testi-card { background: var(--surface); padding: 2rem; border-left: 3px solid var(--green); }
.testi-card__stars { color: var(--orange); font-size: 0.85rem; margin-bottom: 0.8rem; }
.testi-card__text { font-style: italic; font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.testi-card__author { font-family: var(--font-ui); font-weight: 600; font-size: 0.8rem; }
.testi-card__meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.15rem; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.contact-info__row { display: flex; align-items: center; gap: 0.7rem; font-size: 0.88rem; }
.contact-info__row a { color: var(--green); text-decoration: none; }
.contact-info__row img { flex-shrink: 0; opacity: 0.6; }
.contact-whatsapp { margin-top: 2rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field label { display: block; font-family: var(--font-ui); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem; }
.form-field input, .form-field textarea, .form-field select {
    width: 100%; padding: 0.85rem 1rem; background: var(--input-bg);
    border: 1px solid var(--input-border); color: var(--text);
    font-family: 'Lora', Georgia, serif; font-size: 0.9rem;
    outline: none; transition: border-color 0.3s; -webkit-appearance: none; border-radius: 0;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--green); }
.form-field textarea { resize: vertical; min-height: 100px; }

.contact-trust { display: flex; gap: 1.5rem; margin-top: 1rem; flex-wrap: wrap; }
.contact-trust span { font-family: var(--font-ui); font-size: 0.7rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }

/* ── Service Detail ── */
.service-detail__header { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.service-detail__title { font-family: var(--font-ui); font-weight: 800; font-size: 1.8rem; }
.service-detail__desc { font-size: 1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; max-width: 600px; }
.service-detail__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 2rem; }
.service-detail__list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; }

/* ── Verleih gallery ── */
.verleih-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; margin: 0 0 1.75rem; }
.verleih-gallery__item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--bg-soft, #f4f4f4); }
.verleih-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.verleih-gallery__item:hover img { transform: scale(1.04); }
.service-detail__subhead { font-family: var(--font-ui); font-weight: 700; font-size: 1.05rem; margin: 1.5rem 0 1rem; }
.service-detail__subhead:first-of-type { margin-top: 0; }
.service-detail__notice { margin-top: 1rem; font-size: 0.95rem; opacity: 0.85; }

/* ── Lightbox ── */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 2rem; }
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox__close { position: absolute; top: 1.25rem; right: 1.25rem; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.lightbox__close:hover { background: rgba(255,255,255,0.25); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.lightbox__nav:hover { background: rgba(255,255,255,0.25); }
.lightbox__nav--prev { left: 1.25rem; }
.lightbox__nav--next { right: 1.25rem; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about__text { font-size: 1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; max-width: 500px; }
.about-values { display: flex; flex-direction: column; gap: 2rem; }
.about-value, .faq-item { border-left: 3px solid var(--green); padding-left: 1.5rem; }
.about-value__title { font-family: var(--font-ui); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.3rem; }
.about-value__text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.about-region .about__text { max-width: 100%; }
.faq-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.faq-item__q { font-family: var(--font-ui); font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }
.faq-item__a { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin: 0; }
.mt-6 { margin-top: 1.5rem; }

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card { background: var(--surface); padding: 2rem; border: 1px solid var(--surface-border); transition: border-color 0.3s; }
.blog-card:hover { border-color: rgba(46,125,50,0.2); }
.blog-card__date { font-family: var(--font-ui); font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.blog-card__title { font-family: var(--font-ui); font-weight: 700; font-size: 1.15rem; margin-bottom: 0.5rem; }
.blog-card__title a { text-decoration: none; }
.blog-card__title a:hover { color: var(--green); }
.blog-card__excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.blog-card__link { font-family: var(--font-ui); font-size: 0.78rem; font-weight: 600; color: var(--green); text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; }

.back-link { display: inline-flex; align-items: center; gap: 0.3rem; font-family: var(--font-ui); font-size: 0.78rem; color: var(--text-muted); text-decoration: none; margin-bottom: 2rem; }
.back-link:hover { color: var(--green); }
.back-link img { transform: rotate(180deg); }

.blog-article__date { font-family: var(--font-ui); font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.blog-article__title { font-family: var(--font-ui); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; margin-bottom: 1rem; }
.blog-article__excerpt { font-size: 1.1rem; color: var(--text-muted); font-style: italic; line-height: 1.7; margin-bottom: 2rem; }
.blog-article__content { font-size: 1rem; line-height: 1.9; }
.blog-article__content h2 { font-family: var(--font-ui); font-weight: 700; font-size: 1.4rem; margin: 2rem 0 1rem; }
.blog-article__content p { margin-bottom: 1.2rem; }
.blog-article__content ul, .blog-article__content ol { margin: 1rem 0 1rem 1.5rem; }
.blog-article__cta { margin-top: 3rem; padding: 2rem; background: var(--surface); text-align: center; }
.blog-article__cta h3 { font-family: var(--font-ui); font-weight: 700; margin-bottom: 0.5rem; }
.blog-article__cta p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1rem; }

/* ── Empty State ── */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text-muted); font-size: 0.95rem; }

/* ── Footer ── */
.footer { background: var(--footer-bg); color: var(--footer-text); padding: 1.5rem 2rem 0.75rem; margin-top: 2rem; }
.footer__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
.footer__logo { margin-bottom: 0.6rem; }
.footer__logo img { height: 56px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer__tagline { font-size: 0.82rem; opacity: 0.6; margin-bottom: 1rem; }
.footer__contact-items { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.82rem; }
.footer__contact-items a { color: var(--footer-text); text-decoration: none; }
.footer__contact-items a:hover { color: var(--leaf); }
.footer__col h4 { font-family: var(--font-ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 0.5rem; }
.footer__col ul a { color: var(--footer-text); text-decoration: none; font-size: 0.82rem; transition: color 0.3s; }
.footer__col ul a:hover { color: var(--leaf); }
.footer__copy { font-size: 0.72rem; opacity: 0.5; margin-top: 0.4rem; }

/* ── WhatsApp Float ── */
.wa-float {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--wa-float-bg); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,0.4); }
.wa-float .icon, .wa-float img { filter: brightness(0) invert(1) !important; }

/* ── Cookie Banner ── */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
    background: var(--cookie-bg); color: var(--cookie-text);
    padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; font-size: 0.82rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.cookie-banner a { color: var(--leaf); }
.cookie-banner__accept {
    background: var(--green); color: #fff; border: none; padding: 0.5rem 1.2rem;
    font-family: var(--font-ui); font-size: 0.78rem; font-weight: 600;
    cursor: pointer; flex-shrink: 0;
}

/* ── Flash Messages ── */
.flash {
    max-width: 1200px; margin: 1rem auto; padding: 0.8rem 1.2rem; font-size: 0.88rem;
    transition: opacity 0.3s;
}
.flash--success { background: var(--flash-success-bg); color: var(--flash-success-text); }
.flash--error { background: var(--flash-error-bg); color: var(--flash-error-text); }

/* ── Legal Pages ── */
.legal-content h2 { font-family: var(--font-ui); font-weight: 800; font-size: 1.4rem; margin: 2.5rem 0 1rem; }
.legal-content h3 { font-family: var(--font-ui); font-weight: 700; font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.legal-content p { font-size: 0.92rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 1rem; }
.legal-content a { color: var(--green); }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-content hr { border: none; border-top: 1px solid var(--surface-border); margin: 2.5rem 0; }

/* ── Before/After Slider ── */
.ba-projects { display: flex; flex-direction: column; gap: 3rem; }
.ba-project__info { margin-bottom: 1rem; }
.ba-project__title { font-family: var(--font-ui); font-weight: 700; font-size: 1.15rem; margin-bottom: 0.2rem; }
.ba-project__meta { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }

.ba-slider { position: relative; overflow: hidden; cursor: ew-resize; user-select: none; -webkit-user-select: none; aspect-ratio: 16/9; border: 1px solid var(--surface-border); }
.ba-side { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ba-before {
    z-index: 1;
    background: linear-gradient(135deg,
        hsl(var(--ba-hue,30) var(--ba-sat,40%) var(--ba-light,35%)),
        hsl(var(--ba-hue,30) calc(var(--ba-sat,40%) - 10%) calc(var(--ba-light,35%) - 5%))
    );
}
.ba-before::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0px, rgba(0,0,0,0.04) 2px, transparent 2px, transparent 10px); }
.ba-after {
    z-index: 2; clip-path: inset(0 50% 0 0);
    background: linear-gradient(135deg,
        hsl(var(--ba-hue,110) var(--ba-sat,50%) var(--ba-light,40%)),
        hsl(var(--ba-hue,110) calc(var(--ba-sat,50%) - 5%) calc(var(--ba-light,40%) + 5%))
    );
}
.ba-after::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 14px); }
.ba-label {
    padding: 0.3rem 0.8rem; font-family: var(--font-ui);
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(255,255,255,0.8); background: rgba(0,0,0,0.25);
}
.ba-handle {
    position: absolute; top: 0; bottom: 0; width: 3px; background: #fff;
    z-index: 10; left: 50%; transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(0,0,0,0.3); pointer-events: none;
}
.ba-handle span {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 32px; height: 32px; background: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.ba-handle span::before { content: '⟨⟩'; font-size: 0.7rem; color: var(--green); }

/* ── Konfigurator ── */
.konfig-step { margin-bottom: 2.5rem; }
.konfig-step__label { font-family: var(--font-ui); font-weight: 700; font-size: 1rem; margin-bottom: 0.8rem; display: flex; justify-content: space-between; align-items: center; }
.konfig-step__value { font-weight: 800; color: var(--green); }

.konfig-slider { -webkit-appearance: none; width: 100%; height: 6px; background: var(--surface); border-radius: 3px; outline: none; border: none; }
.konfig-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--green); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.konfig-range-labels { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--text-muted); margin-top: 0.3rem; font-family: var(--font-ui); }

.konfig-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.konfig-svc { cursor: pointer; }
.konfig-svc input { position: absolute; opacity: 0; pointer-events: none; }
.konfig-svc__inner { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 1.2rem 0.8rem; background: var(--surface); border: 2px solid transparent; text-align: center; transition: all 0.3s; }
.konfig-svc input:checked + .konfig-svc__inner { border-color: var(--green); background: var(--leaf-bg); }
.konfig-svc__inner:hover { border-color: rgba(46,125,50,0.3); }
.konfig-svc__icon { opacity: 0.3; transition: opacity 0.3s; }
.konfig-svc input:checked + .konfig-svc__inner .konfig-svc__icon { opacity: 1; }
.konfig-svc__icon img { filter: brightness(0) saturate(1) invert(0.3) sepia(1) hue-rotate(70deg); }
.konfig-svc__name { font-family: var(--font-ui); font-size: 0.78rem; font-weight: 600; }
.konfig-svc__price { font-size: 0.68rem; color: var(--text-muted); }

.konfig-toggle-row { display: flex; align-items: center; gap: 1rem; justify-content: center; }
.konfig-freq { font-family: var(--font-ui); font-size: 0.85rem; font-weight: 500; color: var(--text-muted); transition: color 0.3s; }
.konfig-freq.active { color: var(--green); font-weight: 700; }
.konfig-toggle { width: 50px; height: 26px; background: var(--surface); border-radius: 13px; cursor: pointer; position: relative; border: 1px solid var(--surface-border); transition: background 0.3s; padding: 0; }
.konfig-toggle span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: transform 0.3s; display: block; }
.konfig-toggle.on { background: var(--green); border-color: var(--green); }
.konfig-toggle.on span { transform: translateX(24px); }

.konfig-estimate { background: var(--surface); padding: 2rem; text-align: center; margin-bottom: 2rem; border: 1px solid var(--surface-border); }
.konfig-estimate__label { font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.konfig-estimate__price { font-family: var(--font-ui); font-size: 3rem; font-weight: 800; color: var(--green); line-height: 1; transition: all 0.3s; }
.konfig-estimate__unit { font-family: var(--font-ui); font-size: 0.82rem; color: var(--text-muted); margin-top: 0.3rem; }
.konfig-estimate__note { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.8rem; line-height: 1.5; }
.konfig-estimate__saving { display: inline-block; margin-top: 0.8rem; font-family: var(--font-ui); font-size: 0.72rem; font-weight: 600; color: var(--gold); padding: 0.3rem 0.8rem; background: var(--gold-bg); }

.konfig-cta { background: var(--green); padding: 2.5rem; color: #fff; }
.konfig-cta h3 { font-family: var(--font-ui); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.5rem; text-align: center; }
.konfig-cta p { font-size: 0.85rem; opacity: 0.8; text-align: center; margin-bottom: 1.5rem; }
.konfig-form .form-field input,
.konfig-form .form-field textarea { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }
.konfig-form .form-field input::placeholder,
.konfig-form .form-field textarea::placeholder { color: rgba(255,255,255,0.4); }
.konfig-form .form-field input:focus,
.konfig-form .form-field textarea:focus { border-color: rgba(255,255,255,0.5); }
.konfig-form .form-field label { color: rgba(255,255,255,0.6); }
.konfig-form .btn--green { background: #fff; color: var(--green); }
.konfig-form .btn--green:hover { background: var(--bg); }

@media (max-width: 550px) {
    .konfig-services { grid-template-columns: repeat(2, 1fr); }
}

/* ── Scroll Reveal ── */
.sr { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.sr.vis { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .nav { padding: 1rem 1.5rem; }
    .nav__links { display: none; }
    .nav__burger { display: block; }
    .nav:has(.nav__links.open) {
        inset: 0; background: var(--bg);
        backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: none;
    }
    .nav__links.open {
        display: flex; flex-direction: column; position: absolute; inset: 0;
        background: var(--bg); align-items: center; justify-content: center;
        gap: 1.5rem; z-index: 999;
    }
    .nav__links.open a { font-size: 1.2rem; color: var(--text); }

    .hero { padding: 7rem 1.5rem 3rem; }
    .svc-grid { grid-template-columns: 1fr; }
    .compare-strip__inner { grid-template-columns: 1fr; gap: 2rem; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .pstep { border-left: none; border-top: 1px solid var(--surface-border); }
    .pstep:first-child, .pstep:nth-child(2) { border-top: none; }
    .testi-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .service-detail__list { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 4rem 1.5rem; }
}

@media (max-width: 550px) {
    .process-grid { grid-template-columns: 1fr; }
    .pstep { border-top: 1px solid var(--surface-border); border-left: none; }
    .pstep:first-child { border-top: none; }
    .hero__actions { flex-direction: column; }
    .footer__inner { grid-template-columns: 1fr; }
    .cookie-banner { flex-direction: column; text-align: center; }
}
