/* ============================================================
   MeinVerein Rechte verteilen (Figma 3100:5826 / Mobile 2969:25056)
   Mindestschriftgröße 18px gemäß Repo-Regel.
   ============================================================ */

.mv-rechte-verteilen {
	--mv-blue: #023e84;
	--mv-grey: #6a7282;
	--mv-light: #eff4fa;
	--mv-line: #d1dbeb;
	--mv-green: #2fae5a;
	--mv-font: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mv-font-ui: "Source Sans Pro", "Source Sans 3", sans-serif;

	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 96px 32px;
	background: var(--mv-rv-bg, #fff);
	color: var(--mv-blue);
	font-family: var(--mv-font);
}

.mv-rechte-verteilen *,
.mv-rechte-verteilen *::before,
.mv-rechte-verteilen *::after {
	box-sizing: border-box;
}

.mv-rechte-verteilen__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 64px;
	max-width: 1318px;
	margin: 0 auto;
}

.mv-rechte-verteilen--visual-right .mv-rechte-verteilen__inner {
	flex-direction: row-reverse;
}

/* ---------- Visual ---------- */
.mv-rechte-verteilen__visual {
	flex: 0 0 auto;
	width: 502px;
	max-width: 100%;
}

.mv-rechte-verteilen__image {
	display: block;
	max-width: 100%;
	height: auto;
}

.mv-rechte-verteilen__stack {
	position: relative;
	width: 100%;
	min-height: 410px;
	font-family: var(--mv-font-ui);
}

.mv-rechte-verteilen__card {
	position: absolute;
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 402px;
	padding: 38px 26px 22px;
	background: #fff;
	border-radius: 13px;
}

.mv-rechte-verteilen__card--back {
	top: 0;
	right: 0;
	width: 383px;
	padding: 36px 24px 20px;
	background: linear-gradient(180deg, #f0f0f0 6%, #fff 26%);
	border: 2px solid var(--mv-light);
	font-size: 19px;
}

.mv-rechte-verteilen__card--front {
	top: 85px;
	left: 0;
	box-shadow: 0 5px 22px rgba(0, 0, 0, 0.1);
	font-size: 20px;
}

.mv-rechte-verteilen__role {
	color: var(--mv-blue);
	font-size: 23px;
	font-weight: 700;
	line-height: 29px;
}

.mv-rechte-verteilen__card--back .mv-rechte-verteilen__role {
	font-size: 22px;
	line-height: 28px;
}

.mv-rechte-verteilen__hr {
	display: block;
	height: 2px;
	margin: 10px 0 8px;
	background: var(--mv-line);
}

.mv-rechte-verteilen__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 0;
	color: var(--mv-grey);
	line-height: 29px;
}

.mv-rechte-verteilen__toggle {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: 48px;
	height: 28px;
	border-radius: 14px;
	background: var(--mv-line);
}

.mv-rechte-verteilen__toggle::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.mv-rechte-verteilen__toggle.is-on {
	background: var(--mv-green);
}

.mv-rechte-verteilen__toggle.is-on::after {
	left: 23px;
}

/* ---------- Text ---------- */
.mv-rechte-verteilen__content {
	display: flex;
	flex: 0 1 576px;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.mv-rechte-verteilen__headline {
	margin: 0;
	color: var(--mv-blue) !important;
	font-family: var(--mv-font);
	font-size: 36px;
	font-weight: 700;
	line-height: 45px;
}

.mv-rechte-verteilen__copy {
	margin: 0;
	color: var(--mv-grey) !important;
	font-family: var(--mv-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
	.mv-rechte-verteilen__inner,
	.mv-rechte-verteilen--visual-right .mv-rechte-verteilen__inner {
		flex-direction: column-reverse;
		align-items: stretch;
		gap: 48px;
	}

	.mv-rechte-verteilen__visual {
		width: 100%;
		max-width: 502px;
		margin: 0 auto;
	}

	.mv-rechte-verteilen__content {
		flex-basis: auto;
	}
}

@media (max-width: 767px) {
	.mv-rechte-verteilen {
		padding: 56px 16px;
	}

	.mv-rechte-verteilen__headline {
		font-size: 28px;
		line-height: 36px;
	}

	.mv-rechte-verteilen__stack {
		min-height: 0;
	}

	.mv-rechte-verteilen__card {
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		width: 100%;
		padding: 24px 20px 16px;
		font-size: 18px;
	}

	.mv-rechte-verteilen__card--back {
		width: 92%;
		margin-left: auto;
		padding: 24px 20px 12px;
	}

	.mv-rechte-verteilen__card--front {
		width: 92%;
		margin-top: -48px;
	}

	.mv-rechte-verteilen__role,
	.mv-rechte-verteilen__card--back .mv-rechte-verteilen__role {
		font-size: 20px;
		line-height: 26px;
	}

	.mv-rechte-verteilen__row {
		padding: 10px 0;
		line-height: 26px;
	}
}
