:root {
    --vs-groen: #23382c;
    --vs-donkergroen: #0c1915;
    --vs-donkergrijs: #1d1d1b;
    --vs-wit: #ffffff;
    --vs-lichtgrijs: #dadad9;
    --vs-muted: #f3f4f2;
    --text: #1d1d1b;
    --text-muted: #5a5c58;
    --whatsapp: #25d366;
    --radius: 12px;
    --header-h: 76px;
    --transition: 0.25s ease;
    --shadow: 0 12px 40px rgba(12, 25, 21, 0.12);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background: var(--vs-wit);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 88px 0;
}

.section--muted {
    background: var(--vs-muted);
}

.section--green {
    background: var(--vs-groen);
}

.section--dark {
    background: var(--vs-donkergroen);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--vs-wit);
}

.section-label {
    font-family: "Montserrat", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--vs-groen);
    text-align: center;
    margin-bottom: 12px;
}

.section-label--light {
    color: rgba(255, 255, 255, 0.7);
}

.section-label--left {
    text-align: left;
}

.section-label--sentence {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.85rem;
}

.section h2 {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    margin-bottom: 16px;
}

.section-intro {
    max-width: 560px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--text-muted);
}

.section--green .section-intro {
    color: rgba(255, 255, 255, 0.75);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), color var(--transition),
        border-color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.82rem;
}

.btn-primary {
    background: var(--vs-groen);
    color: var(--vs-wit);
}

.btn-primary:hover {
    background: var(--vs-donkergroen);
}

.btn-ghost {
    background: transparent;
    color: var(--vs-wit);
    border-color: rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover {
    background: var(--vs-wit);
    color: var(--vs-groen);
}

.btn-light {
    background: var(--vs-wit);
    color: var(--vs-groen);
}

.btn-light:hover {
    background: var(--vs-lichtgrijs);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--vs-wit);
    margin-top: 8px;
}

.form-status {
    margin-top: 16px;
    font-size: 0.92rem;
    line-height: 1.45;
}

.form-status--ok {
    color: #9fbfa8;
}

.form-status--error {
    color: #ffb4a8;
}

.contact-form .btn:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

/* Hero CTAs: high contrast on photo */
.hero-btns .btn-primary {
    background: var(--vs-wit);
    color: var(--vs-donkergrijs);
    border-color: var(--vs-wit);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.hero-btns .btn-primary:hover {
    background: var(--vs-lichtgrijs);
    color: var(--vs-donkergroen);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

.hero-btns .btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.hero-btns .btn-ghost:hover {
    background: var(--vs-wit);
    color: var(--vs-donkergrijs);
    border-color: var(--vs-wit);
}

/* Header */
header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--header-h);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition),
        box-shadow var(--transition), backdrop-filter var(--transition);
}

header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom-color: rgba(35, 56, 44, 0.08);
    box-shadow: 0 4px 24px rgba(12, 25, 21, 0.08);
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-img--dark {
    display: none;
}

.logo-img--light {
    display: block;
}

header.is-scrolled .logo-img--dark {
    display: block;
}

header.is-scrolled .logo-img--light {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.92);
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--vs-wit);
}

header.is-scrolled .nav-links a {
    color: var(--vs-donkergrijs);
}

header.is-scrolled .nav-links a:hover {
    color: var(--vs-groen);
}

.nav-cta-desktop {
    background: var(--vs-wit);
    color: var(--vs-donkergrijs);
    border-color: var(--vs-wit);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.nav-cta-desktop:hover {
    background: var(--vs-lichtgrijs);
    color: var(--vs-donkergroen);
    border-color: var(--vs-lichtgrijs);
}

header.is-scrolled .nav-cta-desktop {
    background: var(--vs-groen);
    color: var(--vs-wit);
    border-color: transparent;
    box-shadow: none;
}

header.is-scrolled .nav-cta-desktop:hover {
    background: var(--vs-donkergroen);
    color: var(--vs-wit);
}

.nav-cta-mobile {
    display: none;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--vs-wit);
    transition: transform var(--transition), opacity var(--transition),
        background var(--transition);
}

header.is-scrolled .menu-toggle span {
    background: var(--vs-groen);
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero: fixed viewport height so overlay/media don't "scale" with content */
.hero {
    position: relative;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 24px) 0 120px;
    color: var(--vs-wit);
    overflow: hidden;
    margin-top: 0;
    box-sizing: border-box;
}

@supports not (height: 100svh) {
    .hero {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(8%);
    transition: opacity 1.1s ease, transform 1.1s ease;
    will-change: opacity, transform;
}

.hero-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.hero-slide.is-leaving {
    opacity: 0;
    transform: translateX(-8%);
    z-index: 0;
}

.hero-slide img,
.hero-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: opacity 0.4s ease;
        transform: none;
    }

    .hero-slide.is-active,
    .hero-slide.is-leaving {
        transform: none;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(29, 29, 27, 0.72) 0%,
        rgba(29, 29, 27, 0.42) 42%,
        rgba(29, 29, 27, 0.12) 78%,
        rgba(29, 29, 27, 0) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    margin-bottom: 18px;
}

.hero-lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 28px;
    max-width: 460px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Legacy placeholder blocks (unused when images are present) */
.placeholder-media {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: grid;
    place-items: center;
    background: var(--vs-lichtgrijs);
    color: var(--vs-groen);
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* USP */
.usp-strip {
    margin-top: -48px;
    position: relative;
    z-index: 5;
    padding-bottom: 24px;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: var(--vs-wit);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.usp-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.usp-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--vs-muted);
    color: var(--vs-groen);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.usp-icon svg {
    width: 22px;
    height: 22px;
}

.usp-item h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.usp-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    min-height: calc(1.6em * 3);
    line-height: 1.6;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    background: var(--vs-wit);
    border: 1px solid rgba(35, 56, 44, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.service-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-media img {
    transform: scale(1.05);
}

.service-body {
    padding: 22px;
}

.service-body h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.service-body p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 36px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 1;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.portfolio-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 28px 22px 22px;
    background: linear-gradient(
        180deg,
        rgba(29, 29, 27, 0) 0%,
        rgba(29, 29, 27, 0.72) 45%,
        rgba(29, 29, 27, 0.9) 100%
    );
    color: var(--vs-wit);
}

.portfolio-caption h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.portfolio-caption p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.4;
}

.portfolio-item:hover img {
    transform: scale(1.04);
}

/* Testimonials */
.testimonials-carousel-wrapper {
    position: relative;
    margin-top: 36px;
}

.testimonials-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 4px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--vs-groen) var(--vs-lichtgrijs);
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 280px;
    scroll-snap-align: start;
    background: var(--vs-muted);
    border-radius: var(--radius);
    padding: 28px;
    border-left: 4px solid var(--vs-groen);
}

.testimonial-card .stars {
    color: #c4a035;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 16px;
    color: var(--text);
}

.testimonial-card .client {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--vs-groen);
}

.testimonial-card .source {
    font-weight: 400;
    color: var(--text-muted);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--vs-groen);
    color: var(--vs-wit);
    font-size: 1.25rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 20px rgba(12, 25, 21, 0.25);
    transition: transform var(--transition), background var(--transition);
}

.carousel-nav:hover {
    background: var(--vs-donkergroen);
    transform: translateY(-50%) scale(1.06);
}

.carousel-prev {
    left: -8px;
}

.carousel-next {
    right: -8px;
}

/* About */
.about-flex {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 18px;
}

.about-text p {
    margin-bottom: 14px;
    color: var(--text-muted);
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact */
.contact-flex {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 48px;
    margin-top: 40px;
    color: var(--vs-wit);
}

.hidden-field {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.optional {
    font-weight: 400;
    opacity: 0.65;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--vs-wit);
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: 1px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.contact-info h3 {
    margin-bottom: 18px;
}

.contact-name {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-area {
    opacity: 0.8;
    margin-bottom: 20px !important;
}

.contact-address,
.contact-kvk {
    opacity: 0.9;
    line-height: 1.5;
}

.contact-note {
    display: block;
    margin-top: 4px;
    font-size: 0.88rem;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: #060d0b;
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 14px;
}

.footer h4 {
    color: var(--vs-wit);
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer a {
    text-decoration: none;
    transition: color var(--transition);
}

.footer a:hover {
    color: var(--vs-wit);
}

.footer-whatsapp {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.15);
    color: var(--whatsapp);
    font-weight: 600;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.88rem;
}

.footer-bottom a {
    color: #9fbfa8;
    font-weight: 600;
}

/* Sticky WhatsApp */
.whatsapp-sticky {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: var(--vs-wit);
    display: grid;
    place-items: center;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    transition: transform var(--transition);
}

.whatsapp-sticky:hover {
    transform: scale(1.08);
}

.whatsapp-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ff3b30;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Reveal */
.section.is-visible,
.usp-strip.is-visible {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 10px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .nav-cta-desktop {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--vs-wit);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 20px 24px;
        border-bottom: 1px solid rgba(35, 56, 44, 0.1);
        box-shadow: 0 16px 32px rgba(12, 25, 21, 0.12);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition), opacity var(--transition);
    }

    .nav-links.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        color: var(--vs-donkergrijs);
    }

    .nav-links a:hover {
        color: var(--vs-groen);
    }

    .nav-links li {
        border-bottom: 1px solid rgba(35, 56, 44, 0.06);
    }

    .nav-links a {
        display: block;
        padding: 14px 4px;
    }

    .nav-cta-mobile {
        display: block;
        border-bottom: none !important;
        padding-top: 12px;
    }

    .nav-cta-mobile .btn {
        width: 100%;
    }

    /* When mobile menu open over transparent header, force readable bar */
    header:not(.is-scrolled):has(.nav-links.is-open) {
        background: rgba(12, 25, 21, 0.88);
        backdrop-filter: blur(8px);
    }

    .usp-grid {
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .usp-strip {
        margin-top: -28px;
    }

    .about-flex,
    .contact-flex {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-text h2,
    .section-label--left {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .hero {
        align-items: center;
        padding-bottom: 110px;
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 32px);
    }

    .section {
        padding: 64px 0;
    }

    .services-grid,
    .portfolio-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .carousel-prev {
        left: 4px;
    }

    .carousel-next {
        right: 4px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero-lead {
        font-size: 1rem;
        margin-bottom: 22px;
    }

    .hero {
        padding-bottom: 100px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .footer {
        text-align: center;
    }

    .footer-logo {
        margin-inline: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
