/* Cookie Banner - CI-Design für Smartdigitalsolutions */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #3B82F6 0%, #8b5cf6 100%);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid rgba(255, 255, 255, 0.2);
}

#cookie-banner.show {
    transform: translateY(0);
}

#cookie-banner.hide {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: white;
}

.cookie-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-accept {
    background: white;
    color: #3B82F6;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-accept:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-essential {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-essential:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-info {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    padding: 0.5rem;
}

.btn-info:hover {
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    #cookie-banner {
        padding: 1.25rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-text h3 {
        font-size: 1.1rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .btn-accept,
    .btn-essential {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .cookie-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-accept,
    .btn-essential {
        width: 100%;
        max-width: 280px;
    }
}

/* Animation für bessere UX */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#cookie-banner.show {
    animation: slideUp 0.3s ease-out;
}

/* Accessibility */
.btn-accept:focus,
.btn-essential:focus,
.btn-info:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    #cookie-banner {
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    }
}