/* =========================================================
   FM BAU GmbH — Stylesheet
   Premium German construction company website
   ========================================================= */

/* -----  Tokens  ----- */
:root {
    /* WhatsApp-inspired green palette */
    --color-primary: #075E54;
    --color-primary-light: #128C7E;
    --color-primary-dark: #054D44;
    --color-accent: #25D366;
    --color-accent-hover: #1DA851;
    --color-bg: #FFFFFF;
    --color-bg-soft: #F2F8F5;
    --color-bg-darker: #E5F1EB;
    --color-surface: #FFFFFF;
    --color-border: #DCE7E2;
    --color-border-strong: #B8CFC5;
    --color-text: #075E54;
    --color-text-body: #2B3F3B;
    --color-text-muted: #5D7B72;
    --color-text-light: #94A8A0;
    --color-text-on-primary: #FFFFFF;

    --shadow-sm: 0 1px 2px rgba(7, 94, 84, 0.06);
    --shadow-md: 0 8px 24px rgba(7, 94, 84, 0.10);
    --shadow-lg: 0 24px 60px rgba(7, 94, 84, 0.14);
    --shadow-xl: 0 40px 100px rgba(7, 94, 84, 0.20);

    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-xl: 16px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --container-max: 1240px;
    --container-pad: clamp(20px, 4vw, 48px);

    --section-pad-y: clamp(72px, 9vw, 140px);

    --easing: cubic-bezier(0.22, 0.61, 0.36, 1);
    --t-fast: 180ms;
    --t-med: 320ms;
    --t-slow: 600ms;

    --header-h: 84px;
}

/* -----  Reset  ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--color-text-body);
    background: var(--color-bg);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--t-fast) var(--easing);
}

a:hover {
    color: var(--color-accent-hover);
}

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 3px;
}

button:focus-visible,
.btn:focus-visible {
    outline-offset: 3px;
}

/* -----  Typography  ----- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-text);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.6em 0;
}

h1 {
    font-size: clamp(2.4rem, 5.6vw, 4.4rem);
    letter-spacing: -0.04em;
    font-weight: 800;
}

h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.85rem);
    letter-spacing: -0.03em;
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 700;
}

h4 {
    font-size: 1.15rem;
    font-weight: 700;
}

p {
    margin: 0 0 1.1em 0;
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--color-text-body);
    line-height: 1.7;
    max-width: 62ch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-accent);
    margin-bottom: 18px;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: currentColor;
    display: block;
}

/* -----  Layout  ----- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

.section {
    padding-top: var(--section-pad-y);
    padding-bottom: var(--section-pad-y);
    position: relative;
}

/* Stats strip — sits between two backgrounded sections, kept tight
   so the gap to the next dark/soft band doesn't compound */
.section--stats {
    padding-top: clamp(32px, 4vw, 56px);
    padding-bottom: clamp(32px, 4vw, 56px);
}

.section--soft {
    background: var(--color-bg-soft);
}

.section--dark {
    background: var(--color-primary);
    color: var(--color-text-on-primary);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: #FFFFFF;
}

.section-head {
    max-width: 760px;
    margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head--center .eyebrow {
    justify-content: center;
    display: inline-block;
    padding: 6px 14px;
    background: rgba(37, 211, 102, 0.08);
    border-radius: 999px;
    font-size: 0.72rem;
}

.section-head--center .eyebrow::before {
    display: none;
}

.section-head--split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    max-width: none;
    flex-wrap: wrap;
}

.section-head--split > div {
    max-width: 600px;
}

@media (max-width: 720px) {
    .section-head--split {
        align-items: flex-start;
    }
}

/* -----  Buttons  ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.96rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all var(--t-fast) var(--easing);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform var(--t-fast) var(--easing);
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn--primary {
    background: var(--color-primary);
    color: #FFFFFF;
}

.btn--primary:hover {
    background: var(--color-primary-light);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--accent {
    background: var(--color-accent);
    color: #FFFFFF;
}

.btn--accent:hover {
    background: var(--color-accent-hover);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.3);
}

.btn--ghost {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-border-strong);
}

.btn--ghost:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #FFFFFF;
}

.btn--light {
    background: #FFFFFF;
    color: var(--color-primary);
}

.btn--light:hover {
    background: var(--color-bg-soft);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.btn--outline-light {
    background: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* -----  Header / Navigation  ----- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    transition: background-color var(--t-med) var(--easing),
                box-shadow var(--t-med) var(--easing),
                backdrop-filter var(--t-med) var(--easing);
    background: rgba(255, 255, 255, 0);
}

.site-header--scrolled,
.site-header--solid {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 rgba(7, 94, 84, 0.08), 0 8px 24px rgba(7, 94, 84, 0.04);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: var(--header-h);
}

/* Logo */
.nav__logo {
    color: var(--color-primary);
    transition: color var(--t-med) var(--easing), opacity var(--t-fast) var(--easing);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.nav__logo:hover {
    opacity: 0.85;
}

.nav__logo svg,
.nav__logo img {
    height: 52px;
    width: auto;
    display: block;
}

/* Two logo variants: color (default, on white) and light (over hero) */
.nav__logo-color,
.nav__logo-light {
    display: block;
    line-height: 0;
}

.nav__logo-light {
    display: none;
}

.site-header:not(.site-header--scrolled):not(.site-header--solid) .nav__logo-color {
    display: none;
}

.site-header:not(.site-header--scrolled):not(.site-header--solid) .nav__logo-light {
    display: block;
}

/* Right side container: list + cta together */
.nav__menu {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-grow: 1;
    justify-content: flex-end;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.005em;
    border-radius: 8px;
    position: relative;
    transition: color var(--t-fast) var(--easing), background-color var(--t-fast) var(--easing);
    white-space: nowrap;
}

.site-header:not(.site-header--scrolled):not(.site-header--solid) .nav__link {
    color: rgba(255, 255, 255, 0.86);
}

.nav__link:hover {
    color: var(--color-accent);
    background: rgba(37, 211, 102, 0.06);
}

.site-header:not(.site-header--scrolled):not(.site-header--solid) .nav__link:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

.nav__link--active {
    color: var(--color-accent);
}

.nav__link--active::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 2px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.site-header:not(.site-header--scrolled):not(.site-header--solid) .nav__link--active {
    color: #FFFFFF;
    background: transparent;
}

.nav__cta {
    flex-shrink: 0;
    margin-left: 8px;
}

.nav__cta .btn {
    padding: 12px 22px;
    font-size: 0.92rem;
}

/* -----  Language Switcher  ----- */
.nav__lang {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.nav__lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    color: inherit;
    opacity: 0.55;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity var(--t-fast) var(--easing),
                color var(--t-fast) var(--easing);
}

.nav__lang-btn:hover {
    opacity: 1;
    color: var(--color-accent);
}

.nav__lang-btn--active {
    opacity: 1;
    color: var(--color-accent);
}

.nav__lang-sep {
    opacity: 0.35;
    user-select: none;
}

/* On the transparent (hero) header — make switcher legible on dark bg */
.site-header:not(.site-header--scrolled):not(.site-header--solid) .nav__lang {
    color: rgba(255, 255, 255, 0.86);
}

.site-header:not(.site-header--scrolled):not(.site-header--solid) .nav__lang-btn:hover,
.site-header:not(.site-header--scrolled):not(.site-header--solid) .nav__lang-btn--active {
    color: #FFFFFF;
}

/* Mobile toggle (hamburger ↔ X) */
.nav__toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
    padding: 0;
    color: var(--color-primary);
    border-radius: 8px;
    transition: background-color var(--t-fast) var(--easing);
    z-index: 102;
    position: relative;
}

.nav__toggle:hover {
    background: rgba(7, 94, 84, 0.06);
}

.site-header:not(.site-header--scrolled):not(.site-header--solid) .nav__toggle {
    color: #FFFFFF;
}

.site-header:not(.site-header--scrolled):not(.site-header--solid) .nav__toggle:hover {
    background: rgba(255, 255, 255, 0.12);
}

body.nav-open .nav__toggle {
    color: var(--color-primary);
}

body.nav-open .nav__toggle:hover {
    background: rgba(7, 94, 84, 0.06);
}

.nav__toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    margin: 0;
    transition: transform var(--t-med) var(--easing),
                opacity var(--t-fast) var(--easing);
    border-radius: 2px;
    transform-origin: 50% 50%;
    will-change: transform, opacity;
}

/* Hamburger → X: stack of bars (h=2, gap=6) → centers are 8px apart */
body.nav-open .nav__toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav__toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

body.nav-open .nav__toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   Mobile + Tablet Navigation (≤ 1024px — covers iPad portrait/landscape & phones)
   ========================================================= */
@media (max-width: 1024px) {
    :root {
        --header-h: 72px;
    }

    .nav__logo svg,
    .nav__logo img {
        height: 44px;
    }

    /* Mobile burger toggle visible */
    .nav__toggle {
        display: flex;
    }

    /* Full-screen slide-in panel */
    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: #FFFFFF;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: calc(var(--header-h) + 32px) var(--container-pad) 40px;
        gap: 0;
        flex-grow: 0;
        flex-shrink: 0;
        transform: translateX(100%);
        transition: transform var(--t-med) var(--easing);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 99;
        opacity: 1;
        visibility: hidden;
        pointer-events: none;
    }

    body.nav-open .nav__menu {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav__list li {
        width: 100%;
    }

    .nav__link {
        display: flex;
        align-items: center;
        width: 100%;
        font-size: 1.35rem;
        font-weight: 600;
        letter-spacing: -0.01em;
        padding: 20px 0;
        border-bottom: 1px solid var(--color-border);
        border-radius: 0;
        color: var(--color-primary);
        background: transparent;
    }

    .nav__link:hover {
        background: transparent;
        color: var(--color-accent);
    }

    .nav__link--active {
        color: var(--color-accent);
    }

    .nav__link--active::after {
        display: none;
    }

    .nav__cta {
        margin: 36px 0 0 0;
        width: 100%;
        flex-shrink: 0;
    }

    .nav__cta .btn {
        width: 100%;
        padding: 18px 24px;
        font-size: 1rem;
    }

    /* Mobile language switcher — sits above the CTA */
    .nav__lang {
        margin: 28px 0 0 0;
        font-size: 1rem;
        gap: 6px;
        color: var(--color-primary);
    }

    .nav__lang-btn {
        padding: 8px 12px;
        font-size: 1rem;
    }

    /* When menu open: header solid + dark toggle, hide logo entirely */
    body.nav-open .site-header {
        background: #FFFFFF;
        box-shadow: 0 1px 0 rgba(7, 94, 84, 0.08);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.nav-open .nav__toggle {
        color: var(--color-primary);
    }

    body.nav-open .nav__logo {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }

    /* Lock body scroll while menu is open */
    body.nav-open {
        overflow: hidden;
        touch-action: none;
    }

    html.nav-open {
        overflow: hidden;
    }
}

/* Smaller phones — ensure adequate spacing */
@media (max-width: 480px) {
    .nav__link {
        font-size: 1.2rem;
        padding: 18px 0;
    }
}

/* -----  Hero  ----- */
.hero {
    position: relative;
    min-height: min(92vh, 880px);
    display: flex;
    align-items: center;
    color: #FFFFFF;
    overflow: hidden;
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 96px;
    background: var(--color-primary);
}

@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-h) + 64px);
        padding-bottom: 80px;
    }
}

@media (max-width: 760px) {
    .hero {
        padding-top: calc(var(--header-h) + 48px);
        padding-bottom: 64px;
    }
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img,
.hero__bg svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(7, 94, 84, 0.94) 0%,
        rgba(7, 94, 84, 0.78) 50%,
        rgba(7, 94, 84, 0.62) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero__eyebrow {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}

.hero__eyebrow::before {
    background: rgba(255, 255, 255, 0.7);
}

.hero h1 {
    color: #FFFFFF;
    margin-bottom: 28px;
}

.hero__lead {
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.65;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 72px;
    width: 100%;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 64px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__meta-item strong {
    display: block;
    font-size: 2rem;
    color: #FFFFFF;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    line-height: 1;
}

@media (max-width: 760px) {
    .hero__inner {
        gap: 48px;
    }

    .hero__meta {
        gap: 24px 36px;
        padding-top: 28px;
    }

    .hero__meta-item strong {
        font-size: 1.6rem;
    }

    .hero__meta-item {
        flex: 1 1 40%;
        min-width: 110px;
    }
}

/* -----  Page Hero (smaller, for inner pages)  ----- */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + 80px) 0 100px;
    background: var(--color-primary);
    color: #FFFFFF;
    overflow: hidden;
}

@media (max-width: 760px) {
    .page-hero {
        padding: calc(var(--header-h) + 48px) 0 64px;
    }
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    z-index: 0;
}

.page-hero__bg svg,
.page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(7, 94, 84, 0.6) 0%,
        rgba(7, 94, 84, 0.95) 100%);
}

.page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.page-hero h1 {
    color: #FFFFFF;
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin-bottom: 20px;
}

.page-hero__lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    max-width: 640px;
    line-height: 1.7;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 24px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
    color: #FFFFFF;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    color: rgba(255, 255, 255, 0.4);
}

/* -----  Service Cards  ----- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.service-card {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--t-med) var(--easing);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-med) var(--easing);
}

.service-card:hover {
    border-color: var(--color-border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(7, 94, 84, 0.06);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all var(--t-med) var(--easing);
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
}

.service-card:hover .service-card__icon {
    background: var(--color-primary);
    color: #FFFFFF;
}

.service-card__title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.service-card__desc {
    color: var(--color-text-muted);
    font-size: 0.96rem;
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 24px;
}

.service-card__link {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--t-fast) var(--easing);
}

.service-card__link:hover {
    gap: 10px;
}

/* -----  USP / Feature Strip  ----- */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 36px;
}

.usp {
    text-align: left;
}

.usp__num {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    display: block;
}

.usp__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.usp__desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

/* -----  Split Section (text + image)  ----- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}

.split--reverse .split__media {
    order: 2;
}

@media (max-width: 900px) {
    .split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .split--reverse .split__media {
        order: 0;
    }
}

.split__media {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
}

.split__media img,
.split__media svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split__media-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.split__media-badge strong {
    font-size: 1.7rem;
    color: var(--color-primary);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.split__media-badge span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.split__list {
    list-style: none;
    padding: 0;
    margin: 28px 0 36px;
    display: grid;
    gap: 14px;
}

.split__list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--color-text-body);
    font-size: 1rem;
}

.split__list svg {
    width: 22px;
    height: 22px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 1px;
}

/* -----  Project Cards  ----- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: 1fr;
    gap: 24px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-primary);
    cursor: pointer;
    transition: transform var(--t-med) var(--easing);
}

.project-card:hover {
    transform: translateY(-4px);
}

.project-card__media {
    position: absolute;
    inset: 0;
}

.project-card__media img,
.project-card__media svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow) var(--easing);
}

.project-card:hover .project-card__media img,
.project-card:hover .project-card__media svg {
    transform: scale(1.05);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(7, 94, 84, 0) 30%,
        rgba(7, 94, 84, 0.95) 100%);
}

.project-card__content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 32px;
    color: #FFFFFF;
}

.project-card__tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.project-card__title {
    font-size: 1.4rem;
    color: #FFFFFF;
    margin-bottom: 6px;
    line-height: 1.25;
}

.project-card__loc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.project-card--wide {
    grid-column: span 2;
}

@media (max-width: 720px) {
    .project-card--wide {
        grid-column: span 1;
    }
}

/* -----  Process Steps  ----- */
.process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
    counter-reset: step;
}

.process__step {
    counter-increment: step;
    background: var(--color-surface);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    position: relative;
    transition: all var(--t-med) var(--easing);
}

.process__step::before {
    content: '0' counter(step);
    display: block;
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--color-bg-darker);
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.process__step:hover {
    border-color: var(--color-primary);
}

.process__step:hover::before {
    color: var(--color-accent);
}

.process__step h4 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

.process__step p {
    color: var(--color-text-muted);
    font-size: 0.94rem;
    line-height: 1.65;
    margin: 0;
}

/* -----  CTA Banner  ----- */
.cta-banner {
    position: relative;
    background: var(--color-primary);
    color: #FFFFFF;
    padding: clamp(60px, 8vw, 100px) 0;
    overflow: hidden;
}

.cta-banner__bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    z-index: 0;
}

.cta-banner__bg svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-banner__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: center;
}

@media (max-width: 800px) {
    .cta-banner__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.cta-banner h2 {
    color: #FFFFFF;
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    margin: 0;
}

.cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-self: end;
}

@media (max-width: 800px) {
    .cta-banner__actions {
        justify-self: start;
    }
}

/* -----  Stats Strip  ----- */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-surface);
}

.stats__item {
    padding: 36px 32px;
    border-right: 1px solid var(--color-border);
}

.stats__item:last-child {
    border-right: 0;
}

@media (max-width: 720px) {
    .stats__item {
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .stats__item:last-child {
        border-bottom: 0;
    }
}

.stats__num {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stats__num span {
    font-size: 1.4rem;
    color: var(--color-accent);
}

.stats__label {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    margin: 0;
}

/* -----  Service Detail List (services page)  ----- */
.service-detail {
    padding: clamp(48px, 6vw, 80px) 0;
    border-bottom: 1px solid var(--color-border);
}

.service-detail:last-child {
    border-bottom: 0;
}

.service-detail__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(36px, 5vw, 80px);
    align-items: center;
}

.service-detail--alt .service-detail__inner {
    grid-template-columns: 1.2fr 1fr;
}

.service-detail--alt .service-detail__media {
    order: 2;
}

@media (max-width: 900px) {
    .service-detail__inner,
    .service-detail--alt .service-detail__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .service-detail--alt .service-detail__media {
        order: 0;
    }
}

.service-detail__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-bg-soft);
}

.service-detail__media svg,
.service-detail__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail__num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.service-detail h3 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    margin-bottom: 18px;
}

.service-detail__list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

@media (max-width: 540px) {
    .service-detail__list {
        grid-template-columns: 1fr;
    }
}

.service-detail__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-text-body);
}

.service-detail__list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    margin-top: 9px;
    flex-shrink: 0;
}

/* -----  Contact Page  ----- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--color-border);
}

.contact-info h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.contact-info__list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: grid;
    gap: 24px;
}

.contact-info__item {
    display: flex;
    gap: 16px;
}

.contact-info__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(37, 211, 102, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info__icon svg {
    width: 20px;
    height: 20px;
}

.contact-info__label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.contact-info__value {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
}

.contact-info__value a {
    color: inherit;
}

.contact-info__value a:hover {
    color: var(--color-accent);
}

.contact-info__hours {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

.contact-info__hours strong {
    display: block;
    color: var(--color-primary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
}

/* -----  Form  ----- */
.form {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 48px);
    box-shadow: var(--shadow-sm);
}

.form h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.form__intro {
    color: var(--color-text-muted);
    margin-bottom: 32px;
    font-size: 0.96rem;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

@media (max-width: 600px) {
    .form__row {
        grid-template-columns: 1fr;
    }
}

.form__field {
    margin-bottom: 18px;
    position: relative;
}

.form__label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.form__label .req {
    color: var(--color-accent);
    margin-left: 2px;
}

.form__input,
.form__textarea,
.form__select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #FFFFFF;
    font-size: 0.96rem;
    color: var(--color-text);
    transition: border-color var(--t-fast) var(--easing), box-shadow var(--t-fast) var(--easing);
    font-family: inherit;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.12);
}

.form__textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form__input--error,
.form__textarea--error {
    border-color: #DC2626;
}

.form__error {
    display: block;
    margin-top: 6px;
    color: #DC2626;
    font-size: 0.84rem;
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--color-text-body);
    cursor: pointer;
    margin-bottom: 24px;
    line-height: 1.55;
}

.form__checkbox input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0 0;
    accent-color: var(--color-accent);
    flex-shrink: 0;
}

.form__captcha {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.form__captcha-q {
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-bg-soft);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    letter-spacing: 0.05em;
    user-select: none;
    border: 1px solid var(--color-border);
}

.form__captcha-input {
    width: 100px !important;
}

.form__submit {
    width: 100%;
    padding: 18px;
}

.form__notice {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.55;
}

.form__notice--success {
    background: #DCFCE7;
    color: #166534;
    border: 1px solid #BBF7D0;
}

.form__notice--error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* -----  Footer  ----- */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.78);
    padding-top: 80px;
    padding-bottom: 0;
    font-size: 0.94rem;
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
    .site-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 540px) {
    .site-footer__top {
        grid-template-columns: 1fr;
    }
}

.site-footer__brand .nav__logo {
    color: #FFFFFF;
    margin-bottom: 24px;
    display: inline-block;
}

.site-footer__brand .nav__logo svg g {
    fill: #FFFFFF;
}

.site-footer__about {
    max-width: 360px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer h5 {
    color: #FFFFFF;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin: 8px 0 22px;
    font-weight: 700;
}

.site-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.site-footer__list a {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer__list a:hover {
    color: #FFFFFF;
}

.site-footer__contact {
    display: grid;
    gap: 12px;
}

.site-footer__contact a {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer__contact a:hover {
    color: #FFFFFF;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.86rem;
}

.site-footer__legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.site-footer__legal a {
    color: rgba(255, 255, 255, 0.65);
}

.site-footer__legal a:hover {
    color: #FFFFFF;
}

/* -----  Reveal Animation  ----- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--easing), transform 0.7s var(--easing);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-delay="1"] {
    transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
    transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
    transition-delay: 0.24s;
}

.reveal[data-delay="4"] {
    transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* -----  Utilities  ----- */
.text-center {
    text-align: center;
}

.muted {
    color: var(--color-text-muted);
}

.divider {
    border: 0;
    height: 1px;
    background: var(--color-border);
    margin: 0;
}

.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    background: var(--color-primary);
    color: #FFFFFF;
    padding: 12px 20px;
    z-index: 1000;
    text-decoration: none;
    border-radius: 0 0 6px 0;
    transition: transform var(--t-fast) var(--easing);
}

.skip-link:focus {
    transform: translateY(0);
    color: #FFFFFF;
    outline: 2px solid #FFFFFF;
    outline-offset: -4px;
}

/* -----  Legal Page Layout  ----- */
.legal {
    padding: clamp(48px, 6vw, 80px) 0;
}

.legal__inner {
    max-width: 800px;
    margin: 0 auto;
}

.legal h2 {
    font-size: 1.6rem;
    margin-top: 56px;
    margin-bottom: 18px;
}

.legal h2:first-child {
    margin-top: 0;
}

.legal h3 {
    font-size: 1.15rem;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal p,
.legal ul {
    color: var(--color-text-body);
    font-size: 0.96rem;
    line-height: 1.75;
}

.legal ul {
    padding-left: 22px;
    margin-bottom: 18px;
}

.legal ul li {
    margin-bottom: 6px;
}

.legal address {
    font-style: normal;
    background: var(--color-bg-soft);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-accent);
    margin: 18px 0;
}

/* =========================================================
   REFINED INTERACTIVE LAYER  (v3 — strakker, minder is meer)
   - Premium typografie · soft static orbs · refined hovers
   - Geen muis-stalkende elementen, alleen statische micro-interacties
   - Volledig prefers-reduced-motion + pointer-aware
   ========================================================= */

/* ---- Premium typography refinement ---- */
html {
    font-feature-settings: "ss01", "cv01", "cv11", "kern";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-feature-settings: "ss01", "ss02", "kern";
}

/* ---- Scroll progress — thinner, subtler ---- */
.scroll-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 2px;
    z-index: 101;
    pointer-events: none;
    background: var(--color-accent);
    transform: scaleX(var(--scroll-progress, 0));
    transform-origin: left center;
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.45);
    will-change: transform;
}

/* ---- Soft gradient orbs (dialled down) ---- */
.hero,
.page-hero,
.section--dark {
    position: relative;
    overflow: hidden;
}

.hero::after,
.page-hero::after,
.section--dark::before {
    content: "";
    position: absolute;
    inset: -8%;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 55% 35% at 22% 28%, rgba(37, 211, 102, 0.05), transparent 65%),
        radial-gradient(ellipse 45% 30% at 78% 72%, rgba(134, 239, 172, 0.03), transparent 65%);
    filter: blur(50px);
}

/* Content above orbs */
.hero__content, .hero__meta, .hero__inner,
.page-hero__content,
.section--dark > .container { position: relative; z-index: 2; }

/* ---- Hero cascade — tighter, more refined timing ---- */
@media (prefers-reduced-motion: no-preference) {
    .hero__eyebrow  { animation: refinedIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }
    .hero h1        { animation: refinedIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both; }
    .hero__lead     { animation: refinedIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.30s both; }
    .hero .btn-group{ animation: refinedIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both; }
    .hero__meta     { animation: refinedIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.60s both; }

    .page-hero .breadcrumb  { animation: refinedIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }
    .page-hero h1           { animation: refinedIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both; }
    .page-hero__lead        { animation: refinedIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both; }
}

@keyframes refinedIn {
    from { opacity: 0; transform: translate3d(0, 14px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ---- Service-card top-accent line ---- */
.service-card::before {
    height: 3px;
    background: var(--color-accent);
    transform-origin: left center;
}

/* ---- Refined card hover (subtle lift, geen 3D tilt meer) ---- */
@media (pointer: fine) {
    .service-card,
    .usp,
    .process__step {
        transition:
            transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
            border-color var(--t-med) var(--easing);
    }
    .service-card:hover,
    .process__step:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 48px rgba(7, 94, 84, 0.10);
    }
}

/* ---- CTAs — subtieler magnetic + refined glow ---- */
.btn--accent,
.btn--primary {
    position: relative;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        background var(--t-fast) var(--easing),
        color var(--t-fast) var(--easing),
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    isolation: isolate;
}

@media (pointer: fine) {
    .btn--accent:hover {
        box-shadow:
            0 0 0 4px rgba(37, 211, 102, 0.10),
            0 14px 32px rgba(37, 211, 102, 0.28);
    }
    .btn--primary:hover {
        box-shadow:
            0 0 0 4px rgba(7, 94, 84, 0.08),
            0 14px 28px rgba(7, 94, 84, 0.22);
    }
}

/* ---- Nav-link underline — center-out, sharper ---- */
@media (min-width: 1025px) {
    .nav__link {
        position: relative;
    }
    .nav__link::before {
        content: "";
        position: absolute;
        left: 50%;
        right: 50%;
        bottom: 4px;
        height: 1.5px;
        background: var(--color-accent);
        border-radius: 1px;
        transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                    right 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                    opacity 0.35s var(--easing);
        opacity: 0;
    }
    .nav__link:hover::before,
    .nav__link:focus-visible::before {
        left: 18px;
        right: 18px;
        opacity: 1;
    }
    .nav__link--active::before { display: none; }
}

/* ---- Stat-row — subtieler hover ---- */
@media (pointer: fine) {
    .stats__item {
        transition: background-color var(--t-med) var(--easing);
    }
    .stats__item:hover {
        background: rgba(37, 211, 102, 0.025);
    }
}

/* ---- Project card — refined zoom + accent edge ---- */
.project-card__media img,
.project-card__media svg {
    transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-card__media img,
.project-card:hover .project-card__media svg {
    transform: scale(1.05);
}

.project-card__overlay {
    transition: background 0.6s var(--easing);
}

.project-card:hover .project-card__overlay {
    background: linear-gradient(180deg,
        rgba(7, 94, 84, 0.10) 0%,
        rgba(7, 94, 84, 0.92) 100%);
}

/* ---- Reveal — premium easing ---- */
.reveal {
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal[data-reveal="scale"]              { transform: scale(0.96); }
.reveal[data-reveal="scale"].is-visible   { transform: scale(1); }
.reveal[data-reveal="right"]              { transform: translateX(-24px); }
.reveal[data-reveal="right"].is-visible   { transform: translateX(0); }

/* ---- Form fields — softer glow ---- */
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    box-shadow:
        0 0 0 3px rgba(37, 211, 102, 0.14),
        0 4px 14px rgba(37, 211, 102, 0.08);
}

/* ---- Eyebrow chip — soft hint ---- */
.section-head--center .eyebrow {
    background: rgba(37, 211, 102, 0.06);
    box-shadow: inset 0 0 0 1px rgba(37, 211, 102, 0.12);
}

/* ---- Subtle horizontal accent above section-head h2 ---- */
.section-head h2 {
    position: relative;
}

/* ---- Reduced motion: alle bewegingen uit ---- */
@media (prefers-reduced-motion: reduce) {
    .scroll-progress,
    .hero::after,
    .page-hero::after,
    .section--dark::before {
        display: none !important;
        animation: none !important;
    }
    .hero__eyebrow, .hero h1, .hero__lead, .hero .btn-group, .hero__meta,
    .page-hero .breadcrumb, .page-hero h1, .page-hero__lead {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}
