: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;
    }
}

.hero-fw2 {
    position: relative;
    overflow: hidden;
    padding: 12px 0 18px;
}

@media (min-width: 640px) {
    .hero-fw2 {
        padding: 40px 0 54px;
    }
}

.hero-fw2__grid {
    position: absolute;
    inset: -2px;
    opacity: .14;
    background-image: radial-gradient(rgba(15, 23, 42, .16) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(closest-side at 50% 12%, black, transparent 72%);
}

.hero-fw2__gridWrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}


@media (min-width: 1024px) {
    .hero-fw2__gridWrap {
        grid-template-columns: 1.15fr .85fr;
        gap: 22px;
        align-items: start;
    }
}

.hero-fw2__title {
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: rgb(15 23 42);
    line-height: 1.02;
    font-size: 34px;
}

@media (min-width: 640px) {
    .hero-fw2__title {
        font-size: 58px;
    }
}

.hero-fw2__subtitle {
    margin-top: 10px;
    margin-bottom:10px;
    color: rgb(51 65 85);
    line-height: 1.65;
    font-size: 16px;
    max-width: 62ch;
}

@media (min-width: 640px) {
    .hero-fw2__subtitle {
        font-size: 18px;
    }
}

.hero-fw2__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 14px 0 14px 0;
    padding: 12px 16px;
    border-radius: 16px;

    text-decoration: none;
    font-weight: 900;
    color: rgb(15 23 42);

    background: rgba(255, 255, 255, .96);
    border: 2px solid rgb(34 87 255); /* themakleur border */
    box-shadow: 0 10px 22px rgba(2, 6, 23, .06);

    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    overflow: visible; /* ring mag buiten de knop zichtbaar zijn */
}

.hero-fw2__cta i {
    color: rgb(34 87 255);
    margin-right: 10px;
}

.hero-fw2__cta:hover {
    transform: translateY(-1px);
    background: #fff;
    box-shadow: 0 14px 28px rgba(2, 6, 23, .08);
}

.hero-fw2__cta:active {
    transform: translateY(1px);
}

.hero-fw2__cta::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    border: 2px solid rgba(34, 87, 255, .55);
    opacity: 0;
    transform: scale(0.98);
    pointer-events: none;
    animation: ctaRingPop 1.35s cubic-bezier(.2, .9, .2, 1) infinite;
}

.hero-fw2__cta::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    pointer-events: none;
    box-shadow: 0 0 0 0 rgba(34, 87, 255, 0);
    animation: ctaHalo 1.35s ease-out infinite;
    opacity: .9;
}

@keyframes ctaRingPop {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }
    12% {
        opacity: 1;
        transform: scale(1.00);
    }
    55% {
        opacity: .18;
        transform: scale(1.18);
    }
    100% {
        opacity: 0;
        transform: scale(1.30);
    }
}

@keyframes ctaHalo {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 87, 255, .00);
    }
    20% {
        box-shadow: 0 0 0 6px rgba(34, 87, 255, .14);
    }
    100% {
        box-shadow: 0 0 0 18px rgba(34, 87, 255, 0);
    }
}

/* If user hovers/presses, keep ring but don’t go crazy */
.hero-fw2__cta:hover::after {
    border-color: rgba(34, 87, 255, .62);
}

.hero-fw2__cta:hover::before {
    opacity: 1;
}

.hero-fw2__secondary {
    text-align: center;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 900;
    color: rgb(15 23 42);
    background: rgba(248, 250, 252, .9);
    border: 1px solid rgb(226 232 240);
    transition: transform .15s ease, background .15s ease;
}

.hero-fw2__secondary:hover {
    transform: translateY(-1px);
    background: #fff;
}

.hero-fw2__secondary i {
    color: rgb(71 85 105);
}

/* divider + bullets */
.hero-fw2__softline {
    margin: 14px 0 10px;
    height: 1px;
    background: linear-gradient(to right, rgba(15, 23, 42, .14), rgba(15, 23, 42, 0));
}

.hero-fw2__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: rgb(51 65 85);
    font-weight: 800;
    font-size: 13px;
}

/* Panel (map/regio card) */
.hero-fw2__panel {
    position: relative;
    border-radius: 22px;
    border: 1px solid rgb(226 232 240);
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(10px);
    padding: 14px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(2, 6, 23, .06);
}

@media (min-width: 640px) {
    .hero-fw2__panel {
        padding: 18px;
    }
}

.hero-fw2__panelKicker {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgb(71 85 105);
    margin: 0;
}

.hero-fw2__panelTitle {
    margin: 8px 0 6px;
    font-weight: 900;
    color: rgb(15 23 42);
    font-size: 18px;
}

.hero-fw2__panelText {
    margin: 0;
    color: rgb(71 85 105);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.55;
}

.hero-fw2__panelMini {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgb(226 232 240);
    background: rgba(248, 250, 252, .92);
}

.hero-fw2__miniIcon {
    width: 38px;
    height: 38px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: rgb(34 87 255);
    background: rgba(34, 87, 255, .10);
    border: 1px solid rgba(34, 87, 255, .14);
    flex: none;
}

.hero-fw2__miniHead {
    margin: 0;
    font-weight: 900;
    color: rgb(15 23 42);
    font-size: 13px;
}

.hero-fw2__miniText {
    margin-top: 2px;
    color: rgb(71 85 105);
    font-size: 12px;
}

/* Mobile: show panel early (after CTA) */
.hero-fw2__right--mobile {
    display: block;
    margin-top: 12px;
}

.hero-fw2__right--desktop {
    display: none;
}

@media (min-width: 1024px) {
    .hero-fw2__right--mobile {
        display: none;
    }

    .hero-fw2__right--desktop {
        display: block;
    }
}

/* Subtle decor inside panel (desktop only) */
.hero-fw2__illus {
    position: absolute;
    right: -36px;
    bottom: -44px;
    width: 240px;
    height: 240px;
    opacity: .45;
    pointer-events: none;
}

.hero-fw2__ring {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 1px solid rgba(34, 87, 255, .16);
    background: radial-gradient(circle at 35% 35%, rgba(34, 87, 255, .08), transparent 55%);
    animation: hero2Ring 9s ease-in-out infinite;
}

.hero-fw2__ring--2 {
    inset: 38px;
    opacity: .85;
    animation-duration: 11s;
}

@keyframes hero2Ring {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(0, 12px, 0) rotate(5deg);
    }
}

.hero-fw2__dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: rgba(16, 185, 129, .75);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, .10);
    animation: hero2Dot 3.6s ease-in-out infinite;
}

.hero-fw2__dot--a {
    left: 46px;
    top: 54px;
}

.hero-fw2__dot--b {
    right: 58px;
    bottom: 62px;
    animation-delay: -1.3s;
}

@keyframes hero2Dot {
    0%, 100% {
        transform: translateY(0);
        opacity: .80;
    }
    50% {
        transform: translateY(-9px);
        opacity: 1;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-fw2__blob,
    .hero-fw2__cta,
    .hero-fw2__ring,
    .hero-fw2__dot {
        animation: none !important;
    }

    .hero-fw2__gridWrap.is-ready {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.mascotte-wave {
    width: 130px;
    position: absolute;
    right: 0;
    z-index: -1;
}
