/*
Theme Name: Sprechende Steine
Theme URI: https://www.sprechendesteine.de/
Description: Theme für einen Stadtrundgang mit hörbaren Stationen. Inhaltstyp „Stationen“ mit mehreren MP3 je Station, Player mit Bild, Einzel- und ZIP-Download, Karte (Leaflet/OpenStreetMap, lokal eingebunden), Galerie mit vielen Einstellungen, Stadtplan-PDF im Retro-Stil, Boxed-Layout, Farbvorlagen und 13 lokal eingebundene Schriften. Alle Einstellungen unter Design → Customizer → „Sprechende Steine – Design“.
Version: 2.4.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sprechende-steine
Tags: custom-menu, custom-colors, custom-background, featured-images, translation-ready, one-column, wide-blocks
*/

/* Gestaltung: freundliches Creme wie altes Papier, warme Brauntöne für Schrift,
   ein ruhiges Petrol als Akzent und ein Ziegelrot für die Kartenpunkte.
   Alle Werte unten sind Standardwerte; der Customizer überschreibt sie über CSS-Variablen. */

:root {
	--bg: #F6EFE1;
	--surface: #FCF8F0;
	--alt: #EFE4CF;
	--text: #2E2A24;
	--muted: #6B6255;
	--accent: #2F6B66;
	--accent2: #B4553C;
	--line: #E0D3BB;
	--footer-bg: #2E2A24;
	--footer-fg: #F6EFE1;
	--outer-bg: #E6DAC3;
	--on-accent: #FFFFFF;

	--f-heading: "Fraunces", Georgia, serif;
	--f-text: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
	--f-label: "IBM Plex Mono", ui-monospace, Menlo, monospace;
	--w-heading: 700;
	--heading-case: none;
	--fs: 17px;
	--lh: 1.65;
	--h1: 3.05rem;
	--h2: 1.95rem;
	--h3: 1.25rem;

	--box: 1280px;
	--box-margin: 32px;
	--wrap: 1180px;
	--page-w: 760px;
	--post-w: 700px;
	--station-w: 1180px;
	--pad: 24px;
	--section: 80px;
	--radius: 14px;
	--map-h: 520px;

	--gal-cols: 3;
	--gal-cols-t: 2;
	--gal-cols-m: 1;
	--gal-gap: 16px;
	--gal-ratio: 4 / 3;
	--gal-row: 240px;
	--gal-radius: var(--radius);

	--soft: color-mix(in srgb, var(--accent) 12%, var(--surface));
	--shadow: 0 1px 2px color-mix(in srgb, var(--text) 8%, transparent), 0 10px 30px color-mix(in srgb, var(--text) 10%, transparent);
	--gutter-l: max(var(--pad), env(safe-area-inset-left, 0px));
	--gutter-r: max(var(--pad), env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0; background-color: var(--bg); color: var(--text);
	font: 400 var(--fs)/var(--lh) var(--f-text);
}
body.is-boxed { background-color: var(--outer-bg); }

/* Struktur im Hintergrund */
body.texture-papier .site-box, body.texture-papier.is-full { background-image: radial-gradient(color-mix(in srgb, var(--text) 5%, transparent) 0.6px, transparent 0.8px), radial-gradient(color-mix(in srgb, var(--text) 3%, transparent) 0.6px, transparent 0.8px); background-size: 7px 7px, 11px 11px; background-position: 0 0, 3px 5px; }
body.texture-punkte .site-box, body.texture-punkte.is-full { background-image: radial-gradient(color-mix(in srgb, var(--text) 10%, transparent) 1px, transparent 1.4px); background-size: 22px 22px; }
body.texture-linien .site-box, body.texture-linien.is-full { background-image: repeating-radial-gradient(circle at 20% 30%, transparent 0 44px, color-mix(in srgb, var(--text) 6%, transparent) 44px 45px); }

/* Boxed-Layout */
.site-box { background-color: var(--bg); min-height: 100vh; }
.is-boxed .site-box { max-width: var(--box); margin: var(--box-margin) auto; border-radius: var(--radius); overflow: clip; min-height: 0; }
.is-boxed.has-box-shadow .site-box { box-shadow: 0 2px 6px color-mix(in srgb, var(--text) 10%, transparent), 0 30px 80px color-mix(in srgb, var(--text) 18%, transparent); }
@media (max-width: 1000px) { .is-boxed .site-box { margin: 0; border-radius: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-heading); font-weight: var(--w-heading); text-transform: var(--heading-case); line-height: 1.12; text-wrap: balance; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 6vw, var(--h1)); }
h2 { font-size: clamp(1.55rem, 4vw, var(--h2)); }
h3 { font-size: var(--h3); }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; background: var(--surface); padding: .6em 1em; }

.wrap { max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.prose { max-width: 40rem; }
.eyebrow { font: 500 .8rem/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--accent2); margin-bottom: .75rem; display: block; }
.section { padding-block: clamp(2.5rem, 7vw, var(--section)); }
.section--surface { background: var(--alt); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2rem; }
.section-head > * { min-width: 0; }
.section-head h2 { margin: 0; }

/* Kopfzeile */
.site-header { z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: relative; }
.header-sticky .site-header { position: sticky; top: env(safe-area-inset-top, 0px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem 1.5rem; min-height: 4.25rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); font: var(--w-heading) 1.2rem/1 var(--f-heading); margin-right: auto; }
.brand svg { flex: none; color: var(--accent2); }
.brand small { display: block; font: 500 .68rem/1.3 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; flex-wrap: wrap; }
.main-nav a { display: block; padding: .5rem .85rem; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 700; font-size: .95rem; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav a[aria-current="page"] { background: var(--soft); color: var(--accent); }
.header-center .site-header .wrap { flex-direction: column; justify-content: center; padding-block: .9rem .6rem; gap: .6rem; }
.header-center .brand { margin: 0 auto; }
.header-center .header-cta { position: absolute; right: var(--gutter-r); top: 1.2rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .5rem .75rem; color: var(--text); font: 700 .9rem var(--f-text); cursor: pointer; }
@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; }
	.site-header .header-cta { display: none; }
	.header-center .site-header .wrap { flex-direction: row; }
	.header-center .brand { margin: 0 auto 0 0; }
	.main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter-r) 1rem var(--gutter-l); display: none; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; }
}

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.3rem; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--on-accent); font: 700 1rem/1.1 var(--f-text); text-decoration: none; cursor: pointer; transition: transform .15s, filter .15s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--small { padding: .55rem .95rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn svg { flex: none; }

/* Startseite */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 3.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--accent2); }
.hero-lead { font-size: 1.2rem; line-height: 1.5; color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-figure { position: relative; aspect-ratio: 4/5; max-width: 100%; margin: 0; border-radius: calc(var(--radius) * 1.5); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); transform: rotate(1.2deg); border: 10px solid var(--surface); }
.hero-figure img, .hero-figure svg { width: 100%; height: 100%; object-fit: cover; }
.hero-figure figcaption { position: absolute; left: .75rem; bottom: .75rem; right: .75rem; background: var(--surface); color: var(--text); border-radius: 8px; padding: .5rem .8rem; font-size: .875rem; }
.facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin: 2.5rem 0 0; padding: 1.25rem 0 0; border-top: 1px dashed var(--line); }
.facts div { min-width: 0; }
.facts dt { font: 500 .75rem/1.2 var(--f-label); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: .25rem 0 0; font: var(--w-heading) 1.7rem/1 var(--f-heading); font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero-figure { aspect-ratio: 16/10; transform: none; } }

.howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.howto li { display: grid; gap: .5rem; align-content: start; background: var(--surface); border-radius: var(--radius); padding: 1.4rem; }
.howto svg { color: var(--accent2); }
.howto strong { font: var(--w-heading) 1.25rem/1.2 var(--f-heading); }
@media (max-width: 760px) { .howto { grid-template-columns: 1fr; } }

/* Karte */
.tour-map { height: var(--map-h); max-height: 75vh; min-height: 320px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--alt); z-index: 0; position: relative; }
.tour-map--small { height: 260px; min-height: 0; }
.map-retro .leaflet-tile-pane { filter: sepia(.55) saturate(.8) contrast(.95) brightness(1.03); }
.map-hell .leaflet-tile-pane { filter: saturate(.35) brightness(1.08) contrast(.9); }
.map-grau .leaflet-tile-pane { filter: grayscale(1) contrast(.9) brightness(1.05); }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .map-layout { grid-template-columns: 1fr; } }
.route-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.route-list a { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .75rem; align-items: center; padding: .6rem .7rem; border-radius: 10px; text-decoration: none; color: var(--text); }
.route-list a:hover, .route-list a.is-active { background: var(--surface); }
.route-list strong { display: block; line-height: 1.25; }
.route-list .meta { display: block; color: var(--muted); font-size: .875rem; }
.route-note { margin-top: 1rem; font-size: .875rem; color: var(--muted); }
.num { display: inline-grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--accent2); color: #fff; font: 500 .9rem/1 var(--f-label); font-variant-numeric: tabular-nums; }
.ss-marker { background: none; border: 0; }
.ss-marker .num { width: 2.1rem; height: 2.1rem; border: 3px solid var(--surface); box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.leaflet-container { font-family: var(--f-text); }
.leaflet-popup-content-wrapper { border-radius: 12px; background: var(--surface); color: var(--text); }
.leaflet-popup-tip { background: var(--surface); }
.leaflet-popup-content { margin: .8rem 1rem; }
.leaflet-popup-content h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.leaflet-popup-content p { margin: 0 0 .5rem; }

/* Stationskarten */
.station-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.station-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; height: 100%; box-shadow: 0 1px 2px color-mix(in srgb, var(--text) 6%, transparent); transition: transform .2s, box-shadow .2s; }
.station-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.station-card__img { position: relative; aspect-ratio: 4/3; max-width: 100%; background: var(--alt); overflow: hidden; }
.station-card__img img, .station-card__img svg { width: 100%; height: 100%; object-fit: cover; }
.station-card__img .num { position: absolute; top: .75rem; left: .75rem; border: 3px solid var(--surface); }
.station-card__body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.station-card__body h3 { margin: 0; }
.station-card__body h3 a { color: inherit; text-decoration: none; }
.station-card__body h3 a::after { content: ""; position: absolute; inset: 0; }
.station-card__then { font-size: .9rem; color: var(--muted); margin: 0; }
.station-card__foot { margin-top: auto; padding-top: .6rem; display: flex; gap: 1rem; align-items: center; font: 500 .8rem/1 var(--f-label); color: var(--accent); }

/* Seiten und Beiträge */
.page-head { padding-block: clamp(2.5rem, 6vw, 4rem) 1.25rem; }
.entry-content { padding-bottom: 4rem; }
.entry-content.is-page { max-width: var(--page-w); }
.entry-content.is-post { max-width: var(--post-w); }
.entry-content > * + * { margin-top: 1em; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--accent2); font: italic 1.2rem/1.5 var(--f-heading); }
.entry-content .alignwide { max-width: var(--wrap); }
.wp-block-image figcaption, .wp-caption-text { font-size: .875rem; color: var(--muted); }
.post-list { display: grid; gap: 2rem; padding-bottom: 4rem; }

/* Station: Einzelseite */
.station-page .wrap { max-width: calc(var(--station-w) + var(--pad) * 2); }
.station-hero { padding-block: clamp(2rem, 5vw, 3.5rem) 0; }
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.station-title { display: flex; gap: 1rem; align-items: start; }
.station-title .num { width: 3rem; height: 3rem; font-size: 1.1rem; margin-top: .4rem; }
.station-title h1 { margin: 0; font-size: clamp(1.9rem, 5vw, calc(var(--h1) * .85)); }
.station-then { font-size: 1.2rem; color: var(--muted); margin: .5rem 0 0; }
.station-layout { display: grid; grid-template-columns: minmax(0, 1fr) 23rem; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-block: 2rem 4rem; }
.station-layout > * { min-width: 0; }
@media (max-width: 960px) { .station-layout { grid-template-columns: 1fr; } }
.station-layout .entry-content { max-width: var(--post-w); }
.station-media { border-radius: var(--radius); overflow: hidden; margin: 0 0 2rem; background: var(--surface); }
.station-media img, .station-media svg { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.station-media figcaption { padding: .6rem .9rem; font-size: .875rem; color: var(--muted); }
.station-sub { margin-top: 2.5rem; }
.station-aside { display: grid; gap: 1.25rem; }
.info-box { background: var(--surface); border-radius: var(--radius); padding: 1.2rem 1.25rem; }
.info-box h2 { font-size: 1.1rem; margin-bottom: .6rem; }
.info-box dl { margin: 0; display: grid; gap: .6rem; }
.info-box dt { font: 500 .72rem/1.2 var(--f-label); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.info-box dd { margin: .15rem 0 0; }
.coords { font-family: var(--f-label); font-size: .85rem; font-variant-numeric: tabular-nums; }
.station-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px dashed var(--line); padding-top: 1.5rem; margin-top: 2.5rem; }
.station-pager a { display: block; padding: .9rem 1rem; border-radius: var(--radius); text-decoration: none; color: var(--text); background: var(--surface); min-width: 0; }
.station-pager a:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.station-pager small { display: block; font: 500 .72rem/1.2 var(--f-label); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .25rem; }
.station-pager .next { text-align: right; grid-column: 2; }
.transcript { margin-top: 2rem; border-top: 1px dashed var(--line); padding-top: 1rem; }
.transcript summary { cursor: pointer; font-weight: 700; }

/* Audioplayer */
.stone-player { --p-bg: var(--text); --p-fg: var(--bg); --p-dim: color-mix(in srgb, var(--p-fg) 30%, transparent); --p-btn: var(--accent2); background: var(--p-bg); color: var(--p-fg); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: 1rem; overflow: hidden; }
.stone-player--light { --p-bg: var(--surface); --p-fg: var(--text); --p-btn: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
.stone-player--accent { --p-bg: var(--accent); --p-fg: #fff; --p-btn: var(--accent2); }
.stone-player__cover { margin: -1.25rem -1.25rem 0; aspect-ratio: 16/10; overflow: hidden; background: var(--alt); }
.stone-player__cover img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.stone-player__top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: center; }
.stone-player__cover + .stone-player__top .stone-player__btn { margin-top: -2.6rem; border: 4px solid var(--p-bg); width: 4.75rem; height: 4.75rem; }
.stone-player__btn { width: 4.25rem; height: 4.25rem; border-radius: 50%; border: 0; cursor: pointer; background: var(--p-btn); color: #fff; display: grid; place-items: center; box-shadow: inset 0 -4px 0 rgba(0,0,0,.22), 0 4px 0 rgba(0,0,0,.2); transition: transform .08s; }
.stone-player__btn:active { transform: translateY(3px); box-shadow: inset 0 -2px 0 rgba(0,0,0,.22), 0 1px 0 rgba(0,0,0,.2); }
.stone-player__btn .i-pause { display: none; }
.stone-player.is-playing .i-play { display: none; }
.stone-player.is-playing .i-pause { display: block; }
.stone-player__label { font: 500 .72rem/1.2 var(--f-label); letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.stone-player__speaker { margin-top: .35rem; }
.stone-player__title { font: var(--w-heading) 1.15rem/1.25 var(--f-heading); margin-top: .2rem; }
.stone-player__wave { display: flex; align-items: center; gap: 3px; height: 2.5rem; cursor: pointer; }
.stone-player__wave span { flex: 1; min-width: 2px; border-radius: 2px; background: var(--p-dim); }
.stone-player__wave span.is-done { background: var(--p-btn); }
.stone-player.stone-player--accent .stone-player__wave span.is-done { background: #fff; }
.stone-player__range { width: 100%; accent-color: var(--p-btn); }
.stone-player__row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; font: 500 .85rem/1 var(--f-label); font-variant-numeric: tabular-nums; }
.stone-player__ctrl { display: flex; gap: .4rem; }
.stone-player__small { background: none; border: 1px solid var(--p-dim); color: var(--p-fg); border-radius: 999px; padding: .4rem .65rem; font: 500 .8rem var(--f-label); cursor: pointer; }
.stone-player__small:hover { border-color: var(--p-fg); }
.stone-player__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; border-top: 1px solid var(--p-dim); padding-top: .75rem; }
.stone-player__list li { display: flex; align-items: center; gap: .4rem; }
.stone-player__list button { flex: 1; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .65rem; align-items: center; text-align: left; background: none; border: 0; color: inherit; padding: .4rem .5rem; border-radius: 8px; cursor: pointer; font: 400 .95rem/1.3 var(--f-text); }
.stone-player__list button:hover, .stone-player__list button[aria-current="true"] { background: color-mix(in srgb, var(--p-fg) 12%, transparent); }
.stone-player__list button[aria-current="true"] span { font-weight: 700; }
.stone-player__list img { width: 2.5rem; height: 2.5rem; border-radius: 6px; object-fit: cover; }
.stone-player__list small { font: 500 .75rem var(--f-label); opacity: .7; }
.stone-player__trackdl { color: inherit; padding: .4rem; border-radius: 8px; display: inline-grid; place-items: center; }
.stone-player__trackdl:hover { background: color-mix(in srgb, var(--p-fg) 12%, transparent); }
.stone-player__dls { display: grid; gap: .5rem; }
.stone-player__dls:empty { display: none; }
.stone-player__dl { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; color: var(--p-fg); border: 1px solid var(--p-dim); border-radius: 999px; padding: .6rem .9rem; text-decoration: none; font: 700 .9rem/1.2 var(--f-text); background: none; cursor: pointer; }
.stone-player__dl:hover { border-color: var(--p-fg); color: var(--p-fg); }
.stone-player audio { display: none; }

/* Download-Knöpfe (Galerie) */
.ss-downloads { display: flex; flex-wrap: wrap; gap: .5rem; }
.ss-dl { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; font-size: .9rem; box-shadow: inset 0 0 0 1px var(--line); }
.ss-dl svg { color: var(--accent); }
.ss-dl small { color: var(--muted); font: 500 .75rem var(--f-label); }
.ss-dl:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.ss-dl--all { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.ss-dl--all svg, .ss-dl--all small { color: inherit; opacity: .9; }

/* Galerie */
.ss-gallery-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.ss-gallery-filter button { border: 0; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: .5rem .95rem; font: 700 .9rem var(--f-text); cursor: pointer; }
.ss-gallery-filter button[aria-pressed="true"] { background: var(--text); color: var(--bg); box-shadow: none; }
.ss-gallery-page { padding-bottom: 4rem; display: grid; gap: 3rem; }
.ss-gal-group__head { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-bottom: 1.1rem; padding-bottom: .9rem; border-bottom: 1px dashed var(--line); }
.ss-gal-group__head > div { flex: 1 1 14rem; min-width: 0; }
.ss-gal-group__head h2 { font-size: 1.4rem; margin: 0; }
.ss-gal-group__head h2 a { color: inherit; text-decoration: none; }
.ss-gal-group__head p { margin: .15rem 0 0; color: var(--muted); font-size: .95rem; }
.ss-gal-group[hidden], .ss-gal__item[hidden], .ss-audio-index__row[hidden] { display: none !important; }
.ss-audio-index { margin-top: 1rem; }
.ss-audio-index__row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; padding: .9rem 0; border-top: 1px dashed var(--line); }
.ss-audio-index__row strong { display: flex; gap: .6rem; align-items: center; min-width: 14rem; }

.ss-gallery-wrap { position: relative; }
.ss-gallery { --c: var(--gal-cols); }
@media (max-width: 1000px) { .ss-gallery { --c: min(var(--gal-cols), var(--gal-cols-t)); } }
@media (max-width: 600px) { .ss-gallery { --c: min(var(--gal-cols), var(--gal-cols-m)); } }
.ss-gal__item { position: relative; margin: 0; border-radius: var(--gal-radius); overflow: hidden; background: var(--surface); }
.ss-gal__item > a { display: block; overflow: hidden; }
.ss-gal__item img, .ss-gal__item svg { width: 100%; display: block; transition: transform .45s ease, filter .45s ease; }
.ss-gal__badge { position: absolute; top: .6rem; left: .6rem; width: 1.9rem; height: 1.9rem; font-size: .75rem; border: 2px solid var(--surface); z-index: 2; }
.ss-gal__item figcaption { padding: .55rem .8rem; font-size: .875rem; color: var(--muted); }

/* Anordnungen */
.ss-gal--masonry { columns: var(--c); column-gap: var(--gal-gap); }
.ss-gal--masonry .ss-gal__item { break-inside: avoid; margin-bottom: var(--gal-gap); }
.ss-gal--grid { display: grid; grid-template-columns: repeat(var(--c), minmax(0, 1fr)); gap: var(--gal-gap); }
.ss-gal--grid .ss-gal__item img, .ss-gal--grid .ss-gal__item svg, .ss-gal--slider .ss-gal__item img, .ss-gal--slider .ss-gal__item svg { aspect-ratio: var(--gal-ratio); height: auto; object-fit: cover; }
.ss-gal--justified { display: flex; flex-wrap: wrap; gap: var(--gal-gap); }
.ss-gal--justified .ss-gal__item { flex: calc(var(--w) / var(--h)) 1 calc(var(--gal-row) * var(--w) / var(--h)); max-width: 100%; }
.ss-gal--justified .ss-gal__item img, .ss-gal--justified .ss-gal__item svg { aspect-ratio: calc(var(--w) / var(--h)); height: auto; object-fit: cover; }
.ss-gal--justified::after { content: ""; flex: 999 1 0; }
@media (max-width: 600px) { .ss-gal--justified .ss-gal__item { flex-basis: 100%; } }
.ss-gal--slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--c) - 1) * var(--gal-gap)) / var(--c)); gap: var(--gal-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: .5rem; }
.ss-gal--slider .ss-gal__item { scroll-snap-align: start; }
.ss-slider-nav { position: absolute; right: 0; top: -3.25rem; display: flex; gap: .4rem; }
.ss-slider-nav button { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font-size: 1.3rem; cursor: pointer; }

/* Bildunterschriften */
.cap-overlay figcaption, .cap-hover figcaption { position: absolute; left: 0; right: 0; bottom: 0; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); padding: 2rem .9rem .7rem; pointer-events: none; }
.cap-hover figcaption { opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.cap-hover .ss-gal__item:hover figcaption, .cap-hover .ss-gal__item:focus-within figcaption { opacity: 1; transform: none; }

/* Effekte */
.hover-zoom .ss-gal__item:hover img, .hover-zoom .ss-gal__item:hover svg { transform: scale(1.05); }
.hover-lift .ss-gal__item { transition: transform .25s, box-shadow .25s; }
.hover-lift .ss-gal__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hover-sepia .ss-gal__item img, .hover-sepia .ss-gal__item svg { filter: sepia(.75) saturate(.8); }
.hover-sepia .ss-gal__item:hover img, .hover-sepia .ss-gal__item:hover svg { filter: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(24,20,16,.94); color: #F6EFE1; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; gap: .75rem; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lightbox[hidden] { display: none !important; }
.lightbox__stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5rem; min-height: 0; }
.lightbox__stage img, .lightbox__stage svg, .lightbox__stage > div { max-width: 100%; max-height: 78vh; margin: auto; object-fit: contain; border-radius: 6px; }
.lightbox button { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; width: 2.75rem; height: 2.75rem; font-size: 1.4rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox__close { position: absolute; z-index: 2; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lightbox__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1.25rem; text-align: center; }
.lightbox__bar p { margin: 0; min-width: 0; }
.lightbox__count { font: 500 .85rem var(--f-label); opacity: .75; }
.lightbox__dl { color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: .35rem .8rem; text-decoration: none; font-size: .85rem; }
.lightbox__dl[hidden] { display: none; }
.lightbox__thumbs { display: flex; gap: .4rem; overflow-x: auto; justify-content: safe center; padding-bottom: .25rem; }
.lightbox__thumbs[hidden] { display: none; }
.lightbox__thumbs button { width: 3.5rem; height: 3.5rem; padding: 0; border-radius: 6px; overflow: hidden; flex: none; opacity: .5; }
.lightbox__thumbs button.is-active { opacity: 1; outline: 2px solid #fff; }
.lightbox__thumbs img, .lightbox__thumbs svg { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .lightbox__arrow { display: none; } .lightbox__stage { grid-template-columns: 1fr; } }

/* Fußzeile */
.site-footer { background: var(--footer-bg); color: var(--footer-fg); padding-block: 3rem 2rem; }
.site-footer a { color: var(--footer-fg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-grid > * { min-width: 0; }
.footer-grid h2 { font-size: 1.05rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, var(--footer-fg) 20%, transparent); font-size: .875rem; opacity: .8; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Header-Bild */
.hb { padding-block: var(--hb-space); background: var(--bg); }
.hb__frame { position: relative; overflow: hidden; background: var(--hb-bg); margin-inline: auto; }
.hb--w-content .hb__frame { max-width: var(--wrap); margin-inline: auto; }
.hb--w-content { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.hb--w-custom .hb__frame { max-width: min(var(--hb-w), 100%); }
.hb--round .hb__frame { border-radius: var(--radius); }
.hb--h-px .hb__frame { height: var(--hb-h); }
.hb--h-vh .hb__frame { height: var(--hb-vh); min-height: 200px; }
.hb--h-image .hb__frame { aspect-ratio: var(--hb-ratio); max-width: 100%; }
@media (max-width: 700px) { .hb--h-px .hb__frame { height: var(--hb-h-m); } }
.hb__img { position: absolute; inset: 0; background-image: var(--hb-img); background-position: var(--hb-x) var(--hb-y); background-repeat: no-repeat; will-change: transform; }
@media (max-width: 700px) { .hb__img { background-image: var(--hb-img-m); } }
.hb--fit-cover .hb__img { background-size: cover; }
.hb--fit-width .hb__img { background-size: 100% auto; }
.hb--fit-contain .hb__img { background-size: contain; }
.hb--fit-stretch .hb__img { background-size: 100% 100%; }
.hb--fit-repeat .hb__img { background-size: auto; background-repeat: repeat; }
.hb--fx-fixed .hb__img { background-attachment: fixed; }
@media (hover: none) { .hb--fx-fixed .hb__img { background-attachment: scroll; } }
.hb--fx-parallax .hb__img { inset: -15% 0; }
.hb--fx-zoom .hb__img { animation: hb-zoom 14s ease-out both; }
@keyframes hb-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hb--ov-solid .hb__frame::after, .hb--ov-gradient .hb__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hb--ov-solid .hb__frame::after { background: var(--hb-ov); }
.hb--ov-gradient .hb__frame::after { background: linear-gradient(to top, var(--hb-ov) 0%, transparent 70%); }
.hb__text { position: absolute; inset: 0; z-index: 2; display: flex; padding-block: clamp(1.25rem, 4vw, 3rem); color: var(--hb-fg); left: 0; right: 0; margin: 0 auto; }
.hb--v-top .hb__text { align-items: flex-start; }
.hb--v-center .hb__text { align-items: center; }
.hb--v-bottom .hb__text { align-items: flex-end; }
.hb--a-center .hb__text { justify-content: center; text-align: center; }
.hb--a-right .hb__text { justify-content: flex-end; text-align: right; }
.hb__inner { max-width: 42rem; min-width: 0; display: grid; gap: .6rem; justify-items: start; }
.hb--a-center .hb__inner { justify-items: center; }
.hb--a-right .hb__inner { justify-items: end; }
.hb__title { margin: 0; font: var(--w-heading) calc(clamp(1.8rem, 5vw, var(--h1)) * var(--hb-scale)) / 1.08 var(--f-heading); text-transform: var(--heading-case); text-wrap: balance; }
.hb__title em { font-style: italic; color: inherit; }
.hb__sub { margin: 0; font-size: calc(1.15rem * var(--hb-scale)); line-height: 1.45; }
.hb--shadow .hb__title, .hb--shadow .hb__sub { text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 4px 24px rgba(0,0,0,.35); }
.hb .btn { margin-top: .5rem; }
.hb-behind .site-header { position: absolute; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.hb-behind.header-sticky .site-header { position: fixed; transition: background .25s; }
.hb-behind .site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); }
.hb-behind .site-header:not(.is-scrolled) .brand, .hb-behind .site-header:not(.is-scrolled) .main-nav > ul > li > a, .hb-behind .site-header:not(.is-scrolled) .brand small { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.hb-behind .site-header:not(.is-scrolled) .nav-toggle { color: #fff; border-color: rgba(255,255,255,.6); }
.hb-behind .hb { padding-top: 0; }
.is-boxed.hb-behind .site-box { position: relative; }
.hero--no-figure .hero-grid { grid-template-columns: minmax(0, 1fr); }

/* Karte: Hinweise und Zustimmung */
.tour-map .map-note { position: absolute; z-index: 500; left: 10px; bottom: 10px; max-width: calc(100% - 20px); background: var(--surface); border-radius: 8px; padding: .45rem .7rem; font-size: .8rem; color: var(--muted); box-shadow: var(--shadow); }
.map-consent { position: absolute; inset: 0; z-index: 600; display: grid; place-content: center; justify-items: center; gap: .75rem; padding: 1.5rem; text-align: center; background: var(--alt); color: var(--text); font-size: .95rem; }
.map-consent p { max-width: 28rem; margin: 0; }
.map-consent label { font-size: .85rem; color: var(--muted); display: flex; gap: .4rem; align-items: center; }
.site-box { position: relative; }
.hb-behind.header-sticky .site-header { top: var(--wp-admin--admin-bar--height, 0px); }
.hb-behind .hb__text { padding-top: 5.5rem; }
@media (max-width: 480px) { .brand small { display: none; } .brand { font-size: 1.05rem; } }

/* ==========================================================================
   Player 2.3: Werkzeuge, Mitlesetext (Teleprompter), Untertitel, Großansicht, Mini-Player
   ========================================================================== */
.stone-player { position: relative; --sp-user: 1; }
.stone-player__cover { position: relative; }
.stone-player__cover::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(0,0,0,.55)); opacity: 0; transition: opacity .3s; pointer-events: none; }
.stone-player__cover:has(.stone-player__cc:not([hidden]))::after { opacity: 1; }
.stone-player__cc { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1; color: #fff; text-align: center; font: 600 clamp(1rem, 2.6vw, 1.3rem)/1.35 var(--f-text); text-shadow: 0 1px 3px rgba(0,0,0,.85); text-wrap: balance; }
.stone-player__cc--inline { position: static; background: rgba(0,0,0,.72); border-radius: 10px; padding: .7rem 1rem; }
.stone-player__cc[hidden] { display: none; }
.stone-player.has-cover .stone-player__cover + .stone-player__top .stone-player__btn { position: relative; z-index: 2; }
.stone-player__head { min-width: 0; }
.stone-player__wave { position: relative; }
.stone-player__wave span { transition: background-color .2s, transform .2s; }
.stone-player__wave span.is-now { transform: scaleY(1.18); background: var(--p-btn); }
.stone-player.is-playing .stone-player__wave span.is-now { animation: sp-pulse .6s ease-in-out infinite alternate; }
@keyframes sp-pulse { to { transform: scaleY(.8); } }
.stone-player__hover { position: absolute; top: -1.6rem; transform: translateX(-50%); background: var(--p-fg); color: var(--p-bg); font: 600 .72rem/1 var(--f-label); padding: .25rem .4rem; border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity .15s; font-style: normal; font-variant-numeric: tabular-nums; }
.stone-player__time { background: none; border: 0; color: inherit; font: inherit; padding: .2rem 0; cursor: pointer; font-variant-numeric: tabular-nums; }
.stone-player__icon { display: inline-grid; place-items: center; padding: .4rem .55rem; }
.stone-player__tools { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; border-top: 1px solid var(--p-dim); padding-top: .75rem; }
.stone-player__toolset { display: flex; gap: .3rem; flex-wrap: wrap; margin-left: auto; }
.stone-player__tool { display: inline-flex; align-items: center; gap: .35rem; background: none; border: 1px solid transparent; color: var(--p-fg); border-radius: 999px; padding: .4rem .6rem; font: 600 .8rem var(--f-label); cursor: pointer; opacity: .85; }
.stone-player__tool:hover { opacity: 1; border-color: var(--p-dim); }
.stone-player__tool[aria-pressed="true"] { background: var(--p-btn); color: #fff; opacity: 1; }
.stone-player__vol { display: inline-flex; align-items: center; gap: .3rem; }
.stone-player__vol .i-mute, .stone-player.is-muted .stone-player__vol .i-vol { display: none; }
.stone-player.is-muted .stone-player__vol .i-mute { display: inline; }
.stone-player__vol input { width: 6.5rem; accent-color: var(--p-btn); }
.stone-player__toast { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); background: var(--p-fg); color: var(--p-bg); padding: .5rem .9rem; border-radius: 999px; font: 600 .85rem var(--f-label); box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 3; white-space: nowrap; max-width: 90%; overflow: hidden; text-overflow: ellipsis; }
.stone-player__toast[hidden] { display: none; }

/* Mitlesetext */
.stone-text { position: relative; background: color-mix(in srgb, var(--p-fg) 7%, transparent); border-radius: calc(var(--radius) * .7); padding: .6rem .4rem .4rem; }
.stone-text[hidden] { display: none; }
.stone-text__bar { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: 0 .6rem .4rem; font: 500 .75rem/1.3 var(--f-label); opacity: .8; }
.stone-text__size { display: flex; gap: .25rem; margin-left: auto; }
.stone-text__size button { background: none; border: 1px solid var(--p-dim); color: var(--p-fg); border-radius: 6px; padding: .2rem .45rem; font: 700 .8rem var(--f-label); cursor: pointer; }
.stone-text__scroll { position: relative; max-height: 15rem; overflow-y: auto; padding: 2.5rem .8rem 6rem; scroll-behavior: smooth; overscroll-behavior: contain; font: 400 calc(1.05rem * var(--sp-text, 1) * var(--sp-user, 1))/1.6 var(--f-text); -webkit-mask: linear-gradient(transparent, #000 2.2rem, #000 calc(100% - 3rem), transparent); mask: linear-gradient(transparent, #000 2.2rem, #000 calc(100% - 3rem), transparent); }
.stone-text__scroll p { margin: 0 0 .8em; }
.stone-text__scroll:focus-visible { outline: 2px solid var(--p-btn); outline-offset: -2px; }
.cue { cursor: pointer; border-radius: 4px; transition: color .25s, opacity .25s, background-color .25s; opacity: .55; }
.cue.is-past { opacity: .4; }
.cue.is-active { opacity: 1; font-weight: 600; background: linear-gradient(90deg, color-mix(in srgb, var(--p-btn) 38%, transparent) calc(var(--k, 0) * 100%), color-mix(in srgb, var(--p-btn) 14%, transparent) 0); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: .05em .15em; }
.cue:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--p-dim); }
.stone-text__empty { opacity: .7; font-style: italic; }
.stone-text__back { position: absolute; left: 50%; bottom: .8rem; transform: translateX(-50%); border: 0; background: var(--p-btn); color: #fff; border-radius: 999px; padding: .45rem .9rem; font: 700 .8rem var(--f-label); cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.stone-text__back[hidden] { display: none; }
.stone-player--light .cue.is-active, .stone-player--light .cue:hover { color: var(--text); }

/* Großansicht */
.stone-big-open { overflow: hidden; }
.stone-big { --sp-user: 1; position: fixed; inset: 0; z-index: 10000; background: #14110e; color: #f6efe2; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; animation: sp-in .2s ease-out; }
@keyframes sp-in { from { opacity: 0; transform: scale(.98); } }
.stone-big__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem clamp(1rem, 4vw, 3rem); border-bottom: 1px solid rgba(255,255,255,.12); }
.stone-big__head small { display: block; font: 500 .75rem/1.2 var(--f-label); letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.stone-big__head strong { font: var(--w-heading) 1.2rem/1.25 var(--f-heading); }
.stone-big__x { background: rgba(255,255,255,.1); border: 0; color: inherit; width: 2.75rem; height: 2.75rem; border-radius: 50%; font-size: 1.2rem; cursor: pointer; }
.stone-big__lines { position: relative; overflow-y: auto; padding: 40vh clamp(1rem, 8vw, 8rem) 50vh; font: 500 calc(clamp(1.5rem, 3.6vw, 2.6rem) * var(--sp-user, 1))/1.45 var(--f-text); text-wrap: pretty; -webkit-mask: linear-gradient(transparent, #000 20%, #000 75%, transparent); mask: linear-gradient(transparent, #000 20%, #000 75%, transparent); }
.stone-big__lines p { margin: 0 auto .9em; max-width: 34em; }
.stone-big .cue { opacity: .35; }
.stone-big .cue.is-past { opacity: .25; }
.stone-big .cue.is-active { opacity: 1; color: #fff; background: linear-gradient(90deg, rgba(232,158,96,.45) calc(var(--k, 0) * 100%), rgba(232,158,96,.15) 0); }
.stone-big__bar { height: 4px; background: rgba(255,255,255,.12); }
.stone-big__bar i { display: block; height: 100%; background: #e89e60; transform-origin: 0 50%; transform: scaleX(0); }
.stone-big__ctrl { display: flex; justify-content: center; align-items: center; gap: .6rem; padding: 1rem; padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
.stone-big__ctrl button { background: rgba(255,255,255,.1); border: 0; color: inherit; border-radius: 999px; min-width: 3rem; height: 3rem; padding: 0 .9rem; font: 700 1rem var(--f-label); cursor: pointer; }
.stone-big__ctrl button:hover, .stone-big__x:hover { background: rgba(255,255,255,.2); }
.stone-big__play { width: 4rem; height: 4rem !important; background: #b4553c !important; display: grid; place-items: center; }
.stone-big__play .i-pause, .stone-big.is-playing .stone-big__play .i-play { display: none; }
.stone-big.is-playing .stone-big__play .i-pause { display: block; }

/* Mini-Player */
.stone-mini { position: fixed; left: 50%; bottom: max(.75rem, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 9000; width: min(36rem, calc(100% - 1.5rem)); display: flex; align-items: center; gap: .65rem; padding: .5rem .6rem; background: var(--text); color: var(--bg); border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.3); overflow: hidden; animation: sp-up .25s ease-out; }
@keyframes sp-up { from { transform: translate(-50%, 120%); } }
.stone-mini[hidden] { display: none; }
.stone-mini img { width: 2.75rem; height: 2.75rem; object-fit: cover; border-radius: 8px; flex: none; }
.stone-mini__play { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: var(--accent2); color: #fff; display: grid; place-items: center; cursor: pointer; }
.stone-mini__play svg { width: 20px; height: 20px; }
.stone-mini__play .i-pause, .stone-mini.is-playing .stone-mini__play .i-play { display: none; }
.stone-mini.is-playing .stone-mini__play .i-pause { display: block; }
.stone-mini__info { flex: 1; min-width: 0; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; padding: 0; }
.stone-mini__info strong { display: block; font: 700 .9rem/1.2 var(--f-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stone-mini__cc { display: block; font: 400 .82rem/1.3 var(--f-text); opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stone-mini__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent2); transform-origin: 0 50%; transform: scaleX(0); }

@media (max-width: 520px) {
	.stone-player__toolset .stone-player__tool > span { display: none; }
	.stone-player__vol input { width: 4.5rem; }
	.stone-text__scroll { max-height: 12rem; }
}
@media (prefers-reduced-motion: reduce) {
	.stone-player.is-playing .stone-player__wave span.is-now { animation: none; }
	.stone-big, .stone-mini { animation: none; }
}

/* Player in der Hauptspalte und fest unten */
.station-player { margin-bottom: 1.5rem; }
.station-player .stone-player__cover { aspect-ratio: 16 / 9; }
.station-player .stone-text__scroll { max-height: 18rem; }
.has-stone-dock { padding-bottom: 5.5rem; }
.stone-mini--dock { bottom: max(.75rem, env(safe-area-inset-bottom)); }
.stone-mini--dock .stone-mini__cc:empty::before { content: "▶"; opacity: .5; }
