/* ==========================================================================
   Bricks Consent — Essential Styles
   Nur Floating-Button und Platzhalter für blockierte Elemente.
   Das Banner-Design wird vollständig im Bricks Builder erstellt.
   ========================================================================== */

/* Floating-Button zum erneuten Öffnen des Banners */
.bconsent-floating-btn {
    position: fixed;
    bottom: 1.5rem;
    left:   1.5rem;
    z-index: 99999;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;

    width:  auto;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 .75rem;
    border-radius: 2rem;

    background: #1a1a1a;
    color: #fff;
    border: none;
    cursor: pointer;

    font-size: .75rem;
    font-family: inherit;
    line-height: 1;
    white-space: nowrap;

    box-shadow: 0 2px 12px rgba(0,0,0,.25);
    transition: background .18s ease, transform .12s ease;
}

.bconsent-floating-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

.bconsent-floating-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Platzhalter für blockierte Iframes (z. B. YouTube vor Consent) */
.bconsent-blocked-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .75rem;

    width:  100%;
    min-height: 200px;
    background: #f0f0f0;
    border: 1px dashed #ccc;
    border-radius: .25rem;
    padding: 1.5rem;

    color: #555;
    font-size: .875rem;
    font-family: inherit;
    text-align: center;
}

/* Blockierte Script-/Iframe-Elemente ausblenden bis Consent */
[data-bconsent-src] {
    display: none !important;
}
