/* assets/css/cookie-banner.css
   Version 1.0.0
   - einfacher funktionaler Cookie-Banner
*/

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    inset: 0;
    z-index: 6000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
}

.cookie-banner__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
}

.cookie-banner__panel {
    position: relative;
    width: 100%;
    max-width: 760px;
    background: #ffffff;
    border: 1px solid rgba(19, 52, 89, 0.10);
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.20);
    padding: 22px 18px;
}

.cookie-banner__eyebrow {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1f3c88;
}

.cookie-banner__title {
    margin: 0 0 10px;
    font-size: 1.45rem;
    line-height: 1.2;
    color: #0f172a;
}

.cookie-banner__text {
    margin: 0 0 16px;
    color: #334155;
    line-height: 1.6;
}

.cookie-banner__text a {
    color: #1f3c88;
    font-weight: 700;
    text-decoration: none;
}

.cookie-banner__text a:hover,
.cookie-banner__text a:focus {
    text-decoration: underline;
}

.cookie-banner__info {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.cookie-banner__category {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
}

.cookie-banner__category strong {
    display: block;
    margin-bottom: 4px;
    color: #0f172a;
    font-size: 0.98rem;
}

.cookie-banner__category span {
    display: block;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-banner__actions {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}

.cookie-banner__button {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 700;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cookie-banner__button:hover {
    transform: translateY(-1px);
}

.cookie-banner__button--primary {
    background: #1f3c88;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(31, 60, 136, 0.20);
}

.cookie-banner__button--primary:hover {
    background: #162c63;
}

.cookie-banner__button--ghost {
    background: #eef2f7;
    color: #1e293b;
    border: 1px solid #dbe3ee;
}

.cookie-banner__button--ghost:hover {
    background: #e5ebf3;
}

.footer-cookie-button {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    color: rgba(255,255,255,0.90);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.footer-cookie-button:hover,
.footer-cookie-button:focus {
    color: #fff;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .cookie-banner {
        padding: 24px;
    }

    .cookie-banner__panel {
        padding: 28px 28px;
    }

    .cookie-banner__actions {
        flex-direction: row;
        justify-content: flex-end;
    }

    .cookie-banner__button {
        width: auto;
        min-width: 180px;
        padding: 0 18px;
    }
}