/* ==========================================================================
   BoxKIx Frontend — Designsystem
   Kino Nacht Theme, geprüft gegen WCAG 2.2 Level AA

   Kontraste gegen Grund #0D0F12:
     Text        #F2F4F6   17,2:1
     Text still  #A9B4C0    9,1:1
     Akzent      #F2B441   10,4:1
     Erfolg      #6FD08C    9,7:1
     Warnung     #F2C14E   11,3:1
     Fehler      #FF8A80    8,4:1
     Rahmen      #2A323B    Trennlinie, keine Bedienelemente
     Rahmen hell #6B7783    Rand von Eingabefeldern, 3,97:1 auf Flaeche

   Keine externen Schriften, keine CDN Einbindung. Das ist eine bewusste
   Entscheidung aus dem Maßnahmenprotokoll und Voraussetzung dafür, dass
   boxkix.de ohne Einwilligungsbanner auskommt.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Marken
   -------------------------------------------------------------------------- */

:root {
	/* Flächen */
	--grund:        #0D0F12;
	--flaeche:      #14181D;
	--flaeche-hoch: #1C2229;
	--rahmen:       #2A323B;
	--rahmen-hell:  #6B7783;

	/* Schrift */
	--text:         #F2F4F6;
	--text-still:   #A9B4C0;

	/* Bedeutung */
	--akzent:       #F2B441;
	--akzent-dunkel:#0D0F12;
	--erfolg:       #6FD08C;
	--warnung:      #F2C14E;
	--fehler:       #FF8A80;

	/* Maße */
	--ziel:         2.75rem;  /* 44px, deutlich über den geforderten 24px */
	--ziel-klein:   1.5rem;   /* 24px, absolute Untergrenze */
	--radius:       6px;
	--rand:         clamp(1rem, 4vw, 2.5rem);
	--spalte:       76rem;

	/* Typografie. Systemschriften, damit nichts extern geladen wird. */
	--schrift: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont,
	           "Helvetica Neue", Arial, sans-serif;
	--schrift-zahl: ui-monospace, "SF Mono", "Cascadia Mono", Menlo,
	                Consolas, "Liberation Mono", monospace;

	--stufe-1: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
	--stufe-2: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
	--stufe-3: 1.15rem;
	--stufe-4: 0.95rem;
	--stufe-klein: 0.85rem;
}

/* --------------------------------------------------------------------------
   2. Grundlagen
   -------------------------------------------------------------------------- */

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

html {
	background: var(--grund);
	/* Kein festes font-size in px, damit die Browsereinstellung wirkt */
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--grund);
	color: var(--text);
	font-family: var(--schrift);
	font-size: 1rem;
	line-height: 1.6;
	/* Textabstände bleiben veränderbar, siehe WCAG 1.4.12 */
	letter-spacing: 0.01em;
}

/* Inhalt bleibt bis 320px Breite und bei 200% Zoom lesbar */
.huelle {
	width: 100%;
	max-width: var(--spalte);
	margin-inline: auto;
	padding-inline: var(--rand);
}

.huelle--breit { max-width: 100rem; }

h1, h2, h3, h4 {
	line-height: 1.25;
	margin: 0 0 0.5em;
	font-weight: 600;
	text-wrap: balance;
}

h1 { font-size: var(--stufe-1); letter-spacing: -0.02em; }
h2 { font-size: var(--stufe-2); }
h3 { font-size: var(--stufe-3); }

p { margin: 0 0 1em; max-width: 68ch; }

a {
	color: var(--akzent);
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}

a:hover { text-decoration-thickness: 2px; }

/* --------------------------------------------------------------------------
   3. Fokus. WCAG 2.4.7, 2.4.11, 2.4.13
   -------------------------------------------------------------------------- */

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

/* Der Fokus darf nie unter der Kopfleiste verschwinden */
:target,
main:focus,
[id] { scroll-margin-top: 6rem; }

.sprungmarke {
	position: absolute;
	left: 0;
	top: -4rem;
	z-index: 100;
	display: inline-block;
	padding: 0.75rem 1.25rem;
	background: var(--akzent);
	color: var(--akzent-dunkel);
	font-weight: 600;
	text-decoration: none;
	transition: top 0.12s ease-out;
}

.sprungmarke:focus { top: 0; }

/* --------------------------------------------------------------------------
   4. Kopfleiste
   -------------------------------------------------------------------------- */

.vorschau-banner {
	background: var(--warnung);
	color: #1a1400;
	font-size: 0.9rem;
	padding: 0.6rem 0;
	text-align: center;
}
.vorschau-banner a {
	color: #1a1400;
	font-weight: 600;
	text-decoration: underline;
	margin-left: 0.5em;
}

.badge-geschaetzt {
	display: inline-block;
	background: var(--warnung);
	color: #1a1400;
	font-size: 0.7em;
	font-weight: 600;
	padding: 0.1em 0.5em;
	border-radius: 999px;
	margin-left: 0.4em;
	white-space: nowrap;
}

.zip-download-link {
	display: inline-block;
	background: var(--flaeche-zweit, rgba(255,255,255,0.08));
	border: 1px solid var(--rand, rgba(255,255,255,0.15));
	border-radius: 4px;
	padding: 0.15em 0.5em;
	white-space: nowrap;
	text-decoration: none;
}
.zip-download-link:hover {
	background: var(--flaeche-zweit-hover, rgba(255,255,255,0.16));
}

.kopfleiste {
	border-bottom: 1px solid var(--rahmen);
	background: var(--grund);
	/* Bewusst nicht position: sticky. Ein fixierter Kopf kann den Fokus
	   verdecken, was gegen WCAG 2.4.11 verstößt. */
}

.kopfleiste .huelle {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	min-height: 4.5rem;
	padding-block: 0.75rem;
}

.marke {
	display: inline-flex;
	flex-direction: column;
	gap: 0.35rem;
	color: var(--text);
	text-decoration: none;
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -0.01em;
}

/* Signatur: die Perforation eines 35mm Streifens als einziges Ornament */
.marke__perforation {
	display: block;
	height: 4px;
	background-image: radial-gradient(circle at 3px 2px, var(--akzent) 1.6px, transparent 1.7px);
	background-size: 8px 4px;
	background-repeat: repeat-x;
	opacity: 0.9;
}

.hauptnavigation { margin-inline-start: auto; }

.hauptnavigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hauptnavigation a {
	display: flex;
	align-items: center;
	min-height: var(--ziel);
	padding: 0 0.9rem;
	border-radius: var(--radius);
	color: var(--text-still);
	text-decoration: none;
	font-size: var(--stufe-4);
}

.hauptnavigation a:hover {
	background: var(--flaeche);
	color: var(--text);
}

/* Der aktuelle Punkt wird nicht nur durch Farbe kenntlich gemacht */
.hauptnavigation .ist-aktuell {
	color: var(--text);
	background: var(--flaeche-hoch);
	box-shadow: inset 0 -2px 0 var(--akzent);
	font-weight: 600;
}

/* Navigationsgruppen: dasselbe details/summary-Muster wie sonst im
   Portal (z. B. bei Kinos-Kürzel-Hinweisen), hier als Dropdown ohne
   JavaScript -- Browser öffnen/schließen es nativ, tastatur- und
   screenreaderbedienbar. */
.nav-gruppe {
	position: relative;
}

.nav-gruppe summary {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	min-height: var(--ziel);
	padding: 0 0.9rem;
	border-radius: var(--radius);
	color: var(--text-still);
	font-size: var(--stufe-4);
	cursor: pointer;
	list-style: none;
	user-select: none;
	transition: background-color 0.12s ease, color 0.12s ease;
}

.nav-gruppe__icon {
	display: inline-block;
	font-size: 0.85em;
	line-height: 1;
	padding: 0.2em 0.32em;
	border-radius: 5px;
}

.nav-gruppe summary::-webkit-details-marker {
	display: none;
}

.nav-gruppe summary::after {
	content: "▾";
	font-size: 0.7em;
	opacity: 0.55;
	margin-inline-start: 0.1rem;
}

.nav-gruppe summary:hover,
.nav-gruppe[open] summary {
	background: var(--flaeche);
	color: var(--text);
}

.nav-gruppe:not(:last-child) {
	border-inline-end: 1px solid var(--rahmen-hell);
	padding-inline-end: 0.35rem;
	margin-inline-end: 0.15rem;
}

/* Markiert, in welcher Gruppe die aktuelle Seite liegt -- ohne die
   Gruppe deswegen aufzuklappen (das frühere Verhalten legte ein
   Dropdown dauerhaft über den Seiteninhalt). */
.nav-gruppe summary.ist-aktuelle-gruppe {
	color: var(--text);
	box-shadow: inset 0 -2px 0 var(--akzent);
	font-weight: 600;
}

.nav-gruppe__liste {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 15rem;
	margin: 0.35rem 0 0;
	padding: 0.4rem;
	list-style: none;
	background: var(--flaeche-hoch);
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.nav-gruppe__liste a {
	display: block;
	padding: 0.55rem 0.8rem;
	border-radius: var(--radius);
	color: var(--text-still);
	text-decoration: none;
	font-size: var(--stufe-4);
	white-space: nowrap;
	transition: background-color 0.12s ease, color 0.12s ease;
}

.nav-gruppe__liste a:hover {
	background: var(--flaeche);
	color: var(--text);
}

.nav-gruppe__liste .ist-aktuell {
	color: var(--text);
	background: var(--flaeche);
	box-shadow: inset 2px 0 0 var(--akzent);
	font-weight: 600;
}

/* Auf schmalen Bildschirmen schwebt das Dropdown nicht frei, sondern
   klappt an Ort und Stelle auf -- ein frei schwebendes Panel würde bei
   wenig Platz leicht über den Bildschirmrand hinauslaufen. */
@media (max-width: 720px) {
	.nav-gruppe__liste {
		position: static;
		box-shadow: none;
		border-left: 2px solid var(--rahmen);
		border-radius: 0;
		margin-inline-start: 0.75rem;
	}
}

.sitzung {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: var(--stufe-klein);
	color: var(--text-still);
}

.sitzung__name { white-space: nowrap; }

.sitzungshinweis {
	max-width: none;
	margin: 0;
	padding: 0.75rem var(--rand);
	background: var(--flaeche-hoch);
	border-bottom: 1px solid var(--rahmen);
	color: var(--warnung);
	font-size: var(--stufe-4);
}

/* --------------------------------------------------------------------------
   5. Kennsätze und Status.
      Nie allein über Farbe, immer mit Text. WCAG 1.4.1
   -------------------------------------------------------------------------- */

.kennsatz {
	display: inline-flex;
	align-items: center;
	min-height: var(--ziel-klein);
	padding: 0.1rem 0.6rem;
	border: 1px solid var(--rahmen-hell);
	border-radius: 999px;
	font-size: var(--stufe-klein);
	font-weight: 600;
	letter-spacing: 0.03em;
	color: var(--text-still);
	white-space: nowrap;
}

.kennsatz--intern    { border-color: var(--akzent);  color: var(--akzent); }
.kennsatz--verleiher { border-color: #C39BFF;        color: #C39BFF; }
.kennsatz--kino      { border-color: #7FC4FF;        color: #7FC4FF; }
.kennsatz--presse    { border-color: #FF9EC4;        color: #FF9EC4; }
.kennsatz--festival  { border-color: #6FD08C;        color: #6FD08C; }

.status {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: var(--ziel-klein);
	font-size: var(--stufe-klein);
	font-weight: 600;
}

.status::before {
	content: "";
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: currentColor;
	flex: none;
}

.status--offen     { color: var(--warnung); }
.status--bezahlt   { color: var(--erfolg); }
.status--ueberfaellig { color: var(--fehler); }

/* --------------------------------------------------------------------------
   6. Meldungen
   -------------------------------------------------------------------------- */

.meldungen { margin: 1.5rem 0 0; }

.meldung {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	max-width: none;
	margin: 0 0 0.75rem;
	padding: 0.9rem 1.1rem;
	border: 1px solid var(--rahmen-hell);
	border-inline-start-width: 4px;
	border-radius: var(--radius);
	background: var(--flaeche);
}

.meldung__marke {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	font-weight: 700;
	font-size: 0.9rem;
	background: currentColor;
}

.meldung__marke::first-letter { color: var(--grund); }
.meldung__text { color: var(--text); }

.meldung--erfolg  { border-inline-start-color: var(--erfolg);  color: var(--erfolg); }
.meldung--hinweis { border-inline-start-color: var(--akzent);  color: var(--akzent); }
.meldung--fehler  { border-inline-start-color: var(--fehler);  color: var(--fehler); }

/* Hinweiskasten im Seiteninhalt (Fehler/Erfolg direkt am Formular, ohne
   Seitenwechsel) -- gleiche Optik wie .meldung, aber mit normaler Textfarbe */
.hinweis {
	margin: 0 0 1rem;
	padding: 0.9rem 1.1rem;
	border: 1px solid var(--rahmen-hell);
	border-inline-start-width: 4px;
	border-radius: var(--radius);
	background: var(--flaeche);
	color: var(--text);
}

.hinweis--erfolg { border-inline-start-color: var(--erfolg); }
.hinweis--fehler { border-inline-start-color: var(--fehler); }

.fehlerliste {
	margin: 1.5rem 0;
	padding: 1.1rem 1.25rem;
	border: 2px solid var(--fehler);
	border-radius: var(--radius);
	background: var(--flaeche);
}

.fehlerliste h2 { margin: 0 0 0.5rem; font-size: var(--stufe-3); color: var(--fehler); }
.fehlerliste ul { margin: 0; padding-inline-start: 1.2rem; }
.fehlerliste li { margin-bottom: 0.35rem; }
.fehlerliste a  { color: var(--fehler); }

/* --------------------------------------------------------------------------
   7. Formulare
   -------------------------------------------------------------------------- */

.feldgruppe { margin-bottom: 1.25rem; }

.feldreihe {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.feldreihe .feldgruppe {
	flex: 1 1 12rem;
}

label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	font-size: var(--stufe-4);
}

.feldhinweis {
	margin: 0 0 0.4rem;
	font-size: var(--stufe-klein);
	color: var(--text-still);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="date"],
select,
textarea {
	width: 100%;
	min-height: var(--ziel);
	padding: 0.6rem 0.85rem;
	border: 1px solid var(--rahmen-hell);
	border-radius: var(--radius);
	background: var(--flaeche);
	color: var(--text);
	font-family: inherit;
	font-size: 1rem;
}

input::placeholder,
textarea::placeholder {
	color: var(--text-still);
	opacity: 1;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
	border-color: var(--fehler);
	border-width: 2px;
}

.feldfehler {
	display: block;
	margin-top: 0.35rem;
	font-size: var(--stufe-klein);
	font-weight: 600;
	color: var(--fehler);
}

fieldset {
	margin: 0 0 1.5rem;
	padding: 0;
	border: 0;
}

legend {
	padding: 0;
	font-size: var(--stufe-3);
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. Schaltflächen
   -------------------------------------------------------------------------- */

.knopf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: var(--ziel);
	min-width: var(--ziel);
	padding: 0 1.25rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	background: var(--akzent);
	color: var(--akzent-dunkel);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.knopf:hover { filter: brightness(1.08); }

.knopf--zweit {
	background: transparent;
	border-color: var(--rahmen-hell);
	color: var(--text);
}

.knopf--zweit:hover { background: var(--flaeche); filter: none; }

.knopf--still {
	background: transparent;
	border-color: var(--rahmen-hell);
	color: var(--text-still);
	font-weight: 500;
	padding: 0 0.9rem;
}

.knopf--still:hover { color: var(--text); background: var(--flaeche); filter: none; }

.knopf--linkartig {
	background: none;
	border: none;
	padding: 0;
	color: var(--akzent);
	text-decoration: underline;
	font: inherit;
	cursor: pointer;
}

.knopf--linkartig:hover { color: var(--akzent-dunkel, var(--akzent)); }

.knopf--voll { width: 100%; }

.knopfreihe {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

/* --------------------------------------------------------------------------
   9. Karten und Kacheln
   -------------------------------------------------------------------------- */

.karte {
	padding: 1.5rem;
	border: 1px solid var(--rahmen-hell);
	border-left: 6px solid var(--rahmen-hell);
	border-radius: var(--radius);
	background: var(--flaeche);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

/* v2.400: Karten stehen als eigene Einheiten, mit Abstand zueinander (nicht in Rastern) */
.karte + .karte { margin-top: 1.25rem; }
.kacheln > .karte + .karte,
.kanban-spalte__karten > .karte + .karte { margin-top: 0; }

.karte > :last-child { margin-bottom: 0; }

.kacheln {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
	gap: 1.25rem;
	margin: 2rem 0;
	padding: 0;
	list-style: none;
}

.kacheln--links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.kachel {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.5rem;
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	background: var(--flaeche);
}

.kachel h3 { margin: 0; }
.kachel p  { margin: 0; color: var(--text-still); font-size: var(--stufe-4); }
.kachel .knopf { margin-top: auto; align-self: flex-start; }

.zahl {
	font-family: var(--schrift-zahl);
	font-size: var(--stufe-1);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}

.augenbraue {
	margin: 2rem 0 0.25rem;
	font-size: var(--stufe-klein);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-still);
}

/* --------------------------------------------------------------------------
   10. Tabellen. Echte Tabellen mit Kopfzellen, WCAG 1.3.1
   -------------------------------------------------------------------------- */

.tabellenhuelle {
	/* position: relative haelt die unsichtbaren Vorlesetexte (.nur-vorlesen, absolut positioniert) in der Huelle;
	   sonst ragen sie aus weit rechts liegenden Zellen heraus und machen die ganze Seite seitlich scrollbar. */
	position: relative;
	overflow-x: auto;
	margin: 1.5rem 0;
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--stufe-4);
}

caption {
	padding: 0.9rem 1rem;
	text-align: start;
	font-weight: 600;
	color: var(--text-still);
	border-bottom: 1px solid var(--rahmen);
}

th, td {
	padding: 0.75rem 1rem;
	text-align: start;
	vertical-align: top;
	border-bottom: 1px solid var(--rahmen);
}

thead th {
	background: var(--flaeche-hoch);
	font-weight: 600;
	white-space: nowrap;
}

tbody tr:last-child th,
tbody tr:last-child td { border-bottom: 0; }

tbody tr:hover { background: var(--flaeche); }

td.betrag,
th.betrag {
	text-align: end;
	font-family: var(--schrift-zahl);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* Sortierbare Spaltenköpfe behalten die Mindestzielgröße */
th button {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: var(--ziel-klein);
	padding: 0.15rem 0.3rem;
	border: 0;
	border-radius: 3px;
	background: none;
	color: inherit;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   11. Anmeldeseite
   -------------------------------------------------------------------------- */

.anmeldung {
	max-width: 30rem;
	margin: 3rem auto 4rem;
}

.anmeldung--breit {
	max-width: 44rem;
}

.anmeldung h1 { margin-bottom: 0.25rem; }

.anmeldung__einleitung {
	color: var(--text-still);
	margin-bottom: 2rem;
}

.trenner {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 2rem 0;
	color: var(--text-still);
	font-size: var(--stufe-klein);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.trenner::before,
.trenner::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--rahmen);
}

/* --------------------------------------------------------------------------
   12. Fußleiste
   -------------------------------------------------------------------------- */

.fussleiste {
	margin-top: 5rem;
	padding-block: 2.5rem;
	border-top: 1px solid var(--rahmen);
	color: var(--text-still);
	font-size: var(--stufe-4);
}

.fussleiste h2 { font-size: var(--stufe-3); color: var(--text); }
.fussleiste ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 1rem 0; padding: 0; list-style: none; }

.fussleiste__wege a {
	display: inline-flex;
	align-items: center;
	min-height: var(--ziel-klein);
}

.fussleiste__zeile { margin: 0; font-size: var(--stufe-klein); }

/* --------------------------------------------------------------------------
   13. Nur für Screenreader
   -------------------------------------------------------------------------- */

.nur-vorlesen {
	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;
}

/* --------------------------------------------------------------------------
   14. Rücksicht auf Systemeinstellungen
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

@media (prefers-contrast: more) {
	:root {
		--text-still: #D6DEE6;
		--rahmen:     #55606C;
		--rahmen-hell:#7C8894;
	}
}

@media (forced-colors: active) {
	.knopf { border: 1px solid ButtonText; }
	.marke__perforation { display: none; }
	:focus-visible { outline: 3px solid Highlight; }
}

/* Helles Betriebssystem: die Nachtansicht bleibt, aber Ränder werden klarer */
@media (prefers-color-scheme: light) {
	:root { --rahmen: #38424E; }
}

/* --------------------------------------------------------------------------
   15. Druck
   -------------------------------------------------------------------------- */

@media print {
	body { background: #fff; color: #000; }
	.kopfleiste, .fussleiste, .sprungmarke, .knopf, .sitzungshinweis, .meldungen { display: none; }
	.tabellenhuelle { border: 0; }
	th, td { border-bottom: 1px solid #999; }
	a::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}

/* --------------------------------------------------------------------------
   16. Abrechnung
   -------------------------------------------------------------------------- */

.reiter { margin: 1.5rem 0; border-bottom: 1px solid var(--rahmen); }

.reiter ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.reiter a {
	display: flex;
	align-items: center;
	min-height: var(--ziel);
	padding: 0 1rem;
	color: var(--text-still);
	text-decoration: none;
	border-bottom: 3px solid transparent;
}

.reiter a:hover { color: var(--text); }

/* Der aktive Reiter trägt Farbe, Schriftschnitt und Linie zugleich */
.reiter .ist-aktuell {
	color: var(--text);
	font-weight: 600;
	border-bottom-color: var(--akzent);
}

.kennzahlen {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
	gap: 1rem;
	margin: 1.5rem 0 2.5rem;
	padding: 0;
	list-style: none;
}

.kennzahl {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	background: var(--flaeche);
}

/* Auffällige Werte tragen zusätzlich zur Farbe eine Linie an der Seite */
.kennzahl--achtung {
	border-inline-start: 4px solid var(--warnung);
}

.kennzahl__wert {
	font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
	line-height: 1.15;
	color: var(--text);
}

.kennzahl--achtung .kennzahl__wert { color: var(--warnung); }

.kennzahl__name {
	font-size: var(--stufe-4);
	font-weight: 600;
	color: var(--text-still);
}

.kennzahl__zusatz {
	font-size: var(--stufe-klein);
	color: var(--text-still);
}

.filterleiste {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: flex-end;
	margin: 1rem 0 2rem;
	padding: 1.25rem;
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	background: var(--flaeche);
}

.filterleiste .feldgruppe {
	flex: 1 1 12rem;
	margin-bottom: 0;
}

.filterleiste .feldgruppe--knoepfe {
	flex: 0 0 auto;
	display: flex;
	gap: 0.5rem;
}

.zeile__zusatz {
	display: block;
	font-size: var(--stufe-klein);
	font-weight: 400;
	color: var(--text-still);
}

.zeile__zusatz--achtung { color: var(--warnung); }

tfoot th,
tfoot td {
	border-top: 2px solid var(--rahmen-hell);
	background: var(--flaeche-hoch);
	font-weight: 600;
}

.brotkrumen {
	margin: 1.5rem 0 0.5rem;
	font-size: var(--stufe-4);
}

.brotkrumen-global {
	margin: 0 0 1rem;
	font-size: var(--stufe-4);
	color: var(--text);
	opacity: 0.75;
}

.brotkrumen-global a {
	color: inherit;
}

.bereichsstreifen {
	height: 4px;
	border-radius: 2px;
	margin-bottom: 0.75rem;
}

.verwandte-seiten__titel {
	margin: 0 0 0.4rem;
	font-weight: 600;
}

.verwandte-seiten ul {
	margin: 0;
	padding-left: 1.2rem;
}

.kopfzeile-meta {
	margin-top: -0.5rem;
	color: var(--text-still);
	font-size: var(--stufe-4);
}

/* --------------------------------------------------------------------------
   17. Mahntext
   -------------------------------------------------------------------------- */

.mahntext {
	margin: 0;
	padding: 1rem 1.1rem;
	border: 1px solid var(--rahmen-hell);
	border-radius: var(--radius);
	background: var(--flaeche-hoch);
	color: var(--text);
	font-family: var(--schrift);
	font-size: var(--stufe-4);
	line-height: 1.6;
	white-space: pre-wrap;
	overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   18. TB-Dokument
   -------------------------------------------------------------------------- */

.tb-dokument {
	max-width: 42rem;
	font-family: Georgia, 'Times New Roman', serif;
	line-height: 1.5;
}

.tb-dokument p { max-width: none; }

.tb-absender,
.tb-datum {
	margin: 0 0 0.25rem;
	font-size: var(--stufe-klein);
	color: var(--text-still);
	font-family: var(--schrift);
}

.tb-headline {
	margin: 1.25rem 0 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--text);
	font-size: var(--stufe-2);
	letter-spacing: 0.04em;
}

.tb-an { margin-bottom: 0.25rem; }

.tb-filmtitel {
	font-size: var(--stufe-3);
	font-weight: 700;
	letter-spacing: 0.02em;
	margin-bottom: 0.75rem;
}

.tb-tabelle {
	width: 100%;
	margin: 1rem 0;
	border-collapse: collapse;
}

.tb-tabelle th,
.tb-tabelle td {
	padding: 0.4rem 0.75rem 0.4rem 0;
	text-align: start;
	font-size: var(--stufe-4);
	border-bottom: 1px solid var(--rahmen);
	font-weight: 400;
}

.tb-tabelle th { width: 40%; color: var(--text-still); font-weight: 600; }

.tb-nummer-wert {
	font-family: var(--schrift-zahl);
	font-weight: 700;
	letter-spacing: 0.03em;
}

.tb-agb,
.tb-zahlungstext {
	font-family: var(--schrift);
	font-size: var(--stufe-klein);
	color: var(--text-still);
}

.tb-fuss {
	margin-top: 2rem;
	font-family: var(--schrift);
	font-size: var(--stufe-klein);
	color: var(--text-still);
	border-top: 1px solid var(--rahmen);
	padding-top: 0.75rem;
}

kbd {
	display: inline-block;
	padding: 0.05rem 0.4rem;
	border: 1px solid var(--rahmen-hell);
	border-radius: 4px;
	background: var(--flaeche);
	font-family: var(--schrift-zahl);
	font-size: var(--stufe-klein);
}

/* Beim Drucken: nur das Dokument selbst, in Schwarz auf Weiß, ohne Portal-Rahmen */
@media print {
	.tb-dokument {
		border: 0;
		padding: 0;
		background: #fff;
		color: #000;
		max-width: none;
	}
	.tb-tabelle th,
	.tb-tabelle td { border-bottom-color: #ccc; }
	.brotkrumen,
	h1 + p,
	.tb-bearbeiten-abschnitt { display: none; }
}

/* --------------------------------------------------------------------------
   19. Sortierbare Tabellenspalten
   -------------------------------------------------------------------------- */

.sortier-link {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

.sortier-link:hover,
.sortier-link:focus-visible {
	text-decoration: underline;
}

.sortier-link[aria-current="true"] {
	color: var(--akzent);
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   20. FFA-Meldestand: Gesamtzeile je Film
   -------------------------------------------------------------------------- */

.gesamtzeile {
	border-top: 2px solid var(--rahmen-hell);
	font-weight: 700;
}

.gesamtzeile th,
.gesamtzeile td {
	background: var(--flaeche);
}

/* --------------------------------------------------------------------------
   20. Presse-Filmseite
   -------------------------------------------------------------------------- */

.presse-film {
	display: grid;
	grid-template-columns: minmax(220px, 300px) 1fr;
	gap: var(--abstand-gross, 2rem);
	align-items: start;
	margin-block: var(--abstand-gross, 2rem);
}

.presse-film__poster img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}

.presse-film__poster-platzhalter {
	width: 100%;
	aspect-ratio: 2 / 3;
	background: var(--flaeche-zweit, #1a1a1a);
	border: 1px dashed var(--rahmen, #333);
	border-radius: 4px;
}

.presse-film__downloads {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

@media (max-width: 640px) {
	.presse-film {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   21. Ehrentopf-Feld (Anti-Spam, öffentliche Formulare)
   -------------------------------------------------------------------------- */

.feldgruppe--versteckt {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   22. Konflikt-Marke in Tabellenzeilen
   -------------------------------------------------------------------------- */

.zeile__marke--konflikt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.2em;
	height: 1.2em;
	margin-left: 0.4em;
	border-radius: 50%;
	background: var(--fehler);
	color: #1a1a1a;
	font-weight: 700;
	font-size: 0.85em;
	line-height: 1;
}

/* --------------------------------------------------------------------------
   23a. Herausbringungs-Map (horizontale Phasen-Übersicht mit Feature-Links)
   -------------------------------------------------------------------------- */

.herausbringungsmap-huelle {
	overflow-x: auto;
	overflow-y: hidden;
	padding-block: 2.2rem 0.9rem;
	margin-block: 1.5rem;
	-webkit-overflow-scrolling: touch;
	/* Scrollbalken bewusst dauerhaft sichtbar statt vom Betriebssystem
	   automatisch ausgeblendet -- sonst sieht man ohne Hover/Touch gar
	   nicht, dass hier mehr Inhalt existiert. */
	scrollbar-width: thin;
	scrollbar-color: var(--rahmen-hell) var(--flaeche);
}

.herausbringungsmap-huelle::-webkit-scrollbar {
	height: 10px;
}

.herausbringungsmap-huelle::-webkit-scrollbar-track {
	background: var(--flaeche);
	border-radius: 999px;
}

.herausbringungsmap-huelle::-webkit-scrollbar-thumb {
	background: var(--rahmen-hell);
	border-radius: 999px;
}

.herausbringungsmap-huelle::-webkit-scrollbar-thumb:hover {
	background: var(--akzent);
}

.herausbringungsmap-huelle.ist-scrollbar {
	mask-image: linear-gradient(to right, black calc(100% - 2.5rem), transparent 100%);
}

.herausbringungsmap-huelle.ist-scrollbar.ist-am-ende {
	mask-image: none;
}

.herausbringungsmap {
	display: flex;
	align-items: flex-start;
	gap: 0;
	min-width: max-content;
	position: relative;
}

/* Die durchgehende horizontale Linie, auf der die Phasen wie Stationen
   sitzen -- ein Pseudo-Element auf dem Container, damit sie nicht pro
   Station neu gezeichnet werden muss und an den Rändern glatt endet. */
.herausbringungsmap::before {
	content: '';
	position: absolute;
	top: 2.55rem;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--rahmen-hell);
}

.herausbringungsmap__station {
	flex: 0 0 17rem;
	width: 17rem;
	padding-inline: 1rem;
	position: relative;
}

.herausbringungsmap__station:first-child { padding-left: 0; }
.herausbringungsmap__station:last-child { padding-right: 0; }

.herausbringungsmap__zeit {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--text-still);
	text-transform: uppercase;
	margin-bottom: 0.4rem;
	white-space: nowrap;
}

.herausbringungsmap__punkt {
	width: 0.85rem;
	height: 0.85rem;
	border-radius: 50%;
	background: var(--akzent);
	border: 2px solid var(--flaeche);
	box-shadow: 0 0 0 2px var(--akzent);
	margin-bottom: 1rem;
}

.herausbringungsmap__titel {
	font-size: 1rem;
	margin: 0 0 0.5rem;
}

.herausbringungsmap__beschreibung {
	font-size: 0.85rem;
	color: var(--text-still);
	margin: 0 0 0.9rem;
}

.herausbringungsmap__features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.herausbringungsmap__features li {
	border-left: 2px solid var(--rahmen);
	padding-left: 0.6rem;
}

.herausbringungsmap__features a {
	font-weight: 600;
	font-size: 0.9rem;
}

.herausbringungsmap__features .feldhinweis {
	display: block;
	font-size: 0.78rem;
	margin-top: 0.1rem;
}

/* --------------------------------------------------------------------------
   23. Zeitstrahl (Tasks, Presseplan — horizontale Ansicht)
   -------------------------------------------------------------------------- */

.ansicht-umschalter {
	display: flex;
	gap: 0.5rem;
	margin-block: 1rem;
}

.zeitstrahl-bereich {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-block: 1rem;
}

.zeitstrahl-huelle {
	overflow-x: auto;
	overflow-y: hidden;
	border: 1px solid var(--rahmen);
	border-radius: calc(var(--radius) + 4px);
	background: linear-gradient(180deg, var(--flaeche-hoch) 0%, var(--flaeche) 12%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.zeitstrahl {
	position: relative;
	min-width: 100%;
	/* Feines Tagesraster ganz ohne zusätzliche Elemente pro Tag: ein
	   sich wiederholender Verlauf zieht bei jedem Tagesabstand eine
	   hauchdünne Linie. --tag-breite wird inline je Ansicht gesetzt. */
	background-image: repeating-linear-gradient(
		to right,
		transparent 0,
		transparent calc(var(--tag-breite, 28px) - 1px),
		rgba(255, 255, 255, 0.05) calc(var(--tag-breite, 28px) - 1px),
		rgba(255, 255, 255, 0.05) var(--tag-breite, 28px)
	);
}

.zeitstrahl__kopf {
	position: relative;
	height: 1.9rem;
	border-bottom: 1px solid var(--rahmen);
}

.zeitstrahl__tagesmarke {
	position: absolute;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	padding-left: 6px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--text-still);
	white-space: nowrap;
}

.zeitstrahl__tagesmarke::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.35rem;
	bottom: 0.35rem;
	width: 1px;
	background: var(--rahmen-hell);
}

.zeitstrahl__heute {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(180deg, var(--fehler) 0%, rgba(255, 138, 128, 0.35) 100%);
	z-index: 5;
	box-shadow: 0 0 8px rgba(255, 138, 128, 0.55);
}

.zeitstrahl__heute::before {
	content: 'Heute';
	position: absolute;
	top: -1.9rem;
	left: 50%;
	transform: translateX(-50%);
	background: var(--fehler);
	color: #1a1a1a;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	white-space: nowrap;
}

.zeitstrahl__gruppe {
	position: relative;
	border-bottom: 1px solid var(--rahmen);
}

.zeitstrahl__gruppe:nth-child(even) {
	background: rgba(255, 255, 255, 0.015);
}

.zeitstrahl__gruppenname {
	position: sticky;
	left: 0;
	top: 0;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.25rem 0.7rem 0.25rem 0.55rem;
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--text);
	background: var(--flaeche-hoch);
	border-left: 3px solid var(--gruppenfarbe, var(--akzent));
	border-radius: 0 0 var(--radius) 0;
	box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
	z-index: 3;
}

.zeitstrahl__balken {
	position: absolute;
	height: 1.7rem;
	border-radius: 999px;
	display: flex;
	align-items: center;
	gap: 0.3rem;
	padding-inline: 0.55rem;
	overflow: hidden;
	white-space: nowrap;
	text-decoration: none;
	color: rgba(0, 0, 0, 0.82);
	font-size: 0.78rem;
	font-weight: 700;
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 45%);
	background-color: var(--balkenfarbe, var(--akzent));
	background-blend-mode: overlay;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.zeitstrahl__balken:hover,
.zeitstrahl__balken:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35), 0 0 0 2px var(--text);
	outline: none;
}

.zeitstrahl__balken--erledigt {
	opacity: 0.5;
	text-decoration: line-through;
	box-shadow: none;
}

.zeitstrahl__balken--erledigt::before {
	content: '✓';
	text-decoration: none;
	font-size: 0.75rem;
}

.zeitstrahl__balkentext {
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
}

@media (prefers-reduced-motion: reduce) {
	.zeitstrahl__balken {
		transition: none;
	}
}

/* Wochenend-Schattierung: eine ruhige, ganzflaechige Spalte je Samstag/Sonntag */
.zeitstrahl__wochenende {
	position: absolute;
	top: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.16);
	z-index: 1;
	pointer-events: none;
}

/* Meilensteine: einzelne Tage (Versand, Deadline) als Raute statt Balken --
   dieselbe Unterscheidung, die Asana/Monday/Linear fuer Gantt-Ansichten
   treffen: ein Balken zeigt eine Zeitspanne, eine Raute einen Zeitpunkt. */
.zeitstrahl__balken--meilenstein {
	background: none;
	background-image: none;
	background-color: transparent;
	box-shadow: none;
	border: none;
	padding-inline: 0;
	width: 13rem !important;
	gap: 0.5rem;
}

.zeitstrahl__meilenstein-form {
	width: 0.85rem;
	height: 0.85rem;
	flex-shrink: 0;
	transform: rotate(45deg);
	background-color: var(--balkenfarbe, var(--akzent));
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 2px 5px rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.zeitstrahl__balken--meilenstein .zeitstrahl__balkentext {
	color: var(--text);
	font-weight: 700;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 6px rgba(0, 0, 0, 0.6);
}

.zeitstrahl__balken--meilenstein:hover,
.zeitstrahl__balken--meilenstein:focus-visible {
	transform: none;
	box-shadow: none;
}

.zeitstrahl__balken--meilenstein:hover .zeitstrahl__meilenstein-form,
.zeitstrahl__balken--meilenstein:focus-visible .zeitstrahl__meilenstein-form {
	transform: rotate(45deg) scale(1.15);
	outline: 2px solid var(--text);
	outline-offset: 2px;
}

/* Zustaendigkeits-Kuerzel als kleiner Kreis, statt nur im Titel-Text */
.zeitstrahl__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.1rem;
	height: 1.1rem;
	flex-shrink: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.28);
	font-size: 0.58rem;
	font-weight: 800;
	letter-spacing: 0;
}

/* --------------------------------------------------------------------------
   24. Kalenderansicht (Tasks)
   -------------------------------------------------------------------------- */

table.kalender {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}

table.kalender th {
	text-align: center;
	padding: 0.4rem;
	font-size: 0.8rem;
	color: var(--text-still);
	border-bottom: 1px solid var(--rahmen);
}

.kalender__zelle {
	vertical-align: top;
	border: 1px solid var(--rahmen);
	padding: 0.3rem;
	height: 6rem;
	overflow: hidden;
}

.kalender__zelle--fremd {
	opacity: 0.4;
}

.kalender__zelle--heute {
	background: var(--flaeche-hoch);
	border-color: var(--fehler);
	border-width: 2px;
}

.kalender__tag {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 0.2rem;
}

.kalender__eintrag {
	display: block;
	font-size: 0.72rem;
	line-height: 1.2;
	padding: 0.1rem 0.3rem;
	margin-bottom: 0.15rem;
	border-radius: 3px;
	color: #1a1a1a;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kalender__eintrag--erledigt {
	opacity: 0.5;
	text-decoration: line-through;
}

@media (max-width: 640px) {
	.kalender__zelle { height: 3.5rem; font-size: 0.7rem; }
	.kalender__eintrag { font-size: 0.65rem; }
}

/* --------------------------------------------------------------------------
   25. Dispoplan
   -------------------------------------------------------------------------- */

table.kalender--dispoplan .kalender__zelle {
	height: 5.5rem;
	padding: 0.25rem;
}

.kalender__zelle--gewaehlt {
	border-color: var(--akzent);
	border-width: 2px;
}

.kalender__tageslink {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.kalender__tageslink:hover,
.kalender__tageslink:focus-visible {
	background: rgba(255, 255, 255, 0.06);
	border-radius: var(--radius);
}

.dispoplan__kinostart {
	display: block;
	font-size: 0.62rem;
	font-weight: 700;
	color: var(--akzent);
	letter-spacing: 0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dispoplan__anzahl {
	display: block;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--text);
	margin-top: 0.15rem;
}

.dispoplan__punkte {
	display: flex;
	gap: 0.2rem;
	flex-wrap: wrap;
	margin-top: 0.2rem;
}

.dispoplan__punkt {
	display: inline-block;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	flex-shrink: 0;
}

.dispoplan__legende-titel {
	font-size: 0.85rem;
	color: var(--text-still);
	margin-top: 1.5rem;
}

.dispoplan__legende {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	font-size: 0.82rem;
}

.dispoplan__legende-eintrag {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

@media (max-width: 640px) {
	table.kalender--dispoplan .kalender__zelle {
		height: 4rem;
		font-size: 0.68rem;
	}
	.dispoplan__kinostart {
		font-size: 0.55rem;
	}
}

/* --------------------------------------------------------------------------
   26. Förderantrag-Vergleich
   -------------------------------------------------------------------------- */

.foerderantrag__foerderer {
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--rahmen);
}

.foerderantrag__typwahl {
	display: block;
	margin-top: 0.3rem;
	margin-left: 1.6rem;
	font-size: 0.85rem;
	color: var(--text-still);
}

.foerderantrag__typwahl label {
	margin-right: 1rem;
	white-space: nowrap;
}

.foerderantrag__bewertung {
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
   27. Veedelskino-Gutschrift (ausgehender Beleg)
   -------------------------------------------------------------------------- */

.veedelskino-beleg {
	max-width: 42rem;
	font-family: Georgia, 'Times New Roman', serif;
	line-height: 1.5;
}

.veedelskino-beleg p { max-width: none; }

.veedelskino-beleg__absender,
.veedelskino-beleg__datum {
	margin: 0 0 0.25rem;
	font-size: var(--stufe-klein);
	color: var(--text-still);
	font-family: var(--schrift);
}

.veedelskino-beleg__headline {
	margin: 1.25rem 0 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--text);
	font-size: var(--stufe-2);
	letter-spacing: 0.04em;
}

.veedelskino-beleg__an { margin-bottom: 0.25rem; }

.veedelskino-beleg__filmtitel {
	font-size: var(--stufe-3);
	font-weight: 700;
	letter-spacing: 0.02em;
	margin-bottom: 0.75rem;
}

.veedelskino-beleg__tabelle {
	width: 100%;
	margin: 1rem 0;
	border-collapse: collapse;
}

.veedelskino-beleg__tabelle th,
.veedelskino-beleg__tabelle td {
	padding: 0.35rem 0.75rem 0.35rem 0;
	text-align: start;
	font-size: var(--stufe-4);
	border-bottom: 1px solid var(--rahmen);
	font-weight: 400;
}

.veedelskino-beleg__tabelle td.betrag,
.veedelskino-beleg__tabelle th.betrag { text-align: end; font-family: var(--schrift-zahl); }

.veedelskino-beleg__berechnung th { width: 60%; color: var(--text-still); font-weight: 400; }

.veedelskino-beleg__zwischensumme th,
.veedelskino-beleg__zwischensumme td { font-weight: 700; border-top: 2px solid var(--text); border-bottom: none; }

.veedelskino-beleg__endbetrag {
	margin-top: 1rem;
	padding: 0.85rem 1rem;
	border: 2px solid var(--akzent);
	border-radius: var(--radius);
	font-size: var(--stufe-3);
	font-weight: 700;
}

.veedelskino-beleg__fuss {
	margin-top: 2rem;
	font-family: var(--schrift);
	font-size: var(--stufe-klein);
	color: var(--text-still);
	border-top: 1px solid var(--rahmen);
	padding-top: 0.75rem;
}

@media print {
	.veedelskino-beleg {
		border: 0;
		padding: 0;
		background: #fff;
		color: #000;
		max-width: none;
	}
	.veedelskino-beleg__tabelle th,
	.veedelskino-beleg__tabelle td { border-bottom-color: #ccc; }
	.veedelskino-beleg__endbetrag { border-color: #000; }
	.brotkrumen,
	h1 + p,
	form { display: none; }
}

/* --------------------------------------------------------------------------
   28. Ladehinweis bei KI-Abfragen
   -------------------------------------------------------------------------- */

.ladehinweis {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.92);
}

.ladehinweis__karte {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: 2rem 2.5rem;
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	background: var(--flaeche);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
	max-width: 20rem;
	text-align: center;
}

.ladehinweis__spinner {
	width: 2.25rem;
	height: 2.25rem;
	border: 3px solid var(--rahmen);
	border-top-color: var(--akzent);
	border-radius: 50%;
	animation: ladehinweis-drehen 0.8s linear infinite;
}

@keyframes ladehinweis-drehen {
	to { transform: rotate(360deg); }
}

@media (prefers-color-scheme: dark) {
	.ladehinweis { background: rgba(0, 0, 0, 0.85); }
}

/* --------------------------------------------------------------------------
   29. Hinweis-Karte (z.B. Monatsreport-Erinnerung im Tagesbriefing)
   -------------------------------------------------------------------------- */

.karte--hinweis {
	border-left: 4px solid var(--akzent);
	background: color-mix(in srgb, var(--akzent) 8%, var(--flaeche));
}

/* --------------------------------------------------------------------------
   29b. Kritische Gegenprüfung von KI-Ergebnissen
   -------------------------------------------------------------------------- */

.gegenpruefung--gut {
	border-left: 4px solid var(--erfolg);
	background: color-mix(in srgb, var(--erfolg) 10%, var(--flaeche));
}

.gegenpruefung--vorsicht {
	border-left: 4px solid var(--warnung);
	background: color-mix(in srgb, var(--warnung) 10%, var(--flaeche));
}

.gegenpruefung--schlecht {
	border-left: 4px solid var(--fehler);
	background: color-mix(in srgb, var(--fehler) 10%, var(--flaeche));
}

.gegenpruefung--unklar {
	border-left: 4px solid var(--rahmen-hell);
}

/* --------------------------------------------------------------------------
   29c. Quellenliste bei KI-Recherchen mit Websuche
   -------------------------------------------------------------------------- */

.quellen {
	margin: 0.75rem 0 1.25rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	background: var(--flaeche);
}

.quellen__titel {
	font-size: var(--stufe-4);
	color: var(--text-still);
	margin-bottom: 0.4rem;
}

.quellen__liste {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	font-size: var(--stufe-4);
}

.quellen__liste a {
	word-break: break-word;
}

/* --------------------------------------------------------------------------
   29d. Prioritäten-Liste
   -------------------------------------------------------------------------- */

.prioritaeten-liste {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin-bottom: 2rem;
}

.prioritaeten-punkt {
	padding: 0.6rem 1rem;
	border-radius: var(--radius);
}

.prioritaeten-punkt p {
	margin: 0.2rem 0 0;
	font-size: var(--stufe-4);
	color: var(--text-still);
}

.prioritaeten-punkt .feldhinweis {
	margin-left: 0.5rem;
}

/* --------------------------------------------------------------------------
   30. Nachrichten-Verlauf
   -------------------------------------------------------------------------- */

.nachrichten-verlauf {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-block: 1.5rem;
}

.nachricht {
	max-width: 34rem;
	padding: 0.75rem 1rem;
	border-radius: var(--radius);
	border: 1px solid var(--rahmen);
}

.nachricht--intern {
	align-self: flex-end;
	background: color-mix(in srgb, var(--akzent) 10%, var(--flaeche));
}

.nachricht--extern {
	align-self: flex-start;
	background: var(--flaeche);
}

.nachricht__kopf {
	margin: 0 0 0.35rem;
	font-size: 0.85rem;
	color: var(--text-still);
}

.nachricht__text {
	margin: 0;
}

.nachricht__anhang {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   31. Gefahren-Knopf (endgültiges Löschen)
   -------------------------------------------------------------------------- */

.knopf--gefahr {
	background: var(--fehler);
	color: var(--akzent-dunkel);
	border-color: var(--fehler);
}

.knopf--gefahr:hover,
.knopf--gefahr:focus-visible {
	background: color-mix(in srgb, var(--fehler) 85%, black);
}

/* --------------------------------------------------------------------------
   32. Chat-Assistent
   -------------------------------------------------------------------------- */

.chat-verlauf {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.chat-nachricht {
	max-width: 40rem;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	border: 1px solid var(--rahmen);
	background: var(--flaeche);
}

.chat-nachricht--user {
	margin-left: auto;
	background: var(--flaeche-hoch);
	border-color: var(--rahmen-hell);
}

.chat-nachricht__rolle {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text-still);
	margin-bottom: 0.25rem;
}

.chat-nachricht__text {
	white-space: pre-wrap;
	line-height: 1.5;
}

/* ------------------------------------------------------------------
   Barrierefreiheit -- nur für Bildschirmleseprogramme
   ------------------------------------------------------------------ */

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

/* ------------------------------------------------------------------
   Navigations-Suche -- filtert die Menüpunkte live beim Tippen
   ------------------------------------------------------------------ */

.nav-suche {
	padding: 0.6rem 0.9rem;
	border-bottom: 1px solid var(--rahmen-hell);
}

.nav-suche input {
	width: 100%;
	padding: 0.5rem 0.7rem;
	border: 1px solid var(--rahmen-hell);
	border-radius: 4px;
	background: var(--flaeche);
	color: var(--text);
	font-size: 0.9rem;
}

.nav-suche input:focus {
	outline: 2px solid var(--akzent);
	outline-offset: 1px;
}

.nav-punkt--versteckt {
	display: none !important;
}

.nav-abschnitt {
	padding: 0.6rem 0.9rem;
	border-bottom: 1px solid var(--rahmen-hell);
}

.nav-abschnitt__titel {
	margin: 0;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--text);
	opacity: 0.7;
	cursor: pointer;
	list-style: none;
}

.nav-abschnitt__titel::-webkit-details-marker {
	display: none;
}

.nav-abschnitt__titel::before {
	content: "▸";
	display: inline-block;
	width: 1em;
	transition: transform 0.1s ease;
}

.nav-abschnitt[open] > .nav-abschnitt__titel::before {
	transform: rotate(90deg);
}

.nav-abschnitt ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0;
}

.nav-abschnitt li a {
	display: flex;
	align-items: center;
	min-height: var(--ziel-klein);
	padding: 0.2rem 0.6rem;
	border: 1px solid var(--rahmen-hell);
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--text);
	white-space: nowrap;
}

.nav-abschnitt li a:hover {
	background: var(--flaeche);
}

.nav-neu {
	display: inline-block;
	padding: 0.05em 0.4em;
	margin-left: 0.3em;
	border-radius: 999px;
	background: var(--erfolg);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	vertical-align: middle;
}

.nav-hinweis {
	display: inline-block;
	min-width: 1.3em;
	padding: 0.05em 0.4em;
	border-radius: 999px;
	background: var(--akzent);
	color: #1a1a1a;
	font-size: 0.75rem;
	font-weight: 700;
	text-align: center;
	line-height: 1.4;
}

/* ------------------------------------------------------------------
   Navigations-Umschalter -- klappt Menüleiste + Sitzungsinfo ein/aus
   ------------------------------------------------------------------ */

.nav-umschalter {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	min-height: var(--ziel);
	padding: 0 0.9rem;
	margin-left: auto;
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	background: var(--flaeche);
	color: var(--text-still);
	font-size: var(--stufe-4);
	cursor: pointer;
}

.nav-umschalter:hover {
	background: var(--flaeche-hoch);
	color: var(--text);
}

/* ------------------------------------------------------------------
   Willy -- schwebendes Chat-Widget
   ------------------------------------------------------------------ */

.willy {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 40;
}

.willy__knopf {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	border: 1px solid var(--rahmen-hell);
	background: var(--akzent);
	color: var(--akzent-dunkel);
	font-size: 1.5rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
	cursor: pointer;
}

.willy__knopf:hover {
	filter: brightness(1.08);
}

.willy__fenster {
	position: absolute;
	right: 0;
	bottom: 4.25rem;
	display: flex;
	flex-direction: column;
	width: min(24rem, calc(100vw - 2.5rem));
	max-height: min(32rem, calc(100vh - 8rem));
	background: var(--flaeche-hoch);
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
	overflow: hidden;
}

/* Ohne diese Regel gewinnt die Klassenregel oben (display: flex)
   gegen das hidden-Attribut, das Fenster bliebe dauerhaft sichtbar,
   egal was der Öffnen/Schließen-Knopf im JavaScript setzt. */
.willy__fenster[hidden] {
	display: none;
}

.willy__kopf {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.6rem 0.9rem;
	border-bottom: 1px solid var(--rahmen);
	background: var(--flaeche);
}

.willy__kopf-knoepfe {
	display: flex;
	gap: 0.4rem;
}

.knopf--klein {
	min-height: 2rem;
	padding: 0 0.6rem;
	font-size: var(--stufe-5, 0.85rem);
}

.willy__verlauf {
	flex: 1;
	overflow-y: auto;
	padding: 0.9rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.willy__leer {
	color: var(--text-still);
	font-size: var(--stufe-4);
}

.willy__nachricht {
	max-width: 90%;
	padding: 0.55rem 0.75rem;
	border-radius: 0.5rem;
	border: 1px solid var(--rahmen);
	background: var(--flaeche);
	font-size: var(--stufe-4);
}

.willy__nachricht--user {
	align-self: flex-end;
	background: var(--akzent-dunkel);
	border-color: var(--rahmen-hell);
}

.willy__nachricht-rolle {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text-still);
	margin-bottom: 0.2rem;
}

.willy__nachricht-text {
	white-space: pre-wrap;
	line-height: 1.45;
}

.willy__wartet {
	color: var(--text-still);
	font-size: var(--stufe-4);
	font-style: italic;
}

.willy__fehler {
	color: var(--fehler, #E5484D);
	font-size: var(--stufe-4);
}

.willy__formular {
	display: flex;
	gap: 0.5rem;
	padding: 0.75rem;
	border-top: 1px solid var(--rahmen);
	background: var(--flaeche);
}

.willy__formular textarea {
	flex: 1;
	resize: none;
	border-radius: var(--radius);
	border: 1px solid var(--rahmen);
	background: var(--flaeche-hoch);
	color: var(--text);
	padding: 0.5rem 0.65rem;
	font: inherit;
}

/* Auf schmalen Bildschirmen füllt das Fenster praktisch die ganze
   Breite, damit Willy auch mobil bedienbar bleibt. */
@media (max-width: 480px) {
	.willy {
		right: 0.75rem;
		bottom: 0.75rem;
	}
	.willy__fenster {
		width: calc(100vw - 1.5rem);
	}
}

/* --------------------------------------------------------------------------
   Feedback-Widget -- auf jeder internen Seite, links positioniert,
   damit es nicht mit Willy (rechts) kollidiert.
   -------------------------------------------------------------------------- */

.feedback-widget {
	position: fixed;
	left: 1.25rem;
	bottom: 1.25rem;
	z-index: 40;
}

.feedback-widget__knopf {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	border: 1px solid var(--rahmen-hell);
	background: var(--flaeche-hoch);
	color: var(--text);
	font-size: 1.5rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
	cursor: pointer;
}

.feedback-widget__knopf:hover {
	filter: brightness(1.08);
}

.feedback-widget__fenster {
	position: absolute;
	left: 0;
	bottom: 4.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	width: min(22rem, calc(100vw - 2.5rem));
	background: var(--flaeche-hoch);
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
	padding: 0.9rem;
}

.feedback-widget__fenster[hidden] {
	display: none;
}

.feedback-widget__kopf {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.feedback-widget__fenster .feldgruppe {
	margin-bottom: 0;
}

.feedback-widget__fenster textarea {
	resize: vertical;
}

@media (max-width: 480px) {
	.feedback-widget {
		left: 0.75rem;
		bottom: 0.75rem;
	}
	.feedback-widget__fenster {
		width: calc(100vw - 1.5rem);
	}
}

/* --------------------------------------------------------------------------
   Booking-Board -- Kanban-Ansicht für die Booking-Pipeline
   -------------------------------------------------------------------------- */

.booking-board {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	padding-bottom: 1rem;
}

.booking-board__spalte {
	flex: 0 0 16rem;
	min-width: 16rem;
	background: var(--flaeche);
	border: 1px solid var(--rahmen-hell);
	border-radius: var(--radius);
	padding: 0.75rem;
}

.booking-board__spalte h3 {
	margin: 0 0 0.75rem;
	font-size: var(--stufe-3);
}

.booking-board__karten {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	min-height: 3rem;
}

.booking-karte {
	background: var(--flaeche-hoch);
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	padding: 0.6rem 0.75rem;
	cursor: grab;
	font-size: var(--stufe-klein);
}

.booking-karte strong {
	display: block;
	font-size: var(--stufe-4);
	margin-bottom: 0.2rem;
}

.booking-karte--wird-gezogen {
	opacity: 0.4;
}

.booking-karte .knopf--klein {
	margin-top: 0.4rem;
	font-size: var(--stufe-klein);
	padding: 0.2rem 0.5rem;
}

/* --------------------------------------------------------------------------
   36. Archiv-Dateien-Galerie
   -------------------------------------------------------------------------- */

.archiv-galerie {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}

.archiv-kachel {
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--flaeche-hoch);
	display: flex;
	flex-direction: column;
}

.archiv-thumb {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	background: var(--flaeche);
	display: block;
}

.archiv-thumb--platzhalter {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: var(--stufe-2);
	color: var(--text-still);
	letter-spacing: 0.05em;
}

.archiv-kachel-info {
	padding: 0.6rem 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.archiv-kachel-name {
	font-size: var(--stufe-4);
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.archiv-kachel-links {
	display: flex;
	gap: 0.75rem;
	margin-top: 0.3rem;
	font-size: var(--stufe-4);
}

/* -------------------------------------------------------------------------
   Kanban-Board
   -------------------------------------------------------------------------- */

.kanban-board {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	padding-bottom: 1rem;
	align-items: flex-start;
}

.kanban-spalte {
	flex: 0 0 17rem;
	background: var(--flaeche);
	border: 1px solid var(--rahmen);
	border-radius: 8px;
	padding: 0.75rem;
	min-height: 6rem;
	transition: background-color 0.1s ease;
}

.kanban-spalte--ziel {
	background: var(--flaeche-hoch);
	border-color: var(--akzent);
}

.kanban-spalte__titel {
	margin: 0 0 0.6rem;
	font-size: 0.85rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.kanban-spalte__anzahl {
	background: var(--rahmen);
	border-radius: 999px;
	padding: 0.05em 0.5em;
	font-size: 0.75rem;
}

.kanban-spalte__karten {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	min-height: 2rem;
}

.kanban-karte {
	background: var(--flaeche-hoch);
	border: 1px solid var(--rahmen);
	border-radius: 6px;
	padding: 0.6rem 0.7rem;
	cursor: grab;
}

.kanban-karte--wird-gezogen {
	opacity: 0.4;
}

.kanban-karte__titel {
	margin: 0 0 0.2rem;
	font-weight: 600;
	font-size: 0.9rem;
}

.kanban-karte__zeile {
	margin: 0;
	font-size: 0.8rem;
	color: var(--text-still);
}

/* -------------------------------------------------------------------------
   Presseplan-Status: roter "Heute"-Zeitstrich (Edimotion-Cockpit)
   -------------------------------------------------------------------------- */

.presseplan-heute-strich {
	position: relative;
	height: 2px;
	background: linear-gradient(90deg, var(--fehler) 0%, rgba(255, 138, 128, 0.35) 100%);
	margin: 0.5rem 0 2rem;
	box-shadow: 0 0 8px rgba(255, 138, 128, 0.4);
}

.presseplan-heute-strich__label {
	position: absolute;
	top: -0.7rem;
	left: 0;
	background: var(--fehler);
	color: #1a1a1a;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 0.15em 0.6em;
	border-radius: 999px;
}

/* Ueberfaellig-Zeilen dezent rot hinterlegt, nicht nur die Schrift */
tr.status--ueberfaellig {
	background: rgba(255, 138, 128, 0.08);
}

tr.status--bezahlt {
	background: rgba(120, 220, 150, 0.08);
}

/* --------------------------------------------------------------------------
   Angeheftete Seiten -- ein Stern neben jedem Menuepunkt, den die Person
   selbst anklickt, um eine Seite dauerhaft oben in der Seitenleiste zu
   halten. Bewusst getrennt von "Meistgenutzt" (das ist nur eine Vermutung
   anhand der Klickzahlen, hier entscheidet die Person selbst).
   -------------------------------------------------------------------------- */

.nav-punkt {
	display: flex;
	align-items: center;
	gap: 0.3rem;
}
.nav-pin {
	flex: none;
	background: transparent;
	border: none;
	color: var(--text-still);
	font-size: 0.95rem;
	line-height: 1;
	padding: 0.2rem;
	cursor: pointer;
	border-radius: 4px;
}
.nav-pin:hover,
.nav-pin:focus-visible {
	color: var(--akzent);
	background: var(--flaeche-hoch);
}
.nav-pin.ist-angeheftet {
	color: var(--akzent);
}
.nav-pin--titel { font-size: 0.6em; vertical-align: middle; padding: 0.25rem 0.4rem; min-width: 2.75rem; min-height: 2.75rem; }

/* --------------------------------------------------------------------------
   Werkzeugkoffer -- ein schwebender Knopf, immer erreichbar egal wo man
   gerade ist, mit den kleinen Werkzeugen direkt eingebettet statt erst
   wegzunavigieren.
   -------------------------------------------------------------------------- */

.werkzeugkoffer-knopf {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 90;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50% 0 0 50%;
	background: var(--akzent);
	color: var(--akzent-dunkel);
	border: none;
	font-size: 1.2rem;
	box-shadow: -4px 0 16px rgba(0, 0, 0, 0.35);
	cursor: pointer;
}
.werkzeugkoffer-knopf:hover,
.werkzeugkoffer-knopf:focus-visible {
	filter: brightness(1.08);
}

.werkzeugkoffer-panel {
	position: fixed;
	right: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 90;
	width: min(320px, calc(100vw - 2.5rem));
	max-height: min(75vh, 620px);
	overflow-y: auto;
	background: var(--flaeche);
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	padding: 0 1rem 1rem;
}
.werkzeugkoffer-panel__kopf {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: sticky;
	top: 0;
	background: var(--flaeche);
	padding: 1rem 0 0.6rem;
	margin-bottom: 0.4rem;
	border-bottom: 1px solid var(--rahmen);
}
.werkzeugkoffer-panel__kopf button {
	background: transparent;
	border: none;
	color: var(--text-still);
	font-size: 1rem;
	cursor: pointer;
}
.werkzeugkoffer-abschnitt {
	padding: 0.8rem 0;
	border-bottom: 1px solid var(--rahmen);
}
.werkzeugkoffer-abschnitt:last-child {
	border-bottom: none;
}
.werkzeugkoffer-abschnitt h3 {
	font-size: 0.85em;
	color: var(--text-still);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 0.5rem;
}

/* --------------------------------------------------------------------------
   Seiten-Ladebalken -- erscheint sofort bei jedem Linkklick und jeder
   Formular-Absendung, damit laengere Ladezeiten (Notion-Abfragen) nicht
   wie ein haengengebliebenes System wirken.
   -------------------------------------------------------------------------- */

#seiten-ladebalken {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0%;
	background: var(--akzent);
	z-index: 200;
	transition: width 0.3s ease-out, opacity 0.2s ease-out 0.15s;
	opacity: 0;
	pointer-events: none;
}
#seiten-ladebalken.laeuft {
	opacity: 1;
	transition: width 0.3s ease-out;
}

/* Auswahllisten mit Haekchen (z.B. Booking-Reel-Material) */
.liste-ohne-punkt {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.liste-ohne-punkt li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.25rem 1rem;
	padding: 0.4rem 0;
	border-bottom: 1px solid var(--rahmen-hell);
}

/* Kino-Angebot: Filmzeilen und Optionsreihe */
.film-zeile {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 1rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--rahmen-hell);
}

.film-zeile > label { flex: 1 1 18rem; }
.film-zeile > input[type="text"] { flex: 1 1 14rem; }

.optionen-reihe {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.5rem;
	margin: 0 0 0.75rem;
}

/* --------------------------------------------------------------------------
   Auswahlfelder: Haken, Auswahlknöpfe, Schalter, Segmente

   Der Browserstandard ist rund 13 px groß, weit unter dem Mindestmaß von
   24 px (WCAG 2.2, 2.5.8) und unter dem eigenen Maß des Portals (--ziel,
   44 px). Hier: 24 px große Felder, und die ganze Beschriftungszeile ist
   die Klickfläche (mindestens 44 px hoch). Alles bleiben echte
   input-Elemente: Tastatur, Screenreader und Formularversand wie vorher.

   Wirkt auf jedes <label>, das einen Haken oder Auswahlknopf direkt
   enthält (das trifft alle Stellen im Portal), ohne dass die Seite etwas
   ändern muss. Für Ein/Aus-Einstellungen gibt es zusätzlich
   label.schalter, für kurze Entweder-oder-Wahl .segment.
   -------------------------------------------------------------------------- */

input[type="checkbox"],
input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	box-sizing: border-box;
	inline-size: 1.5rem;
	block-size: 1.5rem;
	margin: 0;
	border: 2px solid var(--rahmen-hell);
	border-radius: 0.375rem;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	vertical-align: middle;
	cursor: pointer;
	transition: background-color 0.12s, border-color 0.12s;
}

input[type="radio"] {
	border-radius: 50%;
}

input[type="checkbox"]:hover:not(:disabled),
input[type="radio"]:hover:not(:disabled) {
	border-color: var(--text);
}

input[type="checkbox"]:checked {
	border-color: var(--akzent);
	background-color: var(--akzent);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.6 3.6 7.4-8' fill='none' stroke='%230D0F12' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

input[type="checkbox"]:indeterminate {
	border-color: var(--akzent);
	background-color: var(--akzent);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h10' fill='none' stroke='%230D0F12' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

input[type="radio"]:checked {
	border-color: var(--akzent);
	background-image: radial-gradient(circle closest-side, var(--akzent) 0 55%, transparent 62%);
}

input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* Die allgemeine Fokusregel rundet auf 2 px ab: die Form des Feldes bleibt. */
input[type="checkbox"]:focus-visible { border-radius: 0.375rem; }
input[type="radio"]:focus-visible { border-radius: 50%; }

/* --- Die Beschriftung als ganze Auswahlzeile -------------------------------- */

label:has(> input[type="checkbox"]),
label:has(> input[type="radio"]) {
	position: relative;
	display: block;
	box-sizing: border-box;
	min-block-size: var(--ziel);
	margin: 0 0 0.5rem;
	padding: 0.7rem 0.9rem 0.7rem 3.2rem;
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	background: var(--flaeche);
	font-weight: 400;
	line-height: 1.4;
	cursor: pointer;
	break-inside: avoid;
}

label > input[type="checkbox"],
label > input[type="radio"] {
	position: absolute;
	inset-inline-start: 0.9rem;
	inset-block-start: calc((var(--ziel) - 1.5rem) / 2);
}

label:hover:has(> input[type="checkbox"]:not(:disabled)),
label:hover:has(> input[type="radio"]:not(:disabled)) {
	border-color: var(--rahmen-hell);
}

label:has(> input[type="checkbox"]:checked),
label:has(> input[type="radio"]:checked) {
	border-color: var(--akzent);
	background: color-mix(in srgb, var(--akzent) 12%, var(--flaeche));
}

label:has(> input[type="checkbox"]:disabled),
label:has(> input[type="radio"]:disabled) {
	color: var(--text-still);
	cursor: not-allowed;
}

/* Den Fokus zeigt die ganze Zeile, nicht nur das Kästchen. */
label:has(> input[type="checkbox"]:focus-visible),
label:has(> input[type="radio"]:focus-visible) {
	outline: 3px solid var(--akzent);
	outline-offset: 2px;
}

label > input[type="checkbox"]:focus-visible,
label > input[type="radio"]:focus-visible {
	outline: none;
}

/* Frühere Zeilenumbrüche zwischen gestapelten Auswahlzeilen würden eine Leerzeile ergeben. */
label:has(> input[type="checkbox"]) + br,
label:has(> input[type="radio"]) + br {
	display: none;
}

/* In Zeilen- und Kartenlayouts regelt der Rahmen den Abstand. */
.film-zeile > label:has(> input[type="checkbox"]),
.optionen-reihe > label:has(> input[type="checkbox"]) {
	margin: 0;
}

/* In Tabellen (z. B. "Alle" in der Kopfzeile): ohne eigenen Rahmen, die Zelle trägt die Fläche. */
td label:has(> input[type="checkbox"]),
th label:has(> input[type="checkbox"]) {
	min-block-size: 0;
	margin: 0;
	padding-block: 0.2rem;
	border: 0;
	background: transparent;
}

/* Ein Haken allein in einer Tabellenzelle: die ganze Zelle ist die Klickfläche (siehe boxkix.js). */
td:has(> input[type="checkbox"]:only-child),
th:has(> input[type="checkbox"]:only-child) {
	min-inline-size: var(--ziel);
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
}

td > input[type="checkbox"]:only-child,
th > input[type="checkbox"]:only-child {
	display: block;
	margin-inline: auto;
}

/* --- Schalter: für Ein oder Aus ---------------------------------------------- */

label.schalter:has(> input[type="checkbox"]) {
	padding-inline: 0.9rem 4.7rem;
}

label.schalter > input[type="checkbox"] {
	inset-inline-start: auto;
	inset-inline-end: 0.9rem;
	inset-block-start: calc((var(--ziel) - 1.75rem) / 2);
	inline-size: 3rem;
	block-size: 1.75rem;
	border-radius: 999px;
	border-color: var(--rahmen-hell);
	background-color: var(--rahmen);
	background-image: radial-gradient(circle closest-side, var(--text) 0 94%, transparent 100%);
	background-size: 1.25rem 1.25rem;
	background-position: 0.2rem center;
	transition: background-position 0.15s, background-color 0.15s, border-color 0.15s;
}

label.schalter > input[type="checkbox"]:checked {
	border-color: var(--akzent);
	background-color: var(--akzent);
	background-image: radial-gradient(circle closest-side, var(--akzent-dunkel) 0 94%, transparent 100%);
	background-position: calc(100% - 0.2rem) center;
}

label.schalter > input[type="checkbox"]:focus-visible {
	border-radius: 999px;
}

/* --- Segment: kurze Entweder-oder-Wahl --------------------------------------- */

.segment {
	display: inline-flex;
	max-inline-size: 100%;
	border: 2px solid var(--rahmen-hell);
	border-radius: var(--radius);
	overflow: hidden;
	vertical-align: middle;
}

.segment--voll {
	display: flex;
	max-inline-size: 36rem;
}

.segment > label:has(> input[type="radio"]) {
	position: relative;
	flex: 1 1 auto;
	min-block-size: var(--ziel);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	text-align: center;
}

.segment > label + label:has(> input[type="radio"]) {
	border-inline-start: 2px solid var(--rahmen-hell);
}

.segment > label > input[type="radio"] {
	inset: 0;
	inline-size: 100%;
	block-size: 100%;
	border: 0;
	border-radius: 0;
	opacity: 0;
}

.segment > label > span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-block-size: var(--ziel);
	padding: 0.4rem 1rem;
	font-size: var(--stufe-4);
}

.segment > label:hover:has(> input[type="radio"]:not(:checked):not(:disabled)) {
	background: var(--flaeche-hoch);
}

.segment > label:has(> input[type="radio"]:checked) {
	background: var(--akzent);
	color: var(--akzent-dunkel);
	font-weight: 600;
}

.segment > label:has(> input[type="radio"]:focus-visible) {
	outline: 3px solid var(--text);
	outline-offset: -5px;
}

@media (prefers-reduced-motion: reduce) {
	input[type="checkbox"],
	input[type="radio"],
	label.schalter > input[type="checkbox"] {
		transition: none;
	}
}

/* Hoher Kontrast (Windows): die Systemdarstellung der Felder, in der größeren Fläche. */
@media (forced-colors: active) {
	input[type="checkbox"],
	input[type="radio"] {
		appearance: auto;
		-webkit-appearance: auto;
		border: revert;
		background: revert;
	}

	label.schalter > input[type="checkbox"] {
		inline-size: 1.5rem;
		block-size: 1.5rem;
		inset-block-start: calc((var(--ziel) - 1.5rem) / 2);
	}

	.segment > label:has(> input[type="radio"]:checked) {
		forced-color-adjust: none;
		background: Highlight;
		color: HighlightText;
	}
}


/* Edimotion: Suchtreffer im Katalog und ausklappbare Funde im Presseradar */
mark {
	background: var(--akzent);
	color: var(--akzent-dunkel);
	padding: 0 0.15em;
	border-radius: 2px;
}

details.fund {
	margin-bottom: 0.5rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	background: var(--flaeche);
}

details.fund > summary {
	cursor: pointer;
}

ol.suchtreffer > li {
	margin-bottom: 0.75rem;
}

ul.liste-ohne-punkte {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.liste-ohne-punkte > li {
	margin-bottom: 0.75rem;
}


/* Edimotion: Instagram Einbettung (erst nach Klick), Akkreditierte, Presseergebnisse */
.einbettung__rahmen {
	display: block;
	width: 100%;
	max-width: 540px;
	height: 640px;
	margin-top: 1rem;
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	background: #fff;
}

ul.presseergebnisse {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	gap: 1rem;
}

ul.presseergebnisse > li {
	padding: 0.75rem;
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	background: var(--flaeche);
}

.presseergebnis__bild {
	display: block;
	width: 100%;
	max-height: 11rem;
	object-fit: cover;
	margin-bottom: 0.5rem;
	border-radius: 4px;
	background: #fff;
}


/* Doku-Kinos: breite erste Spalte, aufgeklappte Angaben in normaler Schrift */
table.dokukinos th[scope="row"] {
	min-width: 15rem;
}

table.dokukinos details.fund {
	margin: 0.5rem 0 0;
	font-weight: 400;
}

/* Doku-Kinos: Verbuchen (v2.312) */
.buchung-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: flex-end;
	margin-top: 0.75rem;
}

.buchung-form .feldgruppe {
	flex: 1 1 10rem;
	margin-bottom: 0;
}

.buchung-form .feldgruppe--knoepfe {
	flex: 0 0 auto;
}

.buchung-form > p {
	flex: 1 1 100%;
	margin: 0;
}

.zeile-form {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

/* Verbuchungscockpit (v2.312) */
.unterreiter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.unterreiter a {
	display: inline-block;
	padding: 0.5rem 0.9rem;
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	background: var(--flaeche);
	text-decoration: none;
}

.unterreiter a.aktiv,
.unterreiter a[aria-current="page"] {
	font-weight: 700;
	border-width: 2px;
}

.statusmarke {
	display: inline-block;
	margin-left: 0.5rem;
	padding: 0.1rem 0.6rem;
	border: 1px solid var(--rahmen);
	border-radius: 999px;
	font-size: var(--stufe-klein);
	font-weight: 600;
	vertical-align: middle;
}

.statusmarke--ok { border-width: 2px; }
.statusmarke--aus { text-decoration: line-through; }
.statusmarke--still { font-weight: 400; }

/* v2.319: Einträge der Sales Zentrale als Kopfzeile, ausklappbar */
details.eintrag {
	padding: 0.6rem 1rem;
}

details.eintrag > summary {
	cursor: pointer;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 0.75rem;
}

details.eintrag[open] > summary {
	margin-bottom: 0.75rem;
}

details.eintrag details {
	margin-top: 0.75rem;
}

/* v2.332: großer Hauptknopf in der Sales Zentrale; v2.337: Aktionsleiste, Pipeline, Suchzeile */
.grosser-knopf-zeile { margin: 1rem 0; }
.knopf--gross {
	display: flex;
	width: 100%;
	min-height: 4rem;
	font-size: 1.35rem;
	letter-spacing: 0.01em;
}
@media (min-width: 40rem) {
	.knopf--gross { width: auto; min-width: 22rem; }
}

/* v2.337: Sales Zentrale übersichtlicher */
.aktionsleiste {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 1rem 0;
}
.aktionsleiste .knopf--gross { flex: 1 1 18rem; width: auto; min-width: 0; }
.mehr-menue { position: relative; }
.mehr-menue > summary {
	list-style: none;
	min-height: 4rem;
	padding: 0 1.5rem;
	font-size: 1.1rem;
}
.mehr-menue > summary::-webkit-details-marker { display: none; }
.mehr-menue > summary::after { content: " ▾"; }
.mehr-menue[open] > summary::after { content: " ▴"; }
.menueliste {
	position: absolute;
	inset-inline-end: 0;
	z-index: 20;
	min-width: 15rem;
	margin: 0.25rem 0 0;
	padding: 0.4rem;
	list-style: none;
	background: var(--flaeche);
	border: 1px solid var(--rahmen-hell);
	border-radius: var(--radius);
}
.menueliste a {
	display: block;
	padding: 0.7rem 0.8rem;
	text-decoration: none;
	border-radius: var(--radius);
}
.menueliste a:hover { background: var(--rahmen); }

.suchzeile {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1rem;
}
.suchzeile input[type="search"] { flex: 1 1 16rem; min-width: 0; }

.pipeline { margin: 0 0 1rem; }
.pipeline ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0 0 0.4rem;
	padding: 0;
}
.pipeline a {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 6.2rem;
	padding: 0.6rem 0.9rem;
	border: 1px solid var(--rahmen);
	border-radius: var(--radius);
	background: var(--flaeche);
	text-decoration: none;
	line-height: 1.2;
}
.pipeline a strong { font-size: 1.5rem; }
.pipeline a span { font-size: 0.85rem; }
.pipeline a:hover { border-color: var(--rahmen-hell); }
.pipeline a.aktiv { border-width: 2px; border-color: var(--akzent); }
.pipeline__abseits { margin-inline-start: auto; }
.pipeline__abseits a { opacity: 0.8; }

.aktionen-mehr { margin-top: 0.75rem; }
.aktionen-mehr > summary { font-weight: 600; }

@media (max-width: 40rem) {
	.pipeline li { flex: 1 1 28%; }
	.pipeline a { min-width: 0; }
	.pipeline__abseits { margin-inline-start: 0; }
	.mehr-menue { flex: 1 1 100%; }
	.mehr-menue > summary { min-height: var(--ziel); }
	.menueliste { position: static; }
}

/* v2.338 Film Übersicht: vier Phasen */
.film-nav{display:flex;flex-wrap:wrap;gap:.4rem;margin:0 0 1rem}
.film-nav a{padding:.35rem .8rem;border:1px solid var(--rand,#ccc);border-radius:999px;text-decoration:none}
.film-nav a.aktiv{font-weight:700;border-width:2px}
.phasen{list-style:none;margin:1rem 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem}
.phase{position:relative;border:1px solid var(--rand,#ccc);border-radius:8px;padding:.9rem 1rem;display:flex;flex-direction:column;gap:.35rem}
.phase h3{margin:0}
.phase__nr{font-size:.8rem;opacity:.7}
.phase__stand{margin:0;font-weight:700}
.phase--fertig .phase__stand::before{content:"✓ "}
.phase--jetzt{border-width:3px}
.phase--offen{opacity:.85}
.phase .knopf{margin-top:auto;align-self:flex-start}
@media (max-width:900px){.phasen{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.phasen{grid-template-columns:1fr}}

/* ------------------------------------------------------------------
   Live Hilfe -- gelber Hilfe Knopf, Erklärfeld, Fragezeichen, Sprechblase
   (assets/boxkix-hilfe.js, Texte in private/hilfe.php)
   ------------------------------------------------------------------ */

:root {
	--hilfe:        #FFE14D;
	--hilfe-dunkel: #1A1500;
	--hilfe-rand:   #B89B00;
}

.hilfe-umschalter {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	position: fixed;
	right: 1.25rem;
	bottom: 6rem;
	z-index: 95;
	min-height: var(--ziel);
	padding: 0 1rem;
	margin: 0;
	border: 2px solid var(--hilfe);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
	border-radius: var(--radius);
	background: var(--hilfe);
	color: var(--hilfe-dunkel);
	font-size: var(--stufe-4);
	font-weight: 700;
	cursor: pointer;
}

.hilfe-umschalter:hover {
	background: #FFEB85;
	border-color: #FFEB85;
}

.hilfe-umschalter[aria-pressed="true"] {
	background: var(--grund);
	color: var(--hilfe);
}

.hilfe-umschalter[aria-pressed="true"]:hover {
	background: var(--flaeche-hoch);
}

.hilfe-umschalter__zeichen {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	background: var(--hilfe-dunkel);
	color: var(--hilfe);
	font-size: 0.85rem;
	line-height: 1;
}

.hilfe-umschalter[aria-pressed="true"] .hilfe-umschalter__zeichen {
	background: var(--hilfe);
	color: var(--hilfe-dunkel);
}

.hilfe-umschalter:focus-visible,
.hilfe-marke:focus-visible,
.hilfe-panel button:focus-visible {
	outline: 3px solid #FFFFFF;
	outline-offset: 2px;
}

.hilfe-panel {
	position: fixed;
	right: 1.25rem;
	bottom: 9.75rem;
	z-index: 94;
	width: min(27rem, calc(100vw - 2rem));
	max-height: calc(100vh - 12rem);
	overflow-y: auto;
	margin: 0;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
	padding: 1rem 1.25rem;
	border: 2px solid var(--hilfe);
	border-left-width: 8px;
	border-radius: var(--radius);
	background: var(--hilfe);
	color: var(--hilfe-dunkel);
}

.hilfe-panel p,
.hilfe-panel li,
.hilfe-panel dd,
.hilfe-panel dt {
	color: var(--hilfe-dunkel);
}

.hilfe-panel__kopf {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
}

.hilfe-panel__titel {
	font-size: 1.05rem;
}

.hilfe-panel__zweck {
	margin: 0.5rem 0 0;
	max-width: 70ch;
}

.hilfe-panel__zwischen {
	margin: 0.9rem 0 0.25rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hilfe-panel__schritte {
	margin: 0;
	padding-left: 1.4rem;
	max-width: 70ch;
}

.hilfe-panel__schritte li + li {
	margin-top: 0.25rem;
}

.hilfe-panel__hinweis {
	margin: 0.8rem 0 0;
	max-width: 70ch;
}

.hilfe-panel__fuss {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin-top: 0.9rem;
	font-size: 0.9rem;
}

.hilfe-panel__zu,
.hilfe-panel__alle {
	min-height: var(--ziel-klein);
	padding: 0.35rem 0.8rem;
	border: 2px solid var(--hilfe-dunkel);
	border-radius: var(--radius);
	background: transparent;
	color: var(--hilfe-dunkel);
	font-weight: 600;
	cursor: pointer;
}

.hilfe-panel__zu:hover,
.hilfe-panel__alle:hover {
	background: var(--hilfe-dunkel);
	color: var(--hilfe);
}

.hilfe-panel__liste {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.4rem 1rem;
	margin: 0.9rem 0 0;
	padding-top: 0.75rem;
	border-top: 1px solid var(--hilfe-rand);
}

.hilfe-panel__liste[hidden] {
	display: none;
}

.hilfe-panel__liste dd {
	margin: 0 0 0.5rem;
}

.hilfe-panel__sprung {
	padding: 0;
	border: 0;
	background: none;
	color: var(--hilfe-dunkel);
	font-weight: 700;
	text-align: left;
	text-decoration: underline;
	cursor: pointer;
}

.hilfe-marke {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	min-width: 1.5rem;
	margin: 0 0 0 0.4rem;
	padding: 0;
	border: 2px solid var(--hilfe-rand);
	border-radius: 50%;
	background: var(--hilfe);
	color: var(--hilfe-dunkel);
	font-size: 0.8rem;
	font-weight: 800;
	line-height: 1;
	vertical-align: middle;
	cursor: pointer;
}

.hilfe-marke:hover,
.hilfe-marke[aria-expanded="true"] {
	background: #FFFFFF;
}

.hilfe-marke--blitz {
	animation: hilfe-blitz 0.4s ease-in-out 4;
}

@keyframes hilfe-blitz {
	50% { transform: scale(1.7); background: #FFFFFF; }
}

.hilfe-blase {
	position: absolute;
	z-index: 1000;
	width: min(24rem, calc(100vw - 1rem));
	padding: 0.75rem 0.9rem;
	border: 2px solid var(--hilfe-rand);
	border-radius: var(--radius);
	background: var(--hilfe);
	color: var(--hilfe-dunkel);
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.45;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

@media (prefers-reduced-motion: reduce) {
	.hilfe-marke--blitz { animation: none; outline: 3px solid #FFFFFF; }
}

@media (max-width: 40rem) {
	.hilfe-umschalter { bottom: 5.5rem; right: 0.75rem; }
	.hilfe-panel { right: 0.75rem; bottom: 9rem; max-height: calc(100vh - 11rem); }
}

@media print {
	.hilfe-umschalter, .hilfe-panel, .hilfe-marke, .hilfe-blase { display: none !important; }
}


/* Live Hilfe: aufklappbare Blöcke (Häufige Fragen, Glossar) */
.hilfe-panel__block { margin-top: 0.8rem; padding-top: 0.6rem; border-top: 1px solid var(--hilfe-rand); }
.hilfe-panel__block summary { cursor: pointer; font-weight: 700; }
.hilfe-panel__frage { margin: 0.7rem 0 0.1rem; }
.hilfe-panel__antwort { margin: 0 0 0.3rem; }
.hilfe-panel__glossar { margin: 0.5rem 0 0; }
.hilfe-panel__glossar dt { margin-top: 0.5rem; font-weight: 700; }
.hilfe-panel__glossar dd { margin: 0; }

/* Gofilex Portal (eingebetteter Rahmen) */
.gofilex-portal__leiste { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gofilex-portal { margin: 0.5rem 0 1rem; border: 1px solid var(--rahmen); border-radius: var(--radius); background: #fff; }
.gofilex-portal__rahmen { display: block; width: 100%; height: 78vh; min-height: 32rem; border: 0; border-radius: var(--radius); }

/* ------------------------------------------------------------------
   Themenbereiche: je Bereich ein eigener dunkler Hintergrund
   (Klasse am body aus nav_bereich_kennung() in private/layout.php).
   Überschrieben werden nur Flächen und Rahmen; Schrift und Akzent bleiben,
   der Kontrast zu --text und --text-still bleibt über 7:1.
   ------------------------------------------------------------------ */

/* Die Bereichsfarbe füllt immer die ganze Fensterhöhe, auch bei kurzen Seiten (html behält sonst den Standardton). */
body[class*="bereich-"] { min-height: 100vh; min-height: 100dvh; }

body.bereich-positionierung { --grund: #17130A; --flaeche: #1F1A0E; --flaeche-hoch: #292214; --rahmen: #3D3421; }
body.bereich-material       { --grund: #16110D; --flaeche: #1E1813; --flaeche-hoch: #28201A; --rahmen: #3A2F26; }
body.bereich-sales          { --grund: #1A0F0D; --flaeche: #231512; --flaeche-hoch: #2E1C18; --rahmen: #432A24; }
body.bereich-promotion      { --grund: #0A141A; --flaeche: #101D25; --flaeche-hoch: #16272F; --rahmen: #213743; }
body.bereich-dispo          { --grund: #0F160B; --flaeche: #151F10; --flaeche-hoch: #1C2A16; --rahmen: #2B3D22; }
body.bereich-abrechnung     { --grund: #08161A; --flaeche: #0D1F24; --flaeche-hoch: #13292F; --rahmen: #1D3C43; }
body.bereich-auswertung     { --grund: #130E19; --flaeche: #1A1422; --flaeche-hoch: #241B2E; --rahmen: #35294A; }
body.bereich-veedelskino    { --grund: #1A0F15; --flaeche: #23141D; --flaeche-hoch: #2E1B27; --rahmen: #432838; }
body.bereich-aufgaben       { --grund: #0F131B; --flaeche: #161B25; --flaeche-hoch: #1D2431; --rahmen: #2B3445; }

/* Menüsuche: anklickbare Trefferliste, ersetzt während der Eingabe das Menü */
.nav-sucht .hauptnavigation,
.nav-sucht .nav-abschnitt { display: none; }
.nav-treffer { margin-top: 0.5rem; }
.nav-treffer__kopf { margin: 0 0 0.4rem; font-size: 0.8rem; opacity: 0.75; }
.nav-treffer__liste { list-style: none; margin: 0; padding: 0; }
.nav-treffer__liste li { display: flex; align-items: center; gap: 0.2rem; }
.nav-treffer__liste li > a { flex: 1 1 auto; min-width: 0; }
.nav-treffer__liste .nav-pin { font-size: 1.15rem; padding: 0.4rem; }
.nav-treffer__liste a { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.5rem 0.7rem; border-radius: 4px; text-decoration: none; color: inherit; border: 1px solid transparent; }
.nav-treffer__liste a:hover,
.nav-treffer__liste a:focus { background: rgba(255, 225, 77, 0.18); border-color: var(--hilfe, #FFE14D); outline: none; }
.nav-treffer__name { font-weight: 600; }
.nav-treffer__gruppe { font-size: 0.75rem; opacity: 0.65; }

/* Zusammengehörige Seiten: Reiter oben, im Menü nur die erste Seite */
.nav-punkt--familie { display: none; }
.nav-sucht .nav-punkt--familie { display: list-item; }
.familie-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin: 0 0 1rem; padding: 0.35rem 0; border-bottom: 1px solid var(--rahmen-hell); }
.familie-tabs__titel { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.65; margin-right: 0.4rem; }
.familie-tabs a { padding: 0.3rem 0.8rem; border-radius: 999px; border: 1px solid var(--rahmen-hell); text-decoration: none; color: inherit; font-size: 0.9rem; }
.familie-tabs a:hover { border-color: var(--hilfe, #FFE14D); background: rgba(255, 225, 77, 0.15); }
.familie-tabs a.ist-aktuell { background: var(--hilfe, #FFE14D); color: #1a1a1a; border-color: var(--hilfe, #FFE14D); font-weight: 600; }

/* Schnellsuche (Strg K / Cmd K): schwebendes Fenster in der Mitte, Menü dahinter abgedunkelt */
.nav-suche--palette {
	position: fixed; top: 12vh; left: 50%; transform: translateX(-50%);
	width: min(38rem, calc(100vw - 2rem)); max-height: 70vh; overflow: auto;
	z-index: 1000; padding: 0.8rem; border-radius: 12px;
	background: var(--flaeche-hoch, #1d2128); border: 1px solid var(--rahmen-hell, #3a4150);
	box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.55), 0 18px 48px rgba(0, 0, 0, 0.5);
}
.nav-suche--palette input[type="search"] { font-size: 1.1rem; padding: 0.7rem 0.9rem; width: 100%; }
.nav-suche--palette .nav-treffer__liste a { padding: 0.6rem 0.8rem; }

/* Ruhigere, besser lesbare Tabellen: Zebra weg, sanftes Hervorheben der Zeile unter dem Zeiger, Zahlen gleich breit */
.tabellenhuelle table { font-variant-numeric: tabular-nums; }
.tabellenhuelle tbody tr { transition: background-color 0.12s ease; }
.tabellenhuelle tbody tr:hover { background: rgba(255, 255, 255, 0.04); }
.tabellenhuelle thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; opacity: 0.8; }
@media (prefers-reduced-motion: reduce) { .tabellenhuelle tbody tr { transition: none; } }

/* Einheitlicher Film-Kopf (private/film-kopf.php): Plakat, Titel, Verleih, Kinostart, nächste Schritte */
.film-kopf { display: grid; grid-template-columns: minmax(6rem, 9rem) 1fr; gap: 1.2rem; align-items: start; margin: 0 0 1.6rem; padding: 1rem; border: 1px solid var(--rahmen); border-radius: var(--radius, 8px); background: var(--flaeche, transparent); }
.film-kopf__plakat { aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; background: var(--flaeche-hoch, rgba(255, 255, 255, 0.06)); display: flex; align-items: center; justify-content: center; }
.film-kopf__plakat img { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-kopf__ersatz { font-size: 3rem; font-weight: 700; opacity: 0.35; }
.film-kopf__inhalt { min-width: 0; }
.film-kopf__verleih { margin: 0 0 0.2rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }
.film-kopf__titel { margin: 0 0 0.3rem; line-height: 1.15; }
.film-kopf__meta { margin: 0 0 0.7rem; opacity: 0.8; }
.film-kopf__status { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.8rem; padding: 0; }
.film-kopf__status li { font-size: 0.8rem; padding: 0.15rem 0.6rem; border-radius: 999px; border: 1px solid var(--rahmen-hell, var(--rahmen)); }
.film-kopf__status .ist-an { border-color: #4FB8A6; color: #4FB8A6; }
.film-kopf__status .ist-aus { opacity: 0.65; }
.film-kopf__schritte { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.film-kopf__schritte-titel { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.65; margin-right: 0.3rem; }
.film-kopf__schritt { padding: 0.3rem 0.8rem; border-radius: 999px; border: 1px solid var(--rahmen-hell, var(--rahmen)); text-decoration: none; color: inherit; font-size: 0.9rem; }
.film-kopf__schritt:hover, .film-kopf__schritt:focus { border-color: var(--hilfe, #FFE14D); background: rgba(255, 225, 77, 0.15); }
.film-kopf__schritt.ist-offen { border-color: #F2B441; color: #F2B441; font-weight: 600; }
@media (max-width: 36rem) { .film-kopf { grid-template-columns: 5.5rem 1fr; gap: 0.8rem; padding: 0.75rem; } }
.presse-film.presse-film--ohne-poster { display: block; }

/* Startseite Heute */
.heute-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem; align-items: start; }
.heute-karte h2 { margin-top: 0; font-size: 1.1rem; }
.heute-karte--breit { grid-column: 1 / -1; }
.heute-liste { list-style: none; margin: 0 0 0.8rem; padding: 0; }
.heute-liste li { padding: 0.45rem 0; border-bottom: 1px solid var(--rahmen); display: flex; flex-wrap: wrap; gap: 0.2rem 0.6rem; align-items: baseline; }
.heute-liste li:last-child { border-bottom: 0; }
.heute-liste li.ist-dringend { border-left: 3px solid #E8735C; padding-left: 0.6rem; }
.heute-zahl { display: inline-block; min-width: 1.8rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Sales Zentrale: Bearbeiter (Martin oder Suse) */
.bearbeiter-marke { display: inline-block; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; border: 1px solid currentColor; }
.bearbeiter-marke--leer { font-weight: 400; opacity: 0.65; border-style: dashed; }
.bearbeiter-filter { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin: 0.75rem 0; }
.bearbeiter-form { margin: 0.5rem 0; }

/* Medium (Redaktion) neben dem Namen bei Presse Einträgen in der Sales Zentrale */
.medium-marke { font-weight: 400; opacity: 0.85; }
.medium-marke::before { content: "\00b7\00a0"; }

.nur-leser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.korb-zeile { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
#korb { margin-top: 2rem; }

/* v2.399: Einträge der Sales Zentrale als klar abgegrenzte Einheiten */
details.eintrag {
	margin: 0 0 1.25rem;
	padding: 0;
	border: 1px solid var(--rahmen-hell);
	border-left: 6px solid var(--rahmen-hell);
	border-radius: var(--radius);
	background: var(--flaeche);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
	overflow: hidden;
}

details.eintrag > summary {
	padding: 0.85rem 1rem;
	background: var(--flaeche-hoch);
	list-style: none;
}

details.eintrag > summary::-webkit-details-marker { display: none; }

details.eintrag > summary::before {
	content: "\25B8";
	color: var(--akzent);
	font-size: 1.1rem;
	margin-right: -0.25rem;
}

details.eintrag[open] > summary::before { content: "\25BE"; }

details.eintrag > summary > strong {
	font-size: 1.1rem;
	color: var(--text);
}

details.eintrag[open] {
	border-color: var(--akzent);
	border-left-color: var(--akzent);
}

details.eintrag[open] > summary {
	margin-bottom: 0;
	border-bottom: 1px solid var(--rahmen-hell);
}

details.eintrag > :not(summary) {
	margin-left: 1rem;
	margin-right: 1rem;
}

details.eintrag > summary + * { margin-top: 0.9rem; }
details.eintrag > :last-child { margin-bottom: 1rem; }

details.eintrag > form,
details.eintrag > details,
details.eintrag > .notizen-block {
	padding-top: 0.75rem;
	border-top: 1px solid var(--rahmen);
}

details.eintrag details {
	margin-top: 0.75rem;
}


/* v2.400: das Prinzip "klare Einheiten" auf alle Seiten */
.kachel {
	border: 1px solid var(--rahmen-hell);
	border-left: 6px solid var(--rahmen-hell);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.kachel:hover,
.kachel:focus-within { border-color: var(--akzent); }

/* aufklappbare Karten: abgesetzte Kopfzeile wie bei den Sales Einträgen */
details.karte { padding: 0; overflow: hidden; }

details.karte:not(.eintrag) > summary {
	cursor: pointer;
	padding: 0.85rem 1rem;
	background: var(--flaeche-hoch);
	font-weight: 600;
}

details.karte:not(.eintrag)[open] { border-color: var(--akzent); border-left-color: var(--akzent); }
details.karte:not(.eintrag)[open] > summary { border-bottom: 1px solid var(--rahmen-hell); }
details.karte:not(.eintrag) > :not(summary) { margin-left: 1rem; margin-right: 1rem; }
details.karte:not(.eintrag) > summary + * { margin-top: 0.9rem; }
details.karte:not(.eintrag) > :last-child { margin-bottom: 1rem; }

/* Überschriften in Karten setzen den Inhalt ab */
.karte > h2:first-child,
.karte > h3:first-child { padding-bottom: 0.6rem; border-bottom: 1px solid var(--rahmen); }

/* Tabellen: Zeilen klar getrennt */
th, td { border-bottom-color: var(--rahmen-hell); }
tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.025); }
thead th { border-bottom: 2px solid var(--rahmen-hell); }
.tabellenhuelle { border-color: var(--rahmen-hell); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); }

/* v2.401: grafischer, eleganter, verspielter, dynamischer (nur CSS, Bewegung respektiert prefers-reduced-motion) */
:root {
	--glanz: linear-gradient(135deg, rgba(242, 180, 65, 0.10), rgba(242, 180, 65, 0) 45%);
	--radius-gross: 12px;
	--feder: cubic-bezier(0.34, 1.4, 0.64, 1);
}

.karte,
.kachel,
details.eintrag,
.tabellenhuelle {
	border-radius: var(--radius-gross);
}

.karte,
.kachel {
	background-image: var(--glanz), linear-gradient(180deg, var(--flaeche-hoch), var(--flaeche) 60%);
}

.karte,
.kachel,
details.eintrag {
	transition: transform 0.22s var(--feder), box-shadow 0.22s ease, border-color 0.22s ease;
}

.karte:hover,
.kachel:hover,
details.eintrag:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(242, 180, 65, 0.25);
	border-left-color: var(--akzent);
}

/* Sales Einträge: Farbbalken nach Status */
details.eintrag:has(.statusmarke--ok) { border-left-color: var(--erfolg); }
details.eintrag:has(.statusmarke--unterwegs) { border-left-color: var(--akzent); }
details.eintrag:has(.statusmarke--aus) { border-left-color: var(--fehler); }
details.eintrag:has(.statusmarke--still) { border-left-color: var(--rahmen-hell); }
details.eintrag[open] { border-color: var(--akzent); }
details.eintrag:has(.statusmarke--ok):hover { border-left-color: var(--erfolg); }
details.eintrag:has(.statusmarke--aus):hover { border-left-color: var(--fehler); }

details.eintrag > summary { background-image: var(--glanz); }
details.eintrag > summary::before { transition: transform 0.2s var(--feder); display: inline-block; }
details.eintrag[open] > summary::before { transform: rotate(0deg); }

/* Marken als weiche Pillen mit Tönung */
.statusmarke,
.bearbeiter-marke {
	border-radius: 999px;
	padding-inline: 0.7rem;
	background: rgba(255, 255, 255, 0.06);
	transition: background-color 0.2s ease, transform 0.2s var(--feder);
}

.statusmarke--ok { background: color-mix(in srgb, var(--erfolg) 18%, transparent); border-color: var(--erfolg); }
.statusmarke--aus { background: color-mix(in srgb, var(--fehler) 14%, transparent); }
.statusmarke--unterwegs { background: color-mix(in srgb, var(--akzent) 16%, transparent); border-color: var(--akzent); }
.bearbeiter-marke:hover { transform: scale(1.06); }

/* Überschriften mit Akzentstrich */
h1 { position: relative; padding-bottom: 0.6rem; }
h1::after {
	content: "";
	display: block;
	width: 4.5rem;
	height: 4px;
	margin-top: 0.6rem;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--akzent), rgba(242, 180, 65, 0));
}

/* Knöpfe: lebendiger */
.knopf {
	border-radius: 999px;
	transition: transform 0.18s var(--feder), box-shadow 0.18s ease, filter 0.18s ease;
}

.knopf:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45); filter: brightness(1.08); }
.knopf:active { transform: translateY(0) scale(0.97); box-shadow: none; }

/* Tabellenzeilen: Akzentkante beim Überfahren */
.tabellenhuelle tbody tr { box-shadow: inset 0 0 0 0 var(--akzent); transition: background-color 0.15s ease, box-shadow 0.2s ease; }
.tabellenhuelle tbody tr:hover { box-shadow: inset 4px 0 0 0 var(--akzent); background: rgba(242, 180, 65, 0.06); }

/* sanftes Einblenden von Karten und Einträgen */
@keyframes bk-einblenden {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

.karte,
.kachel,
details.eintrag { animation: bk-einblenden 0.45s ease both; }

.karte:nth-child(2), .kachel:nth-child(2), details.eintrag:nth-of-type(2) { animation-delay: 0.05s; }
.karte:nth-child(3), .kachel:nth-child(3), details.eintrag:nth-of-type(3) { animation-delay: 0.10s; }
.karte:nth-child(4), .kachel:nth-child(4), details.eintrag:nth-of-type(4) { animation-delay: 0.15s; }
.karte:nth-child(n+5), .kachel:nth-child(n+5), details.eintrag:nth-of-type(n+5) { animation-delay: 0.20s; }

@media (prefers-reduced-motion: reduce) {
	.karte, .kachel, details.eintrag, .knopf, .statusmarke, .bearbeiter-marke, .tabellenhuelle tbody tr {
		animation: none;
		transition: none;
	}
	.karte:hover, .kachel:hover, details.eintrag:hover, .knopf:hover, .bearbeiter-marke:hover { transform: none; }
}

details.eintrag[open]:has(.statusmarke--ok) { border-left-color: var(--erfolg); }
details.eintrag[open]:has(.statusmarke--aus) { border-left-color: var(--fehler); }
details.eintrag[open]:has(.statusmarke--still) { border-left-color: var(--rahmen-hell); }

/* v2.408 Screener-Raum */
.screener-raum { display: grid; grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.screener-karte { background: var(--flaeche-hoch, var(--flaeche)); border: 1px solid var(--rahmen); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.screener-karte h2 { margin: 0 0 .15rem; font-size: 1.15rem; }
.screener-buehne { margin: .9rem 0; }
.screener-buehne[hidden] { display: none; }
.screener-rahmen { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #000; }
.screener-knoepfe { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 .4rem; }
@media (max-width: 700px) { .screener-raum { grid-template-columns: 1fr; } }

.nav-alle { display: block; width: 100%; margin: .3rem 0; padding: .35rem .6rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: .4rem; background: transparent; color: inherit; font: inherit; font-size: .8rem; text-align: left; cursor: pointer; }
.nav-alle:hover { border-color: #f2b441; }

/* v2.508: neue Anfragen der Sales Zentrale: schwarz mit weisser Schrift, dazu blaue Kennzeichnung */
details.eintrag.eintrag--neu {
	border-color: #4aa3ff;
	border-left: 10px solid #4aa3ff;
	box-shadow: 0 0 0 1px #4aa3ff, 0 2px 6px rgba(0, 0, 0, 0.45);
}
details.eintrag.eintrag--neu > summary { border-bottom: 2px solid #4aa3ff; }
details.eintrag.eintrag--neu > summary::after {
	content: "NEU";
	display: inline-block;
	margin-left: 0.6rem;
	padding: 0.1rem 0.5rem;
	background: #4aa3ff;
	color: #000;
	font-weight: 700;
	font-size: 0.75rem;
	border-radius: 3px;
}
.neu-uebersicht {
	margin: 1rem 0 1.5rem;
	padding: 1rem 1.25rem;
	background: #000;
	color: #fff;
	border: 1px solid #4aa3ff;
	border-left: 10px solid #4aa3ff;
	border-radius: var(--radius);
}
.neu-uebersicht h2, .neu-uebersicht h3 { color: #fff; margin-top: 0.5rem; }
.neu-uebersicht a { color: #8cc7ff; }


/* ------------------------------------------------------------------
   Seitenbeschreibungen: nur mit eingeschalteter Hilfe (Knopf "?" oder Taste ?).
   Der erste Absatz unter der Überschrift erklärt die Seite und bleibt sonst verborgen.
   Mit der Klasse "immer" bleibt ein Absatz dauerhaft sichtbar (wichtige Hinweise).
   ------------------------------------------------------------------ */
body.im-portal.mit-hilfe:not(.hilfe-an) main h1 + p:not(.immer) {
	display: none;
}
body.im-portal.mit-hilfe.hilfe-an main h1 + p:not(.immer) {
	border-left: 4px solid var(--hilfe);
	padding-left: 0.75rem;
}

/* TB Versandknopf: rot bis die TB vollständig ist, dann grün */
.knopf--tb-voll {
	background: #2e9e57;
	border-color: #2e9e57;
	color: #fff;
}
.knopf--tb-voll:hover,
.knopf--tb-voll:focus-visible { background: #257f46; border-color: #257f46; }
.knopf--tb-offen {
	background: #c62828;
	border-color: #c62828;
	color: #fff;
}
.knopf--tb-offen:hover,
.knopf--tb-offen:focus-visible { background: #a31f1f; border-color: #a31f1f; }

/* TB senden in der Bookingliste: groß, rot = unvollständig, grün = vollständig */
.tb-sendeknopf {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15rem;
	min-width: 11rem;
	padding: 0.75rem 1.4rem;
	border-radius: 0.8rem;
	color: #fff !important;
	text-decoration: none !important;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
	transition: transform 0.12s ease, filter 0.12s ease;
}
.tb-sendeknopf:hover,
.tb-sendeknopf:focus-visible { transform: translateY(-1px); filter: brightness(1.12); }
.tb-sendeknopf__titel { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.02em; }
.tb-sendeknopf__info { font-size: 0.78rem; font-weight: 600; opacity: 0.95; line-height: 1.25; }
.tb-sendeknopf--voll { background: #2e9e57; border: 2px solid #5fd48a; }
.tb-sendeknopf--offen { background: #c62828; border: 2px solid #ff7a70; }

/* TB Generator: Dubletten hervorheben */
.tb-dublette { background: rgba(198, 40, 40, 0.14); }

/* PDF Knöpfe im TB Generator */
.tb-pdfleiste { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.5rem 0 1.2rem; }
.tb-pdfknopf {
	display: inline-flex; align-items: center; gap: 0.4rem;
	padding: 0.7rem 1.3rem; border-radius: 0.8rem;
	background: var(--akzent); color: var(--akzent-dunkel, #111) !important;
	font-weight: 800; font-size: 1.02rem; text-decoration: none !important;
	border: 2px solid var(--akzent); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.tb-pdfknopf:hover, .tb-pdfknopf:focus-visible { filter: brightness(1.1); }
.tb-pdfknopf--zweit { background: transparent; color: var(--text) !important; font-weight: 700; box-shadow: none; }
.tb-pdfknopf--klein { padding: 0.35rem 0.8rem; font-size: 0.85rem; border-radius: 0.6rem; margin-top: 0.4rem; }


/* Screener Versand: Empfängersuche über Kinos und Presse */
.empf-suche { position: relative; flex: 1 1 100%; min-width: 0; }
.empf-suche input[type="search"] { width: 100%; }
.empf-treffer {
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0.25rem;
	max-height: 22rem;
	overflow-y: auto;
	background: var(--flaeche-hoch);
	border: 1px solid var(--rahmen-hell);
	border-radius: var(--radius);
}
.empf-treffer li {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.1rem 0.75rem;
	padding: 0.5rem 0.75rem;
	border-radius: var(--radius);
	cursor: pointer;
	min-height: var(--ziel);
}
.empf-treffer li[aria-selected="true"] { background: var(--akzent); color: var(--akzent-dunkel); }
.empf-treffer li.empf-leer { display: block; cursor: default; color: var(--text-still); }
.empf-name { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.empf-art { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; align-self: start; opacity: 0.8; }
.empf-zeile { grid-column: 1 / -1; font-size: 0.85rem; color: var(--text-still); overflow-wrap: anywhere; }
.empf-treffer li[aria-selected="true"] .empf-zeile { color: var(--akzent-dunkel); }
.empf-gewaehlt { flex: 1 1 100%; margin: 0; }

.empf-maske-kopf { flex: 1 1 100%; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.empf-maske { flex: 1 1 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.75rem 1rem; border: 1px solid var(--rahmen); border-radius: var(--radius); padding: 1rem; margin: 0; min-width: 0; }
.empf-maske[hidden] { display: none; }
.empf-maske .feldgruppe { min-width: 0; }
.empf-maske-breit { grid-column: 1 / -1; }

.empf-karte-box { margin: 0.5rem 0 1rem; }
.empf-karte { height: 460px; border-radius: 8px; border: 1px solid var(--rahmen); }
.empf-karte-popup { display: grid; gap: 0.4rem; min-width: 240px; }
.empf-karte-eintrag { display: flex; gap: 0.6rem; align-items: center; justify-content: space-between; }
.empf-karte-eintrag span { font-size: 0.85rem; }

.empf-haken { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #2e9e5b; color: #fff; font-weight: 700; font-size: 14px; border: 2px solid #0D0F12; box-sizing: border-box; }
.empf-haken--ohne { background: #8a8f98; }
.empf-haken--zusage { background: #2e9e5b; }
.empf-haken--absage { background: #d64545; }
.empf-haken--offen { background: #3b82f6; }
.empf-karte-film { margin-bottom: 0.5rem; }

/* Kinobilder (Fotos der AG Kino Mitgliedskinos) */
.kino-bild-mini { width: 64px; height: 40px; object-fit: cover; border-radius: 4px; vertical-align: middle; margin-right: .6rem; }
.kino-bild-gross { display: block; width: 100%; max-width: 560px; aspect-ratio: 560 / 300; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.empf-karte-bild { display: block; width: 100%; max-width: 300px; height: auto; border-radius: 4px; margin-bottom: .35rem; }
.empf-karte-eintrag { flex-wrap: wrap; }

/* Veedelskino Versand */
.vk-liste { list-style: none; margin: 0.5rem 0 1rem; padding: 0; display: grid; gap: 0.35rem; }
.vk-liste li { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.vk-liste li span { flex: 1 1 18rem; font-size: 0.9rem; }
.vk-haken { display: inline-flex; gap: 0.4rem; align-items: center; margin-top: 0.4rem; font-size: 0.9rem; }
.vk-liste li input[type=checkbox] { flex: 0 0 auto; }
.vk-uebernommen { opacity: 0.55; }
.vk-uebernommen span::after { content: ' (gespeichert)'; }

/* Screener Karte: Recherche fehlender E-Mail-Adressen */
.empf-recherche { margin-top: 0.75rem; display: grid; gap: 0.5rem; }
.empf-recherche-liste { display: grid; gap: 0.5rem; }
.empf-recherche-zeile { border: 1px solid var(--rahmen); border-radius: 8px; padding: 0.5rem 0.75rem; display: grid; gap: 0.3rem; }
.empf-recherche-kopf { font-size: 0.9rem; }
.empf-recherche-etikett { display: inline-flex; gap: 0.4rem; align-items: center; font-weight: 600; }
.empf-recherche-mail { max-width: 28rem; }
.empf-recherche-fertig { opacity: 0.6; }

/* Sammelversand im Screener Versand */
.sammel-box { display: grid; gap: 0.6rem; margin-bottom: 1.5rem; }
.sammel-skip { display: inline-flex; gap: 0.4rem; align-items: center; font-size: 0.85rem; }
.sammel-tabelle td { font-size: 0.85rem; vertical-align: middle; }
.sammel-tabelle td:last-child { white-space: nowrap; }
.empf-plus { margin-left: auto; }

/* Sales Zentrale: Ablauf Anschreiben, Screener, Nachhaken */
.ablauf{border:1px solid #333;border-radius:8px;padding:.75rem 1rem;margin:.75rem 0;background:#0b0b0b;color:#fff}
.ablauf-schritte{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 .5rem;padding:0}
.ablauf-schritte li{padding:.25rem .7rem;border:1px solid #444;border-radius:999px;font-size:.9rem;color:#bbb}
.ablauf-schritte li.ablauf-fertig{border-color:#2e9b57;color:#7be0a0}
.ablauf-schritte li.ablauf-jetzt{border-color:#fff;color:#fff;font-weight:600}
.ablauf-schritte li.ablauf-faellig{border-color:#e0a030;color:#ffd27a}
.kl-karte { height: 72vh; min-height: 420px; }

/* Trailer: Diagramme und Zwei-Spalten-Raster ohne Inline Stil */
.tr-diagramm { display: block; width: 100%; height: 9rem; background: var(--flaeche); border: 1px solid var(--rahmen); border-radius: 6px; }
.tr-diagramm--halten rect { fill: #2e9e5b; }
.tr-diagramm--ein rect { fill: #4a90e2; }
.tr-diagramm--aus rect { fill: #e5484d; }
.tr-saeulen { display: block; width: 100%; height: auto; max-height: 13rem; background: var(--flaeche); border: 1px solid var(--rahmen); border-radius: 6px; }
.tr-saeulen rect { fill: #4a90e2; }
.tr-saeulen--dauer rect, .tr-saeulen--verlauf rect { fill: #2e9e5b; }
.tr-saeulen--geraet rect { fill: #8a63d2; }
.tr-saeulen text { fill: var(--text, #222); font-size: 2.6px; text-anchor: middle; }
.tr-saeulen .tr-wert { font-size: 2.4px; opacity: 0.8; }
.tr-trichter { width: 100%; max-width: 46rem; border-collapse: collapse; }
.tr-trichter th { text-align: left; font-weight: 600; padding: 0.3rem 0.6rem 0.3rem 0; white-space: nowrap; }
.tr-trichter td { padding: 0.3rem 0.4rem; }
.tr-trichter progress { width: 100%; min-width: 8rem; height: 1rem; }
.tr-zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.5rem; margin-top: 1rem; }
.sz-trailer { margin: .5rem 0; padding: .5rem .75rem; border: 1px solid var(--rahmen); border-radius: 6px; }
.tr-video { display: block; width: 100%; max-height: 70vh; background: #111; border-radius: 6px; }

/* Trailer Statistik: Player und Aufmerksamkeitskurve mit Scrollleiste */
.tr-player video { display: block; width: 100%; max-width: 54rem; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; }
.tr-kurve { margin: 0 0 1.5rem; }
.tr-kurve__scroll { overflow-x: scroll; overflow-y: hidden; border: 1px solid var(--rahmen); border-radius: 6px; background: var(--flaeche); padding-bottom: .25rem; }
.tr-kurve__innen { position: relative; width: 2400px; min-width: 100%; cursor: crosshair; padding-bottom: 1.6rem; }
.tr-kurve__innen .tr-diagramm { height: 14rem; border: 0; border-radius: 0; }
.tr-kurve__kopf { position: absolute; top: 0; bottom: 1.6rem; width: 2px; background: #e5484d; pointer-events: none; }
.tr-kurve__tip { position: absolute; top: .25rem; transform: translateX(-50%); background: rgba(0,0,0,.8); color: #fff; font-size: .8rem; padding: .15rem .45rem; border-radius: 4px; white-space: nowrap; pointer-events: none; }
.tr-kurve__achse { position: absolute; left: 0; right: 0; bottom: 0; height: 1.4rem; }
.tr-kurve__achse span { position: absolute; transform: translateX(-50%); font-size: .75rem; color: var(--gedaempft, #6b7280); }
.tr-kurve__achse span:first-child { transform: none; }
.tr-kurve__achse span:last-child { transform: translateX(-100%); }
.tr-kurve__regler { display: flex; align-items: center; gap: .6rem; margin-top: .6rem; font-size: .9rem; }
.tr-kurve__regler input { flex: 1; }

/* ==========================================================================
   v2.713 Orientierung über Farbe
   1. Bereichsfarbe je Themenbereich (Klasse "bereich-<kennung>" am body)
   2. Einheitliche Statusfarben im ganzen System (statusmarke--f-<schlüssel>)
   3. Reiter statt verschachtelter Aufklapper (reiter-leiste, reiter-feld)
   Alles über Klassen, weil die Content-Security-Policy Inline Stile blockiert.
   ========================================================================== */
body { --bereich: var(--akzent); }
body.bereich-positionierung { --bereich: #F2B441; }
body.bereich-material       { --bereich: #C9A27E; }
body.bereich-sales          { --bereich: #E8735C; }
body.bereich-promotion      { --bereich: #5AB0D6; }
body.bereich-dispo          { --bereich: #7FBF5C; }
body.bereich-abrechnung     { --bereich: #4FB8A6; }
body.bereich-auswertung     { --bereich: #B98CE0; }
body.bereich-veedelskino    { --bereich: #E0A5C9; }
body.bereich-aufgaben       { --bereich: #93A6C2; }
body.bereich-verwaltung     { --bereich: #A7B0BB; }

.bereichsstreifen { height: 6px; border-radius: 3px; background: var(--bereich); }
.brotkrumen-bereich { color: var(--bereich); font-weight: 600; }
.im-portal .augenbraue { color: var(--bereich); }
.im-portal main > h1 { border-left: 6px solid var(--bereich); padding-left: 0.7rem; }
.im-portal main h2 { border-bottom: 2px solid color-mix(in srgb, var(--bereich) 45%, transparent); padding-bottom: 0.2rem; }
.im-portal .tabellenhuelle thead th { border-bottom: 2px solid var(--bereich); }

.nav-gruppe__icon--positionierung { background: #F2B441; }
.nav-gruppe__icon--material       { background: #C9A27E; }
.nav-gruppe__icon--sales          { background: #E8735C; }
.nav-gruppe__icon--promotion      { background: #5AB0D6; }
.nav-gruppe__icon--dispo          { background: #7FBF5C; }
.nav-gruppe__icon--abrechnung     { background: #4FB8A6; }
.nav-gruppe__icon--auswertung     { background: #B98CE0; }
.nav-gruppe__icon--veedelskino    { background: #E0A5C9; }
.nav-gruppe__icon--aufgaben       { background: #93A6C2; }
.nav-gruppe__icon--verwaltung     { background: #A7B0BB; }
.nav-gruppe__icon--neutral        { background: var(--akzent); }

/* Statusfarben: offen grau, Kontakt blau, Screener violett, Gespräch gelb, Zusage grün, Absage rot, übergeben türkis */
:root {
	--st-offen: #9AA3AE; --st-kontakt: #5AB0D6; --st-screener: #B98CE0; --st-gespraech: #F2C14E;
	--st-zusage: #6FD08C; --st-absage: #FF8A80; --st-uebergeben: #4FB8A6;
}
.statusmarke--f-offen      { --st: var(--st-offen); }
.statusmarke--f-kontakt    { --st: var(--st-kontakt); }
.statusmarke--f-screener   { --st: var(--st-screener); }
.statusmarke--f-gespraech  { --st: var(--st-gespraech); }
.statusmarke--f-zusage     { --st: var(--st-zusage); }
.statusmarke--f-absage     { --st: var(--st-absage); }
.statusmarke--f-uebergeben { --st: var(--st-uebergeben); }
.statusmarke[class*="statusmarke--f-"] {
	border: 1px solid var(--st);
	background: color-mix(in srgb, var(--st) 20%, transparent);
	color: var(--text);
	font-weight: 600;
	text-decoration: none;
}
.statusmarke[class*="statusmarke--f-"]::before {
	content: "";
	display: inline-block;
	width: 0.55rem;
	height: 0.55rem;
	margin-right: 0.4rem;
	border-radius: 50%;
	background: var(--st);
}
details.eintrag:has(.statusmarke--f-offen),      details.eintrag[open]:has(.statusmarke--f-offen)      { border-left-color: var(--st-offen); }
details.eintrag:has(.statusmarke--f-kontakt),    details.eintrag[open]:has(.statusmarke--f-kontakt)    { border-left-color: var(--st-kontakt); }
details.eintrag:has(.statusmarke--f-screener),   details.eintrag[open]:has(.statusmarke--f-screener)   { border-left-color: var(--st-screener); }
details.eintrag:has(.statusmarke--f-gespraech),  details.eintrag[open]:has(.statusmarke--f-gespraech)  { border-left-color: var(--st-gespraech); }
details.eintrag:has(.statusmarke--f-zusage),     details.eintrag[open]:has(.statusmarke--f-zusage)     { border-left-color: var(--st-zusage); }
details.eintrag:has(.statusmarke--f-absage),     details.eintrag[open]:has(.statusmarke--f-absage)     { border-left-color: var(--st-absage); }
details.eintrag:has(.statusmarke--f-uebergeben), details.eintrag[open]:has(.statusmarke--f-uebergeben) { border-left-color: var(--st-uebergeben); }
details.eintrag { border-left-width: 6px; }

/* Reiter: eine Ebene, ein Feld zur Zeit. Ohne JavaScript stehen alle Felder offen untereinander. */
.reiter-leiste { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 0; padding-top: 0.8rem; border-top: 1px solid var(--rahmen); }
.reiter-knopf {
	font: inherit; font-size: var(--stufe-klein); font-weight: 600; cursor: pointer;
	padding: 0.35rem 0.85rem; border-radius: 999px;
	border: 1px solid var(--rahmen); background: transparent; color: var(--text);
}
.reiter-knopf:hover, .reiter-knopf:focus-visible { border-color: var(--bereich); }
.reiter-knopf[aria-expanded="true"] { background: var(--bereich); border-color: var(--bereich); color: #14110A; }
.reiter-feld { margin-top: 0.8rem; padding: 0.9rem 1rem; border: 1px solid var(--rahmen); border-left: 4px solid var(--bereich); border-radius: 8px; }
.reiter-feld[hidden] { display: none; }
.reiter-feld__titel { margin: 0 0 0.6rem; font-size: var(--stufe-klein); letter-spacing: 0.06em; text-transform: uppercase; color: var(--bereich); }

/* v2.714 Kurzes Menü: weitere Seiten nur über "Alle Seiten" und die Menüsuche */
.nav-punkt--weitere { display: none; }
.nav-sucht .nav-punkt--weitere { display: list-item; }
.nav-punkt--alle a { font-weight: 600; opacity: 0.85; }
.nav-punkt--alle { margin-top: 0.3rem; border-top: 1px solid var(--rahmen); padding-top: 0.3rem; }

.bereich-wahl { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.5rem 0 1.5rem; }
.bereich-chip { padding: 0.3rem 0.8rem; border-radius: 999px; border: 1px solid var(--chip, var(--rahmen)); color: var(--text); text-decoration: none; font-size: var(--stufe-klein); font-weight: 600; }
.bereich-chip.ist-aktuell { background: var(--chip); color: #14110A; }
.bereich-chip--positionierung { --chip: #F2B441; } .bereich-chip--material { --chip: #C9A27E; } .bereich-chip--sales { --chip: #E8735C; }
.bereich-chip--promotion { --chip: #5AB0D6; } .bereich-chip--dispo { --chip: #7FBF5C; } .bereich-chip--abrechnung { --chip: #4FB8A6; }
.bereich-chip--auswertung { --chip: #B98CE0; } .bereich-chip--veedelskino { --chip: #E0A5C9; } .bereich-chip--aufgaben { --chip: #93A6C2; }
.bereich-chip--verwaltung { --chip: #A7B0BB; } .bereich-chip--neutral { --chip: var(--akzent); }

.seitenkacheln { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.6rem; }
.seitenkachel { display: block; padding: 0.8rem 1rem; border: 1px solid var(--rahmen); border-left: 5px solid color-mix(in srgb, var(--bereich) 55%, transparent); border-radius: 8px; background: var(--flaeche); color: var(--text); text-decoration: none; font-weight: 600; }
.seitenkachel--haupt { border-left-color: var(--bereich); background: color-mix(in srgb, var(--bereich) 12%, var(--flaeche)); }
.seitenkachel:hover, .seitenkachel:focus-visible { border-color: var(--bereich); }

/* v2.715 Heute: jede Karte in der Farbe des Bereichs, zu dem sie führt */
.heute-karte { border-top: 5px solid var(--karte-farbe, var(--bereich)); }
.heute-karte h2 { border-bottom-color: color-mix(in srgb, var(--karte-farbe, var(--bereich)) 45%, transparent); }
.heute-karte--dringend       { --karte-farbe: #FF8A80; }
.heute-karte--sales          { --karte-farbe: #E8735C; }
.heute-karte--aufgaben       { --karte-farbe: #93A6C2; }
.heute-karte--positionierung { --karte-farbe: #F2B441; }
.heute-karte--material       { --karte-farbe: #C9A27E; }
.heute-karte .heute-zahl { color: var(--karte-farbe, var(--bereich)); }

/* v2.716 Kino als Drehpunkt: Kinonamen führen überall zur Kinoseite */
.kino-link { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--bereich) 70%, transparent); text-underline-offset: 0.2em; }
.kino-link:hover, .kino-link:focus-visible { color: var(--bereich); }
.eintrag-links { margin: 0 0 0.6rem; font-size: var(--stufe-klein); }
.karte--warnung { border-color: var(--fehler); border-left: 5px solid var(--fehler); }

/* v2.717 Filmleiste: Film wechseln (oben), Stationen des Films in Bereichsfarben (unten) */
.filmleiste { margin: 0.6rem 0 1.4rem; padding: 0.7rem 0.9rem; border: 1px solid var(--rahmen); border-radius: 10px; background: var(--flaeche); }
.filmleiste p { max-width: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0; }
.filmleiste__filme { padding-bottom: 0.6rem; margin-bottom: 0.6rem !important; border-bottom: 1px solid var(--rahmen); }
.filmleiste__etikett { font-size: var(--stufe-klein); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-still); margin-right: 0.3rem; }
.filmleiste__film { padding: 0.25rem 0.7rem; border-radius: 6px; color: var(--text); text-decoration: none; font-weight: 600; font-size: var(--stufe-klein); }
.filmleiste__film:hover, .filmleiste__film:focus-visible { background: var(--flaeche-hoch); }
.filmleiste__film.ist-aktuell { background: #F2B441; color: #14110A; }
.filmleiste__station:hover, .filmleiste__station:focus-visible { background: color-mix(in srgb, var(--chip) 25%, transparent); }

/* v2.719 Hilfsklassen statt Inline Stil (die Content-Security-Policy blockiert style Attribute). Automatisch erzeugt. */
.u-margin-bottom-1p5rem { margin-bottom:1.5rem !important; }
.u-margin-top-0 { margin-top:0 !important; }
.u-margin-bottom-1rem { margin-bottom:1rem !important; }
.u-margin-left-p5rem-padding-p15rem-p-ee97cb { margin-left:.5rem !important; padding:.15rem .6rem !important; font-size:.8rem !important; }
.u-white-space-nowrap { white-space:nowrap !important; }
.u-display-flex-gap-p6rem-margin-bottom-1p5rem { display:flex !important; gap:.6rem !important; margin-bottom:1.5rem !important; }
.u-text-align-center { text-align:center !important; }
.u-display-flex-flex-direction-column-b22ae0 { display:flex !important; flex-direction:column !important; gap:0.2em !important; font-size:0.8em !important; }
.u-opacity-0p7 { opacity:0.7 !important; }
.u-display-inline { display:inline !important; }
.u-font-size-0p85em { font-size:0.85em !important; }
.u-color-var-warnung-f2c14e-font-size-1p2em { color:var(--warnung, #F2C14E) !important; font-size:1.2em !important; }
.u-margin-top-0p3rem { margin-top:0.3rem !important; }
.u-max-width-140px-font-size-0p75em { max-width:140px !important; font-size:0.75em !important; }
.u-font-size-0p75em-padding-0p15em-0p5em { font-size:0.75em !important; padding:0.15em 0.5em !important; }
.u-margin-left-0p4em { margin-left:0.4em !important; }
.u-margin-left-0p4em-font-size-0p75em-007106 { margin-left:0.4em !important; font-size:0.75em !important; font-weight:600 !important; }
.u-margin-top-1p5rem { margin-top:1.5rem !important; }
.u-margin-top-1rem { margin-top:1rem !important; }
.u-display-flex-gap-0p5rem-align-items-center { display:flex !important; gap:0.5rem !important; align-items:center !important; }
.u-border-left-2px-solid-var-rahmen-p-d8b986 { border-left:2px solid var(--rahmen) !important; padding-left:1.2rem !important; margin-top:1rem !important; }
.u-margin-bottom-1p1rem-position-relative { margin-bottom:1.1rem !important; position:relative !important; }
.u-position-absolute-left-1p65rem-fon-45243a { position:absolute !important; left:-1.65rem !important; font-size:1.1em !important; }
.u-border-color-var-akzent { border-color:var(--akzent) !important; }
.u-margin-p4rem-0-0-1p2rem { margin:.4rem 0 0 1.2rem !important; }
.u-margin-top-2rem { margin-top:2rem !important; }
.u-margin-top-p5rem { margin-top:.5rem !important; }
.u-max-width-9rem { max-width:9rem !important; }
.u-max-width-8rem { max-width:8rem !important; }
.u-margin-0-0-0p4rem { margin:0 0 0.4rem !important; }
.u-background-fff-padding-0p5rem-disp-5ab10c { background:#fff !important; padding:0.5rem !important; display:inline-block !important; border-radius:6px !important; }
.u-list-style-none-padding-0 { list-style:none !important; padding:0 !important; }
.u-display-flex-align-items-center-ga-fbc2dc { display:flex !important; align-items:center !important; gap:.5rem !important; margin-bottom:.3rem !important; }
.u-display-inline-margin-left-auto { display:inline !important; margin-left:auto !important; }
.u-display-flex-gap-p5rem { display:flex !important; gap:.5rem !important; }
.u-flex-1 { flex:1 !important; }
.u-border-color-var-fehler { border-color:var(--fehler) !important; }
.u-margin-bottom-2rem-display-flex-ga-0daf56 { margin-bottom:2rem !important; display:flex !important; gap:0.5rem !important; flex-wrap:wrap !important; align-items:flex-end !important; }
.u-flex-2-min-width-200px-margin-bottom-0 { flex:2 !important; min-width:200px !important; margin-bottom:0 !important; }
.u-min-width-150px-margin-bottom-0 { min-width:150px !important; margin-bottom:0 !important; }
.u-margin-0p2rem-0-0 { margin:0.2rem 0 0 !important; }
.u-min-width-120px-margin-bottom-0 { min-width:120px !important; margin-bottom:0 !important; }
.u-cursor-pointer { cursor:pointer !important; }
.u-margin-top-2p5rem { margin-top:2.5rem !important; }
.u-margin-0 { margin:0 !important; }
.u-font-size-1p25rem { font-size:1.25rem !important; }
.u-margin-bottom-1p5rem-display-flex-133080 { margin-bottom:1.5rem !important; display:flex !important; flex-wrap:wrap !important; gap:1.5rem !important; align-items:center !important; }
.u-align-self-flex-end { align-self:flex-end !important; }
.u-margin-bottom-1p5rem-border-color-var-akzent { margin-bottom:1.5rem !important; border-color:var(--akzent) !important; }
.u-display-flex-align-items-center-gap-0p4rem { display:flex !important; align-items:center !important; gap:0.4rem !important; }
.u-margin-bottom-0p75rem { margin-bottom:0.75rem !important; }
.u-color-2a7d3f { color:#2a7d3f !important; }
.u-color-2a5a8f { color:#2a5a8f !important; }
.u-color-b02a2a { color:#b02a2a !important; }
.u-display-flex-gap-p5rem-align-items-15a8a7 { display:flex !important; gap:.5rem !important; align-items:flex-end !important; margin-top:.5rem !important; }
.u-margin-top-p8rem { margin-top:.8rem !important; }
.u-background-var-karte-hintergrund-1-5b2e49 { background:var(--karte-hintergrund, #1a1a1a) !important; color:#e0e0e0 !important; padding:1rem !important; border-radius:6px !important; overflow-x:auto !important; font-size:0.85rem !important; }
.u-margin-bottom-0 { margin-bottom:0 !important; }
.u-border-color-var-gefahr-e05252 { border-color:var(--gefahr, #e05252) !important; }
.u-background-var-gefahr-e05252 { background:var(--gefahr, #e05252) !important; }
.u-border-color-var-akzent-margin-bottom-1p5rem { border-color:var(--akzent) !important; margin-bottom:1.5rem !important; }
.u-margin-top-0p5rem { margin-top:-0.5rem !important; }
.u-margin-top-0p4rem { margin-top:0.4rem !important; }
.u-white-space-pre-wrap-overflow-wrap-aa405c { white-space:pre-wrap !important; overflow-wrap:anywhere !important; max-height:60vh !important; overflow:auto !important; font-size:.8rem !important; }
.u-white-space-pre-wrap-overflow-wrap-anywhere { white-space:pre-wrap !important; overflow-wrap:anywhere !important; }
.u-border-color-var-akzent-margin-top-0p75rem { border-color:var(--akzent) !important; margin-top:0.75rem !important; }
.u-overflow-wrap-anywhere { overflow-wrap:anywhere !important; }
.u-max-width-6rem { max-width:6rem !important; }
.u-margin-bottom-1p5rem-border-left-4-9bd80e { margin-bottom:1.5rem !important; border-left:4px solid #ca8a04 !important; }
.u-white-space-pre-wrap-font-size-0p8-8aa927 { white-space:pre-wrap !important; font-size:0.85em !important; background:#f5f5f5 !important; padding:1rem !important; border-radius:4px !important; }
.u-border-left-4px-solid-dc2626 { border-left:4px solid #dc2626 !important; }
.u-max-width-5rem { max-width:5rem !important; }
.u-white-space-pre-wrap-line-height-1p6 { white-space:pre-wrap !important; line-height:1.6 !important; }
.u-white-space-pre-wrap { white-space:pre-wrap !important; }
.u-white-space-pre-wrap-font-family-m-31edfb { white-space:pre-wrap !important; font-family:monospace !important; font-size:0.85rem !important; max-height:70vh !important; overflow-y:auto !important; }
.u-display-flex-gap-1rem-flex-wrap-wr-230478 { display:flex !important; gap:1rem !important; flex-wrap:wrap !important; align-items:flex-end !important; }
.u-margin-bottom-0-min-width-180px { margin-bottom:0 !important; min-width:180px !important; }
.u-margin-bottom-0-min-width-140px { margin-bottom:0 !important; min-width:140px !important; }
.u-color-var-gefahr-e05252 { color:var(--gefahr, #e05252) !important; }
.u-margin-bottom-0-margin-right-0p75rem { margin-bottom:0 !important; margin-right:0.75rem !important; }
.u-width-100px { width:100px !important; }
.u-width-120px { width:120px !important; }
.u-width-200px { width:200px !important; }
.u-margin-0p4rem-0-0 { margin:0.4rem 0 0 !important; }
.u-font-family-monospace { font-family:monospace !important; }
.u-font-family-monospace-font-size-0p875rem { font-family:monospace !important; font-size:0.875rem !important; }
.u-font-size-1p6rem-font-weight-700 { font-size:1.6rem !important; font-weight:700 !important; }
.u-border-color-var-fehler-margin-top-1rem { border-color:var(--fehler) !important; margin-top:1rem !important; }
.u-margin-bottom-2rem { margin-bottom:2rem !important; }
.u-max-width-200px-border-radius-var-radius { max-width:200px !important; border-radius:var(--radius) !important; }
.u-display-inline-flex-gap-0p4rem-fle-3f8e20 { display:inline-flex !important; gap:0.4rem !important; flex-wrap:wrap !important; }
.u-display-flex-align-items-flex-end-de82e7 { display:flex !important; align-items:flex-end !important; justify-content:space-between !important; gap:1rem !important; flex-wrap:wrap !important; }
.u-display-flex-gap-7px-flex-shrink-0-2f80b3 { display:flex !important; gap:7px !important; flex-shrink:0 !important; padding-top:.2rem !important; }
.u-background-2a0a0a-border-1px-solid-var-red { background:#2a0a0a !important; border:1px solid var(--red) !important; }
.u-background-rgba-255-184-0-p14-bord-122001 { background:rgba(255,184,0,.14) !important; border:1px solid var(--amb) !important; }
.u-background-rgba-126-184-255-p14-bo-d4f1be { background:rgba(126,184,255,.14) !important; border:1px solid var(--blu) !important; }
.u-border-1px-solid-var-grn { border:1px solid var(--grn) !important; }
.u-background-var-redd { background:var(--redd) !important; }
.u-background-var-grnd { background:var(--grnd) !important; }
.u-margin-top-1p2rem-padding-1rem-bac-4643cc { margin-top:1.2rem !important; padding:1rem !important; background:var(--bg2) !important; border:1px solid var(--bd) !important; }
.u-font-size-13px-margin-bottom-p8rem { font-size:13px !important; margin-bottom:.8rem !important; }
.u-grid-column-1-1 { grid-column:1/-1 !important; }
.u-border-top-none-margin-top-p9rem-p-037c94 { border-top:none !important; margin-top:.9rem !important; padding-top:0 !important; }
.u-color-sc { color:'+sc+' !important; }
.u-text-decoration-none-margin-right-7px { text-decoration:none !important; margin-right:7px !important; }
.u-font-family-var-mo-font-size-11px-e7464f { font-family:var(--mo) !important; font-size:11px !important; color:var(--tx2) !important; margin-right:.5rem !important; }
.u-color-var-tx2 { color:var(--tx2) !important; }
.u-color-var-red { color:var(--red) !important; }
.u-background-var-purd-color-var-pur { background:var(--purd) !important; color:var(--pur) !important; }
.u-x-1-tue-color-var-blu { '+(x[1]==='tue'?'color:var(--blu)':'')+' !important; }
.u-color-var-amb { color:var(--amb) !important; }
.u-color-var-blu { color:var(--blu) !important; }
.u-color-var-grn { color:var(--grn) !important; }
.u-es { '+es+' !important; }
.u-background-phpcb-color-phpct { background:'+ph.cb+' !important; color:'+ph.ct+' !important; }
.u-font-family-var-mo-font-size-9px-c-76316f { font-family:var(--mo) !important; font-size:9px !important; color:var(--red) !important; letter-spacing:.06em !important; }
.u-color-var-fehler-e5484d-font-weight-600 { color:var(--fehler,#E5484D) !important; font-weight:600 !important; }
.u-display-flex-gap-1rem-flex-wrap-wrap { display:flex !important; gap:1rem !important; flex-wrap:wrap !important; }
.u-flex-2-min-width-200px { flex:2 !important; min-width:200px !important; }
.u-min-width-150px { min-width:150px !important; }
.u-min-width-130px { min-width:130px !important; }
.u-width-100pct { width:100% !important; }
.u-white-space-pre-line { white-space:pre-line !important; }
.u-border-color-var-erfolg { border-color:var(--erfolg) !important; }
.u-display-flex-justify-content-space-c1b18d { display:flex !important; justify-content:space-between !important; align-items:flex-start !important; gap:1rem !important; }
.u-margin-0-0-0p25rem { margin:0 0 0.25rem !important; }
.u-margin-0-0-0p5rem { margin:0 0 0.5rem !important; }
.u-width-100pct-min-width-18rem { width:100% !important; min-width:18rem !important; }
.u-max-width-420px-padding-2rem-text-7472fd { max-width:420px !important; padding:2rem !important; text-align:center !important; font-size:1.15em !important; font-style:italic !important; border:2px solid var(--akzent) !important; margin-bottom:2rem !important; }
.u-font-style-italic { font-style:italic !important; }
.u-margin-left-1rem { margin-left:1rem !important; }
.u-max-width-7rem { max-width:7rem !important; }
.u-width-100pct-box-sizing-border-box-968028 { width:100% !important; box-sizing:border-box !important; font-family:inherit !important; }
.u-background-rgba-60-140-60-0p08 { background:rgba(60,140,60,0.08) !important; }
.u-display-flex-gap-1rem-flex-wrap-wr-9a503d { display:flex !important; gap:1rem !important; flex-wrap:wrap !important; margin-bottom:1rem !important; font-size:0.85em !important; }
.u-background-8a8f98 { background:#8A8F98 !important; }
.u-background-6fd08c { background:#6FD08C !important; }
.u-background-5b9bd5 { background:#5B9BD5 !important; }
.u-background-f2b441 { background:#F2B441 !important; }
.u-background-26215c { background:#26215C !important; }
.u-background-e24b4a { background:#E24B4A !important; }
.u-background-0d0f12-border-2px-solid-eac6a0 { background:#0D0F12 !important; border:2px solid #B58CFF !important; width:8px !important; height:8px !important; }
.u-height-70vh-border-radius-8px-bord-85121b { height:70vh !important; border-radius:8px !important; border:1px solid var(--rahmen) !important; }
.u-margin-top-0p5rem-3dc98b { margin-top:0.5rem !important; }
.u-color-var-erfolg-2e7d32 { color:var(--erfolg,#2e7d32) !important; }
.u-display-flex-flex-wrap-wrap-gap-0p-9667ef { display:flex !important; flex-wrap:wrap !important; gap:0.5rem !important; margin-bottom:1.5rem !important; }
.u-display-flex-align-items-center-ga-67d0bb { display:flex !important; align-items:center !important; gap:1rem !important; padding:0.75rem 0 !important; border-bottom:1px solid var(--rahmen-hell) !important; }
.u-min-width-5rem { min-width:5rem !important; }
.u-margin-0-display-flex-align-items-86bcdb { margin:0 !important; display:flex !important; align-items:center !important; gap:0.5rem !important; }
.u-width-5rem { width:5rem !important; }
.u-width-4p5em { width:4.5em !important; }
.u-display-flex-gap-1rem-flex-wrap-wr-57ebfc { display:flex !important; gap:1rem !important; flex-wrap:wrap !important; align-items:flex-end !important; margin-bottom:2rem !important; }
.u-display-flex-align-items-flex-end-781796 { display:flex !important; align-items:flex-end !important; gap:0.5rem !important; height:8rem !important; }
.u-display-flex-flex-direction-column-08d6c1 { display:flex !important; flex-direction:column !important; align-items:center !important; flex:1 !important; }
.u-position-relative-width-100pct-max-f09ab4 { position:relative !important; width:100% !important; max-width:2.5rem !important; height:100% !important; display:flex !important; align-items:flex-end !important; }
.u-font-size-0p75rem-margin-top-0p25rem { font-size:0.75rem !important; margin-top:0.25rem !important; }
.u-white-space-pre-wrap-font-family-inherit { white-space:pre-wrap !important; font-family:inherit !important; }
.u-max-width-420px-margin-bottom-1p5rem { max-width:420px !important; margin-bottom:1.5rem !important; }
.u-background-var-flaeche-hoch-border-670cc6 { background:var(--flaeche-hoch) !important; border-radius:6px !important; overflow:hidden !important; height:10px !important; }
.u-background-var-akzent-height-100pc-fa89da { background:var(--akzent) !important; height:100% !important; width:0% !important; transition:width 0.2s !important; }
.u-display-flex-gap-1p5rem-flex-wrap-7a5745 { display:flex !important; gap:1.5rem !important; flex-wrap:wrap !important; align-items:flex-start !important; }
.u-flex-1-min-width-280px-max-width-420px { flex:1 !important; min-width:280px !important; max-width:420px !important; }
.u-max-height-70vh-overflow-y-auto { max-height:70vh !important; overflow-y:auto !important; }
.u-background-var-flaeche-hoch { background:var(--flaeche-hoch) !important; }
.u-flex-2-min-width-320px { flex:2 !important; min-width:320px !important; }
.u-width-100pct-height-60vh-border-1p-12750d { width:100% !important; height:60vh !important; border:1px solid var(--rahmen) !important; border-radius:8px !important; }
.u-display-flex-gap-0p5rem-margin-bottom-0p5rem { display:flex !important; gap:0.5rem !important; margin-bottom:0.5rem !important; }
.u-width-140px { width:140px !important; }
.u-margin-top-1p25rem { margin-top:1.25rem !important; }
.u-max-width-100pct-max-height-420px-be38d4 { max-width:100% !important; max-height:420px !important; border-radius:6px !important; }
.u-margin-top-p6rem { margin-top:.6rem !important; }
.u-margin-bottom-1p2rem { margin-bottom:1.2rem !important; }
.u-margin-top-p4rem { margin-top:.4rem !important; }
.u-margin-top-1rem-display-flex-gap-1-ee6ccc { margin-top:1rem !important; display:flex !important; gap:1rem !important; flex-wrap:wrap !important; align-items:flex-end !important; }
.u-margin-bottom-0-min-width-160px { margin-bottom:0 !important; min-width:160px !important; }
.u-margin-bottom-0-min-width-100px { margin-bottom:0 !important; min-width:100px !important; }
.u-margin-bottom-0-flex-1-min-width-200px { margin-bottom:0 !important; flex:1 !important; min-width:200px !important; }
.u-margin-bottom-0-width-100pct { margin-bottom:0 !important; width:100% !important; }
.u-display-grid-grid-template-columns-89da42 { display:grid !important; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)) !important; gap:1rem !important; }
.u-display-flex-flex-direction-column-187dce { display:flex !important; flex-direction:column !important; gap:0.5rem !important; }
.u-margin-0-font-weight-600 { margin:0 !important; font-weight:600 !important; }
.u-margin-0-color-var-akzent-letter-spacing-2px { margin:0 !important; color:var(--akzent) !important; letter-spacing:2px !important; }
.u-margin-0-font-style-italic-flex-1 { margin:0 !important; font-style:italic !important; flex:1 !important; }
.u-font-size-1p8rem-font-weight-700 { font-size:1.8rem !important; font-weight:700 !important; }
.u-margin-p2rem-0 { margin:.2rem 0 !important; }
.u-overflow-x-auto { overflow-x:auto !important; }
.u-margin-top-p3rem { margin-top:.3rem !important; }
.u-height-44px-width-auto-border-radi-f5c1f6 { height:44px !important; width:auto !important; border-radius:4px !important; vertical-align:middle !important; }
.u-position-relative-height-110px-bac-1de34e { position:relative !important; height:110px !important; background:var(--flaeche-hoch) !important; border-radius:8px !important; margin-bottom:2rem !important; overflow-x:auto !important; }
.u-position-relative-min-width-800px-c057f3 { position:relative !important; min-width:800px !important; height:100% !important; }
.u-columns-3-column-gap-1rem { columns:3 !important; column-gap:1rem !important; }
.u-display-block { display:block !important; }
.u-min-width-160px { min-width:160px !important; }
.u-display-inline-block-margin-0-p5rem-1rem-0 { display:inline-block !important; margin:0 .5rem 1rem 0 !important; }
.u-min-width-16rem { min-width:16rem !important; }
.u-min-width-8rem { min-width:8rem !important; }
.u-min-width-14rem { min-width:14rem !important; }
.u-columns-2 { columns:2 !important; }
.u-margin-0p3rem-0-0 { margin:0.3rem 0 0 !important; }
.u-border-left-2px-solid-var-rahmen-p-df4d9a { border-left:2px solid var(--rahmen) !important; padding-left:1.2rem !important; }
.u-display-flex-justify-content-space-a49527 { display:flex !important; justify-content:space-between !important; align-items:center !important; flex-wrap:wrap !important; gap:0.5rem !important; }
.u-display-flex-gap-1rem-align-items-ca06de { display:flex !important; gap:1rem !important; align-items:flex-end !important; flex-wrap:wrap !important; }
.u-width-100pct-max-width-400px { width:100% !important; max-width:400px !important; }
.u-border-color-var-erfolg-4caf50 { border-color:var(--erfolg, #4caf50) !important; }
.u-text-align-center-font-size-1p3em { text-align:center !important; font-size:1.3em !important; }
.u-margin-0p2em-0-0 { margin:0.2em 0 0 !important; }
.u-display-grid-grid-template-columns-347956 { display:grid !important; grid-template-columns:repeat(4, minmax(0,1fr)) !important; gap:1rem !important; align-items:start !important; }
.u-background-var-flaeche-hoch-border-94a31d { background:var(--flaeche-hoch) !important; border-radius:8px !important; padding:0.75rem !important; min-height:120px !important; }
.u-margin-0-0-0p75rem-font-size-0p95em { margin:0 0 0.75rem !important; font-size:0.95em !important; }
.u-margin-bottom-0p6rem-padding-0p6re-f48ce0 { margin-bottom:0.6rem !important; padding:0.6rem !important; cursor:grab !important; }
.u-margin-0-font-weight-600-font-size-0p9em { margin:0 !important; font-weight:600 !important; font-size:0.9em !important; }
.u-margin-top-0p75rem { margin-top:0.75rem !important; }
.u-background-fff-padding-0p5rem-disp-ec808b { background:#fff !important; padding:0.5rem !important; display:inline-block !important; border-radius:6px !important; margin-bottom:1rem !important; }
.u-display-flex-flex-wrap-wrap-gap-0p5rem { display:flex !important; flex-wrap:wrap !important; gap:0.5rem !important; }
.u-margin-bottom-1rem-align-items-flex-end { margin-bottom:1rem !important; align-items:flex-end !important; }
.u-font-size-0p85em-padding-0p2em-0p7em { font-size:0.85em !important; padding:0.2em 0.7em !important; }
.u-flex-1-min-width-180px { flex:1 !important; min-width:180px !important; }
.u-min-width-140px { min-width:140px !important; }
.u-font-size-var-stufe-3 { font-size:var(--stufe-3) !important; }
.u-margin-top-p8rem-display-flex-gap-5be8f2 { margin-top:.8rem !important; display:flex !important; gap:.6rem !important; flex-wrap:wrap !important; }
.u-width-100pct-height-320px-border-1-719843 { width:100% !important; height:320px !important; border:1px solid var(--rand,#ccc) !important; }
.u-max-width-10rem { max-width:10rem !important; }
.u-width-100pct-height-80vh-border-1p-1968f7 { width:100% !important; height:80vh !important; border:1px solid var(--linie,#ccc) !important; border-radius:6px !important; background:#fff !important; }
.u-border-1px-solid-var-rahmen-2a323b-f975ab { border:1px solid var(--rahmen, #2A323B) !important; border-radius:6px !important; background:#fff !important; touch-action:none !important; max-width:100% !important; }
.u-display-block-margin-1rem-0 { display:block !important; margin:1rem 0 !important; }
.u-display-flex-gap-1rem-margin-botto-3a4a55 { display:flex !important; gap:1rem !important; margin-bottom:1.5rem !important; flex-wrap:wrap !important; }
.u-display-grid-grid-template-columns-3952c5 { display:grid !important; grid-template-columns:repeat(7, minmax(0,1fr)) !important; gap:0.75rem !important; }
.u-margin-0-0-0p5rem-font-size-0p85em-1f4088 { margin:0 0 0.5rem !important; font-size:0.85em !important; font-weight:600 !important; }
.u-margin-bottom-0p4rem-font-size-0p8em { margin-bottom:0.4rem !important; font-size:0.8em !important; }
.u-font-size-0p8em-margin-0 { font-size:0.8em !important; margin:0 !important; }
.u-margin-0p3rem-0-0p75rem { margin:0.3rem 0 0.75rem !important; }
.u-display-flex-gap-1rem-flex-wrap-wr-f490f3 { display:flex !important; gap:1rem !important; flex-wrap:wrap !important; align-items:flex-end !important; margin-bottom:1.5rem !important; }
.u-margin-bottom-0-flex-1-min-width-180px { margin-bottom:0 !important; flex:1 !important; min-width:180px !important; }
.u-font-size-0p8em { font-size:0.8em !important; }
.u-opacity-p6-font-size-p75rem { opacity:.6 !important; font-size:.75rem !important; }
.u-font-style-italic-margin-top-0p5rem { font-style:italic !important; margin-top:0.5rem !important; }
.u-width-100pct-margin-top-0p4rem { width:100% !important; margin-top:0.4rem !important; }
.u-width-100pct-display-block-text-al-a08cfd { width:100% !important; display:block !important; text-align:center !important; box-sizing:border-box !important; }

/* v2.720 Miro Boards: Notizen als farbige Karten, Texte ruhig, Aktionsleiste unten fest */
.miro-kachel-zusatz { display: block; margin-top: 0.25rem; font-size: var(--stufe-klein); font-weight: 400; color: var(--text-still); }
.miro-suche { width: 100%; max-width: 28rem; }
.miro-rahmen { margin-top: 0.8rem; }
.miro-rahmen iframe { max-width: none; width: 100%; height: 70vh; border: 1px solid var(--rahmen); border-radius: 8px; background: #fff; }
.miro-bereich { margin: 1.6rem 0; scroll-margin-top: 5rem; }
.miro-bereich[hidden] { display: none; }
.miro-bereich h3 { margin: 0 0 0.7rem; padding-left: 0.6rem; border-left: 5px solid var(--bereich); }
.miro-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.6rem; align-items: start; }
.miro-notiz { --notiz: #F2C14E; position: relative; display: block; padding: 0.7rem 0.8rem 0.7rem 2.1rem; border-radius: 6px; background: color-mix(in srgb, var(--notiz) 22%, var(--flaeche)); border: 1px solid color-mix(in srgb, var(--notiz) 60%, transparent); border-top: 5px solid var(--notiz); cursor: pointer; font-size: var(--stufe-klein); overflow-wrap: anywhere; }
.miro-notiz input { position: absolute; left: 0.6rem; top: 0.75rem; }
.miro-notiz:has(input:checked) { outline: 3px solid var(--notiz); }
.miro-notiz.ist-task { opacity: 0.6; cursor: default; }
.miro-notiz__marke { display: block; margin-top: 0.4rem; font-size: 0.75rem; font-weight: 600; }
.miro-notiz--gelb { --notiz: #F2C14E; } .miro-notiz--orange { --notiz: #F29B4E; } .miro-notiz--rosa { --notiz: #E88FB5; }
.miro-notiz--rot { --notiz: #FF8A80; } .miro-notiz--gruen { --notiz: #7FBF5C; } .miro-notiz--blau { --notiz: #5AB0D6; }
.miro-notiz--violett { --notiz: #B98CE0; } .miro-notiz--grau { --notiz: #9AA3AE; }
.miro-text { grid-column: 1 / -1; padding: 0.6rem 0.9rem; border-left: 3px solid var(--rahmen); background: var(--flaeche); border-radius: 0 6px 6px 0; overflow-wrap: anywhere; }
.miro-notiz[hidden], .miro-text[hidden] { display: none; }
.miro-aktion { position: sticky; bottom: 0; margin-top: 1.5rem; padding: 0.8rem 1rem; border: 1px solid var(--bereich); border-radius: 10px 10px 0 0; background: var(--flaeche-hoch); }
.miro-aktion p { margin: 0 0 0.5rem; max-width: none; }

/* Drei Suchfelder nebeneinander: Menü, Filme, Kinos. Treffer klappen als Liste unter dem jeweiligen Feld auf. */
.nav-suchzeile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 0.6rem; padding: 0 0.9rem; border-bottom: 1px solid var(--rahmen-hell); }
.nav-suchzeile .nav-suche { position: relative; padding: 0.6rem 0; border-bottom: 0; }
.nav-suchzeile .nav-suche--schnell input[type="search"] { border-left: 3px solid var(--akzent); }
.nav-suchzeile .nav-suche:not(.nav-suche--palette) .nav-treffer {
	position: absolute; top: 100%; left: 0; right: 0; z-index: 50; margin: 0;
	max-height: 60vh; overflow: auto; padding: 0.5rem;
	background: var(--flaeche-hoch, var(--flaeche)); border: 1px solid var(--rahmen-hell); border-radius: 6px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.nav-suchzeile .nav-treffer[hidden] { display: none; }
@media (max-width: 760px) {
	.nav-suchzeile { grid-template-columns: minmax(0, 1fr); }
}

/* Film Recherche im Menü: dasselbe Formular wie auf film-recherche.php (Filmtitel und Knopf in einer Zeile) */
.nav-suchzeile .nav-suche--recherche { display: flex; align-items: center; gap: 0.4rem; }
.nav-suchzeile .nav-suche--recherche input[type="search"] { flex: 1 1 auto; min-width: 0; border-left: 3px solid var(--akzent); }
.nav-suchzeile .nav-suche--recherche .knopf { flex: 0 0 auto; white-space: nowrap; padding: 0.45rem 0.9rem; font-size: 0.85rem; }

/* Film Recherche Ergebnis direkt im Menü: volle Breite unter den drei Suchfeldern */
.nav-dossier { grid-column: 1 / -1; margin: 0 0 0.8rem; padding: 0.8rem 1rem; max-height: 70vh; overflow: auto; border: 1px solid var(--rahmen-hell); border-radius: 8px; background: var(--flaeche-hoch, var(--flaeche)); }
.nav-dossier[hidden] { display: none; }
.nav-dossier__kopf { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.6rem; font-size: 1.1rem; }
.nav-dossier__zu { border: 1px solid var(--rahmen-hell); background: transparent; color: inherit; border-radius: 999px; padding: 0.25rem 0.8rem; cursor: pointer; font-size: 0.8rem; }
.nav-dossier__bereich { margin: 1rem 0 0.3rem; font-size: 1rem; }
.nav-dossier__liste { margin: 0; padding-left: 1.2rem; font-size: 0.9rem; line-height: 1.55; }

/* Filmauswahl als Pulldown im Menü */
.nav-suchzeile .nav-suche--recherche select { width: 100%; min-width: 0; padding: 0.5rem 0.7rem; border: 1px solid var(--rahmen-hell); border-left: 3px solid var(--akzent); border-radius: 4px; background: var(--flaeche); color: var(--text); font-size: 0.9rem; }

/* Sales Cockpit, Reiter Welle */
.welle-satz { width: 100%; min-width: 18rem; }

/* Trailer: Weitergabe an Dritte (Einbettungscode, Download) in der Linkliste */
.trailer-weitergabe { margin: 8px 0 0; }
.trailer-weitergabe summary { cursor: pointer; }
.trailer-weitergabe textarea { display: block; width: 100%; margin: 4px 0 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; }
