/* ==========================================================================
   M28 Branchen-Tabelle – Figma 49:189 (3 columns) / 50:184 (stacked)
   ========================================================================== */

section.m28_branchen .m28_head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;
}

section.m28_branchen .m28_head_title {
	flex: 0 1 650px;
	min-width: 0;
}

section.m28_branchen .m28_text_container {
	flex: 0 1 420px;
	font-size: 1rem;
	line-height: 1.65;
}

section.m28_branchen .m28_text_container,
section.m28_branchen .m28_text_container p,
section.m28_branchen .m28_hinweis_container,
section.m28_branchen .m28_hinweis_container p {
	color: var(--btw_grau);
}

/* Table */
section.m28_branchen .m28_list {
	display: flex;
	flex-wrap: wrap;
	margin: 64px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--btw_schwarz);
}

section.m28_branchen .m28_item {
	flex: 0 0 33.3333%;
	min-width: 0;
	margin: 0;
	padding: 32px 32px 40px;
	border-bottom: 1px solid var(--btw_linie);
	border-left: 1px solid var(--btw_linie);
}

section.m28_branchen .m28_item::before {
	content: none;
}

section.m28_branchen .m28_item:nth-child(3n + 1) {
	padding-left: 0;
	border-left: 0;
}

section.m28_branchen .m28_item p {
	margin: 0;
}

section.m28_branchen .m28_item_nummer {
	font-size: 0.75rem;
	line-height: 1.65;
	letter-spacing: 0.18em;
	color: var(--btw_grau);
}

section.m28_branchen .m28_item_titel_container {
	padding-top: 20px;
}

section.m28_branchen .m28_item_titel {
	font-size: 1.375rem;
	line-height: 1.2;
}

section.m28_branchen .m28_punkte {
	margin: 0;
	padding: 20px 0 0;
	list-style: none;
}

section.m28_branchen .m28_punkt {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 6px 0;
}

section.m28_branchen .m28_punkt::before {
	content: none;
}

section.m28_branchen .m28_punkt_marker {
	flex: 0 0 auto;
	font-size: 7px;
	line-height: 22px;
	color: var(--btw_schwarz);
}

section.m28_branchen .m28_punkt_text {
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--btw_schwarz);
}

section.m28_branchen .m28_hinweis_container {
	max-width: 760px;
	padding-top: 40px;
	font-size: 0.9375rem;
	line-height: 1.65;
}

/* Two columns */
@media all and (max-width: 991px) {
	section.m28_branchen .m28_head {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	section.m28_branchen .m28_head_title,
	section.m28_branchen .m28_text_container {
		flex: 0 0 auto;
	}

	section.m28_branchen .m28_item {
		flex-basis: 50%;
	}

	section.m28_branchen .m28_item:nth-child(3n + 1) {
		padding-left: 32px;
		border-left: 1px solid var(--btw_linie);
	}

	section.m28_branchen .m28_item:nth-child(2n + 1) {
		padding-left: 0;
		border-left: 0;
	}
}

/* Stacked (Figma mobile: top line per item, no side lines) */
@media all and (max-width: 767px) {
	section.m28_branchen .m28_text_container {
		font-size: 1rem;
	}

	section.m28_branchen .m28_list {
		flex-direction: column;
		margin-top: 32px;
		border-top: 0;
	}

	section.m28_branchen .m28_item,
	section.m28_branchen .m28_item:nth-child(n) {
		flex-basis: auto;
		padding: 22px 0;
		border-left: 0;
		border-top: 1px solid var(--btw_linie);
		border-bottom: 0;
	}

	section.m28_branchen .m28_item:last-child {
		border-bottom: 1px solid var(--btw_linie);
	}

	section.m28_branchen .m28_item_nummer {
		font-size: 0.6875rem;
	}

	section.m28_branchen .m28_item_titel_container {
		padding-top: 14px;
	}

	section.m28_branchen .m28_item_titel {
		font-size: 1.125rem;
		line-height: 1.25;
	}

	section.m28_branchen .m28_punkte {
		padding-top: 10px;
	}

	section.m28_branchen .m28_punkt {
		gap: 10px;
		padding: 3px 0;
	}

	section.m28_branchen .m28_punkt_marker {
		font-size: 6px;
		line-height: 21px;
	}

	section.m28_branchen .m28_punkt_text {
		font-size: 0.875rem;
	}

	section.m28_branchen .m28_hinweis_container {
		padding-top: 24px;
		font-size: 0.8125rem;
	}
}
