.bouwen {
    width: 100%;
    overflow: visible;
    margin: 0;
    padding: 0;
}
.bouwen__intro {
    position: relative;
    width: 100%;
    height: 575px;
    aspect-ratio: 288/115;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    margin-bottom: 0;
    background-color: transparent!important;
}
.bouwen__intro-bg-top,
.bouwen__intro-bg-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 0;
}
.bouwen__intro-bg-top {
    top: 0;

}
.bouwen__intro-bg-bottom {
    bottom: 0;
   
}
.bouwen__intro-image {
    position: relative;
    width: 1600px;
    max-width: 1600px;
    height: 100%;
    z-index: 2;
    margin: 0 auto;
    transition: width 0.1s ease-out, max-width 0.1s ease-out;
    overflow: hidden;
    border-radius: 28px;
}

/* For screens 1600px and larger, start at 90vw to match JS animation */
@media (min-width: 1600px) {
    .bouwen__intro-image {
        width: 90vw;
        max-width: 90vw;
    }
}
.bouwen__intro-bg.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}
.bouwen .hero-title-wrapper {
    position: relative;
    margin-top: -87px;
    margin-bottom: 80px;
    text-align: left;
    z-index: 5;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}
.bouwen .hero-title {
    display: inline-block;
}
.bouwen .hero-title__top {
    display: block;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 128px; 
    font-weight: 700; 
    line-height: 0.69; 
    letter-spacing: -3.2px; 
    margin-bottom: 0;
    padding: 0;
    border-radius: 0;
    color: #FBF8F6; 
}
.bouwen .hero-title__part1,
.bouwen .hero-title__part2 {
    display: block;
}
.bouwen .hero-title__part2 {
    line-height: 0.8;
}
.bouwen .hero-title__top[style*="background-color"]:not([style*="background-color: transparent"]) {
    padding: 12px 32px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.bouwen__content {
    padding: 30px 40px 120px;
    position: relative;
    z-index: 2;
}
.bouwen__container {
    max-width: 1340px;
    margin: 0 auto;
}
.bouwen__text-wrapper {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 180px;
    margin-bottom: 60px;
}

.bouwen__text-right {
    align-self: flex-start;
    width: 100%;
    max-width: 392px;
    margin-top: 36px;
}
.bouwen__big-title {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 74px; 
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    margin: 0;
    word-break: keep-all;
    overflow-wrap: break-word;
}
.bouwen__description {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 24px; 
    font-weight: 400; 
    line-height: 1.4; 
    letter-spacing: -0.6px; 
    color: #FBF8F6; 
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.bouwen__description p {
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    letter-spacing: inherit;
    margin: 0 0 16px 0;
}
.bouwen__description p:last-child {
    margin-bottom: 0;
}
.bouwen__slider-wrapper {
    margin-top: 60px;
}
.bouwen__slider {
    overflow: visible !important;
    padding: 4px;
}
.bouwen .swiper,
.bouwen .swiper-container {
    overflow: visible !important;
}
.swiper-wrapper {
    display: flex;
}
.bouwen__slide {
    height: auto;
}
.bouwen__card {
    background-color: #FFFFFF; 
    border-radius: 16px; 
    padding: 40px 32px 12px 32px; 
    display: flex;
    flex-direction: column;
    gap: 20px; 
    height: 100%;
    min-height: 360px;
    transition: transform 0.35s ease;
    text-decoration: none;
    color: inherit;
}
a.bouwen__card {
    cursor: pointer;
}
.bouwen__card:hover,
a.bouwen__card:hover {
    transform: translateY(-10px);
}
.bouwen__icon {
    width: 80px !important;
    height: 80px !important;
    flex-shrink: 0;
}
.bouwen__icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.bouwen__card-content {
    display: flex;
    flex-direction: column;
    gap: 8px; 
    flex: 0 1 auto;
    margin-bottom: 0;
    padding-bottom: 0;
}
.bouwen__title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px; 
}
.bouwen__title-icon {
    color: var(--slide-icon-transparent-color, rgba(239, 125, 0, 0.35));
    transition: color 0.3s ease;
}
.bouwen__card:hover .bouwen__title-icon {
    color: var(--slide-icon-color, #EF7D00);
}
.bouwen__title-icon path {
    fill: currentColor;
    transition: color 0.3s ease;
}
.bouwen__title-icon {
    width: 28px;
    height: 19px;
    flex-shrink: 0;
}
.bouwen__card-title {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 24px; 
    font-weight: 700; 
    line-height: 1.2; 
    letter-spacing: -0.6px; 
    color: #EF7D00; 
    margin: 0;
}
.bouwen__card-description {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px; 
    font-weight: 400; 
    line-height: 1.5; 
    letter-spacing: -0.45px; 
    color: #162E44; 
    margin: 0;
}
.bouwen__nav {
    display: flex;
    gap: 24px;
    margin-top: 32px; 
    justify-content: flex-end; 
}
.bouwen__nav-btn {
    position: relative;
    display: inline-block;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}
.bouwen__nav-btn.bouwen__nav-prev:hover {
    opacity: 0.9;
    transform: translateX(-4px);
}
.bouwen__nav-btn.bouwen__nav-next:hover {
    opacity: 0.9;
    transform: translateX(4px);
}
.bouwen__nav-icon {
    display: block;
    width: 150px;
    height: 50px;
    transition: transform 0.3s ease;
}
.bouwen__nav-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    pointer-events: none;
}
.bouwen__nav-btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.bouwen__nav-btn.swiper-button-disabled:hover {
    opacity: 0.4;
    transform: none;
}
@media (max-width: 1024px) {
    .bouwen__intro {
        height: auto; 
    }
    .bouwen__intro-image {
        width: 95%;
        max-width: 95%;
        border-radius: 24px;
    }
    .bouwen .hero-title-wrapper {
        margin-top: -60px;
        margin-bottom: 60px;
        padding: 0 32px;
    }
    .bouwen .hero-title__top {
        font-size: 80px;
        letter-spacing: -2px;
    }
    .bouwen__content {
        padding: 100px 32px 32px;
    }
    .bouwen__text-wrapper {
        gap: 60px;
        margin-bottom: 50px;
    }
    .bouwen__description {
        font-size: 20px; 
        letter-spacing: -0.5px;
    }
    .bouwen__text-right {
        margin-top: 32px;
    }
    .bouwen__card {
        padding: 28px 28px 10px 28px;
    }
    .bouwen__card-title {
        font-size: 24px;
    }
}
@media (max-width: 768px) {
    .bouwen__intro {
        height: auto; 
    }
    .bouwen__intro-image {
        width: 95%;
        max-width: 95%;
        border-radius: 24px;
    }
    .bouwen__intro-bg-top {
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
    }
    .bouwen__intro-bg-bottom {
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }
    .bouwen .hero-title-wrapper {
        margin-top: -50px;
        margin-bottom: 50px;
        padding: 0 20px;
    }
    .bouwen .hero-title__top {
        font-size: 48px;
        letter-spacing: -1.2px;
    }
    .bouwen__content {
        padding: 80px 20px 32px;
    }
    .bouwen__text-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 40px;
    }
    .bouwen__big-title {
        font-size: 48px;
        letter-spacing: -1.2px;
    }
    .bouwen__description {
        font-size: 16px; 
        letter-spacing: -0.4px;
        max-width: 90vw;
    }
    .bouwen__text-right {
        margin-top: 0;
        max-width: 90vw;
    }
    .bouwen__slider-wrapper {
        margin-top: 40px;
    }
    .bouwen__card {
        padding: 24px 24px 8px 24px;
        gap: 20px;
    }
    .bouwen__icon {
        width: 100px; 
        height: 100px;
    }
    .bouwen__card-title {
        font-size: 20px; 
        letter-spacing: -0.5px;
    }
    .bouwen__card-description {
        font-size: 16px; 
        letter-spacing: -0.4px;
    }
    .bouwen__title-icon {
        width: 24px;
        height: 16px;
    }
    .bouwen__card-title {
        font-size: 22px;
        gap: 10px;
    }
    .bouwen__title-indicator {
        width: 10px;
        height: 10px;
    }
    .bouwen__card-description {
        font-size: 14px;
    }
    .bouwen__nav {
        gap: 16px;
        margin-top: 24px; 
        justify-content: center; 
    }
    .bouwen__nav-icon {
        width: 120px;
        height: 40px;
    }
    .bouwen__nav-text {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .bouwen {
        overflow-x: hidden;
    }
    .bouwen__intro {
        height: auto; 
    }
    .bouwen__intro-image {
        width: 92%;
        max-width: 92%;
        border-radius: 20px;
    }
    .bouwen__intro-bg-top {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
    .bouwen__intro-bg-bottom {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
    .bouwen .hero-title-wrapper {
        margin-top: -24px;
        margin-bottom: 40px;
        padding: 0 16px;
    }
    .bouwen .hero-title__top {
        font-size: 36px;
        letter-spacing: -0.9px;
    }
    .bouwen__content {
        padding: 20px 16px 24px;
    }
    .bouwen__big-title {
        font-size: 40px;
        letter-spacing: -1px;
    }
    .bouwen__description {
        font-size: 14px; 
        letter-spacing: -0.35px;
        max-width: 85vw;
    }
    .bouwen__card {
        background-color: #FFFFFF;
        border-radius: 16px;
        padding: 40px 32px 12px 32px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        height: 100%;
        min-height: 300px;
        transition: transform 0.35s ease;
        text-decoration: none;
        color: inherit;
    }
    .bouwen__icon {
        width: 80px;
        height: 80px;
    }
    .bouwen__card-title {
        font-size: 18px;
        letter-spacing: -0.45px;
    }
    .bouwen__card-description {
        font-size: 15px;
        letter-spacing: -0.38px;
    }
    .bouwen__title-icon {
        width: 20px;
        height: 14px;
    }
}

/* ============================================
   STYLE VARIANTS
   Different visual styles for same block
   ============================================ */

/* VARIANT: Dark Theme
   - Darker background colors
   - Higher contrast for text
   - Suitable for hero sections or premium feel
*/
.bouwen--dark {
    background-color: #0D1B2A !important;
}

.bouwen--dark .bouwen__intro-bg-top {
    background-color: #1B2838 !important;
}

.bouwen--dark .bouwen__intro-bg-bottom {
    background-color: #0D1B2A !important;
}

.bouwen--dark .bouwen__big-title {
    color: #FFFFFF !important;
}

.bouwen--dark .bouwen__description {
    color: #E5E5E5 !important;
}

.bouwen--dark .bouwen__card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bouwen--dark .bouwen__card:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.bouwen--dark .bouwen__card-title {
    color: #FFFFFF;
}

.bouwen--dark .bouwen__card-description {
    color: #CCCCCC;
}

.bouwen--dark .bouwen__nav-btn {
    opacity: 0.9;
}

.bouwen--dark .bouwen__nav-btn:hover {
    opacity: 1;
}

/* VARIANT: Light Theme
   - Bright, clean appearance
   - Softer colors
   - Suitable for informational sections
*/
.bouwen--light {
    background-color: #FAFAFA !important;
}

.bouwen--light .bouwen__intro-bg-top {
    background-color: #FFFFFF !important;
}

.bouwen--light .bouwen__intro-bg-bottom {
    background-color: #F5F5F5 !important;
}

.bouwen--light .bouwen__big-title {
    color: #1a1a1a !important;
}

.bouwen--light .bouwen__description {
    color: #333333 !important;
}

.bouwen--light .bouwen__card {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.bouwen--light .bouwen__card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.bouwen--light .bouwen__card-title {
    color: #1a1a1a;
}

.bouwen--light .bouwen__card-description {
    color: #555555;
}

.bouwen--light .hero-title__top {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* VARIANT: Compact
   - Reduced spacing
   - Smaller heights
   - Suitable for secondary sections or when space is limited
*/
.bouwen--compact .bouwen__intro {
    height: 400px;
}

.bouwen--compact .hero-title-wrapper {
    margin-top: -60px;
    margin-bottom: 60px;
}

.bouwen--compact .hero-title__top {
    font-size: 96px;
    letter-spacing: -2.4px;
}

.bouwen--compact .bouwen__content {
    padding: 80px 40px 80px;
}

.bouwen--compact .bouwen__text-wrapper {
    margin-bottom: 40px;
}

.bouwen--compact .bouwen__big-title {
    font-size: 32px;
    letter-spacing: -0.8px;
}

.bouwen--compact .bouwen__description {
    font-size: 15px;
}

.bouwen--compact .bouwen__card {
    padding: 32px 24px 20px 24px;
}

.bouwen--compact .bouwen__card-title {
    font-size: 20px;
}

.bouwen--compact .bouwen__card-description {
    font-size: 14px;
}

@media (max-width: 768px) {
    .bouwen--compact .bouwen__intro {
        height: 300px;
    }
    
    .bouwen--compact .hero-title__top {
        font-size: 64px;
        letter-spacing: -1.6px;
    }
    
    .bouwen--compact .bouwen__content {
        padding: 60px 24px 60px;
    }
}

@media (max-width: 480px) {
    .bouwen--compact .bouwen__intro {
        height: auto;
    }
    
    .bouwen--compact .hero-title__top {
        font-size: 32px;
        letter-spacing: -0.8px;
    }
    
    .bouwen--compact .bouwen__content {
        padding: 50px 16px 40px;
    }
}

/* ============================================
   FULL WIDTH ALIGNMENT
   ============================================ */
.alignfull.bouwen {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.alignwide.bouwen .bouwen__container {
    max-width: 1280px;
}
