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

:root {
  /* Gradient Background wie in der Hauptseite */
  --gradient-main: linear-gradient(135deg, #0e6c9e 30%, #5931fa 70%, #8537eb 100%);

  /* Neon-Farben */
  --neon-lime: #d3fb03;
  --neon-purple: #6e03fb;
  --neon-cyan: #25ffff;
  --neon-pink: #e552ff;

  /* Legacy-Variablen für Kompatibilität */
  --cyan: #25ffff;
  --cyan-glow: rgba(211, 251, 3, 0.2);
  --lime: #d3fb03;

  /* Backgrounds */
  --bg-primary: rgba(12, 5, 28, 0.85);
  --bg-secondary: rgba(255, 255, 255, 0.08);
  --bg-tertiary: rgba(255, 255, 255, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-hover: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.1);

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.6);

  /* Border Radius */
  --border-radius: 28px;

  /* Transition */
  --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--gradient-main);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(211, 251, 3, 0.1), transparent),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(110, 3, 251, 0.08), transparent);
}

p {
  color: var(--text-secondary);
  margin: 1.2rem 0;
  font-size: 16px;
  line-height: 1.3rem;
}

code {
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
}

.badge.cyan {
  background: var(--neon-lime);
  color: #2A125E;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  float: right;
  box-shadow: 0 0 20px rgba(211, 251, 3, 0.3);
}

.dashboard {
  display: flex;
  min-height: 100vh;
}

section {
  padding: 1.5rem;
}

.container { padding: 30px 0; }

.sidebar {
  width: 280px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(25px);
  border-right: 1px solid var(--glass-border);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.sidebar-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--neon-lime);
  text-decoration: none;
  text-transform: uppercase;
  transition: var(--transition);
}

.logo:hover {
  text-shadow: 0 0 20px var(--neon-lime);
}

.logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

.sidebar-nav-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  padding-left: 0.75rem;
}

.sidebar-nav-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.sidebar-nav-item {
  margin-bottom: 0.25rem;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid transparent;
}

.sidebar-nav-link:hover {
  background: var(--glass-bg);
  color: var(--neon-lime);
  border-color: rgba(211, 251, 3, 0.2);
  box-shadow: 0 0 15px rgba(211, 251, 3, 0.1);
}

.sidebar-nav-link.locked {
  opacity: 0.4;
  cursor: not-allowed;
}

.sidebar-nav-link.locked:hover {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
  box-shadow: none;
}

.sidebar-nav-link .icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.9rem;
}

.sidebar-nav-link .icon.unlocked {
  background: var(--cyan-glow);
}

.sidebar-nav-link .icon.locked {
  background: var(--glass-bg);
}

.dashboard-header {
  position: fixed;
  top: 0; left: 280px; right: 0;
  height: 64px;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 99;
}

.dashboard-header-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.user-status {
  background: var(--neon-lime);
  color: #2A125E;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(211, 251, 3, 0.3);
}

.copy-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.2s;
  text-transform: uppercase;
  float: right;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--neon-lime);
  border: 2px solid var(--neon-lime);
  border-radius: 50px;
  color: #2A125E;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  float: right;
  padding: 1rem 2.5rem;
  transition: var(--transition);
  box-shadow: 0 12px 35px rgba(211, 251, 3, 0.25);
}

.btn-primary::after {
  content: " →";
  margin-left: 8px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background: transparent;
  color: var(--neon-lime);
  box-shadow: 0 0 50px rgba(211, 251, 3, 0.5);
  transform: translateY(-5px);
}

.btn-primary:hover::after {
  transform: translateX(4px);
}

.dashboard-main {
  flex: 1;
  margin-left: 280px;
  padding: calc(64px + 2rem) 2rem 2rem;
}

.welcome-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

h2, h3, h4 {
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: 1rem;
}

.session-header {
  max-width: 900px;
  align-items: center;
  gap: 1rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  margin: 20px 0;
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(211, 251, 3, 0.2);
  transform: translateY(-3px);
}

/* Kein Hover-Effekt für Glasboxen mit Buttons */
.glass-card:has(.btn-primary):hover {
  background: var(--glass-bg);
  transform: none;
}

.glass-card.secondary {
  padding: 2rem;
  border-left: 0px;
}

.glass-card.highlighted {
  padding: 2rem;
  border: 2px solid var(--neon-lime);
  background:
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(211, 251, 3, 0.08), transparent),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(110, 3, 251, 0.05), transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(211, 251, 3, 0.2);
}

/* Tipp-Box mit Neon-Lime Hintergrund */
.glass-card.tip-box {
  padding: 2rem;
  background: var(--neon-lime);
  border: 2px solid var(--neon-lime);
  color: #2A125E;
  box-shadow: 0 12px 35px rgba(211, 251, 3, 0.3);
}

.glass-card.tip-box h4 {
  color: #2A125E;
  font-weight: 900;
}

.glass-card.tip-box p {
  color: #2A125E;
  font-weight: 600;
}

.glass-card.tip-box .icon {
  background-color: white;
}

/* Nächster Schritt Box - einfacher gestaltet */
.glass-card.next-step {
  padding: 2rem;
  border-left: 4px solid var(--neon-lime);
  background: rgba(211, 251, 3, 0.05);
}

.session-info-box {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--neon-lime);
}

.label2 {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--neon-lime);
  margin-bottom: 0.75rem;
}

.session-info-box div {
  flex: 1;
}

.sidebar-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-right h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.sidebar-right p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.objective-list li  {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.3rem;
}

.quick-links-card {
  padding: 1.25rem;
}

.quick-links-card h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.quick-links-list {
  list-style: none;
}

.quick-links-list a, .btn-asset, .btn-link  {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.4rem 0;
  transition: color 0.2s;
}

.btn-asset::before { content: '📄'; }
.btn-asset::after { content: '↗'; }
.btn-link::before { content: '🔗'; }

.quick-links-list a:hover {
  color: var(--neon-lime);
  padding-left: 5px;
}

.prompt-box {
  border: 2px dashed var(--neon-cyan);
  border-radius: var(--border-radius);
  padding: 2rem;
  position: relative;
  background: rgba(37, 255, 255, 0.05);
}

.mobile-sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 56px;
  height: 56px;
  background: var(--neon-lime);
  border: 2px solid var(--neon-lime);
  border-radius: 50%;
  color: #2A125E;
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
  z-index: 200;
  box-shadow: 0 12px 35px rgba(211, 251, 3, 0.4);
  transition: var(--transition);
}

.mobile-sidebar-toggle:hover {
  background: transparent;
  color: var(--neon-lime);
  box-shadow: 0 0 50px rgba(211, 251, 3, 0.5);
}

@media (max-width: 1024px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .sidebar-right { flex-direction: row; }
  .sidebar-right>* { flex: 1; }
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.3s; }
  .sidebar.open { transform: translateX(0); }
  .dashboard-header { left: 0; }
  .dashboard-main { margin-left: 0; }
  .mobile-sidebar-toggle { display: flex; align-items: center; justify-content: center; }
  .sidebar-right { flex-direction: column; }
}