/*
 * Text mit Button - Frontend (Startseite)
 * Farben aus den --bk-*-Variablen des Templates, Fallbacks fuer den OPC-Editor.
 */
.bk-cta {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 32px 0;
    padding: 32px 40px;
    border-radius: 14px;
    color: var(--bk-text, #3B3535);
}

.bk-cta--bg-surface {
    background: var(--bk-surface, #F8F6F5);
    border: 1px solid var(--bk-border-soft, #EBEAE9);
}

.bk-cta--bg-white {
    background: #ffffff;
    border: 1px solid var(--bk-border, #DFDDDC);
}

.bk-cta--bg-accent {
    background: var(--bk-accent, #107C92);
    color: #ffffff;
}

.bk-cta--column {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.bk-cta-body {
    flex: 1 1 auto;
    min-width: 0;
}

.bk-cta-title {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
}

.bk-cta-text {
    margin: 0;
    max-width: 780px;
    font-size: 15px;
    line-height: 1.6;
}

.bk-cta-action {
    flex: 0 0 auto;
}

.bk-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    color: #ffffff !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.bk-cta-button--primary {
    background: var(--bk-primary, #CB5550);
    box-shadow: 0 4px 12px rgba(var(--bk-primary-rgb, 203, 85, 80), 0.25);
}

.bk-cta-button--primary:hover,
.bk-cta-button--primary:focus {
    background: var(--bk-primary-hover, #A84335);
}

.bk-cta-button--accent {
    background: var(--bk-accent, #107C92);
    box-shadow: 0 4px 12px rgba(var(--bk-accent-rgb, 16, 124, 146), 0.25);
}

.bk-cta-button--accent:hover,
.bk-cta-button--accent:focus {
    background: var(--bk-accent-hover, #0C6272);
}

/* Auf Petrol-Hintergrund bleibt ein Petrol-Button unsichtbar - dann weiss mit dunkler Schrift */
.bk-cta--bg-accent .bk-cta-button--accent {
    background: #ffffff;
    color: var(--bk-accent, #107C92) !important;
    box-shadow: none;
}

@media (max-width: 767.98px) {
    .bk-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 22px 20px;
    }
    .bk-cta-title { font-size: 21px; }
    .bk-cta-button { width: 100%; justify-content: center; }
}
