/* ── Cookie Info Banner ─────────────────────────────────────────────────────
   Compact card, bottom-left corner. Not full-width.
   Only technically necessary cookies → info notice (§ 25 Abs. 2 Nr. 2 TTDSG)
   ─────────────────────────────────────────────────────────────────────────── */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    z-index: 9200;
    width: 320px;
    background: #fff;
    color: #343a40;
    border: 1px solid #dee2e6;
    border-bottom: 3px solid #1a6bb5;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .14);
    padding: 14px 16px 12px;
    font-size: 0.78rem;
    line-height: 1.5;
    opacity: 1;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.cookie-banner--hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(14px);
    pointer-events: none;
    visibility: hidden;
}

.cookie-banner__title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #212529;
    margin: 0 0 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cookie-banner__title::before {
    content: '🍪';
    font-size: 0.9rem;
}

.cookie-banner__text {
    color: #495057;
    margin: 0 0 10px;
}

.cookie-banner__text a {
    color: #1a6bb5;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}

.cookie-banner__text a:hover,
.cookie-banner__text a:focus-visible {
    color: #0f4a8a;
}

.cookie-banner__actions {
    display: flex;
    gap: 6px;
}

.cookie-banner__btn {
    flex: 1;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
    transition: background 0.12s, border-color 0.12s;
    white-space: nowrap;
}

.cookie-banner__btn--ok {
    background: #1a6bb5;
    color: #fff;
    border-color: #1a6bb5;
}

.cookie-banner__btn--ok:hover { background: #155a9a; border-color: #155a9a; }

.cookie-banner__btn--ok:focus-visible {
    outline: 3px solid #ffbf00;
    outline-offset: 2px;
}

.cookie-banner__btn--info {
    background: #f8f9fa;
    color: #495057;
    border-color: #dee2e6;
}

.cookie-banner__btn--info:hover { background: #e9ecef; border-color: #ced4da; }

.cookie-banner__btn--info:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

/* ── Cookie Trigger Button ────────────────────────────────────────────────── */

.cookie-trigger {
    position: fixed;
    bottom: 20px;
    right: 76px;            /* 20px base + 48px ax-trigger + 8px gap */
    z-index: 9000;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    line-height: 1;
    background: #fff;
    color: #212529;
    border: 2px solid #ced4da;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    transition: background 0.15s, box-shadow 0.15s, border-color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-trigger:hover,
.cookie-trigger:focus-visible {
    background: #f0f4ff;
    border-color: #005fcc;
    box-shadow: 0 4px 16px rgba(0, 95, 204, .22);
}

@media (max-width: 400px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        width: auto;
        bottom: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner { transition: none; }
}

@media print {
    .cookie-banner { display: none; }
}
