/* ============================================================================
   TOOLS 2026 — Shared Styles für Tools-Übersicht + alle Tool-Unterseiten
   (extrahiert aus tools.html-Inline-Style; Erweiterungen am Dateiende)
   ============================================================================ */
  .tool-card {
    background: white;
    border: 1px solid var(--viz-line);
    border-radius: 24px;
    padding: clamp(24px, 4vw, 40px);
    box-shadow: var(--viz-shadow-sm);
    margin-bottom: 24px;
  }
  .tool-card__head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--viz-line); }
  .tool-card__badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--viz-ink); color: white; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; }
  .tool-card__title { font-family: var(--font-display); font-size: clamp(22px, 2.8vw, 30px); font-weight: 700; letter-spacing: -0.025em; }
  .tool-card__sub { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--viz-text-2); }
  .tool-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
  @media (min-width: 900px) { .tool-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
  .tool-inputs { display: flex; flex-direction: column; gap: 16px; }
  .tool-field { display: flex; flex-direction: column; gap: 6px; }
  .tool-field label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--viz-text-3); }
  .tool-field label strong { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--viz-text); letter-spacing: -0.01em; text-transform: none; }
  .tool-field input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: var(--viz-line); border-radius: 999px; outline: none; }
  .tool-field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; background: var(--viz-ink); border-radius: 50%; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: background 0.2s, transform 0.2s; }
  .tool-field input[type=range]::-webkit-slider-thumb:hover { background: var(--viz-red); transform: scale(1.1); }
  .tool-field input[type=text], .tool-field input[type=email], .tool-field input[type=number], .tool-field select {
    padding: 12px 14px; border: 1.5px solid var(--viz-line); border-radius: 10px; background: var(--viz-surface-2); color: var(--viz-text); font-family: var(--font-sans); font-size: 14.5px; line-height: 1.4; appearance: none; transition: border-color 0.2s;
  }
  .tool-field input:focus, .tool-field select:focus { outline: none; border-color: var(--viz-ink); background: white; }
  /* WhatsApp Template Cards (Tool 08) */
  .wa-template {
    background: white;
    border: 1px solid var(--viz-line);
    border-radius: 14px;
    padding: 14px 16px;
    transition: border-color .2s, box-shadow .2s;
  }
  .wa-template:hover {
    border-color: rgba(37, 211, 102, 0.45);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  }
  .wa-template__head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 8px; flex-wrap: wrap;
  }
  .wa-template__tag {
    display: inline-block;
    padding: 2px 9px; border-radius: 999px;
    background: rgba(37, 211, 102, 0.14);
    color: #15803d;
    font-family: var(--font-mono);
    font-size: 9.5px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
  }
  .wa-template__title {
    font-family: var(--font-display);
    font-size: 14.5px; font-weight: 700;
    color: var(--viz-text);
    letter-spacing: -0.01em;
    flex: 1; min-width: 0;
  }
  .wa-template__copy {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 10px;
    background: var(--viz-ink); color: white;
    border: none; border-radius: 999px;
    font-family: var(--font-mono); font-size: 10px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, transform .15s;
  }
  .wa-template__copy:hover { background: var(--viz-red); transform: translateY(-1px); }
  .wa-template__copy.is-copied { background: #15803d; }
  .wa-template__body {
    margin: 0; padding: 10px 12px;
    background: #f0f7f0; color: #1f2937;
    border-radius: 10px; border-left: 3px solid #25D366;
    font-family: var(--font-sans); font-size: 13px; line-height: 1.55;
    white-space: pre-wrap; word-wrap: break-word;
  }

  /* Quiz Styling (Tool 09) */
  .quiz-q {
    padding: 14px 0;
    border-bottom: 1px solid var(--viz-line);
  }
  .quiz-q:last-child { border-bottom: none; }
  .quiz-q__label {
    font-family: var(--font-display);
    font-size: 14.5px; font-weight: 700;
    color: var(--viz-text);
    letter-spacing: -0.01em;
    margin-bottom: 10px;
  }
  .quiz-q__opts {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  }
  @media (max-width: 600px) { .quiz-q__opts { grid-template-columns: 1fr; } }
  .quiz-opt {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 10px;
    background: var(--viz-surface-2);
    border: 1px solid var(--viz-line);
    border-radius: 10px;
    font-size: 13px; line-height: 1.35;
    color: var(--viz-text-2);
    cursor: pointer;
    transition: all .18s ease;
  }
  .quiz-opt:hover { border-color: var(--viz-ink); }
  .quiz-opt:has(input:checked) {
    background: white;
    border-color: var(--viz-red);
    color: var(--viz-text);
    box-shadow: 0 0 0 3px rgba(220, 0, 24, 0.08);
  }
  .quiz-opt input[type="radio"] {
    accent-color: var(--viz-red);
    flex-shrink: 0;
  }

  .tool-chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .tool-chip {
    padding: 8px 14px; border-radius: 999px; border: 1px solid var(--viz-line); background: white; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; color: var(--viz-text-2);
  }
  .tool-chip:hover { border-color: var(--viz-ink); }
  .tool-chip.active { background: var(--viz-ink); color: white; border-color: var(--viz-ink); }

  .tool-result {
    background: linear-gradient(135deg, var(--viz-ink), #1a1a1a);
    color: white;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
  }
  .tool-result::before {
    content: '';
    position: absolute; top: -50px; right: -50px;
    width: 180px; height: 180px;
    background: rgba(220, 0, 24, 0.3);
    border-radius: 999px;
    filter: blur(60px);
    pointer-events: none;
  }
  .tool-result__label { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
  .tool-result__big {
    font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95;
    color: white; font-variant-numeric: tabular-nums; position: relative;
  }
  .tool-result__big .accent { background: linear-gradient(135deg, #ff4555, #DC0018); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .tool-result__rows { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
  .tool-result__row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); position: relative; }
  .tool-result__row:last-child { border-bottom: none; }
  .tool-result__row-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: rgba(255,255,255,0.55); }
  .tool-result__row-value { font-family: var(--font-display); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
  .tool-result__row-value.red { color: #ff8090; }
  .tool-result__cta { margin-top: auto; padding-top: 12px; position: relative; }
  .tool-disclaimer {
    margin-top: 16px; padding: 14px 18px; background: rgba(184, 106, 0, 0.08); border: 1px solid rgba(184, 106, 0, 0.25); border-radius: 12px;
    font-family: var(--font-mono); font-size: 11.5px; line-height: 1.55; color: #5a3700;
  }

  /* Funnel Diagnose */
  .funnel-q { display: flex; flex-direction: column; gap: 12px; }
  .funnel-q__item { padding: 14px 18px; background: var(--viz-surface-2); border-radius: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .funnel-q__label { font-size: 14.5px; font-weight: 600; color: var(--viz-text); flex: 1; min-width: 0; }
  .funnel-q__toggle { display: flex; gap: 6px; flex-shrink: 0; }
  .funnel-q__btn { padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--viz-line); background: white; font-size: 12px; font-weight: 700; cursor: pointer; color: var(--viz-text-2); transition: all 0.2s; }
  .funnel-q__btn:hover { border-color: var(--viz-ink); }
  .funnel-q__btn.yes.active { background: #16a34a; color: white; border-color: #16a34a; }
  .funnel-q__btn.no.active { background: var(--viz-red); color: white; border-color: var(--viz-red); }
  .funnel-score { margin-top: 16px; }
  .funnel-score__bar { height: 8px; background: var(--viz-line); border-radius: 999px; overflow: hidden; margin-top: 8px; }
  .funnel-score__fill { height: 100%; background: linear-gradient(90deg, var(--viz-red), #ff4555); border-radius: inherit; width: 0%; transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1); }

  /* Audit Checklist */
  .audit-list { display: flex; flex-direction: column; gap: 8px; }
  .audit-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--viz-surface-2); border-radius: 10px; cursor: pointer; transition: background 0.2s; }
  .audit-item:hover { background: var(--viz-line); }
  .audit-item input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--viz-red); cursor: pointer; }
  .audit-item label { font-size: 14px; font-weight: 600; color: var(--viz-text); cursor: pointer; }
  .audit-item.done label { text-decoration: line-through; color: var(--viz-text-3); }

  /* === Tools-nav pills (jump to each tool) === */
  .tools-nav {
    margin: clamp(24px, 4vw, 40px) auto 0;
    max-width: 980px;
    padding: 0 var(--gutter, 20px);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  .tools-nav__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1.5px solid var(--viz-line);
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--viz-text-2);
    text-decoration: none;
    transition: all 0.25s var(--ease, cubic-bezier(0.65, 0, 0.35, 1));
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  }
  .tools-nav__pill__num {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--viz-text-3);
  }
  .tools-nav__pill:hover {
    background: var(--viz-ink);
    color: white;
    border-color: var(--viz-ink);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  }
  .tools-nav__pill:hover .tools-nav__pill__num { color: rgba(255,255,255,0.55); }

  /* === Range visual: live-fill on slider === */
  .tool-field input[type=range] {
    background: linear-gradient(to right, var(--viz-red) 0%, var(--viz-red) var(--range-val, 0%), var(--viz-line) var(--range-val, 0%), var(--viz-line) 100%);
    height: 6px;
    border-radius: 999px;
  }
  .tool-field input[type=range]::-moz-range-thumb {
    width: 22px; height: 22px;
    background: var(--viz-ink);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  /* === Live count-up animation === */
  .tool-result__big,
  .tool-result__row-value {
    transition: transform 0.18s ease-out, color 0.18s ease-out;
  }
  .tool-result__big.is-pulse,
  .tool-result__row-value.is-pulse {
    transform: translateY(-1px);
  }
  @keyframes resultFlash {
    0% { background: rgba(220, 0, 24, 0); }
    40% { background: rgba(220, 0, 24, 0.06); }
    100% { background: rgba(220, 0, 24, 0); }
  }

  /* === AI-trigger row below each tool result === */
  .tool-ai-row {
    margin-top: 18px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(220,0,24,0.04), rgba(220,0,24,0.01));
    border: 1.5px dashed rgba(220, 0, 24, 0.28);
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
  }
  .tool-ai-row__text {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--viz-text-2);
    line-height: 1.45;
    flex: 1;
    min-width: 200px;
  }
  .tool-ai-row__text strong {
    color: var(--viz-text);
    font-weight: 700;
  }

  /* === Sticky-ish result on desktop === */
  @media (min-width: 1024px) {
    .tool-grid .tool-result {
      position: sticky;
      top: 100px;
      align-self: start;
    }
  }

  /* === Funnel diagnose: progressive disclosure === */
  .funnel-q__item {
    position: relative;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  .funnel-q__item.is-answered {
    background: linear-gradient(135deg, rgba(20, 160, 76, 0.06), var(--viz-surface-2));
  }
  .funnel-q__progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px 16px;
    background: white;
    border: 1px solid var(--viz-line);
    border-radius: 12px;
  }
  .funnel-q__progress__label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--viz-text-3);
  }
  .funnel-q__progress__bar {
    flex: 1;
    height: 4px;
    background: var(--viz-line);
    border-radius: 999px;
    overflow: hidden;
  }
  .funnel-q__progress__fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--viz-red), #ff4555);
    border-radius: inherit;
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .funnel-q__progress__num {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--viz-text);
  }

  /* === Mobile: prevent horizontal scroll & better stacking === */
  @media (max-width: 899px) {
    .tool-grid[data-funnel-tool],
    .tool-grid[data-roi-tool],
    .tool-grid[data-leadpot-tool],
    .tool-grid[data-matrix-tool],
    .tool-grid[data-audit-tool] {
      grid-template-columns: 1fr !important;
    }
    .tool-card { padding: 20px; border-radius: 18px; }
    .tool-result { padding: 20px; border-radius: 14px; }
    .tool-result__big { font-size: clamp(28px, 8vw, 40px) !important; }
    .funnel-q__item {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
    .funnel-q__toggle { width: 100%; }
    .funnel-q__btn { flex: 1; }
  }

/* ============================================================================
   TOOL-UNTERSEITEN (tp-*) — Hero, Einordnung, Hebel, Related, Motion
   ============================================================================ */

/* --- Kompakter dunkler Tool-Hero --- */
.tp-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 340px at 82% -10%, rgba(220,0,24,0.22), transparent 60%),
    radial-gradient(500px 280px at 8% 110%, rgba(220,0,24,0.10), transparent 60%),
    linear-gradient(180deg, #0a0b12, #101221);
  color: #fff;
  padding: clamp(96px, 13vh, 150px) 0 clamp(44px, 6vw, 72px);
}
.tp-hero__inner { width: min(1160px, 92vw); margin-inline: auto; position: relative; z-index: 2; }
.tp-crumbs {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 18px;
}
.tp-crumbs a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color .2s; }
.tp-crumbs a:hover { color: #fff; }
.tp-crumbs .sep { color: rgba(220,0,24,0.8); }
.tp-hero__title {
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.06;
  margin: 0 0 14px; max-width: 22ch;
}
.tp-hero__title .red {
  background: linear-gradient(115deg, #ff2c40, #ff8291);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tp-hero__lead { max-width: 62ch; font-size: clamp(14.5px, 1.6vw, 17px); line-height: 1.65; color: rgba(255,255,255,0.66); margin: 0 0 22px; }
.tp-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-trust span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05);
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.8);
}
.tp-trust span::before { content: "✓"; color: #4ade80; font-size: 11px; }

/* --- Tool-Bereich: nahtloser Übergang, Karte leicht angehoben --- */
.tp-toolstage { position: relative; background: var(--viz-surface-2, #f8fafc); padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.tp-toolstage .stage__inner { position: relative; z-index: 2; }
.tp-toolstage::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 160px;
  background: linear-gradient(180deg, #101221, transparent);
  opacity: 0.06; pointer-events: none;
}
.tp-toolstage .tool-card { box-shadow: 0 30px 80px rgba(15,23,42,0.10), var(--viz-shadow-sm, 0 6px 24px rgba(15,23,42,0.06)); }

/* --- Ergebnis-Einordnung (Ampel-Bänder) --- */
.tp-bands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .tp-bands { grid-template-columns: 1fr; } }
.tp-band {
  border-radius: 18px; padding: 22px;
  background: white; border: 1px solid var(--viz-line, #edf0f3);
  border-top: 3px solid var(--band, #94a3b8);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.tp-band:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(15,23,42,0.10); }
.tp-band--low  { --band: #dc2626; }
.tp-band--mid  { --band: #d97706; }
.tp-band--high { --band: #16a34a; }
.tp-band__range {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--band); font-weight: 700; margin-bottom: 8px;
}
.tp-band__title { font-weight: 750; font-size: 16px; letter-spacing: -0.01em; margin-bottom: 6px; color: var(--viz-text, #0f172a); }
.tp-band__text { font-size: 13.5px; line-height: 1.6; color: var(--viz-text-2, #475569); }

/* --- Hebel-Karten --- */
.tp-levers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .tp-levers { grid-template-columns: 1fr; } }
.tp-lever {
  border-radius: 18px; padding: 24px;
  background: linear-gradient(160deg, #0f1019, #16182a);
  color: #fff; position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.tp-lever:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(15,23,42,0.35); }
.tp-lever__num {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px; letter-spacing: 0.14em; color: #ff8f9b; margin-bottom: 10px; display: block;
}
.tp-lever__title { font-weight: 750; font-size: 16.5px; letter-spacing: -0.01em; margin-bottom: 8px; }
.tp-lever__text { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.66); }

/* --- Related Tools --- */
.tp-rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .tp-rel { grid-template-columns: 1fr; } }
.tp-rel__card {
  display: flex; flex-direction: column; gap: 8px;
  border-radius: 18px; padding: 22px;
  background: white; border: 1px solid var(--viz-line, #edf0f3);
  text-decoration: none; color: var(--viz-text, #0f172a);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.tp-rel__card:hover { transform: translateY(-4px); border-color: rgba(220,0,24,0.35); box-shadow: 0 20px 50px rgba(15,23,42,0.10); }
.tp-rel__badge {
  align-self: flex-start;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(220,0,24,0.07); color: #c00015; border: 1px solid rgba(220,0,24,0.2);
}
.tp-rel__title { font-weight: 750; font-size: 16px; letter-spacing: -0.01em; }
.tp-rel__text { font-size: 13px; line-height: 1.55; color: var(--viz-text-2, #475569); }
.tp-rel__go { margin-top: auto; font-size: 13px; font-weight: 700; color: #c00015; }

/* --- Sanfte Progressive-Motion für Tool-Ergebnisse --- */
.tool-result__row-value.is-pulse { transform: scale(1.12); color: var(--viz-red, #DC0018); }
.tool-result__row-value { transition: transform .18s ease, color .18s ease; }

@media (prefers-reduced-motion: reduce) {
  .tp-band, .tp-lever, .tp-rel__card { transition: none; }
}

/* ============================================================================
   TOOLS-ÜBERSICHT (tg-*) — Galerie, Flagship-Karte, Schritt-Strip
   ============================================================================ */
.tg-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 1.8vw, 20px);
}
.tg-card { grid-column: span 12; }
@media (min-width: 720px)  { .tg-card { grid-column: span 6; } .tg-card--flag { grid-column: span 12; } }
@media (min-width: 1080px) { .tg-card { grid-column: span 4; } .tg-card--flag { grid-column: span 8; } .tg-card--tall { grid-column: span 4; } }

.tg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.6vw, 28px);
  border-radius: 22px;
  background: white;
  border: 1px solid var(--viz-line, #edf0f3);
  text-decoration: none;
  color: var(--viz-text, #0f172a);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease, border-color .4s ease;
}
.tg-card:hover {
  transform: translateY(-5px);
  border-color: rgba(220,0,24,0.3);
  box-shadow: 0 28px 70px rgba(15,23,42,0.12);
}
.tg-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tg-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(220,0,24,0.9), rgba(150,0,16,0.95));
  color: #fff;
  box-shadow: 0 10px 24px rgba(220,0,24,0.28);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.tg-card:hover .tg-card__icon { transform: scale(1.08) rotate(-4deg); }
.tg-card__icon svg { width: 21px; height: 21px; }
.tg-card__badge {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(15,23,42,0.04); color: var(--viz-text-2, #475569);
  border: 1px solid rgba(15,23,42,0.07);
}
.tg-card__title { font-size: clamp(17px, 1.8vw, 20px); font-weight: 750; letter-spacing: -0.015em; }
.tg-card__text { font-size: 13.5px; line-height: 1.6; color: var(--viz-text-2, #475569); }
.tg-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tg-card__meta span {
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(15,23,42,0.035); color: var(--viz-text-2, #475569);
}
.tg-card__go {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: #c00015;
  transition: gap .3s cubic-bezier(.22,1,.36,1);
}
.tg-card:hover .tg-card__go { gap: 11px; }

/* Flagship (ROI) — grosse Karte mit Mini-Preview */
.tg-card--flag {
  background: linear-gradient(160deg, #0f1019, #171a2c);
  color: #fff;
  border-color: rgba(255,255,255,0.09);
}
.tg-card--flag .tg-card__text { color: rgba(255,255,255,0.66); }
.tg-card--flag .tg-card__badge { background: rgba(220,0,24,0.14); border-color: rgba(220,0,24,0.4); color: #ff8f9b; }
/* light-2026.css force-lightens .tg-card--flag's background (it shares the base .tg-card
   selector in light-2026.css's blanket "make cards light" rule), so this pill's old
   white-on-dark-card colors are now invisible white-on-white. Match the base light pill style. */
.tg-card--flag .tg-card__meta span { background: rgba(15, 23, 42, 0.045); color: var(--viz-text-2, #475569); }
.tg-card--flag .tg-card__go { color: #ff5d6e; }
.tg-card--flag:hover { border-color: rgba(220,0,24,0.45); box-shadow: 0 32px 80px rgba(0,0,0,0.4); }
.tg-flag__preview {
  margin-top: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(6,7,12,0.6);
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 560px) { .tg-flag__preview { grid-template-columns: 1fr; } }
.tg-flag__stat { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,0.045); }
.tg-flag__stat-label { font-family: var(--font-mono, ui-monospace, monospace); font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.tg-flag__stat-val { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; margin-top: 3px; }
.tg-flag__stat-val.red { color: #ff5d6e; }
/* .tg-flag__preview keeps its own genuinely dark background (rgba(6,7,12,0.6)) — light-2026.css
   never touches it. But light-2026.css DOES force .tg-flag__stat-label { color: var(--le-text-3) }
   (a mid-gray meant for light cards) via !important, which is nearly invisible on this dark tile.
   Beat it with higher specificity (2 classes) + !important and restore light text. */
.tg-flag__preview .tg-flag__stat-label { color: rgba(255, 255, 255, 0.85) !important; }

/* Audit-Karte (Conversion-Karte) — rot */
.tg-card--audit {
  background: linear-gradient(150deg, #dc0018, #8f000f);
  color: #fff;
  border-color: rgba(220,0,24,0.5);
}
.tg-card--audit .tg-card__text { color: rgba(255,255,255,0.82); }
.tg-card--audit .tg-card__badge { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); color: #fff; }
.tg-card--audit .tg-card__icon { background: rgba(255,255,255,0.16); box-shadow: none; }
/* Same as .tg-card--flag above: light-2026.css force-lightens .tg-card--audit's background
   too (same blanket .tg-card rule), leaving this white pill invisible on the now-white card. */
.tg-card--audit .tg-card__meta span { background: rgba(15, 23, 42, 0.045); color: var(--viz-text-2, #475569); }
.tg-card--audit .tg-card__go { color: #fff; }
.tg-card--audit:hover { box-shadow: 0 32px 80px rgba(220,0,24,0.4); }

/* 3-Schritte-Strip */
.tg-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .tg-steps { grid-template-columns: 1fr; } }
.tg-step {
  padding: 22px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--viz-line, #edf0f3);
}
.tg-step__num {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(220,0,24,0.08); color: #c00015;
  font-weight: 800; font-size: 14px;
  margin-bottom: 12px;
}
.tg-step__title { font-weight: 750; font-size: 15.5px; margin-bottom: 6px; }
.tg-step__text { font-size: 13.5px; line-height: 1.6; color: var(--viz-text-2, #475569); }

@media (prefers-reduced-motion: reduce) {
  .tg-card, .tg-card__icon, .tg-card__go { transition: none; }
}

/* ============================================================================
   TOOLS-ÜBERSICHT 2026 — Interaktives Cockpit
   ============================================================================ */
.tool-lab {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 82px) 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #f7f8fb 0%, #ffffff 52%, var(--viz-surface-2, #f8fafc) 100%);
  background-size: 42px 42px, 42px 42px, auto;
}

.tool-lab::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(220, 0, 24, 0.08), transparent 28%),
    linear-gradient(315deg, rgba(15, 23, 42, 0.07), transparent 30%);
  pointer-events: none;
}

.tool-lab .stage__inner {
  position: relative;
  z-index: 1;
}

.tool-lab__shell {
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.tool-lab__head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(18px, 4vw, 44px);
  padding: clamp(24px, 4vw, 42px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.tool-lab__title {
  margin: 10px 0 0;
  max-width: 760px;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.02;
  font-weight: 820;
  letter-spacing: 0;
  color: var(--viz-ink, #0f172a);
}

.tool-lab__copy {
  align-self: end;
  margin: 0;
  color: var(--viz-text-2, #475569);
  font-size: clamp(14px, 1.45vw, 16.5px);
  line-height: 1.65;
}

.tool-lab__modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.tool-lab__mode {
  min-height: 86px;
  padding: 18px clamp(14px, 2vw, 22px);
  border: 0;
  background: rgba(255, 255, 255, 0.84);
  color: var(--viz-text, #0f172a);
  text-align: left;
  cursor: pointer;
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.tool-lab__mode span,
.tool-lab__mode small {
  display: block;
}

.tool-lab__mode span {
  font-weight: 780;
  font-size: 14.5px;
}

.tool-lab__mode small {
  margin-top: 5px;
  color: var(--viz-text-3, #64748b);
  font-size: 12px;
  line-height: 1.35;
}

.tool-lab__mode:hover {
  background: #fff;
}

.tool-lab__mode.is-active {
  background: linear-gradient(145deg, var(--viz-ink, #0f172a), #171a2c);
  color: #fff;
}

.tool-lab__mode.is-active small {
  color: rgba(255, 255, 255, 0.64);
}

/* light-2026.css forces .tool-lab__mode.is-active small { color: rgba(255,255,255,0.8) }
   via !important — still only 2.77:1 against the genuinely saturated red active-mode tile.
   Beat it with higher specificity (3 classes) + !important and push to full white. */
.tool-lab__modes .tool-lab__mode.is-active small {
  color: #fff !important;
}

.tool-lab__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(300px, 1.1fr) minmax(260px, 0.85fr);
  gap: clamp(16px, 2vw, 22px);
  padding: clamp(18px, 3vw, 30px);
  align-items: stretch;
}

.tool-lab__controls,
.tool-lab__visual,
.tool-lab__path {
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background: #fff;
}

.tool-lab__controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(18px, 2.5vw, 24px);
}

.tool-lab__control-head,
.tool-lab__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tool-lab__kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--viz-red, #DC0018);
}

.tool-lab__kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: currentColor;
}

.tool-lab__status {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(220, 0, 24, 0.07);
  color: #b30014;
  font-size: 12px;
  font-weight: 720;
}

.tool-lab__field {
  display: grid;
  gap: 8px;
}

.tool-lab__field > span,
.tool-lab__label-row span {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--viz-text-3, #64748b);
}

.tool-lab__label-row strong {
  color: var(--viz-text, #0f172a);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.tool-lab__field select {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--viz-text, #0f172a);
  padding: 0 42px 0 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 680;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 21px,
    calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.tool-lab__field select:focus-visible,
.tool-lab__chip:focus-visible,
.tool-lab__mode:focus-visible,
.tool-lab__cta:focus-visible {
  outline: 2px solid var(--viz-red, #DC0018);
  outline-offset: 3px;
}

.tool-lab__field input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  appearance: none;
  background: linear-gradient(to right, var(--viz-red, #DC0018) 0%, var(--viz-red, #DC0018) var(--range-val, 18%), rgba(15, 23, 42, 0.12) var(--range-val, 18%), rgba(15, 23, 42, 0.12) 100%);
}

.tool-lab__field input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border-radius: 99px;
  border: 3px solid #fff;
  background: var(--viz-ink, #0f172a);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.24);
  appearance: none;
  cursor: pointer;
}

.tool-lab__field input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 99px;
  border: 3px solid #fff;
  background: var(--viz-ink, #0f172a);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.24);
  cursor: pointer;
}

.tool-lab__chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tool-lab__chip {
  min-height: 42px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--viz-text-2, #475569);
  font-weight: 750;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tool-lab__chip:hover {
  border-color: rgba(15, 23, 42, 0.28);
}

.tool-lab__chip.is-active {
  background: var(--viz-red, #DC0018);
  border-color: var(--viz-red, #DC0018);
  color: #fff;
}

.tool-lab__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  margin-top: auto;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--viz-red, #DC0018), #970010);
  color: #fff;
  text-decoration: none;
  font-weight: 820;
  box-shadow: 0 18px 38px rgba(220, 0, 24, 0.24);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

/* light-2026.css forces [class*="tool-lab"][class*="__cta"] { color: var(--le-red) } via
   !important, which turns this into invisible red-on-red text on the CTA's real red-gradient
   button background. Beat it with higher specificity (3 classes) + !important. */
.tool-lab__grid .tool-lab__controls .tool-lab__cta {
  color: #fff !important;
}

.tool-lab__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(220, 0, 24, 0.32);
}

.tool-lab__visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
  padding: clamp(18px, 2.5vw, 26px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(155deg, #0c0e18, #171a2c);
  background-size: 34px 34px, 34px 34px, auto;
  color: #fff;
  overflow: hidden;
}

.tool-lab__visual::after {
  content: "";
  position: absolute;
  inset: auto 20px 0 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  opacity: 0.7;
}

.tool-lab__dial {
  --score: 82;
  align-self: center;
  width: min(100%, 178px);
  aspect-ratio: 1;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-inline: auto;
  background:
    radial-gradient(circle at center, #111421 0 52%, transparent 53%),
    conic-gradient(var(--viz-red, #DC0018) calc(var(--score) * 1%), rgba(255,255,255,0.12) 0);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 22px 60px rgba(0, 0, 0, 0.28);
}

.tool-lab__dial span,
.tool-lab__dial small {
  grid-area: 1 / 1;
}

.tool-lab__dial span {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 860;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.tool-lab__dial small {
  transform: translateY(34px);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.tool-lab__recommend {
  align-self: center;
  min-width: 0;
}

.tool-lab__recommend h3 {
  margin: 12px 0 8px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.08;
  font-weight: 840;
  letter-spacing: 0;
}

.tool-lab__recommend p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.58;
  font-size: 14.5px;
}

.tool-lab__bars {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.tool-lab__bar {
  display: grid;
  grid-template-columns: 70px minmax(80px, 1fr) 44px;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.tool-lab__bar i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #ff5264, #DC0018) 0 / var(--bar, 50%) 100% no-repeat,
    rgba(255, 255, 255, 0.1);
  transition: background-size 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-lab__bar strong {
  text-align: right;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.tool-lab__path {
  padding: clamp(18px, 2.5vw, 24px);
}

.tool-lab__route {
  list-style: none;
  counter-reset: tool-route;
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
}

.tool-lab__route li {
  counter-increment: tool-route;
  position: relative;
  display: grid;
  gap: 4px;
  padding: 14px 14px 14px 48px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.tool-lab__route li::before {
  content: counter(tool-route);
  position: absolute;
  left: 13px;
  top: 15px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(220, 0, 24, 0.09);
  color: #b30014;
  font-size: 12px;
  font-weight: 850;
}

.tool-lab__route a {
  color: var(--viz-text, #0f172a);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 820;
}

.tool-lab__route a:hover {
  color: var(--viz-red, #DC0018);
}

.tool-lab__route span {
  color: var(--viz-text-2, #475569);
  font-size: 12.5px;
  line-height: 1.45;
}

.tools-gallery-head {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.56fr);
  align-items: end;
}

.tg-card.is-recommended {
  border-color: rgba(220, 0, 24, 0.55);
  box-shadow: 0 26px 70px rgba(220, 0, 24, 0.13), 0 20px 50px rgba(15, 23, 42, 0.08);
}

.tg-card.is-recommended::after {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  z-index: 2;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--viz-red, #DC0018);
  box-shadow: 0 10px 22px rgba(220, 0, 24, 0.22);
}

.tg-card.is-muted {
  opacity: 0.64;
  filter: saturate(0.82);
}

.tg-card.is-muted:hover {
  opacity: 1;
  filter: none;
}

@media (max-width: 1080px) {
  .tool-lab__head,
  .tool-lab__grid,
  .tools-gallery-head {
    grid-template-columns: 1fr;
  }

  .tool-lab__modes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .tool-lab {
    padding-top: 22px;
  }

  .tool-lab__shell {
    border-radius: 18px;
  }

  .tool-lab__head,
  .tool-lab__grid {
    padding: 18px;
  }

  .tool-lab__modes,
  .tool-lab__visual {
    grid-template-columns: 1fr;
  }

  .tool-lab__mode {
    min-height: auto;
  }

  .tool-lab__control-head,
  .tool-lab__label-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .tool-lab__chips {
    grid-template-columns: 1fr;
  }

  .tool-lab__bar {
    grid-template-columns: 64px minmax(74px, 1fr) 42px;
    gap: 8px;
  }

  .tg-card.is-recommended::after { inset-block: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .tool-lab__mode,
  .tool-lab__chip,
  .tool-lab__cta,
  .tool-lab__bar i {
    transition: none;
  }
}

/* ============================================================================
   FIX 2026-07-23 (User: "grau auf schwarz" auf /tools): Das Featured-Tool-
   Preview (.tg-flag__preview) ist ein bewusst DUNKLES Dashboard-Mockup
   (rgba(6,7,12,0.6)) — die light-2026-Blankets .tg-flag__stat-val/-label
   (Zeilen ~851f., color: var(--le-text/-3) !important) zwangen darin aber
   dunklen Text auf dunklen Grund. Spezifitaet (0,3,0) schlaegt die Blankets
   (0,1,0) unabhaengig von der Ladereihenfolge. Roter Akzent (.red) bleibt.
   ========================================================================== */
.tg-flag__preview .tg-flag__stat-label { color: rgba(255, 255, 255, 0.62) !important; }
.tg-flag__preview .tg-flag__stat-val { color: #ffffff !important; }
.tg-flag__preview .tg-flag__stat-val.red { color: #ff5d6e !important; }

/* FIX 2026-07-23b: .tg-flag__preview war nur 60% deckend — ueber der weissen
   Karte ergab das mattes Grau, und Rose/Weiss darauf fiel im Audit durch.
   Volldeckendes Dunkel wie die anderen Mockups der Site. */
.tg-flag__preview { background: #0b0c14 !important; }
