:root {
  --accent:    #4afabd;
  --teal:      #7dd3c8;
  --navy:      #1c2a3b;
  --bg-gray:   #e6e6e5;
  --bg-blue:   #e9eff6;
  --white:     #ffffff;
  --red:       #e84b4b;
  --yellow:    #f5a623;
  --green:     #27ae60;
  --shadow:    0 2px 12px rgba(28,42,59,0.08);
  --muted:     #8a9bb0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-gray);
  color: var(--navy);
  font-size: 14px;
  line-height: 1.6;
}

/* ─── HEADER ─────────────────────────────────────────── */
.header {
  background: var(--navy);
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 38px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  letter-spacing: -0.5px;
}

.logo-text span { color: var(--accent); }

.header-right { text-align: right; }

.header-company {
  font-family: 'PT Serif', serif;
  font-size: 20px;
  color: var(--white);
  font-weight: 700;
}

.header-meta {
  font-size: 12px;
  color: var(--teal);
  font-weight: 500;
  margin-top: 4px;
}

/* ─── TAGLINE BAR ─────────────────────────────────────── */
.tagline-bar {
  background: var(--accent);
  padding: 10px 48px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tagline-bar span {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ─── TAB NAVIGATION (legacy — hidden) ──────────────────── */
.tab-navigation { display: none; }

/* ─── GROUPED NAVIGATION ──────────────────────────────── */
.nav-grouped {
  background: var(--white);
  border-bottom: 2px solid #e0e4e8;
  padding: 0 48px;
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-grouped::-webkit-scrollbar { display: none; }

.nav-group {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e8ecf0;
  padding: 0;
  flex-shrink: 0;
}
.nav-group:last-child { border-right: none; }

.nav-group-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aab4be;
  padding: 8px 12px 4px 12px;
  white-space: nowrap;
}

.nav-group-tabs { display: flex; flex-direction: row; gap: 0; padding-bottom: 0; }

.nav-tab {
  background: transparent;
  color: #8a9bb0;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 8px 14px 12px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  margin-bottom: -2px;
}
.nav-tab:hover { color: var(--navy); background: #f8f9fb; }
.nav-tab.active {
  color: var(--navy);
  border-bottom-color: var(--accent);
  background: transparent;
}

.nav-group.g-start       .nav-group-label { color: var(--accent); }
.nav-group.g-unternehmen .nav-group-label { color: #1e7e5a; }
.nav-group.g-massnahmen  .nav-group-label { color: #e65100; }
.nav-group.g-analyse     .nav-group-label { color: #3d85c8; }
.nav-group.g-archiv      .nav-group-label { color: #8a9bb0; }

.nav-group.g-start       .nav-tab.active { border-bottom-color: var(--accent); }
.nav-group.g-unternehmen .nav-tab.active { border-bottom-color: #1e7e5a; }
.nav-group.g-massnahmen  .nav-tab.active { border-bottom-color: #e65100; }
.nav-group.g-analyse     .nav-tab.active { border-bottom-color: #3d85c8; }
.nav-group.g-archiv      .nav-tab.active { border-bottom-color: #8a9bb0; }

/* ── CAPABILITY SCORE BADGE IN NAV ── */
.nav-score-badge {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 0 24px 0 32px;
  border-left: 1px solid #e8ecf0;
  gap: 2px;
  flex-shrink: 0;
}
.nav-score-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aab4be;
  white-space: nowrap;
}
.nav-score-value {
  font-family: 'PT Serif', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.nav-score-value .nav-score-max {
  font-size: 13px;
  font-weight: 400;
  color: #aab4be;
}
.nav-score-ring { display: flex; align-items: center; gap: 10px; }
.nav-score-bar-wrap {
  width: 60px;
  height: 5px;
  background: #e0e4e8;
  border-radius: 3px;
  overflow: hidden;
}
.nav-score-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.6s ease;
}

/* ─── MAIN CONTENT ────────────────────────────────────── */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 32px;
}

.tab-content { display: none; animation: fadeIn 0.3s ease; }
.tab-content.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── SECTION TITLES ─────────────────────────────────── */
.section-title {
  font-family: 'PT Serif', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title .icon {
  width: 28px;
  height: 28px;
  background: var(--navy);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  color: var(--accent);
}

/* ─── KPI CARDS ───────────────────────────────────────── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.kpi-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.kpi-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
}
.kpi-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #8a9bb0;
  margin-bottom: 10px;
}
.kpi-value {
  font-family: 'PT Serif', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.kpi-sub { font-size: 12px; color: #8a9bb0; font-weight: 500; }

/* ─── SUMMARY CARDS ──────────────────────────────────── */
.summary-card {
  background: var(--navy);
  border-radius: 12px;
  padding: 28px 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.summary-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: var(--accent);
}
.summary-card h3 {
  font-family: 'PT Serif', serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--teal);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.summary-card p { font-size: 15px; line-height: 1.8; color: #cdd8e8; }

/* ─── PROBLEM CARDS ──────────────────────────────────── */
.problem-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  border-left: 6px solid;
}
.problem-card.critical { border-left-color: var(--red); background: #fff5f5; }
.problem-card.warning  { border-left-color: var(--yellow); background: #fffbf0; }
.problem-card.info     { border-left-color: var(--teal); background: #f0faf9; }
.problem-card h4 {
  font-family: 'PT Serif', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.problem-card p { font-size: 13px; color: #5a6b7a; line-height: 1.6; }

/* ─── TABLES ───────────────────────────────────────────── */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
th {
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
td {
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}
tr:last-child td { border-bottom: none; }
tr:hover { background: #f9f9f9; }

/* ─── BADGES ─────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-critical { background: #fce4ec; color: var(--red); }
.badge-warning  { background: #fff3e0; color: var(--yellow); }
.badge-ok       { background: #e8f5e9; color: var(--green); }
.badge-info     { background: #e8eaf6; color: #283593; }

/* ─── UTILITY ────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }

.section {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(28,42,59,0.09);
  padding: 28px 32px;
  margin-bottom: 24px;
  box-sizing: border-box;
  width: 100%;
  overflow-x: auto;
}

/* ─── ACTION PLAN ────────────────────────────────────── */
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.action-column { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.action-header { padding: 16px; font-weight: 600; color: var(--white); }
.action-header.q1 { background: #e84b4b; }
.action-header.q2 { background: #f5a623; }
.action-header.q3 { background: #27ae60; }
.action-header-sub { display: block; font-size: 11px; font-weight: 500; margin-top: 4px; opacity: 0.9; }
.action-list { padding: 16px; }
.action-item { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #e6e6e5; }
.action-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.action-item-title { font-weight: 600; color: var(--navy); font-size: 13px; margin-bottom: 6px; }
.action-item-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; }
.action-owner { color: #8a9bb0; font-weight: 500; }
.action-impact { padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.action-impact.impact-high { background: #fee2e2; color: #e84b4b; }
.action-impact.impact-mid  { background: #fef3c7; color: #f5a623; }
.action-saving { color: var(--green); font-weight: 600; }

/* ─── AI ROADMAP ─────────────────────────────────────── */
.ai-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 32px; }
.ai-card { background: var(--white); border-radius: 12px; padding: 24px; box-shadow: var(--shadow); }
.ai-card-title { font-weight: 700; color: var(--navy); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.accent-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.ai-item { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #e6e6e5; display: flex; gap: 12px; }
.ai-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.ai-item-icon { font-size: 20px; flex-shrink: 0; }
.ai-item-body { flex: 1; }
.ai-item-title { font-weight: 600; color: var(--navy); font-size: 13px; margin-bottom: 4px; }
.ai-item-desc { font-size: 12px; color: #5a6b7a; margin-bottom: 6px; line-height: 1.4; }
.ai-item-meta { font-size: 11px; color: #8a9bb0; font-weight: 500; }

.quick-win-item { display: flex; gap: 12px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #e6e6e5; align-items: flex-start; }
.quick-win-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.quick-win-check { width: 28px; height: 28px; background: var(--accent); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; font-size: 13px; }
.quick-win-body { flex: 1; }
.quick-win-title { font-weight: 600; color: var(--navy); font-size: 13px; margin-bottom: 3px; }
.quick-win-effort { font-size: 11px; color: #8a9bb0; margin-bottom: 3px; }
.quick-win-saving { font-weight: 600; color: var(--green); font-size: 12px; }

/* ─── VALUESTREAM ────────────────────────────────────── */
.vs-flow {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  min-height: 140px;
}
.vs-station { text-align: center; flex-shrink: 0; position: relative; }
.vs-dot { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 8px; font-weight: bold; }
.vs-dot.green  { background: #e8f5e9; color: #27ae60; border: 2px solid #27ae60; }
.vs-dot.yellow { background: #fff8e1; color: #f5a623; border: 2px solid #f5a623; }
.vs-dot.red    { background: #ffebee; color: #e84b4b; border: 2px solid #e84b4b; }
.vs-name { font-weight: 600; color: var(--navy); font-size: 12px; line-height: 1.3; max-width: 80px; }
.vs-tooltip { position: absolute; top: -50px; left: 50%; transform: translateX(-50%); background: var(--navy); color: var(--white); padding: 8px 12px; border-radius: 6px; font-size: 11px; white-space: nowrap; opacity: 0; pointer-events: none; z-index: 10; transition: opacity 0.2s; }
.vs-station:hover .vs-tooltip { opacity: 1; }

/* ─── WERTSTROM MATRIX ───────────────────────────────── */
.wertstrom-wrap { overflow-x: auto; margin: 24px 0; }
.wertstrom-table { border-collapse: collapse; width: 100%; font-size: 12px; }
.wertstrom-table th { background: var(--navy); color: #fff; padding: 10px 12px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; white-space: nowrap; }
.wertstrom-table th.dept-col { min-width: 100px; text-align: center; }
.wertstrom-table td { padding: 0; border: 1px solid #e0e4e8; }
.wertstrom-table td.process-name { padding: 10px 14px; font-weight: 600; font-size: 12px; color: var(--navy); background: #f4f6f9; white-space: nowrap; border-right: 2px solid var(--navy); }
.ws-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 6px; min-height: 64px; font-weight: 700; }
.ws-score { font-size: 20px; font-family: 'PT Serif', serif; }
.ws-label { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; margin-top: 3px; }
.ws-gut      { background: #e8f5e9; color: #1b5e20; }
.ws-mittel   { background: #fff8e1; color: #e65100; }
.ws-schlecht { background: #ffebee; color: #b71c1c; }
.ws-na       { background: #f5f5f5; color: #aaa; }
.ws-legend { display: flex; gap: 24px; margin: 12px 0 20px 0; flex-wrap: wrap; }
.ws-legend-item { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.ws-legend-dot { width: 14px; height: 14px; border-radius: 3px; }
.dept-header-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.dept-header-wrap:hover .dept-col-rating { background: var(--teal); color: var(--navy); }
.dept-col-rating { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 700; background: rgba(255,255,255,0.15); color: #fff; transition: background .15s; }
.ws-clickable { cursor: pointer; }
.ws-clickable:hover td.process-name { background: #e9eff6; }
.ws-cell-clickable { cursor: pointer; }
.ws-cell-clickable:hover { opacity: .82; transform: scale(0.97); transition: all .12s; }
.ws-row-selectable { cursor: pointer; }
.ws-row-selectable .process-name { position: relative; padding-left: 32px !important; }
.ws-row-selectable .process-name::before { content: ''; position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border: 2px solid #c5cdd6; border-radius: 3px; background: var(--white); transition: all 0.15s; }
.ws-row-selectable.ws-selected .process-name::before { background: var(--accent); border-color: var(--accent); content: '✓'; color: var(--navy); font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ws-row-selectable.ws-selected { background: rgba(74,250,189,0.06); }
.ws-row-selectable.ws-selected td { background: rgba(74,250,189,0.05); }
.ws-row-selectable:hover { background: #f4f8ff; }

/* ─── DRILL-DOWN MODAL ───────────────────────────────── */
.ws-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(28,42,59,0.55); z-index: 9000; backdrop-filter: blur(3px); align-items: center; justify-content: center; }
.ws-modal-overlay.open { display: flex; }
.ws-modal { background: #fff; border-radius: 14px; width: 90%; max-width: 820px; max-height: 88vh; overflow-y: auto; box-shadow: 0 12px 48px rgba(28,42,59,0.28); animation: modalIn .18s ease; }
@keyframes modalIn { from { opacity:0; transform: translateY(16px); } to { opacity:1; transform:none; } }
.ws-modal-header { background: var(--navy); color:#fff; padding: 20px 28px; display: flex; justify-content: space-between; align-items: flex-start; border-radius: 14px 14px 0 0; position: sticky; top:0; z-index:2; }
.ws-modal-header h2 { font-family:'PT Serif',serif; font-size:18px; margin:0; }
.ws-modal-header .modal-sub { font-size:11px; color:var(--teal); margin-top:4px; }
.ws-modal-close { background:none; border:none; color:#fff; font-size:22px; cursor:pointer; padding:0 4px; line-height:1; opacity:.7; }
.ws-modal-close:hover { opacity:1; }
.ws-modal-body { padding: 24px 28px; }
.ws-modal-score-row { display:flex; gap:16px; margin-bottom:24px; flex-wrap:wrap; }
.ws-modal-kpi { flex:1; min-width:110px; background:#f4f6f9; border-radius:10px; padding:14px 16px; text-align:center; }
.ws-modal-kpi-val { font-family:'PT Serif',serif; font-size:28px; font-weight:700; }
.ws-modal-kpi-label { font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.5px; color:var(--muted); margin-top:4px; }
.ws-section-h { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.8px; color:var(--muted); margin:20px 0 10px; padding-bottom:6px; border-bottom:1px solid #e0e4e8; }
.ws-tag-row { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.ws-tag { padding:4px 10px; border-radius:14px; font-size:11px; font-weight:600; background:#e9eff6; color:var(--navy); }
.ws-tag.red    { background:#ffebee; color:#b71c1c; }
.ws-tag.green  { background:#e8f5e9; color:#1b5e20; }
.ws-tag.yellow { background:#fff8e1; color:#e65100; }
.ws-tag.blue   { background:#e8eaf6; color:#283593; }
.ws-quote-block { background:#f4f6f9; border-left:3px solid var(--teal); padding:12px 16px; border-radius:0 8px 8px 0; margin:8px 0; font-size:12px; }
.ws-quote-block em { font-style:normal; font-weight:700; color:var(--navy); }
.ws-proc-row { display:flex; justify-content:space-between; align-items:center; padding:9px 12px; border-radius:6px; margin-bottom:5px; background:#f4f6f9; font-size:12px; }
.ws-proc-row:hover { background:#e9eff6; }
.ws-score-badge { font-weight:700; font-size:13px; padding:3px 10px; border-radius:5px; min-width:48px; text-align:center; }
.ws-delta-box { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:8px; }
.ws-delta-side { padding:12px; border-radius:8px; font-size:12px; }
.ws-delta-side.ceo  { background:#fff8e1; border:1px solid #f5a623; }
.ws-delta-side.real { background:#e8f5e9; border:1px solid #27ae60; }
.ws-delta-side h4 { font-size:10px; font-weight:700; text-transform:uppercase; margin-bottom:6px; }
.ws-employee-list { display:flex; flex-wrap:wrap; gap:8px; }
.ws-employee-chip { display:flex; align-items:center; gap:6px; padding:6px 12px; background:#f4f6f9; border-radius:20px; font-size:12px; font-weight:600; }
.ws-employee-avatar { width:24px; height:24px; background:var(--navy); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; }
.ws-doc-list { list-style:none; padding:0; }
.ws-doc-list li { padding:7px 10px; border-radius:6px; background:#f4f6f9; margin-bottom:5px; font-size:12px; display:flex; align-items:center; gap:8px; }

/* ─── DEPT DETAIL CARDS ──────────────────────────────── */
.dept-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 32px; }
.dept-card { background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(28,42,59,0.08); overflow: hidden; }
.dept-card-header { background: var(--navy); color: #fff; padding: 12px 16px; font-weight: 700; font-size: 13px; display: flex; justify-content: space-between; align-items: center; }
.dept-avg-score { font-family: 'PT Serif', serif; font-size: 22px; padding: 3px 10px; border-radius: 6px; font-weight: 700; }
.dept-card-body { padding: 12px 16px; }
.dept-proc-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid #f0f0f0; font-size: 12px; }
.dept-proc-row:last-child { border-bottom: none; }
.dept-proc-name { color: var(--navy); font-weight: 500; }
.dept-proc-score { font-weight: 700; font-size: 13px; padding: 2px 8px; border-radius: 4px; }

/* ─── QUICK WINS ─────────────────────────────────────── */
.boxed-section {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(28,42,59,0.09);
  padding: 28px 32px;
  margin-bottom: 24px;
  box-sizing: border-box;
  width: 100%;
}
.boxed-section h3 { font-family: 'PT Serif', serif; font-size: 16px; color: var(--navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.qw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 8px; }
.qw-card { background: var(--white); border-radius: 10px; padding: 16px; box-shadow: 0 2px 8px rgba(28,42,59,0.08); border-left: 4px solid #27ae60; transition: transform .15s, box-shadow .15s; }
.qw-card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(28,42,59,0.13); }
.qw-card.prio-hoch    { border-left-color: #e84b4b; }
.qw-card.prio-mittel  { border-left-color: #f5a623; }
.qw-card.prio-niedrig { border-left-color: #27ae60; }
.qw-card-title { font-weight: 700; font-size: 13px; color: var(--navy); margin-bottom: 8px; }
.qw-card-meta  { display: flex; gap: 6px; flex-wrap: wrap; }
.qw-pill { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.qw-pill.saving { background: #e8f5e9; color: #1b5e20; }
.qw-pill.effort { background: #e9eff6; color: var(--navy); }
.qw-pill.prio-h { background: #ffebee; color: #b71c1c; }
.qw-pill.prio-m { background: #fff8e1; color: #e65100; }
.qw-pill.prio-l { background: #e8f5e9; color: #1b5e20; }

/* ─── BUBBLE SVG CHART ───────────────────────────────── */
.bubble-svg-wrap { position: relative; width: 100%; background: #f8f9fb; border-radius: 10px; overflow: hidden; margin: 16px 0; }
.bubble-svg-wrap svg { display: block; width: 100%; }
.bub-tooltip { position: absolute; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; font-size: 12px; line-height: 1.5; pointer-events: none; opacity: 0; transition: opacity .15s; z-index: 100; max-width: 240px; white-space: normal; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.bub-tooltip.visible { opacity: 1; }

/* ─── TIMELINE / KALENDER ────────────────────────────── */
.phase-timeline { position: relative; padding-left: 32px; }
.phase-timeline::before { content: ''; position: absolute; left: 10px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(to bottom, var(--accent), #e0e4e8); border-radius: 2px; }
.phase-block { position: relative; margin-bottom: 36px; }
.phase-block:last-child { margin-bottom: 0; }
.phase-marker { position: absolute; left: -38px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); border: 3px solid var(--accent); z-index: 1; }
.phase-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.phase-title { font-family: 'PT Serif', serif; font-size: 17px; font-weight: 700; color: var(--navy); }
.phase-sub { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.phase-cards { display: flex; flex-wrap: wrap; gap: 10px; }
.tl-card { background: var(--white); border-radius: 8px; padding: 12px 14px; min-width: 170px; max-width: 220px; flex: 1; cursor: pointer; border-left: 4px solid transparent; box-shadow: 0 1px 6px rgba(28,42,59,0.07); transition: transform 0.15s, box-shadow 0.15s; }
.tl-card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(28,42,59,0.12); }
.tl-card.type-aktion  { border-left-color: #27ae60; }
.tl-card.type-ki      { border-left-color: #3d85c8; }
.tl-card.type-tool    { border-left-color: #f5a623; }
.tl-card.type-roadmap { border-left-color: #7b2d8b; }
.tl-card-type { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 4px; }
.tl-card.type-aktion  .tl-card-type { color: #27ae60; }
.tl-card.type-ki      .tl-card-type { color: #3d85c8; }
.tl-card.type-tool    .tl-card-type { color: #e65100; }
.tl-card.type-roadmap .tl-card-type { color: #7b2d8b; }
.tl-card-title { font-size: 12px; font-weight: 600; color: var(--navy); line-height: 1.4; margin-bottom: 6px; }
.tl-card-meta { font-size: 10px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.tl-card-saving { font-size: 10px; font-weight: 700; color: #1b5e20; margin-top: 4px; }

/* ─── KALENDER POPUP ─────────────────────────────────── */
.kal-popup-overlay { display: none; position: fixed; inset: 0; background: rgba(28,42,59,.45); z-index: 9500; align-items: center; justify-content: center; }
.kal-popup-overlay.open { display: flex; }
.kal-popup { background: var(--white); border-radius: 12px; width: 90%; max-width: 480px; box-shadow: 0 8px 32px rgba(28,42,59,.22); animation: modalIn .16s ease; overflow: hidden; }
.kal-popup-head { padding: 18px 22px 14px; display: flex; justify-content: space-between; align-items: flex-start; }
.kal-popup-title { font-family: 'PT Serif', serif; font-size: 17px; color: var(--navy); }
.kal-popup-sub   { font-size: 11px; color: var(--muted); margin-top: 3px; }
.kal-popup-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--muted); }
.kal-popup-body  { padding: 0 22px 20px; font-size: 12px; line-height: 1.6; }
.kal-popup-row   { display: flex; gap: 8px; align-items: baseline; margin-bottom: 6px; }
.kal-popup-lbl   { font-weight: 700; color: var(--navy); min-width: 90px; font-size: 11px; text-transform: uppercase; }

/* ─── MASSNAHMENPLAN PANEL ───────────────────────────── */
.massnahmen-fab { position: fixed; bottom: 32px; right: 32px; background: var(--navy); color: var(--white); border: none; border-radius: 12px; padding: 14px 22px; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 20px rgba(28,42,59,0.32); display: none; align-items: center; gap: 10px; z-index: 800; transition: transform 0.15s, box-shadow 0.15s; }
.massnahmen-fab:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(28,42,59,0.38); }
.massnahmen-fab.visible { display: flex; animation: fabIn 0.2s ease; }
.massnahmen-fab-count { background: var(--accent); color: var(--navy); border-radius: 20px; padding: 2px 8px; font-size: 11px; font-weight: 800; }
@keyframes fabIn { from { opacity:0; transform: translateY(12px); } to { opacity:1; transform: translateY(0); } }

.mp-overlay { position: fixed; inset: 0; background: rgba(28,42,59,0.35); z-index: 900; display: none; }
.mp-overlay.open { display: block; }
.mp-panel { position: fixed; top: 0; right: 0; width: min(680px, 96vw); height: 100vh; background: var(--white); box-shadow: -4px 0 32px rgba(28,42,59,0.18); z-index: 901; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.28s cubic-bezier(0.4,0,0.2,1); }
.mp-overlay.open .mp-panel { transform: translateX(0); }
.mp-head { background: var(--navy); padding: 20px 24px; display: flex; justify-content: space-between; align-items: flex-start; flex-shrink: 0; }
.mp-head-label { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: var(--accent); margin-bottom: 4px; }
.mp-head-title { font-family: 'PT Serif', serif; font-size: 18px; color: var(--white); font-weight: 700; line-height: 1.3; }
.mp-close { background: none; border: none; color: rgba(255,255,255,0.5); font-size: 20px; cursor: pointer; padding: 0; line-height: 1; flex-shrink: 0; margin-left: 12px; }
.mp-close:hover { color: var(--white); }
.mp-body { flex: 1; overflow-y: auto; padding: 0; scrollbar-width: thin; }
.mp-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 300px; gap: 16px; }
.mp-spinner { width: 36px; height: 36px; border: 3px solid #e0e4e8; border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
.mp-loading-text { font-size: 13px; color: var(--muted); font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }
.mp-section { border-bottom: 1px solid #eef0f3; padding: 20px 24px; }
.mp-section:last-child { border-bottom: none; }
.mp-section-label { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 10px; }
.mp-process-header { background: #f4f7fb; padding: 16px 24px 12px; border-bottom: 1px solid #e8ecf0; }
.mp-process-name { font-family: 'PT Serif', serif; font-size: 16px; font-weight: 700; color: var(--navy); }
.mp-delta-box { background: #fff8e1; border-left: 3px solid #f5a623; border-radius: 0 6px 6px 0; padding: 10px 14px; margin: 8px 0; font-size: 12px; line-height: 1.6; }
.mp-delta-ceo  { color: #c17d11; font-weight: 600; margin-bottom: 4px; }
.mp-delta-real { color: #1c2a3b; }
.mp-quote { background: #f4f7fb; border-left: 3px solid var(--teal); border-radius: 0 6px 6px 0; padding: 10px 14px; margin: 6px 0; font-size: 12px; color: var(--navy); line-height: 1.6; font-style: italic; }
.mp-quote-attr { font-style: normal; font-weight: 700; color: var(--muted); font-size: 10px; margin-top: 4px; }
.mp-massnahme { background: var(--white); border: 1px solid #e8ecf0; border-radius: 8px; padding: 14px 16px; margin: 8px 0; }
.mp-massnahme-num { font-size: 10px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.mp-massnahme-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.mp-massnahme-desc  { font-size: 12px; color: #5a6b7a; line-height: 1.6; margin-bottom: 8px; }
.mp-massnahme-meta  { display: flex; gap: 12px; flex-wrap: wrap; font-size: 10px; font-weight: 700; }
.mp-meta-chip { background: #f0f2f5; border-radius: 4px; padding: 3px 8px; color: var(--navy); }
.mp-meta-chip.saving    { background: #e8f5e9; color: #1b5e20; }
.mp-meta-chip.prio-high { background: #fff0f0; color: #e84b4b; }

/* ─── START TAB ──────────────────────────────────────── */
.start-wrap { max-width: 960px; margin: 0 auto; }
.ki-briefing { background: var(--navy); border-radius: 14px; padding: 28px 32px; margin-bottom: 36px; position: relative; overflow: hidden; }
.ki-briefing::before { content: ''; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(74,250,189,0.07); }
.ki-briefing-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--accent); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.ki-briefing-label::before { content: '✦'; font-size: 12px; }
.ki-briefing-text { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.88); max-width: 780px; }
.ki-briefing-text strong { color: var(--white); }
.ki-briefing-footer { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ki-briefing-meta { font-size: 11px; color: rgba(255,255,255,0.4); }
.ki-briefing-link { font-size: 12px; font-weight: 700; color: var(--accent); text-decoration: none; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: opacity 0.15s; }
.ki-briefing-link:hover { opacity: 0.75; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.story-card { background: var(--white); border-radius: 14px; padding: 28px 28px 22px; cursor: pointer; box-shadow: var(--shadow); border-top: 5px solid transparent; transition: transform 0.18s, box-shadow 0.18s; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.story-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(28,42,59,0.14); }
.story-card.stopp  { border-top-color: #e84b4b; }
.story-card.start  { border-top-color: var(--accent); }
.story-card.cont   { border-top-color: #3d85c8; }
.story-card.risiko { border-top-color: #f5a623; }
.story-tag { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 20px; align-self: flex-start; }
.story-card.stopp  .story-tag { background: #fff0f0; color: #e84b4b; }
.story-card.start  .story-tag { background: #e8fdf5; color: #1e7e5a; }
.story-card.cont   .story-tag { background: #e8eef8; color: #3d85c8; }
.story-card.risiko .story-tag { background: #fff8ee; color: #c17d11; }
.story-icon { font-size: 32px; line-height: 1; margin: 4px 0; }
.story-title { font-family: 'PT Serif', serif; font-size: 20px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.story-desc { font-size: 13px; color: #5a6b7a; line-height: 1.6; flex: 1; }
.story-cta { font-size: 11px; font-weight: 700; margin-top: 8px; display: flex; align-items: center; gap: 5px; }
.story-card.stopp  .story-cta { color: #e84b4b; }
.story-card.start  .story-cta { color: #1e7e5a; }
.story-card.cont   .story-cta { color: #3d85c8; }
.story-card.risiko .story-cta { color: #c17d11; }

/* ─── CAPABILITY SCORE TAB ───────────────────────────── */
.cap-box { background: var(--white); border-radius: 12px; padding: 28px; box-shadow: 0 2px 8px rgba(28,42,59,.08); }

/* ─── PEOPLE ──────────────────────────────────────────── */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.person-card { background: var(--white); border-radius: 10px; box-shadow: 0 2px 8px rgba(28,42,59,.08); padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.person-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'PT Serif', serif; font-size: 18px; font-weight: 700; flex-shrink: 0; }
.person-name { font-weight: 700; font-size: 14px; color: var(--navy); }
.person-role { font-size: 11px; color: var(--muted); margin-top: 2px; }
.person-dept { font-size: 10px; font-weight: 600; color: var(--teal); margin-top: 4px; text-transform: uppercase; }
.person-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.person-tag { font-size: 9px; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: #e9eff6; color: var(--navy); }
.person-tag.risk { background: #ffebee; color: #b71c1c; }
.person-tag.key  { background: #e8f5e9; color: #1b5e20; }

/* ─── INFO TIMELINE ──────────────────────────────────── */
.info-timeline { display: flex; flex-direction: column; gap: 0; }
.itl-row { display: flex; gap: 0; align-items: stretch; border-bottom: 1px solid #eef0f3; }
.itl-row:last-child { border-bottom: none; }
.itl-date { width: 110px; min-width: 110px; padding: 14px 16px 14px 0; font-size: 11px; font-weight: 700; color: var(--muted); display: flex; flex-direction: column; justify-content: center; }
.itl-date .day { font-size: 13px; color: var(--navy); font-family: 'PT Serif', serif; }
.itl-dot-col { width: 32px; min-width: 32px; display: flex; flex-direction: column; align-items: center; position: relative; }
.itl-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 18px; flex-shrink: 0; z-index: 1; position: relative; }
.itl-dot-col::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: #e8ecf0; transform: translateX(-50%); }
.itl-body { flex: 1; padding: 14px 0 14px 12px; }
.itl-title { font-weight: 700; font-size: 13px; color: var(--navy); margin-bottom: 3px; }
.itl-meta { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.itl-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.itl-tag { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.itl-tag.interview   { background: #e9eff6; color: #1c2a3b; }
.itl-tag.workshop    { background: #e8f5e9; color: #1b5e20; }
.itl-tag.analyse     { background: #fff8e1; color: #e65100; }
.itl-tag.abschluss   { background: #f3e5f5; color: #6a1b9a; }
.itl-tag.vorbereitung{ background: #e8eaf6; color: #283593; }
.itl-people { font-size: 11px; color: #5a6b7a; margin-top: 4px; }

/* ─── CUSTOMER JOURNEY ───────────────────────────────── */
.cj-scroll { overflow-x: auto; padding-bottom: 10px; }
.cj-flow { display: flex; align-items: stretch; gap: 0; min-width: max-content; padding: 8px 0; }
.cj-step { width: 140px; min-width: 140px; border-radius: 10px; padding: 16px 12px; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; box-sizing: border-box; position: relative; display: flex; flex-direction: column; gap: 8px; }
.cj-step:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(28,42,59,0.18); }
.cj-step.score-red    { background: #fff5f5; border: 2px solid #e84b4b; }
.cj-step.score-orange { background: #fffbf0; border: 2px solid #f5a623; }
.cj-step.score-green  { background: #f0faf4; border: 2px solid #27ae60; }
.cj-step-name { font-weight: 700; font-size: 11px; color: var(--navy); line-height: 1.3; }
.cj-score-pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 20px; }
.score-red    .cj-score-pill { background: #e84b4b; color: #fff; }
.score-orange .cj-score-pill { background: #f5a623; color: #fff; }
.score-green  .cj-score-pill { background: #27ae60; color: #fff; }
.cj-usage-bar { height: 5px; border-radius: 3px; background: #e8ecf0; overflow: hidden; margin-top: 2px; }
.cj-usage-fill { height: 100%; border-radius: 3px; background: var(--navy); }
.cj-usage-label { font-size: 10px; color: var(--muted); font-weight: 600; }
.cj-painpoint { font-size: 10px; color: #5a6b7a; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cj-arrow { display: flex; align-items: center; color: #c0cbd8; font-size: 18px; padding: 0 4px; align-self: center; flex-shrink: 0; }
.cj-detail-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.cj-detail-box { background: #f7f9fc; border-radius: 10px; padding: 16px; box-sizing: border-box; }
.cj-detail-box h4 { font-family: 'PT Serif', serif; font-size: 13px; color: var(--navy); margin-bottom: 10px; }
.cj-detail-box ul { padding-left: 14px; font-size: 12px; color: #3a4a5a; line-height: 1.7; }

/* ─── DOKUMENTE ──────────────────────────────────────── */
.doc-filter { background: #f0f3f7; color: var(--navy); border: none; border-radius: 20px; padding: 6px 16px; font-size: 11px; font-weight: 700; cursor: pointer; transition: background 0.15s; }
.doc-filter.active { background: var(--navy); color: var(--accent); }
.doc-table-wrap { overflow-x: auto; box-sizing: border-box; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 12px; box-sizing: border-box; }
.doc-table th { background: var(--navy); color: #fff; padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 700; white-space: nowrap; }
.doc-table td { padding: 10px 14px; border-bottom: 1px solid #eef0f3; vertical-align: middle; }
.doc-table tr:hover td { background: #f7f9fc; cursor: pointer; }
.doc-icon { font-size: 18px; }
.doc-badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.doc-badge.transkript { background: #e9eff6; color: #1c2a3b; }
.doc-badge.excel      { background: #e8f5e9; color: #1b5e20; }
.doc-badge.screenshot { background: #fff8e1; color: #e65100; }
.doc-badge.dokument   { background: #f3e5f5; color: #6a1b9a; }
.doc-status { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; }
.doc-status.abgeschlossen { background: #e8f5e9; color: #1b5e20; }
.doc-status.in-pruefung   { background: #fff8e1; color: #e65100; }
.doc-status.archiviert    { background: #f0f3f7; color: #5a6b7a; }

/* ─── CHAT ───────────────────────────────────────────── */
.chat-wrap { max-width: 820px; margin: 0 auto; padding: 0 0 40px 0; }
.chat-messages { background: #f8f9fb; border-radius: 12px; padding: 20px; min-height: 380px; max-height: 500px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.chat-msg { display: flex; gap: 10px; align-items: flex-start; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-bubble { padding: 10px 14px; border-radius: 12px; font-size: 13px; max-width: 70%; line-height: 1.5; }
.chat-msg.user .chat-bubble { background: var(--navy); color: #fff; border-radius: 12px 4px 12px 12px; }
.chat-msg.ai   .chat-bubble { background: var(--white); color: var(--navy); box-shadow: 0 1px 4px rgba(28,42,59,.1); border-radius: 4px 12px 12px 12px; }
.chat-avatar { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.chat-avatar.ai  { background: var(--navy); color: var(--accent); font-size: 11px; }
.chat-avatar.usr { background: var(--teal); color: var(--navy); }
.chat-input-row { display: flex; gap: 10px; align-items: center; }
.chat-input { flex: 1; padding: 12px 16px; border-radius: 24px; border: 2px solid #e0e4e8; font-size: 13px; font-family: 'Montserrat', sans-serif; outline: none; transition: border .2s; }
.chat-input:focus { border-color: var(--teal); }
.chat-send-btn { background: var(--navy); color: var(--accent); border: none; border-radius: 50%; width: 44px; height: 44px; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.chat-send-btn:hover { background: var(--teal); color: var(--navy); }
.chat-context-bar { background: #e9eff6; border-radius: 8px; padding: 8px 14px; font-size: 11px; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.chat-suggestion-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chat-suggestion { font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: 16px; background: var(--white); border: 1px solid #d0d8e4; cursor: pointer; color: var(--navy); transition: all .15s; }
.chat-suggestion:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.chat-typing { display: none; gap: 4px; align-items: center; padding: 10px 14px; background: var(--white); border-radius: 4px 12px 12px 12px; width: fit-content; box-shadow: 0 1px 4px rgba(28,42,59,.1); }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: chatBounce 1.2s infinite; }
.chat-dot:nth-child(2) { animation-delay: .2s; }
.chat-dot:nth-child(3) { animation-delay: .4s; }
@keyframes chatBounce { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .capability-grid { grid-template-columns: 1fr; }
  .grid-3, .action-grid, .ai-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .header { padding: 16px 20px; }
  .nav-grouped { padding: 0 16px; }
  .container { padding: 20px 16px; }
}
