/* Handy-Feinschliff. Wird als letztes Stylesheet geladen und greift nur auf kleinen Bildschirmen. */

@media (max-width: 720px) {
	/* Nichts schiebt die Seite seitlich raus */
	body {
		overflow-x: clip;
	}

	/* Doppelspalten, die auf dem Handy zu schmal werden: eine Spalte */
	.fm-grid,
	.ar-grid,
	.odo-grid,
	.or-nums,
	.run-grid,
	.cx-cta-in,
	.logo-wall {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	/* Vier- und Dreispalter: zwei Spalten statt Briefmarken */
	.contact-proof,
	.sc-steps,
	.cx-dash-kpi,
	.spx-row {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	/* Inhalte dürfen nicht breiter sein als ihr Kasten */
	.fm-txt,
	.fmm-panels,
	.run-panels,
	.run-p,
	.run-cards,
	.au-stage,
	.au-flow,
	.fqm,
	.trust2-tower,
	.ob-wrap,
	.orbit,
	.zs-sign,
	.cx-cta-act,
	.il {
		max-width: 100%;
		min-width: 0;
	}

	.fmm-panels,
	.fqm,
	.run-cards {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.cx-cta-act,
	.zs-sign {
		flex-wrap: wrap;
	}

	.zs-sign > * {
		min-width: 0;
	}

	/* Der Vertrauens-Turm steht auf dem Handy untereinander */
	.trust2-tower {
		flex-direction: column;
	}

	.trust2-tower > * {
		width: 100%;
	}

	.cx-cta-act > * {
		width: 100%;
	}

	/* Icon + Text nebeneinander: Icon fest, Text nimmt den Rest */
	.t2-b,
	.tl-i,
	.cost-i,
	.issue {
		grid-template-columns: auto minmax(0, 1fr) !important;
	}

	/* Lange Wörter in großen Überschriften umbrechen statt überstehen */
	.kinetic,
	.slam-stage,
	h1,
	h2 {
		overflow-wrap: anywhere;
		word-break: normal;
	}

	.kinetic {
		font-size: clamp(26px, 8.4vw, 36px);
	}

	/* Deko-Bühnen bleiben im Rahmen */
	.slam-stage,
	.run-ghost,
	.il-hub {
		overflow: hidden;
	}

	/* Kleinstschrift lesbar machen (war 9,5–11 px) */
	.hero-px-cap,
	.fx-note,
	.aif-bar,
	.aif-bar .a,
	.aif-bar .b,
	.gp-k,
	.f3-cta-k,
	.f3-badge {
		font-size: 12px !important;
		line-height: 1.45;
	}

	/* Marke-live: Bühnen und Reihen bleiben im Rahmen */
	.lv-stage,
	.lv-s,
	.lv-apps,
	.lv-color,
	.lv-count,
	.nb-grid,
	.pk-vis {
		max-width: 100%;
		min-width: 0;
	}

	.lv-color,
	.lv-apps,
	.pk-vis {
		flex-wrap: wrap;
	}

	.lv-color > *,
	.lv-apps > *,
	.pk-vis > *,
	.au-flow > li {
		min-width: 0;
		max-width: 100%;
	}

	.lv-count {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	/* Farbfelder: zwei pro Reihe, Beschriftung darf umbrechen */
	.lv-color {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.lv-color > * {
		width: auto;
	}

	.lv-color span,
	.lv-color small,
	.lv-color b {
		overflow-wrap: anywhere;
		white-space: normal;
	}

	.nb-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	}

	/* Beschriftungen in den Schaubildern passen in ihre Kästen */
	.sys-m li {
		font-size: 11px;
		letter-spacing: 0;
		overflow-wrap: anywhere;
	}

	/* Social-Buttons im Footer: Beschriftung nur für Screenreader */
	.f4-soc a > b {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.f4-soc a {
		position: relative;
	}
}

@media (max-width: 480px) {
	/* Auf sehr schmalen Geräten reicht eine Spalte überall */
	.contact-proof,
	.sc-steps,
	.cx-dash-kpi,
	.logo-wall {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.pr-lbl {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
