/*
 * fx16_osmose — Osmose-Wasser mit Mineralanzeige.
 *
 * Masse aus dem Entwurf osmose-modul-v2 (mobile zuerst, Desktop ab 900px wie
 * im Entwurf). Schrift steht in project.css (Abschnitt "fx16 Osmose"), Farben
 * kommen als Tokens. Hier nur Layout, Abstaende und Flaechen.
 */

/* ---------- 1 Flaeche und Text ---------- */

section.fx16_osmose {
	background: var(--fx-navy);
}

section.fx16_osmose .fx16_topline {
	margin-bottom: 14px;
}

section.fx16_osmose .fx16_titel {
	margin: 0 0 16px;
	max-width: 900px;
	color: var(--fx-white);
}

section.fx16_osmose .fx16_text {
	color: var(--fx-mist);
	text-wrap: pretty;
}

section.fx16_osmose .fx16_text > :first-child { margin-top: 0; }
section.fx16_osmose .fx16_text > :last-child  { margin-bottom: 0; }
section.fx16_osmose .fx16_text p              { margin: 0 0 1em; }
section.fx16_osmose .fx16_text a              { color: var(--fx-ice); }

/* ---------- 2 Mineralanzeige ---------- */

section.fx16_osmose .fx16_anzeige {
	margin-top: 26px;
	padding: 20px 18px 22px;
	border: 1px solid var(--fx-rahmen-dunkel);
}

section.fx16_osmose .fx16_kopf {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
}

section.fx16_osmose .fx16_label  { color: var(--fx-ice); }
section.fx16_osmose .fx16_status { color: var(--fx-mist); text-align: right; }

section.fx16_osmose .fx16_wert {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 14px 0 16px;
}

section.fx16_osmose .fx16_zahl    { color: var(--fx-white); }
section.fx16_osmose .fx16_einheit { color: var(--fx-ice); }

section.fx16_osmose .fx16_spur {
	position: relative;
	height: 6px;
	background: var(--fx-spur-dunkel);
}

section.fx16_osmose .fx16_balken {
	position: absolute;
	inset: 0 auto 0 0;
	width: 100%;
	background: var(--fx-ice);
}

section.fx16_osmose .fx16_fuss {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
	color: var(--fx-mist);
}

/* ---------- 3 Desktop (ab 900px, wie im Entwurf) ---------- */

@media (min-width: 900px) {
	section.fx16_osmose .fx16_topline { margin-bottom: 18px; }
	section.fx16_osmose .fx16_titel   { margin: 0; }

	section.fx16_osmose .fx16_text {
		max-width: 620px;
		margin-top: 24px;
	}

	section.fx16_osmose .fx16_anzeige {
		margin-top: 64px;
		padding: 40px 44px 44px;
	}

	section.fx16_osmose .fx16_wert {
		margin: 28px 0 32px;
		gap: 16px;
	}

	section.fx16_osmose .fx16_spur { height: 8px; }
	section.fx16_osmose .fx16_fuss { margin-top: 14px; }
}
