:root {
  /* —— Base Palette —— */
  --hel-bg: #020408;
  --hel-bg-raised: #0a0e17;
  --hel-bg-panel: rgba(10, 14, 23, 0.94);
  --hel-bg-panel-hover: rgba(18, 24, 38, 0.96);

  /* —— Neon Accent Colors —— */
  --hel-yellow: #ffd700;
  --hel-amber: #ffaa00;
  --hel-orange: #ff6b00;
  --hel-red: #ff2a6d;
  --hel-cyan: #00f0ff;
  --hel-green: #00ff9f;
  --hel-pink: #ff00ff;

  /* —— Text —— */
  --hel-text: #ffffff;
  --hel-text-muted: #8899aa;
  --hel-text-dim: rgba(136, 153, 170, 0.6);

  /* —— Borders & Lines —— */
  --hel-border: rgba(0, 240, 255, 0.15);
  --hel-border-strong: rgba(0, 240, 255, 0.35);
  --hel-border-yellow: rgba(255, 215, 0, 0.25);
  --hel-border-red: rgba(255, 42, 109, 0.3);
  --hel-divider: rgba(0, 240, 255, 0.08);

  /* —— Neon Glows —— */
  --hel-glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 40px rgba(0, 240, 255, 0.1);
  --hel-glow-yellow: 0 0 20px rgba(255, 215, 0, 0.3), 0 0 40px rgba(255, 215, 0, 0.1);
  --hel-glow-red: 0 0 20px rgba(255, 42, 109, 0.3), 0 0 40px rgba(255, 42, 109, 0.1);
  --hel-glow-green: 0 0 20px rgba(0, 255, 159, 0.3), 0 0 40px rgba(0, 255, 159, 0.1);

  /* —— Spacing —— */
  --hel-space-xs: 4px;
  --hel-space-sm: 8px;
  --hel-space-md: 16px;
  --hel-space-lg: 24px;
  --hel-space-xl: 32px;

  /* —— Radius —— */
  --hel-radius-sm: 6px;
  --hel-radius-md: 10px;
  --hel-radius-lg: 14px;
  --hel-radius-pill: 999px;

  /* —— Shadows —— */
  --hel-shadow-panel: inset 0 0 0 1px rgba(0, 240, 255, 0.05), 0 0 30px rgba(0, 240, 255, 0.06);
  --hel-shadow-elevated: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* —— Background —— */
.hel-bg {
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 42, 109, 0.08), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 240, 255, 0.08), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(255, 215, 0, 0.06), transparent 50%),
    linear-gradient(180deg, #020408 0%, #050810 50%, #020408 100%);
  color: var(--hel-text);
  position: relative;
}

/* Scanlines overlay */
.hel-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(0, 240, 255, 0.03) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(to right, rgba(0, 240, 255, 0.01) 0 1px, transparent 1px 8px);
  z-index: 9999;
  opacity: 0.4;
}

/* —— Panels —— */
.hel-panel {
  background: var(--hel-bg-panel);
  border: 1px solid var(--hel-border);
  border-radius: var(--hel-radius-lg);
  box-shadow: var(--hel-shadow-panel);
  padding: var(--hel-space-lg);
  position: relative;
  overflow: hidden;
}

.hel-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hel-cyan), transparent);
  opacity: 0.5;
}

.hel-panel--flat {
  background: var(--hel-bg-panel);
  border: 1px solid var(--hel-border);
  border-radius: var(--hel-radius-md);
  padding: var(--hel-space-md);
}

/* —— Buttons —— */
.hel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: var(--hel-radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  position: relative;
  overflow: hidden;
}

.hel-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.hel-btn:hover::before {
  transform: translateX(100%);
}

.hel-btn--primary {
  color: #000;
  background: linear-gradient(135deg, var(--hel-cyan), #00a8b5);
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: var(--hel-glow-cyan);
}

.hel-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.hel-btn--secondary {
  color: var(--hel-cyan);
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--hel-border);
  box-shadow: var(--hel-glow-cyan);
}

.hel-btn--secondary:hover {
  background: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.hel-btn--ghost {
  color: var(--hel-text-muted);
  background: transparent;
  border-color: var(--hel-divider);
}

.hel-btn--ghost:hover {
  color: var(--hel-cyan);
  border-color: var(--hel-border-strong);
  box-shadow: var(--hel-glow-cyan);
}

/* Legacy button aliases for backward compatibility */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: var(--hel-radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  color: #000;
  background: linear-gradient(135deg, var(--hel-cyan), #00a8b5);
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: var(--hel-glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: var(--hel-radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  color: var(--hel-cyan);
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--hel-border);
  box-shadow: var(--hel-glow-cyan);
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

/* —— Status Chips (Neon Pills) —— */
.hel-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--hel-radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid transparent;
  text-shadow: 0 0 8px currentColor;
}

.hel-chip--red {
  color: var(--hel-red);
  background: rgba(255, 42, 109, 0.12);
  border-color: rgba(255, 42, 109, 0.3);
  box-shadow: 0 0 12px rgba(255, 42, 109, 0.15);
}

.hel-chip--amber {
  color: var(--hel-amber);
  background: rgba(255, 170, 0, 0.12);
  border-color: rgba(255, 170, 0, 0.3);
  box-shadow: 0 0 12px rgba(255, 170, 0, 0.15);
}

.hel-chip--green {
  color: var(--hel-green);
  background: rgba(0, 255, 159, 0.12);
  border-color: rgba(0, 255, 159, 0.3);
  box-shadow: 0 0 12px rgba(0, 255, 159, 0.15);
}

.hel-chip--cyan {
  color: var(--hel-cyan);
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}

/* —— Tables —— */
.hel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.hel-table th {
  text-align: left;
  padding: 12px;
  color: var(--hel-cyan);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hel-border);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

.hel-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--hel-divider);
  color: var(--hel-text);
  vertical-align: top;
}

.hel-table tbody tr {
  background: var(--hel-bg-panel);
  transition: all 0.15s ease;
}

.hel-table tbody tr:hover {
  background: var(--hel-bg-panel-hover);
  box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.hel-table tbody tr[data-status="offen"] {
  border-left: 3px solid var(--hel-red);
  box-shadow: inset 4px 0 0 var(--hel-red), inset 0 0 20px rgba(255, 42, 109, 0.05);
}

.hel-table tbody tr[data-status="in_bearbeitung"] {
  border-left: 3px solid var(--hel-amber);
  box-shadow: inset 4px 0 0 var(--hel-amber), inset 0 0 20px rgba(255, 170, 0, 0.05);
}

.hel-table tbody tr[data-status="geschlossen"],
.hel-table tbody tr[data-status="geschlossen_kunde"] {
  border-left: 3px solid var(--hel-green);
  box-shadow: inset 4px 0 0 var(--hel-green), inset 0 0 20px rgba(0, 255, 159, 0.05);
}

/* —— Navigation (HUD Style) —— */
.hel-nav {
  display: flex;
  align-items: center;
  gap: var(--hel-space-sm);
  padding: 12px 24px;
  background: rgba(2, 4, 8, 0.95);
  border-bottom: 1px solid var(--hel-border);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
}

.hel-nav::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hel-cyan), transparent);
}

.hel-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--hel-radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--hel-text-muted);
  text-decoration: none;
  transition: all 0.18s ease;
  position: relative;
}

.hel-nav__link:hover {
  color: var(--hel-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.hel-nav__link--active {
  color: var(--hel-cyan);
  background: rgba(0, 240, 255, 0.08);
  box-shadow: var(--hel-glow-cyan);
}

/* —— Form Elements —— */
.hel-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--hel-radius-sm);
  border: 1px solid var(--hel-border);
  background: rgba(2, 4, 8, 0.8);
  color: var(--hel-text);
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.hel-input:focus {
  outline: none;
  border-color: var(--hel-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2), inset 0 0 10px rgba(0, 240, 255, 0.05);
}

/* —— Utility —— */
.hel-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hel-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

.hel-grid-2 {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: stretch;
}

.hel-grid-3 {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.hel-grid-4 {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.hel-flex-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hel-justify-center {
  justify-content: center;
}

.hel-text-center {
  text-align: center;
}

.hel-mb-sm { margin-bottom: var(--hel-space-sm); }
.hel-mb-md { margin-bottom: var(--hel-space-md); }
.hel-mb-lg { margin-bottom: var(--hel-space-lg); }
.hel-mt-sm { margin-top: var(--hel-space-sm); }
.hel-mt-md { margin-top: var(--hel-space-md); }

/* Eyebrow label */
.hel-eyebrow {
  color: var(--hel-cyan);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 240, 255, .55);
}

/* Hero title */
.hel-hero-title {
  font-family: 'Orbitron', sans-serif;
  color: var(--hel-yellow);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  text-shadow: 0 0 8px rgba(255, 212, 59, .85), 0 0 22px rgba(255, 123, 0, .35);
  margin: 14px 0 0;
}

/* Section title */
.hel-section-title {
  font-family: 'Orbitron', sans-serif;
  color: var(--hel-text);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin: 14px 0;
}

/* Body text */
.hel-text {
  color: var(--hel-text-muted);
  margin: 0;
  line-height: 1.65;
}

.hel-text-note {
  color: #d4dde8;
  margin-top: 14px;
}

/* Card / Panel */
.hel-card {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(21, 25, 37, .96), rgba(11, 14, 22, .88));
  border-radius: var(--hel-radius-md);
  overflow: hidden;
}

/* Kicker */
.hel-kicker {
  color: var(--hel-cyan);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Card title */
.hel-card-title {
  font-family: 'Orbitron', sans-serif;
  color: var(--hel-text);
  font-size: 1.1rem;
  margin: 8px 0;
}

/* List */
.hel-list {
  color: var(--hel-text-muted);
  line-height: 1.8;
  margin: 0;
  padding-left: 20px;
}

/* Footer */
.hel-footer {
  text-align: center;
  padding: 24px;
  color: var(--hel-text-muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--hel-border);
}

.hel-footer a {
  color: var(--hel-text-muted);
  text-decoration: none;
}

/* Legacy button aliases for backward compatibility */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: var(--hel-radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  color: #000;
  background: linear-gradient(135deg, var(--hel-cyan), #00a8b5);
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: var(--hel-glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: var(--hel-radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  color: var(--hel-cyan);
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--hel-border);
  box-shadow: var(--hel-glow-cyan);
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}
