/* Cookie-Hinweis-Banner — zentriert im Viewport, Keks rechts oben am Rechteck */
:root {    --wbm-cc-bg: #222529;
    --wbm-cc-accent: #b31629;
    --wbm-cc-text: #f8f9fa;
    --wbm-cc-muted: #adb5bd;
}

.wbm-cc-anchor {
    position: fixed;
    left: 50%;
    top: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    z-index: 99998;
    width: min(22rem, calc(100vw - 2rem));
    max-width: min(22rem, calc(100vw - 2rem));
    font-family: "Roboto Condensed", "Segoe UI", system-ui, sans-serif;
}

@media (min-width: 992px) {
    .wbm-cc-anchor {
        width: min(24rem, calc(100vw - 3rem));
        max-width: min(24rem, calc(100vw - 3rem));
    }
}

.wbm-cc-inner {
    position: relative;
    padding-top: 2rem;
}

/* Großer Keks — rechts oben am Banner, ragt über Ecke und oberen Rand hinaus */
.wbm-cc-cookie-visual {
    position: absolute;
    top: -1.85rem;
    right: -1.35rem;
    left: auto;
    transform: none;
    width: 6.25rem;
    height: 6.25rem;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(3px 5px 10px rgba(0, 0, 0, 0.35));
}

@media (min-width: 992px) {
    .wbm-cc-cookie-visual {
        width: 7rem;
        height: 7rem;
        top: -2.1rem;
        right: -1.5rem;
    }
}

.wbm-cc-panel {
    background: var(--wbm-cc-bg);
    color: var(--wbm-cc-text);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    padding: 1rem;
    padding-right: 3.25rem;
    position: relative;
    z-index: 1;
}

.wbm-cc-title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
}

.wbm-cc-text {
    margin: 0 0 0.85rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--wbm-cc-muted);
}

.wbm-cc-text a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wbm-cc-text a:hover {
    color: var(--wbm-cc-accent);
}

.wbm-cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.wbm-cc-btn {
    border: none;
    border-radius: 3px;
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, color 0.15s ease;
}

.wbm-cc-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.wbm-cc-btn--primary {
    background: var(--wbm-cc-accent);
    color: #fff;
}

.wbm-cc-btn--primary:hover {
    filter: brightness(1.08);
}

.wbm-cc-btn--ghost {
    background: transparent;
    color: var(--wbm-cc-muted);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.wbm-cc-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .wbm-cc-btn {
        transition: none;
    }
}
