/**
 * Cookie Consent Banner Styles
 */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color, #2C3E50);
    color: var(--light-color, #fff);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

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

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

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

.cookie-banner-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--light-color, #fff);
}

.cookie-banner-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

.cookie-banner-text a {
    color: var(--secondary-color, #E67E22);
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: var(--light-color, #fff);
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* Beide Buttons sind bewusst visuell gleichwertig (DSGVO-konform, kein Dark Pattern) */
.cookie-banner-actions .btn {
    white-space: nowrap;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--border-radius, 5px);
    border-width: 2px;
    border-style: solid;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 160px;
    text-align: center;
}

/* "Nur notwendige" – gleichwertig prominent, neutrales Weiß-Outline */
.btn-cookie-necessary {
    background-color: transparent;
    color: var(--light-color, #fff);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-cookie-necessary:hover,
.btn-cookie-necessary:focus-visible {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--light-color, #fff);
    border-color: var(--light-color, #fff);
}

/* "Alle akzeptieren" – orange, aber nicht dominanter als der andere Button */
.btn-cookie-accept {
    background-color: var(--secondary-color, #E67E22);
    color: var(--light-color, #fff);
    border-color: var(--secondary-color, #E67E22);
}

.btn-cookie-accept:hover,
.btn-cookie-accept:focus-visible {
    background-color: var(--secondary-color-dark, #d35400);
    border-color: var(--secondary-color-dark, #d35400);
    color: var(--light-color, #fff);
}

/* Map consent placeholder */
.map-consent-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
    padding: 2rem;
    text-align: center;
    background-color: var(--light-gray, #eee);
    border-radius: var(--border-radius, 5px);
}

.map-consent-placeholder i {
    font-size: 3rem;
    color: var(--accent-color, #95A5A6);
    margin-bottom: 1rem;
}

.map-consent-placeholder p {
    margin-bottom: 1.5rem;
    color: var(--text-color, #333);
    max-width: 400px;
}

.map-consent-placeholder .btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.map-external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-color, #2C3E50);
    text-decoration: underline;
}

.map-external-link:hover {
    color: var(--secondary-color, #E67E22);
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 1rem;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner-actions .btn {
        flex: 1;
        min-width: 130px;
    }
}

