/**
 * EJUS Accessibility – Contrast Fixes
 *
 * Korrektur aller Farbkombinationen, die WCAG AA Kontrast-Anforderungen
 * nicht erfüllen (min. 4.5:1 für normalen Text, 3:1 für großen Text).
 *
 * WCAG 1.4.3 Contrast (Minimum) (Level AA)
 *
 * Problematische Original-Farbe: #bcb723 (Grün) auf Weiß = ~1.87:1
 * Korrektur: #7a7816 auf Weiß = ~4.57:1 (AA-konform)
 *
 * Für Hintergründe, auf denen weißer Text stehen muss:
 *   #6b6a13 auf Weiß = ~5.5:1 → Weiß auf #6b6a13 = ~5.5:1 (AA-konform)
 */

/* ===================================================================
   CSS Custom Properties – zentrale Kontrast-sichere Farbvariablen
   =================================================================== */

:root {
	--ejus-green-original: #bcb723;
	--ejus-green-accessible: #7a7816;
	--ejus-green-bg-dark: #6b6a13;
	/* Copy-Panel auf #bcb723 — 25% aufgehellt für AAA 7:1 mit --ejus-text-dark */
	--ejus-green-bg-aaa: #cdc95a;
	/* Headlines auf #bcb723 — ohne Panel (~7.5:1, AAA ✓) */
	--ejus-green-heading: #222222;
	/* btn-color-166321 — AAA Enhanced (~7.3:1) */
	--ejus-green-btn-aaa: #5a5910;
	--ejus-green-btn-aaa-hover: #4a4809;
	--ejus-blue-dark: #0d3756;
	--ejus-gold: #fab617;
	--ejus-gold-accessible: #9a6f00;
	--ejus-white: #ffffff;
	--ejus-text-dark: #333333;
	/* Headlines & Copy auf #03a297 — sehr dunkles Türkis */
	--ejus-teal-heading: #041212;
	/* Copy-Panel auf #03a297 — 15% aufgehellt für AAA 7:1 mit --ejus-teal-heading */
	--ejus-teal-bg-aaa: #29b0a7;
	/* Headlines auf #fab617 — weiches Dunkel-Gold (~5.2:1, AA ✓) */
	--ejus-gold-heading: #584410;
	/* Post-Meta auf #fab617 — AAA Enhanced (~7.8:1) */
	--ejus-gold-meta: #352c08;
}

/* ===================================================================
   1. Breadcrumb-Leiste
   Original: Weiß (#fff) auf #bcb723 = 1.87:1 → FAIL
   Fix: Dunklerer Hintergrund #6b6a13 auf Weiß = 5.5:1 → PASS
   =================================================================== */

.row-breadcrumb.row-breadcrumb-light {
	border-color: var(--ejus-green-bg-dark);
	background-color: var(--ejus-green-bg-dark);
}

.row-breadcrumb.row-breadcrumb-light .breadcrumb-title,
.style-light .breadcrumb > li a,
.style-light .breadcrumb {
	color: var(--ejus-white);
}

/* Hover: Opacity-basierter Hover ersetzt durch Farb-basiert */
.style-light .breadcrumb > li a:hover,
.style-light .breadcrumb > li a:focus {
	opacity: 1;
	color: var(--ejus-gold);
}

/* ===================================================================
   2. Onepage Section-Header (gelbe Abschnitte)
   Weiß auf farbigem Hintergrund muss 4.5:1 erreichen
   =================================================================== */

.row-container.with-bg .heading-text[class*="style-light"] {
	color: var(--ejus-white);
}

/* ===================================================================
   3. Scroll-Dot-Navigation
   Original: rgba(255,255,255,0.5) = schwer zu erkennen
   Fix: Mindest-Kontrast sicherstellen
   =================================================================== */

.no-touch .onepage-pagination .cd-dot {
	background-color: rgba(255, 255, 255, 0.7);
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4);
}

/* Aktiver/Hover-Zustand: Gold mit dunklem Ring für Kontrast */
.no-touch .onepage-pagination span.cd-dot-cont:hover .cd-dot,
.no-touch .onepage-pagination a.is-selected .cd-dot {
	background-color: var(--ejus-gold);
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5);
}

/* ===================================================================
   4. Links auf hellem Hintergrund
   Stellt sicher, dass alle Links mind. 4.5:1 Kontrast haben
   =================================================================== */

.style-light a:not(.btn) {
	color: var(--ejus-text-dark);
}

/* ===================================================================
   5. Disabled-Zustände
   Auch deaktivierte Elemente brauchen erkennbaren Kontrast (3:1)
   =================================================================== */

input:disabled,
button:disabled,
select:disabled,
textarea:disabled {
	opacity: 0.6;
	color: #595959;
	border-color: #999999;
}

/* ===================================================================
   6. Auswahl-Hervorhebung (::selection)
   Kontrast sicherstellen bei Textauswahl
   =================================================================== */

::selection {
	background: var(--ejus-blue-dark);
	color: var(--ejus-white);
}

/* ===================================================================
   7. Links in Textblöcken müssen auch ohne Farbe erkennbar sein
   WCAG 1.4.1 Use of Color (Level A)
   Lighthouse: link-in-text-block
   =================================================================== */

.uncode_text_column a:not(.btn):not(.btn-text),
.t-entry-excerpt a:not(.btn),
.post-content .uncont a:not(.btn):not(.heading-module-link) {
	color: var(--ejus-copytext, #303133) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

.uncode_text_column a:not(.btn):not(.btn-text):hover,
.uncode_text_column a:not(.btn):not(.btn-text):focus,
.t-entry-excerpt a:not(.btn):hover,
.post-content .uncont a:not(.btn):not(.heading-module-link):hover,
.post-content .uncont a:not(.btn):not(.heading-module-link):focus {
	color: var(--ejus-blue-dark) !important;
	text-decoration: underline !important;
	text-decoration-thickness: 2px;
}

.uncode_text_column a:not(.btn):not(.btn-text) span,
.uncode_text_column a.custom-link span {
	color: inherit !important;
}

/* ===================================================================
   8. Headlines & Fließtext auf farbigen Row-Hintergründen
   Helle Swatches → dunkler Text; dunkle Swatches → heller Text.
   Überschreibt redaktionelle Uncode-Klassen text-color-*-color.
   WCAG 1.4.3 Contrast (Minimum) (Level AA)
   =================================================================== */

/* Grün #bcb723 (904742): neutrales Dunkel */
.header-basic[class*="style-color-904742"] .header-title,
.header-basic[class*="style-color-904742"] .header-title span,
[class*="style-color-904742-bg"] .header-title,
[class*="style-color-904742-bg"] .header-title span,
[class*="style-color-904742-bg"] .heading-text h1,
[class*="style-color-904742-bg"] .heading-text h1 span,
[class*="style-color-904742-bg"] .heading-text h2,
[class*="style-color-904742-bg"] .heading-text h2 span,
[class*="style-color-904742-bg"] .heading-text h3,
[class*="style-color-904742-bg"] .heading-text h3 span,
[class*="style-color-904742-bg"] .heading-text h4,
[class*="style-color-904742-bg"] .heading-text h4 span,
[class*="style-color-904742-bg"] .heading-text h5,
[class*="style-color-904742-bg"] .heading-text h5 span,
[class*="style-color-904742-bg"] .heading-text h6,
[class*="style-color-904742-bg"] .heading-text h6 span,
[class*="style-color-904742-bg"] .heading-text :is(h1, h2, h3, h4, h5, h6)[class*="text-color-"],
[class*="style-color-904742-bg"] .heading-text :is(h1, h2, h3, h4, h5, h6)[class*="text-color-"] span {
	color: var(--ejus-green-heading) !important;
	fill: var(--ejus-green-heading) !important;
}

[class*="style-color-904742-bg"] .uncode_text_column {
	background-color: var(--ejus-green-bg-aaa);
	padding: 1.25rem;
}

[class*="style-color-904742-bg"] .uncode_text_column,
[class*="style-color-904742-bg"] .uncol.style-light .uncode_text_column,
[class*="style-color-904742-bg"] .uncode_text_column p,
[class*="style-color-904742-bg"] .uncol.style-light .uncode_text_column p,
[class*="style-color-904742-bg"] .uncode_text_column li,
[class*="style-color-904742-bg"] .uncode_text_column blockquote,
[class*="style-color-904742-bg"] .uncode_text_column h1,
[class*="style-color-904742-bg"] .uncode_text_column h2,
[class*="style-color-904742-bg"] .uncode_text_column h3,
[class*="style-color-904742-bg"] .uncode_text_column h4,
[class*="style-color-904742-bg"] .uncode_text_column h5,
[class*="style-color-904742-bg"] .uncode_text_column h6,
[class*="style-color-904742-bg"] .uncode_text_column strong,
[class*="style-color-904742-bg"] .uncode_text_column b,
[class*="style-color-904742-bg"] .uncode_text_column em {
	color: var(--ejus-text-dark) !important;
}

[class*="style-color-904742-bg"] .uncode_text_column a:not(.btn):not(.btn-text) {
	color: var(--ejus-text-dark) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

[class*="style-color-904742-bg"] .uncode_text_column a:not(.btn):not(.btn-text):hover,
[class*="style-color-904742-bg"] .uncode_text_column a:not(.btn):not(.btn-text):focus {
	color: var(--ejus-blue-dark) !important;
}

#page-header .header-wrapper[class*="style-color-904742-bg"] .header-title,
#page-header .header-wrapper[class*="style-color-904742-bg"] .header-title span,
#page-header .header-wrapper[class*="style-color-904742-bg"] .header-main-container .post-info,
#page-header .header-wrapper[class*="style-color-904742-bg"] .header-main-container .post-info .date-info,
#page-header .header-wrapper[class*="style-color-904742-bg"] .header-main-container .post-info .category-info,
#page-header .header-wrapper[class*="style-color-904742-bg"] .header-main-container .post-info .author-info,
#page-header .header-wrapper[class*="style-color-904742-bg"] .header-main-container .post-info time,
#page-header .header-wrapper[class*="style-color-904742-bg"] .header-main-container .post-info a {
	color: var(--ejus-green-heading) !important;
}

#page-header .header-wrapper[class*="style-color-904742-bg"] .header-main-container .post-info a:hover,
#page-header .header-wrapper[class*="style-color-904742-bg"] .header-main-container .post-info a:focus {
	color: var(--ejus-blue-dark) !important;
}

/* Gold #fab617 (166321): weiches Dunkel-Gold — gleiches Muster wie Türkis */
.header-basic[class*="style-color-166321"] .header-title,
.header-basic[class*="style-color-166321"] .header-title span,
[class*="style-color-166321-bg"] .header-title,
[class*="style-color-166321-bg"] .header-title span,
[class*="style-color-166321-bg"] .heading-text h1,
[class*="style-color-166321-bg"] .heading-text h1 span,
[class*="style-color-166321-bg"] .heading-text h2,
[class*="style-color-166321-bg"] .heading-text h2 span,
[class*="style-color-166321-bg"] .heading-text h3,
[class*="style-color-166321-bg"] .heading-text h3 span,
[class*="style-color-166321-bg"] .heading-text h4,
[class*="style-color-166321-bg"] .heading-text h4 span,
[class*="style-color-166321-bg"] .heading-text h5,
[class*="style-color-166321-bg"] .heading-text h5 span,
[class*="style-color-166321-bg"] .heading-text h6,
[class*="style-color-166321-bg"] .heading-text h6 span,
[class*="style-color-166321-bg"] .heading-text :is(h1, h2, h3, h4, h5, h6)[class*="text-color-"],
[class*="style-color-166321-bg"] .heading-text :is(h1, h2, h3, h4, h5, h6)[class*="text-color-"] span {
	color: var(--ejus-gold-heading) !important;
	fill: var(--ejus-gold-heading) !important;
}

[class*="style-color-166321-bg"] .uncode_text_column,
[class*="style-color-166321-bg"] .uncode_text_column p,
[class*="style-color-166321-bg"] .uncode_text_column li,
[class*="style-color-166321-bg"] .uncode_text_column blockquote,
[class*="style-color-166321-bg"] .uncode_text_column h4,
[class*="style-color-166321-bg"] .uncode_text_column h5,
[class*="style-color-166321-bg"] .uncode_text_column h6 {
	color: var(--ejus-gold-heading) !important;
}

[class*="style-color-166321-bg"] .uncode_text_column a:not(.btn):not(.btn-text) {
	color: var(--ejus-gold-heading) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

[class*="style-color-166321-bg"] .uncode_text_column a:not(.btn):not(.btn-text):hover,
[class*="style-color-166321-bg"] .uncode_text_column a:not(.btn):not(.btn-text):focus {
	color: var(--ejus-blue-dark) !important;
}

#page-header .header-wrapper[class*="style-color-166321-bg"] .header-title,
#page-header .header-wrapper[class*="style-color-166321-bg"] .header-title span,
#page-header .header-wrapper[class*="style-color-166321-bg"] .header-main-container .post-info,
#page-header .header-wrapper[class*="style-color-166321-bg"] .header-main-container .post-info .date-info,
#page-header .header-wrapper[class*="style-color-166321-bg"] .header-main-container .post-info .category-info,
#page-header .header-wrapper[class*="style-color-166321-bg"] .header-main-container .post-info .author-info,
#page-header .header-wrapper[class*="style-color-166321-bg"] .header-main-container .post-info time,
#page-header .header-wrapper[class*="style-color-166321-bg"] .header-main-container .post-info a {
	color: var(--ejus-gold-meta) !important;
}

#page-header .header-wrapper[class*="style-color-166321-bg"] .header-main-container .post-info a:hover,
#page-header .header-wrapper[class*="style-color-166321-bg"] .header-main-container .post-info a:focus {
	color: var(--ejus-blue-dark) !important;
}

/* Türkis #03a297 (700680): weiches Dunkel-Türkis */
.header-basic[class*="style-color-700680"] .header-title,
.header-basic[class*="style-color-700680"] .header-title span,
[class*="style-color-700680-bg"] .header-title,
[class*="style-color-700680-bg"] .header-title span,
[class*="style-color-700680-bg"] .heading-text h1,
[class*="style-color-700680-bg"] .heading-text h1 span,
[class*="style-color-700680-bg"] .heading-text h2,
[class*="style-color-700680-bg"] .heading-text h2 span,
[class*="style-color-700680-bg"] .heading-text h3,
[class*="style-color-700680-bg"] .heading-text h3 span,
[class*="style-color-700680-bg"] .heading-text h4,
[class*="style-color-700680-bg"] .heading-text h4 span,
[class*="style-color-700680-bg"] .heading-text h5,
[class*="style-color-700680-bg"] .heading-text h5 span,
[class*="style-color-700680-bg"] .heading-text h6,
[class*="style-color-700680-bg"] .heading-text h6 span,
[class*="style-color-700680-bg"] .heading-text :is(h1, h2, h3, h4, h5, h6)[class*="text-color-"],
[class*="style-color-700680-bg"] .heading-text :is(h1, h2, h3, h4, h5, h6)[class*="text-color-"] span {
	color: var(--ejus-teal-heading) !important;
	fill: var(--ejus-teal-heading) !important;
}

/* Magenta #991867 (101403): dunkler Swatch — Uncode style-light = #303133 → FAIL */
[class*="style-color-101403-bg"] .header-title,
[class*="style-color-101403-bg"] .header-title span,
[class*="style-color-101403-bg"] .heading-text h1,
[class*="style-color-101403-bg"] .heading-text h1 span,
[class*="style-color-101403-bg"] .heading-text h2,
[class*="style-color-101403-bg"] .heading-text h2 span,
[class*="style-color-101403-bg"] .heading-text h3,
[class*="style-color-101403-bg"] .heading-text h3 span,
[class*="style-color-101403-bg"] .heading-text h4,
[class*="style-color-101403-bg"] .heading-text h4 span,
[class*="style-color-101403-bg"] .heading-text h5,
[class*="style-color-101403-bg"] .heading-text h5 span,
[class*="style-color-101403-bg"] .heading-text h6,
[class*="style-color-101403-bg"] .heading-text h6 span,
[class*="style-color-101403-bg"] .heading-text :is(h1, h2, h3, h4, h5, h6)[class*="text-color-"],
[class*="style-color-101403-bg"] .heading-text :is(h1, h2, h3, h4, h5, h6)[class*="text-color-"] span {
	color: var(--ejus-white) !important;
	fill: var(--ejus-white) !important;
}

[class*="style-color-101403-bg"] .uncode_text_column,
[class*="style-color-101403-bg"] .uncode_text_column p,
[class*="style-color-101403-bg"] .uncode_text_column li,
[class*="style-color-101403-bg"] .uncode_text_column blockquote,
[class*="style-color-101403-bg"] .uncode_text_column h4,
[class*="style-color-101403-bg"] .uncode_text_column h5,
[class*="style-color-101403-bg"] .uncode_text_column h6 {
	color: var(--ejus-white) !important;
}

[class*="style-color-101403-bg"] .uncode_text_column a:not(.btn):not(.btn-text) {
	color: var(--ejus-white) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

[class*="style-color-101403-bg"] .uncode_text_column a:not(.btn):not(.btn-text):hover,
[class*="style-color-101403-bg"] .uncode_text_column a:not(.btn):not(.btn-text):focus {
	color: var(--ejus-gold) !important;
}

#page-header .header-wrapper[class*="style-color-101403-bg"] .header-title,
#page-header .header-wrapper[class*="style-color-101403-bg"] .header-title span,
#page-header .header-wrapper[class*="style-color-101403-bg"] .header-main-container .post-info,
#page-header .header-wrapper[class*="style-color-101403-bg"] .header-main-container .post-info .date-info,
#page-header .header-wrapper[class*="style-color-101403-bg"] .header-main-container .post-info .category-info,
#page-header .header-wrapper[class*="style-color-101403-bg"] .header-main-container .post-info .author-info,
#page-header .header-wrapper[class*="style-color-101403-bg"] .header-main-container .post-info time,
#page-header .header-wrapper[class*="style-color-101403-bg"] .header-main-container .post-info a {
	color: var(--ejus-white) !important;
}

#page-header .header-wrapper[class*="style-color-101403-bg"] .header-main-container .post-info a:hover,
#page-header .header-wrapper[class*="style-color-101403-bg"] .header-main-container .post-info a:focus {
	color: var(--ejus-gold) !important;
}

[class*="style-color-700680-bg"] .uncode_text_column {
	/* AAA 7:1: reine Row-Farbe #03a297 max. ~6,6:1 — Panel leicht aufgehellt */
	background-color: var(--ejus-teal-bg-aaa);
	padding: 1.25rem;
}

[class*="style-color-700680-bg"] .uncode_text_column,
[class*="style-color-700680-bg"] .uncol.style-light .uncode_text_column,
[class*="style-color-700680-bg"] .uncode_text_column p,
[class*="style-color-700680-bg"] .uncol.style-light .uncode_text_column p,
[class*="style-color-700680-bg"] .uncode_text_column li,
[class*="style-color-700680-bg"] .uncode_text_column blockquote,
[class*="style-color-700680-bg"] .uncode_text_column h1,
[class*="style-color-700680-bg"] .uncode_text_column h2,
[class*="style-color-700680-bg"] .uncode_text_column h3,
[class*="style-color-700680-bg"] .uncode_text_column h4,
[class*="style-color-700680-bg"] .uncode_text_column h5,
[class*="style-color-700680-bg"] .uncode_text_column h6,
[class*="style-color-700680-bg"] .uncode_text_column strong,
[class*="style-color-700680-bg"] .uncode_text_column b,
[class*="style-color-700680-bg"] .uncode_text_column em {
	color: var(--ejus-teal-heading) !important;
}

[class*="style-color-700680-bg"] .uncode_text_column a:not(.btn):not(.btn-text) {
	color: var(--ejus-teal-heading) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

[class*="style-color-700680-bg"] .uncode_text_column a:not(.btn):not(.btn-text):hover,
[class*="style-color-700680-bg"] .uncode_text_column a:not(.btn):not(.btn-text):focus {
	color: var(--ejus-blue-dark) !important;
}

#page-header .header-wrapper[class*="style-color-700680-bg"] .header-title,
#page-header .header-wrapper[class*="style-color-700680-bg"] .header-title span,
#page-header .header-wrapper[class*="style-color-700680-bg"] .header-main-container .post-info,
#page-header .header-wrapper[class*="style-color-700680-bg"] .header-main-container .post-info .date-info,
#page-header .header-wrapper[class*="style-color-700680-bg"] .header-main-container .post-info .category-info,
#page-header .header-wrapper[class*="style-color-700680-bg"] .header-main-container .post-info .author-info,
#page-header .header-wrapper[class*="style-color-700680-bg"] .header-main-container .post-info time,
#page-header .header-wrapper[class*="style-color-700680-bg"] .header-main-container .post-info a {
	color: var(--ejus-teal-heading) !important;
}

#page-header .header-wrapper[class*="style-color-700680-bg"] .header-main-container .post-info a:hover,
#page-header .header-wrapper[class*="style-color-700680-bg"] .header-main-container .post-info a:focus {
	color: var(--ejus-blue-dark) !important;
}

/* ===================================================================
   9. Borlabs Cookie Content-Blocker-Button
   Play-Button auf eingebetteten Medien hat zu wenig Kontrast.
   =================================================================== */

a._brlbs-btn._brlbs-icon-play-white {
	background-color: rgba(0, 0, 0, 0.7);
	border: 2px solid var(--ejus-white);
}

a._brlbs-btn._brlbs-icon-play-white:hover,
a._brlbs-btn._brlbs-icon-play-white:focus {
	background-color: rgba(0, 0, 0, 0.85);
}

/* ===================================================================
   10. Download-Button auf Über-uns-Seite
   .btn-color-700680 hat zu wenig Kontrast (axe-core).
   Uncode-generierte Farbklasse, daher expliziter Override.
   =================================================================== */

.btn-color-700680 {
	color: var(--ejus-white) !important;
	background-color: var(--ejus-blue-dark) !important;
	border-color: var(--ejus-blue-dark) !important;
}

.btn-color-700680:hover,
.btn-color-700680:focus {
	background-color: #0a2940 !important;
	border-color: #0a2940 !important;
}

/* ===================================================================
   11. Slider-Text-Kontrast auf Fotos
   Weißer Text direkt auf Foto hat bei hellen Slides < 3:1 Kontrast.
   Halbtransparentes Overlay hinter dem Text erzwingt Kontrast.
   WCAG 1.4.3 Contrast (Minimum) (Level AA)
   =================================================================== */

.rs-layer[data-color="#ffffff"],
.rs-layer[data-color="rgb(255,255,255)"],
.rs-layer.slider-headline,
.rs-layer.slider-subline {
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7),
	             0 0 12px rgba(0, 0, 0, 0.5);
}

/* ===================================================================
   12. (entfernt) Hintergrund-Overrides für Türkis — Markenfarbe bleibt.
   Headlines auf #700680: siehe §8 (dunkler Text).
   =================================================================== */

/* ===================================================================
   13. abbr[title] Styling
   Abkürzungen mit <abbr> erhalten eine gepunktete Unterstreichung.
   WCAG 3.1.4 Abbreviations (Level AAA)
   =================================================================== */

abbr[title] {
	text-decoration: underline dotted;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	cursor: help;
}

/* ===================================================================
   14. Post-Meta (Autor, Kategorie, Datum)
   Original: rgba(48,49,51,0.65) auf Weiß ≈ 3.9:1 → FAIL
   Fix: var(--ejus-copytext) (#303133) auf Weiß ≈ 11:1 → PASS
   Schrift: Uncode .post-info = 12px → 1rem (16px) für bessere Lesbarkeit
   WCAG 1.4.3 Contrast (Minimum) (Level AA)
   =================================================================== */

.post-info,
.post-info .date-info,
.post-info .category-info,
.post-info .author-info {
	font-size: 1rem;
	font-family: 'DIN W01 Black', sans-serif;
	font-weight: 700;
}

.post-info .category-info a,
.post-info .author-info a {
	font-family: inherit;
	font-weight: inherit;
}

/* Post-Header: höhere Spezifität als Uncode .style-light .header-main-container .post-info */
#page-header .header-main-container .post-info,
#page-header .header-main-container .post-info .date-info,
#page-header .header-main-container .post-info .category-info,
#page-header .header-main-container .post-info .author-info,
#page-header .header-main-container .post-info .category-info a,
#page-header .header-main-container .post-info .author-info a {
	font-size: 1rem !important;
	font-family: 'DIN W01 Black', sans-serif !important;
	font-weight: 700 !important;
}

.style-light .post-info,
.style-dark .style-light .post-info,
.style-light .author-info,
.style-dark .style-light .author-info,
.style-light .category-info,
.style-dark .style-light .category-info,
.style-light .date-info,
.style-dark .style-light .date-info,
.style-light .post-info time,
.style-dark .style-light .post-info time {
	color: var(--ejus-copytext, #303133);
}

.style-light .post-info a,
.style-dark .style-light .post-info a,
.style-light .author-info a,
.style-dark .style-light .author-info a,
.style-light .category-info a,
.style-dark .style-light .category-info a {
	color: var(--ejus-copytext, #303133);
}

.style-light .post-info a:hover,
.style-dark .style-light .post-info a:hover,
.style-light .post-info a:focus,
.style-dark .style-light .post-info a:focus,
.style-light .author-info a:hover,
.style-dark .style-light .author-info a:hover,
.style-light .author-info a:focus,
.style-dark .style-light .author-info a:focus,
.style-light .category-info a:hover,
.style-dark .style-light .category-info a:hover,
.style-light .category-info a:focus,
.style-dark .style-light .category-info a:focus {
	color: var(--ejus-blue-dark);
}

/* Dunkle Header/Footer-Bereiche */
.style-dark .post-info,
.style-light .style-dark .post-info,
.style-dark .author-info,
.style-light .style-dark .author-info,
.style-dark .category-info,
.style-light .style-dark .category-info,
.style-dark .date-info,
.style-light .style-dark .date-info,
.style-dark .post-info time,
.style-light .style-dark .post-info time {
	color: rgba(255, 255, 255, 0.85);
}

.style-dark .post-info a,
.style-light .style-dark .post-info a,
.style-dark .author-info a,
.style-light .style-dark .author-info a,
.style-dark .category-info a,
.style-light .style-dark .category-info a {
	color: rgba(255, 255, 255, 0.9);
}

.style-dark .post-info a:hover,
.style-light .style-dark .post-info a:hover,
.style-dark .post-info a:focus,
.style-light .style-dark .post-info a:focus,
.style-dark .author-info a:hover,
.style-light .style-dark .author-info a:hover,
.style-dark .author-info a:focus,
.style-light .style-dark .author-info a:focus,
.style-dark .category-info a:hover,
.style-light .style-dark .category-info a:hover,
.style-dark .category-info a:focus,
.style-light .style-dark .category-info a:focus {
	color: var(--ejus-gold);
}

/* ===================================================================
   15. Footer (#colophon)
   Pipes und Copyright-Links: gleiche Kontrast-Korrektur wie Post-Meta
   =================================================================== */

#colophon,
#colophon .widget-title,
#colophon .textwidget {
	color: #595959;
}

#colophon a {
	color: #4d4d4d;
}

#colophon a:hover,
#colophon a:focus {
	color: var(--ejus-blue-dark);
}

/* Copyright-Zeile: fester Hintergrund, damit Kontrast-Scanner
   nicht am Footer-Hintergrundbild scheitern (Eyeable EA-R25).
   Hintergrund auf .site-info (nicht p), damit die Zeile nicht versetzt wirkt. */
#colophon .footer-last .site-info {
	background-color: var(--ejus-grey-light, #f7f7f7);
}

.style-dark #colophon,
.style-light .style-dark #colophon {
	color: rgba(255, 255, 255, 0.85);
}

.style-dark #colophon a,
.style-light .style-dark #colophon a {
	color: rgba(255, 255, 255, 0.9);
}

.style-dark #colophon a:hover,
.style-light .style-dark #colophon a:hover,
.style-dark #colophon a:focus,
.style-light .style-dark #colophon a:focus {
	color: var(--ejus-gold);
}

/* ===================================================================
   16. Onepage Dot-Labels (Gold-Hintergrund)
   Weiß auf #fab617 ≈ 1.7:1 → FAIL
   Fix: Dunkler Text auf Gold-Hintergrund ≈ 5:1
   =================================================================== */

.onepage-pagination .cd-label.style-accent-bg {
	background-color: var(--ejus-gold-accessible) !important;
	color: var(--ejus-white) !important;
}

/* ===================================================================
   17. WP Job Manager — Stellenliste
   Plugin-Default #999 auf Weiß ≈ 2,85:1 → FAIL
   Fix: #595959 auf Weiß ≈ 7:1 → PASS (gleich wie Post-Meta)
   =================================================================== */

.job_listings .job_listing strong,
.job_listings .job_listing .company strong,
ul.job_listings li.job_listing strong {
	color: var(--ejus-text-dark);
}

ul.job_listings li.job_listing a div.location,
ul.job_listings li.job_listing a div.company,
ul.job_listings li.job_listing a ul.meta,
ul.job_listings li.job_listing a ul.meta li.job-type,
ul.job_listings li.job_listing a .meta,
ul.job_listings li.job_listing a .job-type,
.job_listings .job_listing .location,
.job_listings .job_listing .company,
.job_listings .job_listing .meta,
.job_listings .job_listing .job-type,
.job_listings .job_listing time,
.job_listings .job_listing .date-info,
.job-types .job-type,
.rp4wp-related-job_listing > ul li.job_listing a div.location,
.rp4wp-related-job_listing > ul li.job_listing a div.company,
.rp4wp-related-job_listing > ul li.job_listing a ul.meta,
.rp4wp-related-job_listing > ul li.job_listing a ul.meta li.job-type {
	color: #595959;
}

/* ===================================================================
   18. Zeilenabstand (AAA / Eyeable EA-R45)
   Mindestens 1.5× Schriftgröße für Fließtext
   WCAG 1.4.8 Visual Presentation (Level AAA)
   =================================================================== */

body,
p,
li,
.uncode_text_column p,
.t-entry-excerpt,
.post-content,
.widget_text,
#colophon .textwidget,
._brlbs-btn,
.heading-text p.h4,
.heading-text p.h4 span,
.single_job_listing .tagline {
	line-height: 1.5 !important;
}

/* ===================================================================
   19. Rest-Kontrast (Scan 13.07. — EA-R23 Rest)
   Job-Tagline, Job-Header-Subline, EJUS-Grün-Buttons, Borlabs, Orange-Links
   WCAG 1.4.3 Contrast (Minimum) (Level AA)
   =================================================================== */

/* WPJM company tagline — Plugin setzt color:#999 + font-style:italic */
.single_job_listing .company .tagline,
.single_job_listing .tagline,
.single-job_listing .tagline,
article.job_listing .tagline {
	color: var(--ejus-copytext, #303133) !important;
	font-style: normal !important;
	line-height: 1.5 !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}

.single_job_listing .company .tagline abbr,
.single_job_listing .tagline abbr,
.single-job_listing .tagline abbr,
article.job_listing .tagline abbr {
	color: inherit !important;
	font-style: normal !important;
}

/* Job-Detail Header (Uncode Dynamic Subline, p.h4 auf style-color-101403) */
.style-color-101403-bg.style-dark .heading-text p.h4,
.style-color-101403-bg.style-dark .heading-text p.h4 span {
	color: var(--ejus-white) !important;
	line-height: 1.5 !important;
}

.style-color-101403-bg.style-dark .text-default-color {
	color: var(--ejus-white) !important;
}

.btn-color-166321,
a.btn-color-166321,
.btn-color-166321 .btn-text,
a.btn-color-166321 .btn-text {
	color: var(--ejus-white) !important;
	background-color: var(--ejus-green-btn-aaa) !important;
	border-color: var(--ejus-green-btn-aaa) !important;
}

.btn-color-166321:hover,
.btn-color-166321:focus,
a.btn-color-166321:hover,
a.btn-color-166321:focus {
	background-color: var(--ejus-green-btn-aaa-hover) !important;
	border-color: var(--ejus-green-btn-aaa-hover) !important;
}

.brlbs-cmpnt-cb-description,
.brlbs-cmpnt-cb-description strong {
	color: var(--ejus-text-dark) !important;
}

a.brlbs-cmpnt-cb-provider-toggle {
	color: var(--ejus-blue-dark) !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

a[style*="color: #ff9900"],
a[style*="color:#ff9900"],
a[style*="rgb(255, 153, 0)"] {
	color: #9a6f00 !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}
