/* ------------------------------------------------------------------------- *
 *  Barrierefreiheit (WCAG 2.1 AA)
 *  Ergaenzt das XTRA-Theme um sichtbaren Tastaturfokus, Skip-Link,
 *  unterstrichene Textlinks und reduzierte Bewegung.
/* ------------------------------------------------------------------------- */

/* Sichtbarer Tastaturfokus (2.4.7) */
body :focus-visible {
	outline: 3px solid #1b2652 !important;
	outline-offset: 2px !important;
}

/* Auf dunklem Hintergrund (blaue Kopfzeile) weisser Fokusrahmen */
.header_1 :focus-visible,
.cse-on-dark :focus-visible {
	outline-color: #ffffff !important;
}

/* Skip-Link "Zum Inhalt springen" (2.4.1) */
.cse-skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100000;
	padding: 12px 20px;
	background: #1b2652;
	color: #ffffff !important;
	font-weight: 600;
	border-radius: 4px;
	text-decoration: underline;
}

.cse-skip-link:focus {
	top: 16px;
	outline: 3px solid #ffffff !important;
	outline-offset: 0 !important;
	box-shadow: 0 0 0 6px #1b2652;
}

.cse-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

#page_content:focus {
	outline: none !important;
}

/* Links im Fliesstext unterstreichen, damit sie nicht nur ueber Farbe erkennbar sind (1.4.1) */
#page_content .wpb_text_column p a,
#page_content .cz_title p a,
#page_content .cz_acc_child_content a,
#page_content .cz_popup_in p a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Ueberschriften in Rechtstexten und Karten: korrekte Ebene (h2/h3), optisch wie bisher */
#page_content .cse-legal-h,
#page_content .cse-card-h {
	font-family: Merriweather, serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 27px;
	letter-spacing: 0.6px;
	color: #374c8b;
	margin: 0;
}

/* Footer-Links mit ausreichend grosser Trefferflaeche fuer Finger (2.5.8) */
.page_footer .textwidget p a {
	display: inline-block;
	padding: 6px 0;
	min-height: 24px;
}

/* Bedienelemente des Akkordeons und der Popups */
.cse-faq .cz_acc_child,
.cz_close_popup,
.offcanvas-close {
	cursor: pointer;
}

/* Reduzierte Bewegung respektieren (2.3.3, Betriebssystem-Einstellung) */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
