/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.98) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid #1e3a8a;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.cookie-consent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-consent-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
}

.cookie-consent-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-consent-close:hover {
    color: #1e3a8a;
}

.cookie-consent-text {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.cookie-consent-options {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-option {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cookie-option:hover {
    border-color: #1e3a8a;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
}

.cookie-option-header {
    display: flex;
    align-items: flex-start;
}

.cookie-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 0.75rem;
    width: 100%;
}

.cookie-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #1e3a8a;
}

.cookie-checkbox-label input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-checkbox-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cookie-checkbox-text strong {
    color: #1f2937;
    font-size: 1rem;
}

.cookie-checkbox-text small {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.4;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cookie-btn {
    flex: 1;
    min-width: 150px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.cookie-btn-primary {
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
}

.cookie-btn-primary:hover {
    background: #1e40af;
    border-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.cookie-btn-secondary {
    background: white;
    color: #1e3a8a;
    border-color: #1e3a8a;
}

.cookie-btn-secondary:hover {
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.cookie-btn-tertiary {
    background: white;
    color: #6b7280;
    border-color: #d1d5db;
}

.cookie-btn-tertiary:hover {
    background: #f9fafb;
    color: #374151;
    border-color: #9ca3af;
}

.cookie-consent-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.cookie-consent-links a {
    color: #1e3a8a;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.cookie-consent-links a:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-content {
        padding: 1.5rem;
    }

    .cookie-consent-title {
        font-size: 1.25rem;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-btn {
        min-width: 100%;
    }

    .cookie-consent-links {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
}

/* Cookie Settings Button (für spätere Änderungen) */
.cookie-settings-trigger {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    background: #1e3a8a;
    color: white;
    border: none;
    border-radius: 2rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    z-index: 999;
    display: none;
}

.cookie-settings-trigger.show {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-settings-trigger:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
