/**
 * Theme Part M88 - Vergleich (Redesign 2026)
 *
 * @author MediaMEANS
**/

section.m88_vergleich {
	position: relative;
}

/* === Abstand === */
section.m88_vergleich[data-innerer-abstand="innerer_abstand_oben_und_unten"] {
	padding-top: 136px;
	padding-bottom: 136px;
}

section.m88_vergleich[data-innerer-abstand="innerer_abstand_nur_oben"] {
	padding-top: 136px;
}

section.m88_vergleich[data-innerer-abstand="innerer_abstand_nur_unten"] {
	padding-bottom: 136px;
}

/* === Kopf === */
section.m88_vergleich .m88_head_container {
	margin-bottom: 56px;
}

section.m88_vergleich .m88_kicker {
	display: block;
	margin-bottom: 18px;
	color: #FE5B4A;
	font-family: Nexa-Heavy, sans-serif; /* 800 */
	font-weight: 400;
	font-size: .75rem;
	line-height: 1.3;
	letter-spacing: .105rem;
	text-transform: uppercase;
}

section.m88_vergleich .m88_titel {
	max-width: 720px;
	margin: 0;
	color: #1919BD;
	font-family: Nexa-Heavy, sans-serif; /* 900 */
	font-weight: 400;
	font-size: 3.125rem;
	line-height: 1.06;
	letter-spacing: -.07rem;
}

/* === Karten: zwei Spalten, Zeilenhöhen gleicht das JS an === */
section.m88_vergleich .m88_vergleich_main {
	position: relative;
	display: flex;
	gap: 20px;
}

section.m88_vergleich .m88_karte {
	flex: 1 1 0;
	min-width: 0;
	padding: 4px 32px 14px;
	border-radius: 24px;
}

section.m88_vergleich .m88_karte_links {
	background: #F3F3F5;
}

section.m88_vergleich .m88_karte_rechts {
	background: #08083E;
	box-shadow: 0 40px 70px -40px rgba(8, 8, 62, .6);
	color: #fff;
}

section.m88_vergleich .m88_karte_head {
	padding: 30px 0 24px;
}

section.m88_vergleich .m88_tag {
	display: block;
	margin-bottom: 8px;
	color: #62629A;
	font-family: Nexa-Heavy, sans-serif; /* 800 */
	font-weight: 400;
	font-size: .71875rem;
	line-height: 1.3;
	letter-spacing: .086rem;
	text-transform: uppercase;
}

section.m88_vergleich .m88_karte_rechts .m88_tag {
	color: #FE5B4A;
}

section.m88_vergleich .m88_karte_titel {
	display: block;
	color: #1919BD;
	font-family: Nexa-Heavy, sans-serif; /* 900 */
	font-weight: 400;
	font-size: 1.625rem;
	line-height: 1.15;
	letter-spacing: -.03rem;
}

section.m88_vergleich .m88_logo {
	display: block;
	padding: 2px 0;
	color: #fff;
}

section.m88_vergleich .m88_logo svg,
section.m88_vergleich .m88_logo img {
	display: block;
	width: auto;
	height: 26px;
	max-width: 100%;
	fill: currentColor;
}

section.m88_vergleich .m88_zeile {
	padding: 18px 0;
	border-top: 1px solid #E3E3EA;
}

section.m88_vergleich .m88_karte_rechts .m88_zeile {
	border-top-color: rgba(255, 255, 255, .12);
}

section.m88_vergleich .m88_zeile_label {
	display: block;
	margin-bottom: 6px;
	color: #62629A;
	font-family: Nexa-Heavy, sans-serif; /* 800 */
	font-weight: 400;
	font-size: .75rem;
	line-height: 1.3;
}

section.m88_vergleich .m88_karte_rechts .m88_zeile_label {
	color: rgba(255, 255, 255, .5);
}

section.m88_vergleich .m88_zeile_text {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	color: #62629A;
	font-size: .96875rem;
	line-height: 1.45;
}

section.m88_vergleich .m88_karte_rechts .m88_zeile_text {
	color: #fff;
	font-family: Nexa-Bold, sans-serif;
	font-weight: 400;
}

section.m88_vergleich .m88_zeile_icon {
	display: block;
	flex: none;
	width: 15px;
	height: 15px;
	margin-top: 2px;
	color: #A3A5B5;
}

section.m88_vergleich .m88_karte_rechts .m88_zeile_icon {
	color: #FE5B4A;
}

section.m88_vergleich .m88_zeile_icon svg,
section.m88_vergleich .m88_zeile_icon img {
	display: block;
	width: 100%;
	height: 100%;
}

/* "vs" between the cards */
section.m88_vergleich .m88_badge {
	position: absolute;
	top: 34px;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding-top: 3px;
	border: 1.5px solid #E3E3EA;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 10px 24px -12px rgba(8, 8, 62, .4);
	color: #1A1A73;
	font-family: Nexa-Heavy, sans-serif; /* 900 */
	font-weight: 400;
	font-size: .875rem;
	transform: translateX(-50%);
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 1399px) {
	section.m88_vergleich[data-innerer-abstand="innerer_abstand_oben_und_unten"] {
		padding-top: 130px;
		padding-bottom: 130px;
	}

	section.m88_vergleich[data-innerer-abstand="innerer_abstand_nur_oben"] {
		padding-top: 130px;
	}

	section.m88_vergleich[data-innerer-abstand="innerer_abstand_nur_unten"] {
		padding-bottom: 130px;
	}

	section.m88_vergleich .m88_titel {
		font-size: 3rem;
		letter-spacing: -.066rem;
	}

	section.m88_vergleich .m88_karte_titel {
		font-size: 1.5rem;
	}
}

@media screen and (max-width: 1199px) {
	section.m88_vergleich[data-innerer-abstand="innerer_abstand_oben_und_unten"] {
		padding-top: 110px;
		padding-bottom: 110px;
	}

	section.m88_vergleich[data-innerer-abstand="innerer_abstand_nur_oben"] {
		padding-top: 110px;
	}

	section.m88_vergleich[data-innerer-abstand="innerer_abstand_nur_unten"] {
		padding-bottom: 110px;
	}

	section.m88_vergleich .m88_titel {
		font-size: 2.75rem;
		letter-spacing: -.06rem;
	}

	section.m88_vergleich .m88_karte_titel {
		font-size: 1.375rem;
	}
}

/* tablet: cards below each other, no badge, no row alignment */
@media screen and (max-width: 991px) {
	section.m88_vergleich[data-innerer-abstand="innerer_abstand_oben_und_unten"] {
		padding-top: 96px;
		padding-bottom: 96px;
	}

	section.m88_vergleich[data-innerer-abstand="innerer_abstand_nur_oben"] {
		padding-top: 96px;
	}

	section.m88_vergleich[data-innerer-abstand="innerer_abstand_nur_unten"] {
		padding-bottom: 96px;
	}

	section.m88_vergleich .m88_head_container {
		margin-bottom: 44px;
	}

	section.m88_vergleich .m88_titel {
		font-size: 2.375rem;
		letter-spacing: -.052rem;
	}

	section.m88_vergleich .m88_vergleich_main {
		flex-direction: column;
		gap: 16px;
	}

	section.m88_vergleich .m88_karte {
		flex: none;
		padding: 4px 24px 12px;
	}

	section.m88_vergleich .m88_karte_titel {
		font-size: 1.25rem;
	}

	section.m88_vergleich .m88_badge {
		display: none;
	}
}

@media screen and (max-width: 767px) {
	section.m88_vergleich[data-innerer-abstand="innerer_abstand_oben_und_unten"] {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	section.m88_vergleich[data-innerer-abstand="innerer_abstand_nur_oben"] {
		padding-top: 80px;
	}

	section.m88_vergleich[data-innerer-abstand="innerer_abstand_nur_unten"] {
		padding-bottom: 80px;
	}

	section.m88_vergleich .m88_head_container {
		margin-bottom: 36px;
	}

	section.m88_vergleich .m88_titel {
		font-size: 2rem;
		letter-spacing: -.044rem;
	}
}

@media screen and (max-width: 375px) {
	section.m88_vergleich .m88_titel {
		font-size: 1.75rem;
		letter-spacing: -.038rem;
	}

	section.m88_vergleich .m88_karte {
		padding: 4px 18px 10px;
	}

	section.m88_vergleich .m88_zeile_text {
		font-size: .90625rem;
	}
}
