/* ═══════════════════════════════════════════════════════════════════════════════
   GTMX – rebuilt GTM pages (08.11.2026, TACOBITE look chosen 09.11.), loaded only by the
   previews /gtm-engineering/neu, /en/gtm-engineering/new and /gtm-engineering/signal-engine-neu.
   Loaded after style.css + gtm.css. Everything is scoped to body.gtmx.
   ═══════════════════════════════════════════════════════════════════════════════ */

.gtmx {
  --gx-bw: 3px;
  --gx-border: var(--gx-bw) solid var(--dark);
  --gx-shadow: 8px 8px 0 var(--dark);
  --gx-radius: 0px;
  --gx-cold: #dcdcdc;
  --gx-ink-soft: var(--gray-70);
  --gx-panel: var(--white);
  --gx-on-dark: rgba(255, 255, 255, 0.85);
}

/* shared bits */
.gtmx .gx-mono { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gx-ink-soft); margin: 0; }
.gtmx .gx-line-meat { color: var(--meat); }
.gtmx .gx-line-guac { color: var(--guac); }
.gtmx .gx-line-mais { color: var(--mais); }
.gtmx .gx-dot { display: inline-block; width: 10px; height: 10px; flex: none; background: var(--gx-cold); }
.gtmx .gx-dot--hot { background: var(--meat); }
.gtmx .gx-dot--warm { background: var(--cheese); }
.gtmx .gx-badge { display: inline-block; font-family: var(--font-mono); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border: 2px solid var(--dark); background: var(--white); color: var(--dark); }
.gtmx .gx-badge--hot { background: var(--meat); border-color: var(--meat); color: var(--white); }
.gtmx .gx-badge--warm { box-shadow: inset 10px 0 0 -2px var(--cheese); padding-left: 16px; }
.gtmx .gx-badge--cold { color: var(--gray-70); border-color: #999; }
.gtmx .gx-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 7px; border: 1.5px solid var(--dark); white-space: nowrap; }
.gtmx .gx-tag--hot { border-color: var(--meat); color: var(--meat); }
.gtmx .gx-on-dark-lead { color: var(--gx-on-dark); max-width: 70ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; margin-top: 20px; }
.gtmx .gx-link-row { margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.gtmx .gx-row-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 56px; }
.gtmx .gx-row-between .gtm-note { max-width: 60ch; margin: 0; }
.gtmx .gx-cta-btn { font-size: 2rem; padding: 28px 56px; }

/* ── 1 HERO ─────────────────────────────────────────────── */
.gtmx .gx-hero { padding-bottom: 96px; }
.gx-hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.gtmx .gx-h1 { font-size: clamp(3rem, 8vw, 7rem); line-height: 0.9; margin: 12px 0 28px; }
.gtmx .gx-h1-accent { color: var(--meat); }
.gx-hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; max-width: 54ch; }
.gx-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 32px; }
.gx-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 32px 0 0; padding: 0; }
.gx-trust li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.gx-trust li::before { content: ''; width: 10px; height: 10px; background: var(--dark); flex: none; }

.gx-market { margin: 0; background: var(--gx-panel); border: var(--gx-border); box-shadow: var(--gx-shadow); border-radius: var(--gx-radius); }
.gx-market-head, .gx-market-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 16px 20px; }
.gx-market-head { border-bottom: var(--gx-border); }
.gx-market-foot { border-top: var(--gx-border); }
.gx-market-title { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); text-transform: uppercase; line-height: 1; margin: 0; }
.gx-market-stage { position: relative; padding: 20px; }
.gx-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 3px; }
.gx-c { aspect-ratio: 1; background: var(--gx-cold); transition: background-color 0.5s ease, transform 0.5s ease; }
.gx-c--warm { background: var(--cheese); }
.gx-c--hot { background: var(--meat); }
.gx-c--sig { background: var(--mais); transform: scale(1.25); }
.gx-c--focus { position: relative; z-index: 1; animation: gx-focus 12s infinite; }
.gx-c--f1 { animation-delay: 4s; }
.gx-c--f2 { animation-delay: 8s; --gx-fc: var(--cheese); }
@keyframes gx-focus {
  0%, 3% { background: var(--gx-cold); box-shadow: none; }
  6%, 30% { background: var(--gx-fc, var(--meat)); box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--dark); }
  36%, 100% { background: var(--gx-fc, var(--meat)); box-shadow: none; }
}
.gx-legend { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.gx-key { width: 12px; height: 12px; display: inline-block; margin-left: 8px; }
.gx-key:first-child { margin-left: 0; }
.gx-key--cold { background: var(--gx-cold); }
.gx-key--warm { background: var(--cheese); }
.gx-key--hot { background: var(--meat); }

.gx-callout {
  position: absolute; z-index: 2; width: min(250px, 62%);
  left: calc(20px + (100% - 40px) * var(--x) / 100%); top: calc(20px + (100% - 40px) * var(--y) / 100%);
  background: var(--white); border: var(--gx-border); box-shadow: 5px 5px 0 var(--dark); border-radius: var(--gx-radius);
  padding: 12px 14px; opacity: 0; pointer-events: none;
  animation: gx-callout 12s infinite;
}
/* position the box away from its cell: tl → right/below, tr → left, bl → right/above */
.gx-callout--tl { --tx: 18px; --ty: 18px; }
.gx-callout--tr { --tx: calc(-100% - 18px); --ty: -50%; }
.gx-callout--bl { --tx: 18px; --ty: calc(-100% - 18px); }
.gx-callout { transform: translate(var(--tx), var(--ty)); }
.gx-callout--n1 { animation-delay: 4s; }
.gx-callout--n2 { animation-delay: 8s; }
@keyframes gx-callout {
  0%, 4% { opacity: 0; transform: translate(var(--tx), calc(var(--ty) + 8px)); }
  7%, 30% { opacity: 1; transform: translate(var(--tx), var(--ty)); }
  34%, 100% { opacity: 0; transform: translate(var(--tx), var(--ty)); }
}
.gx-callout-type { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 6px; }
.gx-callout-text { font-weight: 700; font-size: 0.92rem; line-height: 1.35; margin: 0; }
.gx-callout-act { font-size: 0.82rem; color: var(--gray-70); margin: 4px 0 0; }

/* ── 2 PROOF ────────────────────────────────────────────── */
.gtmx .gx-proof { padding-block: 80px; }
.gx-proof-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 48px; align-items: end; }
.gx-proof-note { color: var(--gx-on-dark); line-height: 1.55; margin-top: 12px; }
.gx-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; }
.gx-facts div { border-left: 3px solid var(--mais); padding: 4px 24px; }
.gx-facts dd { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; color: var(--mais); margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.gx-facts dt { color: var(--white); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.5; }
.gx-quote { margin: 56px 0 0; max-width: 72ch; border-left: 6px solid var(--mais); padding: 8px 0 8px 24px; }
.gx-quote blockquote { margin: 0; }
.gx-quote p { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.55; color: var(--white); }
.gx-quote figcaption { margin-top: 14px; font-family: var(--font-mono); font-size: 0.85rem; color: var(--gx-on-dark); }
.gx-quote figcaption strong { color: var(--mais); }

/* ── 3 FUNNEL ───────────────────────────────────────────── */
.gx-funnel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 56px; border: var(--gx-border); box-shadow: 8px 8px 0 var(--meat); border-radius: var(--gx-radius); background: var(--white); }
.gx-stage { position: relative; padding: 24px 22px 28px; border-right: var(--gx-border); display: flex; flex-direction: column; transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: calc(var(--i) * 0.35s); }
.gx-stage:last-child { border-right: none; background: var(--mais); }
.gx-stage:not(:last-child)::after {
  content: '→'; position: absolute; right: -17px; top: 120px; z-index: 2;
  width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--white); border: var(--gx-border); font-weight: 700; border-radius: var(--gx-radius);
}
.gx-stage-dots { height: 200px; display: flex; flex-wrap: wrap; align-content: flex-end; gap: 3px; }
.gx-stage-dots span { width: 7px; height: 7px; background: var(--gx-cold); }
.gx-stage-dots span.is-warm { background: var(--cheese); }
.gx-stage-dots span.is-hot { width: 18px; height: 18px; background: var(--meat); }
.gx-stage--3 .gx-stage-dots { gap: 6px; }
.gx-stage-num { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; margin: 20px 0 6px; font-variant-numeric: tabular-nums; }
.gx-stage-label { font-weight: 700; font-size: 1.05rem; margin: 0; }
.gx-stage-sub { color: var(--gray-70); font-size: 0.9rem; line-height: 1.45; margin: 4px 0 0; }
.gx-minilist { height: 200px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.gx-minilist p:not(.gx-mono) { display: grid; grid-template-columns: 10px 1fr; gap: 2px 8px; align-items: center; background: var(--white); border: 2px solid var(--dark); padding: 7px 9px; margin: 0; font-size: 0.82rem; font-weight: 700; line-height: 1.25; border-radius: var(--gx-radius); }
.gx-minilist p span:last-child { grid-column: 2; font-weight: 400; color: var(--gray-70); font-size: 0.76rem; }
.gx-minilist .gx-mono { color: var(--dark); }
.gx-stage--list .gx-stage-sub { color: var(--dark); }
.gtmx .gx-funnel-foot { margin-top: 28px; }
.gx-funnel.is-armed .gx-stage { opacity: 0; transform: translateY(18px); }
.gx-funnel.is-armed.is-in .gx-stage { opacity: 1; transform: none; }

/* ── 4 ENGINE ───────────────────────────────────────────── */
.gx-engine {
  display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(220px, 0.9fr) 72px minmax(0, 1fr);
  grid-template-rows: auto auto; align-items: center; margin-top: 56px;
}
.gx-engine-col { display: flex; flex-direction: column; gap: 10px; }
.gtmx .gx-engine-cap { color: var(--mais); margin-bottom: 4px; }
.gx-chip { display: block; border: 2px solid rgba(255, 255, 255, 0.55); color: var(--white); padding: 9px 14px; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; border-radius: var(--gx-radius); animation: gx-chip 7s infinite; animation-delay: calc(var(--i) * 1s); }
@keyframes gx-chip { 0%, 8% { border-color: var(--mais); color: var(--mais); } 16%, 100% { border-color: rgba(255, 255, 255, 0.55); color: var(--white); } }
.gx-engine-wire { height: 4px; position: relative; overflow: hidden; }
.gx-engine-wire span { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--mais) 0 12px, transparent 12px 24px); background-size: 24px 4px; animation: gx-wire 0.9s linear infinite; }
@keyframes gx-wire { to { background-position: 24px 0; } }
.gx-engine-core { background: var(--mais); color: var(--dark); border: var(--gx-bw) solid var(--white); padding: 28px 24px; text-align: center; border-radius: var(--gx-radius); }
.gx-engine-core .gx-mono { color: var(--dark); }
.gx-core-name { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; margin: 8px 0 18px; }
.gx-gauge { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; height: 18px; border: 2px solid var(--dark); padding: 3px; background: var(--white); }
.gx-gauge span:nth-child(1) { background: var(--gx-cold); }
.gx-gauge span:nth-child(2) { background: var(--cheese); }
.gx-gauge span:nth-child(3) { background: var(--meat); }
.gx-gauge i { position: absolute; top: -8px; bottom: -8px; width: 4px; background: var(--dark); left: 15%; animation: gx-needle 6s ease-in-out infinite; }
@keyframes gx-needle { 0%, 100% { left: 14%; } 40%, 60% { left: 84%; } }
.gx-gauge-labels { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 8px; }
.gx-core-note { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 16px 0 0; }
.gx-out { background: var(--white); color: var(--dark); border: var(--gx-bw) solid var(--white); box-shadow: 6px 6px 0 var(--mais); padding: 12px 16px; display: grid; gap: 2px; border-radius: var(--gx-radius); }
.gx-out strong { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: 1.15rem; letter-spacing: 0.02em; }
.gx-out span { font-size: 0.85rem; color: var(--gray-70); }
.gx-loop { grid-column: 3 / 6; grid-row: 2; margin-top: 18px; border: 2px dashed var(--mais); border-top: none; height: 44px; display: flex; align-items: flex-end; justify-content: center; }
.gx-loop span { transform: translateY(50%); background: var(--dark); color: var(--mais); padding: 0 12px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.gx-library { margin-top: 64px; }
.gx-library .gx-mono { color: var(--mais); }
.gx-library ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; }
.gx-library li { border: 1.5px solid rgba(255, 255, 255, 0.4); color: var(--gx-on-dark); padding: 6px 12px; font-size: 0.9rem; border-radius: var(--gx-radius); }

/* ── 5 STEPS (tabs) ─────────────────────────────────────── */
.gx-steps { margin-top: 48px; }
.gx-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gx-tab {
  text-align: left; cursor: pointer; background: var(--white); color: var(--dark);
  border: var(--gx-border); padding: 14px 16px; font-family: var(--font-display); font-size: clamp(1rem, 1.4vw, 1.25rem);
  text-transform: uppercase; line-height: 1.1; display: grid; gap: 6px; border-radius: var(--gx-radius);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.gx-tab span { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--gray-70); }
.gx-tab:hover { box-shadow: 4px 4px 0 var(--dark); transform: translate(-2px, -2px); }
.gx-tab[aria-selected='true'] { background: var(--dark); color: var(--white); box-shadow: 6px 6px 0 var(--guac); transform: none; }
.gx-tab[aria-selected='true'] span { color: var(--mais); }
.gx-tab:focus-visible { outline: 3px solid var(--mais); outline-offset: 3px; }
.gx-progress { height: 4px; background: #e6e6e6; margin: 18px 0 0; overflow: hidden; }
.gx-progress i { display: block; height: 100%; width: 100%; background: var(--guac); transform-origin: left; transform: scaleX(0); }
.gx-steps.is-cycle .gx-progress i { animation: gx-progress var(--gx-dur, 7s) linear forwards; animation-play-state: paused; }
.gx-steps.is-cycle.is-playing .gx-progress i { animation-play-state: running; }
@keyframes gx-progress { to { transform: scaleX(1); } }
.gx-steps:not(.is-ready) .gx-tabs, .gx-steps:not(.is-ready) .gx-progress { display: none; }
.gx-panels { margin-top: 40px; }
.gx-steps:not(.is-ready) .gx-panel + .gx-panel { margin-top: 64px; }
.gx-panel { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.gx-panel[hidden] { display: none; }
.gx-steps.is-ready .gx-panel:not([hidden]) { animation: gx-panel-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes gx-panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.gx-panel-text h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; margin-bottom: 18px; }
.gx-panel-text p { font-size: 1.1rem; line-height: 1.6; color: var(--gray-70); }

.gx-ui { background: var(--gx-panel); border: var(--gx-border); box-shadow: 8px 8px 0 var(--guac); border-radius: var(--gx-radius); overflow: hidden; }
.gx-ui-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--dark); color: var(--white); padding: 10px 16px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.gx-ui-bar .gx-mono { color: rgba(255, 255, 255, 0.65); font-size: 0.68rem; }
.gx-feed { list-style: none; margin: 0; padding: 0; }
.gx-feed li { display: grid; grid-template-columns: 118px 1fr; gap: 4px 12px; align-items: center; padding: 14px 16px; border-bottom: 2px solid #ececec; border-left: 6px solid transparent; }
.gx-feed li.is-active { border-left-color: var(--mais); background: #fffbea; }
.gx-feed strong { font-size: 0.95rem; }
.gx-feed em { grid-column: 2; font-style: normal; color: var(--gray-70); font-size: 0.88rem; }
.gx-temp { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; }
.gx-temp-bar { height: 12px; border: 2px solid var(--dark); background: linear-gradient(90deg, var(--gx-cold), var(--cheese), var(--meat)); position: relative; }
.gx-temp-bar i { position: absolute; inset: 0 0 0 auto; width: 100%; background: var(--white); transform-origin: right; animation: gx-heat 1.6s 0.3s ease-out forwards; }
@keyframes gx-heat { to { transform: scaleX(0.08); } }
.gx-roles { list-style: none; margin: 0; padding: 0; }
.gx-roles li { display: grid; grid-template-columns: 32px 1fr; gap: 2px 12px; align-items: center; padding: 13px 16px; border-bottom: 2px solid #ececec; }
.gx-roles li > span { grid-row: span 2; width: 32px; height: 32px; display: grid; place-items: center; font-weight: 700; border: 2px solid var(--dark); }
.gx-roles strong { font-size: 0.95rem; }
.gx-roles em { font-style: normal; color: var(--gray-70); font-size: 0.86rem; }
.gx-role-ok { background: var(--guac); color: var(--white); border-color: var(--guac) !important; }
.gx-role-new { background: var(--mais); }
.gx-role-miss { background: var(--meat); color: var(--white); border-color: var(--meat) !important; }
.gx-mail { padding: 20px; display: grid; gap: 10px; }
.gx-mail > p { margin: 0; font-size: 0.95rem; display: flex; gap: 12px; align-items: baseline; border-bottom: 2px solid #ececec; padding-bottom: 10px; }
.gx-mail > p .gx-mono { width: 64px; flex: none; }
.gx-mail-body { display: grid; gap: 10px; padding: 8px 0 4px; }
.gx-mail-body span { height: 10px; background: #e6e6e6; }
.gx-mail-body span.is-short { width: 55%; }
.gx-mail-actions { display: flex; gap: 12px; margin-top: 8px; }
.gx-fake-btn { font-family: var(--font-display); text-transform: uppercase; font-size: 1rem; padding: 10px 18px; border: var(--gx-border); background: var(--white); border-radius: var(--gx-radius); }
.gx-fake-btn--go { background: var(--mais); box-shadow: 4px 4px 0 var(--dark); animation: gx-pulse 2.4s ease-in-out infinite; }
@keyframes gx-pulse { 50% { box-shadow: 4px 4px 0 var(--dark), 0 0 0 6px rgba(245, 197, 24, 0.35); } }
.gx-record { margin: 0; }
.gx-record div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 13px 16px; border-bottom: 2px solid #ececec; align-items: center; }
.gx-record dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-70); }
.gx-record dd { margin: 0; font-weight: 700; font-size: 0.95rem; }
.gx-spark { display: inline-flex; align-items: flex-end; gap: 3px; height: 26px; }
.gx-spark i { width: 8px; height: var(--h); background: var(--meat); }

/* ── 6 QUEUE / USE CASES ────────────────────────────────── */
.gx-queue { margin-top: 48px; border: var(--gx-border); box-shadow: 8px 8px 0 var(--guac); background: var(--gx-panel); border-radius: var(--gx-radius); overflow: hidden; }
.gx-queue-scroll { overflow-x: auto; }
.gx-table { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 0.98rem; }
.gx-table th, .gx-table td { text-align: left; padding: 15px 18px; border-bottom: 2px solid #ececec; vertical-align: middle; }
.gx-table thead th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-70); font-weight: 700; border-bottom: var(--gx-border); }
.gx-table tbody tr:last-child th, .gx-table tbody tr:last-child td { border-bottom: none; }
.gx-table tbody tr { transition: background-color 0.2s ease; }
.gx-table tbody tr:hover { background: #fffbea; }
.gx-table tbody th { font-weight: 700; }
.gx-table td { color: var(--gray-70); }
.gx-table td.gx-next { color: var(--dark); font-weight: 700; white-space: nowrap; }
.gx-uc { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin: 56px 0 0; padding: 0; }
.gx-uc li { display: grid; gap: 6px; align-content: start; }
.gx-uc img { width: 56px; height: 56px; margin-bottom: 6px; }
.gx-uc strong { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: 1.3rem; }
.gx-uc span { color: var(--gray-70); line-height: 1.45; }

/* ── 7 TIMELINE + CONTROL ───────────────────────────────── */
.gx-gantt { margin-top: 56px; --units: 8; }
.gx-gantt-scale, .gx-gantt-row { display: grid; grid-template-columns: 280px 1fr; gap: 0; align-items: center; }
.gx-gantt-label { padding-right: 24px; }
.gx-gantt-scale { grid-template-columns: 280px repeat(8, 1fr); gap: 0; margin-bottom: 10px; }
.gx-gantt-scale span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); border-left: 1px solid rgba(255, 255, 255, 0.2); padding-left: 8px; }
.gx-gantt-scale span:first-child { grid-column: 2; }
.gx-gantt-row { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.gx-gantt-label { color: var(--white); font-weight: 700; margin: 0; display: grid; gap: 2px; }
.gx-gantt-label span { font-family: var(--font-mono); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mais); }
.gx-gantt-track { position: relative; height: 40px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px calc(100% / 8)); }
.gx-bar { position: absolute; top: 6px; bottom: 6px; left: calc(var(--s) / 8 * 100%); width: calc((var(--e) - var(--s)) / 8 * 100%); transform-origin: left; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); border-radius: var(--gx-radius); }
.gx-bar--check { background: var(--mais); }
.gx-bar--setup { background: var(--white); transition-delay: 0.3s; }
.gx-bar--run { background: repeating-linear-gradient(45deg, var(--guac) 0 12px, #4c7525 12px 24px); transition-delay: 0.6s; }
.gx-flag { position: absolute; left: calc(var(--s) / 8 * 100%); top: -16px; transform: translateX(-4px); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark); background: var(--mais); padding: 2px 6px; white-space: nowrap; }
.gx-gantt.is-armed .gx-bar { transform: scaleX(0); }
.gx-gantt.is-armed.is-in .gx-bar { transform: scaleX(1); }
.gx-control { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 72px 0 0; padding: 0; }
.gx-control li { border-top: 3px solid var(--mais); padding-top: 18px; display: grid; gap: 8px; }
.gx-control strong { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: 1.35rem; color: var(--white); line-height: 1.1; }
.gx-control span { color: var(--gx-on-dark); line-height: 1.5; }

/* ── 8 COMPARE ──────────────────────────────────────────── */
.gx-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 48px 0 24px; border: var(--gx-border); border-radius: var(--gx-radius); }
.gx-prices > div { padding: 22px 24px; border-right: var(--gx-border); }
.gx-prices > div:last-child { border-right: none; }
.gx-prices dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.gx-prices dd { margin: 6px 0 0; display: grid; gap: 4px; }
.gx-prices strong { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1; }
.gx-prices span { color: var(--gray-70); }
.gtmx .gx-compare { min-width: 1120px; }
.gtmx .gx-compare tbody th { width: 15%; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  .gx-uc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gx-engine { grid-template-columns: minmax(0, 1fr) 48px minmax(200px, 0.9fr) 48px minmax(0, 1fr); }
}
@media (max-width: 1024px) {
  .gx-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .gx-proof-grid { grid-template-columns: 1fr; gap: 32px; }
  .gx-funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-stage { border-bottom: var(--gx-border); }
  .gx-stage:nth-child(2n) { border-right: none; }
  .gx-stage:last-child { grid-column: 1 / -1; border-bottom: none; }
  .gx-stage::after { display: none; }
  .gx-engine { grid-template-columns: 1fr; gap: 0; }
  .gx-engine-wire { width: 4px; height: 44px; justify-self: center; }
  .gx-engine-wire span { background: repeating-linear-gradient(180deg, var(--mais) 0 12px, transparent 12px 24px); background-size: 4px 24px; animation-name: gx-wire-v; }
  @keyframes gx-wire-v { to { background-position: 0 24px; } }
  .gx-engine-in { flex-direction: row; flex-wrap: wrap; }
  .gx-engine-cap { width: 100%; }
  .gx-engine-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-engine-out .gx-engine-cap { grid-column: 1 / -1; }
  .gx-loop { grid-column: 1; grid-row: auto; border: 2px dashed var(--mais); height: auto; padding: 12px; margin-top: 24px; align-items: center; }
  .gx-loop span { transform: none; background: none; text-align: center; }
  .gx-panel { grid-template-columns: 1fr; gap: 28px; }
  .gx-control { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .gtmx .gx-hero { padding-bottom: 64px; }
  .gx-market-stage { padding: 12px; }
  .gx-grid { gap: 2px; }
  .gx-callout { width: min(200px, 70%); padding: 9px 10px; left: calc(12px + (100% - 24px) * var(--x) / 100%); top: calc(12px + (100% - 24px) * var(--y) / 100%); }
  .gx-callout-text { font-size: 0.8rem; }
  .gx-callout-act { font-size: 0.74rem; }
  .gx-callout--tr { --tx: calc(-100% - 10px); }
  .gx-trust { flex-direction: column; gap: 10px; }
  .gtmx .gx-h1 { margin-top: 20px; line-height: 0.95; }
  .gx-feed li { grid-template-columns: 1fr; }
  .gx-feed li .gx-tag { justify-self: start; }
  .gx-feed em { grid-column: 1; }
  .gx-facts { grid-template-columns: 1fr; gap: 24px; }
  .gx-funnel { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--meat); }
  .gx-stage { border-right: none !important; }
  .gx-stage-dots, .gx-minilist { height: auto; }
  .gx-stage-dots span { width: 6px; height: 6px; }
  .gx-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gx-tab { padding: 10px 12px; font-size: 0.95rem; }
  .gx-ui, .gx-queue { box-shadow: 6px 6px 0 var(--guac); }
  .gx-record div { grid-template-columns: 110px 1fr; }
  .gx-uc { grid-template-columns: 1fr; gap: 20px; }
  .gx-uc li { grid-template-columns: 48px 1fr; column-gap: 16px; }
  .gx-uc img { grid-row: span 2; width: 48px; height: 48px; margin: 0; }
  .gx-gantt-scale { display: none; }
  .gx-gantt-row { grid-template-columns: 1fr; gap: 10px; }
  .gx-control { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  .gx-prices { grid-template-columns: 1fr; }
  .gx-prices > div { border-right: none; border-bottom: var(--gx-border); }
  .gx-prices > div:last-child { border-bottom: none; }
  .gtmx .gx-compare { min-width: 0; }
  .gtmx .gx-cta-btn { font-size: 1.5rem; padding: 20px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .gx-c--focus, .gx-chip, .gx-engine-wire span, .gx-gauge i, .gx-fake-btn--go { animation: none; }
  .gx-c--focus { background: var(--gx-fc, var(--meat)); }
  .gx-callout { animation: none; opacity: 0; }
  .gx-callout--n0 { opacity: 1; }
  .gx-temp-bar i { animation: none; transform: scaleX(0.08); }
  .gx-stage, .gx-bar { transition: none; }
}

/* ═══ SIGNAL-ENGINE PAGE (09.11.2026) ═══════════════════════════════════════════ */
/* hero: temperature of one account over 21 days */
.gx-heat { margin: 0; background: var(--white); border: var(--gx-border); box-shadow: var(--gx-shadow); }
.gx-heat-stage { --pt: 140px; --bh: 220px; position: relative; padding: var(--pt) 20px 20px; }
.gx-heat-bars { display: grid; grid-template-columns: repeat(21, minmax(0, 1fr)); align-items: end; gap: 4px; height: var(--bh); border-bottom: 3px solid var(--dark); }
.gx-hb { display: block; height: var(--h); background: var(--gx-cold); transform-origin: bottom; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--i) * 0.06s); }
.gx-hb--warm { background: var(--cheese); }
.gx-hb--hot { background: var(--meat); }
/* pin: bottom edge 14px above the chart (+ optional lift), connector runs down to the top of its bar */
.gx-pin {
  --gap: calc(14px + var(--lift, 0px));
  position: absolute; left: calc(20px + (100% - 40px) * var(--x) / 100%); bottom: calc(20px + var(--bh) + var(--gap));
  transform: translateX(-50%); width: max-content; max-width: 118px; text-align: center;
  background: var(--white); border: 2px solid var(--dark); padding: 6px 8px; box-shadow: 4px 4px 0 var(--dark);
  transition: opacity 0.4s ease, transform 0.4s ease; transition-delay: calc(0.9s + var(--k) * 0.45s);
}
.gx-pin::after { content: ''; position: absolute; left: 50%; top: calc(100% + 2px); width: 2px; height: calc(var(--gap) + var(--bh) * (1 - var(--hv))); background: var(--dark); }
.gx-pin-day { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-70); margin: 0; }
.gx-pin-text { font-weight: 700; font-size: 0.82rem; line-height: 1.25; margin: 2px 0 0; }
.gx-pin-note { font-size: 0.72rem; color: var(--gray-70); margin: 2px 0 0; }
.gx-heat-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 16px 20px; border-top: var(--gx-border); }
.gx-heat-foot strong { white-space: nowrap; }
.gx-heat.is-armed .gx-hb { transform: scaleY(0); }
.gx-heat.is-armed .gx-pin { opacity: 0; transform: translate(-50%, 8px); }
.gx-heat.is-armed.is-in .gx-hb { transform: none; }
.gx-heat.is-armed.is-in .gx-pin { opacity: 1; transform: translateX(-50%); }

/* signal types */
.gx-types { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin: 56px 0 0; padding: 0; }
.gx-types > li { border: var(--gx-border); box-shadow: 6px 6px 0 var(--guac); padding: 20px; display: grid; align-content: start; gap: 10px; background: var(--white); }
.gx-types > li.is-own { box-shadow: 6px 6px 0 var(--mais); }
.gx-types-head { display: flex; justify-content: space-between; align-items: center; margin: 0; }
.gx-types h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.05; margin: 0; }
.gx-types ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gx-types ul li { display: grid; grid-template-columns: 10px 1fr; gap: 10px; color: var(--gray-70); font-size: 0.95rem; line-height: 1.4; }
.gx-types ul li::before { content: ''; width: 10px; height: 10px; background: var(--guac); margin-top: 6px; }
.gx-types > li.is-own ul li::before { background: var(--dark); }
.gx-rule { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; margin-top: 48px; border: var(--gx-border); box-shadow: 8px 8px 0 var(--meat); padding: 24px; max-width: 980px; }
.gx-rule-mark { width: 56px; height: 56px; display: grid; place-items: center; background: var(--meat); color: var(--white); font-family: var(--font-display); font-size: 2rem; margin: 0; }
.gx-rule p:last-child { margin: 0; font-size: 1.08rem; line-height: 1.6; }
.gx-library--light .gx-mono { color: var(--dark); }
.gx-library--light li { border-color: var(--dark); color: var(--dark); }

/* scrollytelling */
.gx-story { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.gx-story-panel { position: sticky; top: 100px; display: grid; gap: 28px; }
.gx-story-head h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: 0.95; margin: 10px 0 0; }
.gx-story-head .gtm-label { margin: 0; }
.gx-story-steps { padding-top: 14vh; padding-bottom: 14vh; }
.gx-sp { background: var(--white); color: var(--dark); border: var(--gx-bw) solid var(--white); box-shadow: 8px 8px 0 var(--mais); }
.gx-sp-body { padding: 24px; display: grid; gap: 8px; }
.gx-sp-when { color: var(--dark); }
.gx-sp-gauge { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; height: 30px; border: 3px solid var(--dark); padding: 4px; margin-top: 8px; }
.gx-sp-gauge span:nth-child(1) { background: var(--gx-cold); }
.gx-sp-gauge span:nth-child(2) { background: var(--cheese); }
.gx-sp-gauge span:nth-child(3) { background: var(--meat); }
.gx-sp-gauge i { position: absolute; top: -10px; bottom: -10px; width: 6px; background: var(--dark); left: var(--needle, 10%); transform: translateX(-50%); transition: left 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.gx-sp-labels { margin-bottom: 8px; }
.gx-sp-temp { margin: 4px 0 8px; }
.gx-sp-temp .gx-badge { font-size: 0.9rem; padding: 6px 12px; transition: background-color 0.3s ease, color 0.3s ease; }
.gx-sp[data-temp='hot'] .gx-badge { background: var(--meat); border-color: var(--meat); color: var(--white); }
.gx-sp[data-temp='warm'] .gx-badge { box-shadow: inset 12px 0 0 -2px var(--cheese); padding-left: 22px; }
.gx-sp[data-temp='cold'] .gx-badge { color: var(--gray-70); border-color: #999; }
.gx-sp-next { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.05; margin: 0; }
.gx-story-steps { list-style: none; margin: 0; padding: 0; }
.gx-step { padding: 28px 0 28px 28px; border-left: 3px solid rgba(255, 255, 255, 0.2); min-height: 38vh; display: flex; flex-direction: column; justify-content: center; transition: border-color 0.3s ease, opacity 0.3s ease; }
.gx-story.is-ready .gx-step { opacity: 0.4; }
.gx-story.is-ready .gx-step.is-active { opacity: 1; border-left-color: var(--mais); }
.gx-step-when { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mais); margin: 0 0 10px; }
.gx-step h3 { color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.05; margin: 0 0 12px; }
.gx-step p:last-child { color: var(--gx-on-dark); font-size: 1.08rem; line-height: 1.6; max-width: 52ch; margin: 0; }
.gtmx .gx-story-foot { color: rgba(255, 255, 255, 0.6); margin-top: 32px; }

/* learning loop */
.gx-cycle { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin: 56px 0 0; padding: 0; position: relative; }
.gx-cycle::after { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: calc(100% + 18px); height: 34px; border: 3px dashed var(--guac); border-top: none; }
.gtmx .gx-cycle-back { text-align: center; max-width: none; margin: 38px 0 0; position: relative; z-index: 1; }
.gx-cycle-back span { background: var(--white); color: var(--guac); padding: 0 12px; }
.gx-cycle li { position: relative; border: var(--gx-border); box-shadow: 6px 6px 0 var(--guac); padding: 22px; display: grid; gap: 8px; align-content: start; background: var(--white); transition: opacity 0.5s ease, transform 0.5s ease; transition-delay: calc(var(--i) * 0.25s); }
.gx-cycle li:not(:last-child)::after { content: '→'; position: absolute; right: -32px; top: 50%; transform: translateY(-50%); font-weight: 700; font-size: 1.4rem; }
.gx-cycle-num { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--gray-70); }
.gx-cycle strong { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: 1.5rem; }
.gx-cycle span:last-child { color: var(--gray-70); line-height: 1.45; }
.gx-cycle.is-armed li { opacity: 0; transform: translateY(14px); }
.gx-cycle.is-armed.is-in li { opacity: 1; transform: none; }
#lernen { padding-bottom: 160px; }

/* CRM */
.gx-crm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 48px; }
.gx-checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.gx-checks li { position: relative; padding-left: 40px; line-height: 1.5; color: var(--gray-70); }
.gx-checks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 26px; height: 26px; display: grid; place-items: center; background: var(--guac); color: var(--white); font-weight: 700; font-size: 0.85rem; }
.gx-checks strong { color: var(--dark); }

@media (max-width: 1200px) {
  .gx-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .gx-story { grid-template-columns: 1fr; gap: 24px; }
  .gx-story-panel { top: 72px; z-index: 3; gap: 12px; background: var(--dark); padding: 12px 0 14px; margin: 0 -20px; padding-inline: 20px; }
  .gx-story-head h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); margin-top: 4px; }
  .gx-story-head h2 br { display: none; }
  .gx-story-steps { padding-top: 0; }
  .gx-sp-body { padding: 14px 16px; grid-template-columns: 1fr auto; gap: 4px 12px; }
  .gx-sp-body > * { grid-column: 1 / -1; }
  .gx-sp-gauge { height: 20px; margin-top: 4px; }
  .gx-sp-next { font-size: 1.2rem; }
  .gx-step { min-height: 55vh; }
  .gx-cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-cycle li:nth-child(2)::after { display: none; }
  .gx-cycle::after, .gtmx .gx-cycle-back { display: none; }
  .gx-crm { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .gx-heat-stage { --pt: 170px; --bh: 150px; padding: var(--pt) 12px 12px; }
  .gx-heat-bars { gap: 2px; }
  .gx-pin { max-width: 100px; padding: 4px 6px; left: calc(12px + (100% - 24px) * var(--x) / 100%); bottom: calc(12px + var(--bh) + var(--gap)); }
  .gx-pin--1 { --lift: 64px; }
  .gx-pin--0 { transform: translateX(-30%); }
  .gx-pin--2 { transform: translateX(-70%); }
  .gx-heat.is-armed.is-in .gx-pin--0 { transform: translateX(-30%); }
  .gx-heat.is-armed.is-in .gx-pin--2 { transform: translateX(-70%); }
  .gx-pin--0::after { left: 30%; }
  .gx-pin--2::after { left: 70%; }
  .gx-pin-text { font-size: 0.72rem; }
  .gx-pin-note { display: none; }
  .gx-types { grid-template-columns: 1fr; }
  .gx-rule { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--meat); }
  .gx-cycle { grid-template-columns: 1fr; gap: 28px; }
  .gx-cycle li::after { display: none; }
  .gx-sp-labels, .gx-sp-body > .gx-mono:not(.gx-sp-when) { display: none; }
  .gx-step { padding-left: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .gx-hb, .gx-pin, .gx-cycle li, .gx-sp-gauge i { transition: none; }
}

/* Pinned story (09.11.2026): the whole section locks to the viewport (keeping its top padding) and
   scrolling steps through the account's story. Enabled by gtmx.js (.is-pinned); without JS, with
   reduced motion or on very short screens it stays a normal scrolling section. */
.gx-story-progress { display: none; }
body.gtm main > section.gx-story-section.is-pinned { padding: 0; height: calc(100vh + var(--n) * 70vh); content-visibility: visible; }
.is-pinned .gx-pinbox { position: sticky; top: var(--navh, 72px); height: calc(100vh - var(--navh, 72px)); padding-top: clamp(40px, 9vh, 120px); overflow: hidden; }
.is-pinned .gx-story-panel { position: static; }
.is-pinned .gx-story { align-items: center; }
.is-pinned .gx-story-steps { display: grid; padding: 0; }
.is-pinned .gx-step { grid-area: 1 / 1; min-height: 0; opacity: 0 !important; transform: translateY(28px); border-left-color: var(--mais); visibility: hidden; transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s; }
.is-pinned .gx-step.is-active { opacity: 1 !important; transform: none; visibility: visible; transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s; }
.is-pinned .gx-story-progress { display: flex; gap: 6px; margin-bottom: 20px; }
.is-pinned .gx-story-progress span { flex: 1; height: 4px; background: rgba(255, 255, 255, 0.2); transition: background-color 0.3s ease; }
.is-pinned .gx-story-progress span.is-done { background: var(--mais); }
.is-pinned .gx-story-foot { margin-top: 24px; }
@media (max-width: 1024px) {
  .is-pinned .gx-pinbox { padding-top: 24px; }
  .is-pinned .gx-story-panel { margin: 0; padding: 0; background: none; }
  .is-pinned .gx-story { gap: 16px; }
  .is-pinned .gx-step { padding: 8px 0 8px 18px; }
  .is-pinned .gx-step h3 { font-size: 1.5rem; margin-bottom: 8px; }
  .is-pinned .gx-step p:last-child { font-size: 0.98rem; line-height: 1.5; }
  .is-pinned .gx-story-progress { margin-bottom: 10px; }
  .is-pinned .gx-story-foot { display: none; }
}

/* panel extras: counter, growing temperature chart, continuous progress */
.gx-sp-top { display: flex; justify-content: space-between; align-items: baseline; margin: 0; }
.gtmx .gx-sp-count { color: var(--dark); font-weight: 700; }
.gx-sp-chart { display: grid; grid-template-columns: repeat(26, minmax(0, 1fr)); align-items: end; gap: 3px; height: 64px; border-bottom: 3px solid var(--dark); margin: 6px 0 4px; }
.gx-sp-chart .gx-hb { transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease; transition-delay: 0s; }
.gx-sp-chart .gx-hb.is-off { transform: scaleY(0); opacity: 0; }
.is-pinned .gx-step.is-past { transform: translateY(-28px); }
.is-pinned .gx-step.is-active > * { animation: gx-step-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.is-pinned .gx-step.is-active h3 { animation-delay: 0.05s; }
.is-pinned .gx-step.is-active p:last-child { animation-delay: 0.12s; }
@keyframes gx-step-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.is-pinned .gx-story-progress span { position: relative; overflow: hidden; background: rgba(255, 255, 255, 0.2); }
.is-pinned .gx-story-progress span::after { content: ''; position: absolute; inset: 0; background: var(--mais); transform-origin: left; transform: scaleX(var(--f, 0)); }
.is-pinned .gx-story-progress span.is-done { background: rgba(255, 255, 255, 0.2); }
.is-pinned .gx-sp { transition: box-shadow 0.4s ease; }
.is-pinned .gx-sp[data-temp='hot'] { box-shadow: 8px 8px 0 var(--meat); }
.is-pinned .gx-sp[data-temp='warm'] { box-shadow: 8px 8px 0 var(--cheese); }
@media (max-width: 800px) { .gx-sp-chart { height: 40px; gap: 2px; } }
@media (prefers-reduced-motion: reduce) { .is-pinned .gx-step.is-active > * { animation: none; } .gx-sp-chart .gx-hb { transition: none; } }

/* Tables ≤ 1024 px (09.11.2026): the weekly list and the comparison become cards from tablet width down,
   so nothing is cut off or needs sideways scrolling. */
@media (max-width: 1024px) {
  .gx-table { min-width: 0; }
  .gx-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .gx-table tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 16px; border-bottom: 2px solid #ececec; }
  .gx-table tbody th, .gx-table td { padding: 0; border: none; }
  .gx-table td.gx-why, .gx-table td.gx-next { grid-column: 1 / -1; }
  .gx-table td.gx-uccell { grid-row: 3; }

  .gtmx .gtm-table-wrap { overflow: visible; }
  .gtmx .gx-compare { min-width: 0; }
  .gtmx .gx-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .gtmx .gx-compare tbody tr { display: grid; border-bottom: var(--border); }
  .gtmx .gx-compare tbody tr:last-child { border-bottom: none; }
  .gtmx .gx-compare tbody th { width: auto; background: var(--dark); color: var(--white); border-bottom: none; }
  .gtmx .gx-compare td { display: grid; align-content: start; gap: 4px; border-bottom: 1px solid #d4d4d4; padding: 12px 20px; }
  .gtmx .gx-compare td::before { content: attr(data-label); font-family: var(--font-mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-70); }
  .gtmx .gx-compare td.is-us { border-left: none; border-bottom: none; background: var(--mais); }
  .gtmx .gx-compare td.is-us::before { color: var(--dark); }
}
@media (min-width: 801px) and (max-width: 1024px) {
  /* two answers per row on tablets */
  .gtmx .gx-compare tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gtmx .gx-compare tbody th, .gtmx .gx-compare td.is-us { grid-column: 1 / -1; }
  .gtmx .gx-compare td:nth-of-type(odd):not(.is-us) { border-right: 1px solid #d4d4d4; }
}
