/**
 * Branchenseiten (T-010/T-011) – Kläranlagen u. a.
 *
 * Zwei Tonlagen: dunkle Bühnen im Ton der Gas-Dome-/Off-Gas-Seiten (Hero,
 * Anlagengrafik, Fotoband, Abschluss) und helle Bento-Abschnitte im Stil der
 * Partner- und Produktseiten (weiße Karten, 20 px Radius, feiner Rand).
 * Hervorhebung nur über Farbe, nicht über Größe.
 */

.tsi {
	--tsi-ink:    #0c1216;
	--tsi-deep:   #142141;
	--tsi-navy:   #203556;
	--tsi-teal:   #00B9BC;
	--tsi-petrol: #00737d;
	--tsi-cyan:   #00B9BC;
	--tsi-petrol-deep: #004a51;
	--tsi-cloud:  #f6f8f9;
	--tsi-text:   #1a1a1a;
	--tsi-muted:  #5a6470;
	--tsi-line:   #e5e8eb;
	--tsi-card-shadow: 0 1px 3px rgba(0,0,0,.04), 0 10px 30px -10px rgba(0,0,0,.08);
	--tsi-card-shadow-hover: 0 4px 12px rgba(0,0,0,.06), 0 20px 50px -12px rgba(7,119,127,.18);
	--tsi-pad:    clamp(20px, 5vw, 80px);
	--tsi-max:    1280px;
	--tsi-radius: 20px;
	--tsi-display: 'Geist', 'Roboto', system-ui, sans-serif;
	--tsi-body:    'Roboto', system-ui, sans-serif;

	display: block;
	width: 100%;
	color: var(--tsi-text);
	font-family: var(--tsi-body);
	font-size: 17px;
	line-height: 1.6;
	background: #fff;
	overflow-x: clip;
}

body.tory-seo-industry-page { background: #fff; }
body.tory-seo-industry-page #primary,
body.tory-seo-industry-page #content,
body.tory-seo-industry-page .tory-seo-main,
body.tory-seo-industry-page .site-main,
body.tory-seo-industry-page .content-area {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
}
body.tory-seo-industry-page .page-title,
body.tory-seo-industry-page .entry-title { display: none; }
@media (max-width: 991px) {
	body.tory-seo-industry-page { padding-top: 0 !important; }
}

.tsi *, .tsi *::before, .tsi *::after { box-sizing: border-box; }
.tsi img { max-width: 100%; height: auto; display: block; }
.tsi a { color: inherit; }
.tsi h1, .tsi h2, .tsi h3 { font-family: var(--tsi-display); margin: 0; color: inherit; }
.tsi p { margin: 0 0 1em; }
.tsi ul, .tsi ol { margin: 0; padding: 0; list-style: none; }
.tsi figure { margin: 0; }

.tsi-wrap { width: 100%; max-width: calc(var(--tsi-max) + 2 * var(--tsi-pad)); margin: 0 auto; padding: 0 var(--tsi-pad); }
.tsi-wrap--narrow { max-width: calc(880px + 2 * var(--tsi-pad)); }

.tsi-kicker {
	font: 600 13px/1.2 var(--tsi-display);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--tsi-petrol);
	margin: 0 0 14px;
}
.tsi-h2 {
	font-size: clamp(28px, 3.4vw, 46px);
	line-height: 1.1;
	letter-spacing: -.025em;
	font-weight: 700;
	margin: 0 0 18px !important;
	max-width: 26ch;
}
.tsi-intro { color: var(--tsi-muted); max-width: 60ch; }

.tsi-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 24px; border-radius: 999px;
	font: 600 15px/1 var(--tsi-display); text-decoration: none !important;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.tsi-btn--solid { background: var(--tsi-teal); color: var(--tsi-ink) !important; }
.tsi-btn--solid:hover { background: #2fd3d6; transform: translateY(-1px); }
.tsi-btn--ghost { border: 1.5px solid currentColor; color: inherit; }
.tsi-btn--ghost:hover { color: var(--tsi-teal) !important; }
.tsi-btn--sm { padding: 10px 16px; font-size: 14px; }
.tsi-arrow { width: 18px; height: 18px; flex: none; }

.tsi-link {
	display: inline-flex; align-items: center; gap: 6px;
	font: 600 15px/1.3 var(--tsi-display);
	color: var(--tsi-petrol) !important; text-decoration: none !important;
}
.tsi-link:hover { color: var(--tsi-teal) !important; }
.tsi-link .tsi-arrow { width: 16px; height: 16px; transition: transform .2s; }
.tsi-link:hover .tsi-arrow { transform: translateX(3px); }

/* ── Hero mit wechselnden Stimmungsbildern ─────────────────────────────── */
.tsi-hero {
	position: relative;
	color: #fff;
	background: linear-gradient(180deg, var(--tsi-deep) 0%, var(--tsi-ink) 100%);
	padding: clamp(64px, 11vh, 130px) 0 clamp(56px, 8vh, 96px);
	overflow: hidden;
	isolation: isolate;
	min-height: min(820px, 92vh);
	display: flex; align-items: center;
}
.tsi-hero__media {
	position: absolute; inset: 0 0 0 34%;
	z-index: -1;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
	        mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}
.tsi-hero__slide { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; opacity: .8; }
.tsi-hero--slides .tsi-hero__slide { opacity: 0; }
.tsi-hero--slides .tsi-hero__slide:first-child { opacity: .8; }
@media (prefers-reduced-motion: no-preference) {
	.tsi-hero--slides .tsi-hero__slide { animation: tsi-slide 21s ease-in-out infinite; }
	.tsi-hero--slides .tsi-hero__slide:nth-child(2) { animation-delay: 7s; }
	.tsi-hero--slides .tsi-hero__slide:nth-child(3) { animation-delay: 14s; }
	.tsi-hero--slides .tsi-hero__slide:first-child { opacity: 0; animation-delay: -1s; }
}
@keyframes tsi-slide {
	0%   { opacity: 0;  transform: scale(1.06); }
	6%   { opacity: .8; }
	33%  { opacity: .8; }
	40%  { opacity: 0;  transform: scale(1); }
	100% { opacity: 0;  transform: scale(1); }
}
.tsi-hero__media::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(12,18,22,.1) 0%, rgba(12,18,22,.6) 100%);
}
.tsi-hero__inner { position: relative; }
.tsi-hero .tsi-kicker { color: var(--tsi-teal); }
.tsi-hero__title {
	font-size: clamp(42px, 6.2vw, 92px);
	line-height: 1;
	letter-spacing: -.04em;
	font-weight: 700;
	max-width: 12ch;
	margin: 0 0 24px !important;
	color: #fff !important;
}
.tsi-hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.82); max-width: 50ch; margin-bottom: 32px; }
.tsi-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.tsi-hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 780px; }
.tsi-hero__facts li {
	background: rgba(12,18,22,.45); border: 1px solid rgba(255,255,255,.12);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	border-radius: 16px; padding: 16px 18px;
}
.tsi-hero__facts strong { display: block; font: 700 22px/1.2 var(--tsi-display); color: var(--tsi-teal); margin-bottom: 4px; }
.tsi-hero__facts span { font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.4; display: block; }
@media (max-width: 991px) {
	.tsi-hero { padding-top: clamp(100px, 14vh, 130px); min-height: 0; }
	.tsi-hero__media { inset: 0; -webkit-mask-image: none; mask-image: none; }
	.tsi-hero__slide { opacity: .35 !important; }
	.tsi-hero--slides .tsi-hero__slide { animation: none; opacity: 0 !important; }
	.tsi-hero--slides .tsi-hero__slide:first-child { opacity: .35 !important; }
}
@media (max-width: 640px) {
	.tsi-hero__facts { grid-template-columns: 1fr; gap: 10px; }
}

/* ── Anlagengrafik ────────────────────────────────────────────────────── */
.tsi-plant {
	background:
		radial-gradient(ellipse 70% 50% at 15% 0%, rgba(0,185,188,.10), transparent 60%),
		linear-gradient(180deg, var(--tsi-ink) 0%, #0e1820 100%);
	color: #fff;
	padding: clamp(72px, 10vh, 120px) 0;
	scroll-margin-top: 80px;
}
.tsi-plant .tsi-kicker { color: var(--tsi-teal); }
.tsi-plant .tsi-intro { color: rgba(255,255,255,.7); }
.tsi-plant__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 28px; }
@media (max-width: 991px) { .tsi-plant__head { grid-template-columns: 1fr; gap: 8px; } }

.tsi-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@media (max-width: 991px) { .tsi-filter { justify-content: flex-start; } }
.tsi-chip {
	appearance: none; cursor: pointer;
	padding: 6px 12px; border: 1px solid #e5e5e5; border-radius: 9999px;
	background: #fff; font-family: inherit; font-size: 13px; line-height: 1.3; color: #4a4a4a;
	font-weight: 400; text-transform: none; letter-spacing: normal; min-height: 0; box-shadow: none;
	transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.tsi-chip:hover { border-color: var(--tsi-teal); }
.tsi-chip.is-active { background: #005a61; border-color: #005a61; color: #fff; }
.tsi-chip:focus-visible, .tsi-stations-nav__item:focus-visible, .tsi-ms:focus-visible { outline: 2px solid var(--tsi-teal); outline-offset: 2px; }

.tsi-plant__stage {
	position: relative;
	background:
		radial-gradient(ellipse at 30% 10%, rgba(0,185,188,.08), transparent 55%),
		radial-gradient(ellipse at 90% 90%, rgba(32,53,86,.5), transparent 60%),
		#0f1a23;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 24px;
	padding: 18px 18px 52px;
	box-shadow: 0 30px 80px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.04);
}
.tsi-svg { width: 100%; height: auto; display: block; }
.tsi-legend { position: absolute; left: 24px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 18px; font: 500 13px/1 var(--tsi-display); color: rgba(255,255,255,.6); }
.tsi-legend li { display: inline-flex; align-items: center; gap: 8px; }
.tsi-legend i { display: inline-block; width: 26px; height: 0; border-top: 3px dashed; }
.tsi-legend__water  { border-color: rgba(0,185,188,.8) !important; }
.tsi-legend__sludge { border-color: rgba(150,168,186,.85) !important; border-top-style: solid !important; }
.tsi-legend__gas    { border-color: #00737d !important; border-top-width: 4px !important; }
.tsi-legend__air    { border-color: rgba(255,255,255,.5) !important; border-top-style: dotted !important; }

.tsi-svg__lbl { fill: rgba(255,255,255,.66); font: 500 15px var(--tsi-display); text-anchor: middle; }
.tsi-svg__lbl--sm { font-size: 13px; }
.tsi-svg__lbl--ink { fill: rgba(12,18,22,.75); }
.tsi-build { fill: url(#tsi-roof); stroke: rgba(255,255,255,.3); stroke-width: 1.5; }
.tsi-basin { stroke: rgba(255,255,255,.42); stroke-width: 2; }
.tsi-egg { stroke: rgba(255,255,255,.35); stroke-width: 1.5; }
.tsi-dome { fill: #0d151d; stroke: var(--tsi-teal); stroke-width: 2.5; }
.tsi-flame { fill: var(--tsi-cyan); transform-box: fill-box; transform-origin: 50% 100%; }
.tsi-flame--glow { opacity: .6; }

.tsi-flow { stroke-width: 4; }
.tsi-flow--water  { stroke: rgba(0,185,188,.6); stroke-dasharray: 10 8; }
.tsi-flow--water2 { stroke: rgba(0,185,188,.5); stroke-dasharray: 6 6; }
.tsi-flow--sludge { stroke: rgba(150,168,186,.75); stroke-width: 3.5; }
.tsi-flow--return { stroke: rgba(150,168,186,.55); stroke-width: 2.5; stroke-dasharray: 5 6; }
.tsi-flow--gas    { stroke: #00737d; stroke-dasharray: 8 7; stroke-width: 4; }
.tsi-flow--hose   { stroke: rgba(0,185,188,.85); stroke-dasharray: 6 6; stroke-width: 3; }
.tsi-flow--air    { stroke: rgba(255,255,255,.4); stroke-dasharray: 2 7; stroke-width: 4; }
.tsi-flow--blow   { stroke: rgba(255,255,255,.35); stroke-dasharray: 4 5; stroke-width: 3; }
.tsi-flow--sample { stroke: #00B9BC; stroke-dasharray: 3 4; stroke-width: 2.5; }

@media (prefers-reduced-motion: no-preference) {
	.tsi-flow--water, .tsi-flow--water2 { animation: tsi-dash 1.6s linear infinite; }
	.tsi-flow--gas, .tsi-flow--hose { animation: tsi-dash 1.1s linear infinite; }
	.tsi-flow--air, .tsi-flow--blow { animation: tsi-dash 1.8s linear infinite; }
	.tsi-flow--return { animation: tsi-dash 2.4s linear infinite reverse; }
	.tsi-bubbles circle { animation: tsi-rise 2.6s ease-in infinite; }
	.tsi-bubbles circle:nth-child(2n) { animation-delay: .9s; }
	.tsi-bubbles circle:nth-child(3n) { animation-delay: 1.7s; }
	.tsi-flame { animation: tsi-flicker 1.1s ease-in-out infinite; }
	.tsi-ms__pulse { animation: tsi-pulse 2.4s ease-out infinite; }
	.tsi-fan { animation: tsi-spin 1.6s linear infinite; transform-box: fill-box; transform-origin: 50% 50%; }
	.tsi-flow--sample { animation: tsi-dash 1.4s linear infinite reverse; }
	.tsi-scraper { animation: tsi-scrape 14s ease-in-out infinite alternate; }
	.tsi-heat path { animation: tsi-heat 2.4s ease-in-out infinite; }
	.tsi-heat path:nth-child(2) { animation-delay: 1.2s; }
	.tsi-steam circle { animation: tsi-steam 4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
	.tsi-steam circle:nth-child(2) { animation-delay: 2s; }
}
@keyframes tsi-dash { to { stroke-dashoffset: -36; } }
@keyframes tsi-rise { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-104px); opacity: 0; } }
@keyframes tsi-flicker { 50% { transform: scale(.82, 1.12); } }
@keyframes tsi-pulse { 0% { transform: scale(.75); opacity: .75; } 100% { transform: scale(1.65); opacity: 0; } }
@keyframes tsi-spin { to { transform: rotate(360deg); } }
@keyframes tsi-scrape { to { transform: translateX(110px); } }
@keyframes tsi-heat { 0% { opacity: 0; transform: translateY(6px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes tsi-steam { 0% { opacity: 0; transform: translate(0, 6px) scale(.6); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(10px, -24px) scale(1.4); } }

.tsi-ms { cursor: pointer; outline: none; transition: opacity .25s; }
.tsi-ms__hit { fill: transparent; }
.tsi-ms__pulse { fill: none; stroke: var(--tsi-teal); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.tsi-ms__dot { fill: var(--tsi-ink); stroke: var(--tsi-teal); stroke-width: 3; transition: fill .2s, stroke .2s; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.tsi-ms__num { fill: #fff; font: 700 18px var(--tsi-display); text-anchor: middle; pointer-events: none; }
.tsi-ms:hover .tsi-ms__dot, .tsi-ms.is-active .tsi-ms__dot { fill: var(--tsi-teal); }
.tsi-ms:hover .tsi-ms__num, .tsi-ms.is-active .tsi-ms__num { fill: var(--tsi-ink); }
.tsi-ms.is-match .tsi-ms__dot { fill: var(--tsi-petrol); stroke: var(--tsi-cyan); }
.tsi-ms.is-match .tsi-ms__pulse { stroke: var(--tsi-petrol); }
.tsi-ms.is-dim { opacity: .25; }

/* Mobil: ganze Anlage im Blick, Marker größer, Beschriftung über die Leiste. */
@media (max-width: 720px) {
	.tsi-plant__stage { padding: 8px; border-radius: 18px; }
	.tsi-ms__scale { transform: scale(1.9); }
	.tsi-svg__lbl { display: none; }
	.tsi-legend { position: static; padding: 10px 6px 4px; gap: 10px 14px; font-size: 12px; }
	.tsi-legend i { width: 18px; }
}

.tsi-stations-nav { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 !important; }
.tsi-stations-nav__item {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px; border: 1px solid #e5e5e5; border-radius: 9999px; background: #fff;
	font-size: 13px; line-height: 1.3; color: #4a4a4a !important; text-decoration: none !important;
	transition: border-color .15s ease, color .15s ease, background .15s ease, opacity .2s;
}
.tsi-stations-nav__item:hover { border-color: var(--tsi-teal); }
.tsi-stations-nav__item.is-active { background: #005a61; border-color: #005a61; color: #fff !important; }
.tsi-stations-nav__item.is-dim { opacity: .4; }
.tsi-num { font-weight: 700; color: #005a61; }
.tsi-stations-nav__item.is-active .tsi-num { color: rgba(255,255,255,.75); }

/* Detailkarte unter der Grafik – flach und ruhig. */
.tsi-detail { background: #13202a; border: 1px solid rgba(255,255,255,.1); border-radius: var(--tsi-radius); padding: 22px; }
.tsi-detail__item { display: none; grid-template-columns: 240px minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.tsi-detail__item.is-active { display: grid; }
.tsi-detail__media {
	position: relative; display: grid; place-items: center;
	aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #fff;
	text-decoration: none !important;
}
.tsi-detail__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px 12px 34px; }
.tsi-detail__media span { position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 12px; font: 600 12px/1.2 var(--tsi-display); color: #005a61; background: #f4f6f7; border-top: 1px solid #e5e5e5; }
.tsi-card__num { font: 600 12px/1 var(--tsi-display); letter-spacing: .12em; text-transform: uppercase; color: var(--tsi-teal); margin-bottom: 10px; }
.tsi-card__title { font-size: 24px; line-height: 1.2; margin-bottom: 14px !important; color: #fff !important; }
.tsi-card__text { color: rgba(255,255,255,.82); font-size: 16px; }
.tsi-card__links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 0 !important; }
.tsi-card__links .tsi-link { color: var(--tsi-teal) !important; }
.tsi-card__links .tsi-link:hover { color: #fff !important; }
.tsi-detail__facts { border-top: 1px solid rgba(255,255,255,.12); }
.tsi-detail__facts li { padding: 10px 0; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.82); border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 1100px) {
	.tsi-detail__item.is-active { grid-template-columns: 200px minmax(0, 1fr); }
	.tsi-detail__facts { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.tsi-detail { padding: 16px; }
	.tsi-detail__item.is-active { grid-template-columns: 1fr; gap: 16px; }
	.tsi-detail__media { aspect-ratio: 16 / 9; }
}

.tsi-gases { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px !important; }
.tsi-gas {
	font: 600 13px/1 var(--tsi-display);
	padding: 6px 10px; border-radius: 999px;
	background: rgba(0,185,188,.12); color: var(--tsi-teal);
	border: 1px solid rgba(0,185,188,.35);
}
.tsi-gas span { font-weight: 400; opacity: .85; }
.tsi-gas--n2o { background: var(--tsi-petrol); color: #fff; border-color: var(--tsi-petrol); }

/* ── Helle Abschnitte ─────────────────────────────────────────────────── */
.tsi-section { padding: clamp(72px, 10vh, 120px) 0; }
.tsi-section--tint { background: var(--tsi-cloud); }

/* Messstellen: schlichtes Raster weißer Karten (Stil Produktseiten). */
.tsi-stations { background: var(--tsi-cloud); }
.tsi-ms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 14px; }
.tsi-msc {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--tsi-line); border-radius: var(--tsi-radius);
	box-shadow: var(--tsi-card-shadow); overflow: hidden;
	scroll-margin-top: 100px;
	transition: border-color .2s, box-shadow .2s;
}
.tsi-msc:hover { border-color: rgba(0,185,188,.45); box-shadow: var(--tsi-card-shadow-hover); }
.tsi-msc:target { border-color: var(--tsi-teal); }
.tsi-msc__media { aspect-ratio: 16 / 9; overflow: hidden; background: #e9eef1; }
.tsi-msc__photo { width: 100%; height: 100% !important; object-fit: cover; }
.tsi-msc__media--product { display: grid; place-items: center; background: #f4f6f7; }
.tsi-msc__media--product img { max-height: 190px; width: auto; object-fit: contain; padding: 16px; }
.tsi-msc__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.tsi-msc__kicker { font: 600 12px/1.2 var(--tsi-display); letter-spacing: .12em; text-transform: uppercase; color: var(--tsi-petrol); margin: 0 0 8px !important; }
.tsi-msc__title { font-size: 20px; line-height: 1.25; font-weight: 700; margin: 0 0 14px !important; }
.tsi-msc__def { font-size: 15.5px; }
.tsi-msc__solution { font-size: 15px; color: var(--tsi-muted); }
.tsi-msc__solution strong { color: var(--tsi-text); }
.tsi-msc__facts { margin: 0 0 18px !important; border-top: 1px solid var(--tsi-line); }
.tsi-msc__facts li { font-size: 14.5px; line-height: 1.4; padding: 9px 0; border-bottom: 1px solid var(--tsi-line); color: var(--tsi-text); }
.tsi-msc__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.tsi-msc__foot .tsi-link { font-size: 14px; }
/* Bleibt die letzte Karte allein in ihrer Zeile, wird sie zur Querkarte
   über die ganze Breite (Bild links, Text rechts) – statt einer Lücke. */
@media (min-width: 1101px) {
	.tsi-ms-grid > .tsi-msc:last-child:nth-child(3n+1) { grid-column: 1 / -1; flex-direction: row; }
	.tsi-ms-grid > .tsi-msc:last-child:nth-child(3n+1) .tsi-msc__media { flex: 0 0 34%; aspect-ratio: auto; min-height: 280px; }
	.tsi-ms-grid > .tsi-msc:last-child:nth-child(3n+1) .tsi-msc__body { padding: 28px 32px; }
	.tsi-ms-grid > .tsi-msc:last-child:nth-child(3n+1) .tsi-msc__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
}
@media (max-width: 1100px) {
	.tsi-ms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 701px) and (max-width: 1100px) {
	.tsi-ms-grid > .tsi-msc:last-child:nth-child(2n+1) { grid-column: 1 / -1; flex-direction: row; }
	.tsi-ms-grid > .tsi-msc:last-child:nth-child(2n+1) .tsi-msc__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 260px; }
}
@media (max-width: 700px) { .tsi-ms-grid { grid-template-columns: 1fr; gap: 14px; } .tsi-msc__body { padding: 20px; } }

/* Substanz-Kacheln wie auf den Produktseiten (Formel groß, Name klein). */
.tsi-subs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px !important; }
.tsi-sub {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	min-width: 76px; padding: 9px 10px; border-radius: 12px; text-align: center;
	background: linear-gradient(160deg, rgba(0,185,188,.10), rgba(7,119,127,.06));
	border: 1px solid rgba(0,185,188,.28);
}
.tsi-sub__f { font: 700 18px/1.1 var(--tsi-display); color: #005a61; white-space: nowrap; }
.tsi-sub__n { font-size: 11px; line-height: 1.25; color: #6a6a6a; }
.tsi-subs--dark .tsi-sub { background: rgba(255,255,255,.04); border-color: rgba(0,185,188,.35); }
.tsi-subs--dark .tsi-sub__f { color: #fff; }
.tsi-subs--dark .tsi-sub__n { color: rgba(255,255,255,.6); }

/* Pills wie die Finder-Chips der Produktseiten. */
.tsi-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.tsi-pill {
	display: inline-block; padding: 6px 12px; border: 1px solid #e5e5e5; border-radius: 9999px;
	background: #fff; font-size: 13px; line-height: 1.3; color: #4a4a4a !important; text-decoration: none !important;
	transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.tsi-pill:hover { border-color: var(--tsi-teal); color: #005a61 !important; }

/* Fotoband Kommunalabwasserrichtlinie */
.tsi-band { position: relative; color: #fff; padding: clamp(80px, 12vh, 140px) 0; overflow: hidden; isolation: isolate; background: var(--tsi-ink); }
.tsi-band__bg { position: absolute; inset: 0; z-index: -1; }
.tsi-band__bg img { width: 100%; height: 100% !important; object-fit: cover; }
.tsi-band__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,18,22,.92) 0%, rgba(12,18,22,.7) 45%, rgba(12,18,22,.25) 100%); }
.tsi-band .tsi-kicker { color: var(--tsi-teal); }
.tsi-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.tsi-band__year { font: 700 clamp(64px, 10vw, 150px)/0.9 var(--tsi-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(0,185,188,.75); margin: 18px 0 0 !important; }
.tsi-band__panel {
	background: rgba(12,18,22,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,.14); border-radius: var(--tsi-radius); padding: 28px;
}
.tsi-band__panel p { color: rgba(255,255,255,.86); font-size: 17px; }
@media (max-width: 860px) { .tsi-band__inner { grid-template-columns: 1fr; gap: 20px; } }

/* Praxisbeispiel */
.tsi-case__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.tsi-case__media { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--tsi-card-shadow); }
.tsi-case__media img { width: 100%; height: 100% !important; object-fit: cover; }
.tsi-case__figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 22px !important; }
.tsi-case__figures li { background: var(--tsi-cloud); border: 1px solid var(--tsi-line); border-radius: 16px; padding: 16px; }
.tsi-case__figures strong { display: block; font: 700 22px/1.15 var(--tsi-display); color: var(--tsi-petrol); margin-bottom: 4px; }
.tsi-case__figures span { color: var(--tsi-muted); font-size: 14px; line-height: 1.35; display: block; }
@media (max-width: 860px) {
	.tsi-case__grid { grid-template-columns: 1fr; gap: 24px; }
	.tsi-case__figures { grid-template-columns: 1fr; }
}

.tsi-table-wrap { overflow-x: auto; border-radius: var(--tsi-radius); border: 1px solid var(--tsi-line); background: #fff; margin-top: 10px; box-shadow: var(--tsi-card-shadow); }
.tsi-table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; margin: 0; }
.tsi-table th, .tsi-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--tsi-line); vertical-align: top; }
.tsi-table thead th { background: var(--tsi-deep); color: #fff; font: 600 14px/1.2 var(--tsi-display); letter-spacing: .04em; }
.tsi-table tbody tr:last-child th, .tsi-table tbody tr:last-child td { border-bottom: 0; }
.tsi-table tbody tr:hover { background: #f2fbfb; }
.tsi-table tbody th { text-transform: none; letter-spacing: 0; font: 600 15.5px/1.4 var(--tsi-display); background: none; }
.tsi-table a { color: var(--tsi-petrol); font-weight: 600; text-decoration: none; }
.tsi-table a:hover { color: var(--tsi-teal); }
.tsi-note { color: var(--tsi-muted); font-size: 14px; margin-top: 12px !important; }

.tsi-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 10px !important; }
.tsi-product a {
	display: flex; flex-direction: column; height: 100%;
	border: 1px solid var(--tsi-line); border-radius: var(--tsi-radius); padding: 18px;
	text-decoration: none !important; background: #fff; box-shadow: var(--tsi-card-shadow);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tsi-product a:hover { border-color: var(--tsi-teal); box-shadow: var(--tsi-card-shadow-hover); transform: translateY(-2px); }
.tsi-product__img { display: grid; place-items: center; aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 40%, #fff 0%, #eef2f4 75%); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.tsi-product__img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.tsi-product__name { font: 700 18px/1.2 var(--tsi-display); margin-bottom: 6px; color: var(--tsi-text); }
.tsi-product a:hover .tsi-product__name { color: var(--tsi-petrol); }
.tsi-product__text { font-size: 15px; color: var(--tsi-muted); line-height: 1.5; }

.tsi-system { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 10px 0 28px !important; }
.tsi-system li { background: #fff; border-radius: var(--tsi-radius); padding: 24px; border: 1px solid var(--tsi-line); box-shadow: var(--tsi-card-shadow); }
.tsi-system__num { font: 700 15px/1 var(--tsi-display); color: var(--tsi-teal); display: block; margin-bottom: 14px; }
.tsi-system h3 { font-size: 19px; margin-bottom: 8px !important; }
.tsi-system p { font-size: 15px; color: var(--tsi-muted); margin: 0; }
@media (max-width: 1000px) { .tsi-system { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tsi-system { grid-template-columns: 1fr; } }

.tsi-faq__item { border-bottom: 1px solid var(--tsi-line); }
.tsi-faq__item summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; }
.tsi-faq__item summary::-webkit-details-marker { display: none; }
.tsi-faq__item summary::after {
	content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
	border-right: 2px solid var(--tsi-petrol); border-bottom: 2px solid var(--tsi-petrol);
	transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.tsi-faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.tsi-faq__item summary h3 { font-size: 19px; font-weight: 600; line-height: 1.35; display: inline; }
.tsi-faq__item summary:hover h3 { color: var(--tsi-petrol); }
.tsi-faq__item p { color: var(--tsi-muted); padding-bottom: 20px; margin: 0; max-width: 72ch; }

.tsi-gtk li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--tsi-line); }
.tsi-gtk li:last-child { border-bottom: 0; }
.tsi-gtk li::before {
	content: ''; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px;
	border-left: 2px solid var(--tsi-petrol); border-bottom: 2px solid var(--tsi-petrol); transform: rotate(-45deg);
}

.tsi-closing { background: var(--tsi-ink); color: #fff; padding: clamp(72px, 10vh, 120px) 0; }
.tsi-closing p { color: rgba(255,255,255,.78); font-size: 18px; max-width: 56ch; }
.tsi-closing .tsi-hero__cta { margin: 26px 0 40px; }
.tsi-related { display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; }
.tsi-related a {
	padding: 9px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
	font: 500 14px/1 var(--tsi-display); text-decoration: none; color: rgba(255,255,255,.85);
}
.tsi-related a:hover { border-color: var(--tsi-teal); color: var(--tsi-teal); }

/* Tory-Abschnitt aus den Kampagnenseiten. */
.tsi .tory-seo-campaign-tory { margin: 0; color: #f5f7f8; }
.tsi .tory-seo-campaign-tory__title { color: #fff !important; }

/* Einblendungen nur mit JS und ohne reduzierte Bewegung. */
.tsi.is-js .tsi-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.tsi.is-js .tsi-reveal.is-in { opacity: 1; transform: none; }
.tsi.is-js .tsi-bento .tsi-reveal:nth-child(2) { transition-delay: .08s; }
.tsi.is-js .tsi-bento .tsi-reveal:nth-child(4) { transition-delay: .08s; }
.tsi.is-js .tsi-bento .tsi-reveal:nth-child(5) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
	.tsi.is-js .tsi-reveal { opacity: 1; transform: none; transition: none; }
	.tsi-detail__item.is-active { animation: none; }
}
