/* SyncBoard Website – eine Datei, keine fremden Schriften, kein JavaScript.
   Drei Farben (Nikica, 24.11.2026): Grund Cremeweiss #fbf8ef (eine Spur
   heller als das Cremeweiss des Logos, #f9f4e7) und Schrift Tiefblau
   #1e3a5f (aus dem Logo), dazu Koralle #fb8262 überall,
   wo der Blick hin soll (--fokus; zuerst Ocker, am selben Abend Koralle).
   Koralle als Schrift auf Creme ist das dunklere #b03f29 (Kontrast 5.3:1);
   auf Koralle steht Tiefblau (4.6:1).
   Es gibt nur diese eine, helle Fassung – auch auf Geräten im dunklen
   Design. Salbeigrün und die dunkle Fassung sind seit 24.11.2026 weg.
   Aufbau seit 24.11.2026: Menü mittig mit Aufklapp-Menü, Produkt-Bühnen
   mit nachgebauten Registern (Abschnitt "Nachbau"), alles ohne JavaScript. */

:root {
  --bg: #fbf8ef;
  --bg-soft: #f5efe0;
  --fg: #1e3a5f;
  --fg-muted: #4a5f7d;
  --line: #e6dfcb;
  --brand: #1e3a5f;
  --brand-hover: #264a78;
  --band: #1e3a5f;
  --creme: #f9f4e7;
  --fokus: #fb8262;
  --fokus-hover: #ff9a78;
  --accent: #b03f29;
  --accent-soft: #fbe2d6;
  --card: #fffdf8;
  --warn: #a5531c;
  --shadow: 30, 45, 70;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); font-weight: 650; letter-spacing: -0.028em; line-height: 1.06; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); font-weight: 650; letter-spacing: -0.02em; }
h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 24px; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.wrap-wide { max-width: 1278px; }
.label {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.muted { color: var(--fg-muted); }
.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--bg); color: var(--fg); padding: 8px 12px; border-radius: 6px;
}
.skip:focus { left: 8px; z-index: 40; }

/* ---------- Kopf: Marke links, Menü mittig, Sprache rechts ---------- */
.site-head { position: relative; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-head .wrap {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 10px 24px; padding-block: 12px;
}
.brand { justify-self: start; display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 1.1rem; }
.brand svg { width: 34px; height: 34px; flex: none; }
.lang { justify-self: end; font-family: var(--mono); font-size: .8rem; display: flex; gap: 6px; color: var(--fg-muted); }
.lang a { text-decoration: none; }
.lang a:hover { color: var(--fg); }
.lang strong { color: var(--fg); font-weight: 600; }

.nav { position: relative; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu > li > a {
  display: block; padding: 8px 15px; border-radius: 99px;
  text-decoration: none; color: var(--fg-muted); font-size: .95rem; white-space: nowrap;
}
.menu > li > a:hover, .has-sub:hover > a, .menu > li > a[aria-current="page"] { color: var(--fg); background: var(--bg-soft); }
.has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
/* Das Aufklapp-Menü hängt mittig unter dem ganzen Menü. Die 10 px Polster
   oben sind die Brücke, über die die Maus vom Menüpunkt hineinfährt. */
.sub {
  position: absolute; top: 100%; left: 50%; z-index: 30;
  width: min(600px, calc(100vw - 32px)); padding-top: 10px;
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.sub ul {
  list-style: none; margin: 0; padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 22px 48px -14px rgba(var(--shadow), .28), 0 4px 12px -4px rgba(var(--shadow), .1);
}
.sub a { display: grid; gap: 1px; padding: 10px 13px; border-radius: 10px; text-decoration: none; }
.sub a b { font-weight: 600; font-size: .95rem; }
.sub a span { color: var(--fg-muted); font-size: .84rem; line-height: 1.35; }
.sub a:hover { background: var(--bg-soft); }
.has-sub:hover > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
/* Eigene Regel: Kennt ein alter Browser :has() nicht, bleibt die Maus-Regel oben gültig. */
.has-sub:has(:focus-visible) > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }

/* Schmale Bildschirme: Das Menü klappt über ein Kästchen auf (ohne JavaScript). */
.nav-check { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-toggle { display: none; }

/* ---------- Knöpfe ---------- */
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 99px;
  text-decoration: none; font-weight: 550; font-size: 1rem; border: 1px solid transparent;
}
.btn-primary { background: var(--fokus); color: var(--brand); font-weight: 600; }
.btn-primary:hover { background: var(--fokus-hover); }
.btn-ghost { border-color: var(--brand); color: var(--brand); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn:focus-visible { outline-color: var(--brand); }
.more { color: var(--accent); font-weight: 600; text-decoration: none; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Bühne: das Produkt im Mittelpunkt ---------- */
.hero { padding-block: 72px 84px; text-align: center; background: linear-gradient(var(--bg) 42%, var(--bg-soft)); }
.lead { display: grid; gap: 20px; justify-items: center; max-width: 840px; margin: 0 auto; }
.lead .sub-line { font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--fg-muted); max-width: 60ch; text-wrap: pretty; }
.lead .ctas { justify-content: center; margin-top: 6px; }
.facts { display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: center; font-size: .9rem; color: var(--fg-muted); }
.facts span::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 6px; }

.stage-fig { margin: 52px 0 0; container-type: inline-size; }
.stage-note { margin-top: 14px; font-size: .82rem; color: var(--fg-muted); }

/* Die vier Schritte unter der Bühne; der laufende Schritt ist hervorgehoben. */
.steps {
  list-style: none; margin: 40px 0 0; padding: 0; text-align: left;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.steps li {
  display: grid; gap: 6px; align-content: start; padding-top: 14px;
  border-top: 2px solid var(--line); color: var(--fg-muted); font-size: .95rem; line-height: 1.5;
  animation: 18s linear infinite;
}
.steps b { display: block; color: var(--fg); font-size: 1.02rem; }
.steps li:nth-child(1) { animation-name: schritt-1; }
.steps li:nth-child(2) { animation-name: schritt-2; }
.steps li:nth-child(3) { animation-name: schritt-3; }
.steps li:nth-child(4) { animation-name: schritt-4; }
@keyframes schritt-1 { 0%, 21% { border-color: var(--fokus); opacity: 1; } 23%, 100% { border-color: var(--line); opacity: .55; } }
@keyframes schritt-2 { 0%, 21% { border-color: var(--line); opacity: .55; } 23%, 43% { border-color: var(--fokus); opacity: 1; } 45%, 100% { border-color: var(--line); opacity: .55; } }
@keyframes schritt-3 { 0%, 43% { border-color: var(--line); opacity: .55; } 45%, 65% { border-color: var(--fokus); opacity: 1; } 67%, 100% { border-color: var(--line); opacity: .55; } }
@keyframes schritt-4 { 0%, 65% { border-color: var(--line); opacity: .55; } 67%, 96% { border-color: var(--fokus); opacity: 1; } 98%, 100% { border-color: var(--line); opacity: .55; } }

/* ---------- Nachbau: SyncBoard, wie es in Azure DevOps aussieht ----------
   Jedes Mass ist die echte Pixelzahl aus dem Programm mal der Einheit --u.
   Bei voller Breite ist --u genau 1 px (Massstab 1:1), auf schmaleren
   Bildschirmen schrumpft alles gemeinsam mit. Farben wie in Azure DevOps. */
.sb-frame {
  --u: clamp(.2px, calc((100vw - 72px) / 1228), 1px);
  --sb-bg: #ffffff;
  --sb-card: #ffffff;
  --sb-line: #eaeaea;
  --sb-line2: rgba(0, 0, 0, .28);
  --sb-fg: #323130;
  --sb-fg2: #605e5c;
  --sb-head: rgba(128, 128, 128, .06);
  --sb-zebra: rgba(128, 128, 128, .04);
  --sb-btn: rgba(0, 0, 0, .06);
  --sb-blue: #0078d4;
  width: calc(var(--u) * 1228 + 2px); max-width: 100%; margin: 0 auto;
  border: 1px solid var(--line); border-radius: calc(var(--u) * 14); overflow: hidden;
  background: var(--sb-bg); color: var(--sb-fg); text-align: left;
  font-size: calc(var(--u) * 14); line-height: 1.4; letter-spacing: 0;
  box-shadow: 0 40px 80px -30px rgba(var(--shadow), .34), 0 12px 28px -12px rgba(var(--shadow), .16);
}
@supports (width: 1cqw) {
  .sb-frame { --u: min(1px, calc((100cqw - 2px) / 1228)); }
}
/* Die Nachbauten zeigen immer das helle Azure DevOps (seit 24.11.2026 gibt
   es keine dunkle Fassung der Website mehr). */
.sb-frame i, .sb-frame em { font-style: normal; }
.sb-app { padding: calc(var(--u) * 14) calc(var(--u) * 16) calc(var(--u) * 16); }
.sb-title { font-size: calc(var(--u) * 21); font-weight: 600; line-height: calc(var(--u) * 32); margin-bottom: calc(var(--u) * 8); }

/* Registerleiste */
.sb-tabs { display: flex; gap: calc(var(--u) * 4); border-bottom: 1px solid var(--sb-line); margin-bottom: calc(var(--u) * 16); }
.sb-tabs span { padding: calc(var(--u) * 8) calc(var(--u) * 14); border-bottom: calc(var(--u) * 2) solid transparent; margin-bottom: -1px; white-space: nowrap; }
.sb-tabs .on { font-weight: 600; border-bottom-color: #0078d4; }
.sb-tabs .sb-help {
  margin-left: auto; align-self: center; width: calc(var(--u) * 30); height: calc(var(--u) * 30); padding: 0;
  border: 1px solid var(--sb-line); border-radius: 50%; font-weight: 600; margin-bottom: 0;
  display: flex; align-items: center; justify-content: center;
}

/* Kopfzeile des Registers und Infozeile */
.sb-row { display: flex; align-items: center; gap: calc(var(--u) * 8); margin-bottom: calc(var(--u) * 8); white-space: nowrap; }
.sb-row .right { margin-left: auto; display: flex; align-items: center; gap: calc(var(--u) * 8); }
.sb-b {
  display: inline-flex; align-items: center; gap: calc(var(--u) * 6); height: calc(var(--u) * 32);
  padding: 0 calc(var(--u) * 12); border-radius: calc(var(--u) * 2); background: var(--sb-btn); font-weight: 600;
}
.sb-b.pri { background: #0078d4; color: #ffffff; }
.sb-b.quiet { background: transparent; }
.sb-b.icon { padding: 0 calc(var(--u) * 8); }
.sb-b svg { width: calc(var(--u) * 16); height: calc(var(--u) * 16); flex: none; }
.sb-pair { display: inline-flex; gap: calc(var(--u) * 2); }
.sb-dd {
  display: inline-flex; align-items: center; justify-content: space-between; gap: calc(var(--u) * 18);
  height: calc(var(--u) * 32); min-width: calc(var(--u) * 150); padding: 0 calc(var(--u) * 10);
  border: 1px solid var(--sb-line2); border-radius: calc(var(--u) * 2);
}
.sb-dd::after {
  content: ""; width: calc(var(--u) * 6); height: calc(var(--u) * 6); margin-top: calc(var(--u) * -3);
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.sb-sep { width: 1px; height: calc(var(--u) * 24); background: var(--sb-line); }
.sb-info { font-size: calc(var(--u) * 13); color: var(--sb-fg2); }

/* Das Board: Team je Zeile, Sprint je Spalte */
.sb-board {
  position: relative; display: grid; grid-template-columns: 170fr repeat(4, 256fr);
  border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 4); overflow: hidden; background: var(--sb-bg);
}
.sb-corner {
  display: flex; align-items: flex-end; padding: 0 calc(var(--u) * 12) calc(var(--u) * 14);
  background: var(--sb-head); border-right: 1px solid var(--sb-line); border-bottom: 1px solid var(--sb-line);
  font-size: calc(var(--u) * 11); color: var(--sb-fg2);
}
.sb-head { grid-column: 2 / -1; position: relative; border-bottom: 1px solid var(--sb-line); }
.sb-zb { background: var(--sb-head); border-bottom: 1px solid var(--sb-line); font-size: calc(var(--u) * 10); }
.sb-zb div { display: grid; height: calc(var(--u) * 15); line-height: calc(var(--u) * 15); }
.sb-zb span { padding: 0 calc(var(--u) * 6); overflow: hidden; white-space: nowrap; color: var(--sb-fg2); border-right: 1px solid var(--sb-line); }
.sb-zb span:last-child { border-right: 0; }
.sb-zb .it span { font-weight: 600; color: var(--sb-fg); }
.sb-zb .mo { grid-template-columns: 1fr 1fr; }
.sb-zb .kw { grid-template-columns: repeat(4, 1fr); }
.sb-sk { display: grid; grid-template-columns: repeat(4, 1fr); }
.sb-sk > div {
  height: calc(var(--u) * 52); padding: calc(var(--u) * 8) calc(var(--u) * 12); overflow: hidden;
  background: var(--sb-head); border-right: 1px solid var(--sb-line);
}
.sb-sk > div:last-child { border-right: 0; }
.sb-sk b { display: flex; align-items: center; justify-content: space-between; font-size: calc(var(--u) * 13); font-weight: 600; white-space: nowrap; }
.sb-sk small { display: block; font-size: calc(var(--u) * 11); color: var(--sb-fg2); }
.sb-sk .now { border-top: calc(var(--u) * 3) solid #0078d4; background: rgba(0, 120, 212, .08); padding-top: calc(var(--u) * 5); }
.sb-sk .now b { color: var(--sb-blue); }
.sb-plan {
  width: calc(var(--u) * 20); height: calc(var(--u) * 20); flex: none; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 3); font-size: calc(var(--u) * 12); font-weight: 400; color: var(--sb-fg);
}
.sb-jump {
  position: absolute; bottom: calc(var(--u) * 12); width: calc(var(--u) * 28); height: calc(var(--u) * 28);
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  border: 1px solid var(--sb-line); background: var(--sb-card); box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
  font-size: calc(var(--u) * 14); line-height: 1;
}
.sb-jump.l { left: calc(var(--u) * 6); }
.sb-jump.r { right: calc(var(--u) * 6); }

/* Zeilenkopf eines Teams */
.sb-rh {
  display: flex; align-items: flex-start; gap: calc(var(--u) * 2); padding: calc(var(--u) * 6) calc(var(--u) * 8) calc(var(--u) * 8) calc(var(--u) * 4);
  background: var(--sb-head); border-right: 1px solid var(--sb-line); border-bottom: 1px solid var(--sb-line); overflow: hidden;
}
.sb-rh > div { min-width: 0; }
.sb-rh > i { width: calc(var(--u) * 20); flex: none; text-align: center; font-size: calc(var(--u) * 14); line-height: calc(var(--u) * 20); }
.sb-rh b { display: block; font-size: calc(var(--u) * 13); font-weight: 600; white-space: nowrap; }
.sb-rh small { display: block; font-size: calc(var(--u) * 11); color: var(--sb-fg2); }
.sb-rh .cb { display: flex; align-items: center; gap: calc(var(--u) * 4); margin-top: calc(var(--u) * 2); font-size: calc(var(--u) * 11); color: var(--sb-fg2); white-space: nowrap; }
.sb-rh .cb::before {
  content: ""; width: calc(var(--u) * 11); height: calc(var(--u) * 11); flex: none;
  border: 1px solid var(--sb-line2); border-radius: calc(var(--u) * 2); background: var(--sb-card);
}
.sb-rh .cb.on::before {
  content: "✓"; display: flex; align-items: center; justify-content: center;
  border-color: #0078d4; background: #0078d4; color: #ffffff; font-size: calc(var(--u) * 9); font-weight: 700; line-height: 1;
}
.sb-cell {
  display: flex; flex-direction: column; gap: calc(var(--u) * 8); padding: calc(var(--u) * 10); min-width: 0;
  border-right: 1px solid var(--sb-line); border-bottom: 1px solid var(--sb-line);
}
.sb-cell.end { border-right: 0; }
.sb-cell.span2 { grid-column: span 2; }
.sb-cell.zebra { background: var(--sb-zebra); }
.sb-rh.last, .sb-cell.last { border-bottom: 0; }

/* Die Karte: links der Farbstreifen des Typs, oben ID und Knöpfe, darunter der Titel */
.sb-card {
  position: relative; min-height: calc(var(--u) * 44); padding: calc(var(--u) * 4) calc(var(--u) * 8);
  background: var(--sb-card); border: 1px solid var(--sb-line); border-left: calc(var(--u) * 4) solid #8a8886;
  border-radius: calc(var(--u) * 3);
}
.sb-card.us { border-left-color: #009ccc; }
.sb-card.ft { border-left-color: #773b93; }
.sb-card.bug { border-left-color: #cc293d; }
.sb-ch { display: flex; justify-content: space-between; align-items: center; gap: calc(var(--u) * 8); height: calc(var(--u) * 16); font-size: calc(var(--u) * 11); color: var(--sb-fg2); white-space: nowrap; }
.sb-ch > span { display: inline-flex; align-items: center; gap: calc(var(--u) * 4); }
.sb-ch > span + span { gap: calc(var(--u) * 2); }
.sb-typ {
  display: inline-flex; align-items: center; justify-content: center; width: calc(var(--u) * 14); height: calc(var(--u) * 14); flex: none;
  border-radius: calc(var(--u) * 3); background: #8a8886; color: #ffffff; font-size: calc(var(--u) * 9); font-weight: 700; line-height: 1;
}
.us .sb-typ, .sb-typ.us { background: #009ccc; }
.ft .sb-typ { background: #773b93; }
.bug .sb-typ { background: #cc293d; }
.sb-av {
  display: inline-flex; align-items: center; justify-content: center; width: calc(var(--u) * 16); height: calc(var(--u) * 16); flex: none;
  margin-right: calc(var(--u) * 2); border-radius: 50%; color: #ffffff; font-size: calc(var(--u) * 8); font-weight: 700; letter-spacing: .03em; line-height: 1;
}
.sb-av.a1 { background: #486991; }
.sb-av.a2 { background: #8f5873; }
.sb-av.a3 { background: #4f7a5c; }
.sb-av.a4 { background: #9a6a3a; }
.sb-av.a5 { background: #6b5fa3; }
.sb-kb {
  display: inline-flex; align-items: center; justify-content: center; width: calc(var(--u) * 16); height: calc(var(--u) * 16); flex: none;
  border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 3); font-size: calc(var(--u) * 11); line-height: 1; color: var(--sb-fg);
}
.sb-kb.off { opacity: .4; }
.sb-st { display: inline-flex; align-items: center; gap: calc(var(--u) * 4); margin-left: calc(var(--u) * 2); }
.sb-st::before { content: ""; width: calc(var(--u) * 8); height: calc(var(--u) * 8); border-radius: 50%; background: #b2b2b2; }
.sb-st.active::before { background: #007acc; }
.sb-st.closed::before { background: #339933; }
.sb-ct {
  font-size: calc(var(--u) * 12); font-weight: 600; line-height: calc(var(--u) * 16); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  text-decoration: underline dotted rgba(128, 128, 128, .6); text-underline-offset: calc(var(--u) * 2);
}
.sb-chip {
  display: inline-block; max-width: 100%; margin-top: calc(var(--u) * 2); padding: calc(var(--u) * 1) calc(var(--u) * 5);
  border-radius: calc(var(--u) * 3); background: rgba(128, 128, 128, .16);
  font-size: calc(var(--u) * 10); line-height: calc(var(--u) * 14); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: top;
}
.sb-chip.green { background: rgba(16, 124, 16, .22); }
.sb-kids { display: flex; gap: calc(var(--u) * 4); align-items: center; margin-top: calc(var(--u) * 2); height: calc(var(--u) * 16); }
.sb-kids span {
  display: inline-flex; align-items: center; gap: calc(var(--u) * 3); padding: 0 calc(var(--u) * 5) 0 calc(var(--u) * 3);
  border-radius: calc(var(--u) * 8); background: rgba(128, 128, 128, .12); color: var(--sb-fg2);
  font-size: calc(var(--u) * 10); line-height: calc(var(--u) * 15); white-space: nowrap;
}
.sb-kids b { font-weight: 600; }
.sb-kids em { color: #107c10; }
.sb-prog { height: calc(var(--u) * 4); margin-top: calc(var(--u) * 3); border-radius: calc(var(--u) * 2); overflow: hidden; background: rgba(128, 128, 128, .18); }
.sb-prog span { display: block; height: 100%; background: #0078d4; }
.sb-prog .p25 { width: 25%; }
.sb-prog .p60 { width: 60%; }

/* --- Die Demo (18 Sekunden, läuft von selbst) ---
   0–4 s Überblick · 4–8 s der Konflikt blinkt · 8–12 s die Karte wird in
   einen späteren Sprint gezogen · 12–17 s der Konflikt ist gelöst.
   Regel wie im Programm: Endet der Vorgänger nach dem Beginn des
   Nachfolgers, sind beide Karten rot. Ohne Animation (ruhige Darstellung
   gewünscht) steht das Bild im Ausgangszustand. */
.sb-card.sb-conflict { border-color: #c50f1f; }
.sb-pred { animation: sb-pred 18s linear infinite; }
.sb-move { z-index: 5; animation: sb-move 18s linear infinite; }
.sb-drop { animation: sb-drop 18s linear infinite; }
.sb-cursor {
  position: absolute; left: 58%; top: 52%; z-index: 6; width: calc(var(--u) * 17); height: calc(var(--u) * 23); max-width: none;
  opacity: 0; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
  animation: sb-cursor 18s linear infinite;
}
@keyframes sb-pred {
  0%, 23% { border-color: #c50f1f; box-shadow: 0 0 0 0 rgba(197, 15, 31, 0); }
  28% { box-shadow: 0 0 0 calc(var(--u) * 5) rgba(197, 15, 31, .26); }
  33% { box-shadow: 0 0 0 0 rgba(197, 15, 31, 0); }
  38% { box-shadow: 0 0 0 calc(var(--u) * 5) rgba(197, 15, 31, .26); }
  43%, 62% { border-color: #c50f1f; box-shadow: 0 0 0 0 rgba(197, 15, 31, 0); }
  65%, 100% { border-color: var(--sb-line) var(--sb-line) var(--sb-line) #773b93; box-shadow: 0 0 0 0 rgba(197, 15, 31, 0); }
}
@keyframes sb-move {
  0% { opacity: 0; transform: translate(0, 0) scale(1); border-color: #c50f1f; box-shadow: 0 0 0 0 rgba(197, 15, 31, 0); }
  2%, 23% { opacity: 1; transform: translate(0, 0) scale(1); border-color: #c50f1f; box-shadow: 0 0 0 0 rgba(197, 15, 31, 0); }
  28% { box-shadow: 0 0 0 calc(var(--u) * 5) rgba(197, 15, 31, .26); }
  33% { box-shadow: 0 0 0 0 rgba(197, 15, 31, 0); }
  38% { box-shadow: 0 0 0 calc(var(--u) * 5) rgba(197, 15, 31, .26); }
  43%, 48% { transform: translate(0, 0) scale(1); box-shadow: 0 0 0 0 rgba(197, 15, 31, 0); }
  50% { transform: translate(0, 0) scale(1.03); box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) 0 rgba(0, 0, 0, .28); animation-timing-function: ease-in-out; }
  60% { transform: translate(calc(var(--u) * 512), calc(var(--u) * -52)) scale(1.03); box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) 0 rgba(0, 0, 0, .28); }
  62% { transform: translate(calc(var(--u) * 512), calc(var(--u) * -52)) scale(1); border-color: #c50f1f; box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
  65%, 96% { opacity: 1; transform: translate(calc(var(--u) * 512), calc(var(--u) * -52)) scale(1); border-color: var(--sb-line) var(--sb-line) var(--sb-line) #009ccc; box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
  98%, 100% { opacity: 0; transform: translate(calc(var(--u) * 512), calc(var(--u) * -52)) scale(1); border-color: var(--sb-line) var(--sb-line) var(--sb-line) #009ccc; }
}
@keyframes sb-cursor {
  0%, 43% { opacity: 0; transform: translate(calc(var(--u) * 70), calc(var(--u) * 46)); }
  45% { opacity: 1; transform: translate(calc(var(--u) * 70), calc(var(--u) * 46)); animation-timing-function: ease-out; }
  48%, 62% { opacity: 1; transform: translate(0, 0); }
  66%, 100% { opacity: 0; transform: translate(calc(var(--u) * 30), calc(var(--u) * 24)); }
}
@keyframes sb-drop {
  0%, 51% { box-shadow: inset 0 0 0 0 rgba(0, 120, 212, 0), inset 0 0 0 999px rgba(0, 120, 212, 0); }
  54%, 60% { box-shadow: inset 0 0 0 calc(var(--u) * 2) #0078d4, inset 0 0 0 999px rgba(0, 120, 212, .07); }
  62%, 100% { box-shadow: inset 0 0 0 0 rgba(0, 120, 212, 0), inset 0 0 0 999px rgba(0, 120, 212, 0); }
}

/* ---------- Abschnitte ---------- */
section { padding-block: 88px; }
section + section { border-top: 1px solid var(--line); }
.hero + section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 12px; justify-items: center; max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--fg-muted); font-size: 1.1rem; text-wrap: pretty; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.two article { display: grid; gap: 10px; align-content: start; padding: 28px; border: 1px solid var(--line); border-radius: 16px; }
.two .k { font-family: var(--mono); font-size: .74rem; color: var(--fg-muted); }
.same { margin-top: 28px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 12px; background: var(--accent-soft); }
.same svg { flex: none; width: 26px; height: 26px; color: var(--accent); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; }
.features div { display: grid; gap: 8px; align-content: start; }
.features p { color: var(--fg-muted); font-size: .98rem; }

.trust { background: var(--band); color: var(--creme); }
section.trust, section.trust + section { border-top: 0; }
.trust .section-head p, .trust-grid p, .trust-foot { color: rgba(249, 244, 231, .82); }
.trust .label { color: rgba(249, 244, 231, .7); }
.trust a:focus-visible { outline-color: var(--fokus); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(249, 244, 231, .2); }
.trust-grid div { padding: 26px 0; border-bottom: 1px solid rgba(249, 244, 231, .2); display: grid; gap: 8px; align-content: start; }
.trust-grid div:nth-child(odd) { padding-right: 36px; border-right: 1px solid rgba(249, 244, 231, .2); }
.trust-grid div:nth-child(even) { padding-left: 36px; }
.trust-grid h3::before { content: ""; display: inline-block; width: 14px; height: 4px; border-radius: 2px; background: var(--fokus); margin-right: 10px; vertical-align: middle; }
.trust-foot { margin-top: 28px; font-size: .92rem; text-align: center; }

.about { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.photo {
  aspect-ratio: 4 / 5; max-width: 100%; border-radius: 16px; background: var(--bg-soft);
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--fg-muted); font-size: 2.4rem; font-weight: 600;
}
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }
.about-text { display: grid; gap: 18px; max-width: 62ch; }
.about-text p { font-size: 1.06rem; }
.sig { font-weight: 600; }
.sig span { display: block; font-weight: 400; color: var(--fg-muted); font-size: .92rem; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact article { display: grid; gap: 10px; align-content: start; padding: 28px; border: 1px solid var(--line); border-radius: 16px; }
.mail { font-family: var(--mono); font-size: 1rem; color: var(--fg); word-break: break-all; text-decoration-color: var(--fokus); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Rechtstexte ---------- */
.doc { padding-block: 64px 80px; }
.doc .inner { max-width: 70ch; display: grid; gap: 16px; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); letter-spacing: -0.015em; line-height: 1.15; margin-bottom: 8px; }
.doc h2 { font-size: 1.25rem; letter-spacing: -0.015em; margin-top: 20px; }
.doc ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.doc address { font-style: normal; }
.doc .stand { color: var(--fg-muted); font-size: .9rem; }

/* ---------- Fuss ---------- */
.site-foot { border-top: 1px solid var(--line); font-size: .88rem; color: var(--fg-muted); }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; }
.site-foot nav { display: flex; gap: 8px 18px; flex-wrap: wrap; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--fg); text-decoration: underline; }

/* ---------- Schmalere Bildschirme ---------- */
@media (max-width: 900px) {
  .site-head .wrap { grid-template-columns: 1fr auto auto; }
  .lang { order: 2; }
  .nav-toggle {
    order: 3; display: inline-flex; align-items: center; padding: 7px 15px;
    border: 1px solid var(--line); border-radius: 99px; font-size: .92rem; cursor: pointer; user-select: none;
  }
  .nav-check:focus-visible + .nav-toggle { outline: 2px solid var(--accent); outline-offset: 3px; }
  .nav-check:checked + .nav-toggle { background: var(--bg-soft); }
  .nav { order: 4; grid-column: 1 / -1; display: none; padding-bottom: 8px; }
  .nav-check:checked ~ .nav { display: block; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li > a { padding: 11px 4px; border-radius: 8px; font-size: 1.02rem; color: var(--fg); }
  .menu > li + li { border-top: 1px solid var(--line); }
  .has-sub > a::after { display: none; }
  .sub { position: static; width: auto; padding: 0; opacity: 1; visibility: visible; transform: none; transition: none; }
  .has-sub:hover > .sub, .has-sub:has(:focus-visible) > .sub { transform: none; }
  .sub ul { grid-template-columns: 1fr 1fr; padding: 0 0 10px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .sub a { padding: 8px 10px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .features { grid-template-columns: 1fr 1fr; }
  .two, .contact { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .photo { max-width: 220px; }
}
@media (max-width: 600px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .sb-frame { --u: clamp(.2px, calc((100vw - 34px) / 1228), 1px); }
  .hero { padding-block: 44px 56px; }
  .stage-fig { margin-top: 36px; }
  .sub ul { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .features { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div, .trust-grid div:nth-child(odd), .trust-grid div:nth-child(even) { padding: 22px 0; border-right: 0; }
  section { padding-block: 56px; }
}
@supports (width: 1cqw) {
  @media (max-width: 600px) { .sb-frame { --u: min(1px, calc((100cqw - 2px) / 1228)); } }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ====== Etappe 2 (wird von werkzeuge/website_bauen.py geschrieben; nicht von Hand aendern) ====== */
/* ---------- Bühnen 2 bis 8 auf der Startseite ---------- */
.stage { text-align: center; }
.stage.alt { background: var(--bg-soft); }
.stage .section-head { margin-bottom: 0; }
.stage .stage-fig { margin-top: 44px; }
.stage-more { margin-top: 30px; }
.section-head .more { margin-top: 2px; }

/* ---------- Detailseiten ---------- */
.crumb { font-size: .92rem; color: var(--fg-muted); text-decoration: none; }
.crumb::before { content: "‹ "; }
.crumb:hover { color: var(--fg); }
.prose { max-width: 68ch; margin: 0 auto; display: grid; gap: 18px; font-size: 1.08rem; text-wrap: pretty; }
.case { list-style: none; counter-reset: fall; margin: 0 auto; padding: 0; max-width: 780px; text-align: left; }
.case li { counter-increment: fall; display: grid; grid-template-columns: 40px 1fr; gap: 6px 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.case li:last-child { border-bottom: 1px solid var(--line); }
.case li::before {
  content: counter(fall); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 650;
}
.case b { font-size: 1.05rem; }
.case span { grid-column: 2; color: var(--fg-muted); }
.know { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 44px; max-width: 920px; margin: 0 auto; text-align: left; }
.know div { display: grid; gap: 6px; align-content: start; padding-left: 18px; border-left: 3px solid var(--fokus); }
.know p { color: var(--fg-muted); font-size: .98rem; }
.next { background: var(--bg-soft); text-align: center; }
.next .ctas { justify-content: center; margin-top: 8px; }
.next-list { list-style: none; margin: 36px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 860px; }
.next-list a { display: block; padding: 7px 15px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-size: .92rem; color: var(--fg-muted); background: var(--bg); }
.next-list a:hover { color: var(--fg); border-color: var(--fg-muted); }
.next-list a[aria-current="page"] { color: var(--fg); border-color: var(--fokus); }
@media (max-width: 700px) { .know { grid-template-columns: 1fr; } }

/* ---------- Nachbau: Korrekturen und gemeinsame Bausteine ---------- */
.sb-app { position: relative; }
.sb-board { grid-template-columns: calc(var(--u) * 170) repeat(4, 1fr); }
.sb-rh.zu { height: calc(var(--u) * 40); padding-bottom: 0; }
.sb-cell.zu { height: calc(var(--u) * 40); padding: 0; }
.sb-typ.us { background: #009ccc; }
.sb-typ.ft { background: #773b93; }
.sb-typ.bug { background: #cc293d; }
.sb-typ.ep { background: #e06c00; }
.sb-typ.task { background: #f2cb1d; color: #323130; }
.sb-card.ep { border-left-color: #e06c00; }
.sb-card.task { border-left-color: #f2cb1d; }
.sb-chip.yellow { background: rgba(255, 185, 0, .35); }
.sb-prog .p0 { width: 0; }
.sb-prog .p40 { width: 40%; }
.sb-prog .p50 { width: 50%; }
.sb-det { font-size: calc(var(--u) * 10); line-height: calc(var(--u) * 16); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-det span { opacity: .75; }
.sb-box { position: relative; }
.sb-pos { position: relative; overflow: visible; }
.d-swap { display: inline-grid; }
.d-swap > * { grid-area: 1 / 1; justify-self: start; }
.sb-zg {
  position: absolute; left: 55%; top: 55%; z-index: 12; width: calc(var(--u) * 17); height: calc(var(--u) * 23); max-width: none;
  pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
}
.sb-bx {
  position: relative; display: inline-block; width: calc(var(--u) * 14); height: calc(var(--u) * 14); flex: none; vertical-align: middle;
  border: 1px solid var(--sb-line2); border-radius: calc(var(--u) * 2); background: var(--sb-card);
}
.sb-bx em {
  position: absolute; inset: -1px; display: flex; align-items: center; justify-content: center;
  border-radius: calc(var(--u) * 2); background: #0078d4; color: #ffffff; font-size: calc(var(--u) * 10); font-weight: 700; line-height: 1;
}
.sb-veil { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; background: rgba(0, 0, 0, .35); border-radius: calc(var(--u) * 4); }
.sb-dlg {
  width: calc(var(--u) * 440); padding: calc(var(--u) * 20); display: grid; gap: calc(var(--u) * 8); border-radius: calc(var(--u) * 4); background: var(--sb-card); color: var(--sb-fg);
  box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 24) rgba(0, 0, 0, .25); font-size: calc(var(--u) * 13); white-space: normal; text-align: left;
}
.sb-dlg b.t { font-size: calc(var(--u) * 16); font-weight: 600; }
.sb-lbl { font-size: calc(var(--u) * 12); color: var(--sb-fg2); }
.sb-inp { display: block; min-height: calc(var(--u) * 30); padding: calc(var(--u) * 5) calc(var(--u) * 8); border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 3); background: var(--sb-card); font-size: calc(var(--u) * 13); }
.sb-inp.area { min-height: calc(var(--u) * 64); }
.sb-btns { display: flex; justify-content: flex-end; gap: calc(var(--u) * 8); margin-top: calc(var(--u) * 6); }
.sb-msg { padding: calc(var(--u) * 6) calc(var(--u) * 12); border-radius: calc(var(--u) * 4); font-size: calc(var(--u) * 13); white-space: normal; }
.sb-msg.g { color: #0b6a0b; background: rgba(16, 124, 16, .10); }
.sb-msg.y { color: #323130; background: #fff4ce; border: 1px solid #f2c661; }
.sb-frame .sb-msg.g { color: #0b6a0b; }
.sb-warn { padding: calc(var(--u) * 3) calc(var(--u) * 8); border: 1px solid #f2c661; border-radius: calc(var(--u) * 3); background: #fff4ce; color: #323130; font-size: calc(var(--u) * 12); }
.sb-tip {
  position: absolute; top: 100%; left: 0; z-index: 12; width: calc(var(--u) * 320); margin-top: calc(var(--u) * 6); padding: calc(var(--u) * 8) calc(var(--u) * 10);
  border-radius: calc(var(--u) * 4); background: #323130; color: #ffffff; box-shadow: 0 calc(var(--u) * 4) calc(var(--u) * 14) rgba(0, 0, 0, .3);
  font-size: calc(var(--u) * 12); font-weight: 400; line-height: 1.4; letter-spacing: 0; text-transform: none; text-decoration: none; white-space: normal; text-align: left;
}
.sb-note {
  margin-top: calc(var(--u) * 12); padding: calc(var(--u) * 10) calc(var(--u) * 14); border: 1px dashed var(--sb-line2); border-radius: calc(var(--u) * 6);
  font-size: calc(var(--u) * 13); white-space: normal; display: grid; gap: calc(var(--u) * 4);
}
.sb-note small { font-size: calc(var(--u) * 11); color: var(--sb-fg2); }
.sb-space { min-height: calc(var(--u) * 32); }

/* ---------- Nachbau: ProjectBoard (Gantt) ---------- */
.pg { position: relative; display: grid; grid-template-columns: calc(var(--u) * 524) 1fr; border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 4); overflow: hidden; font-size: calc(var(--u) * 13); }
.pg::after { content: ""; position: absolute; z-index: 3; top: calc(var(--u) * 58); bottom: 0; left: calc(calc(var(--u) * 524) + calc(var(--u) * 270)); width: 2px; background: #d13438; opacity: .7; }
.pg > div { min-width: 0; border-bottom: 1px solid var(--sb-line); }
.pg > .last { border-bottom: 0; }
.pg-l {
  display: grid; grid-template-columns: calc(var(--u) * 190) calc(var(--u) * 28) calc(var(--u) * 28) calc(var(--u) * 60) calc(var(--u) * 54) calc(var(--u) * 54) calc(var(--u) * 36) 1fr; align-items: center;
  height: calc(var(--u) * 32); padding: 0 calc(var(--u) * 6); border-right: 1px solid var(--sb-line); white-space: nowrap; background: var(--sb-bg);
}
.pg-l > span { min-width: 0; padding: 0 calc(var(--u) * 4); overflow: hidden; text-overflow: ellipsis; }
.pg-l.heads { font-size: calc(var(--u) * 12); font-weight: 600; background: var(--sb-head); }
.pg-l.ph { font-weight: 600; }
.pg-l .ind { padding-left: calc(var(--u) * 18); display: flex; align-items: center; gap: calc(var(--u) * 5); }
.pg-l .ind span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pg-l > span.sb-pos { overflow: visible; }
.pg-proj b, .pg-proj small { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pg-l .ab { color: var(--sb-fg2); font-style: italic; font-weight: 400; }
.pg-l .chg { background: rgba(255, 185, 0, .18); border-radius: calc(var(--u) * 2); }
.pg-free { display: flex; align-items: center; gap: calc(var(--u) * 8); height: calc(var(--u) * 32); padding: 0 calc(var(--u) * 10); border-right: 1px solid var(--sb-line); white-space: nowrap; background: var(--sb-bg); }
.pg-corner { height: calc(var(--u) * 58); align-items: flex-end; padding-bottom: calc(var(--u) * 8); background: var(--sb-head); font-size: calc(var(--u) * 11); color: var(--sb-fg2); }
.pg-corner .minus { margin-left: auto; }
.pg-proj b { font-size: calc(var(--u) * 14); font-weight: 600; }
.pg-proj small { font-size: calc(var(--u) * 12); color: var(--sb-fg2); }
.pg-fort { position: relative; width: calc(var(--u) * 96); height: calc(var(--u) * 10); margin-left: auto; border-radius: calc(var(--u) * 5); background: rgba(128, 128, 128, .2); }
.pg-fort i { position: absolute; left: 0; top: 0; bottom: 0; width: 42%; border-radius: calc(var(--u) * 5); background: #0078d4; }
.pg-fort i::after { content: ""; position: absolute; right: calc(var(--u) * -7); top: calc(var(--u) * -2); width: calc(var(--u) * 14); height: calc(var(--u) * 14); box-sizing: border-box; border-radius: 50%; background: #ffffff; border: calc(var(--u) * 2) solid #0078d4; }
.pg-ampel { display: inline-flex; gap: calc(var(--u) * 4); padding: calc(var(--u) * 3) calc(var(--u) * 5); border-radius: calc(var(--u) * 10); background: rgba(128, 128, 128, .12); }
.pg-ampel i { width: calc(var(--u) * 14); height: calc(var(--u) * 14); border-radius: 50%; opacity: .45; }
.pg-ampel .gr { background: #3d9a3d; opacity: 1; }
.pg-ampel .ge { background: #e6a700; }
.pg-ampel .ro { background: #d13438; }
.pg-stern { color: #d67f00; font-size: calc(var(--u) * 15); }
.pg-foot span { padding: calc(var(--u) * 3) calc(var(--u) * 10); border: 1px dashed var(--sb-line2); border-radius: calc(var(--u) * 3); font-size: calc(var(--u) * 12); color: var(--sb-fg2); }
.pg-abw { font-size: calc(var(--u) * 12); font-weight: 600; }
.pg-ic {
  display: inline-flex; align-items: center; justify-content: center; width: calc(var(--u) * 24); height: calc(var(--u) * 22);
  border: 1px solid #0078d4; border-radius: calc(var(--u) * 3); background: rgba(0, 120, 212, .10); color: var(--sb-blue); font-size: calc(var(--u) * 12);
}
.pg-ic.off { border-color: var(--sb-line); background: transparent; color: var(--sb-fg2); opacity: .5; }
.pg-r {
  position: relative; height: calc(var(--u) * 32);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 calc(var(--u) * 60), rgba(128, 128, 128, .08) calc(var(--u) * 60) calc(var(--u) * 84)),
    repeating-linear-gradient(90deg, transparent 0 calc(calc(var(--u) * 84) - 1px), var(--sb-line) calc(calc(var(--u) * 84) - 1px) calc(var(--u) * 84));
}
.pg-r.plain { background: var(--sb-bg); }
.pg-th { background: var(--sb-head); }
.pg-th div { display: grid; }
.pg-th span { padding: 0 calc(var(--u) * 6); overflow: hidden; white-space: nowrap; border-right: 1px solid var(--sb-line); font-size: calc(var(--u) * 11); color: var(--sb-fg2); }
.pg-th .sp { grid-template-columns: repeat(4, 1fr); height: calc(var(--u) * 18); line-height: calc(var(--u) * 18); background: rgba(0, 120, 212, .07); }
.pg-th .sp span { font-size: calc(var(--u) * 10); }
.pg-th .mo { grid-template-columns: 348fr 324fr; height: calc(var(--u) * 20); line-height: calc(var(--u) * 20); }
.pg-th .mo span { font-weight: 600; color: var(--sb-fg); }
.pg-th .wk { grid-template-columns: repeat(8, 1fr); height: calc(var(--u) * 19); line-height: calc(var(--u) * 19); }
.pg-bar {
  position: absolute; top: calc(var(--u) * 7); height: calc(var(--u) * 18); display: flex; align-items: center; gap: calc(var(--u) * 4); padding: 0 calc(var(--u) * 3);
  border-radius: calc(var(--u) * 4); background: #773b93; color: #ffffff; font-size: calc(var(--u) * 11); font-weight: 600; white-space: nowrap; overflow: hidden;
}
.pg-bar i { display: inline-flex; align-items: center; justify-content: center; width: calc(var(--u) * 14); height: calc(var(--u) * 14); flex: none; border-radius: 50%; background: #ffffff; color: #773b93; font-size: calc(var(--u) * 9); font-weight: 700; }
.pg-bar.phase { top: calc(var(--u) * 9); height: calc(var(--u) * 14); padding: 0 calc(var(--u) * 6); border-radius: calc(var(--u) * 3); background: #605e5c; }
.pg-ms { position: absolute; top: calc(var(--u) * 8); left: calc(var(--u) * 586); width: calc(var(--u) * 16); height: calc(var(--u) * 16); border-radius: calc(var(--u) * 2); background: #773b93; transform: rotate(45deg); }
.pg-off { position: absolute; top: calc(var(--u) * 9); height: calc(var(--u) * 14); border-radius: calc(var(--u) * 3); background: rgba(197, 15, 31, .75); }
.pg-off.h { background: rgba(96, 94, 92, .75); }
.x0 { left: 0; } .x84 { left: calc(var(--u) * 84); } .x252 { left: calc(var(--u) * 252); } .x336 { left: calc(var(--u) * 336); } .x504 { left: calc(var(--u) * 504); } .x636 { left: calc(var(--u) * 636); }
.bw12 { width: calc(var(--u) * 12); } .bw60 { width: calc(var(--u) * 60); } .bw144 { width: calc(var(--u) * 144); } .bw228 { width: calc(var(--u) * 228); }
.pg-wachs-a { width: calc(var(--u) * 228); animation: pg-wachs-a 18s linear infinite; }
.pg-wachs-b { width: calc(var(--u) * 312); animation: pg-wachs-b 18s linear infinite; }
@keyframes pg-wachs-a { 0%, 33% { width: calc(var(--u) * 144); } 37%, 100% { width: calc(var(--u) * 228); } }
@keyframes pg-wachs-b { 0%, 33% { width: calc(var(--u) * 228); } 37%, 100% { width: calc(var(--u) * 312); } }

/* ---------- Nachbau: Dashboard ---------- */
.sb-dd.s { min-width: 0; }
.ds-zs { display: flex; align-items: flex-start; gap: calc(var(--u) * 10); margin-bottom: calc(var(--u) * 12); padding: calc(var(--u) * 8) calc(var(--u) * 12); border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 6); font-size: calc(var(--u) * 12); white-space: nowrap; }
.ds-track { position: relative; flex: 1; padding-top: calc(var(--u) * 7); }
.ds-slider { position: relative; height: calc(var(--u) * 4); border-radius: calc(var(--u) * 2); background: rgba(128, 128, 128, .3); }
.ds-thumb { position: absolute; top: calc(var(--u) * -5); left: 15%; width: calc(var(--u) * 14); height: calc(var(--u) * 14); margin-left: calc(var(--u) * -7); border-radius: 50%; background: #0078d4; animation: ds-zeit 18s linear infinite; }
.ds-ticks { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: calc(var(--u) * 8); font-size: calc(var(--u) * 9); color: var(--sb-fg2); }
.ds-ticks span { padding-left: calc(var(--u) * 4); border-left: 1px solid var(--sb-line2); }
.ds-heute { position: absolute; left: 41%; top: calc(var(--u) * 16); bottom: 0; padding-left: calc(var(--u) * 3); border-left: calc(var(--u) * 2) solid #d67f00; font-size: calc(var(--u) * 9); color: #d67f00; line-height: 1; }
.ds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--u) * 12); }
.ds-tile {
  position: relative; display: flex; flex-direction: column; gap: calc(var(--u) * 8); min-width: 0; min-height: calc(var(--u) * 150); padding: calc(var(--u) * 12) calc(var(--u) * 14) calc(var(--u) * 12);
  border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 10); background: var(--sb-card); box-shadow: 0 1px 3px rgba(0, 0, 0, .06); overflow: hidden;
}
.ds-tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--u) * 4); background: #0078d4; }
.ds-tile.teal::before { background: #038387; }
.ds-tile.w4 { grid-column: span 4; overflow: visible; }
.ds-tile.w4::before { border-radius: calc(var(--u) * 10) calc(var(--u) * 10) 0 0; }
.ds-tile.w2 { grid-column: span 2; }
.ds-th { display: flex; align-items: center; gap: calc(var(--u) * 6); font-size: calc(var(--u) * 13); font-weight: 600; white-space: nowrap; }
.ds-th .grip { font-weight: 400; color: var(--sb-fg2); }
.ds-th .ic { width: calc(var(--u) * 20); height: calc(var(--u) * 20); border-radius: calc(var(--u) * 4); background: rgba(0, 120, 212, .14); }
.ds-tile.teal .ic { background: rgba(3, 131, 135, .16); }
.ds-live { margin-left: auto; padding: calc(var(--u) * 1) calc(var(--u) * 7); border-radius: calc(var(--u) * 8); background: rgba(16, 124, 16, .10); color: #0b6a0b; font-size: calc(var(--u) * 10); font-weight: 600; }
.ds-tbl { display: grid; grid-template-columns: 2.4fr repeat(3, 1fr) .5fr repeat(3, 1fr); font-size: calc(var(--u) * 12); font-variant-numeric: tabular-nums; }
.ds-tbl > span { position: relative; padding: calc(var(--u) * 5) calc(var(--u) * 6); border-top: 1px solid rgba(128, 128, 128, .15); text-align: right; white-space: nowrap; }
.ds-tbl > .l { text-align: left; }
.ds-tbl > .h { border-top: 0; font-size: calc(var(--u) * 10); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--sb-fg2); }
.ds-tbl > .h u { text-decoration: underline dotted rgba(128, 128, 128, .6); text-underline-offset: calc(var(--u) * 2); }
.ds-tbl > .g { grid-column: span 3; border-top: 0; border-bottom: calc(var(--u) * 2) solid #0078d4; text-align: left; font-size: calc(var(--u) * 11); font-weight: 600; }
.ds-tbl > .g.e { border-bottom-color: #107c10; }
.ds-tbl > .x { border-top: 0; }
.ds-tbl > .sum { border-top: calc(var(--u) * 2) solid rgba(128, 128, 128, .3); font-weight: 600; }
.ds-mini { display: inline-block; width: calc(var(--u) * 46); height: calc(var(--u) * 6); margin-left: calc(var(--u) * 6); border-radius: calc(var(--u) * 3); background: rgba(128, 128, 128, .2); overflow: hidden; vertical-align: middle; }
.ds-mini i { display: block; height: 100%; background: #107c10; }
.w33 { width: 33%; } .w45 { width: 45%; } .w48 { width: 48%; } .w52 { width: 52%; }
.ds-big { font-size: calc(var(--u) * 38); font-weight: 700; line-height: 1.1; }
.ds-bar { height: calc(var(--u) * 8); border-radius: calc(var(--u) * 4); background: rgba(128, 128, 128, .2); overflow: hidden; }
.ds-bar i { display: block; height: 100%; width: 24%; background: #0078d4; animation: ds-bar 18s linear infinite; }
.ds-chart { position: relative; height: calc(var(--u) * 110); }
.ds-chart svg { display: block; width: 100%; height: 100%; max-width: none; }
.ds-tag { position: absolute; top: 0; bottom: 0; left: 15%; border-left: 1px dashed #d67f00; animation: ds-zeit 18s linear infinite; }
.ds-leg { display: flex; justify-content: space-between; gap: calc(var(--u) * 12); font-size: calc(var(--u) * 10); color: var(--sb-fg2); white-space: nowrap; }
.ds-leg i { display: inline-block; width: calc(var(--u) * 8); height: calc(var(--u) * 8); margin-right: calc(var(--u) * 4); background: #0078d4; }
.ds-leg i.b { background: #107c10; }
.ds-list { display: grid; gap: calc(var(--u) * 7); font-size: calc(var(--u) * 11); }
.ds-list span { display: flex; align-items: center; gap: calc(var(--u) * 5); white-space: nowrap; overflow: hidden; }
@keyframes ds-zeit { 0%, 46% { left: 41%; } 54%, 100% { left: 15%; } }
@keyframes ds-bar { 0%, 55% { width: 41%; } 57%, 100% { width: 24%; } }

/* ---------- Nachbau: Backlog ---------- */
.sb-row.wrap2 { justify-content: flex-end; }
.bl { position: relative; border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 4); overflow: hidden; font-size: calc(var(--u) * 12); }
.bl-r {
  position: relative; display: grid; grid-template-columns: calc(var(--u) * 16) calc(var(--u) * 34) calc(var(--u) * 44) calc(var(--u) * 52) 1fr calc(var(--u) * 110) calc(var(--u) * 90) calc(var(--u) * 120) calc(var(--u) * 170) calc(var(--u) * 44) calc(var(--u) * 24); column-gap: calc(var(--u) * 10); align-items: center;
  height: calc(var(--u) * 32); padding: 0 calc(var(--u) * 8); border-bottom: 1px solid var(--sb-line); border-left: calc(var(--u) * 4) solid #8a8886; background: var(--sb-bg); white-space: nowrap;
}
.bl-r > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bl-r.head { height: calc(var(--u) * 26); border-left-color: transparent; border-bottom: calc(var(--u) * 2) solid var(--sb-line); font-size: calc(var(--u) * 11); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--sb-fg2); }
.bl-r.us { border-left-color: #009ccc; } .bl-r.ft { border-left-color: #773b93; } .bl-r.bug { border-left-color: #cc293d; }
.bl-r.last { border-bottom: 0; }
.bl-r .rk { font-weight: 600; text-align: right; }
.bl-r .old { color: var(--sb-fg2); }
.bl-r .ti { font-weight: 600; text-decoration: underline dotted rgba(128, 128, 128, .6); text-underline-offset: calc(var(--u) * 2); }
.bl-r .grip { color: var(--sb-fg2); overflow: visible; }
.bl-r .st { display: inline-flex; align-items: center; gap: calc(var(--u) * 5); }
.bl-r .st::before { content: ""; width: calc(var(--u) * 8); height: calc(var(--u) * 8); flex: none; border-radius: 50%; background: #b2b2b2; }
.bl-r .st.active::before { background: #007acc; }
.bl-dep { padding: calc(var(--u) * 1) calc(var(--u) * 7); border-radius: calc(var(--u) * 3); line-height: calc(var(--u) * 18); }
.bl-dep.y { background: rgba(255, 185, 0, .35); }
.bl-dep.g { background: rgba(16, 124, 16, .22); }
.bl-marke { position: absolute; z-index: 4; left: 0; right: 0; top: calc(var(--u) * 58); border-top: 2px solid #0078d4; }
.bl-hoch { z-index: 5; transform: translateY(calc(var(--u) * -96)); animation: bl-hoch 18s linear infinite; }
.bl-tief { transform: translateY(calc(var(--u) * 32)); animation: bl-tief 18s linear infinite; }
@keyframes bl-hoch {
  0%, 28% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
  30% { transform: translateY(0); box-shadow: 0 calc(var(--u) * 6) calc(var(--u) * 16) 0 rgba(0, 0, 0, .28); animation-timing-function: ease-in-out; }
  38% { transform: translateY(calc(var(--u) * -96)); box-shadow: 0 calc(var(--u) * 6) calc(var(--u) * 16) 0 rgba(0, 0, 0, .28); }
  40%, 100% { transform: translateY(calc(var(--u) * -96)); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}
@keyframes bl-tief { 0%, 34% { transform: translateY(0); } 39%, 100% { transform: translateY(calc(var(--u) * 32)); } }

/* ---------- Nachbau: Fenster über dem Board (Drill-Down, Abhängigkeiten) ----------
   Abgeglichen mit Nikicas Bildschirmfoto des echten Abhängigkeits-Fensters (24.11.2026):
   Filterzeile unter dem Kopf, Team-Zeilen mit drei Haken, Karten nur mit + und ↳,
   Backlog-Fenster rechts mit Zeilen statt Karten. Zellen sind hier fest 104 hoch,
   damit die Lage der Karten für Züge und Pfeile feststeht. */
.sb-frame.hoch .sb-app { min-height: calc(var(--u) * 770); }
.dr-win {
  position: absolute; z-index: 10; top: calc(var(--u) * 46); left: calc(var(--u) * 34); right: calc(var(--u) * 34); bottom: calc(var(--u) * 30); display: flex; flex-direction: column;
  padding: calc(var(--u) * 10) calc(var(--u) * 14) calc(var(--u) * 14); border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 6); background: var(--sb-bg); box-shadow: 0 calc(var(--u) * 10) calc(var(--u) * 40) rgba(0, 0, 0, .35);
}
.dr-win.t2 { z-index: 11; top: calc(var(--u) * 72); left: calc(var(--u) * 60); right: calc(var(--u) * 26); bottom: calc(var(--u) * 22); }
.dr-head { display: flex; align-items: center; gap: calc(var(--u) * 10); margin-bottom: calc(var(--u) * 8); white-space: nowrap; }
.dr-head b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: calc(var(--u) * 15); font-weight: 600; }
.sb-such { display: inline-flex; align-items: center; gap: calc(var(--u) * 8); width: calc(var(--u) * 290); height: calc(var(--u) * 32); padding: 0 calc(var(--u) * 10); box-sizing: border-box; border: 1px solid var(--sb-line2); border-radius: calc(var(--u) * 2); color: var(--sb-fg2); }
.sb-such svg { width: calc(var(--u) * 16); height: calc(var(--u) * 16); flex: none; }
.sb-pf { width: calc(var(--u) * 22); text-align: center; color: var(--sb-fg2); font-size: calc(var(--u) * 16); line-height: 1; }
.sb-msg.b { display: grid; gap: calc(var(--u) * 2); padding: calc(var(--u) * 8) calc(var(--u) * 12); background: rgba(0, 120, 212, .08); border: 1px solid rgba(0, 120, 212, .35); }
.sb-msg.b b { font-weight: 600; }
.sb-msg.b span { padding-left: calc(var(--u) * 16); }
.sb-cell.fix { height: calc(var(--u) * 104); }

/* Backlog-Fenster rechts über der Zeitachse (Haken "Backlog & Erfassen") */
.dr-bl {
  position: absolute; z-index: 6; right: calc(var(--u) * 8); width: calc(var(--u) * 232); min-height: calc(var(--u) * 190); box-sizing: border-box; padding: calc(var(--u) * 10);
  display: grid; gap: calc(var(--u) * 8); align-content: start;
  border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 6); background: var(--sb-bg); box-shadow: 0 calc(var(--u) * 4) calc(var(--u) * 16) rgba(0, 0, 0, .18);
}
.dr-bl.oben1 { top: calc(var(--u) * 101); }
.dr-bl.oben2 { top: calc(var(--u) * 205); }
.dr-blk { display: flex; align-items: center; gap: calc(var(--u) * 6); height: calc(var(--u) * 24); white-space: nowrap; }
.dr-blk b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: calc(var(--u) * 13); font-weight: 600; }
.dr-blk .sb-b { height: calc(var(--u) * 24); padding: 0 calc(var(--u) * 8); font-size: calc(var(--u) * 12); }
.dr-bl .sb-inp { height: calc(var(--u) * 30); min-height: 0; box-sizing: border-box; color: var(--sb-fg2); font-size: calc(var(--u) * 12); white-space: nowrap; overflow: hidden; }
.dr-zl {
  display: flex; align-items: center; gap: calc(var(--u) * 10); height: calc(var(--u) * 28); margin: 0 calc(var(--u) * -10); padding: 0 calc(var(--u) * 10); box-sizing: border-box;
  border-left: calc(var(--u) * 4) solid #8a8886; border-top: 1px solid var(--sb-line); border-bottom: 1px solid var(--sb-line);
  font-size: calc(var(--u) * 12); white-space: nowrap; overflow: hidden;
}
.dr-zl.us { border-left-color: #009ccc; } .dr-zl.ft { border-left-color: #773b93; } .dr-zl.bug { border-left-color: #cc293d; }
.dr-zl span { color: var(--sb-fg2); }
.dr-zl u { min-width: 0; overflow: hidden; text-overflow: ellipsis; text-decoration: underline dotted rgba(128, 128, 128, .6); text-underline-offset: calc(var(--u) * 2); }

/* Ein Work Item wird aus dem Backlog-Fenster in die Zeitachse gezogen: Die Karte liegt
   im Ziel und startet verschoben an der Stelle der Backlog-Zeile (Weg in echten Pixeln). */
.dr-hol { z-index: 7; animation: dr-hol 18s linear infinite; }
@keyframes dr-hol {
  0%, 46% { opacity: 0; transform: translate(calc(var(--u) * 243), calc(var(--u) * 74)) scale(1.03); box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) 0 rgba(0, 0, 0, .28); }
  48% { opacity: 1; transform: translate(calc(var(--u) * 243), calc(var(--u) * 74)) scale(1.03); box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) 0 rgba(0, 0, 0, .28); animation-timing-function: ease-in-out; }
  58% { opacity: 1; transform: translate(0, 0) scale(1.03); box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) 0 rgba(0, 0, 0, .28); }
  60%, 96% { opacity: 1; transform: translate(0, 0) scale(1); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
  98%, 100% { opacity: 0; transform: translate(0, 0) scale(1); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}
.ab-hol { z-index: 7; animation: ab-hol 18s linear infinite; }
@keyframes ab-hol {
  0%, 24% { opacity: 0; transform: translate(calc(var(--u) * 722), calc(var(--u) * 74)) scale(1.03); box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) 0 rgba(0, 0, 0, .28); }
  26% { opacity: 1; transform: translate(calc(var(--u) * 722), calc(var(--u) * 74)) scale(1.03); box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) 0 rgba(0, 0, 0, .28); animation-timing-function: ease-in-out; }
  36% { opacity: 1; transform: translate(0, 0) scale(1.03); box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) 0 rgba(0, 0, 0, .28); }
  38%, 96% { opacity: 1; transform: translate(0, 0) scale(1); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
  98%, 100% { opacity: 0; transform: translate(0, 0) scale(1); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

/* ---------- Nachbau: Abhängigkeits-Fenster mit Verbindungslinien ----------
   Geometrie wie in src/layout/verbindungen.ts: Die Linie verlässt den Vorgänger
   rechts in der Mitte und kommt beim Nachfolger links an. Liegt der Nachfolger
   rechts mit genug Abstand (ab 24 px), ist es ein weicher Bogen; zwischen
   NACHBAR-Sprints (Abstand 20 px) ein gestrichelter Umweg -- genau wie auf dem
   Original-Bildschirmfoto. Die Koordinaten im SVG sind echte Pixel im Fenster:
   Zeilenkopf 170, Spalte 239.5, Kopf 97, Zeile 104, Karte 44 hoch. */
.ab-hin { margin-bottom: calc(var(--u) * 8); font-size: calc(var(--u) * 12); color: var(--sb-fg2); white-space: normal; }
.ab-stapel { display: grid; margin-bottom: calc(var(--u) * 8); }
.ab-stapel > * { grid-area: 1 / 1; align-self: start; margin-bottom: 0; }
.ab-pfeile { position: absolute; left: 0; top: 2px; z-index: 4; width: calc(var(--u) * 1132); height: calc(var(--u) * 409); max-width: none; overflow: visible; pointer-events: none; }
.ab-pfeile path { stroke: var(--sb-fg2); }
.ab-pfeile polygon { fill: var(--sb-fg2); }
.ab-ziel { animation: ab-ziel 18s linear infinite; }
@keyframes ab-ziel {
  0%, 26% { box-shadow: inset 0 0 0 0 rgba(0, 120, 212, 0), inset 0 0 0 999px rgba(0, 120, 212, 0); }
  29%, 36% { box-shadow: inset 0 0 0 calc(var(--u) * 2) #0078d4, inset 0 0 0 999px rgba(0, 120, 212, .07); }
  38%, 100% { box-shadow: inset 0 0 0 0 rgba(0, 120, 212, 0), inset 0 0 0 999px rgba(0, 120, 212, 0); }
}
/* Eine Karte an der rechten Kante über zwei Sprints aufziehen (wird zum Balken) */
.ab-breit { z-index: 5; flex: none; width: calc(200% + calc(var(--u) * 20)); animation: ab-breit 18s linear infinite; }
@keyframes ab-breit { 0%, 48% { width: 100%; } 56%, 100% { width: calc(200% + calc(var(--u) * 20)); } }
.sb-zg.kante { left: auto; right: calc(var(--u) * -9); top: 28%; }

/* ---------- Nachbau: Kapazität ---------- */
.sb-cell.kp { padding: 0; gap: 0; }
.kp-karten { flex: 1; display: flex; flex-direction: column; gap: calc(var(--u) * 8); padding: calc(var(--u) * 10); min-height: calc(var(--u) * 124); }
.kp-bahnen { border-top: 1px solid var(--sb-line); }
.kp-bar { position: relative; height: calc(var(--u) * 16); margin: calc(var(--u) * 5) calc(var(--u) * 6); border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 8); background: var(--sb-card); overflow: hidden; }
.kp-bar > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--u) * 6); font-size: calc(var(--u) * 10); line-height: 1; white-space: nowrap; }
.kp-bar i { position: absolute; left: 0; top: 0; bottom: 0; opacity: .35; background: #107c10; }
.kp-bar i.y { background: #d67f00; } .kp-bar i.r { background: #c50f1f; } .kp-bar i.n { background: #8a8886; }
.kp-bar b { position: relative; font-weight: 400; }
.kp-bar em { position: relative; padding: 0 calc(var(--u) * 4); border: 1px solid rgba(128, 128, 128, .5); border-radius: calc(var(--u) * 3); font-weight: 600; }
.k0 { width: 0; } .k11 { width: 11%; } .k17 { width: 17%; } .k22 { width: 22%; } .k28 { width: 28%; } .k38 { width: 38%; } .k69 { width: 69%; }
.k71 { width: 71%; } .k75 { width: 75%; } .k80 { width: 80%; } .k83 { width: 83%; } .k89 { width: 89%; } .k94 { width: 94%; } .k95 { width: 95%; } .k100 { width: 100%; }
.sb-rh.kp { padding-bottom: 0; }
.sb-rh.kp > div { display: flex; flex-direction: column; align-self: stretch; flex: 1; }
.kp-namen { margin-top: auto; }
.kp-namen span { display: block; height: calc(var(--u) * 26); line-height: calc(var(--u) * 26); font-size: calc(var(--u) * 11); color: var(--sb-fg2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: underline dotted rgba(128, 128, 128, .6); text-underline-offset: calc(var(--u) * 2); }
.kp-namen .sum { font-weight: 600; text-decoration: none; }
.kp-zug { z-index: 5; transform: translate(calc(var(--u) * -256), calc(var(--u) * 52)); animation: kp-zug 18s linear infinite; }
@keyframes kp-zug {
  0%, 26% { transform: translate(0, 0) scale(1); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
  28% { transform: translate(0, 0) scale(1.03); box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) 0 rgba(0, 0, 0, .28); animation-timing-function: ease-in-out; }
  38% { transform: translate(calc(var(--u) * -256), calc(var(--u) * 52)) scale(1.03); box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) 0 rgba(0, 0, 0, .28); }
  40%, 100% { transform: translate(calc(var(--u) * -256), calc(var(--u) * 52)) scale(1); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

/* ---------- Nachbau: Schätzung (Planning Poker) ---------- */
.po { display: flex; align-items: flex-start; gap: calc(var(--u) * 12); font-size: calc(var(--u) * 13); white-space: normal; }
.po-box { min-width: 0; padding: calc(var(--u) * 12); border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 6); display: grid; gap: calc(var(--u) * 8); }
.po-l { flex: 1; }
.po-r { flex: 2; padding: calc(var(--u) * 14); }
.po-box > b { font-size: calc(var(--u) * 13); font-weight: 600; }
.po-r > b { font-size: calc(var(--u) * 14); }
.po-q { display: flex; align-items: center; gap: calc(var(--u) * 8); padding: calc(var(--u) * 6) 0; border-bottom: 1px solid var(--sb-line); white-space: nowrap; }
.po-q > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-decoration: underline dotted rgba(128, 128, 128, .6); text-underline-offset: calc(var(--u) * 2); }
.po-pill { padding: calc(var(--u) * 1) calc(var(--u) * 8); border-radius: calc(var(--u) * 10); background: #0078d4; color: #ffffff; font-size: calc(var(--u) * 11); }
.po-desc { padding: calc(var(--u) * 8) calc(var(--u) * 10); border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 4); font-size: calc(var(--u) * 12); color: var(--sb-fg2); }
.po-werte { display: flex; flex-wrap: wrap; gap: calc(var(--u) * 8); }
.po-w { position: relative; min-width: calc(var(--u) * 46); padding: calc(var(--u) * 10) calc(var(--u) * 8); box-sizing: border-box; border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 6); font-size: calc(var(--u) * 15); font-weight: 600; text-align: center; }
.po-w.wahl { border-color: #0078d4; background: rgba(0, 120, 212, .10); box-shadow: inset 0 0 0 1px #0078d4; animation: po-wahl 18s linear infinite; }
@keyframes po-wahl {
  0%, 28% { border-color: var(--sb-line); background: transparent; box-shadow: inset 0 0 0 0 #0078d4; }
  30%, 100% { border-color: #0078d4; background: rgba(0, 120, 212, .10); box-shadow: inset 0 0 0 1px #0078d4; }
}
.po-auf { display: flex; flex-wrap: wrap; gap: calc(var(--u) * 8); }
.po-auf span { min-width: calc(var(--u) * 64); padding: calc(var(--u) * 8) calc(var(--u) * 12); border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 6); text-align: center; }
.po-auf b { display: block; font-size: calc(var(--u) * 18); font-weight: 700; }
.po-auf small { font-size: calc(var(--u) * 11); color: var(--sb-fg2); }
.po-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: calc(var(--u) * 8); }
.po-klein { font-size: calc(var(--u) * 12); color: var(--sb-fg2); }

/* ---------- Nachbau: Konfiguration ---------- */
.cf-wrap { display: flex; align-items: flex-start; gap: calc(var(--u) * 16); white-space: normal; }
.cf { flex: 1; min-width: 0; }
.cf-sub { display: flex; align-items: flex-end; margin-bottom: calc(var(--u) * 12); border-bottom: 1px solid var(--sb-line); white-space: nowrap; }
.cf-grp { display: grid; gap: calc(var(--u) * 2); }
.cf-grp small { padding-left: calc(var(--u) * 12); font-size: calc(var(--u) * 10); text-transform: uppercase; letter-spacing: .06em; color: var(--sb-fg2); }
.cf-grp div { display: flex; }
.cf-grp span { margin-bottom: -1px; padding: calc(var(--u) * 5) calc(var(--u) * 12) calc(var(--u) * 7); border-bottom: calc(var(--u) * 2) solid transparent; font-size: calc(var(--u) * 13); }
.cf-grp span.on { font-weight: 600; border-bottom-color: #0078d4; }
.cf-strich { align-self: stretch; width: 1px; margin: 0 calc(var(--u) * 8); background: var(--sb-line); }
.cf-dlg { display: grid; grid-template-columns: calc(var(--u) * 190) 1fr; border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 4); font-size: calc(var(--u) * 13); }
.cf-nav { padding: calc(var(--u) * 8) 0; border-right: 1px solid var(--sb-line); }
.cf-nav span { display: block; padding: calc(var(--u) * 8) calc(var(--u) * 20); border-left: calc(var(--u) * 3) solid transparent; }
.cf-nav .on { background: rgba(0, 120, 212, .08); border-left-color: #0078d4; }
.cf-body { display: grid; gap: calc(var(--u) * 12); align-content: start; padding: calc(var(--u) * 20); }
.cf-eigen { display: grid; gap: calc(var(--u) * 4); padding: calc(var(--u) * 10) calc(var(--u) * 12); border-radius: calc(var(--u) * 4); background: rgba(0, 120, 212, .06); }
.cf-hin { font-size: calc(var(--u) * 12); color: var(--sb-fg2); }
.cf-teil { display: grid; gap: calc(var(--u) * 9); animation: cf-teil 18s linear infinite; }
@keyframes cf-teil { 0%, 30% { opacity: .5; } 34%, 100% { opacity: 1; } }
.cf-cb { display: flex; align-items: center; gap: calc(var(--u) * 8); position: relative; }
.cf-t { font-weight: 600; }
.cf-felder { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 7) calc(var(--u) * 16); padding: calc(var(--u) * 10) calc(var(--u) * 12); border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 3); }
.cf-bsp { flex: none; width: calc(var(--u) * 236); display: grid; gap: calc(var(--u) * 8); padding-top: calc(var(--u) * 4); }
.cf-bsp small { font-size: calc(var(--u) * 10); text-transform: uppercase; letter-spacing: .06em; color: var(--sb-fg2); }

/* ---------- Nachbau: AgileBoard, Ansicht Kanban ---------- */
.kb { display: grid; grid-template-columns: 170fr repeat(5, 204.8fr); border: 1px solid var(--sb-line); border-radius: calc(var(--u) * 4); overflow: hidden; background: var(--sb-bg); }
.kb-kopf {
  display: flex; align-items: center; justify-content: space-between; gap: calc(var(--u) * 6); height: calc(var(--u) * 52); padding: 0 calc(var(--u) * 12); box-sizing: border-box;
  border-top: calc(var(--u) * 3) solid var(--sb-line); border-bottom: 1px solid var(--sb-line); border-right: 1px solid var(--sb-line);
  background: var(--sb-head); font-size: calc(var(--u) * 13); font-weight: 600; white-space: nowrap; overflow: hidden;
}
.kb-kopf.name { font-size: calc(var(--u) * 11); font-weight: 400; color: var(--sb-fg2); }
.kb-kopf.end { border-right: 0; }
.kb-kopf.erst { border-top: 0; height: calc(var(--u) * 49); }
.kb-kopf small { font-size: calc(var(--u) * 12); font-weight: 400; color: var(--sb-fg2); }
.kb-neu { display: flex; align-items: center; height: calc(var(--u) * 28); padding: 0 calc(var(--u) * 8); border: 1px dashed var(--sb-line2); border-radius: calc(var(--u) * 4); font-size: calc(var(--u) * 12); font-weight: 600; color: var(--sb-fg2); }
.kb-mehr { display: flex; align-items: center; justify-content: center; height: calc(var(--u) * 24); border-radius: calc(var(--u) * 4); background: rgba(128, 128, 128, .10); font-size: calc(var(--u) * 12); font-weight: 600; color: var(--sb-fg2); }
/* Platz fuer die Karte, die in der Demo in diese Spalte gezogen wird: Die Zeile ist damit von Anfang an hoch genug,
   die Karte landet in der Zeile und ragt nicht ins naechste Team (Nikica, 24.11.2026). */
.kb-platz { flex: none; height: calc(var(--u) * 44); }
.kb-ziel { animation: sb-drop-kb 18s linear infinite; }
@keyframes sb-drop-kb {
  0%, 26% { box-shadow: inset 0 0 0 0 rgba(0, 120, 212, 0), inset 0 0 0 999px rgba(0, 120, 212, 0); }
  30%, 38% { box-shadow: inset 0 0 0 calc(var(--u) * 2) #0078d4, inset 0 0 0 999px rgba(0, 120, 212, .07); }
  41%, 100% { box-shadow: inset 0 0 0 0 rgba(0, 120, 212, 0), inset 0 0 0 999px rgba(0, 120, 212, 0); }
}
.kb-zug { z-index: 5; transform: translate(calc(var(--u) * 204.8), calc(var(--u) * 16)); animation: kb-zug 18s linear infinite; }
@keyframes kb-zug {
  0%, 26% { transform: translate(0, 0) scale(1); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
  28% { transform: translate(0, 0) scale(1.03); box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) 0 rgba(0, 0, 0, .28); animation-timing-function: ease-in-out; }
  38% { transform: translate(calc(var(--u) * 204.8), calc(var(--u) * 16)) scale(1.03); box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) 0 rgba(0, 0, 0, .28); }
  40%, 100% { transform: translate(calc(var(--u) * 204.8), calc(var(--u) * 16)) scale(1); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

/* Demo-Baukasten */
.d-ab11 { animation: d-ab11 18s linear infinite; }
@keyframes d-ab11 { 0%, 11% { opacity: 0; } 13%, 96% { opacity: 1; } 98%, 100% { opacity: 0; } }
.d-bis11 { opacity: 0; animation: d-bis11 18s linear infinite; }
@keyframes d-bis11 { 0% { opacity: 0; } 2%, 11% { opacity: 1; } 13%, 100% { opacity: 0; } }
.d-ab22 { animation: d-ab22 18s linear infinite; }
@keyframes d-ab22 { 0%, 22% { opacity: 0; } 24%, 96% { opacity: 1; } 98%, 100% { opacity: 0; } }
.d-bis22 { opacity: 0; animation: d-bis22 18s linear infinite; }
@keyframes d-bis22 { 0% { opacity: 0; } 2%, 22% { opacity: 1; } 24%, 100% { opacity: 0; } }
.d-ab33 { animation: d-ab33 18s linear infinite; }
@keyframes d-ab33 { 0%, 33% { opacity: 0; } 35%, 96% { opacity: 1; } 98%, 100% { opacity: 0; } }
.d-bis33 { opacity: 0; animation: d-bis33 18s linear infinite; }
@keyframes d-bis33 { 0% { opacity: 0; } 2%, 33% { opacity: 1; } 35%, 100% { opacity: 0; } }
.d-ab40 { animation: d-ab40 18s linear infinite; }
@keyframes d-ab40 { 0%, 40% { opacity: 0; } 42%, 96% { opacity: 1; } 98%, 100% { opacity: 0; } }
.d-bis40 { opacity: 0; animation: d-bis40 18s linear infinite; }
@keyframes d-bis40 { 0% { opacity: 0; } 2%, 40% { opacity: 1; } 42%, 100% { opacity: 0; } }
.d-ab44 { animation: d-ab44 18s linear infinite; }
@keyframes d-ab44 { 0%, 44% { opacity: 0; } 46%, 96% { opacity: 1; } 98%, 100% { opacity: 0; } }
.d-bis44 { opacity: 0; animation: d-bis44 18s linear infinite; }
@keyframes d-bis44 { 0% { opacity: 0; } 2%, 44% { opacity: 1; } 46%, 100% { opacity: 0; } }
.d-ab55 { animation: d-ab55 18s linear infinite; }
@keyframes d-ab55 { 0%, 55% { opacity: 0; } 57%, 96% { opacity: 1; } 98%, 100% { opacity: 0; } }
.d-bis55 { opacity: 0; animation: d-bis55 18s linear infinite; }
@keyframes d-bis55 { 0% { opacity: 0; } 2%, 55% { opacity: 1; } 57%, 100% { opacity: 0; } }
.d-ab66 { animation: d-ab66 18s linear infinite; }
@keyframes d-ab66 { 0%, 66% { opacity: 0; } 68%, 96% { opacity: 1; } 98%, 100% { opacity: 0; } }
.d-bis66 { opacity: 0; animation: d-bis66 18s linear infinite; }
@keyframes d-bis66 { 0% { opacity: 0; } 2%, 66% { opacity: 1; } 68%, 100% { opacity: 0; } }
.d-ab77 { animation: d-ab77 18s linear infinite; }
@keyframes d-ab77 { 0%, 77% { opacity: 0; } 79%, 96% { opacity: 1; } 98%, 100% { opacity: 0; } }
.d-bis77 { opacity: 0; animation: d-bis77 18s linear infinite; }
@keyframes d-bis77 { 0% { opacity: 0; } 2%, 77% { opacity: 1; } 79%, 100% { opacity: 0; } }
.d-nur2-11 { opacity: 0; animation: d-nur2-11 18s linear infinite; }
@keyframes d-nur2-11 { 0%, 2% { opacity: 0; } 4%, 11% { opacity: 1; } 13%, 100% { opacity: 0; } }
.d-nur2-20 { opacity: 0; animation: d-nur2-20 18s linear infinite; }
@keyframes d-nur2-20 { 0%, 2% { opacity: 0; } 4%, 20% { opacity: 1; } 22%, 100% { opacity: 0; } }
.d-nur11-22 { opacity: 0; animation: d-nur11-22 18s linear infinite; }
@keyframes d-nur11-22 { 0%, 11% { opacity: 0; } 13%, 22% { opacity: 1; } 24%, 100% { opacity: 0; } }
.d-nur22-44 { opacity: 0; animation: d-nur22-44 18s linear infinite; }
@keyframes d-nur22-44 { 0%, 22% { opacity: 0; } 24%, 44% { opacity: 1; } 46%, 100% { opacity: 0; } }
.d-nur22-55 { opacity: 0; animation: d-nur22-55 18s linear infinite; }
@keyframes d-nur22-55 { 0%, 22% { opacity: 0; } 24%, 55% { opacity: 1; } 57%, 100% { opacity: 0; } }
.d-nur24-33 { opacity: 0; animation: d-nur24-33 18s linear infinite; }
@keyframes d-nur24-33 { 0%, 24% { opacity: 0; } 26%, 33% { opacity: 1; } 35%, 100% { opacity: 0; } }
.d-nur24-40 { opacity: 0; animation: d-nur24-40 18s linear infinite; }
@keyframes d-nur24-40 { 0%, 24% { opacity: 0; } 26%, 40% { opacity: 1; } 42%, 100% { opacity: 0; } }
.d-nur24-44 { opacity: 0; animation: d-nur24-44 18s linear infinite; }
@keyframes d-nur24-44 { 0%, 24% { opacity: 0; } 26%, 44% { opacity: 1; } 46%, 100% { opacity: 0; } }
.d-nur28-40 { opacity: 0; animation: d-nur28-40 18s linear infinite; }
@keyframes d-nur28-40 { 0%, 28% { opacity: 0; } 30%, 40% { opacity: 1; } 42%, 100% { opacity: 0; } }
.d-nur33-55 { opacity: 0; animation: d-nur33-55 18s linear infinite; }
@keyframes d-nur33-55 { 0%, 33% { opacity: 0; } 35%, 55% { opacity: 1; } 57%, 100% { opacity: 0; } }
.d-nur40-66 { opacity: 0; animation: d-nur40-66 18s linear infinite; }
@keyframes d-nur40-66 { 0%, 40% { opacity: 0; } 42%, 66% { opacity: 1; } 68%, 100% { opacity: 0; } }
.d-nur40-77 { opacity: 0; animation: d-nur40-77 18s linear infinite; }
@keyframes d-nur40-77 { 0%, 40% { opacity: 0; } 42%, 77% { opacity: 1; } 79%, 100% { opacity: 0; } }
.d-nur55-77 { opacity: 0; animation: d-nur55-77 18s linear infinite; }
@keyframes d-nur55-77 { 0%, 55% { opacity: 0; } 57%, 77% { opacity: 1; } 79%, 100% { opacity: 0; } }
.d-nur44-55 { opacity: 0; animation: d-nur44-55 18s linear infinite; }
@keyframes d-nur44-55 { 0%, 44% { opacity: 0; } 46%, 55% { opacity: 1; } 57%, 100% { opacity: 0; } }
.d-nur46-55 { opacity: 0; animation: d-nur46-55 18s linear infinite; }
@keyframes d-nur46-55 { 0%, 46% { opacity: 0; } 48%, 55% { opacity: 1; } 57%, 100% { opacity: 0; } }
.d-nur55-66 { opacity: 0; animation: d-nur55-66 18s linear infinite; }
@keyframes d-nur55-66 { 0%, 55% { opacity: 0; } 57%, 66% { opacity: 1; } 68%, 100% { opacity: 0; } }
.d-nur57-66 { opacity: 0; animation: d-nur57-66 18s linear infinite; }
@keyframes d-nur57-66 { 0%, 57% { opacity: 0; } 59%, 66% { opacity: 1; } 68%, 100% { opacity: 0; } }
.d-nur66-77 { opacity: 0; animation: d-nur66-77 18s linear infinite; }
@keyframes d-nur66-77 { 0%, 66% { opacity: 0; } 68%, 77% { opacity: 1; } 79%, 100% { opacity: 0; } }
.d-puls46 { animation: d-puls46 18s linear infinite; }
@keyframes d-puls46 { 0%, 46% { box-shadow: 0 0 0 0 rgba(0, 120, 212, 0); } 50% { box-shadow: 0 0 0 calc(var(--u) * 5) rgba(0, 120, 212, .35); } 55% { box-shadow: 0 0 0 0 rgba(0, 120, 212, 0); } 59% { box-shadow: 0 0 0 calc(var(--u) * 5) rgba(0, 120, 212, .35); } 64%, 100% { box-shadow: 0 0 0 0 rgba(0, 120, 212, 0); } }
.d-puls68 { animation: d-puls68 18s linear infinite; }
@keyframes d-puls68 { 0%, 68% { box-shadow: 0 0 0 0 rgba(0, 120, 212, 0); } 74% { box-shadow: 0 0 0 calc(var(--u) * 5) rgba(0, 120, 212, .35); } 81% { box-shadow: 0 0 0 0 rgba(0, 120, 212, 0); } 87% { box-shadow: 0 0 0 calc(var(--u) * 5) rgba(0, 120, 212, .35); } 94%, 100% { box-shadow: 0 0 0 0 rgba(0, 120, 212, 0); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
