/* =============================================================
   Klaro Consent Manager – CI-konforme Overrides (ProSeller AG)
   Helles Theme, passend zur Website
   ============================================================= */

.klaro {
    --font-size: 14px;
    --bg1: #ffffff !important;
    --text1: #1e293b !important;
    --text2: #475569 !important;
    --text3: #64748b !important;
    --green1: #005baa !important;
    --green2: #004a8c !important;
    --green3: #003d77 !important;
    --blue1: #005baa !important;
    font-family: 'Inter', sans-serif !important;
}

/* Modal Card – heller Hintergrund */
.klaro .cookie-modal .cm-modal {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1rem !important;
    color: #1e293b !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
}

/* Cookie Banner – Dunkelblau, kompakt */
.klaro .cookie-notice {
    background: #1a2433 !important;
    border: none !important;
    border-radius: 0.75rem !important;
    color: #f1f5f9 !important;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3) !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 13px !important;
    max-width: 98% !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.klaro .cookie-notice p,
.klaro .cookie-notice .cn-body p {
    color: #cbd5e1 !important;
    margin: 0.25rem 0 !important;
    line-height: 1.4 !important;
}

.klaro .cookie-notice a {
    color: #f7941d !important;
}

/* Banner Buttons – kompakt */
.klaro .cookie-notice .cm-btn.cm-btn-success,
.klaro .cookie-notice .cm-btn.cm-btn-accept-all {
    background-color: #005baa !important;
    color: #ffffff !important;
    padding: 0.4rem 1rem !important;
    font-size: 13px !important;
}

.klaro .cookie-notice .cm-btn.cm-btn-success:hover,
.klaro .cookie-notice .cm-btn.cm-btn-accept-all:hover {
    background-color: #004a8c !important;
}

.klaro .cookie-notice .cm-btn.cm-btn-accept {
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #cbd5e1 !important;
    padding: 0.4rem 1rem !important;
    font-size: 13px !important;
}

.klaro .cookie-notice .cm-btn.cm-btn-decline {
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #94a3b8 !important;
    padding: 0.4rem 1rem !important;
    font-size: 13px !important;
}

.klaro .cookie-notice .cm-btn.cm-btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #f1f5f9 !important;
}

/* Überschriften */
.klaro .cookie-modal h1,
.klaro .cookie-modal h2 {
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* Fliesstext */
.klaro .cookie-modal p,
.klaro .cookie-modal .cm-app-title,
.klaro .cookie-modal .cm-app-description,
.klaro .cookie-notice p {
    color: #475569 !important;
}

/* Service-Titel (Besucher-Statistiken, Marketing, etc.) */
.klaro .cookie-modal .cm-list-title,
.klaro .cookie-modal .cm-purpose .cm-title,
.klaro .cookie-modal .cm-purpose span.cm-title,
.klaro .cookie-modal .cm-app-title span {
    color: #1e293b !important;
    font-weight: 600 !important;
}

/* Links → ProSeller Orange */
.klaro .cookie-modal a,
.klaro .cookie-notice a {
    color: #f7941d !important;
    text-decoration: underline !important;
}

/* ── Toggle-Switcher ── */
.klaro .cm-switch-label .cm-switch {
    background: #cbd5e1 !important;
    border-radius: 999px !important;
    transition: background 0.2s ease !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 22px !important;
    position: relative !important;
}

.klaro .cm-switch-label .cm-switch::before {
    background: #ffffff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25) !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
}

.klaro .cm-switch-label input:checked+.cm-switch {
    background: #005baa !important;
}

/* ── Buttons ── */
/* "Alle akzeptieren" */
.klaro .cm-btn.cm-btn-success,
.klaro .cm-btn.cm-btn-accept-all {
    background-color: #005baa !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0.5rem !important;
    font-weight: 700 !important;
    padding: 0.6rem 1.2rem !important;
}

.klaro .cm-btn.cm-btn-success:hover,
.klaro .cm-btn.cm-btn-accept-all:hover {
    background-color: #004a8c !important;
}

/* "Ausgewählte akzeptieren" */
.klaro .cm-btn.cm-btn-accept {
    background-color: transparent !important;
    color: #005baa !important;
    border: 2px solid #005baa !important;
    border-radius: 0.5rem !important;
    font-weight: 700 !important;
    padding: 0.6rem 1.2rem !important;
}

.klaro .cm-btn.cm-btn-accept:hover {
    background-color: rgba(0, 91, 170, 0.08) !important;
}

/* "Ich lehne ab" */
.klaro .cm-btn.cm-btn-decline {
    background-color: transparent !important;
    color: #64748b !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    padding: 0.6rem 1.2rem !important;
}

.klaro .cm-btn.cm-btn-decline:hover {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
}

/* Backdrop */
.klaro .cookie-modal .cm-bg {
    background: rgba(0, 0, 0, 0.4) !important;
}

/* "Realisiert mit Klaro!" */
.klaro .cm-powered-by a {
    color: #94a3b8 !important;
    text-decoration: none !important;
}