/* Zeitstrahl-Komponente (/assets/zeitstrahl.js) — eigene Datei statt Inline-Block,
   weil dieselbe Komponente in Blog und Pitch (DE + EN) steckt. Alles unter .zs gescopet. */
.zs {
  --zs-ink: #172b34; --zs-ink-soft: #4d6069; --zs-ink-muted: #63757d;
  --zs-paper: #ffffff; --zs-line: #dce5e7; --zs-grid: #e9eff0;
  --zs-accent: #2d5d6e; --zs-night: #122c38;
  /* Serienfarben, validiert (dataviz validate_palette.js, light): Hub · Skills · weitere */
  --zs-hub: #00839c; --zs-skills: #e0852a; --zs-other: #8b7bd8;
  margin: 28px 0; padding: 22px; background: var(--zs-paper); color: var(--zs-ink);
  border: 1px solid var(--zs-line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(18,44,56,.04), 0 8px 24px rgba(18,44,56,.06);
  line-height: 1.5;
}
.zs-fallback { margin: 0; color: var(--zs-ink-soft); }
.zs-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.zs-num { font-size: clamp(24px, 4vw, 38px); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.05; color: var(--zs-ink); }
.zs-num.zs-week { color: var(--zs-accent); }
.zs-lbl { font-size: 13px; color: var(--zs-ink-soft); margin-top: 4px; }
.zs-chart { position: relative; }
.zs-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 12px; flex-wrap: wrap; margin: 0 0 8px; }
.zs-title { font-size: 15px; margin: 0; font-weight: 600; color: var(--zs-ink); }
.zs-legend { display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: 13px; color: var(--zs-ink-soft); margin: 0; padding: 0; list-style: none; }
.zs-legend li { display: flex; align-items: center; gap: 6px; margin: 0; }
.zs-legend i, .zs-tip i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex: none; }
.zs svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.zs svg text { font-family: inherit; fill: var(--zs-ink-muted); font-size: 12px; }
.zs .zs-gridline { stroke: var(--zs-grid); stroke-width: 1; }
.zs .zs-base { stroke: var(--zs-line); stroke-width: 1; }
.zs .zs-area { stroke: var(--zs-paper); stroke-width: 2; stroke-linejoin: round; }
.zs .zs-playhead { stroke: var(--zs-night); stroke-width: 1.5; }
.zs .zs-dot { fill: var(--zs-night); stroke: var(--zs-paper); stroke-width: 2; }
.zs .zs-ms { fill: var(--zs-paper); stroke: var(--zs-night); stroke-width: 2; transition: opacity .3s, transform .3s; transform-box: fill-box; transform-origin: center; }
.zs .zs-ms.zs-off { opacity: 0; transform: scale(.4); }
.zs .zs-ms.zs-now { fill: var(--zs-night); }
.zs .zs-hover { stroke: var(--zs-ink-muted); stroke-width: 1; stroke-dasharray: 3 3; }
.zs-tip { position: absolute; pointer-events: none; background: var(--zs-night); color: #fff; border-radius: 8px; padding: 8px 10px; font-size: 13px; line-height: 1.4; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity .12s; z-index: 2; }
.zs-tip.zs-on { opacity: 1; }
.zs-tip b { display: block; font-size: 12px; font-weight: 600; opacity: .85; margin-bottom: 2px; }
.zs-tip .zs-row { display: flex; align-items: center; gap: 6px; }
.zs-tip .zs-row i { width: 8px; height: 8px; border-radius: 2px; }
.zs-tip .zs-row span:last-child { margin-left: auto; padding-left: 12px; font-variant-numeric: tabular-nums; }
.zs-tip .zs-star { margin-top: 4px; }
.zs-caption { min-height: 56px; margin-top: 10px; display: flex; align-items: center; gap: 12px; }
.zs-kw { flex: none; font-size: 13px; font-weight: 600; color: #fff; background: var(--zs-night); border-radius: 999px; padding: 3px 10px; font-variant-numeric: tabular-nums; }
.zs-txt { font-size: clamp(17px, 2.4vw, 23px); font-weight: 650; letter-spacing: -.01em; color: var(--zs-ink); }
.zs-caption.zs-swap .zs-kw, .zs-caption.zs-swap .zs-txt { animation: zs-rise .45s cubic-bezier(.2,.7,.2,1); }
@keyframes zs-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.zs-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--zs-line); }
.zs-team { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--zs-ink-soft); }
.zs-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--zs-line); border-radius: 999px; padding: 3px 10px 3px 4px; color: var(--zs-ink); transition: opacity .35s, transform .35s; }
.zs-chip.zs-off { opacity: 0; transform: translateY(6px); }
.zs-av { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--zs-accent); }
.zs-chip.zs-human .zs-av { background: #b5651d; }
.zs-note { font-size: 13px; color: var(--zs-ink-muted); margin: 0; }
.zs-controls { display: flex; gap: 8px; margin-left: auto; }
.zs-controls[hidden] { display: none; }
.zs button { font: inherit; font-size: 14px; font-weight: 600; border-radius: 999px; border: 1px solid var(--zs-line); background: var(--zs-paper); color: var(--zs-ink); padding: 6px 14px; cursor: pointer; min-height: 36px; }
.zs button:hover { border-color: var(--zs-accent); }
.zs button.zs-primary { background: var(--zs-night); color: #fff; border-color: var(--zs-night); }
.zs button:focus-visible { outline: 2px solid var(--zs-accent); outline-offset: 2px; }
.zs details { margin-top: 14px; font-size: 14px; color: var(--zs-ink-soft); }
.zs summary { cursor: pointer; font-weight: 600; color: var(--zs-ink); }
.zs-scroll { overflow-x: auto; margin-top: 10px; }
.zs table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; font-size: 13px; }
.zs th, .zs td { text-align: right; padding: 5px 10px; border-bottom: 1px solid var(--zs-line); white-space: nowrap; }
.zs th:first-child, .zs td:first-child, .zs th:last-child, .zs td:last-child { text-align: left; }
.zs thead th { color: var(--zs-ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .zs .zs-ms, .zs-chip, .zs-tip { transition: none; }
  .zs-caption.zs-swap .zs-kw, .zs-caption.zs-swap .zs-txt { animation: none; }
}
@media (max-width: 640px) {
  .zs { padding: 16px; border-radius: 12px; margin-left: -6px; margin-right: -6px; }
  .zs-stats { gap: 10px; }
  .zs-caption { min-height: 72px; align-items: flex-start; flex-direction: column; gap: 6px; }
}
