/*
Theme Name: Martin Rauhofer 2026
Description: Modernisiertes, minimalistisches Theme fuer martinrauhofer.at (Schwarz/Weiss/Grau, responsive, dark mode).
Author: Martin Rauhofer
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: martin-rauhofer-2026
License: GPL-2.0-or-later
*/

/* ==========================================================================
   1. Design-Tokens
   ========================================================================== */
:root {
	color-scheme: light;

	--bg: #ffffff;
	--fg: #161616;
	--muted: #5f5f5f;
	--line: #e3e3e3;
	--surface: #f4f4f4;
	--accent: #000000;
	--accent-fg: #ffffff;
	--highlight: #e20000; /* sparsam: nur Social-Hover, wie bisher */

	--max: 1180px;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--measure: 68ch;
	--radius: 6px;
	--ease: cubic-bezier(.2, .7, .2, 1);

	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   2. Basis
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font);
	font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-wrap: break-word;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
	font-variant: small-caps;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: .02em;
	margin: 1.6em 0 .6em;
	text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 2.9rem); margin-top: 0; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem); }
h3 { font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p, ul, ol, blockquote, figure, table { margin: 0 0 1.25em; }
p { max-width: var(--measure); }
ul, ol { padding-left: 1.4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; white-space: nowrap;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	position: fixed; top: 1rem; left: 1rem; z-index: 100;
	background: var(--accent); color: var(--accent-fg); padding: .6rem 1rem; border-radius: var(--radius);
}

.wrap {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 76px;
}

.site-brand {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: .2rem;
	line-height: 1.1;
}
.brand {
	display: inline-block;
	text-decoration: none;
	font-variant: small-caps;
	font-size: 1.45rem;
	font-weight: 600;
	letter-spacing: .07em;
	line-height: 1.1;
}
.custom-logo-link { display: inline-block; }
.custom-logo { max-height: 56px; width: auto; }
.brand__tag {
	margin: 0;
	font-style: italic;
	font-variant: small-caps;
	font-size: .95rem;
	letter-spacing: .03em;
	color: var(--muted);
	line-height: 1.2;
}

.site-nav { display: block; }
.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .25rem 2.25rem;
}
.menu > li { position: relative; margin: 0; }
.menu a {
	display: inline-block;
	padding: .55rem 0;
	font-size: .8rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .14em;
	text-decoration: none;
	position: relative;
}
.menu a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: .2rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s var(--ease);
}
.menu a:hover::after,
.menu a:focus-visible::after,
.menu .current-menu-item > a::after,
.menu .current_page_item > a::after,
.menu .current-menu-ancestor > a::after { transform: scaleX(1); }
.menu .current-menu-item > a,
.menu .current_page_item > a { font-weight: 700; }

/* Untermenues (Desktop) */
.menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: -1rem;
	min-width: 220px;
	margin: 0;
	padding: .5rem 0;
	list-style: none;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 16px 40px -16px rgb(0 0 0 / .35);
}
.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu { display: block; }
.menu .sub-menu a { display: block; padding: .6rem 1rem; letter-spacing: .08em; }
.menu .sub-menu a::after { display: none; }

/* Mobile-Menue-Button (nur mit JS sichtbar) */
.nav-toggle {
	flex: none;
	white-space: nowrap;
	display: none;
	align-items: center;
	gap: .6rem;
	padding: .5rem .2rem;
	background: none;
	border: 0;
	color: inherit;
	font: inherit;
	font-size: .8rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .14em;
	cursor: pointer;
}
.nav-toggle__icon { position: relative; width: 22px; height: 12px; }
.nav-toggle__icon span {
	position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
	transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle__icon span:nth-child(1) { top: 0; }
.nav-toggle__icon span:nth-child(2) { top: 5.25px; }
.nav-toggle__icon span:nth-child(3) { bottom: 0; }
.nav-open .nav-toggle__icon span:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.nav-open .nav-toggle__icon span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__icon span:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }

@media (max-width: 860px) {
	.site-header__inner { min-height: 64px; gap: 1rem; }
	.brand { font-size: 1.25rem; }
	.brand__tag { font-size: .85rem; }
	.no-js .site-header__inner { flex-wrap: wrap; }
	.no-js .site-nav { flex-basis: 100%; }
	.no-js .menu { gap: .25rem 1.4rem; padding-bottom: .75rem; }

	.js .nav-toggle { display: inline-flex; }
	.js .site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0; right: 0;
		background: var(--bg);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 20px 30px -24px rgb(0 0 0 / .4);
		max-height: calc(100vh - 64px);
		max-height: calc(100dvh - 64px);
		overflow-y: auto;
	}
	.js.nav-open .site-nav { display: block; }
	.site-header { position: sticky; }
	.js .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: .5rem 0;
	}
	.js .menu a {
		display: block;
		padding: .95rem var(--gutter);
	}
	.js .menu a::after { display: none; }
	.js .menu .sub-menu {
		position: static; display: block; border: 0; box-shadow: none; padding: 0; min-width: 0;
	}
	.js .menu .sub-menu a { padding-left: calc(var(--gutter) + 1rem); font-size: .75rem; }
	.js .menu li + li { border-top: 1px solid var(--line); }
}

/* ==========================================================================
   4. Hauptbereich & Typografie des Inhalts
   ========================================================================== */
.site-main { flex: 1 0 auto; overflow-x: clip; padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 7vw, 6rem); }

.entry-header { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.entry-title { margin: 0; }
.entry-meta { color: var(--muted); font-size: .9rem; margin-top: .5rem; }

.entry-content > * + * { margin-top: 0; }
.entry-content h2 { margin-top: 2.2em; }
.entry-content h5 { font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; font-variant: normal; margin: 2rem 0 .75rem; }
.entry-content a:not(.wp-block-button__link):not(.lof-link) { text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }

.entry-content .alignwide { max-width: var(--max); margin-inline: auto; }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .alignleft { float: left; margin: .3rem 1.5rem 1rem 0; max-width: 45%; }
.entry-content .alignright { float: right; margin: .3rem 0 1rem 1.5rem; max-width: 45%; }

.wp-caption, .wp-block-image figcaption, .wp-element-caption {
	font-size: .85rem; color: var(--muted); text-align: left; max-width: none;
}
.wp-caption-text { margin: .5rem 0 0; }

.entry-content img,
.entry-content .wp-block-image img {
	border-radius: var(--radius);
}
.entry-content .wp-block-image { margin-bottom: 2rem; }

.entry-content iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: var(--radius);
	margin-inline: auto;
}
.video-container { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 1.5rem 0 2rem; }
.video-container .video { position: absolute; inset: 0; width: 100%; height: 100%; }
p.video-heading { font-weight: 600; margin-bottom: .5rem; }

.entry-content .wp-block-embed,
.entry-content .wp-block-embed iframe { width: 100%; }

.musicmetainfo { font-size: .85rem; color: var(--muted); }

/* ==========================================================================
   5. Startseite
   ========================================================================== */
/* Titelbild: volle Breite auf dem Handy, abgerundet ab Tablet */
.home .entry-content > .wp-block-image:first-child {
	margin: 0 0 clamp(2rem, 5vw, 3.5rem);
}
.home .entry-content > .wp-block-image:first-child img {
	width: 100%;
	height: auto;
	border-radius: 0;
}
@media (min-width: 600px) {
	.home .entry-content > .wp-block-image:first-child img { border-radius: var(--radius); }
}

.home .entry-content > .wp-block-image:first-child {
	margin-inline: calc(var(--gutter) * -1);
}
@media (min-width: 1181px) {
	.home .entry-content > .wp-block-image:first-child { margin-inline: 0; }
}

/* Startseite kompakt: Titelbild und Album skalieren mit der Fensterhoehe,
   damit die Seite auf Laptop/Full-HD ohne Scrollbar auskommt */
@media (min-width: 861px) {
	.home .site-main { padding-block: clamp(1rem, 2.2vh, 1.5rem) 1.25rem; }
	.home .entry-content > .wp-block-image:first-child { margin-bottom: 1rem; }

	.home .lof-album { margin: 0; grid-template-columns: clamp(130px, 17vh, 220px) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
	.home .lof-info h3 { font-size: clamp(1.4rem, 3vh, 2rem); margin: 0 0 .1rem; }
	.home .lof-info p { margin-bottom: .75rem; }
	.home .lof-links { gap: .5rem; }
	.home .lof-link { min-height: 38px; padding-block: .4rem; }
}

/* Album-Block "Life on Hold" */
.lof-album {
	display: grid;
	grid-template-columns: minmax(170px, 280px) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
	margin: clamp(2rem, 5vw, 3.5rem) 0;
}
.lof-cover {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 18px 40px -18px rgb(0 0 0 / .35);
}
.lof-info h3 {
	font-variant: small-caps;
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem);
	margin: 0 0 .25rem;
}
.lof-info p { margin: 0 0 1.25rem; color: var(--muted); }
.lof-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .6rem;
	margin: 0;
}
.lof-link {
	display: flex;
	align-items: center;
	gap: .6rem;
	min-height: 46px;
	padding: .6rem .75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: .92rem;
	line-height: 1.3;
	font-weight: 500;
	text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s;
}
.lof-link:hover,
.lof-link:focus-visible {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--accent-fg);
}
.lof-icon { width: 18px; height: 18px; flex: none; fill: currentColor; }
.lof-icon-wide { width: 26px; height: auto; }

/* Bis 899 px untereinander (Cover zentriert), Streaming-Links bleiben in 3 Spalten */
@media (max-width: 899px) {
	.lof-album { grid-template-columns: 1fr; text-align: center; }
	.lof-cover { width: min(72vw, 280px); margin-inline: auto; }
	.lof-info p { margin-inline: auto; }
	.lof-info h3 { font-size: 1.9rem; }
}
/* Schmale Bildschirme: 3 Zeilen mit je 2 Links */
@media (max-width: 560px) {
	.lof-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lof-link { justify-content: center; padding-inline: .5rem; }
}
@media (max-width: 340px) {
	.lof-links { grid-template-columns: 1fr; }
}

/* Musik & Videos: klare Blockstruktur (Video, Album, Videos, Discographie) */
.music-page { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.music-section h2 { margin: 0 0 1.1rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.music-section .lof-album { margin: 0; }
.music-section .video-container { margin: 0; }
.video-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 1.5rem);
}
.video-grid .video-container { margin: 0; }
.section-note { margin: 1.25rem 0 0; }
.release-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 320px));
	justify-content: start;
	gap: clamp(1.75rem, 4vw, 2.5rem);
}
.release { margin: 0; }
.release img { width: 100%; height: auto; border-radius: var(--radius); }
.release figcaption { margin-top: .9rem; font-size: .92rem; line-height: 1.5; color: var(--muted); text-align: left; }
.release figcaption strong { color: var(--fg); font-weight: 600; }
.release a { color: inherit; }
@media (max-width: 640px) {
	.video-grid { grid-template-columns: 1fr; }
}
/* Auf dem Handy keine Floats mehr: Bilder/Beschriftungen stehen sauber untereinander */
@media (max-width: 599px) {
	.entry-content .alignleft,
	.entry-content .alignright { float: none; max-width: 100%; margin: 0 0 1rem; }
}

/* ==========================================================================
   6. Tabellen (TablePress), Shortcodes Ultimate, Spoiler
   ========================================================================== */
.table-scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.25rem 0 2rem;
	border-radius: var(--radius);
}
.tablepress {
	width: 100%;
	border-collapse: collapse;
	font-size: .95rem;
	line-height: 1.2;
}
.tablepress th,
.tablepress td {
	padding: .75rem .9rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: middle;
	overflow-wrap: anywhere;
}
.tablepress thead th {
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--muted);
	border-bottom-color: var(--fg);
}
.tablepress tbody tr:hover td { background: var(--surface); }
.tablepress-id-1 .column-1,
.tablepress-id-2 .column-1 { font-weight: 600; }
.tablepress a { color: var(--fg); }
/* Nur Icon-Links (YouTube/Noten) mittig ausrichten, normale Textlinks unveraendert lassen */
.tablepress td > a:has(> .icon) { display: inline-flex; align-items: center; vertical-align: middle; line-height: 1; position: relative; top: -4px; }
.tablepress a:hover,
.tablepress a:focus-visible { color: var(--highlight); }
.tablepress .icon {
	display: inline-block;
	width: 2rem;
	height: 2rem;
	vertical-align: middle;
	transition: color .2s;
}
.tablepress .icon--youtube { width: 2.1rem; height: 2.1rem; }
.tablepress-scroll-wrapper { overflow-x: auto; }
.tablepress .dt-center { text-align: center; }
.entry-content .tablepress td a[href*="youtube"] { white-space: nowrap; }
.tablepress-id-1 .icon-webfont.fa-external-link { display: none; }

/* Live-Termine (Tabelle "Vergangene Termine"): jeder Termin als eigener Block mit Luft */
/* Spezifisch genug, um die Standard-Abstaende von TablePress zu ueberschreiben */
.tablepress-id-4 > tbody > tr > td {
	text-align: left;
	padding: .85rem .25rem;
	line-height: 1.6;
	border-bottom: 1px solid var(--line);
}
.tablepress-id-4 tbody tr:hover td { background: none; }
/* Unterueberschriften (Zeile mit Absatz, z. B. "Kommende Termine") -- egal an welcher Position */
.tablepress-id-4 tr:has(> td > p) td { padding: 1.2rem .25rem .45rem; }
.tablepress-id-4 tbody tr:first-child > td { padding-top: .25rem; }
.tablepress-id-4 tbody tr:last-child > td { padding-bottom: 0; }
.tablepress-id-4 td b { font-weight: 700; color: var(--fg); }
.tablepress-id-4 td > p {
	max-width: none;
	margin: 0;
	font-variant: small-caps;
	font-size: 1.25rem !important;
	font-weight: 600;
	letter-spacing: .03em;
	text-align: left !important;
}
.tablepress-id-4 td i {
	display: block;
	margin-top: .35rem;
	font-style: normal;
	color: var(--muted);
	font-size: .93rem;
	line-height: 1.5;
}
/* Nur Zeilenumbrueche AUSSERHALB der Beschreibung ausblenden (verursachen Leerzeilen) */
.tablepress-id-4 td > br { display: none; }
.tablepress-id-4 td i a {
	color: var(--muted);
	overflow-wrap: anywhere;
}
.tablepress-id-4 tr:last-child td { border-bottom: 0; }

@media (max-width: 640px) {
	.tablepress th,
	.tablepress td { padding: .65rem .5rem; font-size: .9rem; }
	.tablepress td:has(.icon) { width: 2.75rem; text-align: center; }
}

.su-spoiler {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin: 1.25rem 0;
	overflow: hidden;
}
.su-spoiler-title { padding: .85rem 1rem; font-weight: 600; cursor: pointer; background: var(--surface) !important; color: inherit !important; }
.su-spoiler-content { padding: 1rem; }

.su-row { display: flex; flex-wrap: wrap; gap: 0 2rem; margin: 0 0 1.5rem; }
.su-row::after { content: none; }
.su-column { float: none !important; margin: 0 !important; width: auto !important; min-width: 0; }
.su-column-size-1-1 { flex: 1 1 100%; }
.su-column-size-1-2 { flex: 1 1 280px; }
.su-column-size-1-3 { flex: 1 1 220px; }
.su-column-size-2-3 { flex: 2 1 340px; }
.su-column-size-1-4 { flex: 1 1 180px; }
.su-column-size-3-4 { flex: 3 1 420px; }

.su-quote { font-style: italic; }
.su-quote-inner { padding: 1rem 1.25rem; border-left: 2px solid var(--fg); }
.su-quote-cite { font-style: normal; font-size: .9rem; color: var(--muted); }

/* ==========================================================================
   7. Blog-Listen, Suche, 404
   ========================================================================== */
.post-list { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.post-card { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); }
.post-card:last-child { border-bottom: 0; }
.post-card .entry-title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin: 0 0 .4rem; }
.post-card .entry-title a { text-decoration: none; }
.post-card .entry-title a:hover { text-decoration: underline; }

.search-form { display: flex; gap: .5rem; max-width: 520px; margin: 1.5rem 0 0; }
.search-form label { flex: 1; }
.search-field {
	width: 100%;
	font: inherit;
	padding: .75rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--fg);
}
.search-submit, .button {
	font: inherit;
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .14em;
	padding: .75rem 1.25rem;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--accent-fg);
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
}
.search-submit:hover, .button:hover { opacity: .85; }

.error-404 { padding-block: 2rem; }

/* ==========================================================================
   8. Fusszeile
   ========================================================================== */
.site-footer {
	border-top: 1px solid var(--line);
	padding-block: 1rem;
	font-size: .9rem;
	color: var(--muted);
}
.footer-widgets { margin-bottom: 2rem; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-widgets .widget-title { color: var(--fg); font-size: 1rem; }
.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: .75rem 2rem;
	text-align: center;
}
@media (max-width: 480px) {
	.site-footer__inner { flex-direction: column; gap: 1rem; }
}
.social-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: clamp(1.25rem, 3vw, 2rem);
}
.social-links a {
	display: grid;
	place-items: center;
	color: var(--fg);
	transition: color .2s, opacity .2s;
}
.social-links a:hover,
.social-links a:focus-visible {
	color: var(--highlight);
}
.social-links svg { height: 24px; width: auto; }
.social-links { gap: clamp(1rem, 2.5vw, 1.75rem); }
.site-footer p { margin: 0; max-width: none; }
.site-footer a { color: var(--fg); }

/* ==========================================================================
   9. Bewegung reduzieren, Druck
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	html { scroll-behavior: auto; }
}

@media print {
	.site-header, .site-footer, .nav-toggle { display: none; }
	body { color: #000; background: #fff; }
}

/* Zwei-Klick-Platzhalter für YouTube-Embeds (DSGVO/TKG) */
.rh-yt {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
	background-color: #1b1b1b;
	background-size: cover;
	background-position: center;
	margin: 0 auto;
}
.video-container .rh-yt {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
}
.rh-yt::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.rh-yt-play {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	background: none;
	border: 0;
	color: #e8e8e8;
	font: inherit;
	cursor: pointer;
	z-index: 1;
}
.rh-yt-icon {
	width: 56px;
	height: 40px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.2s ease;
}
.rh-yt-icon::before {
	content: "";
	border-style: solid;
	border-width: 8px 0 8px 13px;
	border-color: transparent transparent transparent #fff;
	margin-left: 4px;
}
.rh-yt-play:hover .rh-yt-icon,
.rh-yt-play:focus-visible .rh-yt-icon {
	background: rgba(255, 255, 255, 0.28);
	transform: scale(1.05);
}
.rh-yt-label {
	font-size: 0.75rem;
	letter-spacing: 0.02em;
	color: #d0d0d0;
}
.rh-yt-play:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -6px;
}

/* Player blendet ein, sobald er geladen ist; bis dahin bleibt das Vorschaubild stehen */
.rh-yt-frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 2;
}
.rh-yt-frame.is-loaded { opacity: 1; }
.rh-yt.is-playing .rh-yt-play { display: none; }
.rh-yt.is-playing::before { display: none; }

/* Ladeanzeige: Play-Symbol wird während des Ladens durch einen Spinner ersetzt */
.rh-yt.is-loading .rh-yt-icon::before { display: none; }
.rh-yt.is-loading .rh-yt-icon::after {
	content: "";
	width: 22px;
	height: 22px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: rh-yt-spin 0.8s linear infinite;
}
.rh-yt.is-loading .rh-yt-label { font-size: 0; }
.rh-yt.is-loading .rh-yt-label::after {
	content: "Wird geladen …";
	font-size: 0.75rem;
	color: #d0d0d0;
}
.rh-yt.is-loading .rh-yt-play { cursor: progress; }
@keyframes rh-yt-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	.rh-yt.is-loading .rh-yt-icon::after { animation-duration: 2.4s; }
}
