/* Cookie Banner Styles - DSGVO konform */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(54, 151, 177, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-banner-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: #f6a800;
}

.cookie-banner-description {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cookie-btn-primary {
    background: #f6a800;
    color: #333;
}

.cookie-btn-primary:hover {
    background: #e69500;
    transform: translateY(-1px);
}

.cookie-btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-link {
    background: transparent;
    color: #f6a800;
    text-decoration: underline;
}

.cookie-btn-link:hover {
    color: #e69500;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    overflow-y: auto;
    padding: 20px;
}

.cookie-settings-modal.show {
    display: block;
}

.cookie-settings-content {
    background: white;
    max-width: 800px;
    margin: 50px auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.cookie-settings-header {
    background: #3697b1;
    color: white;
    padding: 20px;
    text-align: center;
}

.cookie-settings-header h2 {
    margin: 0;
    color: #f6a800;
    font-size: 1.5rem;
}

.cookie-settings-body {
    padding: 30px;
}

.cookie-category {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.cookie-category-header {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-category-title {
    font-weight: 600;
    margin: 0;
    color: #333;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.cookie-toggle.active {
    background: #f6a800;
}

.cookie-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.cookie-toggle.active::after {
    transform: translateX(26px);
}

.cookie-category-body {
    padding: 20px;
}

.cookie-category-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.cookie-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cookie-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #555;
}

.cookie-list li:last-child {
    border-bottom: none;
}

.cookie-settings-footer {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.cookie-settings-footer .cookie-btn {
    margin: 0 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .cookie-banner-buttons {
        justify-content: center;
    }
    
    .cookie-settings-content {
        margin: 20px;
        border-radius: 8px;
    }
    
    .cookie-settings-body {
        padding: 20px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Animation für das Einblenden */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner.show {
    animation: slideUp 0.3s ease-out;
}

/* Hover-Effekte */
.cookie-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cookie-toggle:hover {
    opacity: 0.8;
} 