/* Movie.de Prime Referral – eigenständige Optik, keine externen Assets.
   Bewusst kein Nachbau einer Amazon-/Prime-Video-Bildmarke.
   Kontraste sind gegen WCAG 2.1 AA geprüft. */

/* Variablen bewusst auf beiden Wurzeln: die Sticky-Bar liegt ausserhalb von .mpr */
.mpr,
.mpr-bar {
	--mpr-accent: #38c6f4;
	--mpr-cta: #0fa9e0;
	--mpr-ink: #ffffff;
	--mpr-sub: rgba(255, 255, 255, .9);
	--mpr-fine: rgba(255, 255, 255, .74);
}

.mpr {
	box-sizing: border-box;
	position: relative;
	margin: 2.2em 0;
	padding: 0;
	border-radius: 14px;
	overflow: hidden;
	background: linear-gradient(135deg, #0a141d 0%, #10222f 55%, #0a141d 100%);
	color: var(--mpr-ink);
	font-family: inherit;
	line-height: 1.45;
	box-shadow: 0 12px 32px -16px rgba(0, 0, 0, .6);
	clear: both;
}

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

/* Akzentkante oben */
.mpr::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, var(--mpr-accent) 0%, rgba(56, 198, 244, .12) 100%);
	z-index: 2;
}

/* Glow bleibt hinter der Grafik, nicht hinter dem Text */
.mpr--box::after {
	content: "";
	position: absolute;
	left: -40px;
	top: 10px;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(56, 198, 244, .22) 0%, rgba(56, 198, 244, 0) 68%);
	pointer-events: none;
	z-index: 0;
}

.mpr-head,
.mpr-body,
.mpr .mpr-terms,
.mpr-bar .mpr-terms {
	position: relative;
	z-index: 1;
}

/* ---------- Pflicht-Label ---------- */

.mpr .mpr-head {
	padding: 11px 18px 0;
}

.mpr .mpr-label,
.mpr-bar .mpr-label {
	display: inline-block;
	font-size: 10px;
	line-height: 1;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 700;
	color: rgba(255, 255, 255, .88);
	background: rgba(255, 255, 255, .13);
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 3px;
	padding: 4px 7px;
	vertical-align: middle;
}

/* ---------- Große Box ---------- */

.mpr .mpr-body {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 15px 18px 18px;
}

.mpr .mpr-art {
	flex: 0 0 auto;
	width: 92px;
	height: 92px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: linear-gradient(150deg, rgba(56, 198, 244, .22), rgba(56, 198, 244, .04));
	border: 1px solid rgba(56, 198, 244, .42);
	color: var(--mpr-accent);
}

.mpr .mpr-icon {
	width: 42px;
	height: 42px;
	display: block;
}

.mpr .mpr-text {
	min-width: 0;
}

.mpr .mpr-kicker {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	margin: 0 0 7px;
	padding: 0;
	font-size: 11px;
	line-height: 1;
}

.mpr .mpr-brand {
	font-weight: 700;
	letter-spacing: .17em;
	text-transform: uppercase;
	color: var(--mpr-accent);
}

.mpr .mpr-badge {
	display: inline-block;
	background: var(--mpr-accent);
	color: #05202b;
	font-size: 11px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 5px 9px;
	border-radius: 999px;
	white-space: nowrap;
}

.mpr .mpr-headline {
	margin: 0 0 7px;
	padding: 0;
	font-size: 21px;
	line-height: 1.24;
	font-weight: 800;
	color: #fff;
	letter-spacing: -.01em;
}

.mpr .mpr-sub {
	margin: 0 0 14px;
	padding: 0;
	font-size: 14.5px;
	color: var(--mpr-sub);
}

/* ---------- CTA ---------- */

.mpr .mpr-cta,
.mpr-bar .mpr-cta {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: var(--mpr-cta);
	color: #ffffff !important;
	font-weight: 800;
	font-size: 15px;
	line-height: 1;
	text-decoration: none !important;
	padding: 14px 22px;
	border-radius: 999px;
	border: 0;
	box-shadow: 0 8px 20px -10px rgba(15, 169, 224, .95);
	transition: transform .15s ease, background-color .15s ease;
}

.mpr .mpr-cta:hover,
.mpr-bar .mpr-cta:hover,
.mpr .mpr-cta:focus,
.mpr-bar .mpr-cta:focus {
	background: #1fbdf2;
	color: #04202c !important;
	transform: translateY(-1px);
}

.mpr .mpr-cta:focus-visible,
.mpr-bar .mpr-cta:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.mpr .mpr-cta--block {
	display: flex;
	justify-content: center;
	width: 100%;
}

.mpr .mpr-cta--sm,
.mpr-bar .mpr-cta--sm {
	padding: 10px 16px;
	font-size: 13.5px;
	white-space: nowrap;
	box-shadow: none;
}

.mpr .mpr-arrow {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
}

/* ---------- Pflicht-Fußnote ---------- */

/* Die Pflichtangaben muessen lesbar bleiben - bewusst nicht weiter abgedunkelt. */
.mpr .mpr-terms,
.mpr-bar .mpr-terms {
	margin: 0;
	padding: 9px 18px 12px;
	font-size: 10px;
	line-height: 1.5;
	color: var(--mpr-fine);
	border-top: 1px solid rgba(255, 255, 255, .1);
	background: rgba(0, 0, 0, .28);
}

/* ---------- Sidebar-Variante ---------- */

.mpr--rail {
	margin: 0;
	text-align: center;
}

.mpr--rail .mpr-head {
	padding: 12px 14px 0;
	text-align: left;
}

.mpr .mpr-rail-art {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 14px auto 12px;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: linear-gradient(150deg, rgba(56, 198, 244, .24), rgba(56, 198, 244, .04));
	border: 1px solid rgba(56, 198, 244, .45);
	color: var(--mpr-accent);
	position: relative;
	z-index: 1;
}

.mpr .mpr-rail-art .mpr-icon {
	width: 34px;
	height: 34px;
}

.mpr .mpr-kicker--rail {
	justify-content: center;
	margin-bottom: 9px;
	position: relative;
	z-index: 1;
}

.mpr .mpr-badge--rail {
	font-size: 11.5px;
	padding: 6px 12px;
	margin-bottom: 10px;
	position: relative;
	z-index: 1;
}

.mpr--rail .mpr-headline {
	font-size: 17px;
	padding: 0 14px;
	position: relative;
	z-index: 1;
}

.mpr--rail .mpr-cta--block {
	width: calc(100% - 28px);
	margin: 14px 14px 16px;
	position: relative;
	z-index: 1;
}

.mpr-rail-wrap.is-sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 24px;
}

/* ---------- Mobile Sticky-Bar ---------- */

.mpr-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99990;
	background: #0c1b26;
	border-top: 2px solid #38c6f4;
	box-shadow: 0 -10px 28px -14px rgba(0, 0, 0, .9);
	color: #fff;
	animation: mpr-up .28s ease-out both;
}

@keyframes mpr-up {
	from { transform: translateY(100%); }
	to   { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.mpr-bar { animation: none; }
	.mpr-cta { transition: none; }
}

.mpr-bar[hidden] {
	display: none !important;
}

.mpr-bar .mpr-bar-inner {
	padding: 9px 10px 8px 12px;
}

.mpr-bar .mpr-bar-main {
	display: flex;
	align-items: center;
	gap: 10px;
}

.mpr-bar .mpr-bar-copy {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.mpr-bar .mpr-label {
	flex: 0 0 auto;
	font-size: 9px;
	padding: 3px 5px;
	letter-spacing: .1em;
}

.mpr-bar .mpr-bar-text {
	font-weight: 700;
	font-size: 13.5px;
	line-height: 1.2;
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mpr-bar .mpr-bar-close {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	background: none;
	border: 0;
	color: rgba(255, 255, 255, .72);
	font-size: 23px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.mpr-bar .mpr-bar-close:hover {
	color: #fff;
}

.mpr-bar .mpr-terms--bar {
	padding: 7px 0 0;
	margin: 0;
	border: 0;
	background: none;
	font-size: 9.5px;
	line-height: 1.4;
	color: var(--mpr-fine);
}

/* Sticky-Bar ist eine reine Mobile-Platzierung */
@media (min-width: 782px) {
	.mpr-bar { display: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 600px) {
	.mpr .mpr-body {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding-top: 13px;
	}

	.mpr .mpr-art {
		width: 66px;
		height: 66px;
		border-radius: 12px;
	}

	.mpr .mpr-icon {
		width: 30px;
		height: 30px;
	}

	.mpr .mpr-headline {
		font-size: 19px;
	}

	.mpr .mpr-cta {
		width: 100%;
		justify-content: center;
	}
}

/* ---------- Print ---------- */

@media print {
	.mpr,
	.mpr-bar { display: none !important; }
}

/* ---------- Startseite: Sidebar-Spalte nach rechts ----------
   Greift nur, wenn die Option aktiv ist (Body-Klasse) und erst ab Desktop-
   Breite. Darunter stapelt Elementor die Spalten; dort muss der Inhalt zuerst
   kommen. Adressiert wird die Spalte ueber ihre eigene Klasse statt ueber eine
   Elementor-ID - damit ueberlebt die Regel einen Umbau der Startseite. */

@media (min-width: 1025px) {
	body.mpr-swap-front .elementor-top-section > .elementor-container > .elementor-column.sticky-column {
		order: 2;
	}
}
