/**
 * Cookie Consent Banner Styling
 * DSGVO-konform & mobil-optimiert
 */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Overlay entfernt - kein Blur mehr */
.cookie-consent-overlay {
    display: none;
}

.cookie-consent-content {
    position: relative;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2d3436;
}

.cookie-consent-text p {
    font-size: 0.85em;
    line-height: 1.4;
    color: #636e72;
    margin-bottom: 0;
}

.cookie-consent-text p:not(:last-child) {
    margin-bottom: 5px;
}

.cookie-links {
    margin-top: 15px;
    font-size: 0.9em;
}

.cookie-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.cookie-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.cookie-btn-secondary {
    background: white;
    color: #636e72;
    border: 2px solid #dfe6e9;
}

.cookie-btn-secondary:hover {
    background: #f8f9fa;
    border-color: #b2bec3;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    .cookie-consent-text h3 {
        font-size: 1em;
    }

    .cookie-consent-text p {
        font-size: 0.8em;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1;
        font-size: 0.85em;
        padding: 8px 15px;
    }
}

/* Cookie-Einstellungen Link im Footer */
.cookie-settings-link {
    cursor: pointer;
    color: #667eea;
    text-decoration: underline;
    font-size: 0.9em;
}

.cookie-settings-link:hover {
    color: #764ba2;
}
