/* ══════════════════════════════════════════════════════════════
   Cookie Consent Banner — DSGVO-konform, Soft-UI Design
   ══════════════════════════════════════════════════════════════ */

/* ── Overlay ── */
.cc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.cc-overlay.cc-visible {
    opacity: 1;
    pointer-events: auto;
}

/* ── Banner Container ── */
.cc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 0 1rem 1rem;
    transform: translateY(110%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.cc-banner.cc-visible {
    transform: translateY(0);
    pointer-events: auto;
}

/* ── Card ── */
.cc-card {
    max-width: 680px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow:
        0 -4px 30px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 1.75rem 2rem;
    animation: cc-slideUp 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cc-slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Icon ── */
.cc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3B82F6, #6366F1);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* ── Header ── */
.cc-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 0.875rem;
}
.cc-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

/* ── Body Text ── */
.cc-text {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0 0 1.25rem;
}
.cc-text a {
    color: #3B82F6;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    transition: color 0.2s;
}
.cc-text a:hover {
    color: #2563EB;
}

/* ── Buttons ── */
.cc-actions {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.cc-btn {
    flex: 1;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
}

.cc-btn--accept {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}
.cc-btn--accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.cc-btn--decline {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.cc-btn--decline:hover {
    background: #e2e8f0;
    color: #334155;
    transform: translateY(-1px);
}

/* ── Mobile Responsive ── */
@media (max-width: 576px) {
    .cc-card {
        padding: 1.25rem 1.25rem;
        border-radius: 16px 16px 0 0;
        margin: 0;
    }
    .cc-banner {
        padding: 0;
    }
    .cc-actions {
        flex-direction: column;
    }
    .cc-btn {
        min-width: 100%;
    }
    .cc-title {
        font-size: 0.95rem;
    }
    .cc-text {
        font-size: 0.8rem;
    }
}
