.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #475569;
    color: white;
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-banner-text {
    flex: 1;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
}

.cookie-btn-save {
    background: #1E293A;
    color: white;
}

.cookie-btn-save:hover {
    background: #334153;
}

.cookie-btn-cancel {
    background: #c9c9c9;
    color: #334153;
}

.cookie-btn-cancel:hover {
    background: #dadada;
}

/* Toggle Switch - schönere Optik */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin-left: 15px;
    vertical-align: middle;
}

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

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: all .4s ease;
    border-radius: 30px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: all .4s ease;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cookie-switch input:checked + .cookie-slider {
    background-color: #27ae60;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(30px);
}

.cookie-switch:hover .cookie-slider {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3), 0 0 8px rgba(39, 174, 96, 0.3);
}

/* Settings Link */
.cookie-settings-link {
    color: #3498db;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
}

.cookie-settings-link:hover {
    color: #2980b9;
}

/* Externe Inhalte blockieren */
.external-content-block {
    display: none !important;
}

.external-content-allowed .external-content-block {
    display: block !important;
}

.external-content-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    padding: 30px 20px;
    text-align: center;
    margin: 20px 0;
    border-radius: 8px;
}

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