/**
 * Cookie-Consent Banner Styles
 * DSGVO-konformes Cookie-Banner Design
 */

#cookie-banner {
    display: none; /* Wird via JavaScript auf 'flex' gesetzt */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 30, 30, 0.95);
    color: #fff;
    padding: 15px 20px;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.cookie-text h3 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

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

.cookie-text a {
    color: #1e88e5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookie-text a:hover {
    color: #64b5f6;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1 1 30%;
    min-width: 300px;
    justify-content: flex-end;
}

.cookie-button {
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

#cookie-accept {
    background-color: #1e88e5;
    color: white;
}

#cookie-accept:hover {
    background-color: #1976d2;
}

#cookie-reject {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

#cookie-reject:hover {
    border-color: white;
}

#cookie-customize {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

#cookie-customize:hover {
    border-color: white;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: flex-start;
        margin-top: 15px;
    }
}
