/* TACOBITE GTM – loaded after style.css, only on /gtm-engineering/* pages.
   Rules: styleguide-gtm.md (60 % white, 30 % black, 10 % mais; meat and cheese only as
   account-temperature data). Tokens come from style.css – no new colours here. */

body.gtm { background-color: var(--white); }

/* ── NAV: black underline (meat means "heiß" in this area) ── */
.gtm-nav .nav-links a::after { background: var(--dark); }

/* ── LABELS ── */
.gtm-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.6;
  max-width: none;
  margin-bottom: 20px;
}
.gtm-label--on-dark { color: var(--mais); }
.gtm-small { font-size: 0.95rem; }

/* ── HERO ── */
/* Only heroes with the sample board end flush; article/report heroes keep the normal section padding */
.gtm-hero:has(.gtm-hero-grid) { padding-bottom: 0; }
.gtm-h1 { font-size: clamp(3rem, 10vw, 8rem); line-height: 0.9; }
.gtm-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 24px 0 96px;
}
.gtm-hero-copy { display: grid; gap: 36px; }
.gtm-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding-top: 8px; }
.gtm-textlink {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 2px solid var(--dark);
  padding-bottom: 2px;
}
.gtm-textlink:hover { border-bottom-color: transparent; }
.gtm-textlink--on-dark { color: var(--white); border-bottom-color: var(--mais); }

.gtm-ticks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.gtm-ticks li::before { content: '✓ '; }
.gtm-ticks--on-dark { flex-direction: column; color: var(--white); margin-top: 28px; }
.gtm-ticks--on-dark a { color: var(--white); }

/* ── SIGNAL BOARD (sample data) ── */
.signal-board {
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow);
}
.sb-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
  padding: 20px 24px 4px;
  border-bottom: var(--border);
}
.sb-title { font-family: var(--font-display); font-size: 1.8rem; text-transform: uppercase; line-height: 1; margin-bottom: 14px; }
.sb-head .gtm-label { margin-bottom: 14px; font-size: 0.8rem; }
.sb-rows { list-style: none; }
.sb-row { display: grid; gap: 6px; padding: 16px 24px; border-bottom: 2px solid var(--dark); }
.sb-row:last-child { border-bottom: none; }
.sb-main { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sb-account { font-weight: 700; font-size: 1.1rem; }
.sb-temp {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 2px solid var(--dark);
  white-space: nowrap;
}
.sb-temp--hot { background: var(--meat); color: var(--white); }
.sb-temp--warm::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--cheese); margin-right: 6px; }
.sb-temp--cold { color: var(--gray-70); }
.sb-signal { font-size: 1rem; color: var(--gray-70); max-width: none; }
.sb-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}
.sb-next { font-weight: 700; }
.sb-roles {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-70);
  margin-right: 8px;
}
.sb-spark { width: 70px; height: 24px; flex-shrink: 0; }
.sb-foot { padding: 12px 24px; margin: 0; border-top: var(--border); font-size: 0.8rem; }

/* ── DECISION FACTS (hero „Auf einen Blick“) ──
   The four things a buyer decides on, readable without scrolling: price, time, effort, fit. */
.gtm-keyfacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: var(--border);
  background: var(--white);
}
.gtm-keyfacts div { display: grid; gap: 4px; padding: 16px 20px; border-bottom: 2px solid var(--dark); }
.gtm-keyfacts div:nth-child(odd) { border-right: 2px solid var(--dark); }
.gtm-keyfacts div:nth-last-child(-n+2) { border-bottom: none; }
.gtm-keyfacts dt {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-70);
}
.gtm-keyfacts dd { font-weight: 700; font-size: 1.1rem; line-height: 1.3; }

/* Notes: full sentences stay in the body face – mono caps are for short labels only */
.gtm-note { font-size: 1.05rem; line-height: 1.55; max-width: 62ch; }
.gtm-note--on-dark { color: rgba(255, 255, 255, 0.9); }
.gtm-note--on-dark strong { color: var(--white); }
.gtm-proof .gtm-note { margin-top: -8px; }

/* ── HARD FACTS ── */
.gtm-proof { padding-bottom: 80px; }
.gtm-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  margin-top: 40px;
}
.gtm-facts div { display: flex; flex-direction: column-reverse; gap: 10px; border-left: 3px solid var(--white); padding-left: 20px; }
.gtm-facts dd {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--mais);
  font-variant-numeric: tabular-nums;
}
.gtm-facts dt {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

/* ── GENERIC GRIDS & CARDS ── */
.gtm-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 60px; }
.gtm-card {
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 40px;
}
.gtm-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 16px; }
.gtm-card p { color: var(--gray-70); }
.gtm-card--meat { box-shadow: 8px 8px 0 var(--meat); }
.gtm-card--guac { box-shadow: 8px 8px 0 var(--guac); }
.gtm-card--guac .gtm-bullets li::before { background: var(--guac); }
.gtm-bullets-label { margin-top: 24px; font-weight: 700; font-size: 1.05rem; }
.gtm-bullets { list-style: none; display: grid; gap: 12px; margin-top: 12px; }
.gtm-bullets li { display: grid; grid-template-columns: 12px 1fr; gap: 12px; line-height: 1.45; }
.gtm-bullets li::before { content: ''; width: 12px; height: 12px; background: var(--dark); margin-top: 6px; }

.gtm-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.gtm-split--faq { grid-template-columns: 0.8fr 1.2fr; }
/* FAQ list: src/components/Faq.tsx (shadcn Accordion) */
.gtm-split--check { grid-template-columns: 0.9fr 1.1fr; }
.gtm-check-intro { position: sticky; top: 120px; color: var(--white); }

/* ── COST LIST (on black: white structure, the mais is in the headline) ── */
.gtm-xlist { list-style: none; border: 3px solid var(--white); }
.gtm-xlist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  padding: 24px;
  border-bottom: 3px solid var(--white);
  font-size: 1.15rem;
  line-height: 1.45;
}
.gtm-xlist li:last-child { border-bottom: none; }
.gtm-xlist li::before { content: '✕'; font-weight: 700; color: var(--meat); font-size: 1.3rem; line-height: 1.1; }

/* ── USE CASES ── */
.gtm-usecases { border-top: 3px solid #4d4d4d; }
.uc-group { display: grid; border: 3px solid var(--white); }
.uc-icon { display: block; flex: none; width: 88px; height: 88px; }
.uc-head { display: flex; align-items: center; gap: 28px; padding: 28px; border-bottom: 3px solid var(--white); }
.uc-head-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.uc-head p { color: rgba(255, 255, 255, 0.8); font-size: 1rem; }
.uc-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white) !important;
}
.uc-num { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; letter-spacing: 0; }
.uc-head-title { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; margin: 0; }
.uc-items { display: grid; list-style: none; }
.uc-item { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-bottom: 2px solid rgba(255, 255, 255, 0.35); }
.uc-item:last-child { border-bottom: 0; }
.uc-item-title {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}
.uc-item p { font-size: 1rem; color: rgba(255, 255, 255, 0.85); }
.uc-item-title::before { content: ''; display: block; width: 10px; height: 10px; margin-bottom: 14px; background: var(--guac); }
@media (min-width: 768px) {
  .uc-items { grid-template-columns: repeat(3, 1fr); }
  .uc-item { border-bottom: 0; border-left: 2px solid rgba(255, 255, 255, 0.35); }
  .uc-item:first-child { border-left: 0; }
}
.gtm-row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.gtm-row-between .gtm-note { margin: 0; }

/* Primary button on black: white shadow keeps it visible without adding mais */
.btn-on-dark { box-shadow: 8px 8px 0 var(--white); }
.btn-on-dark:hover, .btn-on-dark:active { box-shadow: 0 0 0 var(--white); }

/* ── PROCESS ── */
.gtm-definition { max-width: 70ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; border-left: 6px solid var(--guac); padding-left: 20px; margin-bottom: 20px; }
.gtm-process { list-style: none; }
.gtm-process .badge { margin-bottom: 16px; }

/* ── COMPARE ── */
.gtm-table-wrap { overflow-x: auto; border: var(--border); box-shadow: 8px 8px 0 var(--meat); margin-top: 60px; }
.gtm-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 1.05rem; line-height: 1.45; }
.gtm-table th, .gtm-table td { text-align: left; padding: 16px 20px; border-bottom: 2px solid var(--dark); vertical-align: top; }
.gtm-table tbody tr:last-child th, .gtm-table tbody tr:last-child td { border-bottom: none; }
.gtm-table thead th {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: var(--border);
}
.gtm-table thead th.is-us { background: var(--mais); color: var(--dark); }
.gtm-table tbody th { font-weight: 700; width: 22%; }
.gtm-table td { color: var(--gray-70); }
.gtm-table td.is-us { color: var(--dark); font-weight: 700; border-left: var(--border); }

/* ── OFFER (the page's one mais block) ── */
.gtm-offer-section { padding-top: 40px; }
.gtm-offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--mais);
  border: 4px solid var(--dark);
  box-shadow: 10px 10px 0 var(--dark);
  padding: clamp(24px, 5vw, 64px);
}
.gtm-offer > div { display: grid; gap: 20px; justify-items: start; }
.gtm-offer h2 { margin-bottom: 0; }
.gtm-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.gtm-price-num { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.gtm-price .gtm-label { margin: 0; }
.gtm-checklist { list-style: none; background: var(--white); border: var(--border); }
.gtm-checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  padding: 20px;
  border-bottom: var(--border);
  font-size: 1.1rem;
  line-height: 1.4;
}
.gtm-checklist li:last-child { border-bottom: none; }
.gtm-checklist li::before {
  content: '✓';
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--guac);
  color: var(--white);
  font-weight: 700;
}

/* ── FOUNDER ── */
.gtm-founder { margin-top: 60px; align-items: start; }
.gtm-founder .founder-points { margin-top: 8px; }
.gtm-founder .card-link { color: var(--dark); }

/* ── SIGNAL-CHECK ──
   Without JS every step is visible and the form posts normally to /api/kontakt.
   main.js adds .is-enhanced and turns it into a one-question-at-a-time stepper. */
.signal-check { color: var(--dark); box-shadow: 10px 10px 0 var(--mais); }
.sc-step { border: none; display: grid; gap: 16px; min-width: 0; }
.signal-check:not(.is-enhanced) .sc-step + .sc-step { border-top: var(--border); padding-top: 28px; }
.signal-check.is-enhanced .sc-step:not(.is-current) { display: none; }
.sc-q {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 0.95;
  outline: none;
  padding: 0;
}
.sc-hint { font-size: 1rem; color: var(--gray-70); }
.sc-options { display: grid; gap: 12px; }
.sc-option { position: relative; display: block; cursor: pointer; }
.sc-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sc-option span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: var(--border);
  background: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  transition: box-shadow 0.1s, background 0.1s;
}
.sc-option span::after { content: '→'; }
.sc-option:hover span { box-shadow: var(--shadow-sm); }
.sc-option input:focus-visible + span { box-shadow: 6px 6px 0 var(--mais); }
.sc-option input:checked + span { background: var(--dark); color: var(--white); box-shadow: 4px 4px 0 var(--guac); }
.sc-option input:checked + span::after { content: '✓'; }
.sc-other { display: grid; gap: 8px; margin-top: 8px; }
.sc-other label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sc-other-row { display: flex; gap: 12px; }
.sc-other-row input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 1.05rem;
  border: var(--border);
  border-radius: 0;
  padding: 14px 16px;
}
.sc-other-row input:focus { outline: none; box-shadow: 6px 6px 0 var(--mais); }
.sc-other-next,
.sc-back {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--white);
  color: var(--dark);
  border: var(--border);
  padding: 0 18px;
  min-height: 48px;
  cursor: pointer;
}
.sc-other-next:disabled { opacity: 0.4; cursor: not-allowed; }
.sc-back { border-color: transparent; padding-left: 0; }
.sc-back:disabled { opacity: 0.35; cursor: default; }
.sc-back:not(:disabled):hover { text-decoration: underline; }
.sc-progress { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; }
.sc-progress .gtm-label { margin: 0; font-size: 0.8rem; }
.sc-bar { grid-column: 1 / -1; height: 10px; border: 2px solid var(--dark); }
.sc-bar span { display: block; height: 100%; width: 20%; background: var(--dark); transition: width 0.25s; }
.sc-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 2px solid var(--dark); padding-top: 16px; }
.sc-nav .gtm-label { margin: 0; font-size: 0.8rem; color: var(--gray-70); }
.sc-field-hint { font-size: 0.9rem; color: var(--gray-70); }
.sc-error { color: var(--meat); font-weight: 700; font-size: 0.95rem; }
.sc-error[hidden], .sc-when-call[hidden], .sc-when-nurture[hidden] { display: none; }
.form-field input[aria-invalid="true"] { border-color: var(--meat); }
.sc-result { display: grid; gap: 16px; outline: none; }
.sc-result[hidden] { display: none; }
.sc-result-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; }
.sc-result-steps { display: grid; gap: 14px; padding-left: 1.4em; font-size: 1.05rem; line-height: 1.5; }
.signal-check.is-done > :not(.sc-result) { display: none; }

/* ── FAQ ── */

/* ── CTA ── */
.gtm-cta-head { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.gtm-stamp {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.88);
  padding: 6px 14px;
  transform: rotate(-5deg);
}

/* ── STICKY MOBILE CTA (main.js shows it while neither hero CTA nor the check is in view) ── */
.gtm-sticky { display: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .gtm-hero-grid,
  .gtm-split,
  .gtm-split--faq,
  .gtm-split--check,
  .gtm-offer { grid-template-columns: 1fr; gap: 48px; }
  .gtm-check-intro { position: static; }
  .gtm-facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .gtm-grid-2 { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .gtm-card { padding: 28px 22px; box-shadow: 6px 6px 0 var(--dark); }
  .gtm-card--meat { box-shadow: 6px 6px 0 var(--meat); }
  .gtm-card--guac { box-shadow: 6px 6px 0 var(--guac); }
  .gtm-table-wrap { box-shadow: 6px 6px 0 var(--meat); }
  .gtm-hero-grid { padding-bottom: 60px; }
  .signal-board { box-shadow: 6px 6px 0 var(--dark); }
  .sb-row, .sb-head, .sb-foot { padding-left: 16px; padding-right: 16px; }
  .uc-head, .uc-item { padding: 22px; }
  .uc-head { gap: 18px; }
  .uc-icon { width: 56px; height: 56px; }
  .signal-check { box-shadow: 6px 6px 0 var(--mais); }
  .gtm-offer { box-shadow: 6px 6px 0 var(--dark); }
  .btn-on-dark { box-shadow: 6px 6px 0 var(--white); }
  .gtm-sticky:not([hidden]) {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    background: var(--dark);
    border-top: 3px solid var(--dark);
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  }
  .gtm-sticky .btn { display: block; text-align: center; box-shadow: none; }
  .gtm-textlink { position: relative; }
  .gtm-textlink::before { content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: max(44px, 100%); transform: translateY(-50%); }
}

@media (max-width: 800px) {
  /* Comparison as one card per criterion – no sideways scrolling for the decision table */
  .gtm-table-wrap { overflow: visible; }
  .gtm-table { min-width: 0; }
  .gtm-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .gtm-table tbody tr { display: grid; border-bottom: var(--border); }
  .gtm-table tbody tr:last-child { border-bottom: none; }
  .gtm-table tbody th { width: auto; background: var(--dark); color: var(--white); border-bottom: none; }
  .gtm-table td { display: grid; gap: 4px; border-bottom: 1px solid #d4d4d4; padding: 12px 20px; }
  .gtm-table 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);
  }
  .gtm-table td.is-us { border-left: none; border-bottom: none; background: var(--mais); }
  .gtm-table td.is-us::before { color: var(--dark); }
  .uc-item { padding: 18px 22px; }
  .gtm-keyfacts dd { font-size: 1rem; }
}

@media (max-width: 480px) {
  .gtm-facts { grid-template-columns: 1fr; }
  .sc-other-row { flex-direction: column; }
}

/* ── HEADLINE FIT (checked in Chromium 1440 / 390 px, 16.10.2026) ──
   Anton at line-height 0.9 lets umlauts and descenders touch the next line, and the site-wide
   word-break: break-word split long headline words mid-word. GTM headings get room and break only at spaces. */
.gtm h1, .gtm h2, .gtm h3, .gtm .uc-head-title, .gtm .sc-q {
  line-height: 1.04;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
}
.gtm h2 { font-size: clamp(2.4rem, 6vw, 5.2rem); }
.gtm .gtm-h1 { font-size: clamp(2.8rem, 7.4vw, 6.4rem); }
.gtm .gtm-split h2,
.gtm .gtm-offer h2 { font-size: clamp(2.2rem, 4.2vw, 4rem); }
.gtm .gtm-card h3 { line-height: 1.08; }
.uc-tag { flex-wrap: wrap; word-break: normal; overflow-wrap: normal; }
.uc-num { white-space: nowrap; }
.gtm-founder h3 { margin-bottom: 4px; }
.gtm-founder .founder-points { gap: 24px; margin-top: 20px; }
.uc-num { flex-basis: 100%; }
.gtm h2 { line-height: 1.08; }
.gtm h3, .gtm .gtm-card h3, .gtm .uc-head-title { line-height: 1.14; }
.gtm .gtm-h1-accent { color: var(--meat); }

/* CRM-Check page (/gtm-engineering/crm-check) */
.bg-dark .gtm-checklist { box-shadow: 8px 8px 0 var(--guac); }
.bg-dark .gtm-checklist li { color: var(--dark); }
.gtm-card--meat .gtm-bullets li::before { background: var(--meat); }
.sb-value { font-size: 1rem; padding: 4px 10px; white-space: nowrap; }
.gtm-offer .gtm-textlink { display: inline-block; margin-top: 20px; margin-left: 8px; }

/* ── RESTRUCTURE 17.10.2026: nav, lead lines, 4-up cards, use-case tabs, prices, sample report ── */
/* Nav: GTM has 7 links + button – tighten between the hamburger breakpoint and wide desktop */
.gtm-nav-cta-mobile { display: none; }
@media (min-width: 1025px) and (max-width: 1320px) {
  .gtm-nav .nav-links { gap: 20px; }
  .gtm-nav .nav-links a { font-size: 0.95rem; letter-spacing: 0.03em; }
  .gtm-nav .nav-logo span { font-size: 1.5rem; }
  .gtm-nav .nav-cta { padding: 10px 16px; font-size: 0.9rem; }
}
@media (max-width: 1024px) {
  .gtm-nav .gtm-nav-cta-mobile { display: block; padding: 20px 0 8px; border-bottom: none; }
  .gtm-nav .nav-links .gtm-nav-cta-mobile a { display: block; text-align: center; padding: 14px 20px; font-size: 1.15rem; }
}

.gtm-lead { max-width: 62ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; }
.gtm-section-link { display: inline-block; margin-top: 48px; }
.gtm-keyfacts dd a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.gtm-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.gtm-grid-4 .gtm-card { padding: 28px; }
.gtm-grid-4 .gtm-card h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.gtm-grid-4 .gtm-bullets { margin-top: 4px; }
@media (max-width: 1200px) { .gtm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .gtm-grid-4 { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; } }

/* Use-case stops (numbered buttons under the carousel, UseCaseCarousel.tsx) */
.uc-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 3px solid var(--white);
  padding: 12px 18px;
  min-height: 48px;
  cursor: pointer;
}
.uc-tab:hover { background: rgba(255, 255, 255, 0.12); }
.uc-tab-num { opacity: 0.6; }
.uc-tab:focus-visible { outline: 3px solid var(--mais); outline-offset: 3px; }
.uc-swipe-hint { display: none; margin: -32px 0 32px; color: rgba(255, 255, 255, 0.6) !important; }
/* Phones: tighter use-case cards */
@media (max-width: 800px) {
  .uc-head { padding: 16px 20px; gap: 16px; }
  .uc-icon { width: 48px; height: 48px; }
  .uc-head-text { gap: 6px; }
  .uc-num { display: none; } /* the numbered stops below the track carry it */
  .gtm .uc-head-title { font-size: 1.6rem; }
  .uc-item { padding: 12px 20px; gap: 4px; }
  .uc-item p { font-size: 0.95rem; line-height: 1.45; }
  .uc-item-title { font-size: 1.05rem; }
  .uc-item-title::before { display: none; }
}
@media (max-width: 380px), (max-width: 800px) and (max-height: 700px) {
  .uc-head { padding: 14px 18px; gap: 14px; }
  .uc-icon { width: 44px; height: 44px; }
  .uc-head-text { gap: 4px; }
  .gtm .uc-head-title { font-size: 1.5rem; }
  .uc-item { padding: 12px 18px; }
  .uc-item p { font-size: 0.9rem; }
  .uc-head-text > p:not(.uc-tag) { display: none; }
}

/* Price strip (Kosten & Vergleich) */
.gtm-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: var(--border); margin: 48px 0 24px; }
.gtm-prices > div { display: grid; gap: 8px; align-content: start; padding: 24px; border-right: var(--border); }
.gtm-prices > div:last-child { border-right: none; }
.gtm-prices dt { font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
.gtm-prices dd { display: grid; gap: 6px; color: var(--gray-70); line-height: 1.4; }
.gtm-prices-num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; color: var(--dark); font-variant-numeric: tabular-nums; }
@media (max-width: 800px) {
  .gtm-prices { grid-template-columns: 1fr; }
  .gtm-prices > div { border-right: none; border-bottom: var(--border); }
  .gtm-prices > div:last-child { border-bottom: none; }
}

/* Sample report: intro + e-mail form on black, excerpt board on the right */
.gtm-report-intro { color: var(--white); display: grid; gap: 24px; }
.report-form { box-shadow: 10px 10px 0 var(--mais); padding: 32px; gap: 18px; margin-top: 8px; }
@media (max-width: 800px) { .report-form { box-shadow: 6px 6px 0 var(--mais); padding: 24px 20px; } }
.bg-dark .signal-board { box-shadow: 10px 10px 0 var(--white); }
@media (max-width: 800px) { .bg-dark .signal-board { box-shadow: 6px 6px 0 var(--white); } }

/* Sample report page (/gtm-engineering/crm-check-beispiel, noindex) */
.gtm-keyfacts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1000px; }
.gtm-keyfacts--4 div { border-bottom: none; border-right: 2px solid var(--dark); }
.gtm-keyfacts--4 div:last-child { border-right: none; }
.gtm-report-sec { margin-top: 80px; scroll-margin-top: 110px; }
.gtm-report-sec > .gtm-label { margin-bottom: 24px; }
.gtm-report-sec .gtm-prices { margin-top: 32px; }
.gtm-bullets--meat { margin-top: 32px; }
.gtm-bullets--meat li::before { background: var(--meat); }
.gtm-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 32px; }
.gtm-grid-3 .gtm-card { padding: 28px; }
.gtm-grid-3 .gtm-card h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 8px; }
.gtm-table-wrap--plain { margin-top: 0; box-shadow: var(--shadow); }
.gtm-table--report { min-width: 560px; }
.gtm-table--report th .sb-temp { margin-left: 8px; vertical-align: middle; }
.gtm-works { list-style: none; border: var(--border); box-shadow: var(--shadow); counter-reset: works; }
.gtm-works li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 18px 24px; border-bottom: 2px solid var(--dark); counter-increment: works; }
.gtm-works li:last-child { border-bottom: none; }
.gtm-works-title { flex: 1 1 280px; font-weight: 700; font-size: 1.1rem; }
.gtm-works-title::before { content: counter(works, decimal-leading-zero) '  '; font-family: var(--font-mono); color: var(--gray-70); }
.gtm-report-foot { margin: 64px 0 0; color: var(--gray-70); }
@media (max-width: 800px) {
  .gtm-keyfacts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gtm-keyfacts--4 div { border-right: none; border-bottom: 2px solid var(--dark); }
  .gtm-keyfacts--4 div:nth-child(odd) { border-right: 2px solid var(--dark); }
  .gtm-keyfacts--4 div:nth-last-child(-n+2) { border-bottom: none; }
  .gtm-grid-3 { grid-template-columns: 1fr; }
  .gtm-report-sec { margin-top: 56px; }
  .gtm-table-wrap--plain, .gtm-works { box-shadow: 6px 6px 0 var(--dark); }
}
/* White boxes on black inherit white text from .bg-dark – reset them to black */
.bg-dark .signal-board, .bg-dark .report-form { color: var(--dark); }

/* GTM articles: in-text CTA box (black, mais button with white shadow) and the TOC scroll offset */
.gtm-inline-cta { background: var(--dark); color: var(--white); border: var(--border); box-shadow: 8px 8px 0 var(--mais); padding: 32px; margin: 40px 0; display: grid; gap: 14px; }
.gtm-inline-cta p { color: rgba(255, 255, 255, 0.9); margin: 0; }
.gtm-inline-cta .gtm-inline-cta-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.05; color: var(--white); }
.gtm-inline-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 8px; }
.gtm-inline-cta .gtm-textlink { color: var(--white); border-bottom-color: var(--white); }
.gtm .article-body h2[id] { scroll-margin-top: 110px; }
@media (max-width: 800px) { .gtm-inline-cta { padding: 24px 20px; box-shadow: 6px 6px 0 var(--mais); } }

/* ── MOBILE PASS 17.10.2026 (checked in Chromium 360 / 390 px) ──
   CRM-Check was ~12.700 px tall on a phone: board, process tickets, cards and offer box keep their
   desktop padding. Tighten them, stack the hero facts, and let the report tables become cards. */
@media (max-width: 800px) {
  .gtm-hero-grid { gap: 40px; }
  .sb-head { padding-top: 16px; }
  .sb-title { font-size: 1.5rem; margin-bottom: 10px; }
  .sb-head .gtm-label { margin-bottom: 10px; }
  .sb-row { gap: 2px; padding-top: 12px; padding-bottom: 12px; }
  .sb-account { font-size: 1rem; }
  .sb-signal { font-size: 0.9rem; line-height: 1.4; }
  .sb-meta { font-size: 0.9rem; }
  .sb-foot { padding-top: 10px; padding-bottom: 10px; }

  /* Process: number beside badge + title instead of a 4.5rem number on its own line */
  .gtm-process .process-step { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 16px; padding: 28px 20px 24px; }
  .gtm-process .process-num { grid-row: span 2; font-size: 2.6rem; margin: 0; }
  .gtm-process .badge { justify-self: start; margin: 0; }
  .gtm-process .process-step h3 { margin: 6px 0 0; }
  .gtm-process .process-step p { grid-column: 1 / -1; margin-top: 14px; }
  /* the card link spans both columns, otherwise it widens the number column */
  .gtm-process .process-step > .gtm-textlink { grid-column: 1 / -1; justify-self: start; }
  .gtm-process .badge { white-space: nowrap; }

  .gtm-grid-2 { gap: 24px; }
  .gtm-card { padding: 24px 20px; }
  .gtm-offer { padding: 28px 20px; gap: 32px; }
  .gtm-offer > div { gap: 16px; }
  .gtm-offer .gtm-textlink { margin: 0; }
  .gtm-checklist li { gap: 12px; padding: 14px 16px; font-size: 1rem; }
  /* The offer checklist repeats „Vier Ergebnisse“ two sections up – on a phone that is one screen of déjà-vu */
  .gtm-offer .gtm-checklist { display: none; }

  /* Report tables (sample report pages): same card layout as the comparison table above */
  .gtm-table--report { min-width: 0; }
  .gtm-table--report th .sb-temp { margin-left: 6px; }
  .gtm-table--report th .sb-temp--cold { color: rgba(255, 255, 255, 0.75); }
  /* before/after values side by side instead of one row each */
  .gtm-table--pairs tbody tr { grid-template-columns: 1fr 1fr; }
  .gtm-table--pairs tbody th { grid-column: 1 / -1; }
  .gtm-table--pairs td { border-bottom: none; }
}
@media (max-width: 480px) {
  /* Hero facts: one row per fact, label left – the 2×2 grid cut off „Ergebnistermin“ at 360 px */
  .gtm-keyfacts { grid-template-columns: 1fr; }
  .gtm-keyfacts div:nth-child(n) { grid-template-columns: 7.5rem minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 12px 16px; border-right: none; border-bottom: 2px solid var(--dark); }
  .gtm-keyfacts div:last-child { border-bottom: none; }
  .gtm-keyfacts dt { font-size: 0.72rem; letter-spacing: 0.1em; }
  /* CTA button carries an inline desktop size (2rem, 28px 56px) */
  .gtm .cta-section .btn-on-dark { font-size: 1.5rem !important; padding: 20px 32px !important; }
}

/* ── BRIEF 20.10.2026: 3 hard facts, 4-column comparison, demo calendar ── */
.gtm-facts--3 { grid-template-columns: repeat(3, 1fr); }
.gtm-table--wide { min-width: 960px; }
.gtm-define .gtm-lead { max-width: 68ch; }
.gtm-bullets--on-dark { margin: 24px 0; color: rgba(255, 255, 255, 0.9); }
.gtm-bullets--on-dark strong { color: var(--white); }
.gtm-bullets--on-dark li::before { background: var(--mais); }

/* Cal.com: a static box until the click, then main.js swaps in the iframe (fixed height, no layout jump).
   On black the hard shadow is mais (styleguide: no black shadow on a black surface). */
.cal-embed {
  background: var(--white);
  color: var(--dark);
  border: var(--border);
  box-shadow: 8px 8px 0 var(--mais);
  padding: 40px;
  display: grid;
  gap: 20px;
  justify-items: start;
}
.cal-embed-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; text-transform: uppercase; }
.cal-embed-note { color: var(--gray-70); line-height: 1.5; max-width: 52ch; }
.cal-embed-note a { color: var(--dark); text-decoration: underline; }
.cal-embed.is-loaded { padding: 0; display: block; }
.cal-embed iframe { display: block; width: 100%; height: 700px; border: 0; }

@media (max-width: 800px) {
  .gtm-facts--3 { grid-template-columns: 1fr; }
  .gtm-table--wide { min-width: 0; }
  .cal-embed { padding: 28px 22px; box-shadow: 6px 6px 0 var(--mais); }
  .cal-embed iframe { height: 760px; }
}

/* Demo page (/gtm-engineering/demo): the four questions, then the Cal.com calendar inside the form box.
   Once the calendar is open (.is-booking) it gets the wider column. */
.gtm-demo .gtm-check-intro > .gtm-textlink { display: inline-block; justify-self: start; margin-bottom: 32px; }
.gtm-demo-h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 0.95; margin: 12px 0 24px; color: var(--white); }
.gtm-demo-steps { display: grid; gap: 10px; margin-top: 28px; padding-left: 1.4em; color: var(--white); font-size: 1.1rem; line-height: 1.45; }
.gtm-demo-steps li::marker { color: var(--mais); font-family: var(--font-mono); font-weight: 700; }
.gtm-demo.is-booking .gtm-split--check { grid-template-columns: 0.6fr 1.4fr; }
.sc-calendar { display: grid; gap: 16px; }
.sc-calendar .cal-embed { border: 0; box-shadow: none; padding: 0; }
@media (max-width: 1024px) {
  .gtm-demo.is-booking .gtm-split--check { grid-template-columns: 1fr; }
}
.gtm-demo .sc-result { scroll-margin-top: 110px; }
/* Phones/tablets: the form comes right after the headline, the explanation follows below it */
@media (max-width: 1024px) {
  .gtm-demo .gtm-split--check { gap: 0; }
  .gtm-demo .gtm-check-intro { display: contents; }
  .gtm-demo .signal-check { order: 1; margin: 8px 0 48px; }
  .gtm-demo .gtm-check-intro > p:not(.gtm-label),
  .gtm-demo .gtm-demo-steps,
  .gtm-demo .gtm-ticks,
  .gtm-demo noscript { order: 2; }
  .gtm-demo .gtm-demo-steps { margin-top: 0; }
}

/* Engine page (/gtm-engineering/signal-engine): a picture, not a manual – signals → engine → accounts,
   three steps, one account's temperature over three weeks. Meat/cheese only as temperature data;
   on black the boxes get white/mais shadows (styleguide: no black on black). */
.engine-map { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1.1fr) 64px minmax(0, 1.3fr); align-items: center; margin-top: 56px; }
.em-col-label { color: var(--mais); margin-bottom: 14px; }
.em-inputs, .em-outputs { display: grid; gap: 12px; }
.em-chip {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--dark); border: var(--border); padding: 12px 16px;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.em-chip::before { content: ''; width: 10px; height: 10px; flex-shrink: 0; background: var(--mais); border: 2px solid var(--dark); animation: em-blink 2.4s steps(1) infinite; }
.em-chip:nth-child(3)::before { animation-delay: 0.4s; }
.em-chip:nth-child(4)::before { animation-delay: 0.8s; }
.em-chip:nth-child(5)::before { animation-delay: 1.2s; }
.em-chip:nth-child(6)::before { animation-delay: 1.6s; }
@keyframes em-blink { 50% { background: var(--white); } }
.em-arrow { display: flex; justify-content: center; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--mais); }
.em-arrow::before { content: '→'; }
.em-core { background: var(--mais); color: var(--dark); border: 3px solid var(--white); box-shadow: 10px 10px 0 var(--white); padding: 36px 28px; text-align: center; }
.em-core .gtm-label { margin-bottom: 8px; }
.em-core-name { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; text-transform: uppercase; }
.gtm-process .gtm-textlink { display: inline-block; margin-top: 16px; }
.em-gauge { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0 10px; border: var(--border); height: 22px; }
.em-gauge span:nth-child(1) { background: var(--white); }
.em-gauge span:nth-child(2) { background: var(--cheese); border-left: 3px solid var(--dark); border-right: 3px solid var(--dark); }
.em-gauge span:nth-child(3) { background: var(--meat); }
.em-needle { position: absolute; top: -12px; bottom: -12px; width: 6px; margin-left: -3px; background: var(--dark); left: 85%; animation: em-sweep 6s ease-in-out infinite; }
@keyframes em-sweep { 0%, 12% { left: 12%; } 40%, 55% { left: 50%; } 80%, 100% { left: 85%; } }
.em-gauge-labels { display: flex; justify-content: space-between; font-family: var(--font-mono); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.em-out { display: grid; gap: 6px; background: var(--white); color: var(--dark); border: var(--border); padding: 14px 16px; }
.em-out-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; }
.em-out .sb-next { font-size: 0.95rem; }
.em-foot { margin-top: 40px; color: rgba(255, 255, 255, 0.7); }
.em-timeline { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; border: 3px solid var(--white); }
.em-week { display: grid; gap: 14px; align-content: start; padding-bottom: 24px; color: var(--white); }
.em-week + .em-week { border-left: 3px solid var(--white); }
.em-bar { height: 18px; border-bottom: 3px solid var(--white); }
.em-week--cold .em-bar { background: rgba(255, 255, 255, 0.25); }
.em-week--warm .em-bar { background: var(--cheese); }
.em-week--hot .em-bar { background: var(--meat); }
.em-week > *:not(.em-bar) { margin: 0 24px; }
.em-week .gtm-label { color: var(--mais); margin-bottom: 0; }
.em-week .sb-temp { justify-self: start; background: var(--white); color: var(--dark); }
.em-week .sb-temp--hot { background: var(--meat); color: var(--white); border-color: var(--white); }
.em-week p { color: rgba(255, 255, 255, 0.9); font-size: 1.05rem; }
@media (prefers-reduced-motion: reduce) {
  .em-chip::before, .em-needle { animation: none; }
}
@media (max-width: 1024px) {
  .engine-map { grid-template-columns: 1fr; gap: 20px; }
  .em-arrow::before { content: '↓'; }
  .em-inputs { display: flex; flex-wrap: wrap; gap: 10px; }
  .em-inputs .em-col-label { flex-basis: 100%; margin-bottom: 4px; }
}
@media (max-width: 800px) {
  .em-core { box-shadow: 6px 6px 0 var(--white); padding: 28px 20px; }
  .em-timeline { grid-template-columns: 1fr; }
  .em-week + .em-week { border-left: none; border-top: 3px solid var(--white); }
}
.em-timeline--light { border-color: var(--dark); box-shadow: var(--shadow); }
.em-timeline--light .em-week { color: var(--dark); }
.em-timeline--light .em-week + .em-week { border-left-color: var(--dark); }
.em-timeline--light .em-bar { border-bottom-color: var(--dark); }
.em-timeline--light .em-week--cold .em-bar { background: rgba(0, 0, 0, 0.12); }
.em-timeline--light .em-week .gtm-label { color: var(--dark); }
.em-timeline--light .em-week .sb-temp--hot { border-color: var(--dark); }
.em-timeline--light .em-week p { color: var(--gray-70); }
.em-foot--light { color: var(--gray-70); }

/* "Your market has an end" (engine page): one square per company, a few warm up and cool down.
   Illustration only, the pattern is fixed in AbmMarket.astro. */
.abm-figure { max-width: 640px; margin: 40px 0 0; }
.abm-market { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; padding: 12px; background: var(--white); border: var(--border); box-shadow: var(--shadow); }
.am-cell { aspect-ratio: 1; background: rgba(0, 0, 0, 0.1); }
.am-cell--warm { background: var(--cheese); animation: am-warm 9s ease-in-out var(--d, 0s) infinite both; }
.am-cell--hot { background: var(--meat); animation: am-hot 9s ease-in-out var(--d, 0s) infinite both; }
@keyframes am-warm { 0%, 100% { background: rgba(0, 0, 0, 0.1); } 12%, 82% { background: var(--cheese); } }
@keyframes am-hot { 0%, 100% { background: rgba(0, 0, 0, 0.1); } 8% { background: var(--cheese); } 16%, 86% { background: var(--meat); } }
.abm-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.abm-legend { display: flex; gap: 8px; }
.abm-story { max-width: 760px; margin-top: 32px; font-size: 1.15rem; }

/* Lead funnel vs. account-based (dark): the ABM side is the mais box with a white shadow */
.abm-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.abm-way { border: 3px solid rgba(255, 255, 255, 0.5); padding: 32px; color: rgba(255, 255, 255, 0.75); }
.abm-way .gtm-label { color: rgba(255, 255, 255, 0.6); }
.abm-way h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 6px 0 18px; }
.abm-way ul { list-style: none; }
.abm-way li { padding: 12px 0; border-top: 2px solid currentColor; font-size: 1.05rem; }
.abm-way--abm { background: var(--mais); color: var(--dark); border-color: var(--white); box-shadow: 10px 10px 0 var(--white); }
.abm-way--abm .gtm-label { color: var(--dark); }
.abm-question { max-width: 900px; margin-top: 56px; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.4; color: var(--white); }
.abm-question strong { color: var(--mais); }
.gtm-link-row { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 28px; }
.gtm-link-row .gtm-section-link { margin-top: 0; }

/* T.A.C.O.OS letter tiles (TacoOs.astro), main page #was-ist and engine page #tacoos */
.gtm-tacoos-intro { margin-top: 40px; font-size: 1.15rem; }
.taco-os { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin: 24px 0 8px; }
.to-tile { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--white); border: var(--border); box-shadow: var(--shadow); transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.to-tile:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--dark); }
.to-letter { font-family: var(--font-display); font-size: clamp(3.4rem, 5vw, 4.6rem); line-height: 1; color: var(--mais); -webkit-text-stroke: 2px var(--dark); }
.to-word { font-family: var(--font-mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.to-text { color: var(--gray-70); font-size: 0.98rem; }
.to-tile--os { background: var(--mais); }
.to-tile--os .to-letter { color: var(--dark); -webkit-text-stroke: 0; }
.to-tile--os .to-text { color: var(--dark); }
@media (prefers-reduced-motion: reduce) {
  .am-cell--warm, .am-cell--hot { animation: none; }
  .to-tile { transition: none; }
  .to-tile:hover { transform: none; }
}
@media (max-width: 1024px) {
  .taco-os { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .to-tile--os { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
  .abm-market { grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 3px; padding: 10px; box-shadow: 6px 6px 0 var(--dark); }
  .abm-vs { grid-template-columns: 1fr; gap: 28px; }
  .abm-way { padding: 24px; }
  .abm-way--abm { box-shadow: 6px 6px 0 var(--white); }
  .em-timeline--light { box-shadow: 6px 6px 0 var(--dark); }
  .em-timeline--light .em-week + .em-week { border-top-color: var(--dark); }
  .to-tile { box-shadow: 6px 6px 0 var(--dark); }
}
@media (max-width: 520px) {
  .taco-os { grid-template-columns: 1fr; }
}

/* ── ENGINE HERO: one fictional account, signals in → temperature out → next step ── */
.eh-step { padding: 18px 24px; border-bottom: 2px solid var(--dark); }
.eh-step:last-child { border-bottom: none; }
.eh-step > .gtm-label { margin-bottom: 12px; font-size: 0.8rem; }
.eh-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.eh-chips .em-chip { padding: 8px 12px; font-size: 0.75rem; }
.eh-chips .em-chip:nth-child(2)::before { animation-delay: 0.8s; }
.eh-chips .em-chip:nth-child(3)::before { animation-delay: 1.6s; }
.eh-board .em-gauge { margin: 16px 0 8px; }
.eh-step--next { background: var(--mais); }
@media (max-width: 800px) {
  .eh-step { padding: 14px 16px; }
}

/* GTM page: Hard Facts inside the dark comparison section (#vergleich), right before the mid-page button */
.gtm-proof-inline { margin-top: 72px; padding-top: 48px; border-top: 2px solid rgba(255, 255, 255, 0.2); }
.gtm-proof-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--white); margin-bottom: 12px; }
.gtm-proof-inline .gtm-facts { margin-top: 32px; }
.gtm-proof-inline + .gtm-row-between { margin-top: 56px; }

/* Heat-Score with the engine picture below the text (preview /gtm-engineering/neu) */
#heat-score .gtm-bullets, #heat-score > .container > p { max-width: 900px; }
#heat-score .engine-map { margin-top: 56px; }

/* Use cases on white (.gtm-usecases--light): black lines, black icons (gtm-uc-*-light.svg) */
.gtm-usecases--light { border-top: 0; }
.gtm-usecases--light .uc-group { border-color: var(--dark); background: var(--white); }
.gtm-usecases--light .uc-head { border-bottom-color: var(--dark); }
.gtm-usecases--light .uc-head p { color: var(--gray-70); }
.gtm-usecases--light .uc-tag { color: var(--dark) !important; }
.gtm-usecases--light .uc-item { border-color: rgba(0, 0, 0, 0.2); }
.gtm-usecases--light .uc-item p { color: var(--gray-70); }
.gtm-usecases--light .uc-item-title::before { background: var(--mais); outline: 2px solid var(--dark); }
.gtm-usecases--light .uc-tab { color: var(--dark); border-color: var(--dark); }
.gtm-usecases--light .uc-tab:hover { background: rgba(0, 0, 0, 0.06); }
.gtm-usecases--light .uc-tab:focus-visible { outline-color: var(--dark); }
@media (max-width: 800px) {
}

/* Use-case pager (previous/next under the carousel) */
.uc-pager { display: flex; align-items: center; gap: 16px; margin: -24px 0 40px; }
.uc-pager .uc-swipe-hint { display: block; margin: 0; }
.uc-pager-btn { width: 48px; height: 48px; font-family: var(--font-display); font-size: 1.4rem; line-height: 1; color: var(--white); background: transparent; border: 3px solid var(--white); cursor: pointer; }
.uc-pager-btn:disabled { opacity: 0.3; cursor: default; }
.uc-pager-btn:not(:disabled):hover { background: var(--white); color: var(--dark); }
.uc-pager-btn:focus-visible { outline: 3px solid var(--mais); outline-offset: 3px; }
.gtm-usecases--light .uc-pager-btn { color: var(--dark); border-color: var(--dark); }
.gtm-usecases--light .uc-pager-btn:not(:disabled):hover { background: var(--dark); color: var(--white); }
.gtm-usecases--light .uc-swipe-hint { color: var(--gray-70) !important; }

/* Use-case carousel (UseCaseCarousel.tsx = shadcn Carousel/Embla, preview /gtm-engineering/neu):
   one card in view plus a peek of the next. Cards outside the view dim and shrink,
   the mais bar follows the scroll position. Without JS (and until hydration) a scroll-snap row. */
.uc-carousel-wrap { margin: 56px 0 48px; }
.uc-carousel-viewport { overflow: hidden; padding: 4px 14px 14px 4px; margin: -4px -14px -14px -4px; }
.uc-carousel:not(.is-ready) .uc-carousel-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.uc-carousel.is-ready .uc-carousel-viewport { cursor: grab; }
.uc-carousel.is-ready .uc-carousel-viewport:active { cursor: grabbing; }
.uc-carousel-track { display: flex; margin-left: -28px; touch-action: pan-y pinch-zoom; }
.uc-carousel-slide {
  display: flex;
  flex: 0 0 84%;
  min-width: 0;
  padding-left: 28px;
  scroll-snap-align: start;
  user-select: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.uc-carousel-slide .uc-group { flex: 1; align-content: start; }
.gtm-usecases--light .uc-carousel .uc-group { box-shadow: var(--shadow); }
.uc-carousel.is-ready .uc-carousel-slide:not([data-in-view]) { opacity: 0.4; transform: scale(0.95); }
.uc-carousel-slide img { -webkit-user-drag: none; }
.uc-carousel-bar { height: 10px; margin-top: 32px; border: 2px solid var(--dark); background: var(--white); overflow: hidden; }
.uc-carousel-bar span { display: block; height: 100%; background: var(--mais); transform-origin: left center; }
.uc-carousel-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 24px; }
.uc-carousel-stops { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.uc-carousel-stops li { flex: none; }
.uc-carousel-stops .uc-tab { transition: background-color 0.2s ease, color 0.2s ease; }
.uc-carousel-stops .uc-tab:disabled { cursor: default; }
.gtm-usecases--light .uc-carousel-stops .uc-tab[aria-current] { background: var(--dark); color: var(--white); }
.gtm-usecases--light .uc-carousel-stops .uc-tab[data-selected] .uc-tab-num { color: var(--mais); opacity: 1; }
.uc-carousel .uc-pager { margin: 0; }
@media (max-width: 800px) {
  .uc-carousel-wrap { margin: 40px 0 40px; }
  .uc-carousel-track { margin-left: -16px; }
  .uc-carousel-slide { flex-basis: 88%; padding-left: 16px; }
  .gtm-usecases--light .uc-carousel .uc-group { box-shadow: 6px 6px 0 var(--dark); }
  .uc-carousel-viewport { padding: 4px 10px 10px 4px; margin: -4px -10px -10px -4px; }
  .uc-carousel-stops { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px; margin: 0 -20px; padding: 0 20px 4px; width: calc(100% + 40px); }
  .uc-carousel-stops::-webkit-scrollbar { display: none; }
  .uc-carousel-stops .uc-tab { flex: none; padding: 10px 14px; font-size: 0.78rem; }
  .uc-carousel-controls { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .uc-carousel-slide, .uc-carousel-stops .uc-tab { transition: none; }
  .uc-carousel.is-ready .uc-carousel-slide:not([data-in-view]) { transform: none; }
}

/* Line breaks (UI review 21.10.2026): no lone word on the last line of headlines, labels and
   notes. Browsers without text-wrap support just wrap as before. */
.gtm h1, .gtm h2, .gtm h3, .gtm .hero-eyebrow, .gtm .gtm-label, .gtm-facts dt, .gtm .sb-foot, .uc-tab-label { text-wrap: balance; }
.gtm p, .gtm li, .gtm-note { text-wrap: pretty; }
.gtm-proof-inline .gtm-note { max-width: 78ch; }
