/*
 * Warum dieses Produkt? - Frontend
 * Farben kommen aus den --bk-*-Variablen des Templates (sass/_variables.scss).
 * Die Fallback-Werte greifen nur ausserhalb des Beste-Kumpels-Templates
 * (z. B. im OPC-Editor).
 */
.bk-warum {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 24px 0;
    background: #ffffff;
    border: 1px solid var(--bk-border, #DFDDDC);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    color: var(--bk-text, #3B3535);
}

.bk-warum-image {
    flex: 0 0 40%;
    max-width: 40%;
    min-height: 320px;
    background: var(--bk-surface, #F8F6F5);
    overflow: hidden;
}

.bk-warum--image-right .bk-warum-image {
    order: 2;
}

.bk-warum-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bk-warum-body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 28px 32px;
}

.bk-warum--no-image .bk-warum-body {
    padding: 28px;
}

.bk-warum-overline {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--bk-primary, #CB5550);
}

.bk-warum-title {
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--bk-accent, #107C92);
}

.bk-warum-text {
    margin: 0 0 12px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--bk-text, #3B3535);
}

.bk-warum-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bk-warum-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.bk-warum-check {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--bk-accent, #107C92);
    color: #ffffff;
    font-size: 10px;
}

@media (max-width: 991.98px) {
    .bk-warum {
        flex-direction: column;
    }
    /* Feste Hoehe statt max-height: nur so greift object-fit am Bild,
       sonst laeuft das Bild in seiner natuerlichen Hoehe ueber den Text */
    .bk-warum-image,
    .bk-warum--image-right .bk-warum-image {
        flex: 0 0 auto;
        max-width: 100%;
        min-height: 0;
        height: 300px;
        order: 0;
    }
    .bk-warum-body {
        padding: 22px 20px;
    }
}

@media (max-width: 767.98px) {
    .bk-warum-title {
        font-size: 20px;
    }
    .bk-warum-image,
    .bk-warum--image-right .bk-warum-image {
        height: 220px;
    }
}
