.haendler-wrapper .haendler-text-image {
    display: flex;

}

.haendler-wrapper .haendler-img-box {
    width: 50%;
    padding-right: 3rem;
}

.haendler-wrapper .haendler-text-box {
    flex: 1;
}

.haendler-wrapper .haendler-tabs-wrapper {
    position: relative;
}

/* === Tab Navigation === */

.haendler-wrapper .tab-buttons {
    display: flex;
    gap: 1rem;
    padding: 2rem 0;
}

.haendler-wrapper .tab-navigation-level2 > .tab-buttons {
    padding-top: 0;
}

.haendler-wrapper .tab-navigation-level1 > .tab-buttons {
    width: 100%;
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(240, 246, 252, 0.75);
    backdrop-filter: blur(4px);
}

.haendler-wrapper .tab-buttons.d-none {
    display: none;
}

.haendler-wrapper .tab-button {
    flex: 1;
    border: 1px solid var(--cd-color-blue);
    padding: 1rem 1.5rem;
    color: var(--cd-color-blue);
    text-align: center;
    cursor: pointer;
    background: white;
    transition: transform 0.3s ease;
    font-family: var(--cd-font-main);
    font-size: 1rem;
    font-weight: bold;
}

.haendler-wrapper .tab-button:hover {
    transform: scale(1.05);
}

.haendler-wrapper .tab-button.active {
    background: var(--cd-gradient);
    color: white;
}

.haendler-wrapper .tab-content {
    display: none;
}

.haendler-wrapper .tab-content.active {
    display: block;
}

/*  === Händler === */
.haendler-wrapper .haendler-tab-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.haendler-wrapper .haendler-tab-content .haendler-box {
    padding: 1.5rem;
    background: white;
    display: flex;
    flex-direction: column;
}

.haendler-wrapper .haendler-tab-content .haendler-box .haendler-box-content {
    padding-bottom: 1.5rem;
}

.haendler-wrapper .haendler-tab-content .haendler-box a {
    text-decoration: underline;
}

.haendler-wrapper .haendler-country {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    gap: 0.5rem;
    color: var(--cd-color-blue);
}

.haendler-wrapper .distributor-contact-link {
    margin-top: auto;
    border-top: 1px solid var(--cd-background-light-blue);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none!important;
    font-size: 1rem;
    opacity: 0.5;
    transition: opacity .3s ease;
}

.haendler-wrapper .distributor-contact-link:hover {
    opacity: 1;
}

/* 80rem (1280px) */
@media (width < 80rem) {

    .haendler-wrapper .haendler-tab-content {
        grid-template-columns: repeat(3, 1fr);
    }

}

/* 64rem (1024px) */
@media (width < 64rem) {

    .haendler-wrapper .haendler-tab-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .haendler-wrapper .tab-buttons {
        flex-wrap: wrap;
    }

    .haendler-wrapper .tab-button {
        white-space: nowrap;
    }

}

/* 48rem (768px) */
@media (width < 48rem) {

    .haendler-wrapper .haendler-text-image {
        flex-direction: column;
    }

    .haendler-wrapper .haendler-img-box {
        width: 100%;
        padding-right: 0;
        padding-bottom: 1.5rem;
    }

}

/* 40rem (640px) */
@media (width < 40rem) {

    .haendler-wrapper .haendler-tab-content {
        grid-template-columns: repeat(1, 1fr);
    }

}

.haendler-lightbox-wrapper .haendler-contact-box {
    border: 1px solid var(--cd-color-blue);
    padding: 1rem;
}

.haendler-lightbox-wrapper .haendler-country {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    gap: 0.5rem;
    color: var(--cd-color-blue);
}