.statistic-cards {

    margin-bottom: var(--spacing-xxl);

    .statistic-card {
        .statistic-count {
            font-size: 4rem;
            font-weight: 700;
            color: var(--accent-color);
            line-height: 1;
            margin-bottom: var(--spacing-md);
            min-width: 100px;
        }

        .statistic-title {
            font-size: var(--font-size-xxl);
            font-weight: 600;
            color: var(--text-color);
        }

        .statistic-subtitle {
            font-size: var(--font-size-lg);
            font-weight: 300;
            line-height: 1.25;
        }
    }
}

.banner-hero {
    position: relative;
}

/* Banner headline overlay */
.banner-headline {
    position: absolute;
    top: 4rem;
    left: 0;
    margin: 0 auto;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.banner-headline .headline-box,
.banner-headline .subheadline-box {
    background: #ffffff;
    color: #000000;
    display: inline-block;
    padding: 0rem 1.25rem;
    width: fit-content;
}

.banner-headline h1 {
    margin: 0;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 5vw;
}

.banner-headline p {
    margin: 0;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-size: 1.25vw;
    width: fit-content;
    padding: .75rem 0rem;
}

@media (max-width: 1200px) {
    .banner-headline p {
        font-size: .75rem;
        padding: .25rem 0rem;
    }

    .banner-headline h1 {
        font-size: 3rem;
    }

    .banner-headline {
        top: 1.25rem;
    }
}

@media (max-width: 992px) {
    .banner-headline h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .banner-headline {
        top: .5rem;
        left: 0rem;
        gap: .25rem;
    }

    .banner-headline .headline-box,
    .banner-headline .subheadline-box {
        padding: .25rem;
    }

    .banner-headline p {
        padding: 0rem;
    }
}

@media (max-width: 576px) {
    .banner-headline h1 {
        font-size: 2rem;
    }
}

.promo-cards {
    position: absolute;
    right: 3.125rem;
    bottom: 20vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    z-index: 2;
}

.promo-card {
    background: #fff;
    padding: .75rem;
    width: 222px;
    height: 240px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.promo-card>a {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.promo-card picture {
    display: block;
    width: 100%;
    min-height: 0;
    overflow: hidden;
}

.promo-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.promo-card .price {
    display: block;
    font-weight: 500;
    color: #C00F0C;
    margin-bottom: .5rem;
    font-size: 15px;
}

.promo-card .price em {
    font-style: normal;
    font-weight: 400;
    color: #000000;
    font-size: 12px;
    white-space: nowrap;
}

.promo-card.promo-info {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #947458;
    padding: 2rem;
    color: #fff;
    text-align: center;
}

.promo-card.promo-info h2 {
    margin: 0 0 .25rem 0;
    font-weight: 700;
    font-size: var(--h3-font-size);
}

.promo-card.promo-info p {
    margin: 0;
    font-weight: 400;
    font-size: 18px;
}

@media (max-width: 1440px) {
    .promo-cards {
        bottom: 10vh;
        right: 1rem;
    }
}

@media (max-width: 1200px) {
    .promo-cards {
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 1024px) {
    .promo-card {
        width: 150px;
        height: 150px;
    }

    .promo-card.promo-info {
        padding: 1rem;
    }

    .promo-card picture {
        width: 100%;
        min-height: 0;
        overflow: hidden;
    }

    .promo-card img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .promo-card.promo-info p {
        margin: 0;
        font-weight: 400;
        font-size: 16px;
    }
}

/* Mobile: cards go below slider in 2-column layout */
@media (max-width: 768px) {
    .promo-cards {
        position: static;
        margin: 1rem 0 0;
        padding: .25rem .5rem;
        display: flex;
        grid-template-columns: repeat(2, 1fr);
        gap: .75rem;
    }

    .promo-card {
        width: 100%;
        height: auto;
        aspect-ratio: auto !important;
        border: 1px solid var(--border-color)
    }

    .promo-card.promo-info {
        order: -1;
    }

    .promo-card picture {
        width: 100%;
        flex: 1;
        min-height: 0;
        overflow: hidden;
    }

    .promo-card img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
}

@media (max-width: 576px) {
    .promo-cards {
        flex-wrap: wrap;
        gap: 0;
    }

    .promo-card {
        width: 50%;
        height: auto;
    }

    .promo-card.promo-info h2 {
        font-size: 1.75rem;
    }

    .promo-card.promo-info p {
        font-size: var(--font-size-base);
    }

    .promo-card.promo-info {
        width: 100%;
        aspect-ratio: auto;
    }

    .promo-card {
        width: 33%;
    }

    .promo-card picture {
        width: 100%;
    }

    .promo-card.promo-info br {
        display: none;
    }

    .promo-card img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

}

.home-brand-slider-section {
    .swiper-wrapper {
        align-items: center;
    }
}

.home-statistic-products-section {
    .frame-type-list .gy-5 {
        gap: 3rem 0;
        --bs-gutter-y: 0rem;

        .product-container {
            margin: 0px !important;
        }
    }
}

.home-brand-slider-section {
    background-color: var(--background-color-dark);
    padding-bottom: 0rem;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        mix-blend-mode: multiply;
    }

    .swiper-button-next,
    .swiper-button-prev {
        color: var(--text-white);
        background: none;
        border: none;
        font-size: 20px;
        width: auto;
        height: auto;
        top: 50%;
        transform: translateY(0%);
        font-weight: 700;
        padding: 10px;
    }
}

.home-our-worlds-section {
    h2 {
        margin-bottom: 3rem;
    }

    h3 {
        font-size: var(--font-size-lg);
        margin-top: 1.5rem;
    }

    a {
        color: var(--text-color);
    }

    .home-our-worlds-card {
        border-radius: 10px;

        img {
            aspect-ratio: 1 / 1;
            border-radius: 10px;
        }

        h3 {
            margin-bottom: 0px;
        }
    }
}

.inspiration-content-section {
    margin-top: -1rem;

    .inspiration-content-wrapper {

        border-top: 2px solid var(--border-black);
        border-bottom: 2px solid var(--border-black);
        padding: 1rem 0;

        h2 {
            padding: 1.25rem 0;
            margin-bottom: 0;
        }
    }
}

.mobel-mithalung-section {
    background-color: var(--background-color-dark);
    padding: var(--spacing-xl) 0;
    color: var(--text-white);
}

.content-with-image-section {
    gap: 2.5rem;

    .image-content-wrapper {
        display: flex;
        align-items: stretch;

        img {
            width: 100%;
            min-height: 620px;
            height: 100%;
            object-fit: cover;

            @media (max-width: 992px) {
                min-height: 250px;
            }
        }

        .content-data {
            background-color: var(--bg-light-1);
            padding: 3rem 2.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;

            a {
                color: var(--text-secondary);
            }

            strong {
                font-weight: 600;
            }

            img {
                min-height: 30px !important;
                height: 30px !important;
                width: 30px !important;
                object-fit: contain !important;
            }

            p:has(img) {
                display: flex;
                flex-wrap: wrap;
                gap: 10px;
                align-items: center;
            }
        }

        &:nth-child(2) {
            .content-data {
                background-color: var(--background-color-light);
            }
        }

        &:nth-child(4) {
            .content-data {
                background-color: var(--bg-light-2);
                color: var(--text-secondary);
            }
        }
    }
}

.handwerk-content-section {
    .handwerk-content-wrapper {
        border-top: 2px solid var(--border-black);
        border-bottom: 2px solid var(--border-black);
        padding: 2rem 0;
    }
}

.frame-space-before-extra-large {
    margin-top: 0rem !important;
}

.content-with-image-section {
    .ce-gallery {
        width: 100%;
        margin: 0px !important;

        .ce-row {
            width: 100%;

            .ce-column {
                width: 100%;

                .image {
                    width: 100%;
                }
            }
        }
    }
}


.content-with-image-section .frame-type-textpic:nth-child(3n + 1) {
    .content-data {
        background-color: var(--bg-light-1);
    }
}

.content-with-image-section .frame-type-textpic:nth-child(3n + 2) {
    .ce-textpic {
        flex-direction: row-reverse;

        .content-data {
            background-color: var(--background-color-light);

        }
    }
}

.content-with-image-section .frame-type-textpic:nth-child(3n + 4) {
    .content-data {
        background-color: var(--bg-light-2);
        color: var(--text-secondary);
    }
}

.register-offcanvas {
    .btn-group {
        width: 100%;

        .btn-primary {
            background-color: var(--secondary-color) !important;
            color: white;
            padding: var(--spacing-sm) var(--spacing-md) !important;
            font-size: var(--font-size-lg);

        }
    }
}

.register-offcanvas .btn-group .btn-primary:hover {
    background-color: var(--accent-color) !important;
    color: white;
}


@media (min-width: 993px) {
    .content-with-image-section {
        .ce-textpic {
            display: flex;

            .ce-gallery {
                margin: 0px !important;
                height: 100%;

                .ce-row {
                    height: 100%;

                    .ce-column {
                        height: 100%;

                        .image {
                            height: 100%;
                            display: flex;
                        }
                    }
                }
            }

            .content-data {
                height: 100%;
                justify-content: start !important;
            }
        }
    }
}