:root {
    color-scheme: light;
}

html {
    scroll-behavior: smooth;
}

.tap {
    min-height: 48px;
}

.safe-top {
    padding-top: calc(0.75rem + env(safe-area-inset-top));
}

.safe-bottom {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
}

/* Subtiele, professionele achtergrond met nét iets meer kleur (blauw + teal) */
.bg-prof {
    background: radial-gradient(circle at 12% 10%, rgba(36, 74, 192, 0.12), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(20, 184, 166, 0.10), transparent 46%),
    radial-gradient(circle at 55% 92%, rgba(79, 124, 255, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(248, 250, 252, 1) 0%, rgba(255, 255, 255, 1) 40%, rgba(248, 250, 252, 1) 100%);
}

/* Subtiel patroon + “depth” (professioneel) */
body {
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.04) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(180deg, rgba(15, 23, 42, 0.04) 0 1px, transparent 1px 72px);
    opacity: .55;
    mask-image: radial-gradient(circle at 30% 10%, black 0%, transparent 58%);
}

body::after {
    content: "";
    position: fixed;
    inset: -12%;
    pointer-events: none;
    background: radial-gradient(circle at 18% 28%, rgba(36, 74, 192, 0.10), transparent 45%),
    radial-gradient(circle at 86% 20%, rgba(20, 184, 166, 0.10), transparent 46%),
    radial-gradient(circle at 70% 88%, rgba(79, 124, 255, 0.07), transparent 52%);
    filter: blur(22px);
    opacity: .9;
}

/* Gradient border (extra “leven” zonder schreeuwen) */
.g-border {
    border: 1px solid transparent;
    background: linear-gradient(white, white) padding-box,
    linear-gradient(90deg, rgba(36, 74, 192, 0.60), rgba(20, 184, 166, 0.55), rgba(15, 23, 42, 0.50)) border-box;
}

.g-border:hover {
    background: linear-gradient(white, white) padding-box,
    linear-gradient(90deg, rgba(36, 74, 192, 0.78), rgba(20, 184, 166, 0.72), rgba(15, 23, 42, 0.62)) border-box;
}

/* Nav underline (active state via JS) */
.nav-link {
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(36, 74, 192, 1), rgba(20, 184, 166, 1));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
    border-radius: 999px;
}

.nav-link.is-active::after {
    transform: scaleX(1);
}


.hover-lift {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    will-change: transform;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px -35px rgba(15, 23, 42, 0.55);
    border-color: rgba(36, 74, 192, 0.35);
}

.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 520ms ease, transform 520ms ease;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-delay="1"] {
    transition-delay: 60ms;
}

.reveal[data-delay="2"] {
    transition-delay: 120ms;
}

.reveal[data-delay="3"] {
    transition-delay: 180ms;
}

.reveal[data-delay="4"] {
    transition-delay: 240ms;
}

.reveal[data-delay="5"] {
    transition-delay: 300ms;
}

.cta-sheen {
    position: relative;
    overflow: hidden;
}

.cta-sheen::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -120%;
    width: 70%;
    height: 220%;
    background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.18) 45%,
            rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(18deg);
    transition: left 520ms ease;
    pointer-events: none;
}

.cta-sheen:hover::after {
    left: 160%;
}

:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.22), 0 0 0 2px rgba(255, 255, 255, 0.8);
    border-radius: 12px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hover-lift, .reveal, .cta-sheen::after {
        transition: none !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

.marquee {
    position: relative;
    overflow: hidden;
}

.marquee__track {
    display: flex;
    width: max-content;
    gap: 1.25rem;
    animation: marquee var(--marquee-duration, 70s) linear infinite;
    will-change: transform;
}

.marquee__group {
    display: flex;
    gap: 1.25rem;
    padding-right: 1.25rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee::before, .marquee::after {
        display: none;
    }

    .marquee {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .marquee__track {
        animation: none;
    }
}

