/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #fafafa;
    --color-bg-alt: #f0f0f0;
    --color-text: #1a1a1a;
    --color-text-muted: #5a5a5a;
    --color-accent: #0d0d0d;
    --color-accent-hover: #333;
    --color-white: #ffffff;
    --color-border: #e0e0e0;
    --color-card: #ffffff;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1200px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Comfortaa', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Comfortaa', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-nav {
    padding: 8px 22px;
    font-size: 0.85rem;
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.btn-nav:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color var(--transition);
}

.nav-links a.btn-nav {
    color: var(--color-white);
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, #000000 80%, #000000 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 70%;
    right: 0;
    height: 100%;
    background: #000000;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 80px 48px 80px 24px;
    margin-left: auto;
    margin-right: 2%;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--color-white);
}

.hero h1 .accent {
    color: rgba(255, 255, 255, 0.6);
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 540px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: var(--color-white);
    color: var(--color-accent);
    border-color: var(--color-white);
}

.hero-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-buttons .btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-buttons .btn-outline:hover {
    background: var(--color-white);
    color: var(--color-accent);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.section h2,
.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* ===== About ===== */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.section-text .section-label {
    display: block;
}

.section-text h2 {
    margin-bottom: 20px;
}

.section-text p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.about-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.about-icon {
    width: 48px;
    height: 48px;
    color: var(--color-text);
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 44px;
    height: 44px;
    color: var(--color-text);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* ===== Process / Werkwijze ===== */
.process-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.process-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.step-content {
    padding-top: 12px;
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ===== Benefits / Voordelen ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    transition: all var(--transition);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 36px;
    height: 36px;
    color: var(--color-text);
    margin: 0 auto 16px;
}

.benefit-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.benefit-card p {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 64px;
    text-align: center;
}

.cta-box h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 16px;
    color: var(--color-white);
}

.cta-box p {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 480px;
    margin: 0 auto 32px;
}

.cta-box .btn-primary {
    background: var(--color-white);
    color: var(--color-accent);
    border-color: var(--color-white);
}

.cta-box .btn-primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: 1 / -1;
}

.contact-form label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}

.contact-form input,
.contact-form textarea {
    font-family: 'Comfortaa', sans-serif;
    font-size: 0.9rem;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-card);
    color: var(--color-text);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    grid-column: 1 / -1;
    justify-self: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 8px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-text);
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-accent);
    color: var(--color-white);
    padding-top: 64px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    height: 28px;
    width: auto;
    margin-bottom: 16px;
    filter: invert(1);
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li,
.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content {
        padding: 60px 24px;
        margin-right: auto;
        max-width: 100%;
        text-align: center;
    }

    .hero-video-wrapper {
        width: 100%;
        height: 100%;
    }

    .hero-video-overlay {
        width: 100%;
        background: rgba(0, 0, 0, 0.6);
    }

    .hero::before {
        display: none;
    }

    .hero {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        gap: 16px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: 1;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .process-timeline::before {
        left: 27px;
    }

    .section {
        padding: 72px 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section h2,
    .section-header h2 {
        font-size: 1.5rem;
    }
}
