/* Cookie Consent Banner – Orga Consult Projekte */

#cookieBanner {
    position: fixed;
    bottom: -280px;
    left: 0;
    right: 0;
    background: rgba(9, 9, 11, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 40px;
    z-index: 10000;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

#cookieBanner.cookie-banner-visible {
    bottom: 0;
}

.cookie-banner-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
}

.cookie-banner-text p {
    font-family: var(--font-body, system-ui, sans-serif);
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.cookie-banner-text a {
    color: #60a5fa;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-banner-text a:hover {
    color: #93c5fd;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-body, system-ui, sans-serif);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.cookie-banner-btn:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.cookie-banner-btn-accept {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.cookie-banner-btn-accept:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.cookie-banner-btn-decline {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-banner-btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

body.cookie-banner-open {
    padding-bottom: 140px;
}

@media (max-width: 768px) {
    #cookieBanner {
        padding: 20px;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner-text {
        min-width: 100%;
    }

    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-banner-btn {
        width: 100%;
    }

    body.cookie-banner-open {
        padding-bottom: 220px;
    }
}
