/* -*- coding: utf-8 -*- */
/* cookie-consent.css */

#cookie-banner {
    position: fixed;
    bottom: var(--space-md, 1.25rem);
    left: var(--space-md, 1.25rem);
    right: var(--space-md, 1.25rem);
    max-width: 680px;
    background: rgba(15, 25, 35, 0.97);
    border: 1px solid rgba(240,165,0,0.3);
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 40px rgba(240,165,0,0.1);
    backdrop-filter: blur(16px);
    z-index: 9000;
    padding: 1.5rem;
    animation: slideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.cookie-inner { display: flex; flex-direction: column; gap: 1rem; }

.cookie-text h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #f8f4ed;
    margin-bottom: 0.4rem;
}
.cookie-text p {
    font-size: 0.85rem;
    color: #8a97a8;
    line-height: 1.6;
    margin: 0;
}
.cookie-text a { color: #f0a500; }

/* Einstellungen */
#cookie-settings fieldset { border: none; padding: 0; }
#cookie-settings legend {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f0a500;
    margin-bottom: 0.75rem;
}

.cookie-toggle {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(240,165,0,0.1);
    cursor: pointer;
}
.cookie-toggle:last-child { border-bottom: none; }
.cookie-toggle--disabled { opacity: 0.5; cursor: not-allowed; }
.cookie-toggle input[type="checkbox"] { display: none; }
.toggle-label strong {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    color: #f8f4ed;
}
.toggle-label small { font-size: 0.78rem; color: #8a97a8; }

/* Buttons */
.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

@media (max-width: 500px) {
    #cookie-banner { bottom: 0; left: 0; right: 0; border-radius: 12px 12px 0 0; }
    .cookie-actions { flex-direction: column; }
    .cookie-actions .btn { width: 100%; justify-content: center; }
}
