/* COOKIE BANNER OVERLAY SYSTEM */
.cookie-banner-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    box-sizing: border-box;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.cookie-banner-card {
    background-color: #1a1a1a;
    color: #f5f5f5;
    width: 100%;
    max-width: 680px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    padding: 24px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideUpBanner 0.4s ease-out;
}

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

.cookie-banner-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: #fff;
}

.cookie-banner-header p {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #cccccc;
}

/* TABS SYSTEM */
.cookie-banner-tabs {
    display: flex;
    border-bottom: 1px solid #333;
    margin-bottom: 15px;
}

.banner-tab-btn {
    background: none;
    border: none;
    color: #888;
    padding: 10px 20px;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.banner-tab-btn:hover {
    color: #fff;
}

.banner-tab-btn.active {
    color: #fff;
    border-bottom-color: #c5a880; /* Passender edler Gold/Champagner-Ton */
}

.banner-tab-content {
    display: none;
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 5px;
}

.banner-tab-content.active {
    display: block;
}

/* OPTIONS ITEMS & SWITCHES */
.cookie-option-item {
    background: #242424;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 10px;
}

.option-main {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.option-text strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: #fff;
}

.option-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #b0b0b0;
    line-height: 1.4;
}

/* TOGGLE SLIDER */
.switch-container {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}

.switch-container input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #444;
    transition: .3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
}

input:checked + .slider {
    background-color: #c5a880; /* Aktiv-Farbe passend zur Eventlocation */
}

input:disabled + .slider {
    background-color: #555;
    opacity: 0.6;
    cursor: not-allowed;
}

input:checked + .slider:before {
    transform: translateX(18px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

/* DETAILS AREA */
.details-scroller {
    max-height: 200px;
    overflow-y: auto;
}

.partner-detail-block {
    border-left: 2px solid #c5a880;
    padding-left: 12px;
    margin-bottom: 14px;
    font-size: 0.85rem;
}

.partner-detail-block h4 {
    margin: 0 0 5px 0;
    color: #fff;
}

.partner-detail-block p {
    margin: 2px 0;
    color: #b0b0b0;
}

.partner-detail-block a {
    color: #c5a880;
    text-decoration: none;
}

/* FOOTER & BUTTONS */
.cookie-banner-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid #333;
    padding-top: 15px;
}

.footer-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.footer-links a {
    color: #888;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.cookie-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.btn-secondary {
    background-color: #2b2b2b;
    color: #cccccc;
    border: 1px solid #444;
}

.btn-secondary:hover {
    background-color: #383838;
    color: #fff;
}

.btn-primary-outline {
    background-color: transparent;
    color: #c5a880;
    border: 1px solid #c5a880;
}

.btn-primary-outline:hover {
    background-color: rgba(197, 168, 128, 0.1);
}

.btn-primary {
    background-color: #c5a880;
    color: #111;
}

.btn-primary:hover {
    background-color: #b3956d;
}

/* RESPONSIVE OPTIMIZATIONS */
@media (max-width: 550px) {
    .footer-actions {
        flex-direction: column;
    }
    .cookie-btn {
        width: 100%;
        flex: none;
    }
}
