/* Grundlagen: Reset, Typografie, Fokus, Behälter, Hilfsklassen */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	background: var(--tl-nacht);
	color: var(--tl-tinte);
	font-family: var(--tl-schrift);
	font-size: 1rem;
	line-height: 1.5;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
}

button {
	font: inherit;
	color: inherit;
}

address {
	font-style: normal;
}

:focus-visible {
	outline: 3px solid var(--tl-blau-text);
	outline-offset: 3px;
	border-radius: 2px;
}

.held :focus-visible,
.systeme :focus-visible,
.stimmen :focus-visible,
.abschluss :focus-visible,
.fuss :focus-visible,
.kopf :focus-visible,
.menue :focus-visible,
.ablauf-dialog :focus-visible,
.karte :focus-visible,
.seitenkopf :focus-visible {
	outline-color: #ffffff;
}

main:focus,
section:focus {
	outline: none;
}

.behaelter {
	width: 100%;
	max-width: var(--tl-breite);
	margin-inline: auto;
	padding-left: max(var(--tl-rand-l), env(safe-area-inset-left, 0px));
	padding-right: max(var(--tl-rand-r), env(safe-area-inset-right, 0px));
}

.unsichtbar {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.tl-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.sprunglink {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 12px 18px;
	border-radius: var(--tl-radius);
	background: #ffffff;
	color: var(--tl-tinte);
	font-weight: 600;
	transform: translateY(-160%);
}

.sprunglink:focus {
	transform: none;
}

.icon {
	width: 24px;
	height: 24px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.icon .f {
	fill: currentColor;
	stroke: none;
}

/* Überzeile mit rotem Balken */
.ueberzeile {
	display: flex;
	align-items: center;
	gap: 17px;
	color: var(--tl-blau-text);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ueberzeile::before {
	content: "";
	flex: none;
	width: 4px;
	height: 18px;
	background: var(--tl-rot);
}

.ueberzeile--grau {
	color: var(--tl-grau-dunkel);
	font-weight: 500;
	letter-spacing: 0.12em;
}

.ueberzeile--hell {
	color: var(--tl-blau-hell);
}

/* Abschnittsüberschrift */
.titel-2 {
	margin-top: 18px;
	color: var(--tl-tinte);
	font-size: 1.96875rem;
	font-weight: 700;
	letter-spacing: -0.022em;
	line-height: 38px;
	text-wrap: balance;
}

.titel-2--hell {
	color: #ffffff;
}

.zeile {
	display: block;
}
