/* ──────────────────────────────────────────────────────────────
   Assistry – Tool-Onepager
   Helles CI, ergänzt assistry.css
   ────────────────────────────────────────────────────────────── */

html, body {
  max-width: 100%;
  overflow-x: clip;
}
@supports not (overflow-x: clip) {
  html, body { overflow-x: hidden; }
}

.container,
.tool-hero-inner,
.tool-grid-3,
.mock-grid,
.facts {
  min-width: 0;
}

.tool-hero {
  position: relative;
  padding: 64px 0 48px;
  background:
    radial-gradient(circle at 90% 0%, var(--blue-soft) 0%, transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(253,185,19,0.10) 0%, transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.tool-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.tool-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 18px;
  font-weight: 500;
}
.tool-back:hover { color: var(--blue); }

.tool-mark-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 18px;
}
.tool-mark-pill .tool-mark-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.tool-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  margin-bottom: 16px;
}
.tool-hero h1 .accent { color: var(--blue); }
.tool-hero h1 .gold   { color: var(--gold-dark); }
.tool-hero .lede {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 540px;
  margin-bottom: 22px;
}
.tool-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.tool-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.88rem;
  color: var(--text-soft);
}
.tool-hero-meta li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tool-hero-meta li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

/* ── Hero-Mockup (Karte mit Tool-Vorschau) ── */
.tool-mock {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 18px;
  position: relative;
}
.tool-mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.tool-mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.tool-mock-bar .dot.r { background: #fca5a5; }
.tool-mock-bar .dot.y { background: #fcd34d; }
.tool-mock-bar .dot.g { background: #86efac; }
.tool-mock-bar .label {
  margin-left: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.mock-stat {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.mock-stat .v {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
  line-height: 1;
}
.mock-stat .v.gold { color: var(--gold-dark); }
.mock-stat .v.red  { color: #dc2626; }
.mock-stat .v.green{ color: #16a34a; }
.mock-stat .l {
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--text-soft);
  font-weight: 500;
}

.mock-list { display: flex; flex-direction: column; gap: 6px; }
.mock-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.78rem;
  color: var(--text);
}
.mock-row .pill {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.pill.open  { background: rgba(220,38,38,0.10); color: #b91c1c; }
.pill.work  { background: rgba(253,185,19,0.18); color: #a16207; }
.pill.done  { background: rgba(22,163,74,0.10); color: #15803d; }
.pill.info  { background: var(--blue-soft); color: var(--blue-dark); }

/* ── Sektion: gemeinsame Bausteine ── */
.section-tool {
  padding: 72px 0;
}
.section-tool.section-soft { background: var(--bg-soft); }
.section-tool .section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-tool .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.section-tool h2 { margin-bottom: 12px; }
.section-tool .lede {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ── Pain / Feature / Step Cards ── */
.tool-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pain-card,
.feat-card,
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pain-card:hover,
.feat-card:hover,
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-2);
}
.pain-card .icon,
.feat-card .icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 16px;
}
.pain-card .icon { background: rgba(253,185,19,0.16); color: var(--gold-dark); }
.pain-card h3,
.feat-card h3,
.step-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.pain-card p,
.feat-card p,
.step-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin: 0;
}

.feat-card .feat-mock {
  margin-top: 16px;
  padding: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-soft);
  display: flex; align-items: center; justify-content: center;
  min-height: 96px;
}

/* Schritte 1-2-3 */
.step-card { position: relative; padding-top: 30px; }
.step-num {
  position: absolute;
  top: -18px; left: 24px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}

/* ── Vorteile-Liste ── */
.benefits {
  margin: 32px auto 0;
  max-width: 780px;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.benefits ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.benefits li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem; color: var(--text);
}
.benefits li::before {
  content: "";
  flex: 0 0 auto;
  margin-top: 6px;
  width: 16px; height: 16px;
  background:
    linear-gradient(135deg, var(--blue), var(--blue-dark));
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
}

/* ── Faktenboxen unten ── */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 12px;
}
.fact {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.fact .v {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.fact .l { color: var(--text-soft); font-size: 0.95rem; }

/* ── Family-Strip am Ende ── */
.family {
  padding: 56px 0 0;
  text-align: center;
}
.family .eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  color: var(--gold-dark); text-transform: uppercase;
}
.family h3 { font-size: 1.4rem; margin: 8px 0 22px; }
.family-list {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
}
.family-list a {
  display: inline-flex;
  align-items: center; gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em;
  color: var(--blue);
}
.family-list a:hover { border-color: var(--blue); color: var(--blue-dark); }
.family-list a.is-current {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ── Tool-spezifische Akzente ── */
.tool-cure .tool-mark-pill .tool-mark-letter { background: var(--blue); }
.tool-idea .tool-mark-pill .tool-mark-letter { background: #6366f1; }
.tool-wise .tool-mark-pill .tool-mark-letter { background: #0ea5e9; }
.tool-lane .tool-mark-pill .tool-mark-letter { background: #14b8a6; }
.tool-lead .tool-mark-pill .tool-mark-letter { background: #8b5cf6; }
.tool-ally .tool-mark-pill .tool-mark-letter { background: #ec4899; }
.tool-xray .tool-mark-pill .tool-mark-letter { background: #f59e0b; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .tool-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .tool-grid-3 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .benefits ul { grid-template-columns: 1fr; }
  .section-tool { padding: 52px 0; }
  .tool-hero { padding: 36px 0 28px; }
}

@media (max-width: 760px) {
  .tool-hero-actions { width: 100%; }
  .tool-hero-actions .btn { width: 100%; }
  .mock-row { align-items: flex-start; gap: 8px; }
  .mock-row .pill { white-space: nowrap; }
  .tool-mock { padding: 14px; }
  .benefits { padding: 20px 16px; }
  .tool-hero-meta { gap: 6px 10px; }
  .tool-hero-meta li { width: 100%; }
  .tool-hero .lede,
  .pain-card p,
  .feat-card p,
  .step-card p,
  .benefits li,
  .fact .l {
    overflow-wrap: anywhere;
  }
  .family-list a {
    width: 100%;
    justify-content: center;
  }
}
