/* ══════════════════════════════════════════════════════════════════════════
   TFM PREMIUM — eigenständige Storytelling-Seite für tfm-beratung.html
   Bewusst KEIN Card-System, KEINE Screenshots — nur Bild-Platzhalter (siehe
   .tp-ph). Nutzt Farb-/Font-Tokens aus style.css (--copper, --bg-*, --font-*),
   ist aber sonst komplett eigenständig von mandate-pages.css (andere
   Typo-Skala, andere Sektionsrhythmen — absichtlich, siehe Briefing).
   Scroll-/Counter-/Slider-Logik in tfm-premium.js.
   ══════════════════════════════════════════════════════════════════════════ */

.tp-page {
  background: #111111;
  color: var(--text-0);
  overflow-x: clip;
}

.tp-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) { .tp-container { padding: 0 24px; } }

.tp-section { padding: 168px 0; position: relative; }
.tp-section + .tp-section { border-top: 1px solid rgba(255,255,255,0.05); }
@media (max-width: 900px) { .tp-section { padding: 104px 0; } }

.tp-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 26px;
  display: flex; align-items: center; gap: 12px;
}
.tp-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent); }

/* ── Typografie ────────────────────────────────────────────────────────── */
.tp-h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.6rem, 7.4vw, 6.4rem);
  line-height: 1.03; letter-spacing: -2px;
  max-width: 15ch;
}
.tp-h1 em { font-style: italic; color: var(--accent); font-weight: 400; }

.tp-h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.1; letter-spacing: -1px;
  max-width: 17ch;
  margin-bottom: 28px;
}

.tp-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-1); line-height: 1.75;
  max-width: 70ch;
}
.tp-lead--tight { max-width: 46ch; }

.tp-text { color: var(--text-2); font-size: 1rem; line-height: 1.8; max-width: 60ch; }

/* ── Grid-Layouts (Text/Stats links, Placeholder rechts) ──────────────── */
.tp-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px; align-items: center;
}
.tp-split--wide { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); }
.tp-split--dash { grid-template-columns: minmax(0, 0.48fr) minmax(0, 1.52fr); }
@media (max-width: 980px) { .tp-split--dash { grid-template-columns: 1fr; } }
@media (max-width: 980px) {
  .tp-split, .tp-split--wide { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Bild-Platzhalter ──────────────────────────────────────────────────── */
/* Bild-Platzhalter mit 3D-Kipp-Effekt bei Hover — gleiches Prinzip wie `.gos-shot-stack`
   auf index.html (perspective + rotateY/rotateX, flacht beim Hover leicht ab).

   WICHTIG: Rahmen/Rundung/Clip/Schatten müssen auf DEMSELBEN Element sitzen, das sich
   dreht — sonst klafft beim Kippen eine Kante zwischen dem (flachen) Rahmen und dem
   (gedrehten) Inhalt auf, weil deren Ecken nach der 3D-Rotation nicht mehr exakt
   übereinanderliegen (genau der Bug, der hier gemeldet wurde). Auf index.html sind
   `.gos-shot` und die gedrehte Fläche identisch — hier deshalb nachgezogen: `.tp-ph`
   bleibt ein unsichtbarer Perspektive-Wrapper (nur Größe + GSAP-Fade-Up-Transform),
   `.tp-ph-inner` trägt jetzt ALLE sichtbare Kartenoptik UND die Rotation zusammen. */
.tp-ph {
  position: relative;
  height: 520px;
  perspective: 1400px;
}
.tp-ph--hero { height: 640px; }
.tp-ph--tall { height: 620px; }
.tp-ph--wide { height: 420px; }
/* Eigenes Seitenverhältnis statt fixer Höhe — methodik-tfm.png ist ein breites 3:2-Bild
   (1536x1024); mit fixer Höhe wie .tp-ph--tall schnitt object-fit:cover links/rechts stark
   an, weil der Slot dort fast quadratisch ist. aspect-ratio hält den Slot exakt bildgetreu,
   auf jeder Breite. */
.tp-ph--methodik { height: auto; aspect-ratio: 3 / 2; }
@media (max-width: 980px) {
  .tp-ph, .tp-ph--hero, .tp-ph--tall, .tp-ph--wide { height: 340px; }
  .tp-ph--methodik { height: auto; }
}

.tp-ph-inner {
  position: absolute; inset: 0;
  border-radius: 26px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at 18% 12%, rgba(184,115,63,0.10), transparent 55%),
    linear-gradient(155deg, var(--bg-3) 0%, var(--bg-2) 100%);
  overflow: hidden;
  box-shadow: 0 50px 100px -40px rgba(0,0,0,0.9), 0 24px 70px -30px rgba(184,115,63,0.18), 0 1px 0 rgba(255,255,255,0.06) inset;
  transform: rotateY(-6deg) rotateX(1.2deg);
  transition: transform 0.6s var(--ease-out);
}
.tp-ph:hover .tp-ph-inner { transform: rotateY(-2deg) rotateX(0.4deg); }
@media (prefers-reduced-motion: reduce) { .tp-ph-inner { transform: none !important; transition: none; } }
/* Kupfer-Kantenlicht links + Glas-Reflex oben — wie bei `.gos-shot` */
.tp-ph-inner::before {
  content: ''; position: absolute; left: 0; top: 10%; bottom: 10%; width: 2px; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(217,154,95,0.9) 35%, rgba(184,115,63,0.5) 70%, transparent);
  filter: blur(1px); box-shadow: 0 0 24px 4px rgba(184,115,63,0.35);
  pointer-events: none;
}
.tp-ph-inner::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.07), transparent 34%);
}

.tp-ph-icon {
  position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center;
  color: var(--text-3); opacity: 0.5;
}
.tp-ph-icon svg { width: 15%; height: 15%; min-width: 46px; min-height: 46px; }

.tp-ph-label {
  position: absolute; z-index: 3; top: 28px; left: 28px;
  display: flex; flex-direction: column; gap: 6px;
}
.tp-ph-tag {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.6px; color: var(--text-3);
}
.tp-ph-cap { font-size: 14.5px; font-weight: 600; color: var(--text-1); letter-spacing: -0.1px; }

/* ── HERO ──────────────────────────────────────────────────────────────── */
.tp-hero { padding: calc(var(--nav-h) + 88px) 0 140px; }
.tp-hero .tp-split { align-items: start; }
.tp-hero-copy { padding-top: 8px; }
.tp-hero-lead { margin: 30px 0 44px; }

.tp-cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  color: var(--bg); background: var(--accent);
  padding: 17px 30px; border-radius: 999px; border: none; cursor: pointer;
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  box-shadow: 0 0 0 0 rgba(184,115,63,0);
}
.tp-cta-btn:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(184,115,63,0.45); }
.tp-cta-btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.tp-cta-btn:hover svg { transform: translateX(3px); }

.tp-cta-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  border-bottom: 1px solid var(--border-strong); padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.tp-cta-ghost:hover { color: var(--accent); border-color: var(--accent); }

/* ── SECTION 1: Dashboard-Mockup (echte "Screenshot"-Nachbildung, kein Placeholder-
   Icon — analog zur Kennzahlen-Sektion. Status-Vierklang (Kritisch/Hoch/Mittel/
   Niedrig) nutzt die feste, laut dataviz-Skill NIE themenabhängige Status-Skala
   good/warning/serious/critical statt frei gewählter Farben — s. tfm-premium.css
   Kommentar unten für die genauen Werte + Validierungsbefehl. ──────────────────── */
.tp-dash {
  border-radius: 22px; border: 1px solid var(--border-strong);
  background: linear-gradient(155deg, var(--bg-3) 0%, var(--bg-2) 100%);
  overflow: hidden; display: flex; min-height: 560px;
}
@media (max-width: 720px) { .tp-dash { flex-direction: column; min-height: 0; } }

.tp-dash-sidebar {
  width: 184px; flex-shrink: 0; padding: 28px 20px;
  border-right: 1px solid var(--border); background: rgba(0,0,0,0.16);
}
@media (max-width: 720px) { .tp-dash-sidebar { display: none; } }
.tp-dash-brand { display: flex; align-items: center; gap: 10px; color: var(--text-2); margin-bottom: 32px; padding: 0 4px; }
.tp-dash-brand svg { width: 17px; height: 17px; flex-shrink: 0; }
.tp-dash-brand span { font-size: 12.5px; font-weight: 600; letter-spacing: 0.2px; line-height: 1.3; }
.tp-dash-nav { display: flex; flex-direction: column; gap: 6px; }
.tp-dash-nav-item {
  font-size: 12.5px; line-height: 1.3; color: var(--text-3); padding: 9px 12px; border-radius: 8px;
}
.tp-dash-nav-item.is-active { color: var(--text-0); background: var(--glass-strong); }

.tp-dash-main { flex: 1; min-width: 0; padding: 28px 30px 30px; display: flex; flex-direction: column; }
.tp-dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.tp-dash-title { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: var(--text-0); }
.tp-dash-header-actions { display: flex; align-items: center; gap: 14px; }
.tp-dash-btn {
  font-size: 11.5px; color: var(--text-2); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 6px 14px;
}
.tp-dash-close { color: var(--text-3); font-size: 15px; line-height: 1; }

.tp-dash-kpirow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
@media (max-width: 560px) { .tp-dash-kpirow { grid-template-columns: 1fr 1fr; } }
.tp-dash-kpi { border-radius: 14px; border: 1px solid var(--border); background: var(--bg-2); padding: 16px 16px 14px; }
.tp-dash-kpi-label {
  font-family: var(--font-mono); font-size: 9.5px; line-height: 1.4; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--text-3); margin-bottom: 10px;
}
.tp-dash-kpi-num { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; color: var(--text-0); }
.tp-dash-kpi-sub { margin-top: 10px; font-size: 10.5px; line-height: 1.45; color: var(--text-3); }
.tp-dash-kpi-sub--ok { color: var(--ok); font-weight: 600; }

.tp-dash-panels { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; flex: 1; perspective: 1400px; }
@media (max-width: 560px) { .tp-dash-panels { grid-template-columns: 1fr; } }
/* Kein separater Inner-Wrapper nötig — `.tp-dash-panel` ist kein `.tp-reveal`-Ziel (nur die
   äußere `.tp-dash` bekommt den GSAP-Fade-Up), Rahmen+Rotation dürfen hier zusammenbleiben. */
.tp-dash-panel {
  position: relative; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-2);
  padding: 16px 18px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7);
  transform: rotateY(-5deg) rotateX(1deg);
  transition: transform 0.6s var(--ease-out);
}
.tp-dash-panel:hover { transform: rotateY(-1.5deg) rotateX(0.3deg); }
@media (prefers-reduced-motion: reduce) { .tp-dash-panel { transform: none !important; transition: none; } }
.tp-dash-panel::before {
  content: ''; position: absolute; left: 0; top: 10%; bottom: 10%; width: 2px; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(217,154,95,0.8) 35%, rgba(184,115,63,0.45) 70%, transparent);
  filter: blur(1px); pointer-events: none;
}
.tp-dash-panel::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.05), transparent 34%);
}
.tp-dash-panel > * { position: relative; z-index: 3; }
.tp-dash-panel-title {
  font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase;
  letter-spacing: 1.1px; color: var(--text-3);
}
.tp-dash-panel-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.tp-dash-panel-val { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--text-0); }
.tp-dash-panel-val em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--ok); margin-left: 4px; }

.tp-dash-area { width: 100%; height: 90px; display: block; }
.tp-dash-area-line { fill: none; stroke: #d95926; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tp-dash-area-xlabels {
  display: flex; justify-content: space-between; margin-top: 6px;
  font-family: var(--font-mono); font-size: 8.5px; color: var(--text-3);
}

.tp-dash-donut-wrap { position: relative; width: 108px; height: 108px; margin: 6px auto 12px; }
.tp-dash-donut { width: 100%; height: 100%; transform: rotate(-90deg); }
.tp-dash-donut-track { fill: none; stroke: var(--border); stroke-width: 11; }
.tp-dash-donut-seg { fill: none; stroke-width: 11; stroke-linecap: butt; }
.tp-dash-donut-seg[data-role="critical"] { stroke: #d03b3b; }
.tp-dash-donut-seg[data-role="serious"]  { stroke: #ec835a; }
.tp-dash-donut-seg[data-role="warning"]  { stroke: #fab219; }
.tp-dash-donut-seg[data-role="good"]     { stroke: #0ca30c; }
.tp-dash-donut-center {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: var(--text-0);
}
.tp-dash-donut-legend { display: flex; flex-direction: column; gap: 7px; font-size: 11px; color: var(--text-2); }
.tp-dash-donut-legend li { display: flex; align-items: center; gap: 8px; }
.tp-dash-donut-legend b { margin-left: auto; color: var(--text-0); font-weight: 600; }
.tp-dash-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.tp-dash-dot[data-role="critical"] { background: #d03b3b; }
.tp-dash-dot[data-role="serious"]  { background: #ec835a; }
.tp-dash-dot[data-role="warning"]  { background: #fab219; }
.tp-dash-dot[data-role="good"]     { background: #0ca30c; }

/* ── SECTION 2: Verlauf einer Krise — Icon-Timeline mit Lichtstrahl ────────
   Ersetzt die vorherige vertikale Balken-Variante (wirkte zu sehr wie die
   Prozesslinie aus Section 3). Layout jetzt: Text + Icon-Timeline oben
   nebeneinander, breites Bild-Placeholder darunter über die volle Breite. */
.tp-icrisis-top {
  display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 56px; align-items: start; margin-bottom: 64px;
}
@media (max-width: 980px) { .tp-icrisis-top { grid-template-columns: 1fr; gap: 44px; } }

.tp-eyebrow--num { gap: 10px; }
.tp-eyebrow--num::before { display: none; }
.tp-eyebrow-num { color: var(--accent); }

.tp-h2 em { font-style: normal; color: var(--accent); font-weight: inherit; }
.tp-h2-rule { width: 46px; height: 2px; background: var(--accent); margin: 20px 0 0; }

.tp-itimeline { padding-top: 6px; }
.tp-itimeline-track {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
  position: relative;
}
@media (max-width: 720px) { .tp-itimeline-track { grid-template-columns: repeat(3, 1fr); row-gap: 40px; } }
@media (max-width: 460px) { .tp-itimeline-track { grid-template-columns: repeat(2, 1fr); } }

.tp-itimeline-line {
  position: absolute; top: 28px; height: 1px; left: 0; width: 0; /* per JS gesetzt, s. tfm-premium.js */
  background-image: repeating-linear-gradient(to right, var(--border-strong) 0 5px, transparent 5px 11px);
}
@media (max-width: 720px) { .tp-itimeline-line { display: none; } }

.tp-itimeline-beam {
  position: absolute; top: 28px; left: 0; width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%);
  box-shadow: 0 0 18px 4px rgba(184,115,63,0.7), 0 0 5px 1px var(--gold-light);
  transition: left 0.15s linear; z-index: 2; opacity: 0;
}
.tp-itimeline-beam.is-ready { opacity: 1; }
@media (max-width: 720px) { .tp-itimeline-beam { display: none; } }

.tp-itimeline-node { text-align: center; position: relative; }
.tp-itimeline-icon {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  border: 1.5px solid var(--border-strong); background: var(--bg-1);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); position: relative; z-index: 1;
  transition: border-color 0.35s var(--ease-out), color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.tp-itimeline-icon svg { width: 22px; height: 22px; }
.tp-itimeline-node.is-active .tp-itimeline-icon {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 0 22px -6px rgba(184,115,63,0.8);
}
.tp-itimeline-when { font-size: 14px; font-weight: 700; color: var(--text-0); margin-bottom: 6px; }
.tp-itimeline-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.5; }

.tp-icrisis-photo { margin-top: 0; }

/* ── SECTION 3: Prozesslinie (scroll-scrubbed) ────────────────────────── */
.tp-process { margin-top: 88px; position: relative; padding-left: 4px; }
.tp-process-rail {
  position: absolute; left: 10px; top: 6px; bottom: 6px; width: 1px;
  background: var(--border-strong);
}
.tp-process-fill {
  position: absolute; left: 10px; top: 6px; width: 1px; height: 0%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  transition: height 0.15s linear;
}
.tp-process-step {
  position: relative; padding: 0 0 40px 40px;
  opacity: 0.32; transition: opacity 0.4s var(--ease-out);
}
.tp-process-step:last-child { padding-bottom: 0; }
.tp-process-step.is-active { opacity: 1; }
.tp-process-num {
  position: absolute; left: 0; top: -2px; width: 21px; height: 21px;
  border-radius: 50%; background: var(--bg-1); border: 1.5px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px; color: var(--text-3);
  transition: border-color 0.4s, color 0.4s, background 0.4s;
}
.tp-process-step.is-active .tp-process-num { border-color: var(--accent); color: var(--bg); background: var(--accent); }
.tp-process-step h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.3px; }

/* ── SECTION 4: Kennzahlen ────────────────────────────────────────────── */
.tp-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
@media (max-width: 560px) { .tp-kpis { grid-template-columns: 1fr; } }
.tp-kpi-card {
  border-radius: 18px; border: 1px solid var(--border); background: var(--bg-2);
  padding: 22px 20px 20px;
}
.tp-kpi-num {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem); letter-spacing: -0.5px; color: var(--text-0);
}
.tp-kpi-label {
  margin-top: 8px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--text-3);
}
.tp-kpi-delta { margin-top: 16px; font-size: 12.5px; font-weight: 600; color: var(--ok); }
.tp-kpi-disclaimer { grid-column: 1 / -1; margin-top: 4px; font-size: 11px; color: var(--text-3); }

/* ── Section 4: Performance-Diagramm (echtes SVG, keine echten Daten — s. tfm-premium.js
   für die Linien-Zeichenanimation). Farbpalette per dataviz-Skill validiert (CVD-sicher
   auf dunklem Grund, node scripts/validate_palette.js "#3987e5,#199e70,#d95926" --mode dark). */
/* Perspektive-Wrapper, keine eigene Optik — s. Kommentar bei `.tp-ph` weiter oben:
   Rahmen/Rotation müssen auf einem gemeinsamen Element sitzen, `.tp-chart-panel` hat
   `.tp-reveal` (GSAP-Fade-Up), deshalb übernimmt `.tp-chart-panel-inner` alles Sichtbare. */
.tp-chart-panel { position: relative; height: 420px; perspective: 1400px; }
@media (max-width: 980px) { .tp-chart-panel { height: 360px; } }
.tp-chart-panel-inner {
  position: absolute; inset: 0;
  border-radius: 26px; border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at 18% 12%, rgba(184,115,63,0.10), transparent 55%),
    linear-gradient(155deg, var(--bg-3) 0%, var(--bg-2) 100%);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,0.9), 0 24px 70px -30px rgba(184,115,63,0.18), 0 1px 0 rgba(255,255,255,0.06) inset;
  padding: 30px 26px 20px; overflow: hidden; display: flex; flex-direction: column;
  transform: rotateY(-6deg) rotateX(1.2deg);
  transition: transform 0.6s var(--ease-out);
}
.tp-chart-panel:hover .tp-chart-panel-inner { transform: rotateY(-2deg) rotateX(0.4deg); }
@media (prefers-reduced-motion: reduce) { .tp-chart-panel-inner { transform: none !important; transition: none; } }
.tp-chart-panel-inner::before {
  content: ''; position: absolute; left: 0; top: 10%; bottom: 10%; width: 2px; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(217,154,95,0.9) 35%, rgba(184,115,63,0.5) 70%, transparent);
  filter: blur(1px); box-shadow: 0 0 24px 4px rgba(184,115,63,0.35);
  pointer-events: none;
}
.tp-chart-panel-inner::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.05), transparent 34%);
}
.tp-chart-title {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 1.6px; color: var(--text-2); margin-bottom: 16px;
}
.tp-chart-legend { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 6px; }
.tp-chart-legend-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.tp-chart-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.tp-chart-dot[data-series="sla"]  { background: #199e70; }
.tp-chart-dot[data-series="wart"] { background: #3987e5; }
.tp-chart-dot[data-series="verf"] { background: #d95926; }
.tp-chart-svg { flex: 1; width: 100%; height: 100%; overflow: visible; }
.tp-chart-grid line { stroke: var(--border); stroke-width: 1; }
.tp-chart-ylabels text, .tp-chart-xlabels text {
  font-family: var(--font-mono); font-size: 9.5px; fill: var(--text-3);
}
.tp-chart-ylabels text { text-anchor: end; }
.tp-chart-xlabels text { text-anchor: middle; }
.tp-chart-line { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tp-chart-line[data-series="sla"]  { stroke: #199e70; }
.tp-chart-line[data-series="wart"] { stroke: #3987e5; }
.tp-chart-line[data-series="verf"] { stroke: #d95926; }
@media (prefers-reduced-motion: reduce) { .tp-chart-line { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; } }

/* ── SECTION 5: Praxis-Zitat ───────────────────────────────────────────── */
.tp-quote {
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.28; letter-spacing: -0.5px; color: var(--text-0);
  max-width: 18ch;
}
.tp-quote-source {
  margin-top: 30px; font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 1.6px; color: var(--text-3);
}

/* ── SECTION 6: Vorher/Nachher ─────────────────────────────────────────── */
.tp-compare-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; }
@media (max-width: 720px) { .tp-compare-lists { grid-template-columns: 1fr; } }
.tp-compare-col-label {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 1.8px; margin-bottom: 20px;
}
.tp-compare-col--before .tp-compare-col-label { color: var(--text-3); }
.tp-compare-col--after .tp-compare-col-label { color: var(--accent); }
.tp-compare-item {
  padding: 16px 0; border-top: 1px solid var(--border); font-size: 15px;
}
.tp-compare-col--before .tp-compare-item { color: var(--text-2); }
.tp-compare-col--after .tp-compare-item { color: var(--text-0); font-weight: 500; }
.tp-compare-item:last-child { border-bottom: 1px solid var(--border); }

.tp-slider {
  position: relative; height: 460px; border-radius: 26px; overflow: hidden;
  margin-top: 64px; border: 1px solid var(--border-strong); user-select: none;
  touch-action: pan-y;
}
@media (max-width: 720px) { .tp-slider { height: 300px; } }
.tp-slider-side { position: absolute; inset: 0; background: var(--bg-2); }
.tp-slider-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-slider-after { clip-path: inset(0 0 0 50%); }

.tp-slider-label {
  position: absolute; top: 20px; left: 20px; z-index: 1;
  display: flex; flex-direction: column; gap: 3px;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(10,10,11,0.6); backdrop-filter: blur(6px);
}
.tp-slider-label--after { left: auto; right: 20px; align-items: flex-end; }
.tp-slider-tag {
  font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase;
  letter-spacing: 1.6px; color: var(--text-3);
}
.tp-slider-label--after .tp-slider-tag { color: var(--accent); }
.tp-slider-cap { font-size: 13px; font-weight: 600; color: var(--text-1); }
.tp-slider-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 0;
  transform: translateX(-50%);
}
.tp-slider-handle::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 1px;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
}
.tp-slider-grip {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  gap: 4px; cursor: ew-resize; box-shadow: 0 8px 24px -6px rgba(0,0,0,0.5);
}
.tp-slider-grip svg { width: 13px; height: 13px; color: var(--bg); }

/* ── Abschluss — Karten-Layout wie die übrigen Sektionen (Text links, Bild-
   Karte rechts), statt der vorherigen vollflächigen Bild-Variante. Eigener
   CTA-Stil (`.tp-cta-outline`, umrandet statt gefüllt) bleibt erhalten. ────── */
.tp-outro-inner { max-width: 30rem; }
.tp-outro-inner .tp-h1 { max-width: 15ch; }
.tp-outro-inner .tp-lead { margin: 26px 0 40px; max-width: 42ch; }
.tp-outro-actions { display: flex; justify-content: flex-start; }
.tp-ph-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }

.tp-cta-outline {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-mono); font-weight: 600; font-size: 12px;
  letter-spacing: 1.8px; text-transform: uppercase; color: var(--text-0);
  border: 1px solid var(--border-strong); padding: 17px 28px;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.tp-cta-outline:hover { border-color: var(--accent); background: rgba(184,115,63,0.08); }
.tp-cta-outline svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease-out); }
.tp-cta-outline:hover svg { transform: translateX(3px); }

/* ── Reveal-Utility (generisch, GSAP setzt Startzustand via JS) ────────── */
.tp-reveal { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .tp-reveal, .tp-story-item, .tp-process-step { opacity: 1 !important; transform: none !important; }
  .tp-ph { transform: none !important; }
}
