/**
 * DULV – ergänzende Barrierefreiheits-Styles.
 * Fokus, Link-Unterstreichungen, rem-Fließtext, Kontrastkorrekturen.
 */

html {
	font-size: 100%;
}

body {
	font-size: 1.125rem;
}

.elementor-kit-8 {
	--e-global-typography-text-font-size: 1.125rem;
}

/* Sichtbarer Tastaturfokus, unabhängig von Theme-Resets */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
.skip-link:focus,
.skip-link:focus-visible {
	outline: 3px solid #0069b4 !important;
	outline-offset: 3px !important;
	box-shadow: none !important;
}

.dulv-skip-nav {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100000;
	margin: 0;
	padding: 0;
}

.skip-link.screen-reader-text:focus,
.skip-link.screen-reader-text:focus-visible {
	position: absolute !important;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto !important;
	clip-path: none;
	padding: 0.75rem 1rem;
	overflow: visible;
	background: #fff;
	color: #0069b4;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: underline;
}

/*
 * Inhaltslinks: Unterstrich nur bei Hover.
 * :focus-visible bleibt, damit die Tastatur denselben Hinweis bekommt (WCAG 2.1).
 * Navigation, Mega-Menü, Buttons und Pagination bleiben ohne Linie.
 */
.site-main a:not(.elementor-button):not(.elementor-button-link):not([class*="elementor-item"]):not(.mega-menu-link):not(.page-numbers):not(.elementor-swiper-button),
.page-content a:not(.elementor-button):not(.elementor-button-link):not([class*="elementor-item"]):not(.mega-menu-link):not(.page-numbers) {
	text-decoration: none;
	text-underline-offset: 0.15em;
}

.site-main a:not(.elementor-button):not(.elementor-button-link):not([class*="elementor-item"]):not(.mega-menu-link):not(.page-numbers):not(.elementor-swiper-button):hover,
.site-main a:not(.elementor-button):not(.elementor-button-link):not([class*="elementor-item"]):not(.mega-menu-link):not(.page-numbers):not(.elementor-swiper-button):focus-visible,
.page-content a:not(.elementor-button):not(.elementor-button-link):not([class*="elementor-item"]):not(.mega-menu-link):not(.page-numbers):hover,
.page-content a:not(.elementor-button):not(.elementor-button-link):not([class*="elementor-item"]):not(.mega-menu-link):not(.page-numbers):focus-visible {
	text-decoration: underline;
}

.site-main a.elementor-button,
.site-main a.elementor-button-link,
.page-content a.elementor-button,
.page-content a.elementor-button-link {
	text-decoration: none;
}

/*
 * Links im Fließtext dauerhaft unterstreichen.
 * Hover allein reicht hier nicht: #0069B4 gegen #505050 hat nur 1,41:1,
 * 3:1 (WCAG 1.4.1) ist mit diesen Markenfarben nicht erreichbar.
 */
.elementor-widget-theme-post-content a,
.elementor-widget-theme-post-content p a,
.site-main .elementor-widget-text-editor a,
.page-content .elementor-widget-text-editor a,
.site-main .elementor-widget-theme-post-content a,
.page-content .elementor-widget-theme-post-content a,
.site-main p a,
.site-main li a,
.page-content p a,
.page-content li a {
	text-decoration: underline !important;
	text-underline-offset: 0.15em;
}

.site-main p a.elementor-button,
.site-main li a.elementor-button,
.page-content p a.elementor-button,
.page-content li a.elementor-button {
	text-decoration: none !important;
}

/*
 * Seiten-h1 aus Hello Elementor ist im Kit mit display:none entfernt.
 * Wird per JS wieder für Hilfsmittel sichtbar, wenn die Seite sonst kein h1 hat.
 */
h1.entry-title.dulv-sr-h1 {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
	display: block !important;
}

.elementor-kit-8 .elementor-element .elementor-heading-title[class*="e-global-color-accent"],
.elementor-kit-8 [class*="e-global-color-accent"]:not([class*="background"]):not(.elementor-element) {
	color: #4a4a4a !important;
}
