/*
 * FAQ - 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-faq {
    margin: 24px 0;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--bk-border, #DFDDDC);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    color: var(--bk-text, #3B3535);
}

.bk-faq-head {
    margin-bottom: 18px;
}

.bk-faq-title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--bk-text, #3B3535);
}

.bk-faq-subtitle {
    display: block;
    font-size: 13px;
    color: var(--bk-muted, #AEAAA8);
}

.bk-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bk-faq-item {
    border: 1px solid var(--bk-border, #DFDDDC);
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
}

.bk-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
    color: var(--bk-text, #3B3535);
}

/* Standard-Dreieck des Browsers ausblenden, wir haben den eigenen Pfeil */
.bk-faq-question::-webkit-details-marker {
    display: none;
}

.bk-faq-question:hover {
    color: var(--bk-accent, #107C92);
}

.bk-faq-chevron {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--bk-muted, #AEAAA8);
    transition: transform 0.2s ease;
}

.bk-faq-item[open] > .bk-faq-question .bk-faq-chevron {
    transform: rotate(180deg);
}

.bk-faq-answer {
    padding: 0 16px 16px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--bk-text, #3B3535);
}

@media (max-width: 767.98px) {
    .bk-faq {
        padding: 16px;
    }
    .bk-faq-title {
        font-size: 18px;
    }
}
