/* ==========================================================================
   Bonus / Extras (inc/extras.php)
   Übersicht (page-templates/extras.php), Einzelseite (page-templates/extra.php),
   Bonus-Karten auf der Buchseite, Schauplatzbilder auf der Länderseite.
   Die Bausteine hier hängen nicht an .startseite – sie funktionieren auch auf
   Buch- und Länderseiten. Farben und Schriften aus style.css (:root).
   ========================================================================== */

/* Cover-Platzhalter (solange ein Buch kein Beitragsbild hat) */
:where(.ex-card, .ex-hero__books, .ex-head__book, .ex-place, .ex-book, .ex-related__book, .ex-playlist, .ex-recipe) .cover-ph {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	aspect-ratio: 2 / 3;
	padding: 1.2em 0.7em 0.8em;
	background:
		radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.35), transparent 50%),
		linear-gradient(170deg, var(--c1, #C76A80), var(--c2, #6E1229));
	color: #fff;
	text-align: center;
	overflow: hidden;
}
:where(.ex-card, .ex-hero__books, .ex-head__book, .ex-place, .ex-book, .ex-related__book, .ex-playlist, .ex-recipe) .cover-ph__title {
	font-family: var(--font-heading);
	font-size: 1.15em;
	line-height: 1.1;
	overflow-wrap: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
}
:where(.ex-card, .ex-hero__books, .ex-head__book, .ex-place, .ex-book, .ex-related__book, .ex-playlist, .ex-recipe) .cover-ph__author {
	font-size: 0.55em;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.9;
}

/* Kleine Links („Alle Schauplätze“, „Alles ansehen“) */
.ex-land__all,
.ex-more__all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--accent);
}
.ex-land__all:hover,
.ex-more__all:hover { color: var(--accent-dark); text-decoration: underline; }

/* ---------- Kopf (Übersicht und Einzelseite) ---------- */
.ex-hero,
.ex-head { display: grid; gap: 30px; align-items: center; }
.ex-hero__text,
.ex-head__text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ex-hero__lead,
.ex-head__lead { max-width: 58ch; font-size: 1.06em; line-height: 1.65; color: var(--ink-70); }
.ex-hero__actions,
.ex-head__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.ex-head .ex-head__kicker { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; }
.ex-head__books { display: flex; align-items: flex-start; gap: 8px; font-size: 16px; font-weight: 700; color: var(--ink-70); }
.ex-head__books .icon { margin-top: 4px; }
.ex-head__books a { color: var(--accent-dark); }
.ex-head__file { font-size: 14px; font-weight: 700; color: var(--ink-70); }

@media (max-width: 559px) {
	.ex-hero__actions .btn,
	.ex-head__actions .btn { flex: 1 1 100%; }
}

@media (min-width: 900px) {
	.ex-hero,
	.ex-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; padding-block: 44px; }
	/* Zwei Buttons nebeneinander: Textspalte etwas breiter */
	.ex-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
	.ex-hero--text,
	.ex-head--text { grid-template-columns: minmax(0, 1fr); }
	.ex-hero--text .ex-hero__text,
	.ex-head--text .ex-head__text { max-width: 760px; }
}

/* Polaroid-Collage aus eigenen Fotos */
.ex-hero__photos {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	align-items: start;
	width: 100%;
	max-width: 520px;
	margin-inline: auto;
	padding: 16px 6px 10px;
}
.ex-hero__photo {
	position: relative;
	grid-row: 1;
	display: block;
	padding: 8px 8px 12px;
	background: #fff;
	border-radius: 4px;
	box-shadow: var(--shadow-polaroid);
}
.ex-hero__photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.ex-hero__caption {
	display: block;
	margin-top: 6px;
	font-family: var(--font-script);
	font-size: 18px;
	line-height: 1.1;
	color: var(--ink);
	overflow-wrap: anywhere;
}
.ex-hero__tape {
	position: absolute;
	top: -11px;
	left: 50%;
	z-index: 1;
	width: 72px;
	height: 22px;
	margin-left: -36px;
	background: rgba(246, 185, 198, 0.8);
	transform: rotate(-4deg);
}
.ex-hero__photos--n1 .ex-hero__photo--1 { grid-column: 2 / 6; transform: rotate(-2deg); }
.ex-hero__photos--n2 .ex-hero__photo--1 { grid-column: 1 / 5; transform: rotate(-4deg); z-index: 1; }
.ex-hero__photos--n2 .ex-hero__photo--2 { grid-column: 3 / 7; margin-top: 70px; transform: rotate(3deg); z-index: 2; }
.ex-hero__photos--n3 .ex-hero__photo--1 { grid-column: 1 / 4; margin-top: 46px; transform: rotate(-5deg); z-index: 2; }
.ex-hero__photos--n3 .ex-hero__photo--2 { grid-column: 3 / 6; transform: rotate(2.5deg); z-index: 1; }
.ex-hero__photos--n3 .ex-hero__photo--3 { grid-column: 4 / 7; margin-top: 120px; transform: rotate(-1.5deg); z-index: 3; }
.ex-hero__photo:nth-child(2) .ex-hero__tape { background: rgba(232, 161, 90, 0.55); transform: rotate(5deg); }

/* Cover-Fächer (ohne Fotos) */
.ex-hero__books { position: relative; width: 100%; max-width: 420px; height: 300px; margin-inline: auto; font-size: 15px; }
.ex-hero__book { position: absolute; top: 24px; width: 40%; }
.ex-hero__book > :is(img, .cover-ph) { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-cover); }
.ex-hero__book--1 { left: 30%; top: 0; z-index: 3; }
.ex-hero__book--2 { left: 4%; z-index: 2; transform: rotate(-9deg); }
.ex-hero__book--3 { left: 56%; z-index: 1; transform: rotate(9deg); }
.ex-hero__books--n2 .ex-hero__book--1 { left: 42%; }
.ex-hero__books--n2 .ex-hero__book--2 { left: 14%; }

/* Einzelseite: eigenes Bild oder Cover */
.ex-head__photo {
	position: relative;
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
	padding: 12px 12px 16px;
	background: #fff;
	border-radius: 4px;
	box-shadow: var(--shadow-polaroid);
	transform: rotate(2deg);
}
.ex-head__photo img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 2px; }
.ex-head__book { display: block; width: min(220px, 56%); margin-inline: auto; transform: rotate(-3deg); font-size: 18px; }
.ex-head__book > :is(img, .cover-ph) { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: var(--shadow-cover); }

@media (max-width: 899px) {
	.ex-hero__photos { max-width: 420px; }
	.ex-hero__photos--n3 .ex-hero__photo--3 { margin-top: 96px; }
}

/* ---------- Filter nach Art ---------- */
.ex-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 22px; }
.ex-filter[hidden] { display: none; }
.ex-filter__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius-control);
	background: #fff;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.ex-filter__btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.ex-filter__btn[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.ex-filter__count {
	min-width: 24px;
	padding: 3px 7px;
	border-radius: 999px;
	background: var(--accent-light);
	color: var(--accent-dark);
	font-size: 12px;
	font-weight: 800;
	text-align: center;
}
.ex-filter__btn[aria-pressed="true"] .ex-filter__count { background: rgba(255, 255, 255, 0.22); color: #fff; }

/* ---------- Karten (Extras-Vorschau) ---------- */
.ex-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 1100px) {
	.ex-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
}

.ex-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	background: #fff;
	box-shadow: var(--shadow-card);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ex-card[hidden] { display: none; }
.ex-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(43, 16, 24, 0.5); }

.ex-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--accent-tint);
}
.ex-card__media > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ex-card:hover .ex-card__media > img { transform: scale(1.04); }
.ex-card__media--cover,
.ex-card__media--icon {
	display: grid;
	place-items: center;
	padding: 52px 0 18px; /* oben Platz für die Art */
	background:
		radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.9), transparent 55%),
		linear-gradient(160deg, var(--accent-tint), var(--accent-soft));
}
.ex-card__media--cover > :is(img, .cover-ph) {
	width: auto;
	height: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 4px;
	box-shadow: var(--shadow-cover);
	transform: rotate(-3deg);
	font-size: 14px;
}
.ex-card:hover .ex-card__media--cover > :is(img, .cover-ph) { transform: rotate(0); transition: transform 0.4s ease; }
.ex-card__media--icon .icon { width: 56px; height: 56px; opacity: 0.85; }

.ex-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 250, 247, 0.95);
	box-shadow: 0 4px 12px -6px rgba(43, 16, 24, 0.45);
	color: var(--accent-dark);
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ex-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.ex-card__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.2;
	overflow-wrap: break-word;
}
.ex-card__link { color: var(--ink); text-decoration: none; }
.ex-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ex-card:hover .ex-card__link { color: var(--accent-dark); }
.ex-cards .ex-card__link:focus-visible { outline: none; }
.ex-cards .ex-card__link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: -3px; }
.ex-card__book { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--accent-dark); }
.ex-card__text {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ink-70);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}
.ex-card__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: auto 0 0;
	padding-top: 6px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--accent);
}

/* Handy: flachere Bilder, Filter in einer wischbaren Zeile */
@media (max-width: 559px) {
	.ex-card__media { aspect-ratio: 16 / 10; }
	.ex-card__media--cover,
	.ex-card__media--icon { padding-top: 46px; }
	.ex-filter {
		flex-wrap: nowrap;
		margin-inline: -22px;
		padding: 2px 22px 6px;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.ex-filter::-webkit-scrollbar { display: none; }
	.ex-filter__btn { flex: none; }
}

/* Buchseite: Karten im Bonus-Block */
.ex-bookbonus { display: flex; flex-direction: column; gap: 24px; }
.ex-bookbonus .ex-card__title { font-size: 21px; }

/* ---------- Extras zu deinen Büchern ---------- */
.ex-books__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	align-items: start;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ex-book {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	background: rgba(255, 255, 255, 0.82);
}
.ex-book[hidden] { display: none; }
.ex-book__cover { flex: none; width: 60px; font-size: 9px; }
.ex-book__cover > :is(img, .cover-ph) { display: block; width: 60px; height: 90px; object-fit: cover; border-radius: 3px; box-shadow: var(--shadow-card); }
.ex-book__body { min-width: 0; }
.ex-book__title { margin: 0; font-family: var(--font-heading); font-size: 19px; font-weight: 400; line-height: 1.2; overflow-wrap: break-word; }
.ex-book__title a { color: var(--ink); text-decoration: none; }
.ex-book__title a:hover { color: var(--accent-dark); text-decoration: underline; }
.ex-book__links { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.ex-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 12px;
	border-radius: var(--radius-control);
	background: var(--accent-light);
	color: var(--accent-dark);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}
.ex-chip:hover { background: var(--accent-soft); color: var(--accent-deep); }
.ex-books__toggle { align-self: flex-start; margin-top: 18px; }

/* ---------- Herzpost-Hinweis ---------- */
.ex-hp__text { max-width: 52ch; color: var(--ink-70); line-height: 1.65; }

/* ---------- Leer ---------- */
.ex-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 28px 10px;
	text-align: center;
	color: var(--ink-70);
}
.ex-empty .icon { opacity: 0.8; }
.ex-empty__title { font-family: var(--font-heading); font-size: 26px; line-height: 1.2; color: var(--ink); }
.ex-empty-panel .editor-hint,
.ex-list .editor-hint { margin-top: 10px; }

/* ---------- Text aus dem Editor (Blöcke: bloecke.css) ---------- */
.ex-body { display: flex; flex-direction: column; align-items: center; gap: 28px; padding-block: 40px; }
.ex-prose { width: 100%; max-width: 70ch; font-size: 18px; line-height: 1.75; }
.ex-extra .ex-prose { max-width: 80ch; }

.ex-body__download { margin: 0; }
.ex-body .ex-body__kicker { align-self: center; }

/* ---------- Schauplätze ---------- */
.ex-jump ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0 4px; list-style: none; }
.ex-jump a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-control);
	background: var(--panel-bg);
	color: var(--accent-dark);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}
.ex-jump a:hover { background: var(--accent-light); }

.ex-land { display: flex; flex-direction: column; gap: 26px; scroll-margin-top: 100px; }
.ex-land__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 24px;
}
.ex-land__head > div { display: flex; flex-direction: column; gap: 6px; }
.ex-land__title { display: inline-flex; align-items: center; gap: 12px; }

.ex-landphotos { display: flex; flex-direction: column; gap: 24px; }

.ex-place { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ex-place + .ex-place { padding-top: 22px; border-top: 1px solid var(--line); }
.ex-place__head { display: flex; align-items: center; gap: 14px; }
.ex-place__cover { flex: none; width: 52px; font-size: 8px; }
.ex-place__cover > :is(img, .cover-ph) { display: block; width: 52px; height: 78px; object-fit: cover; border-radius: 3px; box-shadow: var(--shadow-card); }
.ex-place__title { margin: 0; font-family: var(--font-heading); font-size: 24px; font-weight: 400; line-height: 1.15; overflow-wrap: break-word; }
.ex-place__title a { color: var(--ink); text-decoration: none; }
.ex-place__title a:hover { color: var(--accent-dark); text-decoration: underline; }
.ex-place__where { margin: 2px 0 0; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--ink-70); }
.ex-place__from { margin: 0; font-size: 16px; font-weight: 700; color: var(--ink-70); }
.ex-place__from a { color: var(--accent-dark); }

/* Galerie: Handy waagerecht wischen, ab Tablet Raster */
.ex-gallery {
	display: grid;
	grid-auto-columns: 76%;
	grid-auto-flow: column;
	gap: 18px;
	margin: 0;
	padding: 14px 6px 12px;
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}
.ex-photo { min-width: 0; scroll-snap-align: center; }
.ex-photo__frame {
	margin: 0;
	padding: 10px 10px 14px;
	border-radius: 4px;
	background: #fff;
	box-shadow: var(--shadow-polaroid);
	transform: rotate(var(--tilt, -1.5deg));
	transition: transform 0.3s ease;
}
.ex-photo:nth-child(3n + 2) { --tilt: 1.5deg; }
.ex-photo:nth-child(3n) { --tilt: -0.5deg; }
.ex-photo__frame:hover { transform: rotate(0) translateY(-3px); }
.ex-photo__open { position: relative; display: block; overflow: hidden; border-radius: 2px; }
.ex-photo__img > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ex-photo__zoom {
	position: absolute;
	top: 10px;
	right: 10px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: var(--radius-control);
	background: rgba(255, 250, 247, 0.94);
	box-shadow: 0 4px 12px -4px rgba(43, 16, 24, 0.45);
}
.ex-photo__caption { margin-top: 10px; font-family: var(--font-script); font-size: 20px; line-height: 1.2; color: var(--ink); overflow-wrap: break-word; }
.ex-photo__place {
	display: block;
	margin-bottom: 3px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--accent-dark);
}

@media (min-width: 700px) {
	.ex-gallery {
		grid-auto-flow: row;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px 26px;
		overflow: visible;
	}
	.ex-gallery--n1 { grid-template-columns: minmax(0, 440px); }
	.ex-gallery--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
	.ex-gallery--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Playlists ---------- */
.ex-playlists {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ex-playlist {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	background: #fff;
}
.ex-playlist__cover { flex: none; width: 76px; font-size: 10px; }
.ex-playlist__cover > :is(img, .cover-ph) { display: block; width: 76px; height: 114px; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-card); }
.ex-playlist__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.ex-playlist__series { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; line-height: 1.3; text-transform: uppercase; color: var(--accent); }
.ex-playlist__title { margin: 0; font-family: var(--font-heading); font-size: 20px; font-weight: 400; line-height: 1.2; overflow-wrap: break-word; }
.ex-playlist__title a { color: var(--ink); text-decoration: none; }
.ex-playlist__title a:hover { color: var(--accent-dark); text-decoration: underline; }
.extra-seite .ex-playlist__btn { margin-top: 6px; padding: 0 16px; gap: 8px; letter-spacing: 0.02em; text-transform: none; font-size: 15px; white-space: nowrap; }
@media (max-width: 399px) {
	.ex-playlist { gap: 12px; padding: 14px; }
	.ex-playlist__cover { width: 60px; }
	.ex-playlist__cover > :is(img, .cover-ph) { width: 60px; height: 90px; }
	.extra-seite .ex-playlist__btn { padding: 8px 14px; white-space: normal; text-align: left; }
}

/* ---------- Rezepte ---------- */
.ex-recipes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ex-recipe {
	position: relative;
	display: flex;
	gap: 18px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	background:
		repeating-linear-gradient(180deg, transparent 0 31px, rgba(140, 29, 58, 0.06) 31px 32px),
		#fff;
	box-shadow: var(--shadow-card);
	transition: transform 0.25s ease;
}
.ex-recipe:hover { transform: translateY(-3px); }
.ex-recipe__cover { flex: none; width: 72px; font-size: 10px; }
.ex-recipe__cover > :is(img, .cover-ph) { display: block; width: 72px; height: 108px; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-card); transform: rotate(-3deg); }
.ex-recipe__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ex-recipe__book { font-size: 13px; font-weight: 800; line-height: 1.4; color: var(--accent); }
.ex-recipe__name { margin: 0; font-family: var(--font-script); font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--accent-dark); overflow-wrap: break-word; }
.ex-recipe__link { color: inherit; text-decoration: none; }
.ex-recipe__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ex-recipes .ex-recipe__link:focus-visible { outline: none; }
.ex-recipes .ex-recipe__link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: -3px; }
.ex-recipe__info { font-size: 14px; font-weight: 700; color: var(--ink-70); }
.ex-recipe__intro { font-size: 15px; line-height: 1.55; color: var(--ink-70); }
.ex-recipe__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 4px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
}

/* ---------- Das Buch dazu ---------- */
.ex-related__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ex-related__book {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	background: #fff;
	transition: transform 0.25s ease;
}
.ex-related__book:hover { transform: translateY(-3px); }
.ex-related__cover { flex: none; width: 96px; font-size: 12px; }
.ex-related__cover > :is(img, .cover-ph) { display: block; width: 96px; height: 144px; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-cover); }
.ex-related__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ex-related__band { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.ex-related__title { margin: 0; font-family: var(--font-heading); font-size: 24px; font-weight: 400; line-height: 1.15; overflow-wrap: break-word; }
.ex-related__title a { color: var(--ink); text-decoration: none; }
.ex-related__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ex-related__list .ex-related__title a:focus-visible { outline: none; }
.ex-related__list .ex-related__title a:focus-visible::after { outline: 3px solid var(--focus); outline-offset: -3px; }
.ex-related__text { font-size: 15px; line-height: 1.55; color: var(--ink-70); }
.ex-related__more { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

/* ---------- Vergrößerung (assets/js/extras.js) ---------- */
.ex-lightbox {
	width: min(94vw, 1100px);
	max-width: none;
	max-height: 94vh;
	padding: 0;
	border: 0;
	border-radius: var(--radius-panel);
	background: var(--paper);
	color: var(--ink);
	overflow: hidden;
}
.ex-lightbox::backdrop { background: rgba(43, 16, 24, 0.82); }
.ex-lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; padding: 16px 70px 14px; }
.ex-lightbox__img { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(94vh - 130px); border-radius: 10px; }
.ex-lightbox__caption { font-family: var(--font-script); font-size: 24px; line-height: 1.2; text-align: center; color: var(--accent-dark); }
.ex-lightbox__meta { font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; color: var(--ink-70); }
.ex-lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1.5px solid var(--accent);
	border-radius: var(--radius-control);
	background: #fff;
	box-shadow: 0 6px 16px -8px rgba(43, 16, 24, 0.5);
	cursor: pointer;
}
.ex-lightbox__btn:hover { background: var(--accent-light); }
.ex-lightbox__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ex-lightbox__close { top: 10px; right: 10px; }
.ex-lightbox__prev { top: 50%; left: 10px; transform: translateY(-50%); }
.ex-lightbox__next { top: 50%; right: 10px; transform: translateY(-50%); }
.ex-lightbox__btn[hidden] { display: none; }

@media (max-width: 699px) {
	.ex-lightbox__figure { padding: 64px 12px 74px; }
	.ex-lightbox__img { max-height: calc(94vh - 210px); }
	.ex-lightbox__prev,
	.ex-lightbox__next { top: auto; bottom: 12px; transform: none; }
	.ex-lightbox__prev { left: calc(50% - 58px); }
	.ex-lightbox__next { right: calc(50% - 58px); }
}

@media (prefers-reduced-motion: reduce) {
	.ex-card,
	.ex-card__media > img,
	.ex-photo__frame,
	.ex-recipe,
	.ex-related__book { transition: none; }
	.ex-card:hover,
	.ex-recipe:hover,
	.ex-related__book:hover { transform: none; }
	.ex-card:hover .ex-card__media > img { transform: none; }
}

/* Cover-Platzhalter bleiben Flexbox (Titel oben, Autorin unten) */
:is(.ex-head__book, .ex-related__cover, .ex-hero__book, .ex-book__cover, .ex-place__cover, .ex-playlist__cover, .ex-recipe__cover) > .cover-ph { display: flex; }
