/* WebTrades – Unterseiten: Seitenkopf, Abschnittstypen, Rechtstexte, 404 */

/* ============ SEITENKOPF ============ */
.wt-page-hero {
	position: relative;
	overflow: clip;
}

.wt-page-hero__grid {
	min-height: clamp(560px, 78svh, 880px);
	grid-template-rows: auto 1fr auto auto auto auto auto;
	padding-top: calc(var(--wt-header-h) + clamp(36px, 6vh, 80px));
	padding-bottom: clamp(88px, 12vh, 140px);
}

.wt-breadcrumb {
	grid-column: 1 / -1;
	grid-row: 1;
}

.wt-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--wt-font-mono);
	font-size: var(--wt-micro);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wt-muted);
}

.wt-breadcrumb__list li + li::before {
	content: "/";
	margin-inline: 12px;
	opacity: 0.6;
}

.wt-breadcrumb__list a:hover {
	color: var(--wt-fg);
}

.wt-breadcrumb__list [aria-current="page"] {
	color: var(--wt-fg);
}

.wt-page-hero__register {
	grid-column: 1 / 5;
	grid-row: 3;
}

.wt-breadcrumb + .wt-page-hero__register {
	margin-top: clamp(56px, 9vh, 104px);
}

.wt-page-hero__display {
	grid-column: 1 / 12;
	grid-row: 4;
	margin-top: 24px;
	text-transform: uppercase;
}

.wt-page-hero__title {
	grid-column: 1 / 11;
	grid-row: 5;
	margin-top: 22px;
	font-size: clamp(3.2rem, 7vw, 8.2rem);
	font-weight: 600;
	line-height: 0.9;
	letter-spacing: -0.048em;
	overflow-wrap: break-word;
	hyphens: manual;
}

.wt-page-hero__lead {
	grid-column: 7 / 12;
	grid-row: 6;
	max-width: 40ch;
	margin-top: clamp(36px, 4.2vw, 68px);
	font-size: var(--wt-lead);
	line-height: 1.3;
	letter-spacing: -0.014em;
}

.wt-page-hero__actions {
	grid-column: 7 / 12;
	grid-row: 7;
	margin-top: 36px;
}

/* Narrativ mit Display-Zeile (Unternehmen) */
.wt-page-hero--display .wt-page-hero__title {
	grid-column: 7 / 12;
	margin-top: clamp(44px, 5vw, 80px);
	font-size: clamp(1.6rem, 2.4vw, 2.8rem);
	font-weight: 560;
	line-height: 1.02;
	letter-spacing: -0.03em;
}

.wt-page-hero--display .wt-page-hero__lead {
	margin-top: 28px;
}

/* System: dokumentarischer, kompakter */
.wt-page-hero--system .wt-page-hero__grid {
	min-height: clamp(520px, 70svh, 780px);
}

.wt-page-hero--system .wt-page-hero__title {
	grid-column: 1 / 10;
	font-size: clamp(2.8rem, 5.2vw, 6.2rem);
	line-height: 0.94;
	letter-spacing: -0.044em;
}

.wt-page-hero--system .wt-page-hero__lead {
	grid-column: 1 / 7;
	color: rgba(242, 240, 233, 0.82);
}

.wt-page-hero--system .wt-page-hero__actions {
	grid-column: 1 / 7;
}

/* Transaktional: hell, direkt */
.wt-page-hero--transactional .wt-page-hero__title {
	grid-column: 1 / 10;
	font-size: clamp(3rem, 6.2vw, 7.2rem);
}

.wt-page-hero--transactional .wt-page-hero__lead {
	grid-column: 5 / 10;
}

.wt-page-hero--transactional .wt-page-hero__actions {
	grid-column: 5 / 10;
}

/* Commerce Seam im Seitenkopf */
.wt-page-hero__seam {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	pointer-events: none;
}

.wt-page-hero__seam .wt-seam,
.wt-page-hero__seam .wt-node {
	position: relative;
	grid-row: 1;
}

.wt-page-hero__seam .wt-seam--h {
	grid-column: 1 / 7;
	width: calc(100% + var(--wt-gap));
}

.wt-page-hero__seam .wt-node {
	grid-column: 7 / 8;
	justify-self: start;
	transform: translate(-50%, -50%) translate(0.5px, 0.5px);
}

.wt-page-hero--system .wt-page-hero__seam .wt-seam--h {
	grid-column: 1 / 10;
}

.wt-page-hero--system .wt-page-hero__seam .wt-node {
	grid-column: 10 / 11;
}

/* ============ ABSCHNITTE ============ */
.wt-ps {
	padding-block: clamp(110px, 11vw, 190px);
}

/* Gleiche Farbwelt hintereinander: präzise Trennlinie statt Farbwechsel */
.wt-ps.wt-theme-light + .wt-ps.wt-theme-light::before,
.wt-ps.wt-theme-dark + .wt-ps.wt-theme-dark::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	width: min(100% - 2 * var(--wt-gutter), var(--wt-max));
	height: 1px;
	margin-inline: auto;
	background: var(--wt-line);
}

.wt-ps__index {
	grid-column: 1 / 3;
	grid-row: 1;
	padding-top: 1.1em;
}

.wt-ps__title {
	grid-column: 3 / 11;
	grid-row: 1;
}

.wt-ps__body {
	grid-column: 6 / 12;
	grid-row: 2;
	margin-top: clamp(40px, 4.4vw, 72px);
	font-size: clamp(1.05rem, 1.18vw, 1.24rem);
}

.wt-ps--flip .wt-ps__index {
	grid-column: 11 / 13;
	justify-self: end;
}

.wt-ps--flip .wt-ps__title {
	grid-column: 1 / 9;
}

.wt-ps--flip .wt-ps__body {
	grid-column: 3 / 9;
}

.wt-ps__intro {
	grid-column: 9 / 13;
	grid-row: 1;
	align-self: end;
	max-width: 36ch;
	color: var(--wt-muted);
}

.wt-ps__cta {
	margin-top: 30px;
}

/* Rows */
.wt-ps--rows .wt-ps__title {
	grid-column: 3 / 9;
}

.wt-ps-rows {
	grid-column: 1 / -1;
	grid-row: 3;
	margin: clamp(56px, 6vw, 100px) 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--wt-line);
}

.wt-ps-rows__item {
	display: grid;
	grid-template-columns: repeat(var(--wt-cols), minmax(0, 1fr));
	column-gap: var(--wt-gap);
	padding-block: 32px 38px;
	border-bottom: 1px solid var(--wt-line);
}

.wt-ps-rows__register {
	grid-column: 1 / 4;
	padding-top: 0.55em;
}

.wt-ps-rows__title {
	grid-column: 4 / 8;
}

.wt-ps-rows__text {
	grid-column: 8 / 12;
	max-width: 48ch;
	color: var(--wt-muted);
}

.wt-ps-rows__code {
	grid-column: 1 / 7;
	font-size: clamp(1.9rem, 3.2vw, 3.7rem);
	font-weight: 600;
	line-height: 0.95;
	letter-spacing: -0.042em;
	text-transform: uppercase;
	overflow-wrap: break-word;
}

.wt-ps-rows__item--code .wt-ps-rows__text {
	align-self: end;
}

.wt-ps-rows__cta {
	margin-top: 18px;
	color: var(--wt-fg);
}

.wt-ps__cta--after {
	grid-column: 1 / 5;
	grid-row: 4;
	margin-top: 44px;
}

/* Prinzipien */
.wt-principles {
	display: grid;
	grid-column: 3 / -1;
	grid-row: 2;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--wt-gap);
	margin: clamp(24px, 3vw, 48px) 0 0;
	padding: 0;
	list-style: none;
}

.wt-principles__item {
	display: grid;
	grid-template-columns: 3em minmax(0, 1fr);
	padding-block: 28px 36px;
	border-top: 1px solid var(--wt-line);
}

.wt-principles__index {
	grid-row: 1 / 3;
	padding-top: 0.5em;
	font-family: var(--wt-font-mono);
	font-size: var(--wt-micro);
	letter-spacing: 0.08em;
	color: var(--wt-muted);
}

.wt-principles__title {
	font-size: var(--wt-h4);
	font-weight: 560;
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.wt-principles__text {
	max-width: 40ch;
	margin-top: 12px;
	color: var(--wt-muted);
}

/* Schritte */
.wt-steps {
	--wt-step-cols: 5;
	display: grid;
	grid-column: 1 / -1;
	grid-row: 3;
	grid-template-columns: repeat(var(--wt-step-cols), minmax(0, 1fr));
	column-gap: var(--wt-gap);
	margin: clamp(56px, 6vw, 100px) 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--wt-fg);
}

.wt-steps--3 { --wt-step-cols: 3; }
.wt-steps--4 { --wt-step-cols: 4; }
.wt-steps--6 { --wt-step-cols: 6; }

.wt-steps__item {
	position: relative;
	padding-top: 26px;
}

.wt-steps__marker {
	position: absolute;
	top: -4px;
	left: 0;
	width: 7px;
	height: 7px;
	background: var(--wt-fg);
}

.wt-steps__name {
	display: grid;
	gap: 10px;
	font-size: clamp(1.05rem, 1.35vw, 1.55rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.wt-steps__index {
	font-family: var(--wt-font-mono);
	font-size: var(--wt-micro);
	font-weight: 400;
	letter-spacing: 0.1em;
	color: var(--wt-muted);
}

.wt-steps__text {
	max-width: 28ch;
	margin-top: 16px;
	font-size: var(--wt-small);
	line-height: 1.5;
	color: var(--wt-muted);
}

/* Liste: Überschrift links (sticky), Liste rechts */
.wt-ps__aside {
	grid-column: 1 / 6;
	align-self: start;
}

.wt-ps--list .wt-ps__aside,
.wt-ps--form .wt-ps__aside {
	position: sticky;
	top: calc(var(--wt-header-h-compact) + 48px);
}

.wt-ps__aside .wt-ps__index {
	padding-top: 0;
}

.wt-ps__aside .wt-ps__title {
	margin-top: 20px;
}

.wt-ps__aside .wt-ps__intro {
	max-width: 40ch;
	margin-top: 24px;
}

.wt-ps__main {
	grid-column: 7 / 13;
}

.wt-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--wt-line);
}

.wt-checklist__item {
	display: grid;
	grid-template-columns: 3.2em minmax(0, 1fr);
	gap: 12px;
	padding-block: 18px;
	border-bottom: 1px solid var(--wt-line);
	font-size: clamp(1.05rem, 1.25vw, 1.3rem);
	line-height: 1.4;
}

.wt-checklist__index {
	padding-top: 0.5em;
	font-family: var(--wt-font-mono);
	font-size: var(--wt-micro);
	letter-spacing: 0.08em;
	color: var(--wt-muted);
}

.wt-ps__outro {
	max-width: 52ch;
	margin-top: 34px;
}

/* Szenen (Handel) */
.wt-ps--scenes .wt-ps__title {
	grid-column: 3 / 11;
}

.wt-page-scenes {
	display: grid;
	row-gap: clamp(110px, 13vh, 190px);
	margin-top: clamp(80px, 8vw, 140px);
}

.wt-page-scene {
	align-items: end;
}

.wt-page-scene__media {
	grid-row: 1;
	margin: 0;
}

.wt-page-scene--a .wt-page-scene__media {
	grid-column: 1 / 9;
}

.wt-page-scene--a .wt-page-scene__copy {
	grid-column: 9 / 13;
	grid-row: 1;
	padding-left: clamp(0px, 1.2vw, 20px);
}

.wt-page-scene--b .wt-page-scene__media {
	grid-column: 5 / 13;
}

.wt-page-scene--b .wt-page-scene__copy {
	grid-column: 1 / 5;
	grid-row: 1;
	align-self: start;
	padding-top: clamp(40px, 10vh, 120px);
	padding-right: clamp(0px, 1.2vw, 20px);
}

.wt-page-scene__title {
	margin-top: 16px;
}

.wt-page-scene__text {
	max-width: 38ch;
	margin-top: 18px;
}

.wt-page-scene__cta {
	margin-top: 24px;
}

/* Gesellschaftsdaten */
.wt-ps--facts .wt-ps__title {
	grid-column: 3 / 8;
}

.wt-facts {
	grid-column: 8 / 13;
	grid-row: 1;
	align-self: start;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--wt-line);
}

.wt-facts__item {
	padding-block: 16px;
	border-bottom: 1px solid var(--wt-line);
	font-size: clamp(1.05rem, 1.2vw, 1.25rem);
}

/* Hinweis */
.wt-ps--note {
	padding-block: clamp(90px, 9vw, 150px);
}

.wt-note {
	grid-column: 4 / 11;
	max-width: 44ch;
	padding-left: clamp(20px, 2.4vw, 40px);
	border-left: 1px solid var(--wt-fg);
	font-size: var(--wt-lead);
	line-height: 1.32;
	letter-spacing: -0.014em;
}

/* Formular */
.wt-ps--form .wt-contact-meta {
	margin-top: 40px;
}

/* Formular ohne Kontaktdaten: Index auf der Registerkante, Formular eingerückt statt leerer Hälfte */
.wt-ps--form-solo .wt-ps__aside {
	grid-column: 1 / 4;
}

.wt-ps--form-solo .wt-ps__main {
	grid-column: 5 / 12;
}

/* Abschluss */
.wt-ps--closing .wt-ps__title {
	grid-column: 1 / 10;
	font-size: var(--wt-h2-compact);
}

.wt-ps__closing-text {
	grid-column: 1 / 7;
	grid-row: 2;
	max-width: 46ch;
	margin-top: 28px;
}

.wt-ps__actions {
	display: flex;
	flex-wrap: wrap;
	grid-column: 1 / -1;
	grid-row: 3;
	align-items: center;
	gap: 20px 36px;
	margin-top: 44px;
}

.wt-ps--closing-line {
	padding-block: clamp(80px, 8vw, 130px);
}

.wt-closing-line {
	position: relative;
	display: flex;
	grid-column: 1 / -1;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: clamp(150px, 14vw, 230px);
	border-top: 1px solid var(--wt-line);
	border-bottom: 1px solid var(--wt-line);
}

.wt-closing-line__label {
	font-size: clamp(2rem, 4.4vw, 5.2rem);
	font-weight: 560;
	line-height: 1;
	letter-spacing: -0.042em;
}

.wt-closing-line__arrow {
	transition: transform 0.32s var(--wt-ease);
}

.wt-closing-line__arrow .wt-arrow {
	width: clamp(22px, 2.4vw, 40px);
	height: clamp(22px, 2.4vw, 40px);
}

@media (hover: hover) {
	.wt-closing-line:hover .wt-row__node {
		opacity: 1;
		transform: none;
	}

	.wt-closing-line:hover .wt-closing-line__arrow {
		transform: translate(4px, -4px);
	}
}

/* Materialbild als eigener Schnitt */
.wt-page-media {
	padding-bottom: clamp(110px, 11vw, 190px);
}

.wt-page-media__figure {
	margin: 0;
}

.wt-page-media--a .wt-page-media__figure {
	grid-column: 4 / 12;
}

.wt-page-media--b .wt-page-media__figure {
	grid-column: 1 / 8;
}

/* ============ RECHTSTEXTE ============ */
.wt-legal {
	padding-block: calc(var(--wt-header-h) + clamp(72px, 9vw, 150px)) clamp(120px, 11vw, 190px);
}

.wt-legal__register {
	grid-column: 1 / 4;
	grid-row: 1;
	padding-top: 1em;
}

.wt-legal__title {
	grid-column: 4 / 12;
	grid-row: 1;
	hyphens: manual;
	overflow-wrap: break-word;
}

.wt-legal__content {
	grid-column: 4 / 10;
	grid-row: 2;
	margin-top: clamp(64px, 6vw, 110px);
}

.wt-prose {
	max-width: 68ch;
}

.wt-prose > * + * {
	margin-top: 1em;
}

.wt-prose h2 {
	margin-top: 2.6em;
	padding-top: 1.1em;
	border-top: 1px solid var(--wt-line);
	font-size: var(--wt-h4);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.wt-prose > h2:first-child {
	margin-top: 0;
}

.wt-prose h3 {
	margin-top: 2.2em;
	font-family: var(--wt-font-mono);
	font-size: var(--wt-micro);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wt-muted);
}

.wt-prose h3 + p {
	margin-top: 0.6em;
}

.wt-prose a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.wt-prose strong {
	font-weight: 600;
}

.wt-prose :where(ul, ol) {
	padding-left: 1.2em;
}

/* ============ 404 ============ */
.wt-notfound {
	display: grid;
	min-height: max(640px, 100svh);
}

.wt-notfound__grid {
	align-content: center;
	padding-block: calc(var(--wt-header-h) + 60px) 100px;
}

.wt-notfound__register {
	grid-column: 1 / -1;
}

.wt-notfound__title {
	grid-column: 1 / 11;
	margin-top: 28px;
	text-transform: uppercase;
}

.wt-notfound__offset {
	padding-left: 0.75em;
}

.wt-notfound__text {
	grid-column: 7 / 12;
	max-width: 34ch;
	margin-top: 52px;
	font-size: var(--wt-lead);
	line-height: 1.3;
}

.wt-notfound__actions {
	display: flex;
	flex-wrap: wrap;
	grid-column: 7 / 13;
	align-items: center;
	gap: 20px 34px;
	margin-top: 36px;
}

/* ============ TABLET ============ */
@media (max-width: 1099px) {
	.wt-page-hero__grid {
		min-height: clamp(500px, 68svh, 720px);
	}

	.wt-page-hero__register,
	.wt-page-hero__display,
	.wt-page-hero .wt-page-hero__title {
		grid-column: 1 / -1;
	}

	.wt-page-hero .wt-page-hero__lead,
	.wt-page-hero .wt-page-hero__actions,
	.wt-page-hero--display .wt-page-hero__title {
		grid-column: 2 / 7;
	}

	.wt-page-hero--system .wt-page-hero__lead,
	.wt-page-hero--system .wt-page-hero__actions {
		grid-column: 1 / 6;
	}

	.wt-page-hero .wt-page-hero__seam .wt-seam--h {
		grid-column: 1 / 4;
	}

	.wt-page-hero .wt-page-hero__seam .wt-node {
		grid-column: 4 / 5;
	}

	.wt-ps .wt-ps__index,
	.wt-ps--flip .wt-ps__index {
		grid-column: 1 / -1;
		justify-self: start;
		padding-top: 0;
	}

	.wt-ps .wt-ps__title {
		grid-column: 1 / -1;
		grid-row: 2;
		margin-top: 20px;
	}

	.wt-ps .wt-ps__body {
		grid-column: 2 / 7;
		grid-row: 3;
	}

	.wt-ps--flip .wt-ps__body {
		grid-column: 1 / 6;
	}

	.wt-ps .wt-ps__intro {
		grid-column: 2 / 7;
		grid-row: 3;
		margin-top: 28px;
	}

	.wt-ps-rows {
		grid-row: 4;
	}

	.wt-ps-rows__item {
		row-gap: 12px;
	}

	.wt-ps-rows__register,
	.wt-ps-rows__title,
	.wt-ps-rows__code {
		grid-column: 1 / -1;
		padding-top: 0;
	}

	.wt-ps-rows__text,
	.wt-ps-rows__item--code .wt-ps-rows__text {
		grid-column: 1 / 6;
	}

	.wt-ps__cta--after {
		grid-row: 5;
	}

	.wt-principles {
		grid-column: 1 / -1;
		grid-row: 3;
		grid-template-columns: 1fr;
	}

	.wt-steps {
		grid-row: 4;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 40px;
		border-top: 0;
	}

	.wt-steps__item {
		border-top: 1px solid var(--wt-fg);
	}

	.wt-ps__aside,
	.wt-ps__main {
		grid-column: 1 / -1;
	}

	.wt-ps--list .wt-ps__aside,
	.wt-ps--form .wt-ps__aside {
		position: static;
	}

	.wt-ps__main {
		margin-top: 48px;
	}

	.wt-page-scene--a .wt-page-scene__media,
	.wt-page-scene--b .wt-page-scene__media {
		grid-column: 1 / -1;
	}

	.wt-page-scene--a .wt-page-scene__copy,
	.wt-page-scene--b .wt-page-scene__copy {
		grid-column: 1 / 6;
		grid-row: 2;
		align-self: start;
		padding: 28px 0 0;
	}

	.wt-page-scene--b .wt-page-scene__copy {
		grid-column: 2 / 7;
	}

	.wt-facts {
		grid-column: 1 / -1;
		grid-row: 3;
		margin-top: 40px;
	}

	.wt-note {
		grid-column: 1 / -1;
	}

	.wt-ps__closing-text {
		grid-column: 1 / 6;
	}

	.wt-page-media--a .wt-page-media__figure,
	.wt-page-media--b .wt-page-media__figure {
		grid-column: 1 / -1;
	}

	.wt-legal__register {
		grid-column: 1 / -1;
	}

	.wt-legal__title {
		grid-column: 1 / -1;
		grid-row: 2;
		margin-top: 24px;
	}

	.wt-legal__content {
		grid-column: 1 / -1;
		grid-row: 3;
	}

	.wt-notfound__title,
	.wt-notfound__text,
	.wt-notfound__actions {
		grid-column: 1 / -1;
	}
}

/* ============ MOBILE ============ */
@media (max-width: 767px) {
	.wt-page-hero .wt-page-hero__lead,
	.wt-page-hero .wt-page-hero__actions,
	.wt-page-hero--display .wt-page-hero__title,
	.wt-page-hero--system .wt-page-hero__lead,
	.wt-page-hero--system .wt-page-hero__actions {
		grid-column: 1 / -1;
	}

	.wt-page-hero .wt-page-hero__title {
		font-size: clamp(2.3rem, 10.6vw, 3.6rem);
	}

	.wt-page-hero--display .wt-page-hero__title {
		font-size: clamp(1.4rem, 6vw, 1.9rem);
	}

	.wt-ps .wt-ps__body,
	.wt-ps--flip .wt-ps__body,
	.wt-ps .wt-ps__intro,
	.wt-ps-rows__text,
	.wt-ps-rows__item--code .wt-ps-rows__text,
	.wt-ps__closing-text,
	.wt-page-scene--a .wt-page-scene__copy,
	.wt-page-scene--b .wt-page-scene__copy {
		grid-column: 1 / -1;
	}

	.wt-steps {
		grid-template-columns: 1fr;
	}

	.wt-closing-line__label {
		font-size: clamp(1.7rem, 8vw, 2.6rem);
	}

	.wt-legal__title {
		font-size: clamp(1.9rem, 8vw, 3rem);
	}

	.wt-notfound__offset {
		padding-left: 0;
	}
}

/* Desktop: Abschnittsüberschriften mit sehr langen Wörtern (wt_fit_attr) nur so weit begrenzen,
   dass das längste Wort in die Rasterspalte passt („Verantwortungsgrenz|e“). Übrige Überschriften unverändert. */
@media (min-width: 1100px) {
	.wt-ps {
		--wt-col: calc((min(100vw - 2 * var(--wt-gutter), var(--wt-max)) - 11 * var(--wt-gap)) / 12);
	}

	.wt-ps__title.wt-h2[data-wt-fit] {
		font-size: min(var(--wt-h2), calc((8 * var(--wt-col) + 7 * var(--wt-gap)) / var(--wt-fit)));
	}

	.wt-ps--rows .wt-ps__title.wt-h2[data-wt-fit] {
		font-size: min(var(--wt-h2), calc((6 * var(--wt-col) + 5 * var(--wt-gap)) / var(--wt-fit)));
	}

	.wt-ps--facts .wt-ps__title.wt-h2[data-wt-fit] {
		font-size: min(var(--wt-h2), calc((5 * var(--wt-col) + 4 * var(--wt-gap)) / var(--wt-fit)));
	}

	.wt-ps--closing .wt-ps__title.wt-h2[data-wt-fit] {
		font-size: min(var(--wt-h2-compact), calc((9 * var(--wt-col) + 8 * var(--wt-gap)) / var(--wt-fit)));
	}

	/* Schritt-Rail: ein sehr langes Wort in einer schmalen Spalte („Softwareanforderungen“ bei 1100–1140 px)
	   minimal verkleinern statt mitten im Wort umbrechen. Spaltenbreite per Container-Einheit. */
	.wt-steps__item:has(> .wt-steps__text[data-wt-fit]) {
		container-type: inline-size;
	}

	.wt-steps__text[data-wt-fit] {
		font-size: min(var(--wt-small), calc(100cqi / var(--wt-fit)));
	}
}
