/* Teil 6 von 6: Ergänzungen nach den Breakpoints: Live-Marktpuls, Telefonkarte, gezeichneter Faden mit Knäuel, reduzierte Bewegung.
 * Einzelne Regeln (etwa .thread-3d padding-left) überschreiben Teil 5, deshalb bleibt diese Datei die letzte. */

/* Live Marktpuls im Hero (eigene Kennzahlen, keine Kurse) */
.proof-strip dd .live-dot { margin-right: 8px; vertical-align: 1px; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 999px; background: #71717a; }
.live-dot-green { background: #34d399; }
.live-dot-yellow { background: #fbbf24; }
.live-dot-red { background: #fb7185; }
.live-sub { margin-left: 10px; color: var(--muted); font-weight: 600; }
.live-dot-inline { width: 8px; height: 8px; margin-right: 6px; vertical-align: 1px; }
.live-scanner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.live-scanner-label { color: var(--muted); font-size: 13px; font-weight: 600; }
.live-scanner-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.live-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid rgba(34, 211, 238, 0.35); border-radius: 8px; color: #a5f3fc; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 800; text-decoration: none; transition: border-color 0.15s, background 0.15s; }
.live-chip:hover { border-color: rgba(34, 211, 238, 0.8); background: rgba(34, 211, 238, 0.08); }
.live-stamp { color: var(--muted-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }

/* Ampel in der Scanner Zeile nur, wenn die Kachelreihe ausgeblendet ist */
.live-signal-inline { display: none; align-items: center; gap: 6px; color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 800; }
.live-inline-label { color: var(--muted); font-family: inherit; font-weight: 600; margin-right: 2px; }
@media (max-width: 620px) {
  .live-signal-inline { display: inline-flex; }
}
.proof-strip dd[data-live-signal], .proof-strip dd[data-live-sector], .proof-strip dd[data-live-scanner-count] { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Watchlist Karte mit Telefonbild */
.feature-card-phone .phone-shot-wrap { display: flex; justify-content: center; align-items: flex-start; height: 360px; overflow: hidden; border-top: 1px solid var(--line-soft); padding: 18px 18px 0; }
.feature-card-phone .phone-shot-wrap img { width: min(300px, 70%); height: auto; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 26px 26px 0 0; object-fit: cover; object-position: top; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }

.newsletter-current-meta { display: inline-flex; align-items: center; gap: 6px; }
.newsletter-current-meta .live-dot-inline { margin-right: 0; }

/* Roter Faden: Knäuel links, Faden zieht durch alle Stationen (per JS gezeichnet) */
.thread-3d { padding-left: clamp(22px, 3vw, 34px); }
@media (min-width: 981px) {
  .thread-3d[data-thread] { padding-left: clamp(140px, 12vw, 180px); }
}
@media (max-width: 980px) {
  .thread-3d[data-thread] { padding-top: 128px; }
}
.thread-line { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.thread-line .thread-glow { display: none; }
.thread-line .thread-core { fill: none; stroke: #ff4057; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.thread-line.is-ready .thread-core { animation: thread-draw 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes thread-draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .thread-line.is-ready .thread-core { animation: none; stroke-dashoffset: 0 !important; } }
.workflow li::before { z-index: 1; }

/* Wollknäuel */
.thread-line .yarn-body { fill: url(#yarn-fill); }
.thread-line .yarn-shade { fill: url(#yarn-shade); }
.thread-line .yarn-rim { fill: none; stroke: rgba(50, 3, 12, 0.7); stroke-width: 1; }
.thread-line .yarn-wrap { fill: none; stroke-linecap: round; }
.thread-line .yarn-wrap-dark { stroke: rgba(92, 6, 20, 0.82); }
.thread-line .yarn-wrap-mid { stroke: rgba(226, 46, 70, 0.85); }
.thread-line .yarn-wrap-light { stroke: rgba(255, 150, 166, 0.5); }
.thread-line .yarn-fuzz { stroke: rgba(255, 120, 140, 0.45); stroke-width: 0.8; stroke-linecap: round; }
.thread-line .yarn-highlight { fill: rgba(255, 255, 255, 0.26); filter: blur(2px); }
.thread-line .yarn-shadow { fill: rgba(0, 0, 0, 0.6); filter: blur(6px); }
.thread-ball { filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45)); }
.workflow li::after { display: none; }

/* Achter Slot im 4-Spalten-Raster des Roten Fadens: schließt die untere rechte Lücke */
.workflow li.workflow-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 20px 22px;
  border-color: rgba(34, 211, 238, 0.28);
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.14), transparent 55%),
    rgba(10, 16, 22, 0.94);
}
.workflow li.workflow-cta::before {
  display: none;
}
.workflow li.workflow-cta .workflow-cta-label {
  position: static;
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
}
.workflow li.workflow-cta strong {
  margin-bottom: 16px;
}
.workflow-cta-button {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  width: fit-content;
}

/* Produkt-Tabs: kompakte Navigation durch die 11 Module ohne Endlos-Wand */
.product-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
}
.product-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.product-tab:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text);
}
.product-tab.is-active {
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(34, 211, 238, 0.14);
  color: #ffffff;
}
.product-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
}
.product-tab.is-active .product-tab-count {
  background: rgba(34, 211, 238, 0.24);
  color: #a5f3fc;
}
.product-tab-all {
  margin-left: auto;
}
.feature-card[hidden] {
  display: none !important;
}
.product-tab-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
}
.product-tab-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.product-tab-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 620px) {
  .product-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .product-tabs::-webkit-scrollbar {
    display: none;
  }
  .product-tab {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }
  .product-tab-all {
    margin-left: 0;
  }
  .product-tab-cta {
    padding: 16px;
    border-radius: 20px;
  }
  .product-tab-cta-actions {
    width: 100%;
  }
  .product-tab-cta-actions .button {
    width: 100%;
  }
}

/* Bewegung nur, wenn erwünscht */
@media (prefers-reduced-motion: reduce) {
  .app-store-badge-link,
  .newsletter-current,
  .live-chip,
  .product-tab {
    transition: none;
  }
  .app-store-badge-link:hover,
  .newsletter-current:hover {
    transform: none;
  }
}
