/* =====================================================================
   Barrierefreiheit Toolbar – Frontend
   Es wird keine Schriftart geladen. Alles erbt die Theme-Schrift.
   ===================================================================== */

.a11ytb-launcher,
.a11ytb-panel,
.a11ytb-panel * {
	font-family: inherit;
	box-sizing: border-box;
}

.a11ytb-panel {
	--a11ytb-bg: #ffffff;
	--a11ytb-fg: #16191d;
	--a11ytb-muted: #5d6875;
	--a11ytb-line: #e6e9ee;
	--a11ytb-soft: #f5f7fa;
	--a11ytb-radius: 10px;
}

/* ---------------------------------------------------------------- Launcher */

.a11ytb-launcher {
	position: fixed;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border: 0;
	cursor: pointer;
	color: #fff;
	background: var(--a11ytb-accent, #0048fe);
	box-shadow: 0 2px 10px rgba(16, 24, 40, .18);
	transition: box-shadow .15s ease;
}

.a11ytb-launcher:hover {
	box-shadow: 0 4px 16px rgba(16, 24, 40, .26);
}

.a11ytb-launcher:focus-visible {
	outline: 3px solid #111;
	outline-offset: 3px;
}

.a11ytb-launcher svg {
	width: 58%;
	height: 58%;
}

.a11ytb-launcher-logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: inherit;
	display: block;
}

.a11ytb-size1 { width: 44px; height: 44px; }
.a11ytb-size2 { width: 54px; height: 54px; }
.a11ytb-size3 { width: 64px; height: 64px; }

.a11ytb-shape1 { border-radius: 4px; }
.a11ytb-shape2 { border-radius: 50%; }
.a11ytb-shape3 { border-radius: 14px; }

.a11ytb-inline-reset {
	display: inline-flex;
	align-items: center;
	padding: .5em 1em;
	border: 1px solid currentColor;
	border-radius: 6px;
	background: transparent;
	cursor: pointer;
	font: inherit;
}

.a11ytb-inline-reset-msg:not(:empty) {
	display: inline-block;
	margin-left: .6em;
	font-size: .9em;
}

.a11ytb-inline-open {
	display: inline-flex;
	align-items: center;
	padding: .5em 1em;
	border: 1px solid currentColor;
	border-radius: 6px;
	background: transparent;
	cursor: pointer;
	font: inherit;
}

/* ------------------------------------------------------------------ Panel */

.a11ytb-panel {
	position: fixed;
	right: 15px;
	bottom: 84px;
	z-index: 2147483001;
	display: flex;
	flex-direction: column;
	width: 380px;
	max-width: calc(100vw - 24px);
	max-height: min(78vh, 720px);
	overflow: hidden;
	color: var(--a11ytb-fg);
	background: var(--a11ytb-bg);
	border: 1px solid var(--a11ytb-line);
	border-radius: 14px;
	box-shadow: 0 12px 40px rgba(16, 24, 40, .18);
	font-size: 15px;
	line-height: 1.45;
}

.a11ytb-panel[hidden] { display: none; }

.a11ytb-head {
	background: var(--a11ytb-bg);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border-bottom: 1px solid var(--a11ytb-line);
}

.a11ytb-head-title {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--a11ytb-fg);
}

.a11ytb-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	color: var(--a11ytb-muted);
	background: transparent;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}

.a11ytb-close:hover { background: rgba(127, 127, 127, .14); }
.a11ytb-close:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.a11ytb-close svg { width: 18px; height: 18px; }

.a11ytb-body {
	flex: 1 1 auto;
	padding: 14px 18px 18px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* ------------------------------------------------------------ Zurücksetzen */

.a11ytb-reset-row { margin-bottom: 18px; }

.a11ytb-reset {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 11px 14px;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	color: var(--a11ytb-fg);
	background: var(--a11ytb-soft);
	border: 1px solid var(--a11ytb-line);
	border-radius: var(--a11ytb-radius);
	cursor: pointer;
}

.a11ytb-reset:hover { background: #eef1f6; }
.a11ytb-reset svg { width: 16px; height: 16px; flex: none; }

/* ----------------------------------------------------------------- Gruppen */

.a11ytb-group + .a11ytb-group { margin-top: 22px; }

.a11ytb-group-title {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .02em;
	color: var(--a11ytb-muted);
}

/* ---------------------------------------------------------------- Profile */

.a11ytb-profiles {
	border: 1px solid var(--a11ytb-line);
	border-radius: var(--a11ytb-radius);
	overflow: hidden;
}

.a11ytb-profile {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 13px;
}

.a11ytb-profile + .a11ytb-profile { border-top: 1px solid var(--a11ytb-line); }

.a11ytb-profile-text { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.a11ytb-profile-name { font-size: 14px; font-weight: 500; }
.a11ytb-profile-desc { font-size: 12px; color: var(--a11ytb-muted); }

.a11ytb-switch {
	position: relative;
	flex: none;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

.a11ytb-switch input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.a11ytb-switch-track {
	display: block;
	width: 38px;
	height: 22px;
	background: #cfd5de;
	border-radius: 11px;
	transition: background .15s ease;
}

.a11ytb-switch-track::after {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	margin: 2px;
	background: #fff;
	border-radius: 50%;
	transition: transform .15s ease;
}

.a11ytb-switch input:checked + .a11ytb-switch-track { background: var(--a11ytb-accent, #0048fe); }
.a11ytb-switch input:checked + .a11ytb-switch-track::after { transform: translateX(16px); }
.a11ytb-switch input:focus-visible + .a11ytb-switch-track { outline: 2px solid var(--a11ytb-fg); outline-offset: 2px; }

/* ---------------------------------------------------------------- Kacheln */

.a11ytb-tiles {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

.a11ytb-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	min-height: 84px;
	padding: 12px;
	font: inherit;
	font-size: 13px;
	text-align: left;
	color: var(--a11ytb-fg);
	background: var(--a11ytb-bg);
	border: 1px solid var(--a11ytb-line);
	border-radius: var(--a11ytb-radius);
	cursor: pointer;
}

.a11ytb-tile:hover { border-color: #c8d0db; background: var(--a11ytb-soft); }
.a11ytb-tile:focus-visible { outline: 2px solid var(--a11ytb-fg); outline-offset: 2px; }

.a11ytb-tile-icon { display: flex; color: var(--a11ytb-muted); }
.a11ytb-tile-icon svg { width: 22px; height: 22px; }
.a11ytb-tile-label { font-weight: 500; line-height: 1.3; }

.a11ytb-tile[aria-pressed="true"] {
	color: #fff;
	background: var(--a11ytb-accent, #0048fe);
	border-color: var(--a11ytb-accent, #0048fe);
}

.a11ytb-tile[aria-pressed="true"] .a11ytb-tile-icon { color: #fff; }
.a11ytb-tile[aria-pressed="true"]:hover { filter: brightness(.94); background: var(--a11ytb-accent, #0048fe); }

.a11ytb-tile-unsupported { opacity: .45; cursor: not-allowed; }

/* Stufenanzeige bei Modulen mit mehreren Stufen */
.a11ytb-levels {
	display: flex;
	justify-content: center;
	gap: 3px;
	width: 100%;
	margin-top: 8px;
}

.a11ytb-level {
	width: 12px;
	height: 3px;
	background: #d7dce4;
	border-radius: 2px;
}

.a11ytb-tile[aria-pressed="true"] .a11ytb-level { background: rgba(255, 255, 255, .35); }
.a11ytb-tile[aria-pressed="true"] .a11ytb-level.is-on { background: #fff; }

/* ---------------------------------------------------------------- Stepper */

.a11ytb-tile-stepper {
	grid-column: 1 / -1;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	min-height: 0;
	cursor: default;
}

.a11ytb-tile-stepper:hover { background: var(--a11ytb-bg); border-color: var(--a11ytb-line); }

.a11ytb-stepper { display: flex; align-items: center; gap: 4px; }

.a11ytb-step {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	font: inherit;
	font-size: 17px;
	line-height: 1;
	color: #fff;
	background: var(--a11ytb-accent, #0048fe);
	border: 0;
	border-radius: 7px;
	cursor: pointer;
}

.a11ytb-step:hover { filter: brightness(.92); }
.a11ytb-step:focus-visible { outline: 2px solid var(--a11ytb-fg); outline-offset: 2px; }

.a11ytb-step-value {
	min-width: 62px;
	font-size: 12px;
	text-align: center;
	color: var(--a11ytb-muted);
}

/* ------------------------------------------------------- Auswahl und Zeilen */

.a11ytb-select-row {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-top: 10px;
}

.a11ytb-select-row label { font-size: 12px; color: var(--a11ytb-muted); }

.a11ytb-select-row select {
	width: 100%;
	padding: 9px 10px;
	font: inherit;
	font-size: 14px;
	color: var(--a11ytb-fg);
	background: var(--a11ytb-bg);
	border: 1px solid var(--a11ytb-line);
	border-radius: var(--a11ytb-radius);
}

/* ------------------------------------------------------------- Vorlesen */

.a11ytb-speech {
	margin-top: 10px;
	padding: 12px;
	background: var(--a11ytb-soft);
	border: 1px solid var(--a11ytb-line);
	border-radius: var(--a11ytb-radius);
}

.a11ytb-speech[hidden] { display: none; }

/* Beim Anspringen kurz hervorheben, damit auch sehende Nutzer sehen,
   wohin der Fokus gewandert ist. */
.a11ytb-speech:focus {
	outline: 2px solid var(--a11ytb-accent, #0048fe);
	outline-offset: 2px;
}

.a11ytb-speech { scroll-margin: 12px; }
.a11ytb-speech-status { display: block; font-size: 12px; color: var(--a11ytb-muted); }

.a11ytb-speech-controls { display: flex; gap: 6px; margin: 10px 0; flex-wrap: wrap; }

.a11ytb-speech-btn {
	flex: 1 1 auto;
	padding: 7px 10px;
	font: inherit;
	font-size: 13px;
	color: var(--a11ytb-fg);
	background: #fff;
	border: 1px solid var(--a11ytb-line);
	border-radius: 7px;
	cursor: pointer;
}

.a11ytb-speech-btn:hover { border-color: #c8d0db; }

.a11ytb-speech-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; }
.a11ytb-speech-row label { flex: none; width: 52px; color: var(--a11ytb-muted); }
.a11ytb-speech-row select,
.a11ytb-speech-row input { flex: 1 1 auto; font: inherit; font-size: 13px; }
.a11ytb-rate-out { flex: none; width: 42px; text-align: right; color: var(--a11ytb-muted); }

/* Aktuell vorgelesener Abschnitt */
.a11ytb-speaking {
	background: #fff6c2 !important;
	outline: 2px solid #e0b500 !important;
}

/* --------------------------------------------------------------- Fußzeile */

.a11ytb-foot {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 10px 14px;
	border-top: 1px solid var(--a11ytb-line);
	background: var(--a11ytb-soft);
}

.a11ytb-foot-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 8px;
	font: inherit;
	font-size: 12px;
	color: var(--a11ytb-muted);
	background: transparent;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}

/* Der Pfeil erbt die Textfarbe und wandert beim Zeigen leicht nach rechts. */
.a11ytb-foot-btn svg {
	flex: none;
	width: 11px;
	height: 11px;
	stroke-width: 2.2;
	transition: transform .12s ease;
}

.a11ytb-foot-btn span {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.a11ytb-foot-btn:hover { color: var(--a11ytb-fg); }
.a11ytb-foot-btn:hover svg { transform: translateX(2px); }
.a11ytb-foot-btn:focus-visible { outline: 2px solid var(--a11ytb-fg); outline-offset: 2px; }

/* ------------------------------------------------------------ Unterseiten */

.a11ytb-subpage {
	position: absolute;
	inset: 0;
	z-index: 2;
	padding: 18px;
	overflow-y: auto;
	background: var(--a11ytb-bg);
}

.a11ytb-subpage[hidden] { display: none; }
.a11ytb-subpage h3 { margin: 12px 0 10px; font-size: 15px; font-weight: 600; }

.a11ytb-back {
	padding: 6px 10px 6px 0;
	font: inherit;
	font-size: 13px;
	color: var(--a11ytb-muted);
	background: transparent;
	border: 0;
	cursor: pointer;
}

.a11ytb-back::before { content: "← "; }

.a11ytb-kbd-list {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 14px;
	margin: 0;
	font-size: 13px;
}

.a11ytb-kbd-list dt { margin: 0; }
.a11ytb-kbd-list dd { margin: 0; color: var(--a11ytb-muted); }

.a11ytb-kbd-list kbd {
	display: inline-block;
	padding: 1px 6px;
	font-family: inherit;
	font-size: 12px;
	background: var(--a11ytb-soft);
	border: 1px solid var(--a11ytb-line);
	border-bottom-width: 2px;
	border-radius: 4px;
}

.a11ytb-hide-note { margin: 0 0 8px; font-size: 13px; color: var(--a11ytb-muted); }
.a11ytb-kbd-note { margin: 16px 0 8px; font-size: 12px; color: var(--a11ytb-muted); }

.a11ytb-radio-list { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.a11ytb-radio-list label { display: flex; align-items: center; gap: 8px; cursor: pointer; }

.a11ytb-subpage-actions { display: flex; gap: 8px; margin-top: 18px; }

.a11ytb-btn-ghost,
.a11ytb-btn-solid {
	flex: 1 1 0;
	padding: 10px;
	font: inherit;
	font-size: 14px;
	border-radius: var(--a11ytb-radius);
	cursor: pointer;
}

.a11ytb-btn-ghost { color: var(--a11ytb-fg); background: #fff; border: 1px solid var(--a11ytb-line); }
.a11ytb-btn-solid { color: #fff; background: var(--a11ytb-accent, #0048fe); border: 0; }

/* ------------------------------------------------------------- Hilfsmittel */

.a11ytb-sr,
.a11ytb-live {
	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;
}

.a11ytb-reading-line {
	position: fixed;
	left: 0;
	z-index: 2147482000;
	width: 100%;
	height: 10px;
	background: var(--a11ytb-accent, #0048fe);
	opacity: .85;
	pointer-events: none;
}

.a11ytb-mask {
	position: fixed;
	left: 0;
	width: 100%;
	z-index: 2147482000;
	background: rgba(0, 0, 0, .72);
	pointer-events: none;
}

.a11ytb-mask-top { top: 0; }
.a11ytb-mask-bottom { bottom: 0; }
.a11ytb-reading-line[hidden], .a11ytb-mask[hidden], .a11ytb-magnifier[hidden] { display: none; }

.a11ytb-magnifier {
	position: fixed;
	z-index: 2147482500;
	max-width: 520px;
	padding: 10px 14px;
	font-size: 28px;
	line-height: 1.3;
	color: #fff;
	background: #16191d;
	border-radius: 8px;
	pointer-events: none;
}

/* Sprungziel nach Tastatursprung sichtbar machen */
.a11ytb-jump-target {
	outline: 3px solid var(--a11ytb-accent, #0048fe) !important;
	outline-offset: 3px !important;
	scroll-margin-top: 90px;
}

/* =====================================================================
   Modul-Effekte auf der Seite
   ===================================================================== */

/* Lesbare Schrift */
html.a11ytb-readable_font body :not(.a11ytb-panel):not(.a11ytb-panel *):not(.a11ytb-launcher):not(.a11ytb-launcher *) {
	font-family: Verdana, "DejaVu Sans", Tahoma, sans-serif !important;
}

/* Schrift für Legasthenie */
html.a11ytb-dyslexic_font body :not(.a11ytb-panel):not(.a11ytb-panel *):not(.a11ytb-launcher):not(.a11ytb-launcher *) {
	font-family: "Comic Sans MS", "Comic Neue", Verdana, sans-serif !important;
	letter-spacing: .06em !important;
	word-spacing: .18em !important;
}

/* Schriftstärke */
html.a11ytb-font_weight body :not(.a11ytb-panel):not(.a11ytb-panel *):not(.a11ytb-launcher):not(.a11ytb-launcher *) {
	font-weight: 700 !important;
}

/* Buchstabenabstand, drei Stufen */
html.a11ytb-letter_spacing-1 body :not(.a11ytb-panel):not(.a11ytb-panel *) { letter-spacing: .06em !important; }
html.a11ytb-letter_spacing-2 body :not(.a11ytb-panel):not(.a11ytb-panel *) { letter-spacing: .12em !important; }
html.a11ytb-letter_spacing-3 body :not(.a11ytb-panel):not(.a11ytb-panel *) { letter-spacing: .2em !important; }

/* Textausrichtung */
html.a11ytb-text_align-1 body :is(p, li, h1, h2, h3, h4, h5, h6, td, dd, blockquote):not(.a11ytb-panel *) { text-align: left !important; }
html.a11ytb-text_align-2 body :is(p, li, h1, h2, h3, h4, h5, h6, td, dd, blockquote):not(.a11ytb-panel *) { text-align: center !important; }
html.a11ytb-text_align-3 body :is(p, li, h1, h2, h3, h4, h5, h6, td, dd, blockquote):not(.a11ytb-panel *) { text-align: right !important; }

/* Mauszeiger, drei Stufen – als Inline-SVG, keine Bilddatei */
html.a11ytb-cursor-1, html.a11ytb-cursor-1 * {
	cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="38" height="38" viewBox="0 0 24 24"><path d="M5 2l13 10-6 .6 3.2 6.6-2.7 1.3L9.4 14 5 18z" fill="%23000" stroke="%23fff" stroke-width="1.4"/></svg>') 4 2, auto !important;
}
html.a11ytb-cursor-2, html.a11ytb-cursor-2 * {
	cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="54" height="54" viewBox="0 0 24 24"><path d="M5 2l13 10-6 .6 3.2 6.6-2.7 1.3L9.4 14 5 18z" fill="%23000" stroke="%23fff" stroke-width="1.4"/></svg>') 6 3, auto !important;
}
html.a11ytb-cursor-3, html.a11ytb-cursor-3 * {
	cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 24 24"><path d="M5 2l13 10-6 .6 3.2 6.6-2.7 1.3L9.4 14 5 18z" fill="%23fff" stroke="%23000" stroke-width="1.4"/></svg>') 8 4, auto !important;
}

/* Farbmodi – Filter auf den Seiteninhalt, nicht auf die Leiste */
html.a11ytb-monochrome body > *:not(.a11ytb-panel):not(.a11ytb-launcher):not(.a11ytb-magnifier) { filter: grayscale(1) !important; }
html.a11ytb-saturation-1 body > *:not(.a11ytb-panel):not(.a11ytb-launcher) { filter: saturate(.5) !important; }
html.a11ytb-saturation-2 body > *:not(.a11ytb-panel):not(.a11ytb-launcher) { filter: saturate(1.6) !important; }
html.a11ytb-saturation-3 body > *:not(.a11ytb-panel):not(.a11ytb-launcher) { filter: saturate(2.4) !important; }

/* Heller Kontrast */
html.a11ytb-light_contrast body,
html.a11ytb-light_contrast body :not(.a11ytb-panel):not(.a11ytb-panel *):not(.a11ytb-launcher):not(.a11ytb-launcher *):not(svg):not(path) {
	background-color: #ffffff !important;
	color: #16191d !important;
	background-image: none !important;
}

html.a11ytb-light_contrast body a:not(.a11ytb-panel *) { color: #0b3ea8 !important; text-decoration: underline !important; }

/* Dunkler Kontrast */
html.a11ytb-dark_contrast body,
html.a11ytb-dark_contrast body :not(.a11ytb-panel):not(.a11ytb-panel *):not(.a11ytb-launcher):not(.a11ytb-launcher *):not(svg):not(path) {
	background-color: #101316 !important;
	color: #f2f4f7 !important;
	background-image: none !important;
	border-color: #3a4048 !important;
}

html.a11ytb-dark_contrast body a:not(.a11ytb-panel *) { color: #7db1ff !important; text-decoration: underline !important; }

/* Hoher Kontrast */
html.a11ytb-high_contrast body,
html.a11ytb-high_contrast body :not(.a11ytb-panel):not(.a11ytb-panel *):not(.a11ytb-launcher):not(.a11ytb-launcher *):not(svg):not(path) {
	background-color: #000000 !important;
	color: #ffff00 !important;
	background-image: none !important;
	border-color: #ffff00 !important;
}

html.a11ytb-high_contrast body a:not(.a11ytb-panel *) { color: #00ffff !important; text-decoration: underline !important; }
html.a11ytb-high_contrast body :is(h1,h2,h3,h4,h5,h6):not(.a11ytb-panel *) { color: #ffffff !important; }

/* Bilder ausblenden. Symbole in Bedienelementen bleiben sichtbar, sonst
   wird die Seite unbedienbar. */
html.a11ytb-hide_images body :is(img, picture, video, canvas):not(.a11ytb-panel *):not(.a11ytb-launcher *) {
	visibility: hidden !important;
}

html.a11ytb-hide_images body svg:not(.a11ytb-panel *):not(.a11ytb-launcher *):not(:is(a, button, [role="button"]) svg) {
	visibility: hidden !important;
}

html.a11ytb-hide_images body *:not(.a11ytb-panel):not(.a11ytb-panel *):not(.a11ytb-launcher) {
	background-image: none !important;
}

/* Links hervorheben */
html.a11ytb-highlight_links body a:not(.a11ytb-panel *):not(.a11ytb-launcher) {
	text-decoration: underline !important;
	text-underline-offset: 2px !important;
	outline: 2px solid #ff8a00 !important;
	outline-offset: 1px !important;
}

/* Überschriften hervorheben */
html.a11ytb-highlight_titles body :is(h1,h2,h3,h4,h5,h6):not(.a11ytb-panel *) {
	outline: 2px dashed #7a3cff !important;
	outline-offset: 2px !important;
	background: rgba(122, 60, 255, .07) !important;
}

/* Inhalte hervorheben */
html.a11ytb-highlight_all body :is(p, li, section, article, aside, header, footer, nav, figure, table, form, blockquote):not(.a11ytb-panel):not(.a11ytb-panel *):not(.a11ytb-launcher) {
	outline: 1px solid rgba(0, 72, 254, .55) !important;
	outline-offset: 1px !important;
}

/* Animationen stoppen */
html.a11ytb-stop_animations body *:not(.a11ytb-panel *) {
	animation: none !important;
	transition: none !important;
	scroll-behavior: auto !important;
}

/* Alternativtexte sichtbar machen */
.a11ytb-alt-note {
	display: block;
	padding: 4px 8px;
	font-size: 13px;
	line-height: 1.35;
	color: #16191d;
	background: #eef2ff;
	border-left: 3px solid #0048fe;
}

.a11ytb-alt-missing {
	outline: 3px solid #d92d20 !important;
	outline-offset: 2px !important;
}

.a11ytb-alt-note.is-missing { color: #7a1810; background: #fee4e2; border-left-color: #d92d20; }

/* Link-Kennzeichnung */
.a11ytb-link-mark {
	display: inline-block;
	margin-left: .25em;
	font-size: .85em;
	vertical-align: baseline;
}

/* Formularhilfe */
.a11ytb-form-required {
	outline: 2px solid #f79009 !important;
	outline-offset: 1px !important;
}

/* Tastaturnavigation: starker Fokus */
html.a11ytb-keyboard_nav *:focus {
	outline: 3px solid #0048fe !important;
	outline-offset: 2px !important;
}

/* Leiste vom Nutzer ausgeblendet */
html.a11ytb-toolbar-hidden .a11ytb-launcher,
html.a11ytb-toolbar-hidden .a11ytb-panel { display: none !important; }

/* ------------------------------------------------------------- Responsive */

@media (max-width: 480px) {
	.a11ytb-panel {
		right: 12px !important;
		left: 12px !important;
		width: auto;
		bottom: 12px;
		max-height: 84vh;
	}

	.a11ytb-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	.a11ytb-switch-track,
	.a11ytb-switch-track::after,
	.a11ytb-foot-btn svg,
	.a11ytb-launcher { transition: none; }
}

/* Oberfläche von Übersetzungsdiensten unangetastet lassen */
html[class*="a11ytb-"] .skiptranslate,
html[class*="a11ytb-"] #google_translate_element,
html[class*="a11ytb-"] .goog-te-banner-frame,
html[class*="a11ytb-"] .goog-te-menu-frame {
	filter: none !important;
	outline: none !important;
	background-image: none;
	visibility: visible !important;
}
