/* =====================================================================
   nonstop web – zentrales Stylesheet
   Mobile First · Marke: #c8da77
   ===================================================================== */

:root {
    --green: #c8da77;          /* Logo-Grün / Marke */
    --green-soft: #dde8ac;     /* helle Fläche */
    --green-tint: #f2f6e2;     /* sehr helle Fläche */
    --green-deep: #6d8319;     /* dunkles Oliv – Links/Text auf Weiß */
    --green-deeper: #55670f;   /* Hover */

    --ink: #1d2129;            /* Haupttext / Überschriften */
    --ink-soft: #3b414c;
    --muted: #616a78;          /* Fließtext gedämpft */
    --line: #e7e9e0;           /* Rahmen */
    --bg: #ffffff;
    --bg-alt: #f7f8f2;         /* Sektions-Wechselfarbe */
    --white: #ffffff;

    --shadow-sm: 0 2px 8px rgba(29, 33, 41, .06);
    --shadow-md: 0 12px 30px rgba(29, 33, 41, .10);
    --shadow-lg: 0 24px 60px rgba(29, 33, 41, .16);

    --radius: 14px;
    --radius-lg: 22px;
    --container: 1180px;

    --font-head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink-soft);
    background: var(--bg);
    line-height: 1.7;
    font-size: 1.02rem;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.18;
    margin: 0 0 .6em;
    font-weight: 600;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.15rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.42rem); }

p { margin: 0 0 1.1rem; }
a { color: var(--green-deep); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green-deeper); }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 22px;
}

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font-family: var(--font-head);
    font-weight: 600; font-size: 1rem;
    padding: .85em 1.7em;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
    line-height: 1;
    text-align: center;
}
.btn-sm { padding: .6em 1.2em; font-size: .92rem; }
.btn-primary {
    background: var(--green);
    color: var(--ink);
    box-shadow: 0 8px 20px rgba(157, 178, 88, .45);
}
.btn-primary:hover {
    background: #bdd05f;
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(157, 178, 88, .55);
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: rgba(29, 33, 41, .22);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 76px; gap: 1rem;
}
.brand-logo { height: 46px; width: auto; }

.main-nav { display: flex; align-items: center; }
.nav-list {
    list-style: none; display: flex; align-items: center; gap: .35rem;
}
.nav-list a {
    font-family: var(--font-head);
    font-weight: 500;
    color: var(--ink);
    padding: .55em .85em;
    border-radius: 8px;
    font-size: .98rem;
    position: relative;
}
.nav-list a:not(.btn)::after {
    content: ""; position: absolute; left: .85em; right: .85em; bottom: .3em;
    height: 2px; background: var(--green); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-list a:not(.btn):hover::after,
.nav-list a.active::after { transform: scaleX(1); }
.nav-list a.active { color: var(--green-deeper); }
.nav-cta-item { margin-left: .4rem; }

.nav-toggle {
    display: none;
    flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0;
    background: transparent; border: 1px solid var(--line); border-radius: 10px;
    cursor: pointer;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px; background: var(--ink);
    margin: 0 auto; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sektionen ---------- */
/* Jede Sektion bildet einen eigenen, gleichrangigen Stacking-Kontext.
   So malt eine spätere Sektion immer über eine frühere – verhindert, dass
   transformierte .reveal-Elemente (iOS-Safari-Compositing) über die
   Folge-Sektion hinausbluten. */
.section { padding: clamp(3.2rem, 7vw, 6rem) 0; position: relative; z-index: 0; }
.section-alt { background: var(--bg-alt); }
.section-tint { background: var(--green-tint); }

.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-block;
    font-family: var(--font-head); font-weight: 600;
    font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--green-deep);
    background: var(--green-tint);
    padding: .4em .9em; border-radius: 999px;
    margin-bottom: 1rem;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.text-muted { color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: #fff;
    min-height: min(88vh, 760px);
    display: flex; align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    z-index: -2;
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(105deg, rgba(20, 26, 12, .82) 0%, rgba(28, 36, 16, .62) 45%, rgba(30, 40, 20, .30) 100%);
}
.hero-inner { padding: clamp(3.5rem, 9vw, 6.5rem) 0; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .5em; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero .hero-kicker {
    color: var(--green);
    font-family: var(--font-head); font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; font-size: .9rem;
    margin-bottom: 1rem; display: inline-block;
}
.hero p { color: rgba(255,255,255,.94); font-size: 1.12rem; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Intro-Fließtext */
.prose p { color: var(--muted); }
.prose p:first-of-type { font-size: 1.14rem; color: var(--ink-soft); }
.intro-grid { display: grid; gap: 2.5rem; align-items: start; }

/* ---------- Stat-Badge ---------- */
.years-badge {
    display: inline-flex; align-items: baseline; gap: .4rem;
    font-family: var(--font-head);
}
.years-badge strong { font-size: 3rem; color: var(--green-deep); font-weight: 700; line-height: 1; }

/* ---------- Feature-/Leistungs-Kacheln ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.7rem;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
    min-width: 0;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-soft); }
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card-icon {
    width: 52px; height: 52px; border-radius: 13px;
    display: grid; place-items: center;
    background: var(--green-tint); color: var(--green-deep);
    margin-bottom: 1.1rem;
}
.card-icon svg { width: 26px; height: 26px; }

/* ---------- KI-Block (Intro-Spalte) ---------- */
.ki-card { text-align: left; }
.ki-card h3 { font-size: 1.18rem; margin-bottom: .6rem; color: var(--green-deeper); }
.ki-card p { color: var(--muted); font-size: .96rem; margin: 0 0 1rem; }
.ki-img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; display: block; }

/* ---------- Checklisten-Sektion ---------- */
.check-layout { display: grid; gap: 2.5rem; align-items: center; }
.check-list { list-style: none; display: grid; gap: .95rem; }
.check-list-cols { gap: .95rem 2rem; }
.check-list li {
    position: relative; padding-left: 2.4rem;
    font-weight: 500; color: var(--ink-soft);
}
.check-list li::before {
    content: ""; position: absolute; left: 0; top: .1em;
    width: 1.6rem; height: 1.6rem; border-radius: 50%;
    background: var(--green);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d2129' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 62%; background-position: center; background-repeat: no-repeat;
}
.check-visual {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.check-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Split-Bild-Sektion ---------- */
.split { display: grid; gap: 2.4rem; align-items: center; }
.split-media {
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.split-media img { width: 100%; object-fit: cover; }

/* ---------- Team ---------- */
.team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.team-card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    text-align: left;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--green-tint); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-body { padding: 1.1rem 1.2rem 1.35rem; }
.team-body h3 { margin: 0 0 .2rem; font-size: 1.18rem; }
.team-role { margin: 0; color: var(--green-deep); font-weight: 500; font-size: .95rem; }

/* ---------- Leistungs-Gruppen ---------- */
.service-group {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 1.9rem;
    box-shadow: var(--shadow-sm); height: 100%;
}
.service-group h3 {
    display: flex; align-items: center; gap: .6rem;
    padding-bottom: .9rem; margin-bottom: 1.1rem;
    border-bottom: 2px solid var(--green-soft);
}
.service-group .tag-badge {
    width: 40px; height: 40px; border-radius: 11px; flex: none;
    display: grid; place-items: center; background: var(--green); color: var(--ink);
}
.service-group .tag-badge svg { width: 22px; height: 22px; }
.service-list { list-style: none; display: grid; gap: .7rem; }
.service-list li { position: relative; padding-left: 1.7rem; color: var(--muted); }
.service-list li::before {
    content: ""; position: absolute; left: 0; top: .62em;
    width: .5rem; height: .5rem; border-radius: 50%; background: var(--green-deep);
}

/* ---------- Referenzen ---------- */
.ref-grid { grid-template-columns: 1fr; gap: 1.5rem; }
.ref-card {
    display: block; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    color: inherit;
}
.ref-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); color: inherit; }
.ref-shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.ref-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ref-card:hover .ref-shot img { transform: scale(1.05); }
.ref-body {
    padding: 1.1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.ref-body h3 { margin: 0; font-size: 1.05rem; }
.ref-body .ref-domain { color: var(--muted); font-size: .88rem; display: block; margin-top: .15rem; }
.ref-arrow { color: var(--green-deep); flex: none; }

/* ---------- CTA-Band ---------- */
.cta-band {
    position: relative; overflow: hidden; color: #fff;
    border-radius: var(--radius-lg);
}
.cta-band .cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(20,26,12,.88), rgba(30,40,20,.6)); }
.cta-band-inner { padding: clamp(2.6rem, 6vw, 4.2rem); max-width: 640px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); }

/* ---------- Kontakt ---------- */
.contact-layout { display: grid; gap: 2.4rem; align-items: start; }
.contact-info-card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 1.9rem; box-shadow: var(--shadow-sm);
}
.contact-info-card + .contact-info-card { margin-top: 1.4rem; }
.info-row { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.15rem; }
.info-row:last-child { margin-bottom: 0; }
.info-row .info-ic {
    width: 42px; height: 42px; border-radius: 11px; flex: none;
    display: grid; place-items: center; background: var(--green-tint); color: var(--green-deep);
}
.info-row .info-ic svg { width: 21px; height: 21px; }
.info-row a { color: var(--ink-soft); }
.info-row a:hover { color: var(--green-deeper); }
.info-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .1rem; }
.info-value { margin: 0; font-weight: 500; color: var(--ink); }

/* Formular */
.form-card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.4rem);
    box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 1.25rem; }
.form-row label { display: block; font-weight: 600; font-family: var(--font-head); margin-bottom: .4rem; color: var(--ink); font-size: .95rem; }
.form-row .req { color: var(--green-deeper); }
.form-control {
    width: 100%; font: inherit; color: var(--ink);
    padding: .85em 1em; border: 1.5px solid var(--line); border-radius: 11px;
    background: var(--bg); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-control:focus {
    outline: none; border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(200, 218, 119, .3);
}
textarea.form-control { min-height: 150px; resize: vertical; }
.form-check { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.4rem; }
.form-check input { margin-top: .28em; width: 1.15em; height: 1.15em; accent-color: var(--green-deep); flex: none; }
.form-check label { font-size: .94rem; color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.field-error { color: #b3261e; font-size: .85rem; margin: .35rem 0 0; font-weight: 500; }
.form-control.is-invalid { border-color: #d9534f; }

.alert { padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.6rem; font-weight: 500; }
.alert-success { background: #eef6e0; border: 1px solid var(--green); color: #40560c; }
.alert-error { background: #fdecea; border: 1px solid #f3b5b0; color: #a3271f; }

/* ---------- Rechtstexte ---------- */
.legal-layout { display: grid; gap: 2.5rem; }
.legal-content h2 { margin-top: 2.4rem; padding-top: .4rem; scroll-margin-top: 100px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin-top: 1.7rem; font-size: 1.15rem; color: var(--green-deeper); }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul { padding-left: 1.2rem; margin: 0 0 1.1rem; list-style: disc; }
.legal-content ul li { margin-bottom: .4rem; }
.legal-content address { font-style: normal; background: var(--bg-alt); padding: 1rem 1.2rem; border-radius: 12px; border-left: 4px solid var(--green); margin: 0 0 1.2rem; }

.toc {
    position: sticky; top: 100px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm);
}
.toc h2 { font-size: 1.05rem; margin: 0 0 .8rem; }
.toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .5rem; }
.toc a { font-size: .93rem; color: var(--muted); font-weight: 500; }
.toc a:hover { color: var(--green-deeper); }

/* ---------- Page-Header (Unterseiten) ---------- */
.page-hero {
    background: var(--green-tint);
    border-bottom: 1px solid var(--line);
    padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(2.4rem, 5vw, 3.6rem);
    position: relative;
    z-index: 0;
}
.page-hero .eyebrow { background: #fff; }
.page-hero h1 { margin-bottom: .35em; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0; font-size: 1.1rem; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: .9rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green-deeper); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
/* Reveal nur verstecken, wenn JS aktiv ist – sonst bleiben Inhalte sichtbar */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.site-footer { background: #171a12; color: #c9cec0; margin-top: 0; }
.footer-grid {
    display: grid; grid-template-columns: 1fr; gap: 2.2rem;
    padding: clamp(3rem, 6vw, 4.2rem) 22px 2.6rem;
}
.footer-logo { height: 46px; width: auto; margin-bottom: 1.1rem; background: #fff; padding: 9px 14px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.footer-brand p { color: #9aa090; max-width: 320px; }
.footer-col h3 { color: #fff; font-size: 1.02rem; margin-bottom: 1rem; }
.footer-links { list-style: none; display: grid; gap: .55rem; }
.footer-links a { color: #b7bcae; font-size: .96rem; }
.footer-links a:hover { color: var(--green); }
.footer-contact { font-style: normal; color: #b7bcae; font-size: .96rem; line-height: 1.85; }
.footer-contact a { color: #b7bcae; }
.footer-contact a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner {
    display: flex; flex-direction: column; gap: .5rem;
    padding: 1.4rem 22px; font-size: .86rem; color: #8b917f;
}
.footer-legal-inline a { color: #8b917f; }
.footer-legal-inline a:hover { color: var(--green); }

/* ---------- Info-Hinweis (Cookie-Hinweis) ---------- */
.cookie-hint {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%) translateY(140%);
    width: min(680px, calc(100% - 28px));
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 150;
    opacity: 0;
    transition: transform .4s var(--ease), opacity .35s var(--ease);
}
.cookie-hint[hidden] { display: none; }
.cookie-hint.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookie-hint-inner {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1rem 1.2rem;
}
.cookie-hint-text {
    margin: 0;
    font-size: .9rem;
    line-height: 1.55;
    color: var(--muted);
}
.cookie-hint-text strong { color: var(--ink); }
.cookie-hint-ok { flex: none; white-space: nowrap; }

@media (max-width: 560px) {
    .cookie-hint-inner { flex-direction: column; align-items: stretch; text-align: left; }
    .cookie-hint-ok { width: 100%; }
}

/* =====================================================================
   Responsive – ab Tablet / Desktop
   ===================================================================== */
@media (min-width: 620px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .ref-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 820px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .check-list-cols { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(4, 1fr); }
    .check-layout { grid-template-columns: 1.05fr .95fr; }
    .split { grid-template-columns: 1fr 1fr; }
    .split.reverse .split-media { order: 2; }
    .intro-grid.two { grid-template-columns: 1.4fr .6fr; }
    .contact-layout { grid-template-columns: 1fr 1.05fr; }
    .ref-grid { grid-template-columns: repeat(3, 1fr); }
    .legal-layout { grid-template-columns: 260px 1fr; }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; }
}

/* ---------- Mobile-Navigation ---------- */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-list {
        position: fixed; inset: 76px 0 auto 0;
        flex-direction: column; align-items: stretch; gap: .2rem;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 1rem 22px 1.5rem;
        box-shadow: var(--shadow-md);
        transform: translateY(-140%);
        transition: transform .35s var(--ease);
        max-height: calc(100vh - 76px); overflow-y: auto;
    }
    .nav-list.open { transform: translateY(0); }
    .nav-list a { padding: .85em .6em; font-size: 1.05rem; border-radius: 10px; }
    .nav-list a:not(.btn)::after { display: none; }
    .nav-list a.active { background: var(--green-tint); }
    .nav-cta-item { margin: .6rem 0 0; }
    .nav-cta-item .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}
