:root {
    --green: #0a8f3a;
    --green-dark: #087533;
    --bg: #ffffff;
    --text: #121212;
    --muted: rgba(18, 18, 18, 0.65);
    --card: #ffffff;
    --line: rgba(18, 18, 18, 0.12);
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    /* чтобы якорь не прятался под topbar */
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans";
    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.topbar__inner {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand__mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(10, 143, 58, 0.12);
    border: 1px solid rgba(10, 143, 58, 0.22);
    font-weight: 800;
    color: var(--green);
}

.brand__name {
    font-weight: 800;
    letter-spacing: 0.2px;
}

.brand__sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.nav {
    display: flex;
    gap: 22px;
    align-items: center;
}

.nav__link {
    font-size: 14px;
    color: rgba(18, 18, 18, 0.8);
}

.nav__link:hover {
    color: var(--text);
}

.topbar__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    transition: transform 0.06s ease, background 0.15s ease, border 0.15s ease;
    user-select: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: var(--green);
    color: white;
}

.btn--primary:hover {
    background: var(--green-dark);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.14);
}

.btn--ghost:hover {
    border-color: rgba(0, 0, 0, 0.22);
}

.btn--lg {
    padding: 14px 20px;
    border-radius: 14px;
}

.btn--full {
    width: 100%;
}

.hero {
    position: relative;
    padding: 54px 0 64px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.82) 38%, rgba(255, 255, 255, 0.60) 60%, rgba(255, 255, 255, 0.72) 100%),
        url("../assets/img/nawes.jpeg");
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
    transform: scale(1.02);
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: start;
}

.hero__kicker {
    font-weight: 800;
    letter-spacing: 1.3px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero__title {
    margin: 14px 0 8px;
    font-size: 64px;
    line-height: 0.95;
    letter-spacing: -0.8px;
    color: white;
    text-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

.hero__subtitle {
    margin: 0 0 22px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.hero__ctaRow {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.card {
    background: var(--card);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.card__title {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 6px;
}

.card__subtitle {
    color: var(--green);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 14px;
}

.form {
    display: grid;
    gap: 12px;
}

.input,
.textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: rgba(10, 143, 58, 0.06);
    padding: 12px 14px;
    outline: none;
    font-size: 14px;
}

.input:focus,
.textarea:focus {
    border-color: rgba(10, 143, 58, 0.55);
    box-shadow: 0 0 0 4px rgba(10, 143, 58, 0.10);
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(18, 18, 18, 0.75);
    font-size: 12px;
    line-height: 1.35;
}

.checkbox input {
    margin-top: 3px;
}

.file {
    display: grid;
    gap: 8px;
}

.file__label {
    font-size: 12px;
    color: rgba(18, 18, 18, 0.72);
    font-weight: 700;
}

.file__input {
    width: 100%;
}

.form__status {
    font-size: 13px;
    margin-top: 4px;
    min-height: 18px;
    color: rgba(18, 18, 18, 0.78);
}

.section {
    padding: 56px 0;
}

.section--alt {
    background: rgba(10, 143, 58, 0.04);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: start;
}

.muted {
    color: var(--muted);
}

.benefitCards {
    display: grid;
    gap: 14px;
}

.benefitCard {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 16px 16px;
    border-radius: 18px;
    border: 1px solid rgba(10, 143, 58, 0.18);
    background: white;
    box-shadow: 0 14px 50px rgba(0, 0, 0, 0.08);
}

.benefitCard__icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(10, 143, 58, 0.10);
    border: 1px solid rgba(10, 143, 58, 0.18);
    font-weight: 900;
    color: var(--green);
}

.benefitCard__title {
    font-weight: 900;
}

.benefitCard__text {
    color: rgba(18, 18, 18, 0.68);
    font-size: 13px;
    margin-top: 4px;
    line-height: 1.45;
}

.cols3 {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.mini {
    padding: 10px 0;
}

.mini__title {
    font-weight: 900;
    margin-bottom: 6px;
}

.mini__text {
    color: rgba(18, 18, 18, 0.68);
    font-size: 14px;
    line-height: 1.55;
}

.footer {
    padding: 26px 0;
    background: white;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 18px;
}

.footer__links {
    display: flex;
    gap: 14px;
}

.footer__link {
    color: rgba(18, 18, 18, 0.70);
    font-size: 14px;
}

.footer__link:hover {
    color: var(--text);
}

@media (max-width: 980px) {
    .nav {
        display: none;
    }

    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__title {
        font-size: 52px;
    }

    .section__inner {
        grid-template-columns: 1fr;
    }

    .cols3 {
        grid-template-columns: 1fr;
    }

    .grid2 {
        grid-template-columns: 1fr;
    }
}

/* sticky form on desktop */
@media (min-width: 981px) {
    .hero__right {
        position: sticky;
        top: 96px;
        /* ниже topbar */
    }
}

/* burger button */
.burger {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: rgba(255, 255, 255, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: rgba(18, 18, 18, 0.78);
    border-radius: 2px;
}

/* show burger on mobile, hide desktop nav */
@media (max-width: 980px) {
    .burger {
        display: inline-flex;
    }

    .nav {
        display: none;
    }
}

/* mobile menu overlay */
.mobileMenu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(6px);
    display: none;
    z-index: 80;
}

.mobileMenu__panel {
    position: absolute;
    top: 84px;
    left: 16px;
    right: 16px;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
    padding: 10px;
}

.mobileMenu__link {
    display: block;
    padding: 14px 12px;
    border-radius: 12px;
    font-weight: 800;
    color: rgba(18, 18, 18, 0.82);
}

.mobileMenu__link:hover {
    background: rgba(10, 143, 58, 0.08);
    color: rgba(18, 18, 18, 1);
}

/* open state */
.mobileMenu.is-open {
    display: block;
}

/* ============================= */
/* BUTTONS – aluminiumowy style */
/* ============================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 22px;
    min-height: 44px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: none;

    border-radius: 8px;
    /* менее круглая форма */
    border: 1px solid transparent;

    cursor: pointer;
    user-select: none;
    white-space: nowrap;

    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.05s ease;
}

/* primary (green) */
.btn--primary {
    background-color: #0a8f3a;
    color: #ffffff;
    border-color: #0a8f3a;
}

.btn--primary:hover {
    background-color: #087533;
    border-color: #087533;
    box-shadow: 0 6px 18px rgba(10, 143, 58, 0.35);
}

.btn--primary:active {
    transform: translateY(1px);
}

/* ghost / outline */
.btn--ghost {
    background-color: #ffffff;
    color: #111111;
    border-color: rgba(0, 0, 0, 0.2);
}

.btn--ghost:hover {
    background-color: #f3f3f3;
    border-color: rgba(0, 0, 0, 0.35);
}

/* large buttons (hero) */
.btn--lg {
    min-height: 48px;
    padding: 14px 26px;
    font-size: 15px;
}

/* full width (form submit) */
.btn--full {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
}

/* topbar button */
.topbar .btn--primary {
    min-height: 40px;
    padding: 10px 18px;
    font-size: 13px;
}

/* mobile touch comfort */
@media (max-width: 768px) {
    .btn {
        min-height: 48px;
    }
}

/* ========================= */
/* LOGO – competitor scale */
/* ========================= */

.topbar {
    height: 84px;
    /* ⬅️ как у конкурента */
}

.topbar__inner {
    height: 100%;
    display: flex;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand__logoWrap {
    height: 120px;
    /* ⬅️ ВОТ КЛЮЧ */
    display: flex;
    align-items: center;
}

.brand__logo {
    height: 100%;
    width: auto;
    max-width: 260px;
    /* ⬅️ даём ширину */
    object-fit: contain;
    display: block;
}

/* меню не едет */
.nav {
    align-items: center;
}

/* mobile */
@media (max-width: 768px) {
    .topbar {
        height: 150px;
    }

    .brand__logoWrap {
        height: 44px;
    }

    .brand__logo {
        max-width: 400px;
    }
}

/* ===========================
   Benefits — Premium (Variant A)
   =========================== */

#benefits {
    position: relative;
    overflow: hidden;
}

#benefits::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(1200px 520px at 70% 25%, rgba(10, 143, 58, .08), transparent 60%),
        radial-gradient(900px 420px at 20% 70%, rgba(0, 0, 0, .04), transparent 60%);
}

#benefits .section__inner {
    position: relative;
    z-index: 1;
}

/* If benefitCards is grid/flex already, this just improves spacing */
#benefits .benefitCards {
    gap: 18px;
}

#benefits .benefitCard {
    display: flex;
    gap: 14px;
    align-items: flex-start;

    padding: 18px 18px;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(10, 143, 58, 0.18);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);

    backdrop-filter: blur(8px);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#benefits .benefitCard:hover {
    transform: translateY(-2px);
    border-color: rgba(10, 143, 58, 0.30);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.12);
}

#benefits .benefitCard__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;

    display: grid;
    place-items: center;

    background: rgba(10, 143, 58, 0.12);
    border: 1px solid rgba(10, 143, 58, 0.20);

    flex: 0 0 44px;
}

#benefits .benefitCard__icon .ic {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #0a8f3a;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .95;
}

#benefits .benefitCard__title {
    font-weight: 800;
    letter-spacing: -0.2px;
}

#benefits .benefitCard__text {
    margin-top: 4px;
    color: rgba(0, 0, 0, 0.66);
    line-height: 1.35;
}

@media (max-width: 820px) {
    #benefits .benefitCard {
        padding: 16px;
        border-radius: 16px;
    }

    #benefits .benefitCard__icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        flex-basis: 42px;
    }
}

/* ===========================
   MOBILE MENU - GLOBAL FIX
   =========================== */

/* hidden by default */
.mobileMenu {
    display: none;
}

/* show when JS opens */
.mobileMenu.is-open,
.mobileMenu.isOpen,
.mobileMenu.open,
.mobileMenu[aria-hidden="false"] {
    display: block;
}

/* overlay */
.mobileMenu {
    position: fixed;
    inset: 0;
    z-index: 9999;
    padding: 86px 14px 14px;
    /* место под шапку */
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
}

/* panel */
.mobileMenu__panel {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(12, 12, 12, 0.62);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.mobileMenu__link {
    display: block;
    padding: 16px 16px;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}

.mobileMenu__link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.mobileMenu__link+.mobileMenu__link {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* make sure burger is clickable */
.burger {
    position: relative;
    z-index: 10000;
}

/* ✅ GREEN FOOTER like on screenshot #2 */
.footer.footer--green {
    background: #0a8f3a;
    color: rgba(255, 255, 255, .95);
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer.footer--green .footer__line {
    color: rgba(255, 255, 255, .92);
}

.footer.footer--green .footer__link {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .10);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.footer.footer--green .footer__link:hover {
    background: rgba(255, 255, 255, .16);
}

/* WhatsApp CTA */
.btn--whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #0b3d1f;
    font-weight: 900;
    border-radius: 999px;
    padding: 14px 20px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
    background: #1ebe5d;
    color: #0b3d1f;
}

.hero__whatsapp {
    margin-top: 14px;
}

/* WhatsApp CTA (hero) */
.hero__waRow {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.waBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: #0b3d1f;
    background: rgba(37, 211, 102, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.22);
    transition: transform .15s ease, opacity .15s ease;
}

.waBtn::before {
    content: "💬";
    font-size: 16px;
}

.waBtn:hover {
    transform: translateY(-1px);
    opacity: 0.98;
}

.waHint {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
    font-size: 13px;
}

/* Mobile tweaks */
@media (max-width: 820px) {
    .waBtn {
        width: 100%;
        font-size: 15px;
        padding: 14px 16px;
    }

    .waHint {
        width: 100%;
        text-align: center;
        font-size: 12px;
        opacity: 0.9;
    }
}

/* ===== Language-length fixes (DE) ===== */

/* 1) Allow hero buttons to wrap nicely */
.hero__ctaRow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* if buttons are too wide on desktop, let them shrink */
.hero__ctaRow .btn {
    flex: 0 1 auto;
}

/* on mobile: make buttons full width */
@media (max-width: 820px) {
    .hero__ctaRow .btn {
        width: 100%;
    }
}

/* 2) German strings are longer -> slightly smaller typography in key places */
html[lang="de"] .hero__title {
    line-height: 1.0;
}

html[lang="de"] .card__title {
    font-size: 18px;
    line-height: 1.15;
}

html[lang="de"] .card__subtitle {
    font-size: 12px;
}

/* 3) Form labels & buttons: avoid overflow */
html[lang="de"] .field__label {
    font-size: 11px;
}

html[lang="de"] .btn {
    font-size: 14px;
}

@media (max-width: 820px) {
    html[lang="de"] .btn {
        font-size: 13px;
    }
}