/* ==========================================================================
   André Parker – Theme-Styles
   Farben und Schriften kommen aus theme.json (CSS-Variablen --wp--preset--…).
   ========================================================================== */

:root {
	--ap-nacht: #0B1B33;
	--ap-nacht-tief: #060F1E;
	--ap-nacht-hell: #13284A;
	--ap-video: #16284A;
	--ap-linie-dunkel: #26344F;
	--ap-royal: #2340B0;
	--ap-messing: #B8862B;
	--ap-gold: #F0D080;
	--ap-bronze: #8A5A1F;
	--ap-sand: #F4EEE2;
	--ap-papier: #FBFAF7;
	--ap-nebel: #D5DCEA;
	--ap-grau: #5E6472;
	--ap-grau-dunkel: #3F4A5E;
	--ap-header-h: 104px;
	--ap-radius-btn: 14px;
	--ap-radius-card: 24px;
	--ap-radius-img: 12px;
	--ap-font-display: var(--wp--preset--font-family--bricolage);
	--ap-font-text: var(--wp--preset--font-family--dm-sans);
	--ap-font-script: var(--wp--preset--font-family--kaushan);
}

@media (max-width: 781px) {
	:root {
		--ap-header-h: 80px;
	}
}

html {
	scroll-padding-top: calc(var(--ap-header-h) + 8px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* Sichtbarer Tastatur-Fokus überall */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--ap-gold);
	outline-offset: 2px;
	box-shadow: 0 0 0 6px var(--ap-nacht);
	border-radius: 2px;
}

/* ---------- Buttons ---------- */

.wp-element-button,
.wp-block-button__link {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.wp-block-button.is-style-umriss .wp-block-button__link {
	background: transparent;
	color: currentColor;
	border: 2px solid currentColor;
}

.wp-block-button.is-style-umriss .wp-block-button__link:hover {
	background: var(--ap-gold);
	border-color: var(--ap-gold);
	color: var(--ap-nacht);
}

.ap-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 28px;
	border-radius: var(--ap-radius-btn);
	font-family: var(--ap-font-text);
	font-weight: 700;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ap-btn--brass,
.ap-btn--brass:visited {
	background: var(--ap-messing);
	color: var(--ap-nacht);
}

.ap-btn--brass:hover {
	background: var(--ap-gold);
	color: var(--ap-nacht);
}

.ap-btn--outline-light,
.ap-btn--outline-light:visited {
	border: 2px solid #FFFFFF;
	color: #FFFFFF;
}

.ap-btn--outline-light:hover {
	background: #FFFFFF;
	color: var(--ap-nacht);
}

/* ---------- Kopfbereich ---------- */

.ap-header-wrap {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
	background: var(--ap-nacht);
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.ap-header-wrap.is-front {
	position: fixed;
	left: 0;
	right: 0;
	background: linear-gradient(to bottom, rgba(11, 27, 51, 0.55), rgba(11, 27, 51, 0));
}

.ap-header-wrap.is-front.is-scrolled {
	background: var(--ap-nacht);
	box-shadow: 0 6px 24px rgba(6, 15, 30, 0.35);
}

.ap-header {
	height: var(--ap-header-h);
	box-sizing: border-box;
	padding: 0 clamp(1.25rem, 4.5vw, 4rem);
	margin: 0 auto;
	gap: 24px;
}

.ap-header__title {
	margin: 0;
	font-family: var(--ap-font-display);
	font-weight: 800;
	font-size: clamp(1.375rem, 2vw, 1.625rem);
	letter-spacing: -0.3px;
	line-height: 1;
	white-space: nowrap;
}

.ap-header__title a,
.ap-header__title a:visited {
	color: #FFFFFF;
	text-decoration: none;
}

.ap-header__title a:hover {
	color: var(--ap-gold);
}

/* Navigation: Desktop */
.ap-nav {
	--navigation-layout-justification-setting: flex-end;
	color: #FFFFFF;
	font-family: var(--ap-font-text);
}

.ap-nav .wp-block-navigation__container {
	gap: 40px;
	align-items: center;
}

.ap-nav .wp-block-navigation-item__content,
.ap-nav .wp-block-navigation-item__content:visited {
	color: #FFFFFF;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 12px 0;
}

.ap-nav .wp-block-navigation-item__content:hover {
	color: var(--ap-gold);
}

.ap-nav .ap-nav__booking > .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	height: 46px;
	box-sizing: border-box;
	padding: 0 22px;
	border: 1.5px solid var(--ap-gold);
	color: var(--ap-gold);
	font-weight: 700;
}

.ap-nav .ap-nav__booking > .wp-block-navigation-item__content:hover {
	background: var(--ap-gold);
	color: var(--ap-nacht);
}

@media (min-width: 1024px) {
	.ap-nav .ap-nav__mobil-only {
		display: none;
	}
}

/* Navigation: Menü-Knopf „MENÜ“ */
.ap-nav .wp-block-navigation__responsive-container-open {
	color: #FFFFFF;
	gap: 12px;
	align-items: center;
	height: 48px;
	padding: 0 4px;
	font-family: var(--ap-font-text);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 2.5px;
}

.ap-nav .wp-block-navigation__responsive-container-open::before {
	content: "MENÜ";
}

.ap-nav .wp-block-navigation__responsive-container-open svg {
	width: 28px;
	height: 28px;
}

/* Bis 1023 px immer das Menü per Knopf (WordPress schaltet sonst schon ab 600 px auf Desktop). */
@media (max-width: 1023px) {
	.ap-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: inline-flex;
	}

	.ap-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

/* Navigation: geöffnetes Menü, vollflächig nachtblau */
.ap-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--ap-nacht) !important;
	color: #FFFFFF !important;
	padding: 0 !important;
	top: var(--wp-admin--admin-bar--height, 0px);
}

.ap-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

.ap-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	top: 16px;
	right: 20px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 48px;
	color: #FFFFFF;
	font-family: var(--ap-font-text);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 2.5px;
}

.ap-nav .is-menu-open .wp-block-navigation__responsive-container-close::before {
	content: "SCHLIESSEN";
}

.ap-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding: calc(var(--ap-header-h) + 8px) 20px 36px !important;
	border-top: 0;
	align-items: stretch !important;
	flex-grow: 1;
	max-width: 640px;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
}

.ap-nav .is-menu-open .wp-block-navigation__container {
	gap: 0 !important;
	width: 100%;
	align-items: stretch !important;
	border-top: 3px solid var(--ap-messing);
	padding-top: 16px;
	flex-grow: 1;
}

.ap-nav .is-menu-open .wp-block-navigation-item {
	width: 100%;
}

.ap-nav .is-menu-open .wp-block-navigation-item__content {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	padding: 18px 0 !important;
	border-bottom: 1px solid var(--ap-linie-dunkel);
	font-family: var(--ap-font-display);
	font-weight: 800;
	font-size: 32px;
	letter-spacing: -0.5px;
	text-transform: none;
	line-height: 1.1;
}

.ap-nav .is-menu-open .wp-block-navigation-item__content::after {
	content: "→";
	font-family: var(--ap-font-text);
	font-weight: 400;
	font-size: 22px;
	color: var(--ap-gold);
}

.ap-nav .is-menu-open .ap-nav__booking {
	margin-top: auto;
	padding-top: 32px;
}

.ap-nav .is-menu-open .ap-nav__booking > .wp-block-navigation-item__content {
	justify-content: center;
	height: 56px;
	padding: 0 !important;
	border: 0;
	border-radius: var(--ap-radius-btn);
	background: var(--ap-messing);
	color: var(--ap-nacht);
	font-family: var(--ap-font-text);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0;
}

.ap-nav .is-menu-open .ap-nav__booking > .wp-block-navigation-item__content .wp-block-navigation-item__label::after {
	content: " anfragen";
}

.ap-nav .is-menu-open .ap-nav__booking > .wp-block-navigation-item__content::after {
	content: none;
}

/* ---------- Seitenaufbau ---------- */

.wp-site-blocks {
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
}

.wp-site-blocks > * {
	margin-block: 0;
}

.wp-site-blocks > .ap-main,
.wp-site-blocks > main {
	flex-grow: 1;
}

.ap-main {
	margin: 0;
}

.ap-main--front > .wp-block-post-content > * {
	margin-block: 0;
}

.ap-main--text {
	padding-top: clamp(3rem, 7vw, 5rem);
	padding-bottom: clamp(4rem, 9vw, 6rem);
}

.ap-page-title {
	font-size: var(--wp--preset--font-size--titel);
	color: var(--ap-nacht);
	margin-bottom: 2rem;
}

.ap-main--text h2 {
	font-size: var(--wp--preset--font-size--zwischentitel);
	margin-top: 2.5rem;
}

/* ---------- Unterseiten ---------- */

.ap-page-head {
	background: var(--ap-nacht);
	color: #FFFFFF;
	padding-top: clamp(2.5rem, 6vw, 4.5rem);
	padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.ap-page-head__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--titel);
	color: #FFFFFF;
}

.ap-page-head__title::after {
	content: "";
	display: block;
	width: 72px;
	height: 4px;
	margin-top: 1.25rem;
	border-radius: 2px;
	background: var(--ap-messing);
}

.ap-page-content {
	margin-block: 0;
}

.ap-page-content > .alignfull {
	margin-block: 0;
}

/* Normaler Text direkt auf der Seite (z. B. Impressum) bekommt Luft nach oben und unten. */
.ap-page-content > :not(.alignfull):first-child,
.ap-page-content > .alignfull + :not(.alignfull) {
	margin-block-start: clamp(3rem, 6vw, 4.5rem);
}

.ap-page-content > :not(.alignfull):last-child,
.ap-page-content > :not(.alignfull):has(+ .alignfull) {
	margin-block-end: clamp(3.5rem, 7vw, 5rem);
}

/*
 * Lesbare Zeilenlänge, aber linksbündig an der 1280-px-Kante wie Überschriften und Titelband.
 * WordPress zentriert Inhalte sonst mit schmaler Spalte.
 */
.wp-block-post-content.ap-page-content > :not(.alignfull):not(.alignwide),
.wp-block-group[class*="is-style-abschnitt-"] > p:not(.is-style-schmuck),
.wp-block-group[class*="is-style-abschnitt-"] > ul,
.wp-block-group[class*="is-style-abschnitt-"] > ol {
	max-width: 760px;
	margin-left: max(0px, calc((100% - 1280px) / 2)) !important;
	margin-right: auto !important;
}

.ap-page-content > h2 {
	font-size: var(--wp--preset--font-size--zwischentitel);
	margin-block-start: 2.5rem;
}

.ap-page-content > h3 {
	font-size: 1.375rem;
	margin-block-start: 2rem;
}

/* ---------- Abschnitte (Startseite und Blockstile) ---------- */

.ap-section,
.wp-block-group.is-style-abschnitt-hell,
.wp-block-group.is-style-abschnitt-sand,
.wp-block-group.is-style-abschnitt-nacht {
	padding-top: clamp(3.5rem, 7vw, 5rem);
	padding-bottom: clamp(3.5rem, 7vw, 5rem);
}

.ap-section h2,
[class*="is-style-abschnitt-"] h2 {
	color: var(--ap-nacht);
}

.ap-section--papier,
.wp-block-group.is-style-abschnitt-hell {
	background: var(--ap-papier);
}

.ap-section--sand,
.wp-block-group.is-style-abschnitt-sand {
	background: var(--ap-sand);
}

.ap-section--anschluss {
	padding-top: clamp(1rem, 3vw, 2.5rem);
}

.ap-section--nacht,
.wp-block-group.is-style-abschnitt-nacht {
	background: var(--ap-nacht-tief);
	color: #FFFFFF;
}

.ap-section--nacht h2,
.wp-block-group.is-style-abschnitt-nacht h2,
.wp-block-group.is-style-abschnitt-nacht h3 {
	color: #FFFFFF;
}

.ap-section--nacht p:not([class]),
.wp-block-group.is-style-abschnitt-nacht > p:not([class]) {
	color: var(--ap-nebel);
	font-size: var(--wp--preset--font-size--gross);
	max-width: 640px;
}

.ap-section--nacht a:not(.wp-element-button),
.wp-block-group.is-style-abschnitt-nacht a:not(.wp-element-button) {
	color: var(--ap-gold);
}

.ap-section--nacht > .wp-block-buttons .wp-block-button__link,
.wp-block-group.is-style-abschnitt-nacht > .wp-block-buttons .wp-block-button__link {
	min-height: 60px;
	padding-left: 2rem;
	padding-right: 2rem;
	font-size: 1.25rem;
}

/* Schmuckzeile (Kaushan Script) – sparsam einsetzen */
.is-style-schmuck {
	font-family: var(--ap-font-script);
	font-size: clamp(1.375rem, 2vw, 1.625rem);
	line-height: 1.25;
	color: var(--ap-bronze);
}

.ap-section--nacht .is-style-schmuck,
.wp-block-group.is-style-abschnitt-nacht .is-style-schmuck,
.ap-single .is-style-schmuck {
	color: var(--ap-gold);
}

.is-style-schmuck + .wp-block-heading {
	margin-block-start: 0.25rem;
}

.is-style-einleitung {
	font-size: var(--wp--preset--font-size--gross);
	line-height: 1.55;
	max-width: 720px;
}

.is-style-abschnitt-nacht .is-style-einleitung {
	color: var(--ap-nebel);
}

.is-style-einleitung + .ap-release-grid,
.is-style-einleitung + .ap-cards {
	margin-top: 2.5rem !important;
}

.is-style-etikett {
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--ap-grau);
	margin-bottom: -0.5rem;
}

/* Kacheln (z. B. „Geschrieben für“) */
.wp-block-list.is-style-chips {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.wp-block-list.is-style-chips li {
	margin: 0;
	padding: 10px 18px;
	border-radius: var(--ap-radius-btn);
	background: var(--ap-sand);
	font-weight: 500;
}

/* ---------- Startbild ---------- */

.ap-hero {
	position: relative;
	height: 100vh;
	height: 100svh;
	min-height: 560px;
	max-height: 1200px;
	overflow: hidden;
	background: var(--ap-nacht);
	color: #FFFFFF;
	margin-block: 0;
}

.ap-hero__picture,
.ap-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.ap-hero__img {
	object-fit: cover;
	object-position: var(--ap-fx, 78%) var(--ap-fy, 0%);
}

@media (max-width: 781px) {
	.ap-hero__img {
		object-position: var(--ap-mfx, 50%) var(--ap-mfy, 8%);
	}
}

.ap-hero__shade {
	position: absolute;
	left: 0;
	right: 0;
	pointer-events: none;
}

.ap-hero__shade--top {
	top: 0;
	height: 200px;
	background: linear-gradient(to bottom, rgba(11, 27, 51, 0.78) 0%, rgba(11, 27, 51, 0.45) 55%, rgba(11, 27, 51, 0) 100%);
}

.ap-hero__shade--bottom {
	bottom: 0;
	height: 60%;
	background: linear-gradient(to bottom, rgba(11, 27, 51, 0) 0%, rgba(11, 27, 51, 0.82) 60%, rgba(11, 27, 51, 0.96) 100%);
}

.ap-hero__content {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: clamp(40px, 7vh, 64px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	text-align: center;
}

.ap-hero__kicker {
	margin: 0;
	font-size: clamp(0.75rem, 1.1vw, 0.9375rem);
	font-weight: 700;
	letter-spacing: clamp(3px, 0.3vw, 4px);
	text-transform: uppercase;
	color: var(--ap-gold);
}

.ap-hero__name {
	margin: 0;
	font-family: var(--ap-font-display);
	font-weight: 800;
	font-size: clamp(3.75rem, 9vw, 8rem);
	line-height: 0.95;
	letter-spacing: -0.025em;
	color: #FFFFFF;
}

.ap-hero__cta,
.ap-hero__cta:visited {
	margin-top: 10px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 26px;
	border-radius: var(--ap-radius-btn);
	border: 2px solid #FFFFFF;
	color: #FFFFFF;
	text-decoration: none;
	font-weight: 700;
	font-size: 17px;
}

.ap-hero__cta:hover {
	background: #FFFFFF;
	color: var(--ap-nacht);
}

/* ---------- Neue Single ---------- */

.ap-single {
	background: var(--ap-nacht);
	color: #FFFFFF;
	padding: clamp(3.5rem, 7vw, 6.25rem) clamp(1.25rem, 5vw, 5rem);
	margin-block: 0;
}

.ap-single__inner {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 32px;
	align-items: center;
}

.ap-single__cover {
	grid-column: span 5;
	position: relative;
}

.ap-single__cover img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 30px 90px rgba(184, 134, 43, 0.35);
}

.ap-single__badge {
	position: absolute;
	right: -24px;
	top: -24px;
	width: 132px;
	height: 132px;
	border-radius: 50%;
	background: var(--ap-messing);
	color: var(--ap-nacht);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-weight: 700;
	line-height: 1.15;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.ap-single__badge-small {
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.ap-single__badge-big {
	font-family: var(--ap-font-display);
	font-weight: 800;
	font-size: 30px;
}

.ap-single__text {
	grid-column: 7 / span 6;
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.ap-single__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 14px;
}

.ap-single__tag {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 14px;
	border: 1.5px solid var(--ap-gold);
	color: var(--ap-gold);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
}

.ap-single__state {
	font-size: 15px;
	font-weight: 500;
	color: var(--ap-nebel);
}

.ap-single__title {
	margin: 0;
	font-family: var(--ap-font-script);
	font-weight: 400;
	font-size: clamp(4.3rem, 7.5vw, 6.75rem);
	line-height: 0.95;
	letter-spacing: 0;
	color: var(--ap-gold);
}

.ap-single__swash {
	display: block;
	width: min(420px, 80%);
	height: auto;
	margin-top: -12px;
}

.ap-single__desc {
	margin: 0;
	font-size: var(--wp--preset--font-size--gross);
	line-height: 1.6;
	color: var(--ap-nebel);
	max-width: 600px;
}

.ap-single__facts {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 32px;
}

.ap-single__facts > div {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 14px;
	border-top: 1px solid var(--ap-linie-dunkel);
}

.ap-single__facts dt {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--ap-gold);
}

.ap-single__facts dd {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
	color: #FFFFFF;
}

.ap-single__note {
	margin: 0;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 20px;
	border-radius: var(--ap-radius-img);
	background: var(--ap-nacht-hell);
	color: #FFFFFF;
	font-size: 16px;
	line-height: 1.5;
}

.ap-single__note svg {
	flex-shrink: 0;
	color: var(--ap-gold);
}

.ap-single__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
}

@media (max-width: 1023px) {
	.ap-single__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.ap-single__cover,
	.ap-single__text {
		grid-column: 1 / -1;
	}

	.ap-single__cover {
		max-width: 520px;
		width: 100%;
		margin: 0 auto;
	}
}

@media (max-width: 781px) {
	.ap-single__text {
		gap: 22px;
	}

	.ap-single__badge {
		width: 96px;
		height: 96px;
		right: -8px;
		top: -12px;
	}

	.ap-single__badge-big {
		font-size: 22px;
	}

	.ap-single__badge-small {
		font-size: 11px;
	}

	.ap-single__facts dd {
		font-size: 16px;
	}

	.ap-single__actions .ap-btn {
		width: 100%;
	}
}

/* ---------- Musik: Titel-Raster ---------- */

.ap-release-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px 24px;
	margin-top: 2.5rem !important;
}

.ap-release-grid > * {
	margin: 0 !important;
}

@media (max-width: 781px) {
	.ap-release-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 14px;
		margin-top: 1.5rem !important;
	}
}

.ap-release {
	display: flex;
	flex-direction: column;
	gap: 2px;
	color: var(--ap-nacht);
	text-decoration: none;
}

a.ap-release:hover .ap-release__title {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ap-release__cover {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--ap-radius-img);
	margin-bottom: 10px;
}

.ap-release__cover--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 16px;
	background: var(--ap-nacht-hell);
	color: var(--ap-gold);
	font-family: var(--ap-font-display);
	font-weight: 800;
	font-size: clamp(1rem, 2vw, 1.5rem);
	line-height: 1.1;
	text-align: center;
}

.ap-release__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.ap-release__year {
	font-size: 15px;
	color: var(--ap-grau);
}

/* ---------- Karten ---------- */

.ap-cards {
	gap: 32px;
	margin-top: 2.5rem !important;
}

.ap-section--anschluss .ap-cards,
[class*="is-style-abschnitt-"] > .ap-cards:first-child {
	margin-top: 0 !important;
}

.wp-block-column.is-style-karte {
	background: #FFFFFF;
	border-radius: var(--ap-radius-card);
	padding: clamp(28px, 3.5vw, 48px);
	display: flex;
	flex-direction: column;
	gap: 0;
	box-sizing: border-box;
}

.wp-block-column.is-style-karte h3,
.wp-block-group.is-style-abschnitt-nacht .wp-block-column.is-style-karte h3 {
	color: var(--ap-royal);
}

.wp-block-column.is-style-karte,
.wp-block-group.is-style-abschnitt-nacht .wp-block-column.is-style-karte h2 {
	color: var(--ap-nacht);
}

.wp-block-group.is-style-abschnitt-nacht .wp-block-column.is-style-karte a:not(.wp-element-button) {
	color: var(--ap-royal);
}

.wp-block-column.is-style-karte h2 {
	font-size: clamp(2.25rem, 3.2vw, 2.75rem);
}

.wp-block-column.is-style-karte > .wp-block-buttons:last-child {
	margin-top: auto;
	padding-top: 1.5rem;
}

.ap-card-image {
	margin: 0 0 0.5rem;
}

.ap-card-image img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: var(--ap-radius-img);
}

/* ---------- Gran Canaria ---------- */

.ap-gc {
	gap: clamp(32px, 5vw, 56px);
}

.ap-gc > .ap-gc-media:not(:has(img)),
.ap-gc > .ap-video-media:not(:has(.ap-video)) {
	display: none;
}

.ap-gc-image {
	margin: 0;
}

.ap-gc p {
	max-width: 720px;
}

.ap-gc-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--ap-radius-card);
}

/* ---------- Video mit Einwilligung ---------- */

.ap-video-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: 2.5rem !important;
}

.ap-video-grid > * {
	margin: 0 !important;
}

@media (max-width: 781px) {
	.ap-video-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ap-video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--ap-radius-img);
	overflow: hidden;
	background: var(--ap-video);
	color: #FFFFFF;
}

.ap-video__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 20px;
	box-sizing: border-box;
	text-align: center;
}

.ap-video__title {
	margin: 0;
	font-family: var(--ap-font-display);
	font-weight: 800;
	font-size: clamp(1.125rem, 1.8vw, 1.45rem);
	line-height: 1.15;
}

.ap-video__info {
	margin: 0;
	max-width: 440px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ap-nebel);
}

.ap-video__load {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px;
	border: none;
	border-radius: var(--ap-radius-btn);
	background: var(--ap-messing);
	color: var(--ap-nacht);
	font-family: var(--ap-font-text);
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
}

.ap-video__load:hover {
	background: var(--ap-gold);
}

.ap-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.ap-video__missing {
	margin: 0;
	padding: 24px;
	color: var(--ap-nebel);
}

@media (max-width: 480px) {
	.ap-video {
		aspect-ratio: auto;
		min-height: 260px;
	}

	.ap-video.is-loaded {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}

	.ap-video__info {
		font-size: 14px;
	}
}

/* ---------- Fußbereich ---------- */

.ap-footer {
	background: var(--ap-nacht-tief);
	color: var(--ap-nebel);
	padding-top: clamp(2rem, 4vw, 3rem);
	padding-bottom: 40px;
	margin-top: 0;
}

.ap-footer {
	font-size: 15px;
}

.ap-social {
	gap: 12px !important;
	margin: 0 0 32px !important;
}

.ap-social .wp-social-link {
	background: transparent !important;
	color: #FFFFFF !important;
	border: 2px solid #FFFFFF;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	transition: background-color 0.15s ease;
}

.ap-social .wp-social-link:hover {
	background: #FFFFFF !important;
	color: var(--ap-nacht) !important;
	transform: none;
}

.ap-social .wp-block-social-link-anchor {
	width: 100%;
	height: 100%;
	padding: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	color: inherit !important;
}

.ap-social .wp-block-social-link-anchor svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.ap-footer__bottom {
	padding-top: 24px;
	border-top: 1px solid var(--ap-linie-dunkel);
	gap: 12px 28px;
}

.ap-footer__bottom p {
	margin: 0;
}

.ap-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
}

.ap-footer a,
.ap-footer a:visited {
	color: var(--ap-nebel);
	text-underline-offset: 3px;
}

.ap-footer a:hover {
	color: #FFFFFF;
}

.ap-footer__links a {
	padding: 6px 0;
}

/* ---------- Einwilligungs-Hinweis ---------- */

.ap-consent {
	position: fixed;
	left: 32px;
	bottom: 32px;
	z-index: 1000;
	width: 540px;
	max-width: calc(100vw - 32px);
}

.ap-consent[hidden] {
	display: none;
}

.ap-consent__card {
	box-sizing: border-box;
	max-height: calc(100vh - 64px);
	overflow-y: auto;
	padding: 28px;
	border-radius: 16px;
	background: #FFFFFF;
	border-top: 4px solid var(--ap-messing);
	box-shadow: 0 24px 60px rgba(6, 15, 30, 0.35);
	font-family: var(--ap-font-text);
	color: var(--ap-nacht);
}

.ap-consent__main,
.ap-consent__settings {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ap-consent__main[hidden],
.ap-consent__settings[hidden] {
	display: none;
}

.ap-consent__title {
	margin: 0;
	font-family: var(--ap-font-display);
	font-weight: 800;
	font-size: 24px;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--ap-nacht);
}

.ap-consent__title:focus {
	outline: none;
}

.ap-consent__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ap-grau-dunkel);
}

.ap-consent__buttons {
	display: flex;
	gap: 12px;
}

.ap-consent__buttons--stack {
	flex-direction: column;
	gap: 10px;
}

.ap-consent__btn {
	flex: 1 1 0;
	min-width: 0;
	min-height: 50px;
	padding: 0 14px;
	border: 2px solid var(--ap-nacht);
	border-radius: 12px;
	background: var(--ap-nacht);
	color: #FFFFFF;
	font-family: inherit;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
}

.ap-consent__btn:hover {
	background: var(--ap-royal);
	border-color: var(--ap-royal);
}

.ap-consent__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 20px;
	font-size: 15px;
}

.ap-consent__links a {
	color: var(--ap-grau-dunkel);
	padding: 8px 0;
}

.ap-consent__textbtn {
	padding: 8px 0;
	border: none;
	background: none;
	color: var(--ap-nacht);
	font-family: inherit;
	font-weight: 700;
	font-size: 15px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.ap-consent__options {
	display: flex;
	flex-direction: column;
}

.ap-consent__option {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 14px 0;
	border-top: 1px solid #E3E6EC;
	cursor: pointer;
}

.ap-consent__option input {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin: 2px 0 0;
	accent-color: var(--ap-nacht);
}

.ap-consent__option span {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ap-grau-dunkel);
}

.ap-consent__option strong {
	font-size: 16px;
	color: var(--ap-nacht);
}

.ap-consent:has(.ap-consent__settings:not([hidden])) {
	width: 660px;
}

.ap-consent__summary {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ap-grau-dunkel);
}

.ap-consent__summary strong {
	color: var(--ap-nacht);
}

.ap-consent__note {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ap-grau-dunkel);
}

.ap-consent__categories {
	display: flex;
	flex-direction: column;
}

.ap-consent__category {
	border-top: 1px solid #E3E6EC;
	padding-bottom: 8px;
}

.ap-consent__category .ap-consent__option {
	border-top: 0;
}

.ap-consent__option em {
	font-style: normal;
	font-weight: 500;
	color: var(--ap-grau-dunkel);
}

.ap-consent__service {
	margin: 0 0 8px 36px;
	border: 1px solid #E3E6EC;
	border-radius: 10px;
	background: #F7F8FA;
}

.ap-consent__service summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 0 14px;
	cursor: pointer;
	list-style: none;
	font-size: 15px;
	font-weight: 700;
	color: var(--ap-nacht);
}

.ap-consent__service summary::-webkit-details-marker {
	display: none;
}

.ap-consent__service-more {
	font-size: 13px;
	font-weight: 500;
	color: var(--ap-royal);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ap-consent__service[open] .ap-consent__service-more {
	text-decoration: none;
}

.ap-consent__service-body {
	padding: 4px 14px 14px;
}

.ap-consent__switch {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	font-size: 15px;
	font-weight: 700;
	color: var(--ap-nacht);
	cursor: pointer;
}

.ap-consent__switch input {
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--ap-nacht);
}

.ap-consent__facts {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 13px;
	line-height: 1.5;
}

.ap-consent__facts dt {
	font-weight: 700;
	color: var(--ap-nacht);
}

.ap-consent__facts dd {
	margin: 0;
	color: var(--ap-grau-dunkel);
	overflow-wrap: anywhere;
}

.ap-consent__facts a {
	color: var(--ap-royal);
}

.ap-consent__storage {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ap-consent__storage code {
	font-size: 12px;
	font-weight: 700;
	color: var(--ap-nacht);
}

.ap-consent__id {
	margin: 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--ap-sand);
	font-size: 13px;
	line-height: 1.6;
	color: var(--ap-grau-dunkel);
}

.ap-consent__id[hidden] {
	display: none;
}

.ap-consent__id code {
	font-size: 12px;
	font-weight: 700;
	color: var(--ap-nacht);
	overflow-wrap: anywhere;
}

@media (max-width: 781px) {
	.ap-consent {
		left: 0;
		right: 0;
		bottom: 0;
		width: auto;
		max-width: none;
	}

	.ap-consent:has(.ap-consent__settings:not([hidden])) {
		width: auto;
	}

	.ap-consent__service {
		margin-left: 0;
	}

	.ap-consent__card {
		max-height: 85vh;
		padding: 24px 20px 28px;
		border-radius: 20px 20px 0 0;
	}

	.ap-consent__buttons {
		flex-direction: column;
		gap: 10px;
	}

	.ap-consent__btn {
		flex: none;
		width: 100%;
		min-height: 52px;
	}
}

/* ---------- Weniger Bewegung ---------- */

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

/* ==========================================================================
   Angebotsseiten: Eckdaten, Leistungen, Ablauf, Galerie, Fragen, Anfrage
   ========================================================================== */

/* Eckdaten */
.wp-block-columns.ap-facts {
	gap: 24px 32px;
	margin-top: 2.5rem !important;
	margin-bottom: 2.5rem !important;
}

.ap-facts > .wp-block-column {
	padding-top: 14px;
	border-top: 3px solid var(--ap-messing);
}

.ap-facts .is-style-etikett {
	margin: 0 0 4px;
	font-size: 0.8125rem;
}

.is-style-fakt {
	margin: 0;
	font-family: var(--ap-font-display);
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.3;
	color: var(--ap-nacht);
}

.is-style-fakt {
	hyphens: auto;
	overflow-wrap: break-word;
}

@media (max-width: 781px) {
	.is-style-fakt {
		font-size: 1.0625rem;
	}

	.wp-block-columns.ap-facts {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Liste mit Haken */
.wp-block-list.is-style-haken,
.wp-block-list.is-style-haken-hell {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wp-block-list.is-style-haken li,
.wp-block-list.is-style-haken-hell li {
	position: relative;
	margin: 0;
	padding-left: 36px;
	line-height: 1.5;
}

.wp-block-list.is-style-haken li::before,
.wp-block-list.is-style-haken-hell li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.1em;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--ap-messing) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1B33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 12.5 10.5 17 18 8'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.wp-block-list.is-style-haken-hell {
	color: var(--ap-nebel);
	max-width: 640px;
}

/* Ablauf in Schritten */
.wp-block-group[class*="is-style-abschnitt-"] > .wp-block-list.is-style-schritte,
.wp-block-list.is-style-schritte {
	max-width: none;
	list-style: none;
	counter-reset: ap-step;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
}

.wp-block-list.is-style-schritte li {
	counter-increment: ap-step;
	position: relative;
	margin: 0;
	padding-top: 60px;
	font-size: 1rem;
	line-height: 1.5;
}

.wp-block-list.is-style-schritte li::before {
	content: counter(ap-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ap-nacht);
	color: var(--ap-gold);
	font-family: var(--ap-font-display);
	font-weight: 800;
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wp-block-list.is-style-schritte strong {
	display: block;
	font-family: var(--ap-font-display);
	font-size: 1.125rem;
	color: var(--ap-nacht);
}

.wp-block-heading + .wp-block-list.is-style-schritte,
.wp-block-heading + .wp-block-list.is-style-chips {
	margin-top: 1.5rem;
}

[class*="is-style-abschnitt-"] > .wp-block-heading:not(:first-child):not(.is-style-schmuck + *) {
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* Galerie */
.wp-block-gallery.ap-gallery {
	margin-top: 2rem !important;
	gap: 16px !important;
}

.wp-block-gallery.ap-gallery .wp-block-image img {
	border-radius: var(--ap-radius-img);
}

.wp-block-gallery.ap-gallery .wp-block-image figcaption {
	border-radius: 0 0 var(--ap-radius-img) var(--ap-radius-img);
}

/* Galerie-Abschnitt ohne Bilder auf der Website ausblenden */
.ap-gallery-section:not(:has(img)) {
	display: none;
}

.editor-styles-wrapper .ap-gallery-section:not(:has(img)) {
	display: block;
}

/* Häufige Fragen */
.wp-block-details.ap-faq {
	max-width: 860px;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-left: max(0px, calc((100% - 1280px) / 2)) !important;
	margin-right: auto !important;
	border-top: 1px solid #DDD6C8;
}

.wp-block-details.ap-faq:last-child {
	border-bottom: 1px solid #DDD6C8;
}

.wp-block-heading + .wp-block-details.ap-faq {
	margin-top: 1.5rem !important;
}

.wp-block-details.ap-faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 48px;
	padding: 14px 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--ap-font-display);
	font-weight: 700;
	font-size: 1.1875rem;
	line-height: 1.3;
	color: var(--ap-nacht);
}

.wp-block-details.ap-faq summary::-webkit-details-marker {
	display: none;
}

.wp-block-details.ap-faq summary::after {
	content: "+";
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 2px solid var(--ap-messing);
	color: var(--ap-bronze);
	font-family: var(--ap-font-text);
	font-weight: 500;
	font-size: 20px;
	line-height: 28px;
	text-align: center;
}

.wp-block-details.ap-faq[open] summary::after {
	content: "–";
}

.wp-block-details.ap-faq > p {
	margin: 0 0 18px;
	max-width: 720px;
}

/* Startseite: ganze Karte klickbar, wenn sie genau einen Button hat */
.wp-block-column.is-style-karte:has(.wp-block-button:only-child) {
	position: relative;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wp-block-column.is-style-karte:has(.wp-block-button:only-child) .wp-block-button__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--ap-radius-card);
}

.wp-block-column.is-style-karte:has(.wp-block-button:only-child) a:not(.wp-block-button__link) {
	position: relative;
	z-index: 1;
}

.wp-block-column.is-style-karte:has(.wp-block-button:only-child):hover {
	box-shadow: 0 12px 36px rgba(11, 27, 51, 0.12);
}

@media (prefers-reduced-motion: no-preference) {
	.wp-block-column.is-style-karte:has(.wp-block-button:only-child):hover {
		transform: translateY(-3px);
	}
}

.editor-styles-wrapper .wp-block-column.is-style-karte .wp-block-button__link::after {
	content: none;
}

/* ==========================================================================
   Songwriting und Multimedia
   ========================================================================== */

.ap-video-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1023px) {
	.ap-video-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	.ap-video-grid--3 {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Videotitel im Platzhalter bei schmalen Kacheln etwas kleiner */
.ap-video-grid--3 .ap-video__info {
	font-size: 13px;
}

/* Zitat */
.wp-block-quote.ap-quote {
	max-width: 860px;
	margin-top: 2.5rem !important;
	margin-left: max(0px, calc((100% - 1280px) / 2)) !important;
	margin-right: auto !important;
	padding: 0 0 0 28px;
	border-left: 4px solid var(--ap-messing);
}

.wp-block-quote.ap-quote p {
	margin: 0;
	font-family: var(--ap-font-display);
	font-weight: 700;
	font-size: clamp(1.375rem, 2.6vw, 2rem);
	line-height: 1.3;
	color: var(--ap-nacht);
	max-width: none;
}

.wp-block-quote.ap-quote p::before {
	content: "„";
}

.wp-block-quote.ap-quote p::after {
	content: "“";
}

.wp-block-quote.ap-quote cite {
	display: block;
	margin-top: 12px;
	font-family: var(--ap-font-script);
	font-style: normal;
	font-size: 1.375rem;
	color: var(--ap-bronze);
}

/* Kleiner Hinweis (Quellen, Anmerkungen) */
.is-style-hinweis {
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--ap-grau);
}

.ap-video-grid + .is-style-hinweis {
	margin-top: 1.25rem !important;
}

/* Kacheln mit Links (Sprungmarken) */
.wp-block-list.is-style-chips li:has(> a) {
	padding: 0;
}

.wp-block-list.is-style-chips li > a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: var(--ap-radius-btn);
	color: var(--ap-nacht);
	text-decoration: none;
}

.wp-block-list.is-style-chips li > a:hover {
	background: var(--ap-messing);
	border-radius: var(--ap-radius-btn);
}

.is-style-abschnitt-sand .wp-block-list.is-style-chips li {
	background: #FFFFFF;
}

.is-style-etikett + .wp-block-list.is-style-chips {
	margin-top: 1rem;
}

/* ==========================================================================
   Diskografie
   ========================================================================== */

.ap-release__media {
	position: relative;
	display: block;
	margin-bottom: 10px;
}

.ap-release__media .ap-release__cover {
	margin-bottom: 0;
	box-shadow: 0 6px 18px rgba(11, 27, 51, 0.12);
}

.ap-release__format {
	position: absolute;
	left: 10px;
	top: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--ap-messing);
	color: var(--ap-nacht);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

a.ap-release .ap-release__cover {
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (prefers-reduced-motion: no-preference) {
	a.ap-release:hover .ap-release__cover {
		transform: translateY(-3px);
		box-shadow: 0 12px 28px rgba(11, 27, 51, 0.2);
	}
}

.ap-release-grid + .wp-block-buttons {
	margin-top: 2.5rem;
}

.ap-section--nacht .wp-block-button.is-style-umriss .wp-block-button__link,
.is-style-abschnitt-nacht .wp-block-button.is-style-umriss .wp-block-button__link {
	color: #FFFFFF;
}

.is-style-etikett + .wp-block-buttons.ap-listen {
	margin-top: 0.75rem;
}

.wp-block-buttons.ap-listen {
	gap: 10px;
}

.wp-block-list.is-style-chips + .is-style-etikett {
	margin-top: 2rem;
}

/* ==========================================================================
   Rechtstexte (Impressum, Datenschutz)
   ========================================================================== */

.ap-legal {
	max-width: 760px;
}

.ap-legal h2 {
	font-size: clamp(1.375rem, 2.2vw, 1.75rem);
	line-height: 1.2;
	margin: 2.75rem 0 0.75rem;
	scroll-margin-top: calc(var(--ap-header-h) + 16px);
}

.ap-legal h2:first-child,
.ap-legal-toc + h2 {
	margin-top: 0;
}

.ap-legal p,
.ap-legal li,
.ap-legal dd {
	font-size: 1.0625rem;
	line-height: 1.65;
}

.ap-legal ul {
	padding-left: 1.25rem;
}

.ap-legal-toc {
	margin: 0 0 3rem;
	padding: 20px 24px;
	border-radius: var(--ap-radius-img);
	background: var(--ap-sand);
}

.ap-legal-toc .is-style-etikett {
	margin: 0 0 8px;
}

.ap-legal-toc ol {
	margin: 0;
	padding-left: 1.4rem;
	columns: 2;
	column-gap: 32px;
}

.ap-legal-toc li {
	font-size: 0.9375rem;
	line-height: 1.5;
	padding: 3px 0;
	break-inside: avoid;
}

@media (max-width: 600px) {
	.ap-legal-toc ol {
		columns: 1;
	}
}

.ap-legal-facts {
	margin: 1rem 0;
	padding: 4px 20px;
	border-left: 3px solid var(--ap-messing);
	background: #FFFFFF;
	border-radius: 0 var(--ap-radius-img) var(--ap-radius-img) 0;
}

.ap-legal-facts > div {
	padding: 10px 0;
	border-bottom: 1px solid #ECE6DA;
}

.ap-legal-facts > div:last-child {
	border-bottom: 0;
}

.ap-legal-facts dt {
	font-weight: 700;
	font-size: 0.9375rem;
	color: var(--ap-nacht);
}

.ap-legal-facts dd {
	margin: 2px 0 0;
	font-size: 0.9375rem;
	color: var(--ap-grau-dunkel);
}

.ap-legal-facts code {
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--ap-nacht);
}

.ap-legal-missing {
	background: #FFE58F;
	color: var(--ap-nacht);
	padding: 0 4px;
	border-radius: 3px;
}

.ap-legal-stand {
	margin-top: 3rem;
	color: var(--ap-grau);
	font-size: 0.9375rem;
}

/* Aktuelle Seite im Menü */
.ap-nav .is-current > .wp-block-navigation-item__content:not(.ap-nav__booking *) {
	color: var(--ap-gold);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
}

.ap-nav .is-menu-open .is-current > .wp-block-navigation-item__content {
	text-decoration: none;
	color: var(--ap-gold);
}

/* ---------- Countdown: nächster Auftritt ---------- */

.ap-countdown {
	background: var(--ap-sand);
	color: var(--ap-nacht);
	border-top: 1px solid #E6DCC8;
	border-bottom: 1px solid #E6DCC8;
	padding: clamp(48px, 7vw, 88px) var(--wp--style--root--padding-right, 24px) clamp(48px, 7vw, 88px) var(--wp--style--root--padding-left, 24px);
	margin-block: 0;
}

.ap-countdown__inner {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.ap-countdown__label {
	font-family: var(--ap-font-script);
	color: var(--ap-bronze);
	font-size: 1.5rem;
	margin: 0 0 8px;
}

.ap-countdown__title {
	font-family: var(--ap-font-display);
	font-weight: 800;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.05;
	color: var(--ap-nacht);
	margin: 0 0 16px;
	text-wrap: balance;
}

.ap-countdown__meta {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.5;
	color: var(--ap-grau-dunkel);
}

.ap-countdown__meta time {
	display: block;
	color: var(--ap-nacht);
	font-weight: 700;
}

.ap-countdown__where {
	display: block;
	margin-top: 4px;
}

.ap-countdown__hint {
	display: inline-block;
	margin: 16px 0 0;
	padding: 6px 12px;
	border: 1px solid var(--ap-messing);
	border-radius: 999px;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--ap-bronze);
	background: #FFFFFF;
}

.ap-countdown__tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(72px, 1fr));
	gap: 12px;
}

.ap-countdown__tiles[hidden],
.ap-countdown__live[hidden] {
	display: none;
}

.ap-countdown__tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 18px 10px 14px;
	background: #FFFFFF;
	border: 1px solid #E6DCC8;
	border-top: 3px solid var(--ap-messing);
	border-radius: 16px;
	box-shadow: 0 8px 22px rgba(11, 27, 51, 0.06);
	overflow: hidden;
}

.ap-countdown__num {
	display: block;
	font-family: var(--ap-font-display);
	font-weight: 800;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	line-height: 1;
	color: var(--ap-nacht);
	font-variant-numeric: tabular-nums;
	min-width: 2ch;
	text-align: center;
}

.ap-countdown__unit {
	margin-top: 8px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ap-bronze);
}

.ap-countdown__live {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-family: var(--ap-font-display);
	font-weight: 800;
	font-size: clamp(1.375rem, 2.6vw, 1.875rem);
	color: var(--ap-nacht);
}

.ap-countdown__dot {
	flex: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #E5484D;
	box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.6);
}

.ap-countdown__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.ap-countdown-leer {
	padding: 24px;
	border: 2px dashed #C3C4C7;
	border-radius: 12px;
	font-size: 15px;
	color: #50575E;
}

@media (prefers-reduced-motion: no-preference) {
	.ap-countdown__num.is-tick {
		animation: ap-tick 0.42s cubic-bezier(0.2, 0.7, 0.2, 1);
	}

	.ap-countdown__dot {
		animation: ap-pulse 1.6s ease-out infinite;
	}
}

@keyframes ap-tick {
	from {
		transform: translateY(-45%);
		opacity: 0;
	}
	to {
		transform: none;
		opacity: 1;
	}
}

@keyframes ap-pulse {
	70% {
		box-shadow: 0 0 0 14px rgba(229, 72, 77, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(229, 72, 77, 0);
	}
}

@media (max-width: 900px) {
	.ap-countdown__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.ap-countdown__tiles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 8px;
	}

	.ap-countdown__tile {
		padding: 14px 4px 10px;
		border-radius: 12px;
	}

	.ap-countdown__unit {
		font-size: 0.6875rem;
		letter-spacing: 0.04em;
	}

	.ap-countdown__actions .ap-btn {
		flex: 1 1 100%;
	}
}

/* ---------- Terminliste ---------- */

.ap-termine__liste {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.ap-termin {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	padding: 18px 20px;
	background: #FFFFFF;
	border: 1px solid #E6E1D6;
	border-radius: 18px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ap-termin__datum {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	border-radius: 14px;
	background: var(--ap-nacht);
	color: #FFFFFF;
	line-height: 1;
}

.ap-termin__tag {
	font-family: var(--ap-font-display);
	font-weight: 800;
	font-size: 2rem;
	color: var(--ap-gold);
}

.ap-termin__monat {
	margin-top: 4px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ap-termin__titel {
	margin: 0 0 4px;
	font-family: var(--ap-font-display);
	font-weight: 800;
	font-size: 1.25rem;
	line-height: 1.2;
	color: var(--ap-nacht);
}

.ap-termin__meta,
.ap-termin__ort {
	margin: 0;
	color: var(--ap-grau-dunkel);
	font-size: 1rem;
	line-height: 1.45;
}

.ap-termin__hinweis {
	margin: 6px 0 0;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--ap-bronze);
}

.ap-termin__hinweis--live {
	color: #B4232A;
}

.ap-termin .ap-btn {
	min-height: 44px;
	padding: 0 18px;
	font-size: 1rem;
	border: 2px solid var(--ap-nacht);
	color: var(--ap-nacht);
}

.ap-termin .ap-btn:hover {
	background: var(--ap-nacht);
	color: #FFFFFF;
}

.ap-termine__leer {
	margin: 0;
	padding: 24px;
	background: var(--ap-sand);
	border-radius: 18px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.ap-termin:hover {
		transform: translateY(-2px);
		box-shadow: 0 10px 28px rgba(11, 27, 51, 0.08);
	}
}

@media (max-width: 600px) {
	.ap-termin {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 14px;
		padding: 14px;
	}

	.ap-termin__datum {
		width: 60px;
		height: 60px;
	}

	.ap-termin__tag {
		font-size: 1.5rem;
	}

	.ap-termin .ap-btn {
		grid-column: 1 / -1;
	}
}

/* ---------- Kalender-Links ---------- */

.ap-countdown__cal {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 56px;
	padding: 0 6px;
	color: var(--ap-royal);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ap-countdown__cal:hover {
	color: var(--ap-nacht);
}

.ap-btn--outline-dark,
.ap-btn--outline-dark:visited {
	border: 2px solid var(--ap-nacht);
	color: var(--ap-nacht);
}

.ap-btn--outline-dark:hover {
	background: var(--ap-nacht);
	color: #FFFFFF;
}

.ap-termin__cal {
	display: inline-block;
	margin-top: 6px;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--ap-royal);
	text-underline-offset: 3px;
}

/* ==========================================================================
   Animationen
   Nur CSS, nur transform und opacity (laufen auf der Grafikkarte).
   Wer „Bewegung reduzieren“ eingestellt hat, sieht sie nicht.
   ========================================================================== */

/* ---------- Schallplatte rutscht aus der Hülle ---------- */

.ap-release__media {
	isolation: isolate;
}

.ap-release__media .ap-release__cover {
	position: relative;
	z-index: 1;
}

.ap-release__format {
	z-index: 2;
}

.ap-vinyl {
	position: absolute;
	top: 3%;
	left: 3%;
	z-index: 0;
	width: 94%;
	aspect-ratio: 1;
	border-radius: 50%;
	background:
		radial-gradient(circle, #0B1B33 0 3%, var(--ap-gold) 3.5% 15%, var(--ap-messing) 15.5% 17%, transparent 17.5%),
		repeating-radial-gradient(circle, #151515 0 1px, #1F1F1F 1.5px 3px),
		#111111;
	box-shadow: inset 0 0 0 2px #000000, 0 6px 18px rgba(0, 0, 0, 0.25);
	opacity: 0;
	pointer-events: none;
}

.ap-vinyl::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: conic-gradient(from 30deg, transparent 0 12%, rgba(255, 255, 255, 0.14) 16%, transparent 22% 62%, rgba(255, 255, 255, 0.1) 66%, transparent 72%);
}

/* Zustand „Platte draußen“: per Maus beim Darüberfahren, auf iPad und Handy
   über .is-platte (site.js setzt die Klasse beim Scrollen auf das Cover,
   das der Bildschirmmitte am nächsten ist). */
@media (prefers-reduced-motion: no-preference) {
	.ap-vinyl {
		transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s ease;
	}

	.ap-release .ap-release__media .ap-release__cover {
		transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.15s ease;
	}

	.ap-release.is-platte .ap-release__media .ap-release__cover {
		transform: translateX(-5%);
	}

	.ap-release.is-platte .ap-vinyl::after {
		animation: ap-glanz 2.4s linear infinite;
	}
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.ap-release:hover .ap-release__media .ap-release__cover {
		transform: translateX(-5%);
	}

	.ap-release:hover .ap-vinyl::after {
		animation: ap-glanz 2.4s linear infinite;
	}
}

.ap-release.is-platte {
	position: relative;
	z-index: 3;
}

.ap-release.is-platte .ap-vinyl {
	opacity: 1;
	transform: translateX(26%) rotate(200deg);
}

@media (hover: hover) {
	.ap-release:hover,
	a.ap-release:focus-visible {
		position: relative;
		z-index: 3;
	}

	.ap-release:hover .ap-vinyl,
	a.ap-release:focus-visible .ap-vinyl {
		opacity: 1;
		transform: translateX(26%) rotate(200deg);
	}
}

/* Bei „Bewegung reduzieren“: Platte blendet an ihrer Position ein, ohne zu gleiten. */
@media (prefers-reduced-motion: reduce) {
	.ap-vinyl {
		transition: opacity 0.4s ease !important;
	}
}

@keyframes ap-glanz {
	to {
		transform: rotate(360deg);
	}
}

/* ---------- Equalizer ---------- */

.ap-eq {
	display: inline-flex;
	align-items: flex-end;
	gap: 3px;
	height: 16px;
}

.ap-eq i {
	display: block;
	width: 3px;
	height: 100%;
	border-radius: 2px;
	background: currentColor;
	transform-origin: bottom;
	transform: scaleY(0.45);
}

.ap-eq i:nth-child(2) {
	transform: scaleY(0.85);
}

.ap-eq i:nth-child(3) {
	transform: scaleY(0.6);
}

.ap-eq i:nth-child(4) {
	transform: scaleY(0.95);
}

@media (prefers-reduced-motion: no-preference) {
	.ap-eq i {
		animation: ap-eq 1.1s ease-in-out infinite;
	}

	.ap-eq i:nth-child(2) {
		animation-duration: 0.8s;
		animation-delay: -0.3s;
	}

	.ap-eq i:nth-child(3) {
		animation-duration: 1.3s;
		animation-delay: -0.6s;
	}

	.ap-eq i:nth-child(4) {
		animation-duration: 0.95s;
		animation-delay: -0.2s;
	}
}

@keyframes ap-eq {
	0%,
	100% {
		transform: scaleY(0.25);
	}
	50% {
		transform: scaleY(1);
	}
}

/* ---------- Abschnitte gleiten beim Scrollen ins Bild ---------- */

@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		:is(.ap-section, [class*="is-style-abschnitt-"]) > :not(.ap-release-grid, .ap-cards, .ap-video-grid, .ap-gallery),
		.ap-release-grid > *,
		.ap-cards > *,
		.ap-termin,
		.ap-countdown__inner,
		.ap-spotify {
			animation: ap-auftauchen linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 35%;
		}
	}
}

@keyframes ap-auftauchen {
	from {
		opacity: 0;
		transform: translateY(28px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Weiche Seitenwechsel ---------- */

@media (prefers-reduced-motion: no-preference) {
	@view-transition {
		navigation: auto;
	}

	.ap-header-wrap {
		view-transition-name: kopf;
	}

	::view-transition-old(root) {
		animation: 0.18s ease both ap-weg;
	}

	::view-transition-new(root) {
		animation: 0.32s cubic-bezier(0.2, 0.7, 0.2, 1) both ap-her;
	}
}

@keyframes ap-weg {
	to {
		opacity: 0;
	}
}

@keyframes ap-her {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
}

/* ---------- Spotify-Player ---------- */

.ap-spotify {
	max-width: 760px;
	margin-inline: auto;
	min-height: var(--ap-spotify-h, 452px);
	border-radius: 12px;
	overflow: hidden;
	background: var(--ap-nacht);
	color: #FFFFFF;
}

.ap-spotify iframe {
	display: block;
	width: 100%;
	height: var(--ap-spotify-h, 452px);
	border: 0;
}

.ap-spotify__placeholder {
	display: flex;
	gap: 24px;
	align-items: center;
	min-height: var(--ap-spotify-h, 452px);
	padding: clamp(20px, 4vw, 40px);
	box-sizing: border-box;
	background:
		radial-gradient(90% 120% at 100% 0%, rgba(35, 64, 176, 0.5) 0%, rgba(35, 64, 176, 0) 60%),
		var(--ap-nacht);
}

.ap-spotify__placeholder > .ap-eq {
	flex: none;
	height: 56px;
	gap: 6px;
	color: var(--ap-gold);
}

.ap-spotify__placeholder > .ap-eq i {
	width: 8px;
	border-radius: 4px;
}

.ap-spotify__title {
	margin: 0 0 8px;
	font-family: var(--ap-font-display);
	font-weight: 800;
	font-size: clamp(1.375rem, 2.6vw, 1.75rem);
	line-height: 1.15;
}

.ap-spotify__info {
	margin: 0 0 20px;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--ap-nebel);
	max-width: 46ch;
}

.ap-spotify__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
}

.ap-spotify__load {
	border: 0;
	cursor: pointer;
}

.ap-spotify__open {
	color: #FFFFFF;
	font-weight: 700;
	text-underline-offset: 4px;
}

.ap-spotify--klein .ap-spotify__placeholder > .ap-eq {
	display: none;
}

.ap-spotify--klein .ap-spotify__info {
	display: none;
}

@media (max-width: 600px) {
	.ap-spotify__placeholder {
		flex-direction: column;
		align-items: flex-start;
	}

	.ap-spotify__placeholder > .ap-eq {
		height: 40px;
	}
}


/* Die Schallplatte darf nicht über den Seitenrand hinausragen. */
.ap-release-grid {
	overflow-x: clip;
	overflow-clip-margin: 24px;
}

/* ---------- Musik-Player im Kopfbereich ---------- */

.ap-player {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 auto 0 8px !important;
	min-width: 0;
	color: #FFFFFF;
}

.ap-player__btn {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ap-messing);
	color: var(--ap-nacht);
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.ap-player__btn:hover {
	background: var(--ap-gold);
}

.ap-player__btn:focus-visible,
.ap-player__next:focus-visible {
	outline: 2px solid var(--ap-gold);
	outline-offset: 3px;
}

.ap-player__play {
	margin-left: 2px;
}

.ap-player__pause,
.ap-player.is-playing .ap-player__play {
	display: none;
}

.ap-player.is-playing .ap-player__pause {
	display: block;
}

.ap-player__info {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--ap-nebel);
}

.ap-player__title {
	max-width: 16ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ap-player .ap-eq {
	display: none;
	height: 14px;
	color: var(--ap-gold);
}

.ap-player.is-playing .ap-eq {
	display: inline-flex;
}

.ap-player:not(.is-playing) .ap-eq i {
	animation: none;
}

.ap-player__next {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--ap-linie-dunkel);
	border-radius: 50%;
	background: transparent;
	color: #FFFFFF;
	cursor: pointer;
}

.ap-player__next[hidden] {
	display: none;
}

.ap-player__next:hover {
	border-color: var(--ap-gold);
	color: var(--ap-gold);
}

@media (prefers-reduced-motion: no-preference) {
	.ap-player.is-playing .ap-player__btn {
		box-shadow: 0 0 0 0 rgba(240, 208, 128, 0.55);
		animation: ap-player-puls 2s ease-out infinite;
	}
}

@keyframes ap-player-puls {
	70% {
		box-shadow: 0 0 0 10px rgba(240, 208, 128, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(240, 208, 128, 0);
	}
}

/* Auf schmaleren Bildschirmen nur Knöpfe, der Titel erscheint erst beim Abspielen. */
@media (max-width: 1180px) {
	.ap-player__info {
		display: none;
	}

	.ap-player.is-active .ap-player__info {
		display: inline-flex;
	}

	.ap-player__title {
		max-width: 11ch;
	}
}

@media (max-width: 781px) {
	.ap-player.is-active .ap-player__title {
		display: none;
	}

	.ap-player__btn {
		width: 40px;
		height: 40px;
	}
}


/* Rechte Spalte: Platte rutscht nach links heraus, sonst wird sie am Rand abgeschnitten. */
@media (min-width: 782px) {
	.ap-release-grid > .ap-release:nth-child(4n).is-platte .ap-vinyl {
		transform: translateX(-26%) rotate(-200deg);
	}

	.ap-release-grid > .ap-release:nth-child(4n).is-platte .ap-release__media .ap-release__cover {
		transform: translateX(5%);
	}
}

@media (hover: hover) and (min-width: 782px) {
	.ap-release-grid > .ap-release:nth-child(4n):hover .ap-vinyl {
		transform: translateX(-26%) rotate(-200deg);
	}
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) and (min-width: 782px) {
	.ap-release-grid > .ap-release:nth-child(4n):hover .ap-release__media .ap-release__cover {
		transform: translateX(5%);
	}
}

@media (max-width: 781px) {
	.ap-release-grid > .ap-release:nth-child(2n).is-platte .ap-vinyl {
		transform: translateX(-26%) rotate(-200deg);
	}

	.ap-release-grid > .ap-release:nth-child(2n).is-platte .ap-release__media .ap-release__cover {
		transform: translateX(5%);
	}
}

@media (hover: hover) and (max-width: 781px) {
	.ap-release-grid > .ap-release:nth-child(2n):hover .ap-vinyl {
		transform: translateX(-26%) rotate(-200deg);
	}
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) and (max-width: 781px) {
	.ap-release-grid > .ap-release:nth-child(2n):hover .ap-release__media .ap-release__cover {
		transform: translateX(5%);
	}
}

/* Bei „Bewegung reduzieren“ bleibt das Cover stehen. */
@media (prefers-reduced-motion: reduce) {
	.ap-release .ap-release__media .ap-release__cover {
		transform: none !important;
	}
}

/* ---------- Sprungmarken und Video-Reihen ---------- */

.ap-sprungmarken .is-style-etikett {
	margin-bottom: 12px;
}

.ap-sprungmarken .wp-block-list.is-style-chips {
	margin-top: 0;
}

.ap-video + .ap-video-reihe,
.ap-video-reihe + .ap-video {
	margin-top: 24px !important;
}

/* Zwischenüberschrift (H3) nach Videos: deutlicher Abstand, damit die Gruppen zusammengehören */
:is(.ap-video, .ap-video-reihe) + .wp-block-heading {
	margin-top: clamp(2.5rem, 5vw, 4rem) !important;
}

[class*="is-style-abschnitt-"] h3.wp-block-heading + .ap-video,
[class*="is-style-abschnitt-"] h3.wp-block-heading + p + .ap-video {
	margin-top: 1rem;
}

/* ---------- Video mit eigenem Vorschaubild ---------- */

.ap-video__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ap-video__placeholder--poster {
	justify-content: center;
	background: linear-gradient(to bottom, rgba(6, 15, 30, 0) 45%, rgba(6, 15, 30, 0.85) 100%);
}

.ap-video__play {
	width: 76px;
	height: 76px;
	min-height: 0;
	padding: 0;
	justify-content: center;
	border-radius: 50%;
	box-shadow: 0 10px 30px rgba(6, 15, 30, 0.35);
	transition: transform 0.2s ease, background-color 0.15s ease;
}

.ap-video__play svg {
	margin-left: 4px;
}

.ap-video__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: clamp(14px, 2.5vw, 28px);
	text-align: left;
}

.ap-video__caption .ap-video__title {
	text-shadow: 0 1px 12px rgba(6, 15, 30, 0.6);
}

.ap-video__info--poster {
	margin-top: 6px;
	max-width: 520px;
	font-size: 13px;
}

.ap-video.is-allowed .ap-video__info--poster {
	display: none;
}

.ap-video--klein .ap-video__play {
	width: 56px;
	height: 56px;
}

.ap-video--klein .ap-video__info--poster {
	font-size: 12px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.ap-video--poster .ap-video__poster {
		transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
	}

	.ap-video--poster:hover .ap-video__poster {
		transform: scale(1.03);
	}

	.ap-video--poster:hover .ap-video__play {
		transform: scale(1.06);
	}
}

@media (max-width: 480px) {
	.ap-video--poster {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}

	.ap-video--poster .ap-video__info--poster {
		font-size: 12px;
	}
}

/* ---------- Als Bild teilen ---------- */

.ap-share {
	position: relative;
	display: inline-block;
}

.ap-share__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 56px;
	padding: 0 6px;
	border: 0;
	background: none;
	color: var(--ap-royal);
	font-family: var(--ap-font-text);
	font-weight: 700;
	font-size: 1.125rem;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}

.ap-share__toggle:hover {
	color: var(--ap-nacht);
}

.ap-share--klein .ap-share__toggle {
	min-height: 36px;
	padding: 0;
	font-size: 0.9375rem;
	text-underline-offset: 3px;
}

.ap-share__menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 30;
	display: grid;
	gap: 8px;
	width: min(290px, calc(100vw - 40px));
	padding: 14px;
	box-sizing: border-box;
	background: #FFFFFF;
	border: 1px solid #E6DCC8;
	border-radius: 16px;
	box-shadow: 0 18px 40px rgba(11, 27, 51, 0.16);
}

.ap-share__menu[hidden] {
	display: none;
}

.ap-share__styles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 4px;
	border-radius: 12px;
	background: var(--ap-sand);
}

.ap-share__style {
	min-height: 40px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: var(--ap-nacht);
	font-family: var(--ap-font-text);
	font-weight: 700;
	font-size: 0.9375rem;
	cursor: pointer;
}

.ap-share__style[aria-pressed="true"] {
	background: var(--ap-nacht);
	color: #FFFFFF;
}

.ap-share__go {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	padding: 0 16px;
	border: 2px solid var(--ap-nacht);
	border-radius: 12px;
	background: #FFFFFF;
	color: var(--ap-nacht);
	font-family: var(--ap-font-text);
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
}

.ap-share__go small {
	font-weight: 500;
	color: var(--ap-grau);
}

.ap-share__go:hover {
	background: var(--ap-nacht);
	color: #FFFFFF;
}

.ap-share__go:hover small {
	color: var(--ap-nebel);
}

.ap-share__go:disabled {
	opacity: 0.6;
	cursor: progress;
}

.ap-share__status {
	font-size: 0.875rem;
	color: var(--ap-grau-dunkel);
}

.ap-share__status:empty {
	display: none;
}

.ap-share__toggle:focus-visible,
.ap-share__style:focus-visible,
.ap-share__go:focus-visible {
	outline: 2px solid var(--ap-royal);
	outline-offset: 2px;
}

/* Termine: Aktionen und Tour */
.ap-termin__aktionen {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 20px;
	margin-top: 6px;
}

.ap-termin__aktionen .ap-termin__cal {
	margin-top: 0;
}

.ap-termin__tour {
	margin: 0 0 4px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ap-bronze);
}

.ap-termine__touren {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.ap-tourkarte {
	display: grid;
	gap: 18px;
	padding: 18px 22px;
	border-radius: 18px;
	background: var(--ap-nacht);
	color: #FFFFFF;
}

.ap-tourkarte__info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	gap: 4px 16px;
}

/* Tour mit Trailer: Video rechts daneben, auf dem Handy darunter. */
.ap-tourkarte--trailer {
	padding: 22px;
}

.ap-tourkarte__trailer .ap-video {
	margin: 0 !important;
	border-radius: 12px;
	overflow: hidden;
}

@media (min-width: 782px) {
	.ap-tourkarte--trailer {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
		gap: 28px;
		padding: 26px;
	}

	.ap-tourkarte--trailer .ap-tourkarte__name {
		font-size: 1.75rem;
	}
}

.ap-tourkarte__label {
	margin: 0;
	font-family: var(--ap-font-script);
	font-size: 1.375rem;
	color: var(--ap-gold);
}

.ap-tourkarte__name {
	flex: 1 1 60%;
	margin: 0;
	font-family: var(--ap-font-display);
	font-weight: 800;
	font-size: 1.25rem;
	line-height: 1.2;
}

.ap-tourkarte__anzahl {
	flex-basis: 100%;
	margin: 0;
	font-size: 0.9375rem;
	color: var(--ap-nebel);
}

.ap-tourkarte .ap-share__toggle {
	min-height: 44px;
	padding: 0;
	color: var(--ap-gold);
	font-size: 1rem;
}

.ap-tourkarte .ap-share__toggle:hover {
	color: #FFFFFF;
}

/* Offenes Teilen-Menü liegt über den folgenden Elementen. */
:is(.ap-termin, .ap-tourkarte, .ap-countdown, .ap-countdown__inner, [class*="is-style-abschnitt-"], .ap-section):has(.ap-share__menu:not([hidden])) {
	position: relative;
	z-index: 40;
}

.ap-share__menu.is-rechts {
	left: auto;
	right: 0;
}

/* Wöchentliche Termine */
.ap-countdown__serie {
	display: block;
	margin-bottom: 4px;
	font-weight: 700;
	color: var(--ap-bronze);
}

.ap-termin__naechster {
	margin: 2px 0 0;
	font-size: 0.875rem;
	color: var(--ap-grau);
}

.ap-video-reihe--mittel {
	margin-top: 0 !important;
}

.wp-block-heading + .ap-video-reihe--mittel {
	margin-top: 1rem !important;
}

/* ---------- Leiste „Sei dabei!“ unten ---------- */

.ap-stickybar {
	position: fixed;
	left: 50%;
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: 90;
	display: flex;
	align-items: center;
	width: min(760px, calc(100% - 24px));
	transform: translateX(-50%);
	border-radius: 18px;
	background: var(--ap-nacht);
	color: #FFFFFF;
	box-shadow: 0 16px 40px rgba(6, 15, 30, 0.35);
}

.ap-stickybar[hidden] {
	display: none;
}

@media (prefers-reduced-motion: no-preference) {
	.ap-stickybar {
		animation: ap-bar-rein 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
	}
}

@keyframes ap-bar-rein {
	from {
		opacity: 0;
		transform: translate(-50%, 20px);
	}
}

.ap-stickybar__link {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	padding: 12px 8px 12px 18px;
	color: inherit;
	text-decoration: none;
}

.ap-stickybar__label {
	flex: none;
	font-family: var(--ap-font-script);
	font-size: 1.25rem;
	color: var(--ap-gold);
}

.ap-stickybar__text {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.25;
}

.ap-stickybar__text strong,
.ap-stickybar__text span {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ap-stickybar__text strong {
	font-family: var(--ap-font-display);
	font-weight: 800;
	font-size: 1rem;
}

.ap-stickybar__text span {
	font-size: 0.875rem;
	color: var(--ap-nebel);
}

.ap-stickybar__count {
	flex: none;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--ap-nacht-hell);
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--ap-gold);
}

.ap-stickybar__count:empty {
	display: none;
}

.ap-stickybar__cta {
	flex: none;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 12px;
	background: var(--ap-messing);
	color: var(--ap-nacht);
	font-weight: 700;
	font-size: 0.9375rem;
}

.ap-stickybar__link:hover .ap-stickybar__cta {
	background: var(--ap-gold);
}

.ap-stickybar__link:focus-visible,
.ap-stickybar__close:focus-visible {
	outline: 2px solid var(--ap-gold);
	outline-offset: 2px;
	border-radius: 14px;
}

.ap-stickybar__close {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-right: 6px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--ap-nebel);
	cursor: pointer;
}

.ap-stickybar__close:hover {
	color: #FFFFFF;
	background: var(--ap-nacht-hell);
}

@media (max-width: 600px) {
	.ap-stickybar__label,
	.ap-stickybar__cta {
		display: none;
	}

	.ap-stickybar__link {
		gap: 10px;
		padding-left: 14px;
	}
}

/* Mittlere Bildschirme: Menü enger setzen, damit alles in eine Zeile passt. */
@media (min-width: 1024px) and (max-width: 1365px) {
	.ap-nav .wp-block-navigation__container {
		gap: clamp(14px, 1.6vw, 28px);
	}

	.ap-nav .wp-block-navigation-item__content,
	.ap-nav .wp-block-navigation-item__content:visited {
		font-size: 13px;
		letter-spacing: 1.2px;
	}

	.ap-nav .ap-nav__booking > .wp-block-navigation-item__content {
		padding: 0 14px;
	}

	.ap-header {
		gap: 16px;
	}
}

/* ==========================================================================
   Startbild: Name erscheint Buchstabe für Buchstabe, Foto mit Kamerafahrt,
   beim Scrollen Tiefe. Nur CSS; bei „Bewegung reduzieren“ steht alles still.
   ========================================================================== */

.ap-hero__word {
	display: inline-block;
	white-space: nowrap;
	overflow: hidden;
	padding: 0.06em 0.02em 0.12em;
	margin: -0.06em -0.02em -0.12em;
	vertical-align: top;
}

.ap-hero__char {
	display: inline-block;
}

.ap-hero__line {
	display: block;
	width: clamp(80px, 12vw, 160px);
	height: 3px;
	margin-top: -4px;
	border-radius: 2px;
	background: linear-gradient(90deg, rgba(240, 208, 128, 0), var(--ap-gold) 30%, var(--ap-gold) 70%, rgba(240, 208, 128, 0));
}

@media (prefers-reduced-motion: no-preference) {
	.ap-hero__img {
		animation: ap-hero-kamera 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.ap-hero__kicker {
		animation: ap-hero-kicker 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	/* Buchstaben steigen auf, danach läuft eine goldene Welle einmal durch den Namen */
	.ap-hero__char {
		animation:
			ap-hero-char 0.7s cubic-bezier(0.2, 0.85, 0.25, 1) both,
			ap-hero-welle 0.9s ease-in-out both;
		animation-delay:
			calc(0.25s + var(--i) * 45ms),
			calc(1.15s + var(--i) * 55ms);
	}

	.ap-hero__line {
		animation: ap-hero-line 0.8s 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.ap-hero__cta {
		animation: ap-hero-auf 0.7s 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

}

@keyframes ap-hero-kamera {
	from {
		transform: scale(1.08);
	}
	to {
		transform: none;
	}
}

@keyframes ap-hero-kicker {
	from {
		opacity: 0;
		letter-spacing: 0.6em;
	}
}

@keyframes ap-hero-char {
	from {
		transform: translateY(105%) rotate(6deg);
	}
	to {
		transform: none;
	}
}

@keyframes ap-hero-line {
	from {
		transform: scaleX(0);
	}
}

@keyframes ap-hero-auf {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
}

@keyframes ap-hero-welle {
	0%,
	100% {
		color: #FFFFFF;
		text-shadow: none;
	}
	45% {
		color: var(--ap-gold);
		text-shadow: 0 0 24px rgba(240, 208, 128, 0.45);
	}
}

/* Beim Scrollen: Foto bleibt etwas zurück, Name blendet aus */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.ap-hero__picture {
			animation: ap-hero-tiefe linear both;
			animation-timeline: view();
			animation-range: exit 0% exit 100%;
		}

		.ap-hero__content {
			animation: ap-hero-weg linear both;
			animation-timeline: view();
			animation-range: exit 0% exit 60%;
		}
	}
}

@keyframes ap-hero-tiefe {
	to {
		transform: translateY(18%);
	}
}

@keyframes ap-hero-weg {
	to {
		opacity: 0;
		transform: translateY(-40px);
	}
}

/* ---------- Sanfte Variante bei „Bewegung reduzieren“ ----------
   Wer im Betriebssystem „Bewegung reduzieren“ bzw. „Animationseffekte aus“
   eingestellt hat, sieht keine Bewegung (nichts gleitet, zoomt oder dreht),
   aber weiche Überblendungen und die goldene Farbwelle im Namen. Das ist mit
   der Einstellung vereinbar, weil sich dabei nichts über den Bildschirm bewegt. */
@media (prefers-reduced-motion: reduce) {
	.ap-hero__kicker,
	.ap-hero__line,
	.ap-hero__cta {
		animation: ap-blende 0.9s ease both !important;
	}

	.ap-hero__kicker {
		animation-delay: 0.15s !important;
	}

	.ap-hero__line {
		animation-delay: 0.95s !important;
	}

	.ap-hero__cta {
		animation-delay: 1.1s !important;
	}

	.ap-hero__char {
		animation:
			ap-blende 0.6s ease both,
			ap-hero-welle 0.9s ease-in-out both !important;
		animation-delay:
			calc(0.2s + var(--i) * 45ms),
			calc(1.1s + var(--i) * 55ms) !important;
	}

	.ap-countdown__dot {
		animation: ap-blinken 1.6s ease-in-out infinite !important;
	}
}

@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: reduce) {
		:is(.ap-section, [class*="is-style-abschnitt-"]) > :not(.ap-release-grid, .ap-cards, .ap-video-grid, .ap-gallery),
		.ap-release-grid > *,
		.ap-cards > *,
		.ap-termin,
		.ap-countdown__inner,
		.ap-spotify {
			animation: ap-blende linear both !important;
			animation-timeline: view() !important;
			animation-range: entry 0% entry 35% !important;
		}
	}
}

@keyframes ap-blende {
	from {
		opacity: 0;
	}
}

@keyframes ap-blinken {
	50% {
		opacity: 0.35;
	}
}

/* Bilder in den Karten (Shows, Moderation …) immer gleich groß: Querformat 3:2,
   egal welches Format hochgeladen wurde oder was im Editor eingestellt ist. */
.ap-card-image img,
.is-style-karte > .wp-block-image:first-child img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 3 / 2 !important;
	object-fit: cover !important;
	object-position: center;
	border-radius: var(--ap-radius-img);
}

.is-style-karte > .wp-block-image:first-child {
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 0.5rem;
}

/* Bild direkt unter einer H2 in der Karte (Songwriting): Videoformat 16:9,
   damit es auf gleicher Höhe mit dem Video in der Nachbarkarte steht. */
.is-style-karte > h2 + .wp-block-image {
	width: 100% !important;
	max-width: none !important;
	margin-block: 1.5rem 0 !important;
}

.is-style-karte > h2 + .wp-block-image img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9 !important;
	object-fit: cover !important;
	object-position: center;
	border-radius: var(--ap-radius-img);
}

/* ---------- Überschriften auf dem Handy ----------
   Lange Wörter („lateinamerikanischen“) werden nach deutscher Silbentrennung
   getrennt statt über den Rand zu laufen, Zeilen werden gleichmäßig verteilt.
   Eigene Trennstelle: im Editor einen senkrechten Strich ins Wort setzen,
   z. B. „Weihnachts|lieder“. Getrennt wird dort nur, wenn es eng wird. */
:where(h1, h2, h3, h4, .wp-block-heading, .wp-block-post-title) {
	-webkit-hyphens: auto;
	hyphens: auto;
	hyphenate-limit-chars: 10 4 4;
	overflow-wrap: break-word;
	text-wrap: balance;
}

/* ---------- Teilen-Menü auf dem Handy: Leiste von unten ---------- */
.ap-share-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(6, 15, 30, 0.55);
}

.ap-share-backdrop[hidden] {
	display: none;
}

.ap-share__menu.is-sheet {
	position: fixed;
	top: auto;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1001;
	width: auto;
	gap: 10px;
	padding: 12px 20px calc(22px + env(safe-area-inset-bottom));
	border: 0;
	border-radius: 24px 24px 0 0;
	box-shadow: 0 -12px 40px rgba(6, 15, 30, 0.3);
	animation: ap-sheet 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ap-share__menu.is-sheet::before {
	content: "Als Bild teilen";
	display: block;
	padding: 14px 0 6px;
	border-top: 5px solid transparent;
	background: linear-gradient(#D9CFBC, #D9CFBC) center top / 44px 5px no-repeat;
	font-family: var(--wp--preset--font-family--bricolage);
	font-weight: 800;
	font-size: 1.25rem;
	color: var(--ap-nacht);
	text-align: center;
}

.ap-share__menu.is-sheet .ap-share__style {
	min-height: 48px;
}

.ap-share__menu.is-sheet .ap-share__go {
	min-height: 56px;
}

@keyframes ap-sheet {
	from {
		transform: translateY(100%);
	}
}
