/*
 * Complianz cookie banner in the brand (Max, 2026-11-02: „brand it“). Loads on every front-end page where Complianz
 * runs, branded and old Salient pages alike. Only Complianz's own CSS variables and a few rules are overridden; the
 * banner's text, categories and behaviour stay in Complianz (wp-admin → Complianz → Consent banner).
 * Accept and Deny look exactly the same (equal weight, as German data-protection authorities expect); preferences
 * is the quieter outline button.
 */
.cmplz-cookiebanner, #cmplz-manage-consent .cmplz-manage-consent {
	--cmplz_banner_background_color: #fff;
	--cmplz_banner_border_color: #000;
	--cmplz_banner_border_width: 3px;
	--cmplz_banner_border_radius: 0;
	--cmplz_text_color: #000;
	--cmplz_hyperlink_color: #000;
	--cmplz_text_font_size: 14px;
	--cmplz_title_font_size: 17px;
	--cmplz_link_font_size: 13px;
	--cmplz_button_border_radius: 0;
	--cmplz_button_font_size: 16px;
	--cmplz_button_accept_background_color: #000;
	--cmplz_button_accept_border_color: #000;
	--cmplz_button_accept_text_color: #fff;
	--cmplz_button_deny_background_color: #000;
	--cmplz_button_deny_border_color: #000;
	--cmplz_button_deny_text_color: #fff;
	--cmplz_button_settings_background_color: #fff;
	--cmplz_button_settings_border_color: #000;
	--cmplz_button_settings_text_color: #000;
	--cmplz_slider_active_color: #000;
	--cmplz_slider_inactive_color: #8a8a8a;
	--cmplz_category_header_always_active_color: #000;
	font-family: "Fixel Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.cmplz-cookiebanner.cmplz-show { box-shadow: 8px 8px 0 #E52F9B !important; }
/* Labels meant for screen readers only (themes usually hide them; our branded pages load no theme CSS) */
.cmplz-cookiebanner .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.cmplz-cookiebanner .cmplz-category { background: #fff; border: 2px solid #000; border-radius: 0; }
.cmplz-cookiebanner .cmplz-always-active { color: #000; font-weight: 700; }
.cmplz-cookiebanner .cmplz-title { font-family: "Fixel Display", "Fixel Text", system-ui, sans-serif; font-weight: 800; }
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn { min-height: 48px; border-width: 2px !important; font-family: "Fixel Display", "Fixel Text", system-ui, sans-serif; font-weight: 700; }
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn:hover { filter: none; text-decoration: underline; text-underline-offset: 3px; }
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn:focus-visible, .cmplz-cookiebanner .cmplz-close:focus-visible, .cmplz-cookiebanner a:focus-visible { outline: 3px solid #E52F9B; outline-offset: 2px; }
.cmplz-cookiebanner .cmplz-links a, .cmplz-cookiebanner .cmplz-link { color: #000; text-decoration: underline; text-underline-offset: 2px; }
.cmplz-cookiebanner .cmplz-close { color: #000; }
#cmplz-manage-consent .cmplz-manage-consent { font-family: "Fixel Display", "Fixel Text", system-ui, sans-serif; font-weight: 700; color: #000; border-width: 2px 2px 0; }
@media (prefers-reduced-motion: reduce) { .cmplz-cookiebanner { transition: none !important; animation: none !important; } }

/* No overlap with the Ausweis dock (Max, 2026-11-02): the dock steps aside while the banner is open, and Complianz's
   „Manage consent“ tab (desktop only) sits bottom-left, the dock bottom-right. */
body:has(.cmplz-cookiebanner.cmplz-show:not(.cmplz-dismissed)) .lg-dock { visibility: hidden; opacity: 0; pointer-events: none; }
#cmplz-manage-consent .cmplz-manage-consent { right: auto !important; left: var(--lg-gutter, 24px) !important; box-shadow: none !important; }
/* Footer link that reopens the banner (all screen sizes) */
.lg-footer .lg-footer__consent { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lg-footer .lg-footer__consent:focus-visible { outline: 3px solid #E52F9B; outline-offset: 2px; }
