/* hero-anim.css — Hero-Produktanimation digitale-vergabe.de
 *
 * Skalierung: Die Bühne ist fest 1600x900 (.ha-stage), absolut positioniert in der
 * oberen linken Ecke des Containers (#heroAnim). Der Container hat overflow:hidden und
 * aspect-ratio 16/9. Das JS misst die Containerbreite per ResizeObserver und setzt
 * transform: scale(containerBreite/1600) auf .ha-stage (transform-origin top left).
 * So bleiben ALLE Koordinaten im 1600x900-Raum absolut und pixelgenau; nur ein einziger
 * transform skaliert das Ganze. Das ist der robusteste Weg (keine doppelte Skalierung,
 * Kamera-Transform sitzt separat auf .ha-cam innerhalb der Bühne).
 *
 * Reine Vanilla-CSS, keine Frameworks. CSP-konform (keine inline styles nötig außer den
 * per JS gesetzten transform/opacity-Werten auf Elementen — das ist style-Attribut-Manipulation
 * über das DOM, kein <style>-Inline-Block und kein inline <script>).
 */

:root {
  --acc: #7c3aed;
  --tint: #efe9ff;
  --ink: #1f2330;
  --mute: #6b7280;
  --line: #e5e7ec;
  --app: #f4f5f8;
  --paper: #ffffff;
  --coral: #e8836b;
  --green: #16a34a;
  --green-bg: #dcfce7;
  --teal: #14b8a6;
  --blau: #1d4ed8;
  --blau-bg: #eff6ff;
  --rot: #dc2626;
  --rot-bg: #fee2e2;
  --gelb: #9a6b00;
  --gelb-bg: #fff6e0;
  --r-fenster: 14px;
  --r-karte: 12px;
  --r-chip: 99px;
  --r-btn: 8px;
}

#heroAnim {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #fcfcfc;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ha-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 1600px;
  height: 900px;
  transform-origin: top left;
  /* Hintergrund: Punktraster */
  background-color: #fcfcfc;
}

.ha-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#e5e7ec 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.7;
  pointer-events: none;
}

/* ---------- Headline links ---------- */
.ha-headline {
  position: absolute;
  left: 80px;
  top: 100px;
  width: 520px;
  will-change: transform, opacity;
}
.ha-headline .ha-logo {
  height: 40px;
  display: block;
  margin-bottom: 26px;
}
.ha-h1 {
  font-size: 46px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 0 0 18px 0;
  color: var(--ink);
}
.ha-sub {
  font-size: 19px;
  line-height: 1.45;
  color: var(--mute);
  margin: 0;
  font-weight: 400;
}

/* ---------- Untertitel-Karte links unten ---------- */
.ha-caption-wrap {
  position: absolute;
  left: 80px;
  bottom: 48px;
  width: 520px;
  height: 92px;
  z-index: 6;   /* ueber dem App-Fenster (.ha-cam), sonst wird die Unterschrift verdeckt */
}
.ha-caption {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--r-karte);
  padding: 12px 16px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--ink);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  will-change: opacity;
}

/* ---------- Kamera-Ebene ---------- */
.ha-cam {
  position: absolute;
  inset: 0;
  will-change: transform;
}

/* ---------- App-Fenster ---------- */
.ha-app {
  position: absolute;
  left: 660px;
  top: 110px;
  width: 900px;
  height: 680px;
  background: var(--app);
  border: 1px solid var(--line);
  border-radius: var(--r-fenster);
  box-shadow: 0 12px 32px rgba(20, 30, 50, 0.10);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  will-change: transform, opacity;
}

/* ---------- Sidebar ---------- */
.ha-side {
  background: var(--paper);
  border-right: 1px solid var(--line);
  height: 100%;
  flex: 0 0 auto;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
}
.ha-side-inner {
  width: 236px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.ha-side-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ha-side-top img {
  height: 30px;
}
.ha-side-icons {
  display: flex;
  gap: 8px;
}
.ha-ic {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mute);
}
.ha-newbtn {
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.ha-divider {
  height: 1px;
  background: var(--line);
  margin: 4px 0 10px 0;
}
.ha-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ha-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 8px;
  border-radius: 8px;
}
.ha-nav-item.aktiv {
  background: var(--tint);
}
.ha-nav-ico {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mute);
}
.ha-nav-item.aktiv .ha-nav-ico {
  color: var(--acc);
}
.ha-nav-txt {
  flex: 1 1 auto;
  min-width: 0;
}
.ha-nav-t {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ha-nav-s {
  font-size: 10px;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ha-nav-right {
  font-size: 11px;
  color: var(--mute);
  flex: 0 0 auto;
}
.ha-badge-rot {
  background: var(--rot-bg);
  color: #b91c1c;
  font-size: 10px;
  font-weight: 700;
  border-radius: 99px;
  padding: 1px 7px;
  flex: 0 0 auto;
}
.ha-vline {
  height: 2px;
  background: rgba(124, 58, 237, 0.7);
  margin: 10px 2px;
  border-radius: 2px;
}
.ha-side-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}
.ha-sb-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 2px;
  border-top: 1px solid var(--line);
}
.ha-sb-item .ha-sb-chev {
  color: var(--mute);
}
.ha-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.ha-footer img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.ha-footer-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ha-footer-badge {
  background: var(--tint);
  color: var(--acc);
  font-size: 8px;
  font-weight: 700;
  border-radius: 99px;
  padding: 2px 6px;
  letter-spacing: 0.3px;
  flex: 0 0 auto;
}

/* ---------- Hauptbereich ---------- */
.ha-main {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 28px;
  overflow: hidden;
}
.ha-main-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 6px;
  flex: 0 0 auto;
}
.ha-crumb {
  font-size: 12px;
  color: var(--mute);
}
.ha-pill {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 11px;
  color: var(--ink);
  padding: 5px 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.ha-pill .ha-star {
  color: var(--acc);
}
.ha-title-block {
  height: 56px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ha-ptitle {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ha-tag {
  font-size: 10px;
  color: var(--acc);
  border: 1px solid var(--acc);
  border-radius: 99px;
  padding: 2px 8px;
  font-weight: 600;
  white-space: nowrap;
}
.ha-psub {
  font-size: 12px;
  color: var(--mute);
  margin-top: 3px;
}

/* ---------- Panels-Bühne ---------- */
.ha-panels {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}
.ha-panel {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
}

/* generische Karte */
.ha-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-karte);
  box-sizing: border-box;
}

/* ---------- Szene 1 Vorhaben ---------- */
.ha-greet {
  text-align: center;
  margin-bottom: 10px;
}
.ha-greet-h {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  color: var(--ink);
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--coral);
}
.ha-greet-t {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
  text-align: center;
  max-width: 560px;
  margin: 10px auto 14px;
}
.ha-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}
.ha-chip {
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 11px;
  color: var(--ink);
  padding: 7px 13px;
  background: var(--paper);
  white-space: nowrap;
  will-change: transform;
}
.ha-chip.gedrueckt {
  background: var(--tint);
  border-color: var(--acc);
}
.ha-inputbox {
  border: 2px solid var(--acc);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.ha-inputfield {
  height: 38px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--ink);
}
.ha-inputfield.leer {
  color: var(--mute);
}
.ha-cursor {
  color: var(--acc);
  font-weight: 600;
}
.ha-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.ha-tb-circ {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mute);
  font-size: 11px;
  flex: 0 0 auto;
}
.ha-tb-pill {
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 11px;
  color: var(--ink);
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.ha-tb-pill.netz {
  color: var(--blau);
  background: var(--blau-bg);
  border-color: #bfdbfe;
}
.ha-send {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--coral);
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 0 0 auto;
  will-change: transform, background-color;
}
.ha-hint {
  font-size: 10px;
  color: var(--mute);
  margin-top: 8px;
}
.ha-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.ha-tile {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: var(--paper);
}
.ha-tile-ic {
  width: 28px;
  height: 28px;
  background: #eceef2;
  border-radius: 6px;
  flex: 0 0 auto;
}
.ha-tile-lbl {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Szene 2 Markterkundung ---------- */
.ha-steps {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.ha-step {
  display: flex;
  align-items: center;
  gap: 8px;
  will-change: transform, opacity;
}
.ha-step-circ {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tint);
  border: 2px solid var(--acc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--acc);
  flex: 0 0 auto;
}
.ha-step-lbl {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.ha-step-conn {
  height: 2px;
  background: var(--acc);
  flex: 1 1 auto;
  margin: 0 8px;
  min-width: 14px;
}
.ha-mk-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
.ha-mk-head .nm {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.ha-mono {
  font-family: "Geist", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.ha-chip-blau {
  background: var(--blau-bg);
  color: var(--blau);
  border: 1px solid #bfdbfe;
  font-size: 10px;
  font-weight: 600;
  border-radius: 99px;
  padding: 3px 8px;
  white-space: nowrap;
}
.ha-mk-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 14px;
  will-change: transform, opacity;
}
.ha-mk-logo {
  width: 66px;
  height: 22px;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}
.ha-mk-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ha-status-chip {
  width: 130px;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  border-radius: 99px;
  padding: 3px 0;
  flex: 0 0 auto;
}
.ha-status-grau {
  background: #f3f4f6;
  color: var(--mute);
}
.ha-status-gruen {
  background: var(--green-bg);
  color: var(--green);
}
.ha-mk-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
}
.ha-bar {
  height: 6px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
  flex: 0 0 auto;
}
.ha-bar-fill {
  height: 100%;
  background: var(--acc);
  border-radius: 99px;
}
.ha-foot-txt {
  font-size: 12px;
  color: var(--mute);
}
.ha-btn-acc {
  margin-left: auto;
  background: var(--acc);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r-btn);
  padding: 8px 14px;
  white-space: nowrap;
  will-change: transform, opacity;
}
.ha-btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r-btn);
  padding: 8px 14px;
}

/* ---------- Szene 3 Entwurf ---------- */
.ha-doc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}
.ha-doc-row:last-child { border-bottom: none; }
.ha-doc-nr {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  flex: 0 0 auto;
}
.ha-doc-ph {
  height: 8px;
  background: #e8eaef;
  border-radius: 4px;
  flex: 1 1 auto;
  max-width: 120px;
}
.ha-doc-tag {
  font-size: 10px;
  border-radius: 99px;
  padding: 2px 8px;
  white-space: nowrap;
  flex: 0 0 auto;
  background: #f3f4f6;
  color: var(--mute);
}
.ha-doc-tag.gelb {
  background: var(--gelb-bg);
  color: var(--gelb);
}
.ha-lv-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 8px;
}
.ha-lv-head .t {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.ha-lv-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 30px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}
.ha-lv-row:last-child { border-bottom: none; }
.ha-lv-nr {
  font-family: "Geist", ui-monospace, monospace;
  font-size: 12px;
  color: var(--mute);
  width: 26px;
  flex: 0 0 auto;
}
.ha-lv-name {
  font-size: 12px;
  color: var(--ink);
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ha-lv-box {
  width: 70px;
  height: 8px;
  background: #e8eaef;
  border-radius: 4px;
  flex: 0 0 auto;
}
.ha-lv-menge {
  font-size: 11px;
  color: var(--mute);
  width: 70px;
  text-align: right;
  flex: 0 0 auto;
}

/* ---------- Szene 4 Check ---------- */
.ha-score-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
}
.ha-ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ha-ring-inner {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.ha-ring-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}
.ha-ring-max {
  font-size: 9px;
  color: var(--mute);
  margin-top: 1px;
}
.ha-score-r {
  flex: 1 1 auto;
}
.ha-chip-acc {
  background: var(--tint);
  color: var(--acc);
  font-size: 10px;
  font-weight: 600;
  border-radius: 99px;
  padding: 3px 9px;
  display: inline-block;
  margin-bottom: 6px;
}
.ha-score-h {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 4px 0;
}
.ha-score-t {
  font-size: 12px;
  color: var(--mute);
  line-height: 1.45;
}
.ha-finding {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  height: 40px;
  padding: 0 12px;
  margin-top: 10px;
  will-change: transform, opacity;
}
.ha-find-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.ha-find-badge {
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  border-radius: 4px;
  padding: 2px 6px;
  flex: 0 0 auto;
  letter-spacing: 0.3px;
}
.ha-find-txt {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ha-find-link {
  font-size: 11px;
  color: var(--acc);
  font-weight: 600;
  flex: 0 0 auto;
}

/* ---------- Szene 5 Bekanntmachung ---------- */
.ha-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ha-bk-card {
  padding: 14px;
}
.ha-bk-h {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.ha-bk-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  height: 28px;
  will-change: transform, opacity;
}
.ha-bk-lbl {
  font-size: 11px;
  color: var(--mute);
  width: 86px;
  flex: 0 0 auto;
}
.ha-bk-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ha-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  margin-bottom: 8px;
  will-change: transform, opacity;
}
.ha-check-circ {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex: 0 0 auto;
}
.ha-check-txt {
  font-size: 12px;
  color: var(--ink);
}
.ha-bk-btn {
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r-btn);
  padding: 9px 14px;
  text-align: center;
  margin-top: 6px;
  will-change: transform, opacity;
}

/* ---------- Szene 6 Bieterfragen ---------- */
.ha-bf-card {
  padding: 13px 14px;
  will-change: transform, opacity;
}
.ha-bf-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}
.ha-bf-meta .m {
  font-size: 11px;
  color: var(--mute);
}
.ha-bf-q {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.ha-bob-card {
  background: var(--tint);
  border: 1px solid var(--acc);
  border-radius: var(--r-karte);
  padding: 13px 14px;
  margin-top: 12px;
  will-change: transform, opacity;
}
.ha-bob-head {
  font-size: 12px;
  font-weight: 600;
  color: var(--acc);
  margin-bottom: 7px;
}
.ha-bob-txt {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink);
  min-height: 54px;
}
.ha-bob-btns {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  align-items: center;
}
.ha-bob-free {
  background: var(--acc);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r-btn);
  padding: 7px 14px;
  will-change: transform;
}
.ha-bob-free.frei {
  background: var(--green);
}
.ha-bf-note {
  font-size: 11px;
  color: var(--mute);
  margin-top: 10px;
}

/* ---------- Szene 7 Angebotsvergleich ---------- */
.ha-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ha-ag-card {
  padding: 14px;
  will-change: transform, opacity;
}
.ha-ag-logo {
  width: 110px;
  height: 30px;
  object-fit: contain;
  object-position: left center;
  display: block;
  margin-bottom: 10px;
}
.ha-ag-lbl {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--mute);
  font-weight: 600;
}
.ha-ag-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 3px 0 10px;
}
.ha-ag-small {
  font-size: 11px;
  color: var(--mute);
}
.ha-ag-pct {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 2px 0 6px;
}
.ha-ag-bar {
  height: 7px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 12px;
}
.ha-ag-bar-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 99px;
}
.ha-ag-cost {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}
.ha-fazit {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 14px;
  will-change: transform, opacity;
}

/* ---------- Szene 8 Akte ---------- */
.ha-ak-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  will-change: transform, opacity;
}
.ha-ak-row:last-child { border-bottom: none; }
.ha-ak-mark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}
.ha-ak-done {
  background: var(--green);
  color: #fff;
}
.ha-ak-next {
  border: 2px solid var(--acc);
  background: transparent;
}
.ha-ak-open {
  border: 2px solid #c7cad3;
  background: transparent;
}
.ha-ak-name {
  font-size: 13px;
  color: var(--ink);
  flex: 1 1 auto;
}
.ha-ak-name.next {
  font-weight: 600;
}
.ha-ak-name.open {
  color: var(--mute);
}
.ha-ak-stat {
  font-size: 11px;
  color: var(--mute);
  flex: 0 0 auto;
}
.ha-ak-stat.next { color: var(--acc); font-weight: 600; }
.ha-ak-btn {
  background: var(--acc);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--r-btn);
  padding: 10px 16px;
  text-align: center;
  margin-top: 14px;
  will-change: transform, opacity;
}

/* ---------- Reduced motion / Standbild ---------- */
@media (prefers-reduced-motion: reduce) {
  /* JS startet rAF nicht; Standbild wird einmalig gerendert */
}

/* --- Einbau in den Startseiten-Hero (31.10.2026) --- */
.nur-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-anim-sektion { width: 100%; max-width: var(--breite, 1200px); margin: 10px auto 0; padding: 0 clamp(16px, 4vw, 40px); box-sizing: border-box; }
.hero-anim-huelle { border-radius: 20px; overflow: hidden; border: 1px solid var(--grau-2, #e8e8f0); box-shadow: 0 20px 50px -24px rgba(30,28,70,.3); background: #fcfcfc; }
.hero-anim-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 20px 2px 0; }
@media (max-width: 620px) { .hero-anim-sektion { padding: 0 14px; } .hero-anim-cta { gap: 12px; } }
