/* Shared patterns for the interior marketing/docs pages (funktionen, preise, doku, doku-artikel, faq, kontakt). */

/* ---------- Page hero (kicker + h1 + lead, optionally a pill quick-nav or search box) ---------- */
.tx-page-hero {
	position: relative;
	overflow: hidden;
}
.tx-page-hero__stripes {
	position: absolute;
	top: 0;
	right: 0;
	width: 42%;
	max-width: 660px;
	height: 100%;
	z-index: 0;
	pointer-events: none;
}
.tx-page-hero__stripes-base {
	fill: var(--coral);
}
.tx-page-hero__stripes-line {
	fill: var(--coral-tint);
}
.tx-page-hero > .tx-page-hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	padding-top: var(--space-12);
	padding-bottom: var(--space-8);
}
@media (max-width: 900px) {
	.tx-page-hero__stripes {
		display: none;
	}
}
.tx-page-hero .kicker {
	color: var(--coral-text);
}
.tx-page-hero h1 {
	margin: 0;
	max-width: 20ch;
}
.tx-page-hero__lead {
	margin: 0;
	max-width: 60ch;
	font-size: 19px;
	line-height: 1.6;
	font-weight: 500;
	color: var(--ink-secondary);
}
.tx-pillnav {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-top: var(--space-2);
}
.tx-pillnav a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 var(--space-4);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-full);
	background: var(--surface);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	color: var(--ink);
}
.tx-pillnav a:hover {
	border-color: var(--ink);
}

.tx-search {
	position: relative;
	max-width: 620px;
	margin-top: var(--space-2);
}
.tx-search input {
	width: 100%;
	box-sizing: border-box;
	min-height: 56px;
	padding: 14px 18px 14px 48px;
	font-family: var(--font-sans);
	font-size: 17px;
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-card);
}
.tx-search input:focus-visible {
	outline: none;
	box-shadow: var(--focus-ring);
}
.tx-search__icon {
	position: absolute;
	left: 16px;
	top: 18px;
	color: var(--ink-muted);
	pointer-events: none;
}

/* ---------- Split section: copy column + visual/demo column ---------- */
.tx-split {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: var(--space-12);
	align-items: center;
}
.tx-split--reverse {
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}
.tx-split--reverse .tx-split__copy {
	order: 2;
}
.tx-split--reverse .tx-split__visual {
	order: 1;
}
.tx-split--visual-left {
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}
.tx-split__copy {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}
.tx-split__copy h2 {
	margin: 0;
	font-size: 40px;
}
.tx-split__copy > p {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink-secondary);
}
.tx-split__visual {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.tx-bullet-list {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: grid;
	gap: var(--space-3);
	font-size: 16px;
	line-height: 1.5;
}
.tx-bullet-list li {
	display: flex;
	gap: var(--space-3);
}
.tx-bullet-list li::before {
	content: "";
	width: 8px;
	height: 8px;
	margin-top: 8px;
	background: var(--coral);
	flex-shrink: 0;
	display: block;
}

@media (max-width: 900px) {
	.tx-split,
	.tx-split--reverse,
	.tx-split--visual-left {
		grid-template-columns: 1fr;
	}
	.tx-split--reverse .tx-split__copy,
	.tx-split--reverse .tx-split__visual {
		order: 0;
	}
}

/* ---------- Demo card + mini feed table (reused across funktionen/doku-artikel) ---------- */
.tx-demo-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lift);
	padding: var(--space-6);
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}
.tx-demo-card__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-3);
}
.tx-demo-card__head .kicker {
	color: var(--ink-muted);
}

.tx-mini-table {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	overflow: hidden;
}
.tx-mini-table__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	padding: 14px 18px;
	background: var(--sand);
	border-bottom: 1px solid var(--line);
}
.tx-mini-table__tabs {
	display: flex;
	gap: var(--space-4);
	flex-wrap: wrap;
}
.tx-mini-table__tabs span.is-active {
	color: var(--ink);
	border-bottom: 2px solid var(--coral);
}
.tx-mini-table__tabs span {
	color: var(--ink-muted);
	padding-bottom: 3px;
	border-bottom: 2px solid transparent;
}
.tx-mini-table__row {
	display: grid;
	grid-template-columns: 1.2fr 1.6fr 0.8fr 1fr 0.8fr;
	font-size: 12.5px;
	line-height: 18px;
	border-bottom: 1px solid var(--line);
}
.tx-mini-table__row:last-child {
	border-bottom: 0;
}
.tx-mini-table__row span {
	padding: 9px 12px;
}
.tx-mini-table__row--head span {
	color: var(--ink-muted);
}
.tx-mini-table__deal {
	color: var(--coral-text);
	font-weight: 500;
}
.tx-mini-table__none {
	color: var(--ink-muted);
}
@media (max-width: 560px) {
	.tx-mini-table__row {
		grid-template-columns: 1fr 1.4fr 0.8fr 0.8fr;
	}
	.tx-mini-table__row span:nth-child(5) {
		display: none;
	}
}

/* ---------- Try-it toggle (pill segmented control used for small live demos) ---------- */
.tx-try-toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-4);
	flex-wrap: wrap;
}
.tx-try-toggle__group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 4px;
	background: var(--sand);
	border-radius: var(--radius-full);
}
.tx-try-toggle__group button {
	min-height: 44px;
	border: 0;
	border-radius: var(--radius-full);
	background: transparent;
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.tx-try-toggle__group button[aria-pressed="true"] {
	background: var(--ink);
	color: #fff;
}
.tx-stepper {
	display: flex;
	align-items: center;
	gap: var(--space-3);
}
.tx-stepper button {
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--surface);
	font-family: var(--font-sans);
	font-size: 20px;
	font-weight: 700;
	color: var(--ink);
	cursor: pointer;
}
.tx-stepper__value {
	width: 48px;
	text-align: center;
	font-size: 22px;
	font-weight: 500;
}

/* ---------- Dark strip (used by funktionen "Betrieb", front-page backchannel already has its own) ---------- */
.tx-dark-strip {
	background: var(--ink);
	color: #fff;
}
.tx-dark-strip .kicker {
	color: var(--coral-on-dark);
}
.tx-dark-strip__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-4);
	margin: var(--space-8) 0;
}
.tx-dark-strip__card {
	border: 1px solid var(--ink-secondary);
	border-radius: var(--radius-md);
	padding: var(--space-5);
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}
.tx-dark-strip__card span {
	font-size: 15px;
	color: var(--on-dark-muted);
}
.tx-dark-strip__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--ink-secondary);
}
.tx-dark-strip__stats > div {
	padding: var(--space-4) 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.tx-dark-strip__stats .kicker {
	color: var(--on-dark-muted);
}
@media (max-width: 900px) {
	.tx-dark-strip__cards,
	.tx-dark-strip__stats {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 560px) {
	.tx-dark-strip__cards,
	.tx-dark-strip__stats {
		grid-template-columns: 1fr;
	}
}

/* ---------- Small card grid (portal modules, feature tiles) ---------- */
.tx-tile-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: var(--space-4);
}
.tx-tile {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: var(--space-5);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}
.tx-tile strong {
	font-size: 18px;
}
.tx-tile span:not(.tx-badge):not(.tx-dot) {
	font-size: 15px;
	color: var(--ink-secondary);
	line-height: 1.5;
}
.tx-tile--dashed {
	border-style: dashed;
	border-color: var(--line-strong);
	background: var(--paper);
}
.tx-tile--hi {
	border: 2px solid var(--coral);
	box-shadow: var(--shadow-lift);
	text-decoration: none;
	color: var(--ink);
}
.tx-tile--hi span:last-child {
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--coral);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

/* ---------- Mail preview (Bewertungs-Mail demo) ---------- */
.tx-mail-preview {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lift);
	overflow: hidden;
}
.tx-mail-preview__head {
	padding: var(--space-4) var(--space-5);
	background: var(--sand);
	border-bottom: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
	color: var(--ink-secondary);
}
.tx-mail-preview__head .kicker {
	color: var(--ink-muted);
	margin-top: 4px;
}
.tx-mail-preview__body {
	padding: var(--space-6);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	font-size: 15px;
	line-height: 1.6;
}
.tx-mail-preview__cta {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 20px;
	border-radius: var(--radius-sm);
	background: var(--ink);
	color: #fff;
	font-weight: 700;
}
.tx-mail-preview__foot {
	font-size: 13px;
	color: var(--ink-muted);
}

/* ---------- Small CTA banner (split: text left, buttons right) ---------- */
.tx-cta-split {
	position: relative;
	overflow: hidden;
	background: var(--coral);
	padding: var(--space-24) var(--space-6);
}
.tx-cta-split__stripes {
	position: absolute;
	top: 0;
	right: 0;
	width: 34%;
	max-width: 480px;
	height: 100%;
	fill: var(--coral-tint);
	pointer-events: none;
}
.tx-cta-split__inner {
	position: relative;
	z-index: 1;
	max-width: var(--container);
	margin: 0 auto;
	padding-right: 520px;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-6);
}
@media (max-width: 900px) {
	.tx-cta-split__stripes {
		display: none;
	}
	.tx-cta-split__inner {
		padding-right: 0;
	}
}
.tx-cta-split h2 {
	margin: 0;
	font-size: 36px;
}
.tx-cta-split p {
	margin: var(--space-2) 0 0;
	font-size: 17px;
	font-weight: 500;
}
.tx-cta-split__ctas {
	display: flex;
	gap: var(--space-3);
	flex-wrap: wrap;
}

/* ---------- Docs: overview page (search + topic grid) ---------- */
.tx-doc-quickstart {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: var(--space-8);
	align-items: start;
}
.tx-doc-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}
.tx-doc-steps li {
	display: flex;
	gap: var(--space-5);
	align-items: flex-start;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: var(--space-5) var(--space-6);
}
.tx-doc-steps__num {
	font-family: var(--font-mono);
	font-size: 26px;
	font-weight: 500;
	color: var(--coral-text);
	flex-shrink: 0;
	width: 40px;
}
.tx-doc-steps__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex-grow: 1;
}
.tx-doc-steps__body span {
	font-size: 15px;
	color: var(--ink-secondary);
}
.tx-doc-steps a.tx-doc-steps__link {
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 700;
	margin-top: 4px;
}

.tx-topic-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-6);
}
.tx-topic-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	padding: var(--space-6);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}
.tx-topic-card__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.tx-topic-card__head span:last-child {
	color: var(--ink-muted);
}
.tx-topic-card h3 {
	margin: 0;
	font-size: 22px;
}
.tx-topic-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink-secondary);
}
.tx-topic-card__list {
	list-style: none;
	margin: var(--space-2) 0 0;
	padding-top: var(--space-2);
	border-top: 1px solid var(--line);
	display: flex;
	flex-direction: column;
}
.tx-topic-card__list li {
	border-bottom: 1px solid var(--line);
}
.tx-topic-card__list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-3);
	min-height: 44px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	color: var(--ink);
}
.tx-topic-card__list a::after {
	content: "→";
	color: var(--coral-text);
}

@media (max-width: 900px) {
	.tx-doc-quickstart {
		grid-template-columns: 1fr;
	}
	.tx-topic-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Docs: article page (sidebar + article + TOC) ---------- */
.tx-doc-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr) 200px;
	gap: var(--space-8);
	align-items: start;
}
.tx-doc-breadcrumb {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-muted);
	margin-bottom: var(--space-6);
}
.tx-doc-breadcrumb a {
	color: var(--ink-muted);
	text-decoration: none;
}
.tx-doc-breadcrumb span[aria-current] {
	color: var(--ink);
}
.tx-doc-nav {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
	border-right: 1px solid var(--line);
	padding-right: var(--space-6);
}
.tx-doc-nav__group {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.tx-doc-nav__group .kicker {
	color: var(--ink-muted);
	margin-bottom: 6px;
}
.tx-doc-nav a {
	display: block;
	padding: 8px 12px;
	border-left: 3px solid transparent;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: var(--ink-secondary);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}
.tx-doc-nav a.is-current {
	border-left-color: var(--coral);
	background: var(--coral-wash);
	color: var(--ink);
	font-weight: 700;
}

.tx-doc-article {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
}
.tx-doc-article__head {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding-bottom: var(--space-6);
	border-bottom: 1px solid var(--line);
}
.tx-doc-article__head h1 {
	margin: 0;
}
.tx-doc-article__head p {
	margin: 0;
	font-size: 19px;
	line-height: 1.6;
	font-weight: 500;
	color: var(--ink-secondary);
}
.tx-doc-article h2 {
	margin: var(--space-5) 0 0;
	font-size: 28px;
}
.tx-doc-article p {
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
}
.tx-doc-article__steps {
	list-style: none;
	margin: 4px 0 0 15px;
	padding: 0;
	border-left: 2px solid var(--line);
	display: flex;
	flex-direction: column;
}
.tx-doc-article__steps li {
	position: relative;
	padding: 0 0 22px 30px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.tx-doc-article__steps li::before {
	content: attr(data-num);
	position: absolute;
	left: -16px;
	top: -1px;
	width: 30px;
	height: 30px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-sm);
	background: var(--ink);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 500;
}
.tx-doc-article__steps strong {
	font-size: 17px;
}
.tx-doc-article__steps span {
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink-secondary);
}
.tx-doc-note,
.tx-doc-warning {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: var(--space-5) var(--space-6);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.tx-doc-note {
	background: var(--coral-wash);
	border-left: 4px solid var(--coral);
}
.tx-doc-note .kicker {
	color: var(--coral-text);
}
.tx-doc-warning {
	background: var(--warning-tint);
	border-left: 4px solid var(--warning);
}
.tx-doc-warning .kicker {
	color: var(--warning);
}
.tx-doc-code {
	background: #15171b;
	border-radius: var(--radius-md);
	overflow: hidden;
}
.tx-doc-code__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 48px;
	padding: 0 var(--space-2) 0 var(--space-5);
	border-bottom: 1px solid var(--ink-secondary);
}
.tx-doc-code__head .kicker {
	color: var(--on-dark-muted);
}
.tx-doc-code pre {
	margin: 0;
	padding: 18px 20px 20px;
	font-family: var(--font-mono);
	font-size: 14px;
	line-height: 1.7;
	color: #f3efea;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
.tx-doc-code .tok {
	color: var(--coral-on-dark);
}
.tx-doc-table {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	overflow: hidden;
	font-size: 15px;
}
.tx-doc-table__row {
	display: grid;
	grid-template-columns: 200px 1fr;
	border-top: 1px solid var(--line);
}
.tx-doc-table__row:first-child {
	border-top: 0;
	background: var(--sand);
}
.tx-doc-table__row span {
	padding: 12px 18px;
}
.tx-doc-table__row:first-child span {
	color: var(--ink-secondary);
}
.tx-doc-toc {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.tx-doc-toc a {
	display: block;
	padding: 6px 0 6px 14px;
	border-left: 2px solid var(--line);
	font-size: 14px;
	color: var(--ink-secondary);
	font-weight: 600;
	text-decoration: none;
}
.tx-doc-toc a.is-current {
	border-left-color: var(--coral);
	color: var(--ink);
	font-weight: 700;
}
.tx-doc-help {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: var(--space-5);
	border-top: 1px solid var(--line);
	font-size: 14px;
}
.tx-doc-help span {
	color: var(--ink-secondary);
}
.tx-doc-feedback {
	margin-top: var(--space-5);
	padding: var(--space-5) var(--space-6);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-6);
	flex-wrap: wrap;
}
.tx-doc-feedback strong {
	font-size: 17px;
}
.tx-doc-feedback__buttons {
	display: flex;
	gap: var(--space-2);
}
.tx-doc-feedback__buttons button {
	min-height: 40px;
	padding: 0 var(--space-4);
	border: 1px solid var(--ink);
	border-radius: var(--radius-sm);
	background: var(--surface);
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.tx-doc-pager {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-4);
	margin-top: var(--space-2);
}
.tx-doc-pager a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: var(--space-4) var(--space-5);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	text-decoration: none;
	color: var(--ink);
}
.tx-doc-pager a:last-child {
	text-align: right;
	align-items: flex-end;
}
.tx-doc-pager .kicker {
	color: var(--ink-muted);
}

@media (max-width: 1000px) {
	.tx-doc-layout {
		grid-template-columns: 1fr;
	}
	.tx-doc-nav {
		border-right: 0;
		border-bottom: 1px solid var(--line);
		padding-right: 0;
		padding-bottom: var(--space-4);
		flex-direction: row;
		flex-wrap: wrap;
	}
}

/* ---------- FAQ page ---------- */
.tx-faq-layout {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
	gap: var(--space-8);
	align-items: start;
}
.tx-faq-topics {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.tx-faq-topics .kicker {
	color: var(--ink-muted);
	margin-bottom: 8px;
}
.tx-faq-topics button {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 44px;
	padding: 0 var(--space-4);
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 15px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}
.tx-faq-topics button span {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--ink-muted);
}
.tx-faq-topics button.is-active {
	background: var(--ink);
	color: #fff;
	font-weight: 700;
}
.tx-faq-topics button.is-active span {
	color: var(--coral-on-dark);
}
.tx-faq-help {
	margin-top: var(--space-6);
	background: var(--coral-wash);
	border-radius: var(--radius-md);
	padding: var(--space-6);
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}
.tx-faq-help .kicker {
	color: var(--coral-text);
}
.tx-faq-group {
	margin-bottom: var(--space-12);
}
.tx-faq-group__head {
	display: flex;
	align-items: baseline;
	gap: var(--space-3);
	padding-bottom: var(--space-4);
	border-bottom: 2px solid var(--ink);
	margin-bottom: 4px;
}
.tx-faq-group .tx-faq {
	border-top: 0;
}
.tx-faq-group__head h2 {
	margin: 0;
	font-size: 30px;
}

@media (max-width: 900px) {
	.tx-faq-layout {
		grid-template-columns: 1fr;
	}
}

/* ---------- Kontakt page ---------- */
.tx-contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: var(--space-8);
	align-items: start;
}
.tx-contact-form {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lift);
	padding: var(--space-8);
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
}
.tx-contact-form legend {
	padding: 0;
	margin-bottom: var(--space-3);
	font-size: 14px;
	font-weight: 700;
}
.tx-contact-form fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}
.tx-topic-pills {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}
.tx-topic-pills .wpcf7-list-item {
	margin: 0;
}
.tx-topic-pills label {
	position: relative;
	display: inline-flex;
	cursor: pointer;
}
.tx-topic-pills input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
.tx-topic-pills .wpcf7-list-item-label {
	display: inline-flex;
	align-items: center;
	border-radius: var(--radius-full);
	min-height: 44px;
	padding: 0 var(--space-4);
	font-family: var(--font-sans);
	font-size: 15px;
	font-weight: 700;
	border: 1px solid var(--line-strong);
	background: var(--surface);
	color: var(--ink);
}
.tx-topic-pills input:checked + .wpcf7-list-item-label {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}
.tx-topic-pills input:focus-visible + .wpcf7-list-item-label {
	outline: 2px solid var(--coral);
	outline-offset: 2px;
}
.tx-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-5);
}
.tx-form-field {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}
.tx-form-field label {
	font-size: 14px;
	font-weight: 700;
}
.tx-form-field input,
.tx-form-field select,
.tx-form-field textarea {
	min-height: 48px;
	box-sizing: border-box;
	padding: 12px 14px;
	font-family: var(--font-sans);
	font-size: 16px;
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
}
.tx-form-field textarea {
	resize: vertical;
}
.tx-form-consent {
	display: flex;
	gap: var(--space-3);
	align-items: flex-start;
	font-size: 14px;
	line-height: 1.55;
	color: var(--ink-secondary);
}
.tx-form-consent input {
	width: 20px;
	height: 20px;
	margin-top: 1px;
	accent-color: var(--coral);
	flex-shrink: 0;
}
.tx-contact-form__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	padding-top: var(--space-6);
	border-top: 1px solid var(--line);
}
.tx-contact-form__foot span {
	font-size: 14px;
	color: var(--ink-muted);
}

/* Contact Form 7 inside the contact card (the form's own markup is in dev/seed-contact-form.php) */
.tx-contact-form .wpcf7 {
	display: contents;
}
.tx-contact-form .wpcf7[hidden] {
	display: none;
}
.tx-contact-form form.wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
	margin: 0;
}
.tx-contact-form .wpcf7-form-control-wrap {
	display: block;
}
.tx-contact-form .wpcf7-form-control-wrap input,
.tx-contact-form .wpcf7-form-control-wrap select,
.tx-contact-form .wpcf7-form-control-wrap textarea {
	width: 100%;
	min-width: 0;
}
.tx-form-grid > .tx-form-field {
	min-width: 0;
}
.tx-contact-form .tx-form-optional {
	font-weight: 500;
	color: var(--ink-muted);
}
.tx-contact-form .wpcf7-not-valid {
	border-color: var(--coral);
}
.tx-contact-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: var(--space-1);
	font-size: 14px;
	color: var(--coral-text);
}
.tx-contact-form .wpcf7-response-output {
	margin: 0;
	padding: var(--space-3) var(--space-4);
	border: 1px solid var(--coral);
	border-radius: var(--radius-sm);
	font-size: 15px;
	color: var(--ink);
	background: var(--coral-wash);
}
.tx-contact-form form.init .wpcf7-response-output,
.tx-contact-form form.resetting .wpcf7-response-output {
	display: none;
}
.tx-contact-form .wpcf7-spinner {
	display: none;
}
.tx-contact-form .tx-form-consent .wpcf7-list-item {
	margin: 0;
}
.tx-contact-form .tx-form-consent label {
	display: flex;
	gap: var(--space-3);
	align-items: flex-start;
}
.tx-contact-form .tx-form-consent input {
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--coral);
	flex-shrink: 0;
}
.tx-contact-form .tx-contact-form__foot .wpcf7-submit {
	cursor: pointer;
}
.tx-contact-form .tx-contact-form__foot p {
	margin: 0;
}
.tx-contact-success {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	padding: var(--space-6) 0;
}
.tx-contact-success h2 {
	margin: 0;
	font-size: 34px;
}
.tx-contact-success p {
	margin: 0;
	max-width: 46ch;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink-secondary);
}
.tx-contact-success__ctas {
	display: flex;
	gap: var(--space-3);
	margin-top: var(--space-2);
}
.tx-contact-aside {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}
.tx-contact-aside__card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: var(--space-5);
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}
.tx-contact-aside__card--wash {
	background: var(--coral-wash);
}
.tx-contact-aside__card .kicker {
	color: var(--ink-muted);
}
.tx-contact-aside__card--wash .kicker {
	color: var(--coral-text);
}
.tx-contact-aside__agency {
	display: flex;
	gap: var(--space-4);
	align-items: flex-start;
	padding-top: var(--space-2);
}
.tx-contact-aside__agency img {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
}
.tx-contact-aside__agency span {
	font-size: 14px;
	line-height: 1.55;
	color: var(--ink-secondary);
}

@media (max-width: 900px) {
	.tx-contact-layout,
	.tx-form-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Preise: ticker bar + calculator ---------- */
.tx-ticker {
	background: var(--ink);
	color: var(--on-dark-muted);
	padding: 12px var(--space-6);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-8);
	font-size: 13px;
}
.tx-ticker span {
	display: flex;
	gap: 10px;
	align-items: center;
}
.tx-ticker .tx-dot {
	width: 8px;
	height: 8px;
	background: var(--coral);
	border-radius: 0;
}

.tx-calc-layout {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: var(--space-8);
	align-items: start;
}
.tx-calc-steps {
	display: flex;
	flex-direction: column;
	gap: var(--space-8);
}
.tx-calc-step__head {
	display: flex;
	align-items: baseline;
	gap: var(--space-3);
	margin-bottom: var(--space-2);
}
.tx-calc-step__head .kicker {
	color: var(--coral-text);
}
.tx-calc-step__head span:last-child {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.015em;
}
.tx-calc-step > p {
	margin: 0 0 var(--space-4);
	font-size: 15px;
	color: var(--ink-secondary);
}

.tx-portal-picker {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-3);
}
.tx-portal-picker button {
	position: relative;
	min-height: 100px;
	box-sizing: border-box;
	padding: var(--space-4);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--space-3);
	text-align: left;
	background: var(--sand);
	border: 2px solid var(--line);
	border-radius: var(--radius-md);
	cursor: pointer;
	font-family: var(--font-sans);
	color: var(--ink);
}
.tx-portal-picker button.is-on {
	background: var(--surface);
	border-color: var(--ink);
	box-shadow: var(--shadow-lift);
}
.tx-portal-picker button strong {
	font-size: 18px;
	display: block;
}
.tx-portal-picker__price {
	font-size: 13px;
}
.tx-portal-picker__check {
	position: absolute;
	top: var(--space-4);
	right: var(--space-4);
	width: 22px;
	height: 22px;
	box-sizing: border-box;
	flex-shrink: 0;
	border: 2px solid var(--line-strong);
	background-color: var(--surface);
}
.tx-portal-picker button.is-on .tx-portal-picker__check {
	border-color: var(--coral);
	background-color: var(--coral);
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231f2126' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.tx-portal-picker--bundle {
	/* Six portals fill the grid exactly (3 x 2, or 2 x 3 on a tablet); the bundle is its own row under them. */
	grid-column: 1 / -1;
	background: var(--coral-wash) !important;
	border-color: var(--line) !important;
}
.tx-portal-picker--bundle.is-on {
	border-color: var(--coral) !important;
}
.tx-calc-hint {
	margin: var(--space-3) 0 0;
	font-size: 14px;
	color: var(--ink-muted);
}

.tx-license-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	padding: var(--space-6) var(--space-7) var(--space-5);
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}
.tx-license-card__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: var(--space-4);
}
.tx-license-card__head strong {
	font-size: 30px;
	letter-spacing: -0.02em;
}
.tx-license-card input[type="range"] {
	width: 100%;
	margin: 0;
	accent-color: var(--coral);
}
.tx-license-ticks {
	/* One tick per slider stop, spread over the full track. The side padding is half the thumb width, so
	   the first and last label sit under the thumb centre at both ends. Each label is a zero-width box
	   centred on its stop, whatever the number of steps. */
	display: flex;
	justify-content: space-between;
	padding: 0 8px;
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--ink-muted);
}
.tx-license-ticks > span {
	display: flex;
	justify-content: center;
	width: 0;
	white-space: nowrap;
}
.tx-license-tiers {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-5);
	padding-top: var(--space-3);
	border-top: 1px solid var(--line);
	font-size: 13px;
	color: var(--ink-secondary);
}

.tx-billing-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-3);
}
.tx-billing-cards button {
	min-height: 130px;
	box-sizing: border-box;
	padding: var(--space-5);
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	text-align: left;
	background: var(--sand);
	border: 2px solid var(--line);
	border-radius: var(--radius-md);
	cursor: pointer;
	font-family: var(--font-sans);
	color: var(--ink);
}
.tx-billing-cards button[aria-pressed="true"] {
	background: var(--surface);
	border-color: var(--ink);
	box-shadow: var(--shadow-lift);
}
.tx-billing-cards strong {
	font-size: 20px;
}
.tx-billing-cards span {
	font-size: 14px;
	color: var(--ink-secondary);
}

.tx-summary {
	position: sticky;
	top: 100px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-md);
	box-shadow: 8px 8px 0 var(--coral);
	padding: var(--space-6);
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
}
.tx-summary__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: var(--space-3);
}
.tx-summary__head .kicker {
	color: var(--coral-on-dark);
}
.tx-summary__price {
	display: flex;
	align-items: baseline;
	gap: var(--space-2);
}
.tx-summary__price [data-total] {
	font-size: 46px;
	font-weight: 800;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}
.tx-summary__price [data-unit] {
	font-size: 16px;
	color: var(--on-dark-muted);
}
.tx-summary [data-per-license] {
	font-size: 13px;
	color: var(--on-dark-muted);
}
.tx-summary [data-discount] {
	display: inline-block;
	margin-top: 6px;
	color: var(--coral-on-dark);
	font-size: 13px;
	font-weight: 700;
}
.tx-summary__cta {
	width: 100%;
	background: var(--coral);
	color: var(--ink);
}
.tx-summary__note {
	font-size: 13px;
	color: var(--on-dark-muted);
}

@media (max-width: 900px) {
	.tx-calc-layout {
		grid-template-columns: 1fr;
	}
	.tx-portal-picker {
		grid-template-columns: 1fr 1fr;
	}
	.tx-billing-cards {
		grid-template-columns: 1fr;
	}
	.tx-summary {
		position: static;
	}
}
@media (max-width: 560px) {
	.tx-portal-picker {
		grid-template-columns: 1fr;
	}
}

/* ---------- Roadmap (templates/page-roadmap.html, generated by dev/build-roadmap.py) ---------- */
.tx-rm-stats {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: var(--space-4) 0;
	margin-top: var(--space-5);
}
.tx-rm-stats > div {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	padding: 0 var(--space-8);
	border-left: 1px solid var(--line);
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	color: var(--ink-secondary);
}
.tx-rm-stats > div:first-child {
	padding-left: 0;
	border-left: 0;
}
.tx-rm-stats__num {
	font-size: 44px;
	line-height: 48px;
	font-weight: 800;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
}
.tx-rm-stats__num--done {
	color: var(--success);
}
.tx-rm-stats__num--now {
	color: var(--coral-text);
}
.tx-rm-stats__stand {
	margin-left: var(--space-8);
	padding-bottom: var(--space-1);
	color: var(--ink-muted);
}
.tx-page-hero .tx-rm-stats__stand {
	color: var(--ink-muted);
}

.tx-rm-track {
	position: relative;
	height: 12px;
	margin: 0 0 var(--space-7);
	background: var(--line);
}
.tx-rm-track__fill {
	position: absolute;
	inset: 0 auto 0 0;
	background: var(--coral);
	clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}
.tx-rm-track__mark {
	position: absolute;
	top: -6px;
	width: 24px;
	height: 24px;
	margin-left: -12px;
	box-sizing: border-box;
	border-radius: var(--radius-full);
	border: 4px solid var(--sand);
	background: var(--line-strong);
}
.tx-rm-track__mark--done {
	background: var(--success);
}
.tx-rm-track__mark--current {
	background: var(--coral);
}
.tx-rm-phases {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-6);
}
.tx-rm-phase {
	box-sizing: border-box;
	min-height: 300px;
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
}
.tx-rm-phase--current {
	border: 2px solid var(--coral);
	box-shadow: var(--shadow-lift);
}
.tx-rm-phase__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-2);
}
.tx-rm-phase__top .kicker {
	color: var(--ink-muted);
}
.tx-rm-phase__title {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: var(--space-1);
}
.tx-rm-phase__title h3 {
	margin: 0;
}
.tx-rm-phase__when {
	color: var(--coral-text);
}
.tx-rm-phase p {
	margin: 0;
	font-size: 15px;
	line-height: 24px;
	color: var(--ink-secondary);
}
.tx-rm-phase__foot {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: var(--space-4);
	border-top: 1px solid var(--line);
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
}
.tx-rm-bar {
	height: 6px;
	background: var(--sand);
}
.tx-rm-bar > div {
	height: 6px;
	background: var(--coral);
}
.tx-rm-phase--done .tx-rm-bar > div {
	background: var(--success);
}
.tx-rm-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 26px;
	padding: 0 10px;
	border-radius: var(--radius-full);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--sand);
	color: var(--ink);
}
.tx-rm-pill > span {
	width: 7px;
	height: 7px;
	border-radius: var(--radius-full);
	background: currentColor;
}
.tx-rm-pill--done {
	background: var(--success-tint);
	color: var(--success);
}
.tx-rm-pill--current {
	background: var(--coral-tint);
	color: var(--coral-text);
}
.tx-rm-pill--later {
	color: var(--ink-muted);
}

.tx-rm-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: var(--space-12);
	margin-bottom: var(--space-8);
}
.tx-rm-head .tx-section__head {
	margin-bottom: 0;
}
.tx-rm-head > p {
	margin: 0;
	max-width: 460px;
	text-align: right;
	color: var(--ink-secondary);
}
.tx-rm-filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-bottom: var(--space-8);
}
.tx-rm-filter {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	min-height: 40px;
	padding: 0 var(--space-4);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-full);
	background: var(--surface);
	color: var(--ink);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.tx-rm-filter .kicker {
	color: var(--ink-muted);
}
.tx-rm-filter[aria-pressed="true"] {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}
.tx-rm-filter[aria-pressed="true"] .kicker {
	color: var(--coral-on-dark);
}
.tx-rm-filter:focus-visible,
.tx-rm-more:focus-visible,
.tx-rm-card > summary:focus-visible {
	outline: none;
	box-shadow: var(--focus-ring);
}
.tx-rm-cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-6);
	align-items: start;
}
.tx-rm-col {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: var(--space-5);
	background: var(--sand);
	border-radius: var(--radius-md);
}
.tx-rm-col--now {
	background: var(--coral-wash);
}
.tx-rm-col__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--space-1) var(--space-1) 0;
}
.tx-rm-col__head > div {
	display: flex;
	align-items: center;
	gap: 10px;
}
.tx-rm-col__head strong {
	font-size: 18px;
	line-height: 24px;
	font-weight: 800;
}
.tx-rm-col__head .kicker {
	color: var(--ink-muted);
}
.tx-rm-col__sub {
	padding: 0 var(--space-1) var(--space-1);
	font-size: 14px;
	line-height: 20px;
	color: var(--ink-secondary);
}
.tx-rm-col__dot {
	display: block;
	flex: none;
	width: 12px;
	height: 12px;
	background: var(--ink);
	clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}
.tx-rm-col--now .tx-rm-col__dot,
.tx-rm-col__dot--now {
	background: var(--coral);
}
.tx-rm-col--later .tx-rm-col__dot,
.tx-rm-col__dot--later {
	background: var(--line-strong);
}
.tx-rm-col--planned .tx-rm-col__dot,
.tx-rm-col__dot--planned {
	background: var(--ink-secondary);
}
.tx-rm-col__dot--done {
	background: var(--success);
}
.tx-rm-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	overflow: hidden;
}
.tx-rm-card[open] {
	border-color: var(--coral);
}
.tx-rm-card > summary {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: var(--space-5);
	list-style: none;
	cursor: pointer;
	font-size: 15px;
	line-height: 23px;
	color: var(--ink-secondary);
}
.tx-rm-card > summary::-webkit-details-marker {
	display: none;
}
.tx-rm-card > summary strong {
	font-size: 17px;
	line-height: 24px;
	font-weight: 800;
	color: var(--ink);
}
.tx-rm-card__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-3);
}
.tx-rm-card__top .kicker,
.tx-rm-card__sym {
	color: var(--coral-text);
}
.tx-rm-card__sym::before {
	content: "+";
	font-size: 20px;
	line-height: 20px;
}
.tx-rm-card[open] .tx-rm-card__sym::before {
	content: "−";
}
.tx-rm-card__detail {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	margin: 0 var(--space-5) var(--space-5);
	padding: 14px var(--space-4);
	background: var(--coral-wash);
	border-radius: var(--radius-sm);
	font-size: 14px;
	line-height: 22px;
}
.tx-rm-card__detail .kicker {
	color: var(--coral-text);
}
.tx-rm-empty {
	padding: 28px var(--space-5);
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-md);
	font-size: 14px;
	line-height: 21px;
	color: var(--ink-muted);
	text-align: center;
}
.tx-rm-empty[hidden],
.tx-rm-card[hidden],
.tx-rm-done__item[hidden],
.tx-rm-month[hidden],
.tx-rm-more[hidden],
.tx-rm-done__none[hidden] {
	display: none;
}

.tx-rm-done {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--space-6);
	align-items: start;
}
.tx-rm-done__intro {
	grid-column: span 4;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.tx-rm-done__intro .kicker {
	color: var(--coral-on-dark);
}
.tx-rm-done__intro h2,
.tx-rm-done__intro p {
	margin: 0;
}
.tx-rm-done__intro p {
	color: var(--on-dark-muted);
}
.tx-rm-done__list {
	grid-column: 6 / span 7;
	display: flex;
	flex-direction: column;
}
.tx-rm-month {
	display: flex;
	flex-direction: column;
	padding-bottom: var(--space-7);
}
.tx-rm-month > .kicker {
	padding-bottom: var(--space-3);
	border-bottom: 1px solid var(--ink-secondary);
	color: var(--coral-on-dark);
}
.tx-rm-done__item {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	gap: var(--space-3);
	align-items: start;
	padding: var(--space-4) 0;
	border-bottom: 1px solid #2f3238;
}
.tx-rm-done__item > svg {
	margin-top: 2px;
	color: var(--coral-on-dark);
}
.tx-rm-done__item > span {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	font-size: 15px;
	line-height: 23px;
	color: var(--on-dark-muted);
}
.tx-rm-done__item strong {
	font-size: 17px;
	line-height: 24px;
	font-weight: 700;
	color: #fff;
}
.tx-rm-done__item > .kicker {
	padding-top: var(--space-1);
	color: var(--line-strong);
}
.tx-rm-done__none {
	font-size: 15px;
	color: var(--on-dark-muted);
}
.tx-rm-more {
	align-self: flex-start;
	min-height: 44px;
	padding: 0 var(--space-5);
	border: 1px solid var(--on-dark-muted);
	border-radius: var(--radius-sm);
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.tx-rm-feedback {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: var(--space-6);
	align-items: stretch;
}
.tx-rm-feedback__card {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	padding: 40px;
	background: var(--coral-wash);
	border-radius: var(--radius-md);
}
.tx-rm-feedback__card .kicker,
.tx-rm-legend > .kicker {
	color: var(--coral-text);
}
.tx-rm-feedback__card h2,
.tx-rm-feedback__card p {
	margin: 0;
}
.tx-rm-feedback__card p {
	max-width: 480px;
	color: var(--ink-secondary);
}
.tx-rm-feedback__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-top: auto;
	padding-top: var(--space-2);
}
.tx-rm-legend {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding: var(--space-8);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
}
.tx-rm-legend ul {
	list-style: none;
	margin: var(--space-2) 0 0;
	padding: 0;
	border-top: 1px solid var(--line);
}
.tx-rm-legend li {
	display: grid;
	grid-template-columns: 14px 120px minmax(0, 1fr);
	gap: var(--space-3);
	align-items: baseline;
	padding: var(--space-3) 0;
	border-bottom: 1px solid var(--line);
	font-size: 15px;
	line-height: 22px;
	color: var(--ink-secondary);
}
.tx-rm-legend li strong {
	color: var(--ink);
}
.tx-rm-legend p {
	margin: var(--space-3) 0 0;
	font-size: 13px;
	line-height: 20px;
	color: var(--ink-muted);
}

@media (max-width: 1240px) {
	.tx-rm-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1000px) {
	.tx-rm-phases {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.tx-rm-cols,
	.tx-rm-feedback {
		grid-template-columns: 1fr;
	}
	.tx-rm-done__intro,
	.tx-rm-done__list {
		grid-column: 1 / -1;
	}
	.tx-rm-done__intro {
		margin-bottom: var(--space-8);
	}
}
@media (max-width: 640px) {
	.tx-rm-phases {
		grid-template-columns: 1fr;
	}
	.tx-rm-phase {
		min-height: 0;
	}
	.tx-rm-head {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-4);
	}
	.tx-rm-head > p {
		text-align: left;
	}
	.tx-rm-stats > div {
		padding: 0 var(--space-5);
	}
	.tx-rm-stats__stand {
		margin-left: 0;
		width: 100%;
	}
	.tx-rm-done__item {
		grid-template-columns: 28px minmax(0, 1fr);
	}
	.tx-rm-done__item > .kicker {
		grid-column: 2;
		padding-top: 0;
	}
	.tx-rm-feedback__card {
		padding: var(--space-6);
	}
	.tx-rm-legend li {
		grid-template-columns: 14px 96px minmax(0, 1fr);
	}
}

/* ---------- Changelog page ---------- */
.tx-cl-version {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	padding: var(--space-8);
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	margin-bottom: var(--space-6);
}
.tx-cl-version__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: var(--space-4);
	flex-wrap: wrap;
}
.tx-cl-version__head h2 {
	margin: 4px 0 0;
	font-size: 44px;
}
.tx-cl-version__summary {
	margin: 0;
	max-width: 720px;
	font-size: 18px;
	line-height: 1.6;
	color: var(--ink-secondary);
}
.tx-cl-groups {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--line);
}
.tx-cl-group {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: var(--space-6);
	padding: var(--space-5) 0;
	border-bottom: 1px solid var(--line);
}
.tx-cl-group:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}
.tx-cl-group h3 {
	margin: 0;
	font-size: 20px;
}
.tx-cl-story {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: var(--space-12);
	align-items: start;
}
.tx-cl-story__copy {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}
.tx-cl-story__copy h2 {
	margin: 0;
}
.tx-cl-story__copy p {
	margin: 0;
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink-secondary);
}
.tx-cl-stats {
	margin: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-3);
}
.tx-cl-stats div {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: var(--space-5);
}
.tx-cl-stats dt {
	font-size: 34px;
	font-weight: 800;
	color: var(--coral-text);
	letter-spacing: -0.01em;
}
.tx-cl-stats dd {
	margin: 4px 0 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--ink-secondary);
}
.tx-cl-points-title {
	margin: 56px 0 var(--space-4);
}
.tx-cl-points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: var(--space-4);
}
.tx-cl-points li {
	grid-column: span 2;
}
.tx-cl-points li:nth-child(n+4) {
	grid-column: span 3;
}
.tx-cl-points li {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: var(--space-5);
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}
.tx-cl-points strong {
	font-size: 17px;
}
.tx-cl-points span {
	font-size: 15px;
	line-height: 1.6;
	color: var(--ink-secondary);
}
.tx-cl-closing {
	margin: var(--space-6) 0 0;
	font-size: 19px;
	font-weight: 600;
	max-width: 760px;
}
@media (max-width: 1000px) {
	.tx-cl-group,
	.tx-cl-story,
	.tx-cl-points {
		grid-template-columns: 1fr;
	}
	.tx-cl-group {
		gap: var(--space-3);
	}
	.tx-cl-points li,
	.tx-cl-points li:nth-child(n+4) {
		grid-column: auto;
	}
	.tx-cl-version {
		padding: var(--space-6);
	}
}

/* ---------- Portal pages (/idealo-feed/ and siblings, /woocommerce-plugin/; templates built by dev/build-portale.py) ---------- */
.tx-portal-hero h1 {
	text-wrap: balance;
}
.tx-portal-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-top: var(--space-5);
}
.tx-portal-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: var(--space-8);
	align-items: start;
}
.tx-portal-intro > * {
	min-width: 0;
}
.tx-portal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}
.tx-portal-list li {
	display: flex;
	gap: var(--space-3);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
}
.tx-portal-list li::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	margin-top: 9px;
	border-radius: 2px;
	background: var(--coral);
}
.tx-feed-excerpt {
	overflow-x: auto;
}
.tx-feed-excerpt table {
	border-collapse: collapse;
	width: 100%;
	font-family: var(--font-mono);
	font-size: 12px;
}
.tx-feed-excerpt th {
	text-align: left;
	font-weight: 600;
	color: var(--ink-muted);
	padding: 6px 10px 6px 0;
	border-bottom: 1px solid var(--line-strong);
	white-space: nowrap;
}
.tx-feed-excerpt td {
	padding: 8px 10px 8px 0;
	border-bottom: 1px solid var(--line);
	white-space: nowrap;
	color: var(--ink);
}
.tx-portal-reqs {
	display: flex;
	flex-direction: column;
}
.tx-portal-req {
	display: flex;
	justify-content: space-between;
	gap: var(--space-4);
	padding: var(--space-3) 0;
	border-bottom: 1px solid var(--line);
	font-size: 15px;
}
.tx-portal-req:last-child {
	border-bottom: 0;
}
.tx-portal-req span {
	color: var(--ink-secondary);
}
.tx-portal-req strong {
	text-align: right;
}
@media (max-width: 900px) {
	.tx-portal-intro {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--space-6);
	}
}
