/* Xamu Consent-Banner (22.09.2026, v20260922-gads)
   Beide Knoepfe bewusst identisch gestaltet — "Ablehnen" darf nicht schwaecher
   aussehen als "Akzeptieren". Farben mit eigenen Werten, damit der Banner im
   alten (style.css) und im neuen Gestaltungssystem (system.css) gleich aussieht. */
.xc-banner {
    --xc-bg: #16161b;
    --xc-text: #e4e4e7;
    --xc-muted: #a1a1aa;
    --xc-border: rgba(200, 168, 85, 0.35);
    --xc-accent: #c8a855;
    --xc-accent-text: #0a0a0f;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9998;
    max-width: 960px;
    margin: 0 auto;
    background: var(--xc-bg);
    color: var(--xc-text);
    border: 1px solid var(--xc-border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    padding: 20px 24px;
    font-size: 0.92rem;
    line-height: 1.5;
}
.xc-banner[hidden] { display: none; }

[data-theme="light"] .xc-banner {
    --xc-bg: #ffffff;
    --xc-text: #1a1a2e;
    --xc-muted: #52525b;
    --xc-border: rgba(26, 26, 46, 0.14);
    --xc-accent: #8a6a1f;
    --xc-accent-text: #ffffff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.xc-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}
.xc-copy { flex: 1; min-width: 0; }
.xc-title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--xc-text);
}
.xc-title:focus { outline: none; }
.xc-title:focus-visible { outline: 2px solid var(--xc-accent); outline-offset: 3px; }
.xc-copy p { margin: 0; color: var(--xc-muted); }
.xc-copy a { color: var(--xc-accent); text-decoration: underline; }

.xc-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.xc-btn {
    min-height: 44px;
    min-width: 132px;
    padding: 10px 20px;
    border: 1px solid var(--xc-accent);
    border-radius: 8px;
    background: var(--xc-accent);
    color: var(--xc-accent-text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.15s;
}
.xc-btn:hover { filter: brightness(1.08); }
.xc-btn:focus-visible { outline: 3px solid var(--xc-text); outline-offset: 2px; }

@media (max-width: 720px) {
    .xc-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
    .xc-inner { flex-direction: column; align-items: stretch; gap: 14px; }
    .xc-actions .xc-btn { flex: 1; min-width: 0; }
}

@media (prefers-reduced-motion: no-preference) {
    .xc-banner:not([hidden]) { animation: xc-in 0.25s ease-out; }
    @keyframes xc-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
}
