/* ═══════════════════════════════════════════════════════════════════════════════
   HolidayBoost — Cookie Consent Banner (DSGVO)
   ═══════════════════════════════════════════════════════════════════════════════ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100001;
    background: linear-gradient(180deg, rgba(15, 29, 50, 0.98) 0%, #0a1628 100%);
    padding: 18px 24px;
    box-shadow:
        0 -12px 40px rgba(0, 0, 0, 0.7),
        0 -1px 0 rgba(38, 208, 206, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner.slide-out {
    transform: translateY(100%);
    opacity: 0;
}

.cookie-content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}

.cookie-text {
    flex: 1;
    min-width: 220px;
}

.cookie-text strong {
    display: block;
    color: var(--text-primary, #f0f4f8);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

.cookie-text p a {
    color: var(--brand-primary, #26d0ce);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--brand-primary, #26d0ce), var(--brand-secondary, #1da8a6));
    color: #0a1628;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(38, 208, 206, 0.35);
}

.cookie-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(38, 208, 206, 0.5);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
    .cookie-banner {
        padding: 16px 16px 20px;
    }

    .cookie-icon {
        display: none;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .cookie-actions {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
        padding: 12px 16px;
    }
}
