/* --- Zentrales Modal Design --- */

/* Das Haupt-Overlay, das die Seite abdunkelt */
#zelx-cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Starke Abdunklung */
    z-index: 99998; /* Knapp unter dem Banner */
    display: none; /* Wird per JS gesteuert */
}

/* Das eigentliche Banner (jetzt als zentrales Modal) */
#zelx-cookie-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Perfekt zentriert */
    width: 90%;
    max-width: 600px; /* Optimale Breite für Lesbarkeit */
    background: #1a1a1a;
    color: #f1f1f1;
    padding: 30px; /* Mehr Innenabstand */
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5); /* Tieferer Schatten */
    z-index: 99999; /* Ganz oben */
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

/* Inhalt im Modal */
.zelx-banner-content {
    margin-bottom: 25px;
}

.zelx-banner-content h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
}

.zelx-banner-content p {
    margin: 0;
    color: #ccc;
}

.zelx-banner-content a {
    color: #4da6ff;
    text-decoration: underline;
}

/* Button Bereich */
.zelx-banner-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start; /* Buttons linksbündig */
}

.zelx-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none; /* Wichtig für Links */
}

.zelx-btn:active {
    transform: scale(0.98); /* Kleiner Klick-Effekt */
}

.zelx-btn-primary {
    background: #0073aa;
    color: #fff;
}
.zelx-btn-primary:hover {
    background: #005177;
}

.zelx-btn-secondary {
    background: #444;
    color: #fff;
}
.zelx-btn-secondary:hover {
    background: #555;
}

.zelx-btn-text {
    background: transparent;
    color: #ccc;
    text-decoration: underline;
}
.zelx-btn-text:hover {
    color: #fff;
}

/* --- Einstellungs Modal Design (unverändert) --- */
.zelx-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: none;
}

.zelx-modal-content {
    background: #fff;
    color: #333;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.zelx-modal-content h3 {
    margin-top: 0;
}

.zelx-option {
    margin: 15px 0;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.zelx-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.zelx-modal-buttons {
    margin-top: 20px;
    text-align: right;
}