/* ============================================
   Professional Mode
   Aktiviert durch die html.professional Klasse.
   Laedt nach lcars.css und style.css – gleichwertige
   Selektoren hier gewinnen durch spaetere Position.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS Custom Properties fuer Professional Mode
   ============================================ */
html.professional {
  --pro-bg:           #F8FAFC;
  --pro-surface:      #FFFFFF;
  --pro-sidebar:      #0F172A;
  --pro-sidebar-hr:   rgba(255, 255, 255, 0.08);
  --pro-text:         #0F172A;
  --pro-text-body:    #334155;
  --pro-text-muted:   #64748B;
  --pro-text-subtle:  #94A3B8;
  --pro-accent:       #2563EB;
  --pro-accent-dark:  #1D4ED8;
  --pro-border:       #E2E8F0;
  --pro-tag-bg:       #EFF6FF;
  --pro-tag-color:    #2563EB;
  --pro-tag-border:   #BFDBFE;
  --pro-font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ============================================
   BASE RESET
   ============================================ */
html.professional body {
  font-family: var(--pro-font);
  background: var(--pro-bg);
  color: var(--pro-text-body);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}

/* ============================================
   LAYOUT CONTAINER
   ============================================ */
html.professional .lcars-container {
  --lcars-gap: 0px;
  background: var(--pro-bg);
}

/* ============================================
   SIDEBAR
   ============================================ */
html.professional .lcars-sidebar {
  background: var(--pro-sidebar);
  gap: 0;
}

/* Sidebar-Top: zeigt Name und Rolle statt LCARS-ID */
html.professional .lcars-sidebar-top {
  background: var(--pro-sidebar);
  border-radius: 0;
  height: auto;
  min-height: 90px;
  display: block;
  padding: 22px 16px 18px;
  border-bottom: 1px solid var(--pro-sidebar-hr);
  font-size: 0;       /* versteckt "01-4774" */
  color: transparent;
  animation: none;
}

html.professional .lcars-sidebar-top::before {
  content: 'Daniel Ertl';
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #F1F5F9;
  letter-spacing: -0.15px;
  text-transform: none;
  margin-bottom: 3px;
  animation: none;
  font-style: normal;
  font-family: var(--pro-font);
}

html.professional .lcars-sidebar-top::after {
  content: 'Software-Entwickler';
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #64748B;
  letter-spacing: 0;
  text-transform: none;
  animation: none;
  font-family: var(--pro-font);
}

/* Nav-Links */
html.professional .lcars-sidebar-block {
  background: transparent !important;
  border-radius: 0;
  min-height: auto;
  padding: 10px 16px 10px 13px;
  color: #CBD5E1;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border-left: 3px solid transparent;
  align-items: center;
  justify-content: flex-start;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  filter: none !important;
}

html.professional .lcars-sidebar-block:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-left-color: var(--pro-accent) !important;
  filter: none !important;
}

html.professional .lcars-sidebar-block.active {
  color: #FFFFFF !important;
  border-left-color: var(--pro-accent) !important;
  background: rgba(37, 99, 235, 0.15) !important;
}

/* Klingon/Benzite/Android Pseudo-Labels ausblenden */
html.professional .lcars-sidebar-block::before {
  display: none !important;
  content: none !important;
  animation: none !important;
}

/* Sidebar Spacer */
html.professional .lcars-sidebar-spacer {
  background: var(--pro-sidebar);
  min-height: 20px;
}

html.professional .lcars-sidebar-spacer::before,
html.professional .lcars-sidebar-spacer::after {
  display: none !important;
  content: none !important;
  animation: none !important;
}

/* Sidebar-Bottom: zeigt Kontakt statt Stardate */
html.professional .lcars-sidebar-bottom {
  background: var(--pro-sidebar);
  border-radius: 0;
  height: auto;
  min-height: auto;
  padding: 16px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  border-top: 1px solid var(--pro-sidebar-hr);
  font-size: 0;       /* versteckt "41153.7" */
  color: transparent;
  animation: none;
}

html.professional .lcars-sidebar-bottom::before {
  content: 'Kontakt';
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 5px;
  animation: none;
  font-family: var(--pro-font);
  font-style: normal;
}

html.professional .lcars-sidebar-bottom::after {
  content: 'dertl@web.de';
  display: block;
  font-size: 12px;
  color: #64748B;
  text-transform: none;
  letter-spacing: 0;
  animation: none;
  font-family: var(--pro-font);
}

/* ============================================
   HEADER
   ============================================ */
html.professional .lcars-header {
  background: var(--pro-surface);
  border-bottom: 1px solid var(--pro-border);
  gap: 0;
  align-items: center;
  padding: 0 24px;
  height: 60px;
}

html.professional .lcars-header-elbow,
html.professional .lcars-header-cap {
  display: none;
}

html.professional .lcars-header-bar {
  padding: 0;
  align-items: center;
}

html.professional .lcars-bar-segment {
  display: none;
}

html.professional .lcars-title {
  display: none;
}

/* ============================================
   MAIN & CONTENT
   ============================================ */
html.professional .lcars-main {
  background: var(--pro-bg);
}

html.professional .lcars-content {
  background: var(--pro-surface);
  border: none;
  border-radius: 0;
  padding: 40px 48px;
  color: var(--pro-text-body);
  overflow-y: auto;
  box-shadow: none;
  animation: none;
}

/* ============================================
   FOOTER
   ============================================ */
html.professional .lcars-footer {
  background: var(--pro-surface);
  border-top: 1px solid var(--pro-border);
  gap: 0;
  align-items: center;
}

html.professional .lcars-footer-elbow,
html.professional .lcars-footer-cap {
  display: none;
}

html.professional .lcars-footer-bar {
  padding: 0 24px;
  align-items: center;
  flex: 1;
}

/* ============================================
   CONTENT TYPOGRAPHY
   ============================================ */

html.professional .lcars-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pro-text);
  letter-spacing: -0.5px;
  text-transform: none;
  margin-bottom: 6px;
  line-height: 1.2;
  font-family: var(--pro-font);
}

html.professional .lcars-content h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1E293B;
  letter-spacing: -0.1px;
  text-transform: none;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--pro-border);
  font-family: var(--pro-font);
}

/* Professioneller Heading-Override via data-pro Attribut */
html.professional .lcars-content h2[data-pro] {
  color: transparent;
  font-size: 0;
  border: none;
  margin: 0;
  padding: 0;
}

html.professional .lcars-content h2[data-pro]::before {
  content: attr(data-pro);
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1E293B;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--pro-border);
  line-height: 1.4;
  text-transform: none;
  letter-spacing: -0.1px;
  font-family: var(--pro-font);
}

html.professional .lcars-content h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1E293B;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 4px;
  font-family: var(--pro-font);
}

html.professional .lcars-content p {
  color: var(--pro-text-body);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--pro-font);
}

html.professional .lcars-subtitle {
  color: var(--pro-accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 24px;
  display: block;
  font-family: var(--pro-font);
}

html.professional .lcars-content a {
  color: var(--pro-accent);
  text-decoration: none;
  border-bottom: none;
  font-family: var(--pro-font);
}

html.professional .lcars-content a:hover {
  color: var(--pro-accent-dark);
  text-decoration: underline;
}

/* ============================================
   DATA GRID / CARDS
   ============================================ */
html.professional .lcars-data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

html.professional .lcars-data-card {
  background: #F8FAFC;
  border: 1px solid var(--pro-border);
  border-radius: 10px;
  padding: 16px;
  box-shadow: none;
  border-left: none;
  outline: none;
  cursor: default;
  transition: box-shadow 0.2s;
}

html.professional .lcars-data-card::before,
html.professional .lcars-data-card::after {
  display: none !important;
  content: none !important;
}

html.professional #warp-core-status:hover,
html.professional #shields-status:hover,
html.professional #life-support-status:hover,
html.professional #crew-status:hover {
  transform: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

html.professional .lcars-data-card h3 {
  font-size: 10px;
  font-weight: 600;
  color: var(--pro-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  font-family: var(--pro-font);
}

html.professional .lcars-data-card .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pro-text);
  text-transform: none;
  letter-spacing: -0.5px;
  font-family: var(--pro-font);
}

/* Status-Dot: kein Puls, schieres Gruen */
html.professional .lcars-status-dot {
  width: 8px;
  height: 8px;
  background: #22C55E !important;
  box-shadow: none !important;
  border-radius: 50% !important;
  animation: none !important;
  border: none;
}

/* ============================================
   TIMELINE (Berufserfahrung)
   ============================================ */
html.professional .lcars-timeline {
  position: relative;
  padding-left: 28px;
  margin: 20px 0;
}

html.professional .lcars-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: var(--pro-border);
}

html.professional .lcars-timeline-entry {
  position: relative;
  padding-bottom: 28px;
  border: none;
  background: none;
  box-shadow: none;
  margin: 0;
}

html.professional .lcars-timeline-entry::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pro-accent);
  border: 2px solid var(--pro-surface);
  box-shadow: 0 0 0 2px var(--pro-border);
}

html.professional .lcars-timeline-date {
  font-size: 11px;
  font-weight: 600;
  color: var(--pro-accent);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 3px;
  font-family: var(--pro-font);
  background: none;
  border: none;
  padding: 0;
}

html.professional .lcars-timeline-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--pro-text);
  margin-bottom: 4px;
}

html.professional .lcars-timeline-content p {
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ============================================
   SKILL BARS
   ============================================ */
html.professional .lcars-skill-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

html.professional .lcars-skill-bar-item {
  display: grid;
  grid-template-columns: 120px 1fr 70px;
  gap: 12px;
  align-items: center;
  border: none;
  background: none;
  box-shadow: none;
  padding: 0;
}

html.professional .lcars-skill-bar-item.disabled {
  opacity: 0.35;
}

html.professional .lcars-skill-bar-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--pro-text);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--pro-font);
}

html.professional .lcars-skill-bar-track {
  background: #F1F5F9;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}

html.professional .lcars-skill-bar-fill {
  background: var(--pro-accent) !important;
  height: 100%;
  border-radius: 3px;
}

html.professional .lcars-skill-bar-years {
  font-size: 11px;
  color: var(--pro-text-muted);
  text-align: right;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  font-family: var(--pro-font);
}

/* ============================================
   SKILLS GRID
   ============================================ */
html.professional .lcars-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

html.professional .lcars-skill-category {
  background: none;
  border: none;
  padding: 0;
}

html.professional .lcars-skill-category h3 {
  font-size: 10px;
  font-weight: 600;
  color: var(--pro-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

/* ::before margin-bottom entfernen – .lcars-skill-tags hat margin-top:12px als Abstand */
html.professional .lcars-skill-category h3[data-pro]::before {
  margin-bottom: 0;
}

/* ============================================
   TAGS
   ============================================ */
html.professional .lcars-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

html.professional .lcars-tag {
  background: var(--pro-tag-bg);
  color: var(--pro-tag-color);
  border: 1px solid var(--pro-tag-border);
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--pro-font);
}

html.professional .lcars-tag.orange,
html.professional .lcars-tag.violet,
html.professional .lcars-tag.lavender,
html.professional .lcars-tag.blue,
html.professional .lcars-tag.sky,
html.professional .lcars-tag.tan,
html.professional .lcars-tag.peach {
  background: var(--pro-tag-bg);
  color: var(--pro-tag-color);
  border-color: var(--pro-tag-border);
}

/* ============================================
   PROJECTS GRID
   ============================================ */
html.professional .lcars-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

html.professional .lcars-project-card {
  background: var(--pro-surface);
  border: 1px solid var(--pro-border);
  border-left: 3px solid var(--pro-accent);
  border-radius: 0 8px 8px 0;
  overflow: hidden;
  box-shadow: none;
  transition: box-shadow 0.2s;
}

html.professional .lcars-project-card:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
  transform: none;
}

html.professional .lcars-project-header {
  padding: 12px 14px 0;
  border-bottom: none;
  display: flex;
  align-items: center;
  background: transparent !important;
}

html.professional .lcars-project-header.orange,
html.professional .lcars-project-header.violet,
html.professional .lcars-project-header.lavender,
html.professional .lcars-project-header.blue,
html.professional .lcars-project-header.sky,
html.professional .lcars-project-header.tan,
html.professional .lcars-project-header.peach {
  background: transparent !important;
}

/* Blaue Abstufungen pro Sprache */
html.professional .lcars-project-card:has(.lcars-project-header.orange)  { border-left-color: #1E3A8A; }
html.professional .lcars-project-card:has(.lcars-project-header.violet)  { border-left-color: #1D4ED8; }
html.professional .lcars-project-card:has(.lcars-project-header.lavender){ border-left-color: #2563EB; }
html.professional .lcars-project-card:has(.lcars-project-header.blue)    { border-left-color: #3B82F6; }
html.professional .lcars-project-card:has(.lcars-project-header.sky)     { border-left-color: #60A5FA; }
html.professional .lcars-project-card:has(.lcars-project-header.tan)     { border-left-color: #93C5FD; }
html.professional .lcars-project-card:has(.lcars-project-header.peach)   { border-left-color: #818CF8; }

html.professional .lcars-project-lang {
  font-size: 10px;
  font-weight: 600;
  color: var(--pro-accent);
  background: var(--pro-tag-bg);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--pro-font);
}

html.professional .lcars-project-body {
  padding: 8px 14px 14px;
  border: none !important;
}

html.professional .lcars-project-body h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--pro-text);
  margin-bottom: 5px;
}

html.professional .lcars-project-body p {
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 10px;
}

/* ============================================
   BUTTONS
   ============================================ */
html.professional .lcars-button {
  background: var(--pro-accent);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s;
  font-family: var(--pro-font);
  filter: none;
}

html.professional .lcars-button:hover {
  background: var(--pro-accent-dark);
  filter: none;
  text-decoration: none;
  color: white;
}

html.professional .lcars-button:active {
  transform: none;
}

html.professional .lcars-button.orange,
html.professional .lcars-button.violet,
html.professional .lcars-button.lavender,
html.professional .lcars-button.blue,
html.professional .lcars-button.sky,
html.professional .lcars-button.tan,
html.professional .lcars-button.peach {
  background: var(--pro-accent);
  color: white;
}

html.professional .lcars-button.outline {
  background: transparent;
  border: 1.5px solid var(--pro-accent);
  color: var(--pro-accent);
}

html.professional .lcars-button.outline.orange {
  border-color: var(--pro-accent);
  color: var(--pro-accent);
}

html.professional .lcars-button.outline:hover {
  background: var(--pro-tag-bg);
  color: var(--pro-accent-dark);
  filter: none;
}

html.professional .lcars-button-group {
  margin: 20px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================
   ROLE CARDS
   ============================================ */
html.professional .lcars-role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

html.professional .lcars-role-card {
  background: #F8FAFC;
  border: 1px solid var(--pro-border);
  border-radius: 10px;
  padding: 16px;
  border-top: 3px solid var(--pro-accent) !important;
  text-transform: none;
  color: inherit;
}

html.professional .lcars-role-card.orange,
html.professional .lcars-role-card.violet,
html.professional .lcars-role-card.lavender,
html.professional .lcars-role-card.blue {
  background: #F8FAFC;
  color: inherit;
  border-top-color: var(--pro-accent) !important;
}

html.professional .lcars-role-card h3 {
  font-size: 14px;
  color: var(--pro-text);
  margin-bottom: 6px;
  font-family: var(--pro-font);
}

html.professional .lcars-role-card p {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ============================================
   INDUSTRY LIST
   ============================================ */
html.professional .lcars-industry-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

html.professional .lcars-industry-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #F8FAFC;
  border: 1px solid var(--pro-border);
  border-radius: 8px;
  border-left: none;
}

html.professional .lcars-industry-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pro-accent) !important;
  flex-shrink: 0;
}

html.professional .lcars-industry-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--pro-text);
  flex: 1;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--pro-font);
}

html.professional .lcars-industry-detail {
  font-size: 12px;
  color: var(--pro-text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--pro-font);
}

/* ============================================
   TECH SUMMARY
   ============================================ */
html.professional .lcars-tech-summary {
  margin: 16px 0;
}

html.professional .lcars-tech-item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================
   SICHTBARKEIT: LCARS-spezifische Abschnitte
   ============================================ */

/* Star-Trek System-Status (index.html) ausblenden */
html.professional .system-status-section,
html.professional .lcars-mobile-only,
html.professional #mobile-toast-container {
  display: none !important;
}

/* Status-Karte (Aktiv-Dot zu verspielt) ausblenden */
html.professional .lcars-status-card {
  display: none !important;
}

/* Inaktive/veraltete Skills ausblenden */
html.professional .lcars-skill-bar-item.disabled {
  display: none;
}

/* Technologie-Übersicht (redundant, steht auf Karten) ausblenden */
html.professional .lcars-tech-summary {
  display: none;
}

/* Technologie-Überschrift (kein Inhalt im Pro-Modus) ausblenden */
html.professional .lcars-tech-heading {
  display: none !important;
}

/* h3[data-pro] – Kategorie-Überschriften austauschen */
html.professional .lcars-content h3[data-pro] {
  color: transparent;
  font-size: 0;
  margin: 0;
  padding: 0;
}

html.professional .lcars-content h3[data-pro]::before {
  content: attr(data-pro);
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--pro-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  font-family: var(--pro-font);
  font-style: normal;
}

/* h1[data-pro] – Seiten-Haupttitel austauschen */
html.professional .lcars-content h1[data-pro] {
  color: transparent;
  font-size: 0;
  margin: 0;
  padding: 0;
}

html.professional .lcars-content h1[data-pro]::before {
  content: attr(data-pro);
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--pro-text);
  letter-spacing: -0.5px;
  text-transform: none;
  margin-bottom: 6px;
  line-height: 1.2;
  font-family: var(--pro-font);
}


/* Modales Warp-Shutdown-Overlay ausblenden */
html.professional .warp-shutdown-overlay {
  display: none !important;
}

/* ============================================
   CONTENT SWITCHING: LCARS vs Professional
   ============================================ */

/* Im LCARS-Modus: Pro-Inhalt versteckt */
.pro-only-content {
  display: none;
}

/* Im Pro-Modus: Pro-Inhalt sichtbar, LCARS-Inhalt weg */
html.professional .pro-only-content {
  display: block;
}

html.professional .lcars-only-content {
  display: none;
}

/* ============================================
   PRO HERO (Startseite)
   ============================================ */
.pro-hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--pro-accent);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
  font-family: var(--pro-font);
  display: block;
}

.pro-hero-name {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--pro-text);
  letter-spacing: -0.75px;
  line-height: 1.1;
  margin-bottom: 6px;
  font-family: var(--pro-font);
}

.pro-hero-role {
  font-size: 1rem;
  font-weight: 500;
  color: var(--pro-text-muted);
  margin-bottom: 20px;
  letter-spacing: 0;
  font-family: var(--pro-font);
}

.pro-hero-intro {
  font-size: 14px;
  line-height: 1.75;
  color: var(--pro-text-body);
  max-width: 580px;
  margin-bottom: 28px;
  font-family: var(--pro-font);
}

.pro-quick-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--pro-border);
  border-bottom: 1px solid var(--pro-border);
}

.pro-stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--pro-text);
  letter-spacing: -0.5px;
  line-height: 1;
  font-family: var(--pro-font);
}

.pro-stat-label {
  display: block;
  font-size: 11px;
  color: var(--pro-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
  margin-top: 4px;
  font-family: var(--pro-font);
}

.pro-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.pro-btn-primary {
  background: var(--pro-accent);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s;
  font-family: var(--pro-font);
  letter-spacing: 0;
}

.pro-btn-primary:hover {
  background: var(--pro-accent-dark);
  text-decoration: none;
  color: white;
}

.pro-btn-secondary {
  background: #F1F5F9;
  color: #334155;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s;
  font-family: var(--pro-font);
  letter-spacing: 0;
  border: 1px solid var(--pro-border);
}

.pro-btn-secondary:hover {
  background: #E2E8F0;
  color: #1E293B;
  text-decoration: none;
}

/* ============================================
   SCROLLBAR
   ============================================ */
html.professional .lcars-content::-webkit-scrollbar {
  width: 5px;
}

html.professional .lcars-content::-webkit-scrollbar-track {
  background: transparent;
  border: none;
  border-radius: 0;
}

html.professional .lcars-content::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 3px;
}

html.professional .lcars-content::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* ============================================
   TOGGLE BUTTON
   Immer sichtbar, passt sich dem Modus an.
   ============================================ */
#theme-toggle {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 9999;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  /* LCARS-Stil: subtil-orange auf dunklem Hintergrund */
  background: rgba(255, 153, 0, 0.1);
  color: rgba(255, 153, 0, 0.85);
  border: 1px solid rgba(255, 153, 0, 0.3);
  font-family: 'Antonio', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#theme-toggle:hover {
  background: rgba(255, 153, 0, 0.2);
  border-color: rgba(255, 153, 0, 0.5);
}

html.professional #theme-toggle {
  font-family: var(--pro-font);
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
  font-weight: 500;
  background: var(--pro-surface);
  color: var(--pro-text-muted);
  border: 1px solid var(--pro-border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

html.professional #theme-toggle:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: var(--pro-text);
}

/* ============================================
   SMOOTH TRANSITION beim Umschalten
   ============================================ */
.lcars-sidebar,
.lcars-header,
.lcars-content,
.lcars-footer,
.lcars-sidebar-top,
.lcars-sidebar-bottom,
.lcars-sidebar-block {
  transition: background 0.25s ease, color 0.25s ease,
              border-color 0.25s ease, box-shadow 0.25s ease;
}

/* ============================================
   RESPONSIVE – Tablet
   ============================================ */
@media (max-width: 900px) {
  html.professional .lcars-content {
    padding: 28px 24px;
  }
}

/* ============================================
   RESPONSIVE – Mobile
   ============================================ */
@media (max-width: 600px) {
  html.professional .lcars-sidebar-top {
    min-height: 72px;
    padding: 14px 12px 12px;
  }

  html.professional .lcars-sidebar-block {
    padding: 8px 12px;
    font-size: 12px;
  }

  html.professional .lcars-content {
    padding: 20px 16px;
  }

  html.professional .lcars-data-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  html.professional .pro-hero-name {
    font-size: 1.75rem;
  }

  html.professional .pro-quick-stats {
    gap: 20px;
  }

  html.professional .lcars-skill-bar-item {
    grid-template-columns: 90px 1fr 58px;
    gap: 10px;
  }

  html.professional .lcars-projects-grid {
    grid-template-columns: 1fr;
  }
}
