/* ══════════════════════════════
   LEONI SIEMENS CAPITAL - S06
══════════════════════════════ */
#sec-leoni { background-color: #000; }

#leoni-prog { position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 9000; }
#leoni-prog-fill { height: 100%; width: 0; background: #009FE3; transition: width 0.5s; }
#leoni-restart-btn {
  position: absolute; top: 10px; right: 12px; z-index: 9001;
  font-size: 11px; padding: 5px 12px; background: rgba(255,255,255,0.1);
  cursor: pointer; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.5);
  font-family: 'Segoe UI', Arial, sans-serif; transition: all 0.2s;
}
#leoni-restart-btn:hover { color: #fff; }
#leoni-blackout { position: absolute; inset: 0; z-index: 8990; background: #000; opacity: 0; pointer-events: none; transition: opacity 0.5s; }
#leoni-blackout.show { opacity: 1; }

#leoni-cursor { position: absolute; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity 0.3s; filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5)); }
#leoni-cursor svg { width: 20px; height: 20px; }
#leoni-cursor.click-anim svg { animation: cc 0.18s ease-out; }

/* Desktop ID — Hintergrund kommt von .win-desktop */
#leoni-desktop { z-index: 10; }

/* Taskbar */
#leoni-taskbar { }
#leoni-win-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; transition: background 0.15s; cursor: pointer;
}
#leoni-win-btn:hover { background: rgba(255,255,255,0.1); }
#leoni-win-btn svg { width: 16px; height: 16px; }

/* Capital loading */
#leoni-cap-loading {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: #0d0d1e; border: 1px solid #009FE3;
  padding: 20px 32px; display: none; flex-direction: column;
  align-items: center; gap: 10px; min-width: 320px;
  box-shadow: 0 0 40px rgba(0,159,227,0.2);
  font-family: 'Segoe UI', Arial, sans-serif;
}
.cap-load-logo { font-size: 20px; font-weight: 900; color: #009FE3; letter-spacing: 0.05em; }
.cap-load-sub { font-size: 11px; color: #555; }
.cap-load-bar { width: 100%; height: 3px; background: #1a1a2e; }
#leoni-cap-load-fill { height: 100%; background: #009FE3; width: 0; transition: width 0.1s; }

/* SIEMENS CAPITAL */
#leoni-capital {
  position: absolute; inset: 0; z-index: 10;
  display: none; flex-direction: column;
  background: #0d0d1e; color: #ccc;
  font-family: Arial, sans-serif;
}

#leoni-cap-title {
  background: linear-gradient(90deg, #0077b6, #009FE3);
  height: 26px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 10px; flex-shrink: 0;
}
.cap-title-txt { color: #fff; font-size: 11px; font-weight: bold; font-family: 'Segoe UI', Arial, sans-serif; }
.cap-wbtns { display: flex; }
.cap-wb { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: rgba(255,255,255,0.8); cursor: default; }
.cap-wb.x:hover { background: #e81123; color: #fff; }

#leoni-cap-toolbar {
  background: #12122a; border-bottom: 1px solid #1e1e3a;
  padding: 3px 8px; display: flex; gap: 4px; align-items: center; flex-shrink: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
}
.cap-btn { padding: 2px 10px; background: transparent; border: 1px solid #2a2a4a; font-size: 11px; color: #666; cursor: default; border-radius: 2px; }
.cap-btn.active { border-color: #009FE3; color: #009FE3; background: rgba(0,159,227,0.08); }
.cap-sep { width: 1px; height: 16px; background: #2a2a4a; margin: 0 2px; }
#leoni-vuah-trigger { background: rgba(0,159,227,0.12); border-color: #009FE3; color: #009FE3; font-weight: bold; }

#leoni-cap-main { flex: 1; display: flex; overflow: hidden; min-height: 0; position: relative; }
#leoni-bordnetz-wrap { flex: 1; position: relative; overflow: hidden; background: #0a0a1a; }
#leoni-bordnetz-svg { width: 100%; height: 100%; }

#leoni-vuah-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(10,10,30,0.96); border-top: 1px solid #009FE3;
  padding: 8px 16px; display: flex; align-items: center; gap: 16px;
  transform: translateY(100%); transition: transform 0.5s;
  font-family: 'Segoe UI', Arial, sans-serif;
  z-index: 50;
}
#leoni-vuah-bar.show { transform: translateY(0); }
.vuah-lbl { font-size: 11px; color: #009FE3; font-weight: bold; white-space: nowrap; }
.vuah-prog-wrap { flex: 1; }
.vuah-prog-track { height: 5px; background: #1a1a2e; border-radius: 3px; overflow: hidden; }
.vuah-prog-inner { height: 100%; background: linear-gradient(90deg, #009FE3, #00c8ff); width: 0; transition: width 0.2s; border-radius: 3px; }
.vuah-prog-txt { font-size: 10px; color: #555; margin-top: 3px; font-family: 'Consolas', monospace; }
.vuah-pct { font-size: 14px; font-weight: bold; color: #009FE3; white-space: nowrap; font-family: 'Segoe UI', Arial, sans-serif; }

#leoni-cap-status {
  background: #009FE3; padding: 2px 10px; font-size: 11px; color: #fff;
  display: flex; justify-content: space-between; flex-shrink: 0;
  height: 20px; align-items: center; font-family: 'Segoe UI', Arial, sans-serif;
}

#leoni-intro-overlay { position: absolute; inset: 0; z-index: 150; pointer-events: none; display: flex; align-items: center; justify-content: center; }
#leoni-intro-dim { position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background 0.6s; }
#leoni-intro-dim.on { background: rgba(0,5,15,0.85); }

#leoni-cards-overlay { position: absolute; inset: 0; z-index: 200; pointer-events: none; display: flex; align-items: center; justify-content: center; }
#leoni-cards-dim { position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background 1s; }
#leoni-cards-dim.on { background: rgba(0,5,15,0.91); }

.seq-card { position: absolute; z-index: 1; width: clamp(340px, 52vw, 580px); border-radius: 6px; padding: 36px 40px; opacity: 0; transform: translateY(12px); transition: opacity 0.7s, transform 0.7s; font-family: 'Segoe UI', Arial, sans-serif; text-align: center; }