/* ============================================
   Sawa Engineering — Dark Theme
   ============================================ */

:root {
  --bg-primary: #0a0f1a;
  --bg-secondary: #111827;
  --bg-card: #0f1629;
  --text-primary: #e8edf5;
  --text-secondary: #94a3b8;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.2);
  --accent-glow: rgba(0, 212, 255, 0.08);
  --border: rgba(0, 212, 255, 0.15);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1140px;
  --radius: 12px;
  --transition: 0.3s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Grid background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ---- Layout ---- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

section {
  padding: 5rem 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.8;
}

/* ---- Navigation ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
  opacity: 1;
}

/* ---- Hero ---- */

.hero {
  padding: 10rem 0 6rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
  background: var(--accent-glow);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 .hero-subline {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0;
  display: block;
  margin-top: 0.5rem;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 1.25rem;
}

.hero p.hero-lead {
  font-size: 1.2rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 1.75rem;
}

.hero p.hero-result {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero p.hero-claim {
  font-size: 0.85rem;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  margin: 0 auto 2.5rem;
  max-width: 680px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
  border-radius: 8px;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.25);
  opacity: 1;
}

/* ---- Chat Mockup ---- */

.chat-section {
  padding: 4rem 0;
}

.chat-section h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.chat-section .subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.chat-window {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 212, 255, 0.03);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.chat-header-info strong {
  display: block;
  font-size: 0.9rem;
}

.chat-header-info span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.chat-messages {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 280px;
}

.msg {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  animation: msgIn 0.4s ease forwards;
}

.msg-user {
  align-self: flex-end;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid var(--accent-dim);
  color: var(--text-primary);
}

.msg-assistant {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.msg-assistant .source {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.msg:nth-child(1) { animation-delay: 0.2s; }
.msg:nth-child(2) { animation-delay: 0.8s; }
.msg:nth-child(3) { animation-delay: 1.6s; }
.msg:nth-child(4) { animation-delay: 2.4s; }

@keyframes msgIn {
  to { opacity: 1; transform: translateY(0); }
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 0.75rem 1rem;
  align-self: flex-start;
  opacity: 0;
  animation: msgIn 0.4s ease forwards;
  animation-delay: 3.2s;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-secondary);
  animation: blink 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 60%, 100% { opacity: 0.3; }
  30% { opacity: 1; }
}

.chat-disclaimer {
  text-align: center;
  max-width: 700px;
  margin: 1.75rem auto 0;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Focus Cards ---- */

.focus-section h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.focus-section .subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ---- Abgrenzung ---- */

.abgrenzung-section {
  text-align: center;
}

.abgrenzung-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.abgrenzung-section p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---- Profil ---- */

.profil-section {
  text-align: center;
}

.profil-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.profil-section .subtitle {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.profil-box {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.profil-box h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.profil-box .role {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.profil-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.profil-box .profil-intl {
  margin-top: 1rem;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--accent);
}

/* ---- Kontakt ---- */

.kontakt-section {
  text-align: center;
}

.kontakt-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.kontakt-section .subtitle {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.kontakt-email {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---- Footer ---- */

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ---- Scroll Animations ---- */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Legal Pages ---- */

.legal-page {
  padding: 8rem 0 4rem;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.legal-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page a {
  color: var(--accent);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 7rem 0 4rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .msg {
    max-width: 90%;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ============================================
   === Task 6M: Workflow-Animation ===
   "So arbeitet SawaEng" — 5-Schritte-Workflow
   ============================================ */

.workflow-section {
  padding: 4.5rem 0;
}

.workflow-section h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.workflow-intro {
  text-align: center;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 3rem;
  font-size: 0.98rem;
  line-height: 1.65;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.75rem;
  position: relative;
}

.workflow-step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.1rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out,
    border-color var(--transition),
    box-shadow var(--transition);
}

.workflow-step.workflow-visible {
  opacity: 1;
  transform: translateY(0);
}

.workflow-step:nth-child(1).workflow-visible { transition-delay: 0ms, 0ms, 0s, 0s; }
.workflow-step:nth-child(2).workflow-visible { transition-delay: 120ms, 120ms, 0s, 0s; }
.workflow-step:nth-child(3).workflow-visible { transition-delay: 240ms, 240ms, 0s, 0s; }
.workflow-step:nth-child(4).workflow-visible { transition-delay: 360ms, 360ms, 0s, 0s; }
.workflow-step:nth-child(5).workflow-visible { transition-delay: 480ms, 480ms, 0s, 0s; }

.workflow-step:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.06);
}

.workflow-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.workflow-step-number {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.workflow-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.workflow-step-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.workflow-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.workflow-step > p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

/* Schritt 1 — Tags */
.workflow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
}

.workflow-tag {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  font-size: 0.7rem;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

/* Schritt 2 — Pulse-Effekt */
.workflow-pulse {
  position: relative;
  animation: workflow-pulse 2.4s ease-in-out infinite;
}

.workflow-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  border: 1px solid var(--accent-dim);
  opacity: 0;
  animation: workflow-pulse-ring 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes workflow-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.18);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 212, 255, 0);
  }
}

@keyframes workflow-pulse-ring {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  80% {
    opacity: 0;
    transform: scale(1.4);
  }
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

/* Schritt 3 — Rollen-Cluster */
.workflow-roles {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: auto;
  position: relative;
}

.workflow-roles li {
  padding: 0.45rem 0.6rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent-dim);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.35;
  /* Task 6M — Stagger Schritt 3 Mini-Karten:
     Initial unsichtbar, fade+slide nach Eintreffen der äußeren Karte */
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.workflow-roles li strong {
  color: var(--text-primary);
  font-size: 0.76rem;
  font-weight: 600;
}

.workflow-roles li span {
  color: var(--text-secondary);
  font-size: 0.7rem;
}

/* Task 6M — Stagger Schritt 3 Mini-Karten:
   "Team versammelt sich" — sequentielles Einfaden je 200 ms,
   ausgelöst nach Abschluss der äußeren Schritt-3-Transition (siehe main.js).
   Reihenfolge folgt der semantischen Pipeline:
   Extractor → Engineer Reviewer → Project Control → Risk Guard → Orchestrator */
.workflow-step-roles.workflow-roles-active .workflow-roles li {
  opacity: 1;
  transform: translateY(0);
}

.workflow-step-roles.workflow-roles-active .workflow-roles li:nth-child(1) { transition-delay: 0ms; }
.workflow-step-roles.workflow-roles-active .workflow-roles li:nth-child(2) { transition-delay: 200ms; }
.workflow-step-roles.workflow-roles-active .workflow-roles li:nth-child(3) { transition-delay: 400ms; }
.workflow-step-roles.workflow-roles-active .workflow-roles li:nth-child(4) { transition-delay: 600ms; }
.workflow-step-roles.workflow-roles-active .workflow-roles li:nth-child(5) { transition-delay: 800ms; }

/* Verbindungs-Sweep: zarte vertikale Linie links neben den Rollen-Karten,
   die nach Abschluss aller 5 Mini-Karten in ~600 ms hinunterläuft */
.workflow-roles::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -2px;
  width: 1px;
  background: var(--accent-dim);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s ease-out;
  /* Sweep startet, sobald die letzte Mini-Karte erscheint:
     0ms (Karte 1) + 800ms (Karte 5 Delay) + 350ms (Transition) = ~1150 ms */
  transition-delay: 0s;
  pointer-events: none;
}

.workflow-step-roles.workflow-roles-active .workflow-roles::before {
  transform: scaleY(1);
  transition-delay: 1150ms;
}

/* Schritt 4 — Output-Badges */
.workflow-outputs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: auto;
}

.workflow-outputs li {
  padding: 0.4rem 0.65rem;
  background: rgba(0, 212, 255, 0.04);
  border-left: 2px solid var(--accent);
  border-radius: 4px;
  font-size: 0.78rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Schritt 5 — Human Confirmation */
.workflow-check {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--accent);
}

.workflow-confirm-box {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid var(--accent-dim);
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-primary);
}

.workflow-confirm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-dim);
  flex-shrink: 0;
}

/* Connector-Linien zwischen Karten (nur Desktop) */
@media (min-width: 1024px) {
  .workflow-step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -1.75rem;
    width: 1.75rem;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      var(--accent-dim) 30%,
      var(--accent-dim) 70%,
      transparent 100%
    );
    background-size: 200% 100%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
    animation: workflow-flow 3s linear infinite;
  }

  .workflow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -0.55rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 6px;
    border-color: transparent transparent transparent var(--accent-dim);
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
  }
}

@keyframes workflow-flow {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Abschluss-Hinweis */
.workflow-note {
  text-align: center;
  max-width: 760px;
  margin: 3rem auto 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.65;
}

/* Responsive — Tablet */
@media (max-width: 1023px) {
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* Responsive — Mobile */
@media (max-width: 600px) {
  .workflow-section {
    padding: 3rem 0;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .workflow-intro {
    margin-bottom: 2rem;
  }

  /* Vertikaler Strich zwischen Karten auf Mobile */
  .workflow-step:not(:last-child)::before {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    width: 1px;
    height: 1rem;
    background: var(--accent-dim);
    transform: translateX(-50%);
    pointer-events: none;
  }

  /* Stagger auf Mobile reduzieren */
  .workflow-step:nth-child(1).workflow-visible { transition-delay: 0ms; }
  .workflow-step:nth-child(2).workflow-visible { transition-delay: 60ms; }
  .workflow-step:nth-child(3).workflow-visible { transition-delay: 120ms; }
  .workflow-step:nth-child(4).workflow-visible { transition-delay: 180ms; }
  .workflow-step:nth-child(5).workflow-visible { transition-delay: 240ms; }
}

/* Reduced Motion respektieren */
@media (prefers-reduced-motion: reduce) {
  .workflow-step,
  .workflow-step.workflow-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .workflow-step:nth-child(n).workflow-visible {
    transition-delay: 0s;
  }

  .workflow-pulse,
  .workflow-pulse::after {
    animation: none;
  }

  .workflow-step:not(:last-child)::before {
    animation: none;
    background: var(--accent-dim);
  }

  /* Task 6M — Schritt 3 Mini-Karten: kein Stagger, direkt sichtbar */
  .workflow-roles li,
  .workflow-step-roles.workflow-roles-active .workflow-roles li {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0s;
  }

  .workflow-roles::before,
  .workflow-step-roles.workflow-roles-active .workflow-roles::before {
    transform: scaleY(1);
    transition: none;
    transition-delay: 0s;
  }
}
