/* ============================================================
   KIES JOUW WEG
   ============================================================ */
.trajecten-photo-banner {
    position: relative;
    border-top: 2px solid var(--goud);
    padding-top: 0 !important;
}

.trajecten-banner-photo {
    position: relative;
    width: 100%;
    height: 480px;
    background-size: cover;
    background-position: 50% 65%;
    background-color: var(--blauw);
}

.trajecten-banner-overlay {
    position: absolute;
    inset: 0;
}

.trajecten-banner-text-box {
    position: relative;
    z-index: 5;
    background: var(--wit);
    max-width: 760px;
    margin: -120px auto 0;
    padding: 56px 64px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    text-align: center;
}

.trajecten-banner-subtext {
    margin-top: 1.25rem;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: var(--blauw);
    font-weight: 600;
}

/* ============================================================
   TRAJECTEN
   ============================================================ */
.trajecten-section-flow {
    position: relative;
    padding: 0;
}

.trajecten-wrapper {
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.trajecten-item {
    flex: 1;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.trajecten-divider {
    width: 1px;
    background-color: var(--grijs-licht);
    align-self: stretch;
    flex-shrink: 0;
}

.trajecten-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: var(--font-weight-title);
    color: var(--goud);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.trajecten-list {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trajecten-list li {
    padding-left: 1.25rem;
    position: relative;
    font-size: clamp(0.85rem, 2vw, 1rem);
    line-height: 1.6;
}

.trajecten-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--goud);
}

/* ============================================================
    ANDERE DIENSTEN
    ============================================================ */
.trajecten-section-services {
    background: var(--wit);
    padding-top: var(--padding);
}

.trajecten-staggered-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px 1fr;
    align-items: center;
    position: relative;
}

.trajecten-center-photo-container {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius);
    overflow: hidden;
    z-index: 1;
}

.trajecten-center-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trajecten-service-box {
    background: var(--wit);
    padding: clamp(22px, 2vw, 48px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    z-index: 2;
    border: 2px solid var(--goud);
}

.trajecten-service-box h4 {
    padding-bottom: clamp(0px, 2vw, 16px);
}

.service-link {
    display: inline-block;
    margin-top: clamp(0.5rem, 1vw, 0.75rem);
    color: var(--blauw);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-link:hover {
    color: var(--goud);
    transform: translateX(4px);
}

@media (min-width: 1025px) {
    .trajecten-service-box-left {
        margin-right: -40px;
        margin-top: -80px;
    }

    .trajecten-service-box-right {
        margin-left: -40px;
        margin-top: 80px;
    }
}

@media (max-width: 1024px) {
    .trajecten-banner-photo {
        height: 400px;
    }

    .trajecten-staggered-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .trajecten-center-photo-container {
        width: 40%;
        height: 90%;
        aspect-ratio: auto;
        margin: 0;
        border-radius: var(--radius);
        order: 2;
    }

    .trajecten-service-box {
        padding: 32px 24px;
        width: 50%;
        max-width: 400px;
    }

    .trajecten-service-box-left {
        order: 1;
        margin-left: 20px;
        margin-right: 40%;
        margin-bottom: -50px;
        margin-top: 0;
        z-index: 5;
    }

    .trajecten-service-box-right {
        order: 3;
        margin-right: 5%;
        margin-left: 40%;
        margin-top: -50px;
        z-index: 5;
    }
}

@media (max-width: 900px) {
    .trajecten-banner-photo {
        height: 320px;
    }

    .trajecten-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .trajecten-divider {
        width: 100%;
        height: 1px;
    }

    .trajecten-item {
        width: 100%;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .trajecten-banner-text-box {
        width: calc(100% - 36px);
        margin-top: -60px;
        padding: 36px 24px;
    }
}

@media (max-width: 600px) {
    .trajecten-banner-photo {
        height: 260px;
    }

    .trajecten-banner-text-box {
        width: calc(100% - 24px);
        margin-top: -40px;
        padding: 24px 18px;
    }

    .trajecten-center-photo-container {
        height: 260px;
    }

    .trajecten-service-box {
        padding: 24px 18px;
        width: 70%;
    }

    .trajecten-service-box-left {
        margin-bottom: -35px;
        padding-left: 20px;
    }

    .trajecten-service-box-right {
        margin-top: -35px;
        padding-right: 20px;
    }
}

@media (max-width: 450px) {
    .trajecten-banner-photo {
        height: 220px;
    }
}