/* ==========================================================================
   Predigten: Archiv mit Suche, Predigtseite, Weiterhören, Teilen
   Markup aus dem Plugin fhd-kern (Blöcke predigt-archiv, predigt-kopf, predigt-verwandt; inc/teilen.php).
   Eigene Datei neben style.css, damit Archiv und Predigtseite unabhängig vom Rest weiterentwickelt werden können.

   Regeln aus DESIGN.md, die hier tragen:
   - Linie statt Kasten: die Tabelle hat Linien, keine Rahmen; Spaltenköpfe über 2 px Espresso wie „Unsere Woche"
   - Amber nur auf Klickbarem: Unterstriche beim Zeigen, Suchknopf, Play-Kreise — nie Text, nie Fläche
   - Knöpfe 10 px (Runde 4b, flach), kleine Bedienelemente 6 px, Chips 6 px
   - Nichts kleiner als 15 px; Zahlen tabellarisch
   ========================================================================== */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.fhd-archiv,
.fhd-predigtkopf,
.fhd-weiterhoeren {
	--fhd-a-linie: var(--wp--preset--color--linie);
	--fhd-a-leise: var(--wp--preset--color--tinte-leise);
	--fhd-a-dunkel: var(--wp--preset--color--espresso);
	--fhd-a-flaeche: var(--wp--preset--color--flaeche);
	--fhd-a-kopfhoehe: 84px; /* klebende Kopfzeile */
}

/* ---------------------------------------------------------------- Bühne des Archivs
   Das Foto ist die eine Farbfläche der Seite (Eine-Farbfläche-Regel): randlos, unter einem Papier-Schleier wie der
   Seitenkopf mit Bild (seit 19.10.2026 hell; Lukas: „Seitenköpfe und Predigt-Bühne hell“, vorher Espresso-Schleier).
   Darauf Titel, Teilen, die Suche und zwei Schalter, die wie Reiter auf der Unterkante sitzen — der offene Reiter
   hat die Farbe des Bereichs darunter und geht in ihn über. */

.fhd-inhalt.fhd-predigtarchiv {
	padding-top: 0;
}

/* Bühne und dunkles Band stoßen direkt an die Kopfzeile — kein Block-Abstand dazwischen */
.wp-site-blocks > main:is(.fhd-predigtarchiv, .fhd-predigt) {
	margin-block-start: 0;
}

.fhd-archiv.alignfull {
	margin-block-start: 0;
}

.fhd-archiv__innen {
	width: min(var(--wp--style--global--wide-size, 1240px), 100% - 2 * var(--wp--custom--rand));
	margin-inline: auto;
}

.fhd-archiv__buehne {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-top: clamp(48px, 7vw, 108px);
	background: var(--wp--preset--color--flaeche);
	color: var(--wp--preset--color--tinte);
	border-bottom: 1px solid var(--wp--preset--color--linie);
}

.fhd-archiv__bild {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 42%;
}

.fhd-archiv__buehne::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg,
			color-mix(in srgb, var(--wp--preset--color--papier) 66%, transparent) 0%,
			color-mix(in srgb, var(--wp--preset--color--papier) 80%, transparent) 55%,
			color-mix(in srgb, var(--wp--preset--color--papier) 92%, transparent) 100%);
}

/* Am Handy steht der Wandspruch des Fotos genau hinter dem Titel: dort dichter */
@media (max-width: 720px) {
	.fhd-archiv__buehne::after {
		background:
			linear-gradient(180deg,
				color-mix(in srgb, var(--wp--preset--color--papier) 82%, transparent) 0%,
				color-mix(in srgb, var(--wp--preset--color--papier) 88%, transparent) 55%,
				color-mix(in srgb, var(--wp--preset--color--papier) 94%, transparent) 100%);
	}
}

.fhd-archiv__kopf {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 16px 32px;
	margin-bottom: clamp(24px, 3vw, 36px);
}

.fhd-archiv__kopf h1 {
	margin: 0;
	color: var(--wp--preset--color--espresso);
}

/* Reiter auf der Unterkante der Bühne */
.fhd-archiv__schalter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: clamp(20px, 2.4vw, 28px);
}

.fhd-archiv__schalt {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 18px 0 16px;
	border: 1px solid var(--wp--preset--color--linie);
	border-bottom: 0;
	border-radius: var(--wp--custom--radius--klein) var(--wp--custom--radius--klein) 0 0;
	background: color-mix(in srgb, var(--wp--preset--color--papier) 72%, transparent);
	color: var(--wp--preset--color--espresso);
	font-family: var(--wp--preset--font-family--text);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color var(--wp--custom--uebergang), color var(--wp--custom--uebergang), border-color var(--wp--custom--uebergang);
}

.fhd-archiv__schalt .fhd-icon {
	width: 20px;
	height: 20px;
	flex: none;
}

.fhd-archiv__schalt:hover {
	background: var(--wp--preset--color--papier);
	border-color: color-mix(in srgb, var(--wp--preset--color--espresso) 35%, transparent);
}

.fhd-archiv__schalt[aria-expanded="true"] {
	background: var(--wp--preset--color--flaeche);
	border-color: var(--wp--preset--color--flaeche);
	color: var(--wp--preset--color--espresso);
}

.fhd-archiv__schalt:focus-visible {
	box-shadow: none;
}

.fhd-archiv__schaltpfeil {
	width: 16px !important;
	height: 16px !important;
	opacity: 0.75;
	transition: rotate 200ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fhd-archiv__schalt[aria-expanded="true"] .fhd-archiv__schaltpfeil {
	rotate: 180deg;
}

/* Zahl der gesetzten Filter: Amber, denn sie sitzt auf dem Knopf, der sie ändert */
.fhd-archiv__schaltzahl {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--wp--preset--color--amber);
	color: var(--wp--preset--color--espresso);
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 700;
	line-height: 1;
}

.fhd-archiv__schaltzahl[hidden],
.fhd-archiv__schaltwert:empty {
	display: none;
}

.fhd-archiv__schaltwert {
	padding-left: 10px;
	border-left: 1px solid currentColor;
	font-weight: 500;
	opacity: 0.85;
}

/* Die aufklappbaren Bereiche: Fläche, volle Breite. Mit Skript zu, bis ein Reiter sie öffnet; ohne Skript offen. */
.fhd-archiv__panele {
	background: var(--wp--preset--color--flaeche);
}

.fhd-archiv__panel {
	padding-block: clamp(24px, 3vw, 36px);
}

.fhd-archiv-js .fhd-archiv__panel {
	display: none;
}

.fhd-archiv[data-offen="filter"] .fhd-archiv__panel[data-panel="filter"] {
	display: flex;
	animation: fhd-panel-auf 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fhd-archiv[data-offen="bibel"] .fhd-archiv__panel[data-panel="bibel"] {
	display: block;
	animation: fhd-panel-auf 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes fhd-panel-auf {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
}

.fhd-archiv__unten {
	padding-top: clamp(28px, 3.5vw, 44px);
}

/* ---------------------------------------------------------------- Teilen */

.fhd-teilen {
	font: inherit;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.fhd-teilen .fhd-icon {
	width: 20px;
	height: 20px;
	flex: none;
}

/* Beschrifteter Knopf: der zweite Knopf des Systems (1,5 px Espresso, 10 px, flach) — nur etwas niedriger als die großen */
.fhd-teilen--knopf {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px 0 18px;
	border: 1.5px solid var(--wp--preset--color--espresso);
	border-radius: var(--wp--custom--radius--gross);
	background: transparent;
	color: var(--wp--preset--color--espresso);
	font-family: var(--wp--preset--font-family--text);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	transition: background-color var(--wp--custom--uebergang), transform var(--wp--custom--uebergang);
}

.fhd-teilen--knopf:hover,
.fhd-teilen--knopf[aria-expanded="true"] {
	background: color-mix(in srgb, var(--wp--preset--color--espresso) 6%, transparent);
}

.fhd-teilen--knopf:active {
	transform: scale(0.985);
}

/* Auf dunklem Grund (ein Band im Stil „Dunkel“; die Bühne des Archivs ist seit 19.10.2026 hell): hell umrandet */
.fhd-teilen--hell,
.is-style-dunkel .fhd-teilen--knopf {
	border-color: color-mix(in srgb, var(--wp--preset--color--auf-dunkel) 70%, transparent);
	color: var(--wp--preset--color--auf-dunkel);
}

.fhd-teilen--hell:hover,
.fhd-teilen--hell[aria-expanded="true"],
.is-style-dunkel .fhd-teilen--knopf:hover,
.is-style-dunkel .fhd-teilen--knopf[aria-expanded="true"] {
	background: color-mix(in srgb, var(--wp--preset--color--auf-dunkel) 10%, transparent);
	border-color: var(--wp--preset--color--auf-dunkel);
}

/* Nur Symbol (Tabellenzeile): kleines Bedienelement, 6 px, ruhig bis zum Zeigen */
.fhd-teilen--symbol {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--radius--klein);
	background: transparent;
	color: var(--wp--preset--color--tinte-leise);
	transition: background-color var(--wp--custom--uebergang), color var(--wp--custom--uebergang);
}

.fhd-teilen--symbol:hover,
.fhd-teilen--symbol[aria-expanded="true"] {
	background: var(--wp--preset--color--flaeche-2);
	color: var(--wp--preset--color--espresso);
}

/* Das Menü hängt am <body> und schwebt: Papier, 10 px, Schatten „Angefasst" */
.fhd-teilen-menue {
	position: fixed;
	z-index: 1000;
	min-width: 248px;
	max-width: min(320px, calc(100vw - 16px));
	padding: 6px;
	background: var(--wp--preset--color--papier);
	border: 1px solid var(--wp--preset--color--linie);
	border-radius: var(--wp--custom--radius--gross);
	box-shadow: var(--wp--custom--schatten--hover);
	font-family: var(--wp--preset--font-family--text);
	animation: fhd-teilen-auf 160ms cubic-bezier(0.2, 0.7, 0.2, 1);
	transform-origin: top right;
}

@keyframes fhd-teilen-auf {
	from {
		opacity: 0;
		transform: translateY(-4px) scale(0.98);
	}
}

.fhd-teilen-menue__eintrag {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: var(--wp--custom--radius--klein);
	background: transparent;
	color: var(--wp--preset--color--espresso);
	font: inherit;
	font-size: 1rem;
	font-weight: 500;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

a.fhd-teilen-menue__eintrag {
	font-weight: 500;
}

.fhd-teilen-menue__eintrag .fhd-icon {
	width: 20px;
	height: 20px;
	flex: none;
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-teilen-menue__eintrag:hover,
.fhd-teilen-menue__eintrag:focus-visible {
	background: var(--wp--preset--color--flaeche);
	outline: none;
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--espresso);
}

.fhd-teilen-menue__eintrag:hover {
	box-shadow: none;
}

.fhd-teilen-menue__eintrag.ist-erledigt .fhd-icon {
	color: var(--wp--preset--color--espresso);
}

.fhd-teilen-menue__adresse {
	margin: 6px 0 0;
	padding: 10px 12px 6px;
	border-top: 1px solid var(--wp--preset--color--linie);
	font-size: var(--wp--preset--font-size--klein);
	color: var(--wp--preset--color--tinte-leise);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ---------------------------------------------------------------- Suche */

.fhd-archiv__filter {
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* sonst dehnt der längste Eintrag einer Auswahl das Raster über den Rand */
	gap: 18px;
}

.fhd-archiv__suche {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 8px 8px 8px 20px;
	background: var(--wp--preset--color--papier);
	border: 1px solid var(--wp--preset--color--linie);
	border-radius: var(--wp--custom--radius--gross);
	box-shadow: var(--wp--custom--schatten--standard);
	transition: border-color var(--wp--custom--uebergang), box-shadow var(--wp--custom--uebergang);
}

.fhd-archiv__suche:hover {
	border-color: color-mix(in srgb, var(--wp--preset--color--espresso) 35%, transparent);
}

.fhd-archiv__suche:focus-within {
	border-color: var(--wp--preset--color--amber);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--wp--preset--color--amber) 45%, transparent);
}

.fhd-archiv__lupe {
	width: 24px;
	height: 24px;
	flex: none;
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-archiv__suche input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: var(--wp--preset--font-family--text);
	font-size: 1.1875rem; /* ≥ 16 px: kein Hineinzoomen auf iOS */
	color: var(--wp--preset--color--espresso);
	caret-color: var(--wp--preset--color--amber-tief);
}

.fhd-archiv__suche input::placeholder {
	color: var(--wp--preset--color--tinte-leise);
	opacity: 1;
}

.fhd-archiv__suche input:focus-visible {
	outline: none;
	box-shadow: none;
}

.fhd-archiv__suche input::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	cursor: pointer;
	background: currentColor;
	-webkit-mask: url("../icons/x.svg") center / 16px no-repeat;
	mask: url("../icons/x.svg") center / 16px no-repeat;
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-archiv__taste {
	display: inline-grid;
	place-items: center;
	min-width: 28px;
	height: 28px;
	padding: 0 6px;
	border: 1px solid var(--wp--preset--color--linie);
	border-bottom-width: 2px;
	border-radius: var(--wp--custom--radius--klein);
	font-family: var(--wp--preset--font-family--text);
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 600;
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-archiv__suche:focus-within .fhd-archiv__taste {
	display: none;
}

.fhd-archiv__suchknopf {
	flex: none;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--amber-tief) 55%, transparent);
	border-radius: var(--wp--custom--radius--klein);
	background: var(--wp--preset--color--amber);
	color: var(--wp--preset--color--espresso);
	font-family: var(--wp--preset--font-family--text);
	font-size: 1.0625rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color var(--wp--custom--uebergang), transform var(--wp--custom--uebergang);
}

.fhd-archiv__suchknopf:hover {
	background: var(--wp--preset--color--amber-hover);
}

.fhd-archiv__suchknopf:active {
	transform: scale(0.985);
}

/* ---------------------------------------------------------------- Auswahlfelder */

.fhd-archiv__felder {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: 14px 14px;
}

.fhd-archiv__feld {
	display: grid;
	gap: 6px;
	flex: 1 1 150px;
	min-width: 0;
	max-width: 250px;
}

.fhd-archiv__feld label {
	font-family: var(--wp--preset--font-family--text);
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-archiv__feld--sort {
	flex: 0 0 236px;
	max-width: none;
	margin-left: auto;
}

.fhd-archiv__auswahl {
	position: relative;
	display: block;
}

.fhd-archiv__auswahl select {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 48px;
	padding: 0 44px 0 14px;
	border: 1px solid var(--wp--preset--color--linie);
	border-radius: var(--wp--custom--radius--klein);
	background: var(--wp--preset--color--papier);
	font-family: var(--wp--preset--font-family--text);
	font-size: 1rem;
	font-weight: 500;
	color: var(--wp--preset--color--espresso);
	text-overflow: ellipsis;
	cursor: pointer;
	transition: border-color var(--wp--custom--uebergang), background-color var(--wp--custom--uebergang);
}

.fhd-archiv__auswahl select:hover {
	border-color: var(--wp--preset--color--tinte-leise);
}

.fhd-archiv__feld.ist-gesetzt select {
	border-color: var(--wp--preset--color--espresso);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--espresso);
	font-weight: 600;
}

.fhd-archiv__pfeil {
	position: absolute;
	top: 50%;
	right: 14px;
	width: 16px;
	height: 16px;
	translate: 0 -50%;
	pointer-events: none;
	color: var(--wp--preset--color--tinte-leise);
}

/* ---------------------------------------------------------------- Bibel-Register (Bereich „Nach Bibelbuch") */

.fhd-archiv__registerzahl {
	margin: 0 0 20px;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--wp--preset--color--tinte-leise);
}

/* AT hat 39 Bücher, NT 27 — das Raster teilt ungefähr so (Keine-Hälften-Regel ergibt sich von selbst) */
.fhd-archiv__testamente {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	gap: 24px clamp(28px, 4vw, 56px);
}

/* Kopf je Testament (summary): am Desktop sieht er aus wie eine Überschrift und klappt nicht zu (archiv.js), am Handy
   ist er eine Zeile zum Aufklappen, siehe Abschnitt bis 860 px */
.fhd-archiv__testament-kopf {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 0 0 6px;
	padding-top: 12px;
	border-top: 2px solid var(--wp--preset--color--espresso);
	list-style: none;
	cursor: default;
}

.fhd-archiv__testament-kopf::-webkit-details-marker {
	display: none;
}

.fhd-archiv__testament h2 {
	margin: 0;
	font-family: var(--wp--preset--font-family--titel);
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-archiv__testament-zahl,
.fhd-archiv__testament-pfeil {
	display: none;
}

.fhd-archiv__buecher {
	margin: 0;
	padding: 0;
	list-style: none;
	columns: 3 11em;
	column-gap: 28px;
}

.fhd-archiv__testament--nt .fhd-archiv__buecher {
	columns: 2 11em;
}

.fhd-archiv__buecher li {
	break-inside: avoid;
	margin: 0;
	border-bottom: 1px solid var(--wp--preset--color--linie);
}

.fhd-archiv__buecher a,
.fhd-archiv__buch-leer {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
	min-height: 40px;
	padding: 9px 2px;
	font-size: 1rem;
	line-height: 1.3;
}

.fhd-archiv__buecher a {
	font-weight: 600;
	color: var(--wp--preset--color--espresso);
	text-decoration: none;
}

.fhd-archiv__buecher a:hover > span:first-child,
.fhd-archiv__buecher a[aria-current="true"] > span:first-child {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--amber);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.fhd-archiv__buchzahl {
	font-weight: 500;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-archiv__buch-leer {
	font-weight: 400;
	color: var(--wp--preset--color--tinte-leise);
}

/* ---------------------------------------------------------------- Lage: Anzahl, Chips */

.fhd-archiv__ergebnis {
	margin-top: clamp(24px, 3vw, 36px);
	transition: opacity 180ms ease-out;
}

.fhd-archiv--laedt .fhd-archiv__ergebnis {
	opacity: 0.5;
	cursor: progress;
}

.fhd-archiv__lage {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	min-height: 40px;
	margin-bottom: 16px;
}

.fhd-archiv__anzahl {
	margin: 0;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-archiv__anzahl:focus {
	outline: none;
}

.fhd-archiv__anzahl strong {
	font-family: var(--wp--preset--font-family--titel);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--wp--preset--color--espresso);
}

.fhd-archiv__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fhd-archiv__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 10px 0 12px;
	border: 1px solid var(--wp--preset--color--linie);
	border-radius: var(--wp--custom--radius--klein);
	background: var(--wp--preset--color--papier);
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 600;
	color: var(--wp--preset--color--espresso);
	text-decoration: none;
	transition: border-color var(--wp--custom--uebergang), background-color var(--wp--custom--uebergang);
}

a.fhd-archiv__chip {
	font-weight: 600;
}

.fhd-archiv__chiplabel {
	font-weight: 500;
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-archiv__chipweg {
	width: 16px;
	height: 16px;
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-archiv__chip:hover {
	border-color: var(--wp--preset--color--espresso);
	background: var(--wp--preset--color--flaeche);
}

.fhd-archiv__chip:hover .fhd-archiv__chipweg {
	color: var(--wp--preset--color--espresso);
}

.fhd-archiv__zuruecksetzen {
	font-size: var(--wp--preset--font-size--klein);
	color: var(--wp--preset--color--espresso);
	padding-block: 7px;
}

.fhd-archiv__hinweis {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 20px;
	padding: 14px 18px;
	border-radius: var(--wp--custom--radius--klein);
	background: var(--wp--preset--color--flaeche);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--wp--preset--color--tinte);
}

.fhd-archiv__hinweis .fhd-icon {
	width: 22px;
	height: 22px;
	flex: none;
	margin-top: 1px;
	color: var(--wp--preset--color--espresso);
}

.fhd-archiv__hinweis a {
	display: inline-block;
	margin-left: 4px;
	color: var(--wp--preset--color--espresso);
}

/* ---------------------------------------------------------------- Tabelle */

.fhd-archiv__tabelle {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--wp--preset--font-family--text);
}

.fhd-archiv__tabelle thead th {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--fhd-a-kopfhoehe));
	z-index: 2;
	padding: 12px 12px 12px 0;
	background: var(--wp--preset--color--papier);
	border-bottom: 2px solid var(--wp--preset--color--espresso);
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 600;
	text-align: left;
	white-space: nowrap;
	color: var(--wp--preset--color--tinte-leise);
}

/* Die Spaltenköpfe sind reine Beschriftungen (Lukas, 08.10.2026: „die Sortierung in den Spaltennamen ausmachen“).
   Sortiert wird oben unter „Filter und Sortierung“. */

.fhd-archiv__tabelle td {
	padding: 14px 12px 14px 0;
	border-bottom: 1px solid var(--wp--preset--color--linie);
	vertical-align: middle;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--wp--preset--color--tinte);
}

.fhd-archiv__tabelle :is(th, td).fhd-archiv__play {
	width: 62px;
	padding-right: 16px;
}

.fhd-archiv__tabelle :is(th, td).fhd-archiv__teilen {
	width: 52px;
	padding-right: 0;
	text-align: right;
}

.fhd-archiv__tabelle :is(th, td).fhd-archiv__prediger {
	width: 16%;
}

/* Feste Breite. Bis zur Nachbesserung am 08.10.2026 war die Spalte so breit wie die längste Stelle der Trefferseite
   (122 bis 241 px): „Prediger“ und „Bibelstellen“ sprangen beim Blättern und Filtern. 16 rem fassen
   „Apostelgeschichte 13,32–33“ in einer Zeile; was länger ist, bricht zwischen Buch und Kapitel um
   (span.fhd-stellen__zahl hält die Zahlen zusammen). Seit 13.10.2026 sind die Stellen Marken mit Rahmen (je Seite
   8 px breiter): Der rechte Innenabstand der Spalte ist dafür 12 statt 24 px, der Inhalt 244 statt 232 px breit. */
.fhd-archiv__tabelle :is(th, td).fhd-archiv__stelle {
	width: 16rem;
	padding-right: 12px;
}

/* Nur am Handy: Knopf zum Aufklappen der Zeile, Prediger-und-Datum-Zeile, Bibelstellen als Text, „Zur Predigt“ */
.fhd-archiv__tabelle :is(th, td).fhd-archiv__auf,
.fhd-archiv__wer,
.fhd-archiv__kurzstellen,
.fhd-archiv__folgt,
.fhd-archiv__zur {
	display: none;
}

/* „Merken“ und „Teilen“ als Text stehen im Markup, zu sehen sind sie nur in der aufgeklappten Handy-Zeile */
.fhd-merken__text,
.fhd-teilen__text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.fhd-archiv__tabelle :is(th, td).fhd-archiv__datum {
	width: 7.5em;
	white-space: nowrap;
}

.fhd-archiv__tabelle :is(th, td).fhd-archiv__dauer {
	width: 5.5em;
	white-space: nowrap;
}

.fhd-archiv__tabelle td:is(.fhd-archiv__datum, .fhd-archiv__dauer) {
	color: var(--wp--preset--color--tinte-leise);
	font-variant-numeric: tabular-nums;
}

.fhd-archiv__zeile {
	transition: background-color var(--wp--custom--uebergang);
}

.fhd-archiv__zeile:hover,
.fhd-archiv__zeile:has(.fhd-play[aria-pressed="true"]),
.fhd-archiv__zeile:has(.fhd-play.fhd-aktuell) {
	background: var(--wp--preset--color--flaeche);
}

.fhd-archiv__titellink {
	font-family: var(--wp--preset--font-family--titel);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--espresso);
	text-decoration: none;
}

a.fhd-archiv__titellink {
	font-weight: 600;
}

.fhd-archiv__titellink:hover {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--amber);
}

.fhd-archiv__zusatz {
	display: block;
	margin-top: 3px;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--wp--preset--color--tinte-leise);
}

/* Prediger (und Bibelstellen ohne Vers-Vorschau) sind Filter-Links: leise unterstrichen, damit man sie findet, Amber beim Zeigen */
.fhd-archiv__tabelle :is(.fhd-archiv__prediger, .fhd-archiv__stelle) a {
	font-weight: 400;
	color: var(--wp--preset--color--tinte);
	text-decoration-line: underline;
	text-decoration-color: var(--wp--preset--color--linie);
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.fhd-archiv__tabelle :is(.fhd-archiv__prediger, .fhd-archiv__stelle) a:hover {
	color: var(--wp--preset--color--espresso);
	text-decoration-color: var(--wp--preset--color--amber);
	text-decoration-thickness: 2px;
}

.fhd-archiv__fehlt {
	color: var(--wp--preset--color--tinte-leise);
}

/* Die Play-Kreise erben den hellen Stil der Predigtliste (Klasse .fhd-predigt-liste an der Tabelle) */
.fhd-archiv__tabelle .fhd-predigt-liste__play {
	vertical-align: middle;
}

.fhd-archiv__seiten {
	margin-top: 28px;
}

.fhd-archiv__leer {
	padding: clamp(40px, 6vw, 72px) 0;
	border-top: 2px solid var(--wp--preset--color--espresso);
}

.fhd-archiv__leer h2 {
	margin: 0 0 10px;
	font-size: var(--wp--preset--font-size--h-3);
}

.fhd-archiv__leer p {
	max-width: 40em;
	margin: 0;
	color: var(--wp--preset--color--tinte);
}

.fhd-archiv__leer a {
	color: var(--wp--preset--color--espresso);
}

/* ---------------------------------------------------------------- Archiv: schmaler */

/* Bis 1240 px ohne die Spalte „Dauer“ (vorher 1100): Die Bibelstellen stehen ungebrochen da, der Titel braucht den Platz */
@media (max-width: 1240px) {
	.fhd-archiv__tabelle :is(th, td).fhd-archiv__dauer {
		display: none;
	}
}

@media (max-width: 860px) {
	.fhd-archiv__taste {
		display: none;
	}

	.fhd-archiv__schalter {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fhd-archiv__schalt {
		justify-content: center;
		padding: 0 10px;
		font-size: 0.9375rem;
	}

	.fhd-archiv__schaltwert {
		display: none;
	}

	.fhd-archiv__lang {
		display: none;
	}

	.fhd-archiv__felder {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.fhd-archiv[data-offen="filter"] .fhd-archiv__panel[data-panel="filter"] {
		display: grid;
	}

	.fhd-archiv__feld,
	.fhd-archiv__feld--sort {
		max-width: none;
		margin-left: 0;
	}

	.fhd-archiv__testamente {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.fhd-archiv__buecher,
	.fhd-archiv__testament--nt .fhd-archiv__buecher {
		columns: 2;
		column-gap: 20px;
	}

	/* Erst nur die zwei Testamente, jedes klappt für sich auf (Lukas, 19.10.2026) */
	.fhd-archiv__testament-kopf {
		align-items: center;
		min-height: 52px;
		margin: 0;
		padding: 10px 2px;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	.fhd-archiv__testament--nt {
		border-bottom: 2px solid var(--wp--preset--color--espresso);
	}

	.fhd-archiv__testament h2 {
		color: var(--wp--preset--color--espresso);
	}

	.fhd-archiv__testament-zahl {
		display: inline;
		margin-left: auto;
		font-size: var(--wp--preset--font-size--klein);
		color: var(--wp--preset--color--tinte-leise);
	}

	.fhd-archiv__testament-pfeil {
		display: block;
		flex: none;
		width: 16px !important;
		height: 16px !important;
		opacity: 0.75;
		transition: rotate 200ms cubic-bezier(0.2, 0.7, 0.2, 1);
	}

	.fhd-archiv__testament[open] .fhd-archiv__testament-pfeil {
		rotate: 180deg;
	}

	.fhd-archiv__testament[open] .fhd-archiv__buecher {
		margin-bottom: 14px;
	}

	.fhd-archiv__testament-kopf:focus-visible {
		outline: 2px solid var(--wp--preset--color--amber);
		outline-offset: 2px;
	}

}

/* Die Tabelle wird bis 1000 px zur Liste: Abschnitt „Predigtarchiv am Handy“ am Ende der Datei */

/* Unter 400 px eine Spalte: zweispaltig zeigte „Sortierung“ nur „Neueste zu…“ (Handy-Prüfung 19.10.2026, Befund 11) */
@media (max-width: 400px) {
	.fhd-archiv__felder {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 480px) {
	.fhd-archiv__suche {
		padding-left: 14px;
	}

	.fhd-archiv__suchknopf {
		padding: 0 14px;
	}

	.fhd-archiv__buecher,
	.fhd-archiv__testament--nt .fhd-archiv__buecher {
		columns: 1;
	}
}

/* ==========================================================================
   Predigtseite
   ========================================================================== */

.fhd-predigtkopf {
	display: grid;
	grid-template-columns: clamp(128px, 15vw, 212px) minmax(0, 1fr);
	grid-template-areas:
		"cover haupt"
		"fakten fakten";
	gap: clamp(20px, 3vw, 40px) clamp(24px, 4vw, 52px);
	align-items: center;
}

.fhd-predigtkopf__cover {
	grid-area: cover;
	align-self: start;
}

.fhd-predigtkopf__cover .fhd-cover {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--wp--custom--radius--gross);
}

.fhd-predigtkopf__haupt {
	grid-area: haupt;
	min-width: 0;
}

.fhd-predigtkopf__datum {
	margin: 0 0 10px;
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 600;
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-predigtkopf__titel {
	margin: 0;
	max-width: 22ch;
	font-family: var(--wp--preset--font-family--titel);
	font-size: var(--wp--preset--font-size--h-2);
	font-weight: 650;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--espresso);
}

.fhd-predigtkopf__aktionen {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-top: clamp(22px, 2.6vw, 32px);
}

.fhd-predigtkopf__anhoeren {
	display: grid;
	gap: 2px;
	margin-left: -12px; /* rückt an den Kreis, der Abstand der Zeile gilt zwischen Gruppen */
	font-size: var(--wp--preset--font-size--klein);
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-predigtkopf__anhoeren strong {
	font-family: var(--wp--preset--font-family--titel);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--wp--preset--color--espresso);
}

.fhd-predigtkopf__weitere {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 22px;
}

.fhd-predigtkopf__laden {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-block: 7px;
	color: var(--wp--preset--color--espresso);
}

.fhd-predigtkopf__laden .fhd-icon {
	width: 20px;
	height: 20px;
	flex: none;
}

.fhd-predigtkopf__folgt {
	margin: 0;
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-predigtkopf__fakten {
	grid-area: fakten;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0;
	border-top: 2px solid var(--wp--preset--color--espresso);
	border-bottom: 1px solid var(--wp--preset--color--linie);
}

.fhd-predigtkopf__fakten > div {
	flex: 1 1 150px;
	min-width: 0;
	padding: 16px 24px 16px 0;
}

.fhd-predigtkopf__fakten > div + div {
	padding-left: 24px;
	border-left: 1px solid var(--wp--preset--color--linie);
}

.fhd-predigtkopf__fakten dt {
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 600;
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-predigtkopf__fakten dd {
	margin: 4px 0 0;
	font-family: var(--wp--preset--font-family--titel);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--espresso);
}

.fhd-predigtkopf__fakten dd a {
	font-weight: 600;
	color: inherit;
}

/* Der Kopf steht breit, der Predigttext darunter in Lesebreite */
.fhd-predigt .fhd-predigtkopf + * {
	margin-top: clamp(32px, 4vw, 56px);
}

.fhd-predigt__zurueck {
	margin-top: clamp(32px, 4vw, 48px);
}

@media (max-width: 720px) {
	.fhd-predigtkopf {
		grid-template-columns: 88px minmax(0, 1fr);
		grid-template-areas:
			"cover datum"
			"cover titel"
			"aktionen aktionen"
			"fakten fakten";
		grid-template-rows: auto 1fr;
		gap: 8px 18px;
		align-items: start;
	}

	.fhd-predigtkopf__haupt {
		display: contents;
	}

	.fhd-predigtkopf__cover {
		align-self: start;
	}

	.fhd-predigtkopf__datum {
		grid-area: datum;
		margin: 0;
	}

	.fhd-predigtkopf__titel {
		grid-area: titel;
		font-size: clamp(1.625rem, 1.2rem + 2vw, 2rem);
	}

	.fhd-predigtkopf__aktionen {
		grid-area: aktionen;
		margin-top: 18px;
	}

	.fhd-predigtkopf__fakten {
		margin-top: 16px;
	}

	.fhd-predigtkopf__fakten > div {
		flex-basis: 45%;
		padding: 12px 12px 12px 0;
		border-left: 0 !important;
		padding-left: 0 !important;
	}
}

/* ---------------------------------------------------------------- Weiterhören */

.fhd-weiterhoeren {
	display: grid;
	gap: clamp(40px, 5vw, 64px) clamp(32px, 5vw, 80px);
	margin-top: clamp(64px, 8vw, 112px);
	padding-top: clamp(32px, 4vw, 48px);
	border-top: 1px solid var(--wp--preset--color--linie);
}

@media (min-width: 981px) {
	.fhd-weiterhoeren:not(.fhd-weiterhoeren--1) {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	}

	.fhd-weiterhoeren--3 > :first-child {
		grid-row: span 2;
	}
}

/* Kopf jeder Gruppe: Überschrift, darunter der Link ins gefilterte Archiv — immer untereinander. Vorher stand der Link
   rechts daneben, solange er passte, und rutschte bei längeren Namen darunter; zwei Gruppen nebeneinander sahen dann
   verschieden aus (QA 24.09.2026). */
.fhd-weiterhoeren__kopf {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	margin-bottom: 14px;
}

.fhd-weiterhoeren__kopf h2 {
	margin: 0;
	font-size: var(--wp--preset--font-size--h-3);
}

.fhd-weiterhoeren__alle {
	font-size: var(--wp--preset--font-size--klein);
	color: var(--wp--preset--color--espresso);
	padding-block: 7px;
}

.fhd-weiterhoeren .fhd-predigt-liste__datum {
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	.fhd-teilen-menue {
		animation: none;
	}

	.fhd-archiv__ergebnis,
	.fhd-archiv__testament-pfeil {
		transition: none;
	}
}

/* ==========================================================================
   Predigtseite in Farbflächen: der Kopf auf einem Band in Fläche (bis 19.10.2026 „Dunkel“), Weiterhören auf Fläche
   (Gruppen-Stile „Dunkel" und „Fläche" des Themes — im Editor umschaltbar)
   ========================================================================== */

.fhd-inhalt.fhd-predigt {
	padding-top: 0;
	padding-bottom: 0;
}

.fhd-inhalt.fhd-predigt > .fhd-predigt__band {
	margin-block-start: 0;
}

/* Helles Band: unten die 1-px-Kante über die ganze Fensterbreite, damit es sich von „Weiterhören“ (ebenfalls Fläche)
   löst, wenn die Predigt keinen Text hat */
.fhd-inhalt.fhd-predigt > .fhd-predigt__band:not(.is-style-dunkel) {
	position: relative;
}

.fhd-inhalt.fhd-predigt > .fhd-predigt__band:not(.is-style-dunkel)::after {
	content: "";
	position: absolute;
	left: calc(50% - 50vw);
	right: calc(50% - 50vw);
	bottom: 0;
	height: 1px;
	background: var(--wp--preset--color--linie);
}

.fhd-inhalt.fhd-predigt > .wp-block-post-content:not(:empty) {
	padding-block: clamp(40px, 5vw, 72px);
}

.fhd-inhalt.fhd-predigt > .fhd-predigt__weiter {
	margin-block-start: 0;
}

.is-style-dunkel .fhd-predigtkopf__datum,
.is-style-dunkel .fhd-predigtkopf__anhoeren,
.is-style-dunkel .fhd-predigtkopf__fakten dt,
.is-style-dunkel .fhd-predigtkopf__folgt {
	color: var(--wp--preset--color--auf-dunkel-leise);
}

.is-style-dunkel :is(.fhd-predigtkopf__titel, .fhd-predigtkopf__anhoeren strong, .fhd-predigtkopf__fakten dd) {
	color: var(--wp--preset--color--papier);
}

.is-style-dunkel .fhd-predigtkopf__cover .fhd-cover {
	outline: 1px solid var(--wp--preset--color--espresso-3);
	outline-offset: -1px;
}

.is-style-dunkel .fhd-predigtkopf__fakten {
	border-top-color: color-mix(in srgb, var(--wp--preset--color--auf-dunkel) 55%, transparent);
	border-bottom: 0;
}

.is-style-dunkel .fhd-predigtkopf__fakten > div + div {
	border-left-color: var(--wp--preset--color--espresso-3);
}

.is-style-dunkel .fhd-predigtkopf__laden {
	color: var(--wp--preset--color--auf-dunkel);
}

.is-style-flaeche .fhd-weiterhoeren {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.fhd-predigt__weiter .fhd-predigt__zurueck {
	margin: clamp(32px, 4vw, 48px) 0 0;
}

/* Gibt es nichts zum Weiterhören, bleibt nur der Link „Alle Predigten“ — dann ohne eigene Fläche */
.fhd-inhalt.fhd-predigt > .fhd-predigt__weiter:not(:has(.fhd-weiterhoeren)) {
	background: transparent;
	box-shadow: none;
	padding-top: 0 !important;
}

.fhd-predigt__weiter:not(:has(.fhd-weiterhoeren)) .fhd-predigt__zurueck {
	margin-top: clamp(32px, 4vw, 48px);
}

/* ---------------------------------------------------------------- Telefon: Feinschliff */

@media (max-width: 560px) {
	/* Teilen auf der Bühne nur als Symbol — Platz für die Überschrift */
	.fhd-archiv__kopf .fhd-teilen--knopf {
		width: 48px;
		padding: 0;
		justify-content: center;
	}

	.fhd-archiv__kopf .fhd-teilen--knopf > span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	/* Mit Skript sucht das Feld schon beim Tippen: der Knopf „Suchen“ darf gehen, das Feld bekommt die Breite */
	.fhd-archiv-js .fhd-archiv__suchknopf {
		display: none;
	}

	.fhd-archiv__suche {
		min-height: 58px;
		padding-right: 14px;
	}
}

/* ==========================================================================
   Merkliste, Merken, Hörstatus (22.09.2026, ADR 0007)
   Markup aus fhd-kern: inc/merkliste.php (fhd_kern_merken_knopf, fhd_kern_hoerstatus), blocks/predigt-merkliste.
   Zustände setzt assets/merkliste.js: aria-pressed am Merken-Knopf, data-art und --anteil am Hörstatus.
   - Merken ist ein Umschalter: gemerkt = das Lesezeichen gefüllt (hintere Duotone-Lage voll deckend); der beschriftete
     Knopf steht dann dunkel wie ein gewählter Chip. Kein Amber — Amber bleibt Abspielen und Links.
   - Der Hörstatus ist Anzeige, kein Bedienelement: Balken in Espresso auf Linie, Haken in der Textfarbe — nie Amber.
   ========================================================================== */

/* ---------------------------------------------------------------- Merken-Knopf */

.fhd-merken {
	font: inherit;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.fhd-merken .fhd-icon {
	width: 22px;
	height: 22px;
	flex: none;
}

.fhd-merken .fhd-icon__flaeche {
	transition: opacity var(--wp--custom--uebergang);
}

.fhd-merken[aria-pressed="true"] .fhd-icon__flaeche {
	opacity: 1;
}

/* Nur Symbol (Listen, Tabelle, Karte): wie der Teilen-Knopf daneben — 44 px, 6 px, ruhig bis zum Zeigen */
.fhd-merken--symbol {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--radius--klein);
	background: transparent;
	color: var(--wp--preset--color--tinte-leise);
	transition: background-color var(--wp--custom--uebergang), color var(--wp--custom--uebergang);
}

.fhd-merken--symbol:hover {
	background: var(--wp--preset--color--flaeche-2);
	color: var(--wp--preset--color--espresso);
}

.fhd-merken--symbol[aria-pressed="true"] {
	color: var(--wp--preset--color--espresso);
}

.is-style-dunkel .fhd-merken--symbol {
	color: var(--wp--preset--color--auf-dunkel-leise);
}

.is-style-dunkel .fhd-merken--symbol:hover {
	background: color-mix(in srgb, var(--wp--preset--color--auf-dunkel) 10%, transparent);
	color: var(--wp--preset--color--auf-dunkel);
}

.is-style-dunkel .fhd-merken--symbol[aria-pressed="true"] {
	color: var(--wp--preset--color--papier);
}

/* Mit Beschriftung (Predigtseite): Maße des Teilen-Knopfs, gemerkt dunkel wie ein gewählter Chip */
.fhd-merken--knopf {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px 0 18px;
	border: 1.5px solid var(--wp--preset--color--espresso);
	border-radius: var(--wp--custom--radius--gross);
	background: transparent;
	color: var(--wp--preset--color--espresso);
	font-family: var(--wp--preset--font-family--text);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	transition: background-color var(--wp--custom--uebergang), color var(--wp--custom--uebergang), transform var(--wp--custom--uebergang);
}

.fhd-merken--knopf .fhd-icon {
	width: 20px;
	height: 20px;
}

.fhd-merken--knopf:hover {
	background: color-mix(in srgb, var(--wp--preset--color--espresso) 6%, transparent);
}

.fhd-merken--knopf:active {
	transform: scale(0.985);
}

.fhd-merken--knopf[aria-pressed="true"] {
	background: var(--wp--preset--color--espresso);
	color: var(--wp--preset--color--papier);
}

.fhd-merken--hell,
.is-style-dunkel .fhd-merken--knopf {
	border-color: color-mix(in srgb, var(--wp--preset--color--auf-dunkel) 70%, transparent);
	color: var(--wp--preset--color--auf-dunkel);
}

.fhd-merken--hell:hover,
.is-style-dunkel .fhd-merken--knopf:hover {
	background: color-mix(in srgb, var(--wp--preset--color--auf-dunkel) 10%, transparent);
	border-color: var(--wp--preset--color--auf-dunkel);
}

.fhd-merken--hell[aria-pressed="true"],
.is-style-dunkel .fhd-merken--knopf[aria-pressed="true"] {
	background: var(--wp--preset--color--auf-dunkel);
	border-color: var(--wp--preset--color--auf-dunkel);
	color: var(--wp--preset--color--espresso);
}

/* ---------------------------------------------------------------- Hörstatus */

.fhd-hoerstatus {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	font-family: var(--wp--preset--font-family--text);
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 500;
	line-height: 1.3;
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-hoerstatus[hidden] {
	display: none;
}

/* Balken: wie weit gehört — 56 px, 4 px, Espresso auf Linie */
.fhd-hoerstatus__balken {
	position: relative;
	flex: none;
	width: 56px;
	height: 4px;
	border-radius: 2px;
	overflow: hidden;
	background: var(--wp--preset--color--linie);
}

.fhd-hoerstatus__balken i {
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--anteil, 0%);
	background: var(--wp--preset--color--espresso);
	border-radius: inherit;
}

.fhd-hoerstatus__haken {
	width: 18px;
	height: 18px;
	flex: none;
}

.fhd-hoerstatus:not([data-art="angefangen"]) .fhd-hoerstatus__balken,
.fhd-hoerstatus:not([data-art="gehoert"]) .fhd-hoerstatus__haken {
	display: none;
}

.fhd-hoerstatus[data-art="gehoert"] {
	color: var(--wp--preset--color--tinte);
}

.is-style-dunkel .fhd-hoerstatus,
.fhd-predigt-liste:is(.is-style-dunkel *) .fhd-hoerstatus {
	color: var(--wp--preset--color--auf-dunkel-leise);
}

.is-style-dunkel .fhd-hoerstatus[data-art="gehoert"] {
	color: var(--wp--preset--color--auf-dunkel);
}

.is-style-dunkel .fhd-hoerstatus__balken {
	background: var(--wp--preset--color--espresso-3);
}

.is-style-dunkel .fhd-hoerstatus__balken i {
	background: var(--wp--preset--color--auf-dunkel);
}

/* Predigtseite: der Status steht unter „Anhören · 43 Min.“ */
.fhd-predigtkopf__anhoeren .fhd-hoerstatus {
	margin-top: 4px;
}

/* ---------------------------------------------------------------- Zeilen, Tabelle, Karte */

/* Predigtliste: Kreis und Text fest, alles Weitere (Datum, Merken) bekommt eine eigene Spalte nach Bedarf */
.fhd-predigt-liste > .fhd-predigt-liste__eintrag {
	grid-template-columns: 46px minmax(0, 1fr);
	grid-auto-flow: column;
	grid-auto-columns: auto;
}

.fhd-predigt-liste__eintrag > .fhd-merken {
	margin-right: -6px; /* das Symbol steht auf der Kante der Zeile, wie der Teilen-Knopf in der Tabelle */
}

/* Tabelle: Merken und Teilen in einer Zelle */
.fhd-archiv__tabelle :is(th, td).fhd-archiv__teilen {
	width: 96px;
	white-space: nowrap;
}

.fhd-archiv__tabelle td.fhd-archiv__teilen > * {
	vertical-align: middle;
}

.fhd-archiv__titel-zelle .fhd-hoerstatus {
	margin-top: 5px;
}

/* Karte „Letzte Predigt“: rechts Merken und der Link zum Archiv nebeneinander */
.fhd-predigt-karte__ende {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px 14px;
	margin: 0;
}

.fhd-predigt-karte__ende > .fhd-merken {
	margin-right: -8px;
}

/* Handy: knappe Fußzeile unter einer Linie — links „Alle Predigten“, rechts Merken, beide 44 px hoch (13.10.2026:
   9 statt 14 px Abstand darüber, kein Innenabstand mehr über dem Link) */
@media (max-width: 720px) {
	.fhd-predigt-karte__ende {
		grid-column: 1 / -1;
		grid-row: 5;
		justify-content: space-between;
		min-height: 44px;
		margin-top: 9px;
		border-top: 1px solid var(--wp--preset--color--linie);
	}

	.fhd-predigt-karte--schlicht .fhd-predigt-karte__ende {
		border-top: 0;
	}

	.fhd-predigt-karte__ende .fhd-predigt-karte__weiter {
		order: -1;
		margin: 0;
		padding: 0;
		border: 0;
	}
}

/* ---------------------------------------------------------------- Ansicht „Meine Merkliste“ */

.fhd-merkliste {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(32px, 4vw, 48px) clamp(32px, 5vw, 80px);
}

/* Im Archiv: ein Band in Fläche über die volle Breite, direkt unter Bühne bzw. Filtern — wie die aufklappbaren Bereiche.
   Oben hebt es den Abstand von .fhd-archiv__unten auf, damit es an die Bühne stößt. */
.fhd-archiv__unten > .fhd-merkliste {
	margin: calc(-1 * clamp(28px, 3.5vw, 44px)) calc(50% - 50vw) clamp(32px, 4vw, 48px);
	padding: clamp(32px, 4vw, 52px) calc(50vw - 50%);
	background: var(--wp--preset--color--flaeche);
}

.fhd-merkliste[hidden] {
	display: none;
}

/* Merkliste führt, Angefangen begleitet (Keine-Hälften-Regel); darunter reicht die Breite nicht für zwei Listen */
@media (min-width: 1100px) {
	.fhd-merkliste--zwei {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	}

	.fhd-merkliste--zwei .fhd-merkliste__teil--geteilt {
		grid-column: 1 / -1;
	}
}

.fhd-merkliste__teil[hidden] {
	display: none;
}

.fhd-merkliste__teil {
	min-width: 0;
}

.fhd-merkliste__kopf {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--wp--preset--color--espresso);
}

.fhd-merkliste__titel {
	margin: 0;
	font-family: var(--wp--preset--font-family--titel);
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--espresso);
}

.fhd-merkliste__titel:focus {
	outline: none;
}

.fhd-merkliste__titel:focus-visible {
	outline: 3px solid var(--wp--preset--color--espresso);
}

.fhd-merkliste__zahl {
	margin: 0;
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 600;
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-merkliste__zahl:empty {
	display: none;
}

/* Einklappen ab drei Einträgen (12.11.2026): Knopf rechts im Kopf, leise wie „Alle entfernen“, mit Pfeil. Eingeklappt
   bleibt vom Teil nur der Kopf mit Zahl stehen; mit dem Zeiger klappt auch ein Klick auf Überschrift oder Zahl (merkliste.js). */
.fhd-merkliste__klappe {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin: -10px -4px -10px auto;
	padding: 0 4px;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--espresso);
	font-family: var(--wp--preset--font-family--text);
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 600;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.fhd-merkliste__klappe[hidden] {
	display: none;
}

.fhd-merkliste__klappe-text {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--amber);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
	transition: text-decoration-color var(--wp--custom--uebergang);
}

.fhd-merkliste__klappe:hover .fhd-merkliste__klappe-text {
	text-decoration-color: var(--wp--preset--color--espresso);
}

.fhd-merkliste__klappe .fhd-merkliste__klappe-pfeil {
	width: 16px;
	height: 16px;
	flex: none;
	rotate: 180deg;
	transition: rotate 200ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fhd-merkliste__klappe[aria-expanded="false"] .fhd-merkliste__klappe-pfeil {
	rotate: 0deg;
}

.fhd-merkliste__kopf:has(.fhd-merkliste__klappe:not([hidden])) {
	cursor: pointer;
}

.fhd-merkliste__inhalt[hidden] {
	display: none;
}

.fhd-merkliste__aktionen {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin: 18px 0 8px;
}

/* Abspielen löst aus: Amber, flach, 48 px wie der Teilen-Knopf daneben */
.fhd-merkliste__abspielen {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px 0 18px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--amber-tief) 55%, transparent);
	border-radius: var(--wp--custom--radius--gross);
	background: var(--wp--preset--color--amber);
	color: var(--wp--preset--color--espresso);
	font-family: var(--wp--preset--font-family--text);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--wp--custom--uebergang), transform var(--wp--custom--uebergang);
}

.fhd-merkliste__abspielen .fhd-icon {
	width: 18px;
	height: 18px;
}

.fhd-merkliste__abspielen:hover {
	background: var(--wp--preset--color--amber-hover);
}

.fhd-merkliste__abspielen:active {
	transform: scale(0.985);
}

.fhd-merkliste__knopf {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px 0 18px;
	border: 1.5px solid var(--wp--preset--color--espresso);
	border-radius: var(--wp--custom--radius--gross);
	background: transparent;
	color: var(--wp--preset--color--espresso);
	font-family: var(--wp--preset--font-family--text);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color var(--wp--custom--uebergang), transform var(--wp--custom--uebergang);
}

.fhd-merkliste__knopf .fhd-icon {
	width: 20px;
	height: 20px;
}

.fhd-merkliste__knopf:hover {
	background: color-mix(in srgb, var(--wp--preset--color--espresso) 6%, transparent);
}

.fhd-merkliste__knopf:active {
	transform: scale(0.985);
}

/* Leise Handlungen (Alle entfernen, Gehörte entfernen, Verlauf löschen): wie ein Textlink — Espresso mit Amber-Strich */
.fhd-merkliste__textknopf {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 4px;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--espresso);
	font-family: var(--wp--preset--font-family--text);
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--amber);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
	cursor: pointer;
	transition: text-decoration-color var(--wp--custom--uebergang);
}

.fhd-merkliste__textknopf:hover {
	text-decoration-color: var(--wp--preset--color--espresso);
}

.fhd-merkliste__textknopf[hidden],
.fhd-merkliste__knopf[hidden],
.fhd-merkliste__schon[hidden] {
	display: none;
}

/* Entfernen rückt nach rechts, weg vom Abspielen */
.fhd-merkliste__leise {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0 16px;
	margin-left: auto;
}

.fhd-merkliste__schon {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 500;
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-merkliste__schon .fhd-icon {
	width: 20px;
	height: 20px;
}

.fhd-merkliste__leer {
	margin: 14px 0 0;
	color: var(--wp--preset--color--tinte);
}

/* Die Listen: Zeilen der hellen Predigtliste; die erste Linie stellt der Kopf */
.fhd-merkliste .fhd-predigt-liste > .fhd-predigt-liste__eintrag:first-child {
	border-top: 0;
}

.fhd-merkliste .fhd-predigt-liste > .fhd-predigt-liste__eintrag {
	padding-block: 14px;
}

/* „Angefangen“: Am Ende jeder Zeile nimmt ein X genau diese Predigt aus dem Hörverlauf (13.10.2026, Lukas: „auch einzelne
   löschen können aus der Liste und nicht nur den ganzen Verlauf“). Ein kleines Bedienelement wie der Merken-Knopf
   daneben: 44 px, 6 px, Tinte leise, beim Zeigen Fläche 2 — kein Amber, es löst nichts aus, es räumt auf. Merken und X
   stehen ohne Lücke nebeneinander (zwei Tippflächen von 44 px), damit dem Titel am Handy die Breite bleibt. */
.fhd-merkliste__entfernen {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0 -6px 0 -18px; /* links: hebt den Spaltenabstand der Zeile auf; rechts: auf die Kante der Zeile wie der Merken-Knopf */
	padding: 0;
	border: 0;
	border-radius: var(--wp--custom--radius--klein);
	background: transparent;
	color: var(--wp--preset--color--tinte-leise);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color var(--wp--custom--uebergang), color var(--wp--custom--uebergang);
}

.fhd-merkliste__entfernen .fhd-icon {
	width: 18px;
	height: 18px;
}

.fhd-merkliste__entfernen:hover {
	background: var(--wp--preset--color--flaeche-2);
	color: var(--wp--preset--color--espresso);
}

.fhd-merkliste__entfernen:active {
	background: var(--wp--preset--color--linie);
}

.fhd-predigt-liste__eintrag--mit-entfernen > .fhd-merken {
	margin-right: 0;
}

/* Am Handy stehen Merken und X übereinander statt nebeneinander: Die Zeile ist dort ohnehin hoch (Titel, Metazeile über
   mehrere Zeilen, Hörstatus), und dem Text bleibt die Breite — mit zwei Knöpfen nebeneinander wären es bei 360 px nur
   rund 170 px. Kreis und Text reichen über beide Rasterzeilen, die zwei Knöpfe teilen sich die Höhe und stoßen in der
   Mitte aneinander (zwei Tippflächen von 44 px). */
@media (max-width: 520px) {
	.fhd-merkliste .fhd-predigt-liste > .fhd-predigt-liste__eintrag--mit-entfernen {
		grid-template-columns: 46px minmax(0, 1fr) 44px;
		grid-template-rows: 1fr 1fr;
		gap: 0 12px;
	}

	.fhd-predigt-liste__eintrag--mit-entfernen > :is(.fhd-play, .fhd-predigt-liste__text) {
		grid-row: 1 / span 2;
	}

	.fhd-predigt-liste__eintrag--mit-entfernen > .fhd-merken {
		grid-column: 3;
		grid-row: 1;
		align-self: end;
		margin: 0 -6px 0 0;
	}

	.fhd-predigt-liste__eintrag--mit-entfernen > .fhd-merkliste__entfernen {
		grid-column: 3;
		grid-row: 2;
		align-self: start;
		margin: 0 -6px 0 0;
	}
}

/* Meldung nach dem Entfernen: „Aus ‚Angefangen‘ entfernt · Rückgängig“, 8 s unten im Fenster — dieselbe Gestalt wie die
   Meldung des Players nach dem Schließen (Espresso, 10 px, „Rückgängig“ in Amber mit 44 px Höhe; player.css). Sie hängt
   am <body> (assets/merkliste.js). Läuft der Player, steht sie über seiner Leiste (--fhd-player-hoehe setzt player.js);
   steht gerade dessen eigene Meldung da, rückt sie darüber. */
.fhd-merk-meldung {
	position: fixed;
	left: 10px;
	right: 10px;
	bottom: calc(max(14px, env(safe-area-inset-bottom, 0px)) + var(--fhd-player-hoehe, 0px));
	z-index: 52; /* über der Player-Leiste (50), unter der schwebenden Stellen-Liste (55) und der Vers-Vorschau (60) */
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 4px;
	width: max-content;
	max-width: calc(100% - 20px);
	margin: 0 auto;
	padding: 4px 4px 4px 16px;
	border-radius: var(--wp--custom--radius--gross);
	background: var(--wp--preset--color--espresso);
	color: var(--wp--preset--color--auf-dunkel);
	box-shadow: var(--wp--custom--schatten--player);
	font-family: var(--wp--preset--font-family--text);
	font-size: var(--wp--preset--font-size--klein);
	line-height: 1.3;
}

.fhd-merk-meldung[hidden] {
	display: none;
}

body:has(.fhd-player-meldung.sichtbar) .fhd-merk-meldung {
	bottom: calc(max(14px, env(safe-area-inset-bottom, 0px)) + 60px);
}

.fhd-merk-meldung__rueckgaengig {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: var(--wp--custom--radius--klein);
	background: transparent;
	color: var(--wp--preset--color--amber);
	font: inherit;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color var(--wp--custom--uebergang);
}

.fhd-merk-meldung__rueckgaengig:hover {
	background: color-mix(in srgb, var(--wp--preset--color--auf-dunkel) 8%, transparent);
}

/* Fokus wie überall auf Dunkel: Amber-Ring mit Espresso-Hof */
.fhd-merk-meldung__rueckgaengig:focus-visible {
	outline: 3px solid var(--wp--preset--color--amber);
	outline-offset: 2px;
	box-shadow: none;
}

/* Fuß: Schalter „Hörfortschritt merken“ und „Verlauf löschen“ */
.fhd-merkliste__fuss {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 28px;
	padding-top: 14px;
	border-top: 1px solid var(--wp--preset--color--linie);
	font-size: var(--wp--preset--font-size--klein);
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-merkliste__fuss:focus {
	outline: none;
}

.fhd-merkliste__verlauf {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 20px;
}

/* Schalter „Hörfortschritt merken“: echtes Kästchen (role=switch) über der Bahn — Tastatur, Bildschirmleser, Touch */
.fhd-schalter {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 600;
	color: var(--wp--preset--color--espresso);
	cursor: pointer;
}

.fhd-schalter input {
	position: absolute;
	left: 0;
	top: 50%;
	width: 40px;
	height: 24px;
	margin: 0;
	transform: translateY(-50%);
	opacity: 0;
	cursor: pointer;
}

.fhd-schalter__bahn {
	position: relative;
	flex: none;
	width: 40px;
	height: 24px;
	border: 1.5px solid var(--wp--preset--color--tinte-leise);
	border-radius: 12px;
	background: var(--wp--preset--color--papier);
	transition: background-color var(--wp--custom--uebergang), border-color var(--wp--custom--uebergang);
}

.fhd-schalter__bahn::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--wp--preset--color--tinte-leise);
	transition: transform var(--wp--custom--uebergang), background-color var(--wp--custom--uebergang);
}

.fhd-schalter input:checked + .fhd-schalter__bahn {
	border-color: var(--wp--preset--color--espresso);
	background: var(--wp--preset--color--espresso);
}

.fhd-schalter input:checked + .fhd-schalter__bahn::after {
	transform: translateX(16px);
	background: var(--wp--preset--color--papier);
}

.fhd-schalter input:focus-visible + .fhd-schalter__bahn {
	outline: 3px solid var(--wp--preset--color--espresso);
	outline-offset: 3px;
	box-shadow: 0 0 0 7px color-mix(in srgb, var(--wp--preset--color--amber) 45%, transparent);
}

@media (max-width: 560px) {
	.fhd-merkliste__leise {
		margin-left: 0;
	}

	.fhd-merkliste__abspielen,
	.fhd-merkliste__knopf,
	.fhd-merkliste__aktionen .fhd-teilen--knopf {
		flex: 1 1 auto;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fhd-merken,
	.fhd-merken .fhd-icon__flaeche,
	.fhd-merkliste__entfernen,
	.fhd-merk-meldung__rueckgaengig,
	.fhd-merkliste__abspielen,
	.fhd-merkliste__knopf,
	.fhd-schalter__bahn,
	.fhd-schalter__bahn::after {
		transition: none;
	}
}

/* ==========================================================================
   Bibelstellen der Predigten (08.10.2026, Lukas: „die Bibelstellen trennen, wenn es mehrere sind, ggf. maximal 2–3
   anzeigen und den Rest durch Hovern oder so“; als Marken seit 13.10.2026)
   Markup aus fhd-kern: fhd_kern_stellen_html() in inc/bibelstellen.php, Verhalten in assets/bibelstellen.js.
     span.fhd-stellen (--zeile | --spalte | --alle) > span.__liste (span.__stelle, span.__punkt)
       + button.__mehr („+2“) + span.__blase (die übrigen Stellen, schwebt)
   Jede Stelle ist ein Knopf mit Vers-Vorschau (button.fhd-bibelstelle--predigt), ein Link ins Archiv zum Bibelbuch
   (a.fhd-stellen__buchlink) oder Text.
   - Die Marke (13.10.2026, Lukas: „die Bibelstelle leicht umranden oder so, dass man sieht, dass man dort auch direkt
     anklicken kann und nicht erst nach dem Ausklappen“): Jede Stelle mit Vers-Vorschau trägt einen feinen Rahmen —
     1 px Linie, 6 px, Papier, ohne Unterstreichung. Beim Zeigen Rand in Espresso auf Fläche, gedrückt Fläche 2, offen
     (die Vorschau steht) Rand in Espresso auf einem Hauch Amber wie die offene Stelle im Fließtext. Im Fließtext
     (Grundlagentexte, style.css 14s) bleibt die Stelle gepunktet unterstrichen.
   - „+2“ gehört dazu und zählt nur: gleiche Höhe, gleicher Rand und Radius, aber gefüllt (Fläche 2) und halbfett. Die
     Marke öffnet den Vers, „+2“ zeigt weitere Stellen.
   - Stellen ohne fassbare Verse führen ins Archiv zum Bibelbuch und bleiben Textlinks (unterstrichen): anderes Ziel,
     anderes Aussehen.
   - Finger statt Maus: Wo die Marke in einer dichten Zeile steht (Liste, Karte, Handy-Archiv), reicht ihre Tippfläche
     unsichtbar auf 44 px Höhe; wo Platz ist (Predigtseite, aufgeklappte Archivzeile, Tabelle am Tablet), ist sie
     selbst 44 px hoch.
   - Die schwebende Liste hinter „+2“: Papier, 10 px, Schatten „Ruhe“ wie die Vers-Vorschau; ihre Zeilen sind 44 px
     hoch und tragen keinen eigenen Rahmen.
   ========================================================================== */

.fhd-stellen__stelle {
	white-space: nowrap;
}

/* Die Zahlen einer Stelle („24,10–27“) bleiben immer zusammen. Wo eine Stelle umbrechen darf — Predigtseite, Spalte der
   Tabelle, aufgeklappte Zeile —, bricht sie deshalb nur zwischen Buch und Kapitel. */
.fhd-stellen__zahl {
	white-space: nowrap;
}

/* ---------------------------------------------------------------- Die Marke */

button.fhd-bibelstelle--predigt {
	display: inline-block;
	max-width: 100%;
	padding: 2px 7px;
	border: 1px solid var(--wp--preset--color--linie);
	border-radius: var(--wp--custom--radius--klein);
	background: var(--wp--preset--color--papier);
	color: var(--wp--preset--color--tinte);
	font-weight: inherit;
	line-height: 1.3;
	text-align: left;
	text-decoration: none;
	vertical-align: baseline;
	transition: border-color var(--wp--custom--uebergang), background-color var(--wp--custom--uebergang);
}

/* Nur mit Maus: Am Handy bliebe der Zustand nach dem Antippen stehen und sähe aus wie „gewählt“ */
@media (hover: hover) {
	button.fhd-bibelstelle--predigt:hover {
		border-color: var(--wp--preset--color--espresso);
		background: var(--wp--preset--color--flaeche);
	}
}

button.fhd-bibelstelle--predigt:active {
	border-color: var(--wp--preset--color--espresso);
	background: var(--wp--preset--color--flaeche-2);
}

button.fhd-bibelstelle--predigt[aria-expanded="true"] {
	border-color: var(--wp--preset--color--espresso);
	background: color-mix(in srgb, var(--wp--preset--color--amber) 20%, var(--wp--preset--color--papier));
}

/* Auf dunklem Grund (Predigtband der Startseite; ein Band im Stil „Dunkel“): Umriss in Espresso 3, beim Zeigen hell */
.is-style-dunkel button.fhd-bibelstelle--predigt {
	border-color: var(--wp--preset--color--espresso-3);
	background: transparent;
	color: var(--wp--preset--color--auf-dunkel);
}

@media (hover: hover) {
	.is-style-dunkel button.fhd-bibelstelle--predigt:hover {
		border-color: var(--wp--preset--color--auf-dunkel);
		background: color-mix(in srgb, var(--wp--preset--color--auf-dunkel) 10%, transparent);
	}
}

.is-style-dunkel button.fhd-bibelstelle--predigt:active {
	border-color: var(--wp--preset--color--auf-dunkel);
	background: color-mix(in srgb, var(--wp--preset--color--auf-dunkel) 18%, transparent);
}

.is-style-dunkel button.fhd-bibelstelle--predigt[aria-expanded="true"] {
	border-color: var(--wp--preset--color--auf-dunkel);
	background: color-mix(in srgb, var(--wp--preset--color--amber) 24%, transparent);
}

/* Ohne Vers-Vorschau (Aufzählungen, mehrere Kapitel): Link ins Archiv zum Bibelbuch — ein Textlink, keine Marke */
a.fhd-stellen__buchlink {
	font-weight: inherit;
	color: inherit;
	text-decoration-line: underline;
	text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

a.fhd-stellen__buchlink:hover {
	text-decoration-color: var(--wp--preset--color--amber);
	text-decoration-thickness: 2px;
}

/* „+2“: so hoch wie die Marke daneben, aber gefüllt und halbfett — es zählt, die Marke nennt */
.fhd-stellen__mehr {
	position: relative;
	display: inline-block;
	min-width: 34px;
	margin: 0 0 0 8px;
	padding: 2px 6px;
	border: 1px solid var(--wp--preset--color--linie);
	border-radius: var(--wp--custom--radius--klein);
	background: var(--wp--preset--color--flaeche-2);
	color: var(--wp--preset--color--espresso);
	font-family: var(--wp--preset--font-family--text);
	font-size: inherit;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1.3;
	letter-spacing: 0;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: border-color var(--wp--custom--uebergang), background-color var(--wp--custom--uebergang);
}

/* Tippfläche 46 × 46 px, ohne dass die Zeile wächst (die Breite misst ab der Innenkante des Rands: 32 + 2 × 7 px) */
.fhd-stellen__mehr::after {
	content: "";
	position: absolute;
	top: 50%;
	left: -7px;
	right: -7px;
	height: 46px;
	transform: translateY(-50%);
}

.fhd-stellen__mehr:hover,
.fhd-stellen__mehr[aria-expanded="true"] {
	border-color: var(--wp--preset--color--espresso);
}

.fhd-stellen__mehr:active {
	background: var(--wp--preset--color--linie);
}

.is-style-dunkel .fhd-stellen__mehr {
	border-color: var(--wp--preset--color--espresso-3);
	background: color-mix(in srgb, var(--wp--preset--color--auf-dunkel) 12%, transparent);
	color: var(--wp--preset--color--auf-dunkel);
}

.is-style-dunkel .fhd-stellen__mehr:hover,
.is-style-dunkel .fhd-stellen__mehr[aria-expanded="true"] {
	border-color: var(--wp--preset--color--auf-dunkel);
}

.is-style-dunkel .fhd-stellen__mehr:active {
	background: color-mix(in srgb, var(--wp--preset--color--auf-dunkel) 20%, transparent);
}

/* Die übrigen Stellen: schwebt an „+2“ (bibelstellen.js setzt top/left), jede Zeile 44 px hoch */
.fhd-stellen__blase {
	position: fixed;
	z-index: 55; /* über der Player-Leiste (50), unter der Vers-Vorschau (60) */
	top: 0;
	left: 0;
	display: grid;
	gap: 2px;
	min-width: 200px;
	max-width: min(320px, calc(100vw - 24px));
	max-height: min(60vh, 420px);
	overflow: auto;
	overscroll-behavior: contain;
	padding: 6px;
	border: 1px solid var(--wp--preset--color--linie);
	border-radius: var(--wp--custom--radius--gross);
	background: var(--wp--preset--color--papier);
	color: var(--wp--preset--color--espresso);
	box-shadow: var(--wp--custom--schatten--standard);
	font-family: var(--wp--preset--font-family--text);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
	text-align: left;
}

.fhd-stellen__blase[hidden] {
	display: none;
}

.fhd-stellen__blase .fhd-stellen__stelle {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	padding: 0 12px;
	border-radius: var(--wp--custom--radius--klein);
	transition: background-color var(--wp--custom--uebergang);
}

.fhd-stellen__blase .fhd-stellen__stelle:hover {
	background: var(--wp--preset--color--flaeche);
}

/* In der schwebenden Liste ist die ganze Zeile das Ziel; die Stelle darin trägt keinen eigenen Rahmen. Steht ihre
   Vorschau offen, liegt der Hauch Amber auf der ganzen Zeile. */
.fhd-stellen .fhd-stellen__blase .fhd-stellen__stelle > button.fhd-bibelstelle--predigt {
	position: static;
	display: inline;
	min-height: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	line-height: inherit;
}

.fhd-stellen .fhd-stellen__blase .fhd-stellen__stelle:has(> button[aria-expanded="true"]) {
	background: color-mix(in srgb, var(--wp--preset--color--amber) 20%, var(--wp--preset--color--papier));
}

.fhd-stellen .fhd-stellen__blase .fhd-stellen__stelle > :is(button, a)::after {
	content: "";
	position: absolute;
	inset: 0;
	height: auto;
	transform: none;
}

.fhd-stellen__blase .fhd-stellen__stelle > :is(button, a):focus-visible {
	outline-color: var(--wp--preset--color--espresso);
	box-shadow: 0 0 0 7px color-mix(in srgb, var(--wp--preset--color--amber) 45%, transparent);
}

/* ---------------------------------------------------------------- In der Zeile (Predigtliste, Karte „Letzte Predigt“) */

/* Die Stellen stehen als Gruppe in der Metazeile: Passt die Gruppe nicht mehr hinter den Prediger, rückt sie als Ganzes
   in die nächste Zeile; ist sie auch dort zu breit, brechen die Marken darin um — bündig untereinander, mit festem
   Abstand. „+2“ bleibt an der letzten Marke (span.__ende hält beide zusammen) und rückt mit ihr um; nur wenn beide
   zusammen breiter sind als die Spalte, steht „+2“ unter der Marke. Eine Marke, die allein breiter ist als die Spalte,
   bricht zwischen Buch und Kapitel um — nichts ragt über die Spalte hinaus, nichts endet mit Auslassung. */
.fhd-stellen__ende {
	white-space: nowrap;
}

.fhd-stellen--zeile > .fhd-stellen__liste {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	max-width: 100%;
	vertical-align: baseline;
}

.fhd-stellen--zeile > .fhd-stellen__liste > .fhd-stellen__ende {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	min-width: 0;
	max-width: 100%;
}

.fhd-stellen--zeile > .fhd-stellen__liste > .fhd-stellen__stelle,
.fhd-stellen--zeile > .fhd-stellen__liste > .fhd-stellen__ende > .fhd-stellen__stelle {
	min-width: 0;
	white-space: normal;
}

.fhd-stellen--zeile > .fhd-stellen__liste > .fhd-stellen__ende > .fhd-stellen__mehr {
	flex: none;
	margin-left: 0; /* der Abstand kommt aus der Gruppe */
}

/* Trennpunkte stehen nur noch zwischen zwei Stellen ohne Rahmen (Textlink, reiner Text): Neben einer Marke trennt der
   Rahmen. Auch der Punkt zwischen Prediger und Stellen ist nicht mehr zu sehen, wenn die erste Stelle eine Marke ist — er
   bliebe sonst am Zeilenende hängen, sobald die Gruppe in die nächste Zeile rückt (Regel darunter). */
.fhd-stellen--zeile > .fhd-stellen__liste > .fhd-stellen__stelle:has(> button.fhd-bibelstelle--predigt) + .fhd-stellen__punkt,
.fhd-stellen--zeile > .fhd-stellen__liste > .fhd-stellen__punkt:has(+ .fhd-stellen__stelle > button.fhd-bibelstelle--predigt),
.fhd-stellen--zeile > .fhd-stellen__liste > .fhd-stellen__punkt:has(+ .fhd-stellen__ende > .fhd-stellen__stelle > button.fhd-bibelstelle--predigt) {
	display: none;
}

/* Der Punkt zwischen Prediger und Stellen wird zum unsichtbaren Abstand von 8 px (er bleibt als Kasten stehen, damit
   der Abstand beim Umbruch hinter dem Prediger endet und nicht die Stellen einrückt). :where hält die Regel schwach:
   Wo der Punkt am Handy ganz entfällt, gewinnt jene Regel. */
:where(.fhd-predigt-liste__punkt, .fhd-predigt-karte__punkt):where(:has(+ .fhd-stellen--zeile > .fhd-stellen__liste > .fhd-stellen__stelle:first-child > button.fhd-bibelstelle--predigt), :has(+ .fhd-stellen--zeile > .fhd-stellen__liste > .fhd-stellen__ende:first-child > .fhd-stellen__stelle > button.fhd-bibelstelle--predigt)) {
	display: inline-block;
	width: 8px;
	height: 0;
	overflow: hidden;
	visibility: hidden;
}

/* Finger statt Maus: Marke und Textlink bleiben in der Zeile so klein, wie sie sind — ihre Tippfläche reicht unsichtbar
   auf 44 px Höhe. (Bis 13.10.2026 waren die Stellen hier nur Text: zu klein für den Finger. Gilt für die Stellen, die
   in der Zeile stehen, nicht für die in der schwebenden Liste.) Brechen die Marken um, liegen ihre Zeilen so weit
   auseinander, dass sich die Tippflächen nicht überlagern. */
@media (hover: none), (pointer: coarse) {
	.fhd-stellen--zeile > .fhd-stellen__liste,
	.fhd-stellen--zeile > .fhd-stellen__liste > .fhd-stellen__ende {
		row-gap: 20px;
	}

	.fhd-stellen--zeile > .fhd-stellen__liste > .fhd-stellen__stelle > :is(.fhd-bibelstelle, .fhd-stellen__buchlink),
	.fhd-stellen--zeile > .fhd-stellen__liste > .fhd-stellen__ende > .fhd-stellen__stelle > :is(.fhd-bibelstelle, .fhd-stellen__buchlink) {
		position: relative;
	}

	.fhd-stellen--zeile > .fhd-stellen__liste > .fhd-stellen__stelle > :is(.fhd-bibelstelle, .fhd-stellen__buchlink)::after,
	.fhd-stellen--zeile > .fhd-stellen__liste > .fhd-stellen__ende > .fhd-stellen__stelle > :is(.fhd-bibelstelle, .fhd-stellen__buchlink)::after {
		content: "";
		position: absolute;
		top: 50%;
		left: -3px;
		right: -3px;
		height: 44px;
		transform: translateY(-50%);
	}
}

/* Predigtliste am Handy: Titel, Prediger (und Datum, wo es in der Metazeile steht), darunter die Bibelstellen in ihrer
   eigenen Zeile — als Marken nebeneinander, so viele hineinpassen. */
@media (max-width: 520px) {
	.fhd-predigt-liste__meta:has(> .fhd-stellen) {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
	}

	.fhd-predigt-liste__meta:has(> .fhd-stellen) > .fhd-predigt-liste__punkt {
		display: none;
	}

	.fhd-predigt-liste__meta > .fhd-stellen {
		order: 3;
		flex: 0 0 100%;
		margin-top: 5px;
	}

	.fhd-predigt-liste__meta > .fhd-stellen > .fhd-stellen__liste {
		display: flex;
		column-gap: 6px;
	}

	.fhd-predigt-liste__meta:has(> .fhd-stellen) > .fhd-predigt-liste__von ~ .fhd-predigt-liste__tag::before {
		content: "·";
		margin-inline: 0.35em;
	}
}

/* Dasselbe in einer schmalen Spalte am Desktop: „Mehr von …“ rechts in „Weiterhören“ lässt der Metazeile bei 1280 und
   1440 px nur rund 230 bis 250 px, so wenig wie ein Handy (die Gruppe selbst ist dann 465 bis 485 px breit, abzüglich
   Play-Kreis, Datum und Merken). Die Regel hängt dort an der Breite der Gruppe, nicht des Fensters — sonst bräche die
   Metazeile auf drei Zeilen um. */
.fhd-weiterhoeren__gruppe {
	container-type: inline-size;
}

@container (max-width: 32rem) {
	.fhd-predigt-liste__meta:has(> .fhd-stellen) {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
	}

	.fhd-predigt-liste__meta:has(> .fhd-stellen) > .fhd-predigt-liste__punkt {
		display: none;
	}

	.fhd-predigt-liste__meta > .fhd-stellen {
		order: 3;
		flex: 0 0 100%;
		margin-top: 5px;
	}

	.fhd-predigt-liste__meta > .fhd-stellen > .fhd-stellen__liste {
		display: flex;
		column-gap: 6px;
	}

	.fhd-predigt-liste__meta:has(> .fhd-stellen) > .fhd-predigt-liste__von ~ .fhd-predigt-liste__tag::before {
		content: "·";
		margin-inline: 0.35em;
	}
}

/* Karte „Letzte Predigt“ am Handy (Raster: style.css, Abschnitt 3): Prediger und Stellen sind dort zwei Glieder einer
   Reihe mit eigenem Abstand. In der Vorgabe ist es eine Stelle mit „+2“; erlaubt der Block mehr, brechen sie als
   ganze Marken um. */
@media (max-width: 720px) {
	.fhd-predigt-karte__meta > .fhd-stellen {
		min-width: 0;
	}

	.fhd-predigt-karte__meta > .fhd-stellen > .fhd-stellen__liste {
		display: flex;
		column-gap: 6px;
	}
}

/* ---------------------------------------------------------------- In der Spalte (Tabelle des Archivs) */

/* Jede Stelle als Marke in ihrer eigenen Zeile, „+2“ steht direkt hinter der letzten */
.fhd-stellen--spalte,
.fhd-stellen--spalte > .fhd-stellen__liste {
	display: block;
}

.fhd-stellen--spalte > .fhd-stellen__liste > .fhd-stellen__stelle {
	display: block;
}

.fhd-stellen--spalte > .fhd-stellen__liste > :is(.fhd-stellen__stelle, .fhd-stellen__ende):not(:last-child) {
	margin-bottom: 4px;
}

.fhd-stellen--spalte .fhd-stellen__punkt {
	display: none;
}

/* Die Spalte ist fest breit: Eine Stelle, die nicht hineinpasst, bricht zwischen Buch und Kapitel um, statt die Spalte
   aufzuziehen. Ist die letzte sichtbare Stelle lang, rutscht „+2“ in die Zeile darunter — bündig unter den Stellen,
   mit demselben Abstand wie zwischen zwei Stellen. */
.fhd-stellen--spalte :is(.fhd-stellen__stelle, .fhd-stellen__ende) {
	white-space: normal;
}

.fhd-stellen--spalte > .fhd-stellen__liste > .fhd-stellen__ende {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
}

.fhd-stellen--spalte > .fhd-stellen__liste > .fhd-stellen__ende > .fhd-stellen__stelle {
	min-width: 0;
}

.fhd-stellen--spalte > .fhd-stellen__liste > .fhd-stellen__ende > .fhd-stellen__mehr {
	margin-left: 0;
}

/* Ein Textlink (Stelle ohne Vers-Vorschau) oder reiner Text, der doch umbricht, steht in der zweiten Zeile eingerückt —
   so liest er sich nicht wie eine weitere Stelle. Eine Marke braucht das nicht: Ihr Rahmen hält sie zusammen.
   Nur in der Tabelle; am Handy sind dieselben Elemente in der aufgeklappten Zeile Flächen von 44 px. */
@media (min-width: 1001px) {
	.fhd-stellen--spalte :is(a.fhd-stellen__buchlink, .fhd-stellen__stelle > .fhd-stellen__name) {
		display: inline-block;
	}

	.fhd-stellen--spalte > .fhd-stellen__liste > :is(.fhd-stellen__stelle, .fhd-stellen__ende > .fhd-stellen__stelle) > :is(a, .fhd-stellen__name) {
		padding-left: 0.9em;
		text-indent: -0.9em;
		text-align: left;
	}
}

.fhd-archiv__tabelle .fhd-archiv__stelle button.fhd-bibelstelle--predigt {
	color: var(--wp--preset--color--tinte);
}

/* Tabelle auf einem Tablet (Finger statt Maus): jede Stelle 44 px hoch, wie in der aufgeklappten Handy-Zeile */
@media (min-width: 1001px) and (pointer: coarse) {
	.fhd-stellen--spalte > .fhd-stellen__liste > :is(.fhd-stellen__stelle, .fhd-stellen__ende):not(:last-child) {
		margin-bottom: 8px;
	}

	.fhd-stellen--spalte > .fhd-stellen__liste > .fhd-stellen__ende {
		row-gap: 8px;
	}

	.fhd-stellen--spalte > .fhd-stellen__liste :is(.fhd-stellen__liste > .fhd-stellen__stelle, .fhd-stellen__ende > .fhd-stellen__stelle) > :is(button, a) {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.fhd-stellen--spalte > .fhd-stellen__liste :is(.fhd-stellen__liste > .fhd-stellen__stelle, .fhd-stellen__ende > .fhd-stellen__stelle) > button.fhd-bibelstelle--predigt {
		padding-inline: 12px;
	}
}

/* ---------------------------------------------------------------- Alle Stellen (Predigtseite, Faktenzeile) */

.fhd-stellen--alle > .fhd-stellen__liste {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.fhd-stellen--alle .fhd-stellen__punkt {
	display: none;
}

/* Im Kopf der Predigtseite stehen die Marken unter ihrer Beschriftung („Bibelstellen“) mit etwas mehr Luft: Die Schrift
   ist dort größer (Geologica 18 px) als in den Listen. */
.fhd-stellen--alle button.fhd-bibelstelle--predigt {
	padding: 4px 10px;
}

.fhd-predigtkopf__fakten dd:has(> .fhd-stellen--alle button.fhd-bibelstelle--predigt) {
	margin-top: 8px;
}

/* Finger statt Maus: jede Stelle eine Fläche von 44 px, wie in der aufgeklappten Zeile des Archivs */
@media (hover: none), (pointer: coarse) {
	.fhd-stellen--alle .fhd-stellen__stelle > :is(button, a) {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.fhd-stellen--alle .fhd-stellen__stelle > button.fhd-bibelstelle--predigt {
		padding: 0 14px;
	}
}

/* Auf der Predigtseite steht jede Stelle ganz da. Passt sie nicht in die Zeile (schmale Spalte, große Schrift), bricht
   sie zwischen Buch und Kapitel um — sie läuft nie aus dem Fenster (Nachbesserung 08.10.2026: „Apostelgeschichte
   24,10–27“ war in der rechten Faktenspalte am Handy abgeschnitten). */
.fhd-stellen--alle .fhd-stellen__stelle {
	min-width: 0;
	white-space: normal;
}

.fhd-stellen--alle .fhd-stellen__stelle > :is(button, a) {
	text-align: left;
}

/* Mehrere Stellen brauchen mehr Platz als „45 Minuten“ */
.fhd-predigtkopf__fakten > div:has(.fhd-stellen--alle:not([data-anzahl="1"])) {
	flex: 2.4 1 260px;
}

/* Am Handy stehen die Bibelstellen immer in voller Breite, auch eine einzelne: In der halben Spalte (rund 160 px)
   hat schon „2. Thessalonicher 2,13–17“ keinen Platz. */
@media (max-width: 720px) {
	.fhd-predigtkopf__fakten > div:has(.fhd-stellen--alle) {
		flex: 1 1 100%;
	}
}

/* ---------------------------------------------------------------- Vers-Vorschau: nachgeladener Text */

.fhd-vers .fhd-vers__laedt,
.fhd-vers .fhd-vers__fehler,
.fhd-vers .fhd-vers__hinweis {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--wp--preset--color--tinte-leise);
}

.fhd-vers .fhd-vers__hinweis {
	margin-top: 10px;
	font-size: var(--wp--preset--font-size--klein);
}

/* „Zu dieser Stelle ist … kein Text hinterlegt.“ steht an der Stelle des Verstexts */
.fhd-vers .fhd-vers__hinweis--fehlt {
	margin-top: 0;
	font-size: 1rem;
}

.fhd-vers .fhd-vers__archiv {
	margin: 12px 0 0;
	font-size: var(--wp--preset--font-size--klein);
	line-height: 1.5;
}

.fhd-vers .fhd-vers__archiv a {
	display: inline-block;
	padding-block: 6px;
	font-weight: 600;
	color: var(--wp--preset--color--espresso);
}

.fhd-vers .fhd-vers__archiv + .fhd-vers__quelle {
	margin-top: 6px;
}

/* Finger statt Maus: Der Link im Blatt und „Alle von …“ über den Zeilen von „Weiterhören“ sind 44 px hoch */
@media (hover: none), (pointer: coarse) {
	.fhd-vers .fhd-vers__archiv {
		margin-top: 6px;
	}

	.fhd-vers .fhd-vers__archiv a,
	.fhd-weiterhoeren__alle {
		padding-block: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	button.fhd-bibelstelle--predigt,
	.fhd-stellen__mehr,
	.fhd-stellen__blase .fhd-stellen__stelle {
		transition: none;
	}
}

/* ==========================================================================
   Predigtarchiv am Handy und auf schmalen Tablets (bis 1000 px) — neu am 08.10.2026
   Lukas: „Titel etwas kleiner, dafür nur einzeilig, darunter Name und Datum, darunter die Bibelstellen, beide Zeilen
   auch nur einzeilig, Rest dann durch Anklicken“ und „viele Nutzer werden das Handy benutzen, auch ältere“.

   Je Predigt drei ruhige Zeilen, jede einzeilig mit Auslassung:
     [Play 48]  Titel (17 px)                               [Mehr 44]
                Prediger · Datum   (dahinter leise: Balken „angefangen“ bzw. Haken „gehört“)
                [Bibelstelle] [Bibelstelle] +2   (höchstens zwei Marken, jede öffnet ihren Vers)
   Links Abspielen, in der Mitte der Textblock, rechts „Mehr“; ein Tipp auf den Textblock klappt auf (seit 26.10.2026,
   vorher führte er zur Predigt). Seit
   13.10.2026 (Lukas: „… dass man dort auch direkt anklicken kann und nicht erst nach dem Ausklappen“) sind die
   Bibelstellen der dritten Zeile Marken mit Vers-Vorschau: 44 px hohe Tippfläche, über dem Link des Textblocks.
   „Mehr“ (und „+2“) klappt die Zeile auf: voller Titel, Reihe, alle Bibelstellen als 44-px-Flächen mit
   Vers-Vorschau, Dauer, darunter „Merken“ und „Teilen“ mit Beschriftung und „Zur Predigtseite“. Aufgeklappt zeigt das
   Raster die Tabellenzellen __stelle, __dauer und __teilen unter dem Text — es gibt kein zweites Markup.
   Die Grenze lag bis 08.10.2026 bei 860 px. Seit jede Bibelstelle ungebrochen in ihrer Zeile steht, braucht die Tabelle
   mehr Breite; zwischen 861 und 1000 px ist die Liste die ruhigere Form.
   ========================================================================== */

@media (max-width: 1000px) {
	.fhd-archiv__tabelle thead {
		display: none;
	}

	.fhd-archiv__tabelle,
	.fhd-archiv__tabelle tbody {
		display: block;
	}

	.fhd-archiv__zeile {
		display: grid;
		grid-template-columns: 48px minmax(0, 1fr) 44px;
		gap: 12px;
		align-items: center;
		padding: 14px 0;
		border-bottom: 1px solid var(--wp--preset--color--linie);
	}

	.fhd-archiv__zeile:first-child {
		border-top: 2px solid var(--wp--preset--color--espresso);
	}

	.fhd-archiv__tabelle td {
		display: block;
		width: auto !important;
		padding: 0 !important;
		border: 0;
		white-space: normal;
	}

	.fhd-archiv__tabelle td:is(.fhd-archiv__prediger, .fhd-archiv__stelle, .fhd-archiv__datum, .fhd-archiv__dauer, .fhd-archiv__teilen) {
		display: none;
	}

	.fhd-archiv__tabelle td.fhd-archiv__play {
		grid-area: 1 / 1;
	}

	.fhd-archiv__tabelle .fhd-predigt-liste__play {
		--fhd-play-groesse: 48px;
	}

	.fhd-archiv__tabelle td.fhd-archiv__auf {
		display: block;
		grid-area: 1 / 3;
	}

	/* Textblock: drei Zeilen. Der Titel-Link überdeckt ihn ganz — ein großes Ziel. */
	.fhd-archiv__tabelle td.fhd-archiv__titel-zelle {
		position: relative;
		grid-area: 1 / 2;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		row-gap: 2px;
		min-width: 0;
	}

	.fhd-archiv__titellink {
		grid-column: 1 / -1;
		display: block;
		min-width: 0;
		font-size: 1.0625rem;
	}

	.fhd-archiv__titellink::after {
		content: "";
		position: absolute;
		inset: -14px -6px;
	}

	/* Seit 26.10.2026 klappt ein Tipp auf die Zeile sie auf, statt zur Predigtseite zu springen (Jaschi, 24.10.2026:
	   wird „schnell auf die Detailseite geschickt, muss zurück und verliert den Faden“; Lukas: nur am Handy). Die große
	   Fläche gehört dann dem Knopf „Mehr“ (::after über der ganzen Zeile) statt dem Titel-Link; Play, Bibelstellen, „+2“
	   und die Knöpfe der offenen Zeile liegen darüber. Zur Predigtseite führt der Knopf in der aufgeklappten Zeile. Ohne
	   Skript bleibt der Titel-Link das große Ziel (dort klappt nichts auf). */
	html.fhd-archiv-js .fhd-archiv__zeile {
		position: relative;
	}

	html.fhd-archiv-js .fhd-archiv__titellink::after {
		content: none;
	}

	html.fhd-archiv-js .fhd-archiv__mehr::after {
		content: "";
		position: absolute;
		inset: 0;
	}

	html.fhd-archiv-js .fhd-archiv__tabelle .fhd-predigt-liste__play,
	html.fhd-archiv-js .fhd-archiv__zeile.ist-offen :is(.fhd-archiv__stelle, .fhd-archiv__teilen) :is(a, button) {
		position: relative;
		z-index: 1;
	}

	.fhd-archiv__titeltext {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	/* Lange Titel etwas kleiner statt gekürzt (archiv.js, titelEinpassen; Lukas, 19.10.2026: „titel einzeilig lassen,
	   ggf bis zu einer länge dann einfach etwas kleiner“): 17 → 16 → 15 px, nicht unter die 15-px-Grenze aus DESIGN.md.
	   Die Zeilenhöhe bleibt die des 17-px-Titels, damit alle Textblöcke gleich hoch bleiben (ruhiges Raster). */
	.fhd-archiv__titeltext:is(.ist-kleiner, .ist-klein) {
		line-height: calc(1.0625rem * 1.3);
	}

	.fhd-archiv__titeltext.ist-kleiner {
		font-size: 1rem;
	}

	.fhd-archiv__titeltext.ist-klein {
		font-size: 0.9375rem;
		letter-spacing: -0.01em;
	}

	/* Reihe und Format: zugeklappt nicht zu sehen, aufgeklappt unter Prediger und Datum */
	.fhd-archiv__zusatz {
		display: none;
		order: 3;
		grid-column: 1 / -1;
		margin-top: 0;
	}

	/* Zeile 2: Reicht der Platz nicht, kürzt sich der Name — das Datum steht immer ganz da */
	/* 16 px (Nachbesserung 08.10.2026, vorher 15): Prediger und Datum sind in einer Predigtliste keine Nebenangabe;
	   dieselbe Größe wie die Zeit-Zeile der Terminliste am Handy. */
	.fhd-archiv__wer {
		order: 1;
		grid-column: 1;
		display: flex;
		min-width: 0;
		font-size: 1rem;
		line-height: 1.4;
		color: var(--wp--preset--color--tinte);
	}

	.fhd-archiv__wer-name {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.fhd-archiv__wer-punkt {
		flex: none;
		white-space: pre;
	}

	.fhd-archiv__wer time {
		flex: none;
		font-variant-numeric: tabular-nums;
	}

	/* Hörstatus in der zugeklappten Zeile: nur Balken bzw. Haken hinter dem Datum, der Wortlaut bleibt für Vorlesehilfen */
	.fhd-archiv__titel-zelle .fhd-hoerstatus {
		order: 2;
		grid-column: 2;
		margin: 0 0 0 10px;
	}

	.fhd-archiv__zeile:not(.ist-offen) .fhd-hoerstatus__balken {
		width: 40px;
	}

	.fhd-archiv__zeile:not(.ist-offen) .fhd-hoerstatus__text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.fhd-archiv__kurzstellen {
		order: 4;
		grid-column: 1 / -1;
		display: block;
		min-width: 0;
		margin-top: 3px;
		font-size: 1rem;
		line-height: 1.4;
		color: var(--wp--preset--color--tinte-leise);
	}

	.fhd-archiv__kurzstellen .fhd-stellen {
		display: flex;
		align-items: center;
		min-width: 0;
	}

	/* Eine Zeile, und darin nur Stellen, die ganz hineinpassen: Die Liste bricht um, zu sehen ist die erste Zeile. Eine
	   zweite Stelle, von der nur „1. …“ bliebe, steht so gar nicht da — archiv.js zählt sie zu „+2“ dazu (dann „+3“).
	   Nur die erste Stelle kürzt sich mit Auslassung, wenn sie allein schon zu lang ist.
	   Das Sichtfenster der Liste ist 44 px hoch (so hoch wie die Tippfläche einer Marke) und ragt dafür oben und unten
	   gleich weit über die Zeile hinaus; jede Stelle steht darin mittig. Die zweite Zeile der Liste liegt außerhalb. */
	.fhd-archiv__kurzstellen .fhd-stellen__liste {
		--fhd-marke-hoehe: calc(1.3em + 6px); /* Schrift × 1,3 + 2 × 2 px Innenabstand + 2 × 1 px Rand */
		display: flex;
		flex-wrap: wrap;
		align-content: flex-start;
		column-gap: 6px;
		min-width: 0;
		height: 44px;
		margin-block: calc((var(--fhd-marke-hoehe) - 44px) / 2);
		overflow: hidden;
		white-space: nowrap;
	}

	.fhd-archiv__kurzstellen .fhd-stellen__liste > .fhd-stellen__stelle {
		display: flex;
		align-items: center;
		min-width: 0;
		max-width: 100%;
		height: 44px;
	}

	/* Reiner Text (unbekannte Schreibweise) kürzt sich selbst; in Marke und Textlink kürzt sich der Name darin */
	.fhd-archiv__kurzstellen .fhd-stellen__liste > .fhd-stellen__stelle > .fhd-stellen__name,
	.fhd-archiv__kurzstellen .fhd-stellen__liste > .fhd-stellen__stelle > :is(button, a) > .fhd-stellen__name {
		display: block;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	/* Der Strich des Textlinks gilt auch für den Namen darin (er ist hier ein eigener Kasten, damit er sich kürzen kann) */
	.fhd-archiv__kurzstellen a.fhd-stellen__buchlink > .fhd-stellen__name {
		text-decoration: inherit;
		text-underline-offset: 3px;
	}

	/* Marke und Textlink liegen über dem Link, der den Textblock überdeckt, und sind 44 px hoch antippbar */
	.fhd-archiv__kurzstellen .fhd-stellen__liste > .fhd-stellen__stelle > :is(button, a) {
		position: relative;
		z-index: 1;
		display: inline-flex;
		min-width: 0;
		max-width: 100%;
	}

	.fhd-archiv__kurzstellen .fhd-stellen__liste > .fhd-stellen__stelle > :is(button, a)::after {
		content: "";
		position: absolute;
		top: 50%;
		left: -3px;
		right: -3px;
		height: 44px;
		transform: translateY(-50%);
	}

	/* Die Trennpunkte entfallen: Zwischen Marken trennt der Rahmen, der Abstand kommt aus der Liste */
	.fhd-archiv__kurzstellen .fhd-stellen__punkt {
		display: none;
	}

	.fhd-archiv__kurzstellen .fhd-stellen__mehr {
		flex: none;
		z-index: 1; /* über dem Link, der den Textblock überdeckt */
	}

	.fhd-archiv__kurzstellen .fhd-stellen__mehr[hidden] {
		display: none;
	}

	/* „Mehr“: klappt die Zeile auf. Ohne Rahmen, nur der Linienpfeil in Tinte leise (14.10.2026, Lukas: „der Dropdownpfeil
	   soll dezenter sein, eventuell einfach ohne Umrandung“); die Tippfläche bleibt 44 px, beim Zeigen und offen Fläche. */
	.fhd-archiv__mehr {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 1px solid transparent;
		border-radius: var(--wp--custom--radius--klein);
		background: transparent;
		color: var(--wp--preset--color--tinte-leise);
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
		transition: background-color var(--wp--custom--uebergang), color var(--wp--custom--uebergang);
	}

	.fhd-archiv__mehr .fhd-icon {
		width: 20px;
		height: 20px;
		transition: rotate var(--wp--custom--uebergang);
	}

	.fhd-archiv__mehr[aria-expanded="true"] {
		background: var(--wp--preset--color--flaeche-2);
		color: var(--wp--preset--color--espresso);
	}

	/* Mit Maus (schmales Fenster, Tablet mit Zeiger): „Mehr“ reagiert wie „+2“ und der Kalender-Knopf der Termine,
	   die beschrifteten Knöpfe wie der Zweitknopf (Espresso 6 %) */
	@media (hover: hover) {
		.fhd-archiv__mehr:hover {
			background: var(--wp--preset--color--flaeche);
			color: var(--wp--preset--color--espresso);
		}

		.fhd-archiv__zeile.ist-offen .fhd-archiv__mehr:hover {
			background: var(--wp--preset--color--flaeche-2);
		}

		.fhd-archiv__zeile.ist-offen :is(.fhd-merken--text, .fhd-teilen--text):not([aria-pressed="true"]):hover {
			background: color-mix(in srgb, var(--wp--preset--color--espresso) 6%, transparent);
		}
	}

	.fhd-archiv__mehr[aria-expanded="true"] .fhd-icon {
		rotate: 180deg;
	}

	/* Ohne Skript klappt nichts auf: Knöpfe weg (Platz bleibt, nichts springt), alles Weitere steht auf der Predigtseite */
	html:not(.fhd-archiv-js) .fhd-archiv__zeile [data-fhd-zeile-auf] {
		visibility: hidden;
	}

	/* -------- aufgeklappt -------- */

	.fhd-archiv__zeile.ist-offen {
		position: relative;
		z-index: 0;
		align-items: start;
		background: none;
	}

	/* Fläche bis an beide Ränder des Fensters: die aufgeklappte Zeile ist ein eigener Bereich */
	.fhd-archiv__zeile.ist-offen::before {
		content: "";
		position: absolute;
		inset: 0 calc(-1 * var(--wp--custom--rand));
		z-index: -1;
		background: var(--wp--preset--color--flaeche);
	}

	.fhd-archiv__zeile.ist-offen .fhd-archiv__titeltext,
	.fhd-archiv__zeile.ist-offen .fhd-archiv__wer-name {
		overflow: visible;
		white-space: normal;
	}

	/* aufgeklappt fließt die Zeile als Text: Der Trennpunkt bleibt am Namen (geschütztes Leerzeichen im Markup) */
	.fhd-archiv__zeile.ist-offen .fhd-archiv__wer {
		display: block;
	}

	.fhd-archiv__zeile.ist-offen .fhd-archiv__wer-punkt {
		white-space: normal;
	}

	.fhd-archiv__zeile.ist-offen .fhd-archiv__zusatz {
		display: block;
		font-size: 1rem;
	}

	.fhd-archiv__zeile.ist-offen .fhd-archiv__kurzstellen {
		display: none;
	}

	.fhd-archiv__zeile.ist-offen .fhd-hoerstatus {
		grid-column: 1 / -1;
		margin: 4px 0 0;
	}

	.fhd-archiv__zeile.ist-offen td:is(.fhd-archiv__stelle, .fhd-archiv__dauer):not(.ist-leer) {
		display: block;
		grid-column: 2 / -1;
	}

	.fhd-archiv__zeile.ist-offen td.fhd-archiv__stelle::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 8px;
		font-size: var(--wp--preset--font-size--klein);
		font-weight: 600;
		color: var(--wp--preset--color--tinte-leise);
	}

	/* Alle Stellen als Flächen von 44 px: „+2“ und die schwebende Liste gibt es hier nicht */
	.fhd-archiv__zeile.ist-offen .fhd-stellen--spalte {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.fhd-archiv__zeile.ist-offen .fhd-stellen--spalte :is(.fhd-stellen__liste, .fhd-stellen__ende, .fhd-stellen__blase) {
		display: contents;
	}

	.fhd-archiv__zeile.ist-offen .fhd-stellen--spalte :is(.fhd-stellen__mehr, .fhd-stellen__punkt) {
		display: none;
	}

	.fhd-archiv__zeile.ist-offen .fhd-stellen--spalte .fhd-stellen__stelle {
		position: static;
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		margin: 0; /* der Abstand kommt hier allein aus gap (8 px), nicht aus den Rändern der Tabellenansicht */
		padding: 0;
		white-space: normal;
		background: none;
		font-size: 1rem;
		font-weight: 500;
		color: var(--wp--preset--color--tinte);
	}

	.fhd-archiv__zeile.ist-offen .fhd-stellen--spalte .fhd-stellen__stelle > :is(button, a) {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		margin: 0;
		padding: 0 14px;
		border: 1px solid var(--wp--preset--color--linie);
		border-radius: var(--wp--custom--radius--klein);
		background: var(--wp--preset--color--papier);
		color: var(--wp--preset--color--espresso);
		font-weight: 500;
		text-align: left;
		text-decoration: none;
	}

	.fhd-archiv__zeile.ist-offen .fhd-stellen--spalte .fhd-stellen__stelle > :is(button, a)::after {
		content: none;
	}

	.fhd-archiv__zeile.ist-offen .fhd-stellen--spalte .fhd-stellen__stelle > :is(button, a):is(:hover, [aria-expanded="true"]) {
		border-color: var(--wp--preset--color--espresso);
	}

	/* gedrückt und offen wie die Marke überall (Abschnitt „Die Marke“) */
	.fhd-archiv__zeile.ist-offen .fhd-stellen--spalte .fhd-stellen__stelle > :is(button, a):active {
		background: var(--wp--preset--color--flaeche-2);
	}

	.fhd-archiv__zeile.ist-offen .fhd-stellen--spalte .fhd-stellen__stelle > button[aria-expanded="true"] {
		background: color-mix(in srgb, var(--wp--preset--color--amber) 20%, var(--wp--preset--color--papier));
	}

	.fhd-archiv__zeile.ist-offen td.fhd-archiv__dauer {
		font-size: 1rem;
		color: var(--wp--preset--color--tinte);
	}

	.fhd-archiv__zeile.ist-offen td.fhd-archiv__dauer::before {
		content: attr(data-label) " ";
		font-weight: 600;
		color: var(--wp--preset--color--tinte-leise);
	}

	/* Predigt ohne Aufnahme: Der gesperrte Play-Kreis sagt am Handy nichts (kein Tooltip) — hier steht es als Satz,
	   im Textblock unter Prediger, Datum und Reihe */
	.fhd-archiv__zeile.ist-offen .fhd-archiv__folgt {
		display: block;
		order: 5;
		grid-column: 1 / -1;
		margin-top: 4px;
		font-size: 1rem;
		line-height: 1.4;
		color: var(--wp--preset--color--tinte-leise);
	}

	/* Merken und Teilen mit Beschriftung, daneben der Weg zur Predigtseite */
	.fhd-archiv__zeile.ist-offen td.fhd-archiv__teilen {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px 10px;
		grid-column: 2 / -1;
		white-space: nowrap;
	}

	.fhd-archiv__zeile.ist-offen :is(.fhd-merken--text, .fhd-teilen--text) {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		width: auto;
		height: auto;
		min-height: 48px;
		padding: 0 16px 0 12px;
		border: 1.5px solid var(--wp--preset--color--espresso);
		border-radius: var(--wp--custom--radius--gross);
		background: transparent;
		color: var(--wp--preset--color--espresso);
		font-family: var(--wp--preset--font-family--text);
		font-size: 1rem;
		font-weight: 600;
		line-height: 1;
	}

	.fhd-archiv__zeile.ist-offen .fhd-merken--text[aria-pressed="true"] {
		background: var(--wp--preset--color--espresso);
		color: var(--wp--preset--color--papier);
	}

	.fhd-archiv__zeile.ist-offen :is(.fhd-merken__text, .fhd-teilen__text) {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip-path: none;
	}

	/* „Zur Predigtseite“: seit 26.10.2026 der einzige Weg dorthin aus der Handy-Zeile, deshalb ein Outline-Knopf wie
	   „Schließen“ im Abo-Blatt statt eines Textlinks */
	.fhd-archiv__zeile.ist-offen .fhd-archiv__zur {
		display: inline-flex;
		align-items: center;
		min-height: 48px;
		padding: 0 16px;
		border: 1px solid var(--wp--preset--color--espresso);
		border-radius: var(--wp--custom--radius--gross);
		font-size: 1rem;
		font-weight: 600;
		color: var(--wp--preset--color--espresso);
		text-decoration: none;
	}
}

/* Handy (bis 420 px): Play-Kreis 44 statt 48 px und 8 statt 12 px Abstand — 12 px mehr für den Text. Mit 16 px Schrift
   fehlten „Thomas Giesbrecht · 13.09.2026“ bei 390 px sonst 5 px, und der Name endete mit Auslassung (gemessen an den
   neun Predigten der Startfassung: bis 249 px nötig, 242 px vorhanden; jetzt 254 px). */
@media (max-width: 420px) {
	.fhd-archiv__zeile {
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		gap: 8px;
	}

	.fhd-archiv__tabelle .fhd-predigt-liste__play {
		--fhd-play-groesse: 44px;
	}
}

/* Große Schrift: Ist das Fenster schmaler als 20 Zeichenbreiten der Browser-Schrift (Handy mit vergrößerter Seite oder
   größerer Grundschrift, sehr schmale Geräte), bliebe vom einzeiligen Titel „Warnung v…“ und vom Prediger „T…“. Dann
   steht der Titel in zwei Zeilen und das Datum unter dem Namen. Die Abfrage in em folgt der Schriftgröße des Browsers. */
@media (max-width: 20em) and (max-width: 1000px) {
	.fhd-archiv__zeile:not(.ist-offen) .fhd-archiv__titeltext {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		white-space: normal;
	}

	.fhd-archiv__wer {
		display: block;
	}

	.fhd-archiv__wer-name {
		display: block;
	}

	.fhd-archiv__wer-punkt {
		display: none;
	}
}

@media (max-width: 1000px) and (prefers-reduced-motion: reduce) {
	.fhd-archiv__mehr,
	.fhd-archiv__mehr .fhd-icon {
		transition: none;
	}
}
