/* Opt-in-Buttons: genau eine Klasse am Divi-Button-Modul oder Link.
 * Gestaltung bewusst im Child-Theme; !important übersteuert nur diese Varianten.
 */
.burnabit-button {
    --bab-btn-bg: #bc4800;
    --bab-btn-text: #fff;
    --bab-btn-border: #bc4800;
    --bab-btn-hover-bg: #a33e00;
    --bab-btn-hover-text: #fff;
    --bab-btn-hover-border: #a33e00;
}
.burnabit-button-outline {
    --bab-btn-bg: transparent;
    --bab-btn-text: #0d1117;
    --bab-btn-border: #0d1117;
    --bab-btn-hover-bg: #0d1117;
    --bab-btn-hover-text: #fff;
    --bab-btn-hover-border: #0d1117;
}
.burnabit-button-outline-light {
    --bab-btn-bg: transparent;
    --bab-btn-text: #f3f4f6;
    --bab-btn-border: #f3f4f6;
    --bab-btn-hover-bg: #f3f4f6;
    --bab-btn-hover-text: #0d1117;
    --bab-btn-hover-border: #f3f4f6;
}
:is(a, button).burnabit-button,
.burnabit-button .et_pb_button,
:is(a, button).burnabit-button-outline,
.burnabit-button-outline .et_pb_button,
:is(a, button).burnabit-button-outline-light,
.burnabit-button-outline-light .et_pb_button {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: fit-content !important;
    min-width: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    box-sizing: border-box !important;
    min-height: 56px !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 15px 26px !important;
    border: 1px solid var(--bab-btn-border) !important;
    border-radius: 999px !important;
    background: var(--bab-btn-bg) !important;
    color: var(--bab-btn-text) !important;
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    line-height: 1.4 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    box-shadow: none !important;
    text-shadow: none !important;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease !important;
}
:is(a, button).burnabit-button::before,
.burnabit-button .et_pb_button::before,
:is(a, button).burnabit-button-outline::before,
.burnabit-button-outline .et_pb_button::before,
:is(a, button).burnabit-button-outline-light::before,
.burnabit-button-outline-light .et_pb_button::before { display: none !important; }
:is(a, button).burnabit-button::after,
.burnabit-button .et_pb_button::after,
:is(a, button).burnabit-button-outline::after,
.burnabit-button-outline .et_pb_button::after,
:is(a, button).burnabit-button-outline-light::after,
.burnabit-button-outline-light .et_pb_button::after {
    content: "" !important;
    display: block !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    translate: none !important;
    align-self: center !important;
    opacity: 1 !important;
    margin: 0 !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 18 18 6M6 6h12v12' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 18 18 6M6 6h12v12' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 180ms ease !important;
}
@media (hover: hover) and (pointer: fine) {
:is(a, button).burnabit-button:hover,
.burnabit-button .et_pb_button:hover,
:is(a, button).burnabit-button-outline:hover,
.burnabit-button-outline .et_pb_button:hover,
:is(a, button).burnabit-button-outline-light:hover,
.burnabit-button-outline-light .et_pb_button:hover {
    color: var(--bab-btn-hover-text) !important;
    background: var(--bab-btn-hover-bg) !important;
    border-color: var(--bab-btn-hover-border) !important;
}
:is(a, button).burnabit-button:hover::after,
.burnabit-button .et_pb_button:hover::after,
:is(a, button).burnabit-button-outline:hover::after,
.burnabit-button-outline .et_pb_button:hover::after,
:is(a, button).burnabit-button-outline-light:hover::after,
.burnabit-button-outline-light .et_pb_button:hover::after { transform: translate(3px, -2px) !important; }
}
:is(a, button).burnabit-button:focus-visible,
.burnabit-button .et_pb_button:focus-visible,
:is(a, button).burnabit-button-outline:focus-visible,
.burnabit-button-outline .et_pb_button:focus-visible,
:is(a, button).burnabit-button-outline-light:focus-visible,
.burnabit-button-outline-light .et_pb_button:focus-visible {
    outline: 3px solid #bc4800 !important;
    outline-offset: 4px !important;
}
a.burnabit-button-outline-light:focus-visible,
button.burnabit-button-outline-light:focus-visible,
.burnabit-button-outline-light .et_pb_button:focus-visible {
    outline-color: #ff700f !important;
}
:is(a, button).burnabit-button:active,
.burnabit-button .et_pb_button:active,
:is(a, button).burnabit-button-outline:active,
.burnabit-button-outline .et_pb_button:active,
:is(a, button).burnabit-button-outline-light:active,
.burnabit-button-outline-light .et_pb_button:active { transform: scale(.98); }
@media (max-width: 600px) {
:is(a, button).burnabit-button,
.burnabit-button .et_pb_button,
:is(a, button).burnabit-button-outline,
.burnabit-button-outline .et_pb_button,
:is(a, button).burnabit-button-outline-light,
.burnabit-button-outline-light .et_pb_button { padding: 15px 22px !important; letter-spacing: .055em !important; }
}
@media (prefers-reduced-motion: reduce) {
:is(a, button).burnabit-button,
.burnabit-button .et_pb_button,
:is(a, button).burnabit-button-outline,
.burnabit-button-outline .et_pb_button,
:is(a, button).burnabit-button-outline-light,
.burnabit-button-outline-light .et_pb_button,
:is(a, button).burnabit-button::after,
.burnabit-button .et_pb_button::after,
:is(a, button).burnabit-button-outline::after,
.burnabit-button-outline .et_pb_button::after,
:is(a, button).burnabit-button-outline-light::after,
.burnabit-button-outline-light .et_pb_button::after {
    transition: none !important;
    transform: none !important;
}
}
