/* Klaro Cookie Consent - Accessibility & Contrast Improvements */

/* Fix ARIA dialog accessibility - add visible title */
#klaro-cookie-notice::before {
    content: 'Cookie-Einstellungen';
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #333;
}

/* Improve button contrast ratios for WCAG AA compliance */
.klaro .cookie-notice .cn-buttons .cm-btn.cm-btn-danger {
    background-color: #555555 !important;
    color: #ffffff !important;
    /* Contrast ratio: 7.48:1 (WCAG AA compliant) */
}

.klaro .cookie-notice .cn-buttons .cm-btn.cm-btn-success {
    background-color: #147a5c !important;
    color: #ffffff !important;
    /* Contrast ratio: 4.53:1 (WCAG AA compliant) */
}

.klaro .cookie-notice .cn-buttons .cm-btn.cm-btn-danger:hover {
    background-color: #333333 !important;
}

.klaro .cookie-notice .cn-buttons .cm-btn.cm-btn-success:hover {
    background-color: #0f5943 !important;
}

/* Ensure modal has proper title for screen readers */
.klaro .cookie-modal .cm-modal .cm-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
