/* Cookie-Banner
   Ausgelagert am 29.07.2026 aus index.html, damit style-src ohne 'unsafe-inline'
   auskommt. Diese Datei wird nur von index.html eingebunden. */

.cookie-banner {
    /* Standardmaessig verborgen. page-init.js blendet den Banner per
       banner.style.display ein und aus - das lief bisher ueber ein
       style="display: none;" im HTML. */
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 44, 44, 0.98);
    color: #fff;
    padding: 2rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-banner-content {
    max-width: 1000px;
    margin: 0 auto;
}

.cookie-banner h3 {
    margin: 0 0 1rem 0;
    color: #c9a961;
    font-size: 1.5rem;
}

.cookie-banner p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

.cookie-banner a {
    color: #c9a961;
    text-decoration: underline;
}

.cookie-options {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: #6b4e3d;
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #c9a961;
    transform: translateY(-2px);
}

.cookie-btn-selected {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cookie-btn-selected:hover {
    background: rgba(255,255,255,0.1);
}

.cookie-btn-decline {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 2px solid rgba(255,255,255,0.3);
}

.cookie-btn-decline:hover {
    border-color: rgba(255,255,255,0.6);
    color: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.5rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}
