/**
 * Theme Part M87 - Symptome (Redesign 2026)
 *
 * @author MediaMEANS
**/

section.m87_symptome {
	position: relative;
}

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

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

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

/* === Kopf === */
section.m87_symptome .m87_head_container {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 56px;
}

section.m87_symptome .m87_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.m87_symptome .m87_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;
}

section.m87_symptome .m87_text_container {
	max-width: 560px;
	margin-top: 18px;
	color: #1A1A73;
	font-size: 1.125rem;
	line-height: 1.6;
}

/* Nexa sitzt hoch in der Zeile: oben mehr Padding als unten */
section.m87_symptome .m87_button {
	display: inline-flex;
	align-items: center;
	padding: 18px 26px 14px;
	border-radius: 999px;
	background: #FE5B4A;
	color: #fff;
	font-family: Nexa-Heavy, sans-serif; /* 800 */
	font-weight: 400;
	font-size: .9375rem;
	line-height: 1.3;
	text-decoration: none;
	-webkit-transition: background .25s;
	transition: background .25s;
}

section.m87_symptome .m87_button:hover {
	background: #ff735f;
	color: #fff;
}

/* === Karten: 4 Spalten === */
section.m87_symptome .m87_grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

section.m87_symptome .m87_item {
	display: flex;
	flex-direction: column;
	width: calc((100% - 48px) / 4);
	padding: 28px 26px;
	border-radius: 18px;
	background: #fff;
}

section.m87_symptome .m87_icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 22px;
	border-radius: 16px;
	background: #EEF0FF;
	color: #1E1E7A;
	-webkit-transition: background .35s, color .35s, transform .45s cubic-bezier(.2, .7, .1, 1);
	transition: background .35s, color .35s, transform .45s cubic-bezier(.2, .7, .1, 1);
}

section.m87_symptome .m87_icon svg,
section.m87_symptome .m87_icon img {
	display: block;
	width: 26px;
	height: 26px;
}

section.m87_symptome .m87_item:hover .m87_icon {
	background: #08083E;
	color: #fff;
	transform: rotate(-6deg);
}

section.m87_symptome .m87_item_titel {
	margin: 0 0 18px;
	color: #1919BD;
	font-family: Nexa-Heavy, sans-serif; /* 800 */
	font-weight: 400;
	font-size: 1.125rem;
	line-height: 1.2;
	letter-spacing: -.011rem;
}

section.m87_symptome .m87_punkte {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

section.m87_symptome .m87_punkte li {
	display: flex;
	gap: 10px;
	color: #1A1A73;
	font-size: .90625rem;
	line-height: 1.5;
}

section.m87_symptome .m87_punkt_icon {
	display: block;
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 3px;
	color: #E84634;
}

section.m87_symptome .m87_punkt_icon svg,
section.m87_symptome .m87_punkt_icon img {
	display: block;
	width: 100%;
	height: 100%;
}

/* button: jumps to the matching way of the module "4 Wege" */
section.m87_symptome .m87_goto,
section.m87_symptome .m87_link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	margin-top: auto;
	padding: 0;
	border: 0;
	background: none;
	color: #1E1E7A;
	cursor: pointer;
	font-family: Nexa-Heavy, sans-serif; /* 800 */
	font-weight: 400;
	font-size: .875rem;
	line-height: 1.3;
	text-align: left;
}

section.m87_symptome .m87_goto_icon {
	display: block;
	flex: none;
	width: 13px;
	height: 13px;
	margin-top: -3px;
	-webkit-transition: transform .3s cubic-bezier(.2, .7, .1, 1);
	transition: transform .3s cubic-bezier(.2, .7, .1, 1);
}

section.m87_symptome .m87_goto_icon svg,
section.m87_symptome .m87_goto_icon img {
	display: block;
	width: 100%;
	height: 100%;
}

section.m87_symptome .m87_goto:hover .m87_goto_icon,
section.m87_symptome .m87_link:hover .m87_goto_icon {
	transform: translateY(-3px);
}

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

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

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

	section.m87_symptome .m87_titel {
		font-size: 3rem;
		letter-spacing: -.066rem;
	}

	section.m87_symptome .m87_item {
		padding: 26px 22px;
	}
}

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

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

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

	section.m87_symptome .m87_titel {
		font-size: 2.75rem;
		letter-spacing: -.06rem;
	}

	/* 2 columns */
	section.m87_symptome .m87_item {
		width: calc((100% - 16px) / 2);
		padding: 28px 26px;
	}
}

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

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

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

	section.m87_symptome .m87_head_container {
		margin-bottom: 44px;
	}

	section.m87_symptome .m87_titel {
		font-size: 2.375rem;
		letter-spacing: -.052rem;
	}
}

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

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

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

	section.m87_symptome .m87_head_container {
		margin-bottom: 36px;
	}

	section.m87_symptome .m87_titel {
		font-size: 2rem;
		letter-spacing: -.044rem;
	}

	/* 1 column */
	section.m87_symptome .m87_item {
		width: 100%;
	}
}

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

	section.m87_symptome .m87_item {
		padding: 24px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	section.m87_symptome *,
	section.m87_symptome *::before,
	section.m87_symptome *::after {
		transition-duration: .001ms !important;
	}
}
