/* biceps.media Interaktion: Effekte, Bildmischer, Konfigurator. Farben aus dem Design "Control Room". */

.bm-mix,
.bm-cfg {
	--bm-bg: #0A1020;
	--bm-surface: #121B30;
	--bm-panel: #16315F;
	--bm-ink: #E8EEF8;
	--bm-muted: #A9B7D0;
	--bm-acc: #2E8BFF;
	--bm-acc-ink: #07101F;
	font-family: "DM Sans", sans-serif;
	color: var(--bm-ink);
	width: 100%;
	box-sizing: border-box;
}

.bm-mix *,
.bm-cfg * {
	box-sizing: border-box;
}

/* Elementor-Container mit Umbruch berechnet die Widget-Höhe sonst zu klein */
.e-con-inner > .elementor-widget-shortcode,
.e-con > .elementor-widget-shortcode {
	width: 100%;
}

/* ---------- Scroll-Einblendung ---------- */
.bm-js [data-elementor-type="wp-page"] > .e-con:not(:first-child) {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s ease, transform .7s ease;
}

.bm-js [data-elementor-type="wp-page"] > .e-con:not(:first-child).is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- Auftritt im Hero ---------- */
@keyframes bm-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
	[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-heading,
	[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-text-editor,
	[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-button {
		animation: bm-rise .8s cubic-bezier(.2, .7, .2, 1) both;
	}
	[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-text-editor { animation-delay: .12s; }
	[data-elementor-type="wp-page"] > .e-con:first-child .elementor-widget-button { animation-delay: .24s; }
}

/* ---------- Hover: Buttons und Leistungszeilen ---------- */
[data-elementor-type="wp-page"] .elementor-button {
	transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

[data-elementor-type="wp-page"] .elementor-button:hover {
	transform: translateY(-2px);
}

[data-elementor-type="wp-page"] .elementor-button:active {
	transform: translateY(0);
}

#videotechnik,
#regietechnik,
#led-projektion,
#streaming {
	transition: transform .25s ease;
}

#videotechnik .elementor-heading-title,
#regietechnik .elementor-heading-title,
#led-projektion .elementor-heading-title,
#streaming .elementor-heading-title {
	transition: color .25s ease;
}

#videotechnik:hover,
#regietechnik:hover,
#led-projektion:hover,
#streaming:hover {
	transform: translateX(10px);
}

#videotechnik:hover .elementor-heading-title,
#regietechnik:hover .elementor-heading-title,
#led-projektion:hover .elementor-heading-title,
#streaming:hover .elementor-heading-title {
	color: #2E8BFF;
}

@media (prefers-reduced-motion: reduce) {
	.bm-js [data-elementor-type="wp-page"] > .e-con:not(:first-child) {
		opacity: 1;
		transform: none;
		transition: none;
	}
	#videotechnik:hover,
	#regietechnik:hover,
	#led-projektion:hover,
	#streaming:hover,
	[data-elementor-type="wp-page"] .elementor-button:hover {
		transform: none;
	}
}

/* ---------- Mini-Bildmischer ---------- */
.bm-mix {
	--bm-red: #D92B2B;
	--bm-key: #C5CEDD;
	--bm-pvw: #2FBF71;
}

.bm-mix__screen {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: var(--bm-surface);
	border-radius: 4px;
	overflow: hidden;
	transition: filter .14s ease-out;
}

.bm-mix__screen::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 3px solid var(--bm-red);
	border-radius: 4px;
	pointer-events: none;
}

.bm-mix__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0;
}

.bm-mix__img.is-on {
	opacity: 1;
}

.bm-mix__tally {
	position: absolute;
	left: 14px;
	top: 14px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 12px;
	background: rgba(10, 16, 32, .78);
	border-radius: 2px;
	font-family: "Space Grotesk", sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	color: #fff;
}

.bm-mix__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--bm-red);
	box-shadow: 0 0 10px var(--bm-red);
}

.bm-mix__cam {
	color: var(--bm-muted);
}

.bm-mix__screen.is-cut {
	filter: brightness(1.7) saturate(.6);
}

.bm-mix__bar {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0 18px;
	font-family: "Space Grotesk", sans-serif;
	font-size: 15px;
	line-height: 1.3;
	color: var(--bm-muted);
}

.bm-mix__tc {
	font-variant-numeric: tabular-nums;
	letter-spacing: .04em;
	color: var(--bm-ink);
	white-space: nowrap;
}

.bm-mix__panel {
	padding: 14px 16px 18px;
	background: #0E1526;
	border: 1px solid var(--bm-panel);
	border-radius: 6px;
}

.bm-mix__pgm {
	margin: 0 0 10px;
	font-family: "Space Grotesk", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	color: var(--bm-muted);
}

.bm-mix__btns {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}

.bm-mix__btn,
.bm-cfg__opt,
.bm-cfg__go,
.bm-cfg__ghost {
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
	cursor: pointer;
	font-family: "Space Grotesk", sans-serif;
	text-decoration: none;
	border-radius: 2px;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.bm-mix__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 84px;
	padding: 12px 6px;
	background: var(--bm-key);
	border: 2px solid var(--bm-key);
	border-bottom-width: 5px;
	color: #0A1020;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.bm-mix__n {
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
}

.bm-mix__btn:hover {
	border-color: var(--bm-pvw);
	transform: translateY(-2px);
}

.bm-mix__btn:active {
	transform: translateY(1px);
	border-bottom-width: 3px;
}

.bm-mix__btn[aria-pressed="true"] {
	background: var(--bm-red);
	border-color: var(--bm-red);
	color: #fff;
	box-shadow: 0 0 22px rgba(217, 43, 43, .55);
}

/* ---------- Event-Konfigurator ---------- */
.bm-cfg {
	border: 1px solid var(--bm-panel);
	border-radius: 4px;
	padding: 40px;
}

.bm-cfg__fallback {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--bm-muted);
}

.bm-cfg__fallback a {
	color: var(--bm-acc);
}

.bm-cfg__top {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 28px;
}

.bm-cfg__step {
	margin: 0;
	flex: none;
	font-family: "Space Grotesk", sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--bm-muted);
}

.bm-cfg__bar {
	flex: 1;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: 6px;
}

.bm-cfg__bar span {
	display: block;
	height: 4px;
	background: var(--bm-panel);
	border-radius: 2px;
}

.bm-cfg__bar span.is-on {
	background: var(--bm-acc);
}

.bm-cfg__q {
	margin: 0 0 12px;
	font-family: "Space Grotesk", sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.5px;
	color: var(--bm-ink);
}

.bm-cfg__q:focus {
	outline: none;
}

.bm-cfg__hint {
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--bm-muted);
}

.bm-cfg__opts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	margin: 24px 0 0;
}

.bm-cfg__opt {
	padding: 18px 20px;
	background: var(--bm-bg);
	border: 1px solid var(--bm-panel);
	color: var(--bm-ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
}

.bm-cfg__opt:hover {
	border-color: var(--bm-acc);
	transform: translateY(-2px);
}

.bm-cfg__opt[aria-pressed="true"] {
	background: var(--bm-acc);
	border-color: var(--bm-acc);
	color: var(--bm-acc-ink);
}

.bm-cfg__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.bm-cfg__go,
.bm-cfg__ghost {
	display: inline-block;
	padding: 14px 28px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
}

.bm-cfg__go {
	background: var(--bm-acc);
	border: 1px solid var(--bm-acc);
	color: var(--bm-acc-ink);
}

.bm-cfg__go:hover {
	background: var(--bm-ink);
	border-color: var(--bm-ink);
	transform: translateY(-2px);
}

.bm-cfg__ghost {
	background: transparent;
	border: 1px solid var(--bm-muted);
	color: var(--bm-ink);
}

.bm-cfg__ghost:hover {
	background: var(--bm-panel);
	transform: translateY(-2px);
}

.bm-cfg ul.bm-cfg__list {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
}

.bm-cfg ul.bm-cfg__list > li.bm-cfg__item {
	list-style: none;
	margin: 0;
	padding: 18px 0;
	border-bottom: 1px solid var(--bm-panel);
}

.bm-cfg ul.bm-cfg__list > li.bm-cfg__item::marker {
	content: none;
}

.bm-cfg ul.bm-cfg__list > li.bm-cfg__item::before {
	content: none;
}

.bm-cfg__name {
	margin: 0 0 4px;
	font-family: "Space Grotesk", sans-serif;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--bm-ink);
}

.bm-cfg__tag {
	margin-left: 10px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .04em;
	color: var(--bm-acc);
}

.bm-cfg__desc {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--bm-muted);
}

.bm-cfg__sum {
	margin: 24px 0 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--bm-ink);
}

.bm-cfg__note {
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--bm-muted);
}

.bm-mix__btn:focus-visible,
.bm-cfg__opt:focus-visible,
.bm-cfg__go:focus-visible,
.bm-cfg__ghost:focus-visible {
	outline: 2px solid var(--bm-acc);
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.bm-cfg { padding: 24px 20px; }
	.bm-cfg__q { font-size: 24px; }
	.bm-cfg__top { flex-direction: column; align-items: flex-start; gap: 12px; }
	.bm-cfg__bar { width: 100%; }
	.bm-mix__bar { flex-direction: column; gap: 4px; }
}

@media (max-width: 560px) {
	.bm-mix__btns { gap: 6px; }
	.bm-mix__panel { padding: 12px 10px 14px; }
	.bm-mix__btn { min-height: 64px; padding: 10px 2px; }
	.bm-mix__n { font-size: 24px; }
	.bm-mix__lab { display: none; }
	.bm-mix__tally { left: 8px; top: 8px; padding: 4px 8px; font-size: 11px; }
	.bm-mix__air { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.bm-mix__btn:hover,
	.bm-cfg__opt:hover,
	.bm-cfg__go:hover,
	.bm-cfg__ghost:hover { transform: none; }
}

/* ---------- Rechtliches (Seite 39): dunkel und gut lesbar ---------- */
body.bm-text,
body.bm-text .wrapper,
body.bm-text .main-page {
	background-color: #0A1020 !important;
}

body.bm-text h1 {
	font-family: "Space Grotesk", sans-serif !important;
	font-size: clamp(36px, 6vw, 64px) !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	letter-spacing: -1px !important;
	text-transform: none !important;
	color: #E8EEF8 !important;
}

body.bm-text .the-content {
	max-width: 780px;
	margin: 0 auto;
	padding: 40px 0 80px;
	font-family: "DM Sans", sans-serif !important;
	font-size: 17px !important;
	line-height: 1.7 !important;
	color: #A9B7D0 !important;
	text-transform: none !important;
}

body.bm-text .the-content p,
body.bm-text .the-content li {
	font-family: "DM Sans", sans-serif !important;
	font-size: 17px !important;
	line-height: 1.7 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #A9B7D0 !important;
	margin: 0 0 16px;
}

body.bm-text .the-content h2,
body.bm-text .the-content h3 {
	font-family: "Space Grotesk", sans-serif !important;
	text-transform: none !important;
	color: #E8EEF8 !important;
	letter-spacing: -.3px !important;
}

body.bm-text .the-content h2 {
	font-size: 38px !important;
	line-height: 1.15 !important;
	margin: 56px 0 20px;
	padding-top: 24px;
	border-top: 1px solid #16315F;
}

body.bm-text .the-content h2:first-of-type {
	margin-top: 24px;
}

body.bm-text .the-content h3 {
	font-size: 21px !important;
	line-height: 1.3 !important;
	margin: 32px 0 10px;
}

body.bm-text .the-content a {
	color: #2E8BFF !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.bm-text .the-content mark {
	background: rgba(46, 139, 255, .2);
	color: #E8EEF8;
	padding: 1px 6px;
	border-radius: 2px;
}

@media (max-width: 767px) {
	body.bm-text .the-content { padding: 24px 0 56px; }
	body.bm-text .the-content h2 { font-size: 30px !important; }
}

body.bm-text .cover {
	background: #121B30 !important;
}

body.bm-text .cover::before,
body.bm-text .cover::after {
	background: transparent !important;
}

body.bm-text .the-content h2,
body.bm-text .the-content h3 {
	font-weight: 700 !important;
}

/* ---------- Kontaktformular ---------- */
.bm-form {
	max-width: 640px;
	margin: 8px 0 0;
}

.bm-form__f {
	margin: 0 0 20px;
}

.bm-form label {
	display: block;
	margin: 0 0 6px;
	font-family: "Space Grotesk", sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: .02em;
	color: #E8EEF8;
}

.bm-form label span {
	font-weight: 400;
	color: #A9B7D0;
}

body.bm-text .bm-form input[type="text"],
body.bm-text .bm-form input[type="email"],
body.bm-text .bm-form input[type="tel"],
body.bm-text .bm-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	background: #121B30;
	border: 1px solid #16315F;
	border-radius: 2px;
	font-family: "DM Sans", sans-serif;
	font-size: 17px;
	line-height: 1.5;
	color: #E8EEF8;
	text-transform: none;
	box-shadow: none;
	transition: border-color .2s ease;
}

body.bm-text .bm-form input:focus,
body.bm-text .bm-form textarea:focus {
	outline: 2px solid #2E8BFF;
	outline-offset: 1px;
	border-color: #2E8BFF;
}

.bm-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bm-form__c {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 24px;
}

.bm-form__c input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 3px 0 0;
	accent-color: #2E8BFF;
}

body.bm-text .bm-form__c label {
	margin: 0;
	font-family: "DM Sans", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: 0;
	color: #A9B7D0;
}

body.bm-text .bm-form__go {
	appearance: none;
	-webkit-appearance: none;
	padding: 15px 32px;
	cursor: pointer;
	background: #2E8BFF;
	border: 1px solid #2E8BFF;
	border-radius: 2px;
	font-family: "Space Grotesk", sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	color: #07101F;
	transition: background-color .2s ease, transform .2s ease;
}

body.bm-text .bm-form__go:hover {
	background: #E8EEF8;
	border-color: #E8EEF8;
	transform: translateY(-2px);
}

body.bm-text .bm-form__go:focus-visible {
	outline: 2px solid #E8EEF8;
	outline-offset: 3px;
}

body.bm-text .the-content .bm-form__err {
	margin: 0 0 20px;
	padding: 12px 16px;
	border: 1px solid #D92B2B;
	border-radius: 2px;
	color: #E8EEF8 !important;
}

body.bm-text .the-content .bm-form__doneh {
	font-family: "Space Grotesk", sans-serif !important;
	font-size: 26px !important;
	font-weight: 700;
	color: #E8EEF8 !important;
}

@media (prefers-reduced-motion: reduce) {
	body.bm-text .bm-form__go:hover { transform: none; }
}

/* ---------- Leistungsseiten ---------- */
.bm-sv-label p {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.bm-sv-fig img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.bm-sv-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bm-sv-list li {
	position: relative;
	margin: 0;
	padding: 14px 0 14px 32px;
	border-bottom: 1px solid #16315F;
	list-style: none;
}

.bm-sv-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.45em;
	width: 14px;
	height: 2px;
	background: #2E8BFF;
}

.bm-sv-step {
	border-top: 2px solid #16315F;
	padding-top: 20px !important;
}

/* Leistungszeilen auf der Startseite sind klickbar */
#videotechnik,
#regietechnik,
#led-projektion,
#streaming {
	cursor: pointer;
}

#videotechnik .elementor-heading-title a::after,
#regietechnik .elementor-heading-title a::after,
#led-projektion .elementor-heading-title a::after,
#streaming .elementor-heading-title a::after {
	content: " \2192";
	color: #2E8BFF;
}

#videotechnik .elementor-heading-title a,
#regietechnik .elementor-heading-title a,
#led-projektion .elementor-heading-title a,
#streaming .elementor-heading-title a {
	color: inherit;
	text-decoration: none;
}

/* Dunkler Seitengrund waehrend Abschnitte einblenden */
body.page-template-elementor_header_footer {
	background-color: #0A1020 !important;
}

/* Titelbild LED und Projektion: Buehne mittig */
.bm-hero-led {
	background-position: 50% 62% !important;
}

/* ---------- Logo-Vergleich (alt durchgestrichen, neu) ---------- */
body.bm-text .the-content .bm-logos {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 56px;
	margin: 48px 0;
	padding: 40px 0;
	border-top: 1px solid #16315F;
	border-bottom: 1px solid #16315F;
}

.bm-logo {
	flex: 1 1 260px;
	max-width: 360px;
	margin: 0;
	text-align: center;
}

.bm-logo__box {
	position: relative;
	width: 100%;
}

.bm-logo--new .bm-logo__box img {
	display: block;
	width: 100%;
	height: auto;
}

/* Das alte Logo liegt auf einer grossen, leeren Flaeche und wird hier zugeschnitten */
.bm-logo--old .bm-logo__box {
	overflow: hidden;
	aspect-ratio: 1650 / 495;
}

.bm-logo--old .bm-logo__box img {
	position: absolute;
	width: 121.2%;
	max-width: none;
	height: auto;
	left: -13.03%;
	top: -59.6%;
	opacity: .8;
}

.bm-logo--old .bm-logo__box::after {
	content: "";
	position: absolute;
	left: -2%;
	right: -2%;
	top: 50%;
	height: 7px;
	margin-top: -3px;
	background: #D92B2B;
	border-radius: 4px;
	box-shadow: 0 0 0 3px #0A1020;
	transform: rotate(-9deg);
}

.bm-logo figcaption {
	margin: 16px 0 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #A9B7D0;
}

@media (max-width: 640px) {
	body.bm-text .the-content .bm-logos { flex-direction: column; gap: 40px; }
	.bm-logo { flex: none; width: 100%; max-width: 320px; }
}
