/**
 * 3Q Stream – Frontend (Zwei-Klick-Player, Hinweis „Jetzt live“).
 * Mit body-Präfix und !important, damit Themes die Farben nicht überschreiben.
 * Entwickler: Philipp Ramsch · www.philippramsch.de
 */

body .tqs-player {
	width: 100%;
	margin: 0 0 1em;
}

body .tqs-zwei-klick {
	position: relative;
	display: grid !important;
	place-items: center;
	aspect-ratio: 16 / 9;
	padding: 1.25em !important;
	border-radius: 8px !important;
	background: #0f1720 !important;
	color: #ffffff !important;
	text-align: center;
}

body .tqs-zwei-klick-inhalt {
	max-width: 34em;
}

body .tqs-zwei-klick .tqs-zwei-klick-titel {
	margin: 0 0 .4em !important;
	color: #ffffff !important;
	font-size: 1.25em !important;
	font-weight: 700 !important;
}

body .tqs-zwei-klick .tqs-zwei-klick-text {
	margin: 0 0 1em !important;
	color: #dfe6ec !important;
	font-size: .9em !important;
	line-height: 1.5 !important;
}

body .tqs-zwei-klick .tqs-zwei-klick-knopf {
	display: inline-block !important;
	padding: .7em 1.4em !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: #0e7db5 !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	font-size: 1em !important;
	/* Typische Theme-Vorgaben für Schaltflächen neutralisieren. */
	font-family: inherit !important;
	line-height: 1.3 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	box-shadow: none !important;
	width: auto !important;
	min-height: 0 !important;
	cursor: pointer;
}

body .tqs-zwei-klick .tqs-zwei-klick-knopf:hover,
body .tqs-zwei-klick .tqs-zwei-klick-knopf:focus-visible {
	background: #0a5c86 !important;
	outline: 3px solid #ffffff;
	outline-offset: 2px;
}

body .tqs-live {
	display: inline-flex !important;
	align-items: center;
	gap: .5em;
	margin: 0 0 1em !important;
	padding: .5em 1em !important;
	border-radius: 999px !important;
	background: #c4302b !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}

body .tqs-live a {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	color: #ffffff !important;
	text-decoration: none !important;
}

body .tqs-live a:focus-visible {
	outline: 2px solid #ffffff !important;
	outline-offset: 2px;
}

body .tqs-live-punkt {
	width: .7em;
	height: .7em;
	border-radius: 50%;
	background: #ffffff;
	animation: tqs-puls 1.4s ease-in-out infinite;
}

@keyframes tqs-puls {
	50% { opacity: .3; }
}

body .tqs-hinweis-redaktion {
	display: block !important;
	padding: .6em .9em !important;
	border-left: 4px solid #c4302b !important;
	background: #fbeceb !important;
	color: #1d2327 !important;
}

@media (prefers-reduced-motion: reduce) {
	body .tqs-live-punkt {
		animation: none;
	}
}

/* ==========================================================================
 * Gestaltungsvorlagen der Mitschnitt-Beiträge (Bühne, Kino, Seitenleiste, Medienkarte, Mit Tagesordnung)
 * Gleiches Markup in Elementor (Container + Widgets mit CSS-Klassen) und ohne Elementor.
 * Schrift und Grundgröße kommen vom Theme (inherit); Farben mit !important gegen Theme-Vorgaben.
 * ========================================================================== */

body .tqs-v {
	--tqs-akzent: #5ba12b; /* Akzentlinien und Symbolflächen auf Dunkel (Standard-Design Blau/Grün) */
	--tqs-akzent-text: #3f7a1a; /* Grün in Textgröße mit ausreichendem Kontrast */
	--tqs-akzent-2: #0e7db5;
	--tqs-titel: #0b3247;
	--tqs-symbol: #0e7db5;
	--tqs-dunkel: #0b3247;
	--tqs-linie: #dce3e8;
	--tqs-flaeche: #f5f8fa;
	--tqs-text-leise: #4d5b66;
	--tqs-link: #0a5c86;
	--tqs-radius: 6px;
	--tqs-abstand: 28px;
	--tqs-text: #1d2327;
	display: flex !important;
	flex-direction: column !important;
	gap: var(--tqs-abstand) !important;
	width: 100% !important;
	/* Ohne begrenzenden Theme-Rahmen (z. B. Hello ohne Einzelbeitrag-Template) nicht über die übliche Inhaltsbreite hinaus. */
	max-width: var(--tqs-max-breite, 1140px) !important;
	margin: 0 auto 1.5em !important;
	padding: 0 !important;
	font-family: inherit;
	line-height: 1.55;
	box-sizing: border-box;
}

body .tqs-v *,
body .tqs-v *::before,
body .tqs-v *::after {
	box-sizing: border-box;
}

/* Elementor: Container und Widgets ohne eigene Abstände – die Vorlage regelt sie. */
body .tqs-v.e-con,
body .tqs-v .e-con {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--margin-top: 0px;
	--margin-bottom: 0px;
	min-height: 0 !important;
}

body .tqs-v .e-con,
body .tqs-v .tqs-v-panel,
body .tqs-v .tqs-v-haupt,
body .tqs-v .tqs-v-seite,
body .tqs-v .tqs-v-koerper,
body .tqs-v .tqs-v-fuss {
	display: flex !important;
	flex-direction: column !important;
	gap: var(--tqs-abstand) !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body .tqs-v .elementor-widget,
body .tqs-v .tqs-v-w {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

body .tqs-v .elementor-widget-container {
	margin: 0 !important;
	padding: 0 !important;
}

/* Textfarbe: Elementor-Kits färben Texteditoren oft grau (globale Farbe „Text“) – im Beitrag gilt die Vorlagenfarbe. */
body .tqs-v,
body .tqs-v .elementor-widget-text-editor,
body .tqs-v .tqs-v-text,
body .tqs-v .tqs-v-text p,
body .tqs-v .tqs-v-to-liste,
body .tqs-v .tqs-to-titel,
body .tqs-v .tqs-v-hinweise-text,
body .tqs-v .tqs-v-hinweise-text p {
	color: var(--tqs-text) !important;
}

/* Video */
body .tqs-v .tqs-v-w-video {
	background: #000000 !important;
	line-height: 0;
}

body .tqs-v .tqs-v-w-video .tqs-player {
	margin: 0 !important;
	line-height: normal;
}

/* Beschreibung */
body .tqs-v .tqs-v-text {
	max-width: 46em !important;
}

body .tqs-v .tqs-v-text p {
	margin: 0 0 .8em !important;
}

body .tqs-v .tqs-v-text p:last-child {
	margin-bottom: 0 !important;
}

body .tqs-v .tqs-v-opt-einleitung p:first-child {
	font-size: 1.15em !important;
	line-height: 1.5 !important;
}

/* Überschriften innerhalb der Vorlage */
body .tqs-v .tqs-v-titel,
body .tqs-v .tqs-v-hinweise-titel,
body .tqs-v-hinweise .tqs-v-hinweise-titel {
	margin: 0 0 .7em !important;
	padding: 0 !important;
	color: var(--tqs-titel) !important;
	font-family: inherit !important;
	font-size: 1.05em !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: .01em !important;
	text-transform: none !important;
}

body .tqs-v .tqs-v-marke {
	margin: 0 0 .9em !important;
	color: var(--tqs-akzent-text) !important;
	font-size: .8em !important;
	font-weight: 700 !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
}

/* Eckdaten */
body .tqs-v .tqs-v-fakten {
	display: flex !important;
	flex-wrap: wrap;
	gap: 14px 32px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body .tqs-v .tqs-v-fakten li {
	display: grid !important;
	grid-template-columns: 38px auto;
	grid-template-rows: auto auto;
	column-gap: 12px;
	align-items: center;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	line-height: 1.3 !important;
}

body .tqs-v .tqs-v-fakten li::before {
	content: "" !important;
	display: block !important;
	grid-row: 1 / 3;
	width: 38px;
	height: 38px;
	border-radius: var(--tqs-radius);
	background-color: var(--tqs-symbol) !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: 22px 22px !important;
}

body .tqs-v .tqs-f-label {
	align-self: end;
	color: var(--tqs-text-leise) !important;
	font-size: .78em !important;
	font-weight: 700 !important;
	letter-spacing: .05em !important;
	text-transform: uppercase !important;
}

body .tqs-v .tqs-f-wert {
	align-self: start;
	color: inherit !important;
	font-weight: 700 !important;
}

body .tqs-v .tqs-f-link .tqs-f-wert {
	grid-row: 1 / 3;
	align-self: center;
}

body .tqs-v .tqs-v-fakten a,
body .tqs-v .tqs-v-to-mehr a,
body .tqs-v-hinweise a {
	color: var(--tqs-link) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

body .tqs-v .tqs-v-fakten a:hover,
body .tqs-v .tqs-v-to-mehr a:hover,
body .tqs-v-hinweise a:hover {
	color: var(--tqs-titel) !important;
}

body .tqs-v .tqs-v-fakten a:focus-visible,
body .tqs-v .tqs-v-to-mehr a:focus-visible,
body .tqs-v-hinweise a:focus-visible,
body .tqs-v-hinweise summary:focus-visible {
	outline: 2px solid var(--tqs-titel) !important;
	outline-offset: 2px;
}

body .tqs-v .tqs-v-fakten.ist-liste {
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 16px;
}

/* Eckdaten auf dunkler Fläche (Kino) */
body .tqs-v .tqs-v-fakten.ist-hell .tqs-f-label {
	color: #ffffff !important;
	font-weight: 400 !important;
}

body .tqs-v .tqs-v-fakten.ist-hell .tqs-f-wert,
body .tqs-v .tqs-v-fakten.ist-hell a {
	color: #ffffff !important;
}

body .tqs-v .tqs-v-fakten.ist-hell li::before {
	background-color: var(--tqs-akzent) !important;
}

body .tqs-v .tqs-v-fakten.ist-hell a:focus-visible {
	outline-color: #ffffff !important;
}

/* Tagesordnung */
body .tqs-v .tqs-v-to-liste {
	margin: 0 !important;
	padding: 0 !important;
	border-top: 1px solid var(--tqs-linie) !important;
	list-style: none !important;
}

body .tqs-v .tqs-v-to-liste li {
	display: grid !important;
	grid-template-columns: 3.4em minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	margin: 0 !important;
	padding: 10px 0 !important;
	border-bottom: 1px solid var(--tqs-linie) !important;
	list-style: none !important;
	break-inside: avoid;
}

body .tqs-v .tqs-v-to-liste li.ist-unter {
	padding-left: 1.6em !important;
}

body .tqs-v .tqs-to-nr {
	justify-self: start;
	min-width: 2.4em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 1.9em;
	padding: 0 .3em;
	border-radius: var(--tqs-radius);
	background: var(--tqs-dunkel) !important;
	color: #ffffff !important;
	font-size: .85em !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
}

body .tqs-v .tqs-v-to-mehr {
	margin: .9em 0 0 !important;
}

/* Rechtliche Hinweise */
body .tqs-v-hinweise {
	margin: 0 !important;
	font-size: .9em;
	line-height: 1.55;
}

body .tqs-v-hinweise .tqs-v-hinweise-text p {
	margin: 0 0 .6em !important;
}

body .tqs-v-hinweise .tqs-v-hinweise-text p:last-child {
	margin-bottom: 0 !important;
}

body .tqs-v-hinweise.ist-kasten {
	padding: 18px 22px !important;
	border: 1px solid var(--tqs-linie) !important;
	border-left: 4px solid var(--tqs-symbol) !important;
	border-radius: var(--tqs-radius);
	background: var(--tqs-flaeche) !important;
}

body .tqs-v-hinweise.ist-schlicht {
	font-size: .82em;
}

body .tqs-v-hinweise.ist-schlicht .tqs-v-hinweise-titel {
	margin-bottom: .5em !important;
	font-size: 1em !important;
}

body .tqs-v-hinweise.ist-klappe {
	border-top: 1px solid var(--tqs-linie) !important;
	border-bottom: 1px solid var(--tqs-linie) !important;
}

body .tqs-v-hinweise.ist-klappe summary {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 !important;
	padding: 14px 0 !important;
	cursor: pointer;
	list-style: none !important;
}

body .tqs-v-hinweise.ist-klappe summary::-webkit-details-marker {
	display: none;
}

body .tqs-v-hinweise.ist-klappe summary::after {
	content: "";
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	margin-right: 6px;
	margin-top: -5px;
	border-right: 2px solid var(--tqs-titel);
	border-bottom: 2px solid var(--tqs-titel);
	transform: rotate(45deg); /* Pfeil nach unten = aufklappen */
	transition: transform .2s ease;
}

body .tqs-v-hinweise.ist-klappe[open] summary::after {
	margin-top: 5px;
	transform: rotate(225deg); /* Pfeil nach oben = zuklappen */
}

body .tqs-v-hinweise.ist-klappe .tqs-v-hinweise-text {
	padding: 0 0 16px !important;
}

/* Hinweise außerhalb einer Vorlage (z. B. [3q_hinweise] im Theme-Template) */
body .tqs-v-hinweise:not(.tqs-v .tqs-v-hinweise) {
	--tqs-titel: #0b3247;
	--tqs-linie: #dce3e8;
	--tqs-flaeche: #f5f8fa;
	--tqs-symbol: #0e7db5;
	--tqs-link: #0a5c86;
	--tqs-radius: 6px;
}

/* Vorlage: Kino */
body .tqs-v .tqs-v-panel {
	gap: 22px !important;
	padding: 24px !important;
	border-radius: var(--tqs-radius);
	background: var(--tqs-dunkel) !important;
	border-bottom: 4px solid var(--tqs-akzent) !important;
	color: #ffffff !important;
}

/* Vorlage: Seitenleiste (2/3 – 1/3) */
body .tqs-v .tqs-v-raster {
	display: grid !important;
	grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
	gap: 32px !important;
	align-items: start;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body .tqs-v .tqs-v-seite {
	gap: 0 !important;
	border: 1px solid var(--tqs-linie) !important;
	border-radius: var(--tqs-radius);
	background: #ffffff !important;
	overflow: hidden;
}

body .tqs-v .tqs-v-kopf {
	margin: 0 !important;
	padding: 14px 20px !important;
	background: var(--tqs-dunkel) !important;
	border-bottom: 4px solid var(--tqs-akzent) !important;
	color: #ffffff !important;
	font-family: inherit !important;
	font-size: 1em !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: .02em !important;
}

body .tqs-v .tqs-v-seite .tqs-v-fakten {
	padding: 20px !important;
}

body .tqs-v .tqs-v-seite .tqs-v-hinweise {
	padding: 18px 20px 20px !important;
	border-top: 1px solid var(--tqs-linie) !important;
	background: var(--tqs-flaeche) !important;
}

/* Vorlage: Medienkarte */
body .tqs-v-karte {
	gap: 0 !important;
	border: 1px solid var(--tqs-linie) !important;
	border-radius: var(--tqs-radius);
	background: #ffffff !important;
	overflow: hidden;
}

body .tqs-v .tqs-v-koerper {
	gap: 20px !important;
	padding: 26px 30px !important;
	border-top: 4px solid var(--tqs-akzent) !important;
}

body .tqs-v .tqs-v-fuss {
	padding: 18px 30px !important;
	border-top: 1px solid var(--tqs-linie) !important;
	background: var(--tqs-flaeche) !important;
}

/* Vorlage: Mit Tagesordnung – lange Listen zweispaltig */
@media (min-width: 900px) {
	body .tqs-v .tqs-v-to-liste.ist-lang {
		columns: 2;
		column-gap: 32px;
	}
}

/* Tablet */
@media (max-width: 1024px) {
	body .tqs-v .tqs-v-raster {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px !important;
	}
}

/* Handy */
@media (max-width: 767px) {
	body .tqs-v {
		--tqs-abstand: 20px;
	}

	body .tqs-v .tqs-v-fakten {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px 16px;
	}

	body .tqs-v .tqs-v-fakten.ist-liste {
		grid-template-columns: minmax(0, 1fr);
	}

	body .tqs-v .tqs-v-fakten li {
		grid-template-columns: 32px minmax(0, 1fr);
		column-gap: 10px;
	}

	body .tqs-v .tqs-v-fakten li::before {
		width: 32px;
		height: 32px;
		background-size: 18px 18px !important;
	}

	body .tqs-v .tqs-v-panel {
		padding: 14px !important;
	}

	body .tqs-v .tqs-v-koerper {
		padding: 18px !important;
	}

	body .tqs-v .tqs-v-fuss {
		padding: 16px 18px !important;
	}

	body .tqs-v-hinweise.ist-kasten {
		padding: 14px 16px !important;
	}
}

@media (max-width: 420px) {
	body .tqs-v .tqs-v-fakten {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	body .tqs-v-hinweise.ist-klappe summary::after {
		transition: none;
	}
}

/* Symbole der Eckdaten (weiß auf farbiger Fläche) */
body .tqs-v .tqs-f-datum::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='square'%3E%3Crect x='3.5' y='5' width='17' height='15.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") !important; }
body .tqs-v .tqs-f-zeit::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='square'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") !important; }
body .tqs-v .tqs-f-ort::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='square'%3E%3Cpath d='M12 21s-6.5-5.8-6.5-11A6.5 6.5 0 0 1 18.5 10c0 5.2-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E") !important; }
body .tqs-v .tqs-f-untertitel::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='square'%3E%3Crect x='3' y='5.5' width='18' height='13'/%3E%3Cpath d='M7 14.5h3.5M12.5 14.5H17M7 10.5h10'/%3E%3C/svg%3E") !important; }
body .tqs-v .tqs-f-link::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='square'%3E%3Cpath d='M14 4h6v6M20 4l-8.5 8.5M18 14v6H4V6h6'/%3E%3C/svg%3E") !important; }

/* Leere Bausteine (z. B. Tagesordnung ohne öffentliche Punkte nach dem Duplizieren) ausblenden. */
body .tqs-v .tqs-v-w-to:not(:has(li)),
body .tqs-v .tqs-v-w-fakten:not(:has(li)):not(:has(.tqs-v-kopf)) {
	display: none !important;
}

/* [3q_mitschnitt] in einem Absatz (Texteditor): leere Absätze davor und danach ohne Abstand. */
body p:empty:has(+ .tqs-v),
body .tqs-v + p:empty {
	display: none !important;
}

/* ==========================================================================
 * Tagesordnung – Darstellungen (Liste, Kompakt, Aufklappbar, Gegliedert, Zeitleiste)
 * ========================================================================== */

/* [3q_tagesordnung] innerhalb einer Vorlage: eigener Rahmen ohne zusätzliche Abstände */
body .tqs-v .tqs-v.tqs-v-einzeln {
	gap: 0 !important;
	max-width: 100% !important;
	margin: 0 !important;
}

/* Kompakt */
body .tqs-v .tqs-v-to-liste.ist-kompakt {
	border-top: 0 !important;
}

body .tqs-v .tqs-v-to-liste.ist-kompakt li {
	grid-template-columns: 2.8em minmax(0, 1fr);
	gap: 8px;
	padding: 3px 0 !important;
	border-bottom: 0 !important;
}

body .tqs-v .tqs-v-to-liste.ist-kompakt li.ist-unter {
	padding-left: 1.4em !important;
}

body .tqs-v .tqs-v-to-liste.ist-kompakt .tqs-to-nr {
	justify-content: flex-start;
	min-width: 0;
	min-height: 0;
	padding: 0;
	background: transparent !important;
	color: var(--tqs-symbol) !important;
	font-size: 1em !important;
}

/* Aufklappbar */
body .tqs-v .tqs-v-to-klappe {
	border-top: 1px solid var(--tqs-linie) !important;
	border-bottom: 1px solid var(--tqs-linie) !important;
}

body .tqs-v .tqs-v-to-klappe summary {
	display: flex !important;
	align-items: center;
	gap: 12px;
	margin: 0 !important;
	padding: 14px 0 !important;
	cursor: pointer;
	list-style: none !important;
}

body .tqs-v .tqs-v-to-klappe summary::-webkit-details-marker {
	display: none;
}

body .tqs-v .tqs-v-to-klappe summary .tqs-v-titel {
	margin: 0 !important;
}

body .tqs-v .tqs-v-to-zahl {
	margin-left: auto;
	padding: 2px 10px;
	border: 1px solid var(--tqs-linie);
	border-radius: var(--tqs-radius);
	color: var(--tqs-text-leise) !important;
	font-size: .82em;
	font-weight: 700;
	white-space: nowrap;
}

body .tqs-v .tqs-v-to-klappe summary::after {
	content: "";
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	margin: -5px 6px 0 0;
	border-right: 2px solid var(--tqs-titel);
	border-bottom: 2px solid var(--tqs-titel);
	transform: rotate(45deg);
	transition: transform .2s ease;
}

body .tqs-v .tqs-v-to-klappe[open] summary::after {
	margin-top: 5px;
	transform: rotate(225deg);
}

body .tqs-v .tqs-v-to-klappe summary:focus-visible {
	outline: 2px solid var(--tqs-titel) !important;
	outline-offset: 2px;
}

body .tqs-v .tqs-v-to-klappe .tqs-v-to-liste {
	margin-bottom: 16px !important;
}

/* Gegliedert: Hauptpunkte mit eingerückten Unterpunkten */
body .tqs-v .tqs-v-to-liste.ist-gegliedert > li.tqs-to-gruppe {
	grid-template-columns: 3.4em minmax(0, 1fr);
	padding: 12px 0 !important;
}

body .tqs-v .tqs-v-to-liste.ist-gegliedert > li.tqs-to-gruppe > .tqs-to-titel {
	font-weight: 700 !important;
}

body .tqs-v .tqs-v-to-liste .tqs-to-unter {
	grid-column: 2;
	margin: 6px 0 0 !important;
	padding: 0 0 0 14px !important;
	border-left: 2px solid var(--tqs-linie) !important;
	list-style: none !important;
}

body .tqs-v .tqs-v-to-liste .tqs-to-unter li {
	grid-template-columns: 2.8em minmax(0, 1fr);
	gap: 8px;
	padding: 4px 0 !important;
	border-bottom: 0 !important;
}

body .tqs-v .tqs-v-to-liste .tqs-to-unter li.ist-unter {
	padding-left: 0 !important;
}

body .tqs-v .tqs-v-to-liste .tqs-to-unter .tqs-to-nr {
	justify-content: flex-start;
	min-width: 0;
	min-height: 0;
	padding: 0;
	background: transparent !important;
	color: var(--tqs-symbol) !important;
}

body .tqs-v .tqs-v-to-liste.ist-gegliedert li.ist-ohne-kopf {
	grid-template-columns: minmax(0, 1fr);
}

body .tqs-v .tqs-v-to-liste.ist-gegliedert li.ist-ohne-kopf .tqs-to-unter {
	grid-column: 1;
}

/* Zeitleiste */
body .tqs-v .tqs-v-to-liste.ist-zeitleiste {
	position: relative;
	padding-left: 30px !important;
	border-top: 0 !important;
}

body .tqs-v .tqs-v-to-liste.ist-zeitleiste::before {
	content: "";
	position: absolute;
	top: 6px;
	bottom: 6px;
	left: 7px;
	width: 2px;
	background: var(--tqs-linie);
}

body .tqs-v .tqs-v-to-liste.ist-zeitleiste li {
	position: relative;
	display: block !important;
	padding: 0 0 14px !important;
	border-bottom: 0 !important;
}

body .tqs-v .tqs-v-to-liste.ist-zeitleiste li::before {
	content: "";
	position: absolute;
	top: .3em;
	left: -30px;
	width: 16px;
	height: 16px;
	border-radius: var(--tqs-radius);
	background: var(--tqs-akzent);
	outline: 3px solid #ffffff; /* Abstand zur Linie (kein Schatten) */
}

body .tqs-v .tqs-v-to-liste.ist-zeitleiste li.ist-unter {
	padding-left: 0 !important;
}

body .tqs-v .tqs-v-to-liste.ist-zeitleiste li.ist-unter::before {
	top: .45em;
	left: -26px;
	width: 8px;
	height: 8px;
	background: var(--tqs-symbol);
}

body .tqs-v .tqs-v-to-liste.ist-zeitleiste .tqs-to-nr {
	display: inline;
	min-width: 0;
	min-height: 0;
	margin-right: .5em;
	padding: 0;
	background: transparent !important;
	color: var(--tqs-symbol) !important;
	font-size: .9em !important;
}

body .tqs-v .tqs-v-to-liste.ist-zeitleiste li:not(.ist-unter) > .tqs-to-titel {
	font-weight: 700 !important;
}
