/*
Theme Name: Rabanus Control Room
Theme URI: https://rabanus.media
Author: Jonathan Rabanus
Author URI: https://rabanus.media
Description: Dunkles Theme für Rabanus.Media: Tontechnik, Filmproduktion und Eventtechnik, dazu Tools und Lab. Die Startseite ist fest im Theme gebaut, alle Unterseiten übernehmen ihre Inhalte aus WordPress.
Version: 1.2.2
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rabanus-control-room
*/

/* ==========================================================================
   Grundwerte
   ========================================================================== */
:root {
	/* Farben: Violett aus dem Studiolicht, Pegelfarben nur für Anzeigen */
	--ink: #15121c;
	--ink-2: #1c1824;
	--ink-3: #262131;
	--line: #382f48;
	--text: #efebf5;
	--muted: #a8a0ba;
	--paper: #f3eff8;
	--violet: #a48cff;

	--meter-g: #52d68f;
	--meter-a: #f4b942;
	--meter-r: #f2594f;

	--font: Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif;
	--mono: var(--font);

	--gutter: clamp(1.25rem, 4.5vw, 3.5rem);
	--max: 1360px;
	--radius: 3px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 4rem;
}

body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font: 400 1rem/1.6 var(--font);
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--font);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
	text-wrap: pretty;
}

:focus-visible {
	outline: 2px solid var(--violet);
	outline-offset: 3px;
	border-radius: 2px;
}

.rm-skip {
	position: absolute;
	left: var(--gutter);
	top: -4rem;
	z-index: 100;
	padding: 0.7rem 1rem;
	background: var(--paper);
	color: var(--ink);
	font-weight: 600;
	transition: top 0.15s;
}
.rm-skip:focus {
	top: 1rem;
}

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

/* ==========================================================================
   Kopfbereich und Navigation
   ========================================================================== */
.rm-header {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	max-width: var(--max);
	margin-inline: auto;
	padding: 1.4rem var(--gutter);
}

.rm-brand {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	text-decoration: none;
}
.rm-brand__name {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
}
.rm-brand__tag {
	font-size: 0.8125rem;
	color: var(--muted);
	line-height: 1.2;
}

.rm-nav__list,
.rm-nav .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}
.rm-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(1.25rem, 3vw, 2.5rem);
}
.rm-nav a {
	display: inline-block;
	padding: 0.35rem 0;
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 400;
	background: linear-gradient(var(--violet), var(--violet)) left bottom / 0 1px no-repeat;
	transition: background-size 0.25s ease;
}
.rm-nav a:hover,
.rm-nav .current-menu-item > a,
.rm-nav .current-menu-ancestor > a,
.rm-nav .current_page_item > a {
	background-size: 100% 1px;
}

.rm-nav .menu-item-has-children {
	position: relative;
}
.rm-nav .sub-menu {
	position: absolute;
	left: -1.1rem;
	top: 100%;
	min-width: 17rem;
	padding: 0.6rem 1.1rem;
	background: var(--ink-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.rm-nav .menu-item-has-children:hover > .sub-menu,
.rm-nav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.rm-nav .sub-menu a {
	display: block;
	padding: 0.5rem 0;
}

.rm-menu-toggle {
	display: none;
	padding: 0.55rem 0.9rem;
	background: transparent;
	color: var(--text);
	border: 1px solid rgba(239, 235, 245, 0.4);
	border-radius: var(--radius);
	font: 500 0.9375rem/1 var(--font);
	cursor: pointer;
}

@media (max-width: 860px) {
	.rm-header {
		flex-wrap: wrap;
		align-items: flex-start;
		align-content: flex-start;
	}
	.rm-menu-toggle {
		display: inline-block;
	}
	.rm-nav {
		flex-basis: 100%;
		padding: 1rem 0 0.5rem;
	}
	.rm-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.4rem;
	}
	.rm-nav a {
		font-size: 1.5rem;
		font-weight: 700;
		letter-spacing: -0.02em;
	}
	.rm-nav .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 0 1rem;
		background: none;
		border: 0;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.rm-nav .sub-menu a {
		font-size: 1.05rem;
		font-weight: 400;
		color: var(--muted);
	}
	.js .rm-nav {
		display: none;
	}
	.js .rm-header.is-open {
		background: var(--ink);
		bottom: auto;
		min-height: 100svh;
		position: fixed;
		overflow-y: auto;
	}
	.js .rm-header.is-open .rm-nav {
		display: block;
	}
}

/* ==========================================================================
   Schaltflächen und Links
   ========================================================================== */
.rm-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.95rem 1.5rem;
	background: var(--paper);
	color: var(--ink);
	border: 1px solid var(--paper);
	border-radius: var(--radius);
	font: 700 0.9375rem/1 var(--font);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.rm-btn:hover {
	background: var(--violet);
	border-color: var(--violet);
}
.rm-btn--ghost {
	background: rgba(21, 18, 28, 0.35);
	color: var(--text);
	border-color: rgba(239, 235, 245, 0.45);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.rm-btn--ghost:hover {
	background: rgba(239, 235, 245, 0.12);
	border-color: var(--text);
	color: var(--text);
}

.rm-link {
	display: inline-block;
	font-weight: 700;
	color: var(--violet);
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
	padding-bottom: 0.2rem;
	transition: color 0.2s;
}
.rm-link:hover {
	color: var(--text);
}

/* Statusanzeige wie eine LED am Pult */
.rm-status {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.9375rem;
	color: var(--muted);
}
.rm-status::before {
	content: "";
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--c);
	box-shadow: 0 0 0.7rem var(--c);
}
.rm-status--live {
	--c: var(--meter-g);
}
.rm-status--wip {
	--c: var(--meter-a);
}
.rm-status--soon::before {
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--muted);
}

/* ==========================================================================
   Einstieg mit Showreel und Pegel
   ========================================================================== */
.rm-hero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: 100svh;
	overflow: hidden;
	isolation: isolate;
	background: var(--ink);
}
.rm-hero__video {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.rm-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to top, rgba(21, 18, 28, 0.94) 0%, rgba(21, 18, 28, 0.6) 34%, rgba(21, 18, 28, 0.2) 66%, rgba(21, 18, 28, 0.5) 100%);
}
.rm-hero__inner {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding: 9rem var(--gutter) clamp(2.5rem, 8vh, 5.5rem);
}
.rm-hero__title {
	font-size: clamp(2.5rem, 6.3vw, 6.25rem);
	line-height: 1.02;
	letter-spacing: -0.035em;
	margin-bottom: 1.6rem;
}
.rm-hero__line {
	display: block;
}
.rm-hero__line--quiet {
	color: rgba(239, 235, 245, 0.7);
}
.rm-hero__lede {
	max-width: 32rem;
	margin-bottom: 2rem;
	font-size: clamp(1rem, 1.3vw, 1.125rem);
	color: var(--text);
}
.rm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

.rm-sound__led {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1.5px var(--muted);
	transition: background-color 0.2s, box-shadow 0.2s;
}
.rm-sound[aria-pressed="true"] .rm-sound__led {
	background: var(--meter-g);
	box-shadow: 0 0 0.7rem var(--meter-g);
}

/* Stereo-Pegel: reagiert auf den echten Ton des Showreels */
.rm-meter {
	position: absolute;
	right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
	bottom: clamp(2.5rem, 8vh, 5.5rem);
	display: flex;
	gap: 0.55rem;
	height: min(46vh, 26rem);
	padding: 0.9rem 0.8rem 0.7rem 0.4rem;
	background: rgba(21, 18, 28, 0.55);
	border: 1px solid rgba(239, 235, 245, 0.14);
	border-radius: var(--radius);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	/* Der Pegel erscheint erst bei "Ton an" und verschwindet bei "Ton aus". */
	opacity: 0;
	visibility: hidden;
	transform: translateX(1.5rem);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}
.rm-meter.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.rm-meter__scale {
	position: relative;
	width: 1.9rem;
	margin-bottom: 1.35rem;
	font: 400 0.6875rem/1 var(--mono);
	color: var(--muted);
}
.rm-meter__scale span {
	position: absolute;
	right: 0;
	transform: translateY(50%);
}
.rm-meter__channel {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
}
.rm-meter__bar {
	flex: 1;
	display: flex;
	flex-direction: column-reverse;
	gap: 2px;
	width: 0.95rem;
}
.rm-seg {
	flex: 1;
	border-radius: 1px;
	background: rgba(239, 235, 245, 0.13);
}
.rm-seg.is-lit.rm-seg--g {
	background: var(--meter-g);
}
.rm-seg.is-lit.rm-seg--a {
	background: var(--meter-a);
}
.rm-seg.is-lit.rm-seg--r {
	background: var(--meter-r);
}
.rm-meter__name {
	height: 1rem;
	font: 400 0.6875rem/1rem var(--mono);
	color: var(--muted);
}

@media (max-width: 700px) {
	.rm-meter {
		right: var(--gutter);
		top: 6.5rem;
		bottom: auto;
		height: 11rem;
		padding: 0.6rem 0.5rem 0.5rem;
	}
	.rm-meter__scale {
		display: none;
	}
}

/* ==========================================================================
   Abschnitte
   ========================================================================== */
.rm-section {
	padding-block: clamp(4rem, 9vw, 8rem);
}
.rm-section--services {
	padding-bottom: 0;
}
.rm-section__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: end;
	gap: 1.5rem 3rem;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.rm-section__head--flush {
	padding-inline: 0;
}
.rm-section__title {
	font-size: clamp(2.1rem, 4.4vw, 3.75rem);
	letter-spacing: -0.03em;
}
.rm-section__intro {
	max-width: 30rem;
	margin: 0;
	color: var(--muted);
	font-size: 1rem;
}
@media (max-width: 760px) {
	.rm-section__head {
		grid-template-columns: 1fr;
	}
}

/* Leistungen: drei Bänder über die volle Breite */
.rm-bands {
	display: grid;
}
.rm-band {
	position: relative;
	display: grid;
	align-items: end;
	min-height: clamp(20rem, 54vh, 34rem);
	overflow: hidden;
	color: var(--text);
	text-decoration: none;
	border-top: 1px solid var(--line);
	isolation: isolate;
}
.rm-band__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.8) brightness(0.62);
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s;
}
.rm-band::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgba(21, 18, 28, 0.88) 0%, rgba(21, 18, 28, 0.35) 55%, rgba(21, 18, 28, 0.15) 100%);
}
.rm-band:hover .rm-band__img,
.rm-band:focus-visible .rm-band__img {
	filter: saturate(0.95) brightness(0.78);
}
.rm-band__body {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	grid-template-areas:
		"title text"
		"title more";
	align-items: end;
	gap: 0.6rem 3rem;
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding: 3rem var(--gutter) clamp(1.75rem, 4vw, 3rem);
}
.rm-band__title {
	grid-area: title;
	font-size: clamp(2.1rem, 5.6vw, 5rem);
	font-weight: 700;
	line-height: 1.03;
	letter-spacing: -0.035em;
	text-wrap: balance;
}
.rm-band__text {
	grid-area: text;
	max-width: 26rem;
	font-size: 1rem;
}
.rm-band__more {
	grid-area: more;
	justify-self: start;
	font-weight: 700;
	color: var(--violet);
	background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
	padding-bottom: 0.2rem;
	transition: background-size 0.3s;
}
.rm-band:hover .rm-band__more,
.rm-band:focus-visible .rm-band__more {
	background-size: 100% 1px;
}
@media (max-width: 760px) {
	.rm-band__body {
		grid-template-columns: 1fr;
		grid-template-areas: "title" "text" "more";
	}
}

/* Tools */
.rm-section--tools {
	background: var(--ink-2);
	border-top: 1px solid var(--line);
	margin-top: 0;
}
.rm-instrument {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	align-items: center;
	gap: 2rem 3rem;
}
.rm-instrument + .rm-instrument {
	margin-top: clamp(3rem, 7vw, 6rem);
	padding-top: clamp(3rem, 7vw, 6rem);
	border-top: 1px solid var(--line);
}
.rm-instrument__media {
	grid-column: 1 / span 7;
	overflow: hidden;
	background: var(--ink);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.rm-instrument__video {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}
.rm-instrument--video .rm-instrument__body {
	grid-column: 8 / span 5;
}
.rm-instrument--calc .rm-instrument__body {
	grid-column: 1 / span 5;
}
.rm-instrument--calc .rm-calc {
	grid-column: 6 / span 7;
}
.rm-instrument__body {
	display: grid;
	justify-items: start;
	gap: 1rem;
}
.rm-instrument__body p {
	margin: 0;
	max-width: 30rem;
	color: var(--muted);
}
.rm-instrument__title {
	font-size: clamp(1.9rem, 3.4vw, 3rem);
	letter-spacing: -0.03em;
}
@media (max-width: 900px) {
	.rm-instrument {
		grid-template-columns: minmax(0, 1fr);
	}
	.rm-instrument__media,
	.rm-instrument--video .rm-instrument__body,
	.rm-instrument--calc .rm-instrument__body,
	.rm-instrument--calc .rm-calc {
		grid-column: 1 / -1;
	}
}

/* Rechner (Auszug aus dem Venue Toolcase) */
.rm-calc {
	display: grid;
	gap: 1.75rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--ink);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.rm-calc__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
}
.rm-calc__group {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.5rem;
	align-items: end;
}
.rm-calc__group + .rm-calc__group {
	padding-top: 1.75rem;
	border-top: 1px solid var(--line);
}
.rm-field {
	display: grid;
	gap: 0.4rem;
}
.rm-field__label {
	font-size: 0.9375rem;
	color: var(--muted);
}
.rm-field__input {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	border-bottom: 1px solid var(--muted);
	transition: border-color 0.2s;
}
.rm-field__input:focus-within {
	border-color: var(--violet);
}
.rm-field input {
	width: 100%;
	min-width: 0;
	padding: 0.4rem 0;
	background: transparent;
	color: var(--text);
	border: 0;
	border-radius: 0;
	font: 400 1.5rem/1.2 var(--mono);
	-moz-appearance: textfield;
}
.rm-field input::-webkit-outer-spin-button,
.rm-field input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.rm-field input:focus-visible {
	outline: none;
}
.rm-field__unit {
	font: 400 0.9375rem/1 var(--mono);
	color: var(--muted);
}
.rm-readout {
	display: grid;
	gap: 0.2rem;
	margin: 0;
}
.rm-readout__label {
	font-size: 0.9375rem;
	color: var(--muted);
}
.rm-readout__value {
	font: 700 clamp(1.75rem, 3.2vw, 2.5rem)/1.1 var(--mono);
	letter-spacing: -0.02em;
	color: var(--meter-g);
}
.rm-readout--small .rm-readout__value {
	font-size: 1.125rem;
	color: var(--text);
}
@media (max-width: 520px) {
	.rm-calc__group {
		grid-template-columns: 1fr;
	}
}

/* Lab */
.rm-lab {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 2.5rem clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}
.rm-lab__feature {
	display: grid;
	gap: 0.9rem;
	text-decoration: none;
}
.rm-lab__image {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--ink-2);
	border-radius: var(--radius);
}
.rm-lab__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.rm-lab__feature:hover .rm-lab__img {
	transform: scale(1.03);
}
.rm-lab__meta,
.rm-row__meta,
.rm-post__meta,
.rm-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	font-size: 0.9375rem;
	color: var(--muted);
}
.rm-lab__title {
	font-size: clamp(1.6rem, 2.8vw, 2.4rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.03em;
	text-wrap: balance;
}
.rm-lab__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}
.rm-lab__list li {
	border-bottom: 1px solid var(--line);
}
.rm-row {
	display: grid;
	gap: 0.45rem;
	padding: 1.35rem 0;
	text-decoration: none;
}
a.rm-row .rm-row__title {
	background: linear-gradient(var(--violet), var(--violet)) left bottom / 0 1px no-repeat;
	transition: background-size 0.3s;
	justify-self: start;
}
a.rm-row:hover .rm-row__title,
a.rm-row:focus-visible .rm-row__title {
	background-size: 100% 1px;
}
.rm-row__title {
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}
.rm-row__text {
	max-width: 28rem;
	color: var(--muted);
}
.rm-lab__all {
	margin: 2.5rem 0 0;
}
@media (max-width: 860px) {
	.rm-lab {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Anfrage
   ========================================================================== */
.rm-cta {
	padding-block: clamp(4.5rem, 10vw, 9rem);
	background: var(--paper);
	color: var(--ink);
}
.rm-cta__title {
	max-width: 17ch;
	font-size: clamp(2.1rem, 5.2vw, 4.75rem);
	line-height: 1.04;
	letter-spacing: -0.035em;
	margin-bottom: 1.5rem;
}
.rm-cta__text {
	max-width: 32rem;
	margin-bottom: 2.25rem;
	font-size: 1.125rem;
}
.rm-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 2.5rem;
}
.rm-cta .rm-btn {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}
.rm-cta .rm-btn:hover {
	background: #4a3a8c;
	border-color: #4a3a8c;
}
.rm-cta__direct {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 700;
}
.rm-cta__direct a {
	color: var(--ink);
}
.rm-cta :focus-visible {
	outline-color: #4a3a8c;
}

/* ==========================================================================
   Fußbereich
   ========================================================================== */
.rm-footer {
	padding: 3.5rem 0 2.5rem;
	background: var(--ink);
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.9375rem;
}
.rm-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
	gap: 2rem 3rem;
	align-items: start;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.rm-footer__name {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text);
}
.rm-footer__text {
	max-width: 26rem;
	margin: 0;
}
.rm-footer__social {
	display: flex;
	gap: 0.6rem;
	margin: 1.1rem 0 0;
	padding: 0;
	list-style: none;
}
.rm-footer__social a {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--muted);
	transition: color 0.15s ease, border-color 0.15s ease;
}
.rm-footer__social a:hover {
	color: var(--text);
	border-color: var(--violet);
	text-decoration: none;
}
.rm-footer__social svg {
	width: 1.25rem;
	height: 1.25rem;
	display: block;
}
.rm-footer__list {
	display: grid;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.rm-footer a {
	text-decoration: none;
	color: var(--text);
}
.rm-footer a:hover {
	text-decoration: underline;
}
.rm-footer__copy {
	margin: 0;
}
@media (max-width: 760px) {
	.rm-footer__inner {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Unterseiten und Beiträge
   ========================================================================== */
.rm-page-head {
	padding: clamp(8rem, 16vw, 12rem) 0 clamp(2rem, 5vw, 3.5rem);
	border-bottom: 1px solid var(--line);
	background: var(--ink-2);
}
.rm-page-title {
	max-width: 18ch;
	font-size: clamp(2.4rem, 6.2vw, 5.5rem);
	line-height: 1.03;
	letter-spacing: -0.035em;
}
.rm-single__meta {
	margin: 0 0 1.25rem;
}

.rm-prose {
	max-width: 100%;
	padding-block: clamp(3rem, 7vw, 6rem);
}
.rm-prose > * {
	max-width: 44rem;
}
.rm-prose > .alignwide,
.rm-prose > .wp-block-image,
.rm-prose > .wp-block-gallery,
.rm-prose > .wp-block-video,
.rm-prose > .wp-block-columns,
.rm-prose > .wp-block-group,
.rm-prose > figure,
.rm-prose > video {
	max-width: 62rem;
}
.rm-prose > .alignfull {
	max-width: none;
}

.rm-prose h2 {
	margin: 3.5rem 0 1.1rem;
	font-size: clamp(1.6rem, 2.8vw, 2.4rem);
	line-height: 1.1;
}
.rm-prose h2[data-was-h1] {
	margin-top: 0;
	font-size: clamp(1.35rem, 2.2vw, 1.85rem);
	color: var(--muted);
	font-weight: 700;
}
.rm-prose h2:first-child {
	margin-top: 0;
}
.rm-prose h3 {
	margin: 2.25rem 0 0.8rem;
	font-size: clamp(1.15rem, 1.8vw, 1.45rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
}
.rm-prose p,
.rm-prose li {
	font-size: 1.0625rem;
	line-height: 1.65;
}
.rm-prose a {
	color: var(--violet);
}
.rm-prose a:hover {
	color: var(--text);
}
.rm-prose strong {
	font-weight: 600;
}

/* Listen wie Beschriftungsstreifen am Pult */
.rm-prose ul {
	margin: 1.25rem 0 1.75rem;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}
.rm-prose ul li {
	margin: 0;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--line);
}
.rm-prose ol {
	padding-left: 1.4rem;
}

.rm-prose figure,
.rm-prose .wp-block-image {
	margin: 2.5rem 0;
}
.rm-prose img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(75vh, 46rem);
	border-radius: var(--radius);
}
.rm-prose video {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
}
.rm-prose .wp-block-gallery img {
	max-height: none;
}
.rm-prose figcaption {
	margin-top: 0.6rem;
	font-size: 0.9375rem;
	color: var(--muted);
}
.rm-prose .wp-block-gallery {
	margin: 2.5rem 0;
}
/* Ersatz-Raster, falls die Galerie-Styles von WordPress nicht geladen sind (wirkt nur dann). */
:where(.rm-prose .wp-block-gallery) {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
}
:where(.rm-prose .wp-block-gallery) > figure {
	margin: 0;
}
:where(.rm-prose .wp-block-gallery) img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
@media (max-width: 640px) {
	:where(.rm-prose .wp-block-gallery) {
		grid-template-columns: 1fr;
	}
}
.rm-prose .wp-block-gallery img {
	border-radius: 2px;
}

.rm-prose .wp-block-button__link {
	padding: 0.95rem 1.5rem;
	background: var(--paper);
	color: var(--ink);
	border-radius: var(--radius);
	font-weight: 600;
	text-decoration: none;
}
.rm-prose .wp-block-button__link:hover {
	background: var(--violet);
	color: var(--ink);
}

.rm-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
}
.rm-prose th,
.rm-prose td {
	padding: 0.7rem 0.8rem 0.7rem 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}
.rm-prose hr {
	margin: 3rem 0;
	border: 0;
	border-top: 1px solid var(--line);
}

/* Kontaktseite: große Zeilen für Mail und Telefon */
.page-kontakt .rm-prose h2 {
	margin-top: 2.5rem;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--muted);
}
.page-kontakt .rm-prose h2 + p + p,
.page-kontakt .rm-prose h2 + p a {
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

/* Beitragsliste */
.rm-posts {
	margin: 0;
	padding: clamp(2.5rem, 6vw, 5rem) 0;
	list-style: none;
}
.rm-posts__item + .rm-posts__item {
	margin-top: clamp(2rem, 4vw, 3.5rem);
	padding-top: clamp(2rem, 4vw, 3.5rem);
	border-top: 1px solid var(--line);
}
.rm-post {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
	text-decoration: none;
}
.rm-post__image {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--ink-2);
	border-radius: var(--radius);
}
.rm-post__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.rm-post:hover .rm-post__img {
	transform: scale(1.03);
}
.rm-post__body {
	display: grid;
	gap: 0.9rem;
}
.rm-post__title {
	font-size: clamp(1.6rem, 2.8vw, 2.4rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.03em;
	text-wrap: balance;
}
.rm-post__excerpt {
	max-width: 34rem;
	color: var(--muted);
}
@media (max-width: 760px) {
	.rm-post {
		grid-template-columns: 1fr;
	}
}
.rm-empty {
	padding: 3rem 0;
	color: var(--muted);
}

.nav-links,
.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 0;
	padding: 0 0 4rem;
	list-style: none;
}
.page-numbers a,
.nav-links a {
	color: var(--violet);
}
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.rm-single__back {
	margin: 0;
	padding-bottom: 4rem;
}

/* ==========================================================================
   Bewegung reduzieren
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
	.rm-band:hover .rm-band__img,
	.rm-lab__feature:hover .rm-lab__img,
	.rm-post:hover .rm-post__img {
		transform: none;
	}
}

/* Playlist: auffälliger Block zwischen Tools und Lab, im Spotify-Look (Schwarz und Grün) */
.rm-playlist {
	--sp-green: #1ed760;
	background: #000;
	color: #fff;
	border-top: 1px solid #1f1f1f;
	padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.rm-playlist__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}
.rm-playlist__title {
	margin: 0 0 1rem;
	font-size: clamp(2.1rem, 4.6vw, 4rem);
	letter-spacing: -0.03em;
	color: var(--sp-green);
}
.rm-playlist__lede {
	max-width: 30rem;
	margin: 0 0 1.75rem;
	font-size: 1.125rem;
	color: #e8e8e8;
}
.rm-playlist__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.rm-playlist .rm-btn--green {
	background: var(--sp-green);
	border-color: var(--sp-green);
	color: #000;
}
.rm-playlist .rm-btn--green:hover {
	background: #fff;
	border-color: #fff;
	color: #000;
}
.rm-playlist .rm-btn--outline {
	background: transparent;
	color: #fff;
	border: 1px solid #fff;
}
.rm-playlist .rm-btn--outline:hover {
	background: #fff;
	color: #000;
}
.rm-playlist .rm-btn:disabled {
	opacity: 0.6;
	cursor: default;
}
.rm-playlist__note {
	max-width: 30rem;
	margin: 1rem 0 0;
	font-size: 0.875rem;
	color: #b3b3b3;
}
.rm-playlist a:focus-visible,
.rm-playlist button:focus-visible {
	outline: 3px solid var(--sp-green);
	outline-offset: 3px;
}
.rm-playlist__player {
	min-height: 352px;
	border-radius: var(--radius);
	background: #121212;
	overflow: hidden;
}
.rm-playlist__player iframe {
	display: block;
	width: 100%;
	height: 352px;
	border: 0;
}
.rm-tracks {
	margin: 0;
	padding: 0.5rem 0;
	list-style: none;
	counter-reset: track;
}
.rm-track {
	display: grid;
	grid-template-columns: 2rem minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 0.75rem;
	align-items: baseline;
	padding: 0.7rem 1.25rem;
	counter-increment: track;
	border-bottom: 1px solid #242424;
}
.rm-track::before {
	content: counter(track);
	color: #b3b3b3;
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
}
.rm-track__title {
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.rm-track__artist {
	color: #b3b3b3;
	font-size: 0.9375rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.rm-tracks__more {
	margin: 0;
	padding: 0.85rem 1.25rem 1rem;
	color: var(--sp-green);
	font-weight: 700;
	font-size: 0.9375rem;
}
@media (max-width: 860px) {
	.rm-playlist__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
	.rm-track { grid-template-columns: 1.5rem minmax(0, 1fr); row-gap: 0.15rem; }
	.rm-track__artist { grid-column: 2; }
}

.rm-instrument__note {
	margin: 0 0 1rem;
	color: var(--muted);
	font-size: 0.875rem;
}
.rm-instrument__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius);
}

/* Angemeldet: Die WordPress-Leiste oben (32 px, mobil 46 px) darf den Kopf nicht überdecken. */
.admin-bar .rm-header {
	top: 32px;
}
.admin-bar .rm-hero {
	min-height: calc(100svh - 32px);
}
@media (max-width: 782px) {
	.admin-bar .rm-header {
		top: 46px;
	}
	.admin-bar .rm-hero {
		min-height: calc(100svh - 46px);
	}
}
