/*
 * Lexikon: Einzelseite, Uebersicht, verlinkte Begriffe im Fliesstext.
 * Werte aus entwurf.css (Branchenbausteine) und design-tokens.json uebernommen,
 * keine neuen Farben. Cyan #43BAFF nur auf dunklem Grund (Kontrast).
 */

/* ── Kopf ── */
.wac-lx-chip { text-decoration: none; }
.wac-lx-chip:hover, .wac-lx-chip:focus-visible { border-color: #43BAFF; }

.wac-lx-lead { margin-top: 22px; max-width: 62ch; }
.wac-lx-lead p { margin: 0; text-wrap: pretty; }
.wac-lx-ausgeschrieben {
	font-family: 'JetBrains Mono', monospace;
	font-size: 13px;
	letter-spacing: .04em;
	color: #8E88B8;
	margin-bottom: 10px !important;
}
.wac-lx-kurz {
	font-size: clamp(17px, 1.3vw, 20px);
	line-height: 1.7;
	color: #FFFFFF;
	font-weight: 600;
}

/* ── Langtext (heller Abschnitt) ── */
.wac-lx-text { max-width: 70ch; }
.wac-lx-text h2 {
	font-family: Montserrat, system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(21px, 1.8vw, 26px);
	line-height: 1.25;
	letter-spacing: -.015em;
	color: #1B1D21;
	margin: 40px 0 14px;
	text-wrap: balance;
}
.wac-lx-text h2:first-child { margin-top: 0; }
.wac-lx-text p, .wac-lx-text li {
	font-size: 17px;
	line-height: 1.8;
	color: #4C4C63;
	text-wrap: pretty;
}
.wac-lx-text p { margin: 0 0 18px; }
.wac-lx-text ul { margin: 0 0 18px; padding-left: 1.2em; }
.wac-lx-text li { margin-bottom: 6px; }
.wac-lx-text code {
	font-family: 'JetBrains Mono', monospace;
	font-size: .9em;
	background: #F1F2F8;
	border-radius: 4px;
	padding: 1px 5px;
	color: #1B1D21;
}
.wac-lx-text a { color: #0C7AB8; }

.wac-lx-hilfe-halter { max-width: 70ch; margin-top: 36px; }
.wac-lx-hilfe {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: clamp(20px, 2.4vw, 28px);
	border: 1px solid #E4E6F0;
	border-left: 4px solid #7141B1;
	border-radius: 12px;
	background: #F8F8FC;
	text-decoration: none;
	transition: border-color var(--wac-dur-quick, 160ms) var(--wac-ease-out, ease-out);
}
.wac-lx-hilfe:hover, .wac-lx-hilfe:focus-visible { border-color: #7141B1; }
.wac-lx-hilfe-marke {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #0C7AB8;
}
.wac-lx-hilfe-titel {
	font-family: Montserrat, system-ui, sans-serif;
	font-weight: 800;
	font-size: 19px;
	line-height: 1.3;
	color: #1B1D21;
}
.wac-lx-hilfe-mehr { font-weight: 700; font-size: 14px; color: #7141B1; }
.wac-lx-blog { margin: 18px 0 0; font-size: 15px; color: #4C4C63; }
.wac-lx-blog a { color: #0C7AB8; font-weight: 600; }

/* ── Verwandte Begriffe (dunkle Flaeche) ── */
.wac-lx-verwandt-titel {
	font-family: Montserrat, system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(22px, 2vw, 30px);
	line-height: 1.2;
	color: #FFFFFF;
	margin: 0 0 24px;
}
.wac-lx-karten {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: clamp(14px, 1.6vw, 20px);
}
.wac-lx-karte {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: clamp(18px, 2vw, 24px);
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 12px;
	background: rgba(255, 255, 255, .02);
	text-decoration: none;
	transition: border-color var(--wac-dur-quick, 160ms) var(--wac-ease-out, ease-out);
}
.wac-lx-karte:hover, .wac-lx-karte:focus-visible { border-color: #43BAFF; }
.wac-lx-karte-marke {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #43BAFF;
}
.wac-lx-karte-titel {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-family: Montserrat, system-ui, sans-serif;
	font-weight: 800;
	font-size: 18px;
	color: #FFFFFF;
}
.wac-lx-karte-kurz { font-size: 15px; line-height: 1.7; color: #AEAACB; }
.wac-lx-alle { margin: 26px 0 0; }
.wac-lx-alle a { font-weight: 700; font-size: 15px; color: #43BAFF; text-decoration: none; }

/* ── Uebersicht /lexikon/ (dunkle Flaeche) ── */
.wac-lx-zahl {
	margin: 22px 0 0;
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	color: #8E88B8;
}
.wac-lx-werkzeug {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}
.wac-lx-suche { flex: 1 1 280px; max-width: 520px; }
.wac-lx-suche input {
	width: 100%;
	padding: 14px 18px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 8px;
	background: rgba(255, 255, 255, .04);
	color: #FFFFFF;
	font-size: 16px;
}
.wac-lx-suche input::placeholder { color: #8E88B8; }
.wac-lx-suche input:focus { outline: 2px solid #43BAFF; outline-offset: 2px; }
.wac-lx-schalter { display: inline-flex; border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; overflow: hidden; }
.wac-lx-schalter button {
	padding: 11px 18px;
	border: 0;
	background: transparent;
	color: #AEAACB;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
}
/* Hello Elementor (reset.css) färbt button bei :hover UND :focus pink (#c36).
   Deshalb hier alle drei Zustände ausdrücklich, auch Fokus nach Mausklick. */
.wac-lx-schalter button:is(:hover, :focus) { background: rgba(67, 186, 255, .12); color: #FFFFFF; }
.wac-lx-schalter button:focus:not(:focus-visible):not(:hover):not([aria-pressed="true"]) { background: transparent; color: #AEAACB; }
.wac-lx-schalter button:focus-visible { outline: 2px solid #43BAFF; outline-offset: -2px; }
.wac-lx-schalter button[aria-pressed="true"],
.wac-lx-schalter button[aria-pressed="true"]:is(:hover, :focus) { background: #43BAFF; color: #201E39; }
.wac-lx-status { min-height: 1.4em; margin: 0 0 8px; font-size: 14px; color: #8E88B8; }
.wac-lx-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 18px 0 6px;
}
.wac-lx-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 50px;
	background: rgba(255, 255, 255, .02);
	color: #FFFFFF;
	font: 700 14px/1.2 Montserrat, system-ui, sans-serif;
	text-decoration: none;
	cursor: pointer;
	transition: border-color var(--wac-dur-quick, 160ms) var(--wac-ease-out, ease-out);
}
.wac-lx-filter-chip span { font: 400 12px 'JetBrains Mono', monospace; color: #8E88B8; }
/* „Alle“ ist ein <button>, die übrigen Chips sind Links. Hello Elementors reset.css
   (button: Rand und Schrift #c36, Ecken 3px) wird später geladen und gewann sonst. */
.wac-lx-filter button.wac-lx-filter-chip {
	padding: 10px 16px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 50px;
	background: rgba(255, 255, 255, .02);
	color: #43BAFF;
	font: 700 14px/1.2 Montserrat, system-ui, sans-serif;
	white-space: normal;
	transition: border-color var(--wac-dur-quick, 160ms) var(--wac-ease-out, ease-out);
}
.wac-lx-filter-chip:hover, .wac-lx-filter-chip:focus-visible { border-color: #43BAFF; }
/* gegen das Pink aus Hello Elementors reset.css (button:hover/:focus) */
.wac-lx-filter .wac-lx-filter-chip:is(:hover, :focus) { background: rgba(255, 255, 255, .02); border-color: #43BAFF; color: #FFFFFF; }
.wac-lx-filter .wac-lx-filter-chip:focus:not(:focus-visible):not(:hover):not([aria-pressed="true"]) { border-color: rgba(255, 255, 255, .18); color: #43BAFF; }
.wac-lx-filter-chip[aria-pressed="true"],
.wac-lx-filter .wac-lx-filter-chip[aria-pressed="true"],
.wac-lx-filter .wac-lx-filter-chip[aria-pressed="true"]:is(:hover, :focus) { background: #43BAFF; border-color: #43BAFF; color: #201E39; }
.wac-lx-filter-chip[aria-pressed="true"] span { color: #201E39; }
.wac-lx-leer { margin: 24px 0 0; font-size: 16px; color: #AEAACB; }
.wac-lx-suche { position: relative; }
.wac-lx-suche svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #8E88B8; pointer-events: none; }
.wac-lx-suche input { padding-left: 44px !important; }
.wac-lx-sprung {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	padding: 16px 0 22px;
	border-bottom: 1px solid rgba(255, 255, 255, .09);
	margin-bottom: 10px;
}
.wac-lx-sprung a { color: #43BAFF; font-weight: 600; font-size: 14px; text-decoration: none; }
.wac-lx-sprung--abc a { font-family: 'JetBrains Mono', monospace; }
.wac-lx-gruppe { padding-top: 28px; scroll-margin-top: 110px; }
.wac-lx-gruppe-titel {
	font-family: Montserrat, system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(20px, 1.7vw, 24px);
	color: #FFFFFF;
	margin: 0 0 16px;
}
.wac-lx-gruppe-titel span { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 400; color: #8E88B8; margin-left: 6px; }
.wac-lx-liste {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
	gap: 12px;
}
.wac-lx-liste a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 16px 18px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 10px;
	background: rgba(255, 255, 255, .02);
	text-decoration: none;
	transition: border-color var(--wac-dur-quick, 160ms) var(--wac-ease-out, ease-out);
}
.wac-lx-liste a:hover, .wac-lx-liste a:focus-visible { border-color: #43BAFF; }
.wac-lx-liste-titel { display: flex; justify-content: space-between; gap: 12px; font-weight: 800; font-family: Montserrat, system-ui, sans-serif; font-size: 16px; color: #FFFFFF; }
.wac-lx-liste-kurz { font-size: 14px; line-height: 1.6; color: #AEAACB; }
.wac-lexikon [hidden] { display: none !important; }

/* ── Verlinkte Begriffe im Fliesstext ──
   Der Link ist ein Hinweis, kein Knopf: Farbe des Textes, gepunktete Linie. */
a.wac-lex {
	color: inherit;
	text-decoration: underline dotted;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
a.wac-lex:hover, a.wac-lex:focus-visible { text-decoration-style: solid; }

.wac-lx-pfeil { color: #43BAFF; font-weight: 700; transition: transform var(--wac-dur-quick, 160ms) var(--wac-ease-out, ease-out); }
a:hover .wac-lx-pfeil, a:focus-visible .wac-lx-pfeil { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .wac-lx-pfeil { transition: none; } }

/* ── Bild oben (heller Abschnitt) ──
   Markup und Stil der Grafik: gemeinsamer Grafikbaustein in child-theme/style.css
   (grafiken/BAUSTEIN.md). Hier nur Abstand und das Beitragsbild. Die lokale
   Umschaltung breit/schmal ist seit 26.11.2026 zurueckgenommen, der Baustein
   schaltet selbst per @media (max-width: 720px). */
.wac-lx-bild { max-width: 1040px; margin: 0 0 clamp(28px, 3vw, 44px); }
.wac-lx-bild .wac-grafik { margin: 0; }
.wac-lx-bild--foto img { display: block; width: 100%; height: auto; border-radius: 12px; }
