  :root {
    --neon-green: #39ff14;
    --neon-cyan: #00f0ff;
    --neon-magenta: #ff00e5;
    --neon-yellow: #ffe600;
    --neon-purple: #b026ff;
    --bg-dark: #0a0512;
    --bg-mid: #120a22;
    --bg-panel: #1a1030;
    --pixel-border: 4px;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    image-rendering: pixelated;
  }

  html { scroll-behavior: smooth; }

  body {
    min-height: 100vh;
    background: var(--bg-dark);
    background-image:
      linear-gradient(rgba(57, 255, 20, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px),
      radial-gradient(ellipse at top, #1a0b30 0%, #0a0512 60%);
    background-size: 40px 40px, 40px 40px, 100% 100%;
    color: #d8f5e0;
    font-family: 'VT323', monospace;
    font-size: 1.35rem;
   overflow-x: hidden;
  overflow-x: clip; /* bevorzugt – bricht sticky nicht, Fallback bleibt für alte Browser */
    position: relative;
  }

  /* Scanlines Overlay */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.15) 0px,
      rgba(0, 0, 0, 0.15) 1px,
      transparent 1px,
      transparent 3px
    );
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: multiply;
  }

  /* ===== Layout ===== */
  .app-layout {
    display: flex;
    min-height: 100vh;
  }

  /* ===== SIDEBAR ===== */
  .sidebar {
    width: 270px;
    flex-shrink: 0;
    background: var(--bg-panel);
    background-image:
      linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 0, 229, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    border-right: 4px solid var(--neon-cyan);
    box-shadow: 4px 0 0 rgba(0, 240, 255, 0.35), 0 0 30px rgba(0, 240, 255, 0.4);
    display: flex;
    flex-direction: column;
    padding: 22px 14px;
    position: sticky;
    top: 0;
    height: 100vh;
    transition: width 0.25s steps(4), padding 0.25s steps(4);
    z-index: 60;
  }

  .sidebar.collapsed {
    width: 88px;
    padding: 22px 10px;
  }

  /* Brand */
  .sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 6px 18px;
    border-bottom: 4px solid var(--neon-magenta);
    margin-bottom: 20px;
    box-shadow: 0 4px 0 -1px rgba(255, 0, 229, 0.4);
  }

  .xbox-logo {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--neon-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Press Start 2P', monospace;
    font-size: 18px;
    color: #0a0512;
    box-shadow:
      4px 4px 0 0 var(--neon-magenta),
      0 0 20px var(--neon-green),
      inset -3px -3px 0 rgba(0,0,0,0.3);
    clip-path: polygon(0 12%, 12% 0, 88% 0, 100% 12%, 100% 88%, 88% 100%, 12% 100%, 0 88%);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
  }

  .brand-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.2s;
  }

  .brand-text .title {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.72rem;
    line-height: 1.6;
    color: var(--neon-green);
    text-shadow: 0 0 8px var(--neon-green), 2px 2px 0 rgba(0,0,0,0.6);
    letter-spacing: 0.5px;
  }

  .brand-text .sub {
    font-family: 'VT323', monospace;
    font-size: 0.95rem;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    margin-top: 4px;
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.7);
  }

  .sidebar.collapsed .brand-text {
    opacity: 0;
    width: 0;
    pointer-events: none;
  }

  /* Nav Menu */
  .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 12px;
    color: var(--neon-cyan);
    font-family: 'VT323', monospace;
    font-size: 1.15rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    background: rgba(0, 240, 255, 0.03);
    border: 2px solid transparent;
    position: relative;
    transition: all 0.12s steps(2);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  }

  .nav-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: currentColor;
    filter: drop-shadow(0 0 4px currentColor);
  }

  .nav-item .label {
    transition: opacity 0.15s;
    text-transform: uppercase;
  }

  .sidebar.collapsed .nav-item .label {
    opacity: 0;
    width: 0;
  }

  .nav-item:hover {
    background: rgba(0, 240, 255, 0.12);
    border-color: var(--neon-cyan);
    color: #fff;
    text-shadow: 0 0 8px var(--neon-cyan);
  }

  .nav-item.active {
    background: rgba(57, 255, 20, 0.15);
    color: var(--neon-green);
    border-color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.5), inset 0 0 10px rgba(57, 255, 20, 0.2);
  }

  .nav-item.active svg {
    fill: var(--neon-green);
    filter: drop-shadow(0 0 6px var(--neon-green));
  }

  .nav-item.active::before {
    content: '►';
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--neon-green);
    animation: blink 1s steps(2) infinite;
  }

  @keyframes blink {
    50% { opacity: 0.2; }
  }

  /* Divider */
  .nav-divider {
    height: 4px;
    background: repeating-linear-gradient(
      90deg,
      var(--neon-magenta) 0,
      var(--neon-magenta) 6px,
      transparent 6px,
      transparent 12px
    );
    margin: 14px 4px;
    opacity: 0.6;
  }

  /* Toggle */
  .sidebar-footer {
    padding-top: 14px;
    border-top: 4px solid var(--neon-magenta);
    margin-top: 10px;
  }

  .toggle-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 0, 229, 0.1);
    border: 2px solid var(--neon-magenta);
    color: var(--neon-magenta);
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.12s steps(2);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    box-shadow: 0 0 10px rgba(255, 0, 229, 0.3);
  }

  .toggle-btn:hover {
    background: var(--neon-magenta);
    color: #0a0512;
    box-shadow: 0 0 20px var(--neon-magenta);
  }

  .toggle-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.25s steps(3);
  }

  .sidebar.collapsed .toggle-btn svg {
    transform: rotate(180deg);
  }

  .sidebar.collapsed .toggle-btn .label {
    display: none;
  }

  /* ===== MAIN ===== */
  .main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  header.topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 40px;
    background: rgba(18, 10, 34, 0.9);
    backdrop-filter: blur(4px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 4px solid var(--neon-green);
    box-shadow: 0 4px 0 -1px rgba(57, 255, 20, 0.4), 0 0 25px rgba(57, 255, 20, 0.25);
  }

  header.topbar h2 {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--neon-green);
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--neon-green), 2px 2px 0 #ff00e5;
  }

  .topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  header.topbar .subtitle {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    color: var(--neon-cyan);
    letter-spacing: 3px;
    text-shadow: 0 0 8px var(--neon-cyan);
  }

  /* ============================================================
     MP3 PLAYER (Topbar rechts)
     ============================================================ */
  .mp3-player {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(0, 240, 255, 0.06);
    border: 2px solid var(--neon-cyan);
    box-shadow:
      0 0 12px rgba(0, 240, 255, 0.30),
      inset 0 0 10px rgba(0, 240, 255, 0.05);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    flex-shrink: 0;
  }

  .mp3-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.12s steps(2);
    clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 4px 100%, 0 calc(100% - 4px));
  }
  .mp3-btn:hover {
    background: rgba(0, 240, 255, 0.15);
    box-shadow: 0 0 10px var(--neon-cyan);
    color: #fff;
  }
  .mp3-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    filter: drop-shadow(0 0 4px currentColor);
  }

  .mp3-play {
    border-color: var(--neon-green);
    color: var(--neon-green);
  }
  .mp3-play:hover {
    background: rgba(57, 255, 20, 0.15);
    box-shadow: 0 0 12px var(--neon-green);
    color: #fff;
  }
  .mp3-play .icon-pause { display: none; }
  .mp3-play.playing .icon-play { display: none; }
  .mp3-play.playing .icon-pause { display: block; }

  .mp3-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 150px;
    max-width: 220px;
  }
  .mp3-title {
    font-family: 'VT323', monospace;
    font-size: 0.95rem;
    color: var(--neon-cyan);
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.6);
    line-height: 1;
  }
  .mp3-progress {
    height: 5px;
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.30);
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .mp3-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
    transition: width 0.1s linear;
    pointer-events: none;
  }

  /* Light-Mode Overrides */
  body.light-mode .mp3-player {
    background: rgba(0, 0, 0, 0.04);
    border-color: #111;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08), inset 0 0 8px rgba(0,0,0,0.03);
  }
  body.light-mode .mp3-btn {
    border-color: #5c5c5c;
    color: #111;
  }
  body.light-mode .mp3-btn:hover {
    background: rgba(0, 0, 0, 0.10);
    color: #000;
    box-shadow: 0 0 8px rgba(0,0,0,0.25);
  }
  body.light-mode .mp3-play {
    border-color: #111;
    color: #111;
  }
  body.light-mode .mp3-play:hover {
    background: rgba(0,0,0,0.10);
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
  }
  body.light-mode .mp3-title {
    color: #111;
    text-shadow: none;
  }
  body.light-mode .mp3-progress {
    background: rgba(0,0,0,0.10);
    border-color: rgba(0,0,0,0.30);
  }
  body.light-mode .mp3-progress-bar {
    background: #111;
    box-shadow: none;
  }

  /* Mobile-Anpassung */
  @media (max-width: 800px) {
    .mp3-player { padding: 4px 8px; gap: 4px; }
    .mp3-info { min-width: 90px; max-width: 120px; }
    .mp3-title { font-size: 0.8rem; }
    .mp3-btn { width: 24px; height: 24px; }
    .mp3-btn svg { width: 14px; height: 14px; }
    .topbar-right { gap: 8px; }
  }

  main {
    padding: 40px 40px 80px;
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
  }

  .section-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--neon-yellow);
    margin-bottom: 28px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-shadow: 0 0 12px var(--neon-yellow), 3px 3px 0 #ff00e5;
  }

  .section-title::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--neon-green);
    box-shadow:
      0 0 15px var(--neon-green),
      4px 4px 0 0 var(--neon-magenta);
    animation: pulse 1.2s steps(2) infinite;
  }

  @keyframes pulse {
    50% { opacity: 0.4; }
  }

  /* ===== CONTENT PAGES ===== */
  .content-page { display: none; }
  .content-page.active {
    display: block;
    animation: pageIn 0.25s steps(4);
  }

  @keyframes pageIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .intro-box,
  .info-box {
    position: relative;
    background: var(--bg-panel);
    background-image:
      linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 0, 229, 0.04) 1px, transparent 1px);
    background-size: 22px 22px;
    border: 3px solid var(--neon-cyan);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.25), inset 0 0 35px rgba(0, 240, 255, 0.05);
    padding: 36px 40px;
    clip-path: polygon(
      0 16px, 16px 0,
      calc(100% - 16px) 0, 100% 16px,
      100% calc(100% - 16px), calc(100% - 16px) 100%,
      16px 100%, 0 calc(100% - 16px)
    );
    margin-bottom: 30px;
  }

  .intro-badge,
  .info-badge {
    display: inline-block;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.6rem;
    letter-spacing: 2px;
    padding: 8px 14px;
    margin-bottom: 22px;
    color: #0a0512;
    background: var(--neon-green);
    border: 2px solid #fff;
    box-shadow: 4px 4px 0 0 var(--neon-magenta);
  }

  .intro-text,
  .info-text {
    font-size: 1.55rem;
    line-height: 1.7;
    letter-spacing: 0.5px;
    color: #d8f5e0;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.25);
  }
  .intro-text:last-child,
  .info-text:last-child { margin-bottom: 0; }

  .intro-text .hl-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
  }
  .intro-text .hl-green {
    color: var(--neon-green);
    font-family: 'Press Start 2P', monospace;
    font-size: 0.95rem;
    text-shadow: 0 0 10px var(--neon-green);
    vertical-align: middle;
  }

  .intro-divider {
    height: 4px;
    background: repeating-linear-gradient(90deg,
      var(--neon-magenta) 0,
      var(--neon-magenta) 8px,
      transparent 8px,
      transparent 16px
    );
    margin: 24px 0;
    opacity: 0.7;
  }

  /* ===== HERO / EIGENES JPG (Startseite) ===== */
  .hero-placeholder {
    position: relative;
    margin-top: 8px;
    padding: 22px;
    background: var(--bg-mid);
    background-image:
      linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 0, 229, 0.05) 1px, transparent 1px);
    background-size: 18px 18px;
    border: 3px solid var(--neon-yellow);
    box-shadow:
      0 0 25px rgba(255, 230, 0, 0.25),
      inset 0 0 30px rgba(255, 230, 0, 0.05);
    clip-path: polygon(
      0 12px, 12px 0,
      calc(100% - 12px) 0, 100% 12px,
      100% calc(100% - 12px), calc(100% - 12px) 100%,
      12px 100%, 0 calc(100% - 12px)
    );
    text-align: center;
  }

   /* Zwei-Bild-Reihe im Hero */
  .hero-images-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 22px;
  }

  .hero-image-wrap {
    flex: 1 1 380px;
    max-width: 520px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-placeholder .hero-image {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 3px solid var(--neon-cyan);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.35);
    image-rendering: auto;
  }

  /* Mobile: untereinander statt nebeneinander */
  @media (max-width: 800px) {
    .hero-image-wrap {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }

  .hero-placeholder .placeholder-caption {
    display: inline-block;
    margin-top: 16px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.6rem;
    color: var(--neon-yellow);
    letter-spacing: 2px;
    text-shadow: 0 0 8px var(--neon-yellow);
    padding: 8px 16px;
    border: 2px solid var(--neon-yellow);
    background: rgba(10, 5, 18, 0.6);
    box-shadow: 4px 4px 0 0 var(--neon-magenta);
    text-transform: uppercase;
  }

  /* ===== ZWEI DOWNLOAD-BUTTONS UNTER DEM BILD ===== */
  .hero-pdf-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
  }

  .hero-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--neon-cyan);
    color: #0a0512;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.62rem;
    letter-spacing: 1px;
    text-decoration: none;
    border: 3px solid #fff;
    box-shadow: 4px 4px 0 0 var(--neon-magenta), 0 0 20px rgba(0, 240, 255, 0.6);
    transition: all 0.12s steps(2);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    text-transform: uppercase;
  }

  .hero-pdf-btn:hover {
    background: var(--neon-yellow);
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 0 var(--neon-magenta), 0 0 28px var(--neon-yellow);
  }

  .hero-pdf-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
  }

  /* PDF Download Button (Slogan / Commercials) */
  .pdf-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 28px;
    margin-top: 8px;
    background: var(--neon-green);
    color: #0a0512;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-decoration: none;
    border: 3px solid #fff;
    box-shadow: 6px 6px 0 0 var(--neon-magenta), 0 0 25px rgba(57, 255, 20, 0.6);
    transition: all 0.12s steps(2);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    text-transform: uppercase;
  }
  .pdf-download-btn:hover {
    background: var(--neon-yellow);
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0 0 var(--neon-magenta), 0 0 30px var(--neon-yellow);
  }
  .pdf-download-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
  }

  /* Social Grid */
  .social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 10px;
  }

  .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 22px 18px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-decoration: none;
    background: rgba(10, 5, 18, 0.6);
    border: 3px solid currentColor;
    transition: all 0.15s steps(3);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  }
  .social-btn svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
    flex-shrink: 0;
  }
  .social-btn:hover {
    transform: translate(-3px, -3px);
    background: rgba(255, 255, 255, 0.06);
  }
  .social-btn.youtube   { color: #ff2d55; box-shadow: 0 0 15px rgba(255, 45, 85, 0.35); }
  .social-btn.youtube:hover   { box-shadow: 5px 5px 0 0 #ff2d55, 0 0 25px #ff2d55; }
  .social-btn.facebook  { color: #00f0ff; box-shadow: 0 0 15px rgba(0, 240, 255, 0.35); }
  .social-btn.facebook:hover  { box-shadow: 5px 5px 0 0 #00f0ff, 0 0 25px #00f0ff; }
  .social-btn.x         { color: #ffffff; box-shadow: 0 0 15px rgba(255, 255, 255, 0.30); }
  .social-btn.x:hover         { box-shadow: 5px 5px 0 0 #ffe600, 0 0 25px #ffffff; }
  .social-btn.instagram { color: #ff00e5; box-shadow: 0 0 15px rgba(255, 0, 229, 0.35); }
  .social-btn.instagram:hover { box-shadow: 5px 5px 0 0 #b026ff, 0 0 25px #ff00e5; }

  /* ===== FACES GRID ===== */
  .faces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 26px;
  }

  .face-card {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--bg-mid);
    background-image:
      linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 0, 229, 0.05) 1px, transparent 1px);
    background-size: 14px 14px;
    border: 3px solid var(--neon-cyan);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.15s steps(3), box-shadow 0.15s, border-color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(
      0 12px, 12px 0,
      calc(100% - 12px) 0, 100% 12px,
      100% calc(100% - 12px), calc(100% - 12px) 100%,
      12px 100%, 0 calc(100% - 12px)
    );
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
  }

  .face-card:hover {
    transform: translate(-3px, -3px);
    border-color: var(--neon-green);
    box-shadow:
      6px 6px 0 0 var(--neon-magenta),
      0 0 25px var(--neon-green),
      inset 0 0 20px rgba(57, 255, 20, 0.15);
    z-index: 5;
  }

  .face-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    image-rendering: auto;
    transition: transform 0.2s steps(4), filter 0.2s;
  }

  .face-card:hover .face-image {
    transform: scale(1.04);
    filter: brightness(1.08) saturate(1.1);
  }

  .face-number {
    position: absolute;
    top: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
    font-family: 'Press Start 2P', monospace;
    font-size: 0.5rem;
    line-height: 1.5;
    color: var(--neon-yellow);
    background: #0a0512;
    padding: 5px 8px;
    letter-spacing: 0.5px;
    border: 2px solid var(--neon-yellow);
    box-shadow: 0 0 8px rgba(255, 230, 0, 0.6);
    z-index: 3;
    text-shadow: 0 0 4px var(--neon-yellow);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
  }

  /* PDF Overlay */
  .pdf-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 5, 18, 0.97);
    background-image:
      repeating-linear-gradient(
        45deg,
        rgba(57, 255, 20, 0.08) 0,
        rgba(57, 255, 20, 0.08) 6px,
        transparent 6px,
        transparent 12px
      );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.7);
    transition: opacity 0.18s steps(3), transform 0.18s steps(3), visibility 0.18s;
    text-align: center;
    z-index: 10;
    border: 3px solid var(--neon-green);
  }

  .face-card.active .pdf-overlay {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .pdf-overlay .pdf-icon {
    width: 44px;
    height: 44px;
    fill: var(--neon-green);
    filter: drop-shadow(0 0 10px var(--neon-green));
    animation: pulse 1s steps(2) infinite;
  }

  .pdf-overlay a {
    display: inline-block;
    padding: 10px 16px;
    background: var(--neon-green);
    color: #0a0512;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.6rem;
    line-height: 1.6;
    text-decoration: none;
    letter-spacing: 1px;
    border: 2px solid #fff;
    box-shadow: 4px 4px 0 0 var(--neon-magenta);
    transition: all 0.12s steps(2);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pdf-overlay a:hover {
    background: var(--neon-yellow);
    box-shadow: 2px 2px 0 0 var(--neon-magenta);
    transform: translate(2px, 2px);
  }

  .pdf-overlay .close-hint {
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    color: var(--neon-cyan);
    letter-spacing: 1.5px;
    text-shadow: 0 0 6px var(--neon-cyan);
  }

  /* ===== Footer ===== */
  footer {
    text-align: center;
    padding: 30px;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    color: var(--neon-magenta);
    letter-spacing: 3px;
    text-shadow: 0 0 8px var(--neon-magenta);
    border-top: 4px solid var(--neon-magenta);
    box-shadow: 0 -4px 0 -1px rgba(255, 0, 229, 0.3), 0 0 20px rgba(255, 0, 229, 0.15);
  }

  /* Mobile */
  @media (max-width: 800px) {
    .sidebar {
      position: fixed;
      left: 0;
      top: 0;
      height: 100vh;
      transform: translateX(-100%);
      box-shadow: 6px 0 30px rgba(0,0,0,0.8), 4px 0 0 var(--neon-cyan);
      transition: transform 0.2s steps(4);
    }
    .sidebar.mobile-open { transform: translateX(0); }
    .sidebar.collapsed { width: 270px; padding: 22px 14px; }
    .sidebar.collapsed .brand-text,
    .sidebar.collapsed .nav-item .label { opacity: 1; width: auto; }
    .sidebar.collapsed .toggle-btn .label { display: inline; }
    .sidebar.collapsed .toggle-btn svg { transform: none; }

    .mobile-menu-btn { display: flex !important; }

    main { padding: 25px 18px 60px; }
    header.topbar {
  padding: 10px 14px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  min-height: 66px;
}

/* Platz schaffen, damit der Content nicht unter der fixierten Topbar liegt */
.main-content {
  padding-top: 66px;
}
    header.topbar h2 { font-size: 0.6rem; }
    header.topbar .subtitle { display: none; }
    .faces-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; }
    .section-title { font-size: 0.85rem; }
    body { font-size: 1.15rem; }

    .intro-box, .info-box { padding: 24px 20px; }
    .intro-text, .info-text { font-size: 1.25rem; }
    .intro-text .hl-green { font-size: 0.8rem; }
    .pdf-download-btn { font-size: 0.6rem; padding: 14px 18px; }
    .hero-placeholder { padding: 16px; }
    .hero-placeholder .placeholder-caption { font-size: 0.5rem; padding: 6px 10px; }

    .hero-pdf-buttons { gap: 12px; margin-top: 18px; }
    .hero-pdf-btn { font-size: 0.5rem; padding: 12px 16px; gap: 8px; }
    .hero-pdf-btn svg { width: 14px; height: 14px; }
  }

  @media (max-width: 480px) {
    .social-grid { grid-template-columns: 1fr; }
    .social-btn { font-size: 0.6rem; padding: 18px 12px; }
    .hero-pdf-buttons { flex-direction: column; align-items: stretch; }
    .hero-pdf-btn { justify-content: center; }
  }

  .mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(0, 240, 255, 0.1);
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    cursor: pointer;
    flex-shrink: 0;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  }
  .mobile-menu-btn svg { width: 20px; height: 20px; fill: currentColor; }

  .drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 5, 18, 0.8);
    backdrop-filter: blur(2px);
    z-index: 55;
  }
  .drawer-backdrop.show { display: block; }

  /* ===== THEME TOGGLE (rechter Rand) ===== */
  .theme-toggle {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 10000;
    width: 50px;
    height: 70px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-panel);
    border: 3px solid var(--neon-yellow);
    border-right: none;
    color: var(--neon-yellow);
    cursor: pointer;
    clip-path: polygon(
      0 12px, 12px 0,
      100% 0, 100% 100%,
      12px 100%, 0 calc(100% - 12px)
    );
    box-shadow:
      -5px 5px 0 0 var(--neon-magenta),
      0 0 22px rgba(255, 230, 0, 0.4);
    transition: transform 0.15s steps(3), box-shadow 0.15s steps(3), background 0.2s;
  }

  .theme-toggle:hover {
    transform: translateY(-50%) translateX(-4px);
    box-shadow:
      -9px 5px 0 0 var(--neon-magenta),
      0 0 32px var(--neon-yellow);
  }

  .theme-toggle:active {
    transform: translateY(-50%) translateX(-2px);
  }

  .theme-toggle .t-icon {
    position: absolute;
    width: 26px;
    height: 26px;
    fill: currentColor;
    filter: drop-shadow(0 0 6px currentColor);
    transition: opacity 0.25s, transform 0.35s steps(4);
  }

  .theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
  .theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.4);
  }

  body.light-mode .theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.4);
  }
  body.light-mode .theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }

  @media (max-width: 800px) {
    .theme-toggle {
      width: 44px;
      height: 60px;
    }
    .theme-toggle .t-icon { width: 22px; height: 22px; }
  }

  /* ==================================================================
     LIGHT MODE  —  MONOCHROM: SCHWARZ · WEISS · SILBER
     ================================================================== */
  body.light-mode {
    --bg-dark:    #d6d6d6;
    --bg-mid:     #ebebeb;
    --bg-panel:   #ffffff;

    --neon-green:   #111111;
    --neon-cyan:    #5c5c5c;
    --neon-magenta: #9a9a9a;
    --neon-yellow:  #2b2b2b;
    --neon-purple:  #6e6e6e;

    background: var(--bg-dark);
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
      radial-gradient(ellipse at top, #ffffff 0%, #cccccc 75%);
    background-size: 40px 40px, 40px 40px, 100% 100%;
    color: #101010;
  }

  body.light-mode::after {
    background: repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.05) 0px,
      rgba(0, 0, 0, 0.05) 1px,
      transparent 1px,
      transparent 3px
    );
  }

  body.light-mode .sidebar {
    border-right-color: #111;
    box-shadow: 4px 0 0 rgba(0, 0, 0, 0.35), 0 0 30px rgba(0, 0, 0, 0.25);
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  }

  body.light-mode .sidebar-brand {
    border-bottom-color: #111;
    box-shadow: 0 4px 0 -1px rgba(0, 0, 0, 0.35);
  }

  body.light-mode .xbox-logo {
    background: #111;
    color: #fff;
    box-shadow:
      4px 4px 0 0 #9a9a9a,
      0 0 20px rgba(0, 0, 0, 0.35),
      inset -3px -3px 0 rgba(255, 255, 255, 0.12);
    text-shadow: none;
  }

  body.light-mode .brand-text .title {
    color: #111;
    text-shadow: 2px 2px 0 #bdbdbd;
  }

  body.light-mode .brand-text .sub {
    color: #5c5c5c;
    text-shadow: none;
  }

  body.light-mode .nav-item {
    color: #4a4a4a;
    background: rgba(0, 0, 0, 0.03);
  }

  body.light-mode .nav-item:hover {
    background: rgba(0, 0, 0, 0.10);
    border-color: #111;
    color: #000;
    text-shadow: none;
  }

  body.light-mode .nav-item.active {
    background: rgba(0, 0, 0, 0.10);
    color: #000;
    border-color: #111;
    text-shadow: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), inset 0 0 10px rgba(0, 0, 0, 0.08);
  }

  body.light-mode .nav-item.active svg { fill: #000; filter: none; }
  body.light-mode .nav-item.active::before { color: #000; }

  body.light-mode .nav-divider {
    background: repeating-linear-gradient(90deg, #9a9a9a 0, #9a9a9a 6px, transparent 6px, transparent 12px);
  }

  body.light-mode .sidebar-footer { border-top-color: #9a9a9a; }

  body.light-mode .toggle-btn {
    background: rgba(0, 0, 0, 0.04);
    border-color: #5c5c5c;
    color: #111;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  }

  body.light-mode .toggle-btn:hover {
    background: #111;
    color: #fff;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
  }

  body.light-mode header.topbar {
    background: rgba(250, 250, 250, 0.94);
    border-bottom-color: #111;
    box-shadow: 0 4px 0 -1px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 0, 0, 0.12);
  }

  body.light-mode header.topbar h2 {
    color: #111;
    text-shadow: 2px 2px 0 #bdbdbd;
  }

  body.light-mode header.topbar .subtitle {
    color: #5c5c5c;
    text-shadow: none;
  }

  body.light-mode .mobile-menu-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: #111;
    color: #111;
  }

  body.light-mode .section-title {
    color: #111;
    text-shadow: 3px 3px 0 #c4c4c4;
  }

  body.light-mode .section-title::before {
    background: #111;
    box-shadow: 4px 4px 0 0 #9a9a9a;
  }

  body.light-mode .intro-box,
  body.light-mode .info-box {
    border-color: #111;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), inset 0 0 35px rgba(0, 0, 0, 0.03);
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  }

  body.light-mode .intro-badge,
  body.light-mode .info-badge {
    background: #111;
    color: #fff;
    border-color: #fff;
    box-shadow: 4px 4px 0 0 #9a9a9a;
  }

  body.light-mode .intro-text,
  body.light-mode .info-text {
    color: #101010;
    text-shadow: none;
  }

  body.light-mode .intro-text .hl-cyan  { color: #4a4a4a; text-shadow: none; }
  body.light-mode .intro-text .hl-green { color: #000;    text-shadow: none; }

  body.light-mode .intro-divider {
    background: repeating-linear-gradient(90deg, #9a9a9a 0, #9a9a9a 8px, transparent 8px, transparent 16px);
  }

  body.light-mode .hero-placeholder {
    border-color: #111;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), inset 0 0 30px rgba(0, 0, 0, 0.03);
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  }

  body.light-mode .hero-placeholder .hero-image {
    border-color: #111;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.25);
    filter: grayscale(100%);
  }

  body.light-mode .placeholder-caption {
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    border-color: #111;
    text-shadow: none;
    box-shadow: 4px 4px 0 0 #9a9a9a;
  }

  body.light-mode .hero-pdf-btn {
    background: #111;
    color: #fff;
    border-color: #fff;
    box-shadow: 4px 4px 0 0 #9a9a9a, 0 0 0 1px rgba(0, 0, 0, 0.2);
  }

  body.light-mode .hero-pdf-btn:hover {
    background: #4a4a4a;
    color: #fff;
    box-shadow: 2px 2px 0 0 #9a9a9a;
  }

  body.light-mode .pdf-download-btn {
    background: #111;
    color: #fff;
    border-color: #fff;
    box-shadow: 6px 6px 0 0 #9a9a9a, 0 0 0 1px rgba(0, 0, 0, 0.2);
  }

  body.light-mode .pdf-download-btn:hover {
    background: #4a4a4a;
    color: #fff;
    box-shadow: 3px 3px 0 0 #9a9a9a;
  }

  body.light-mode .social-btn {
    background: rgba(255, 255, 255, 0.85);
    color: #111;
    box-shadow: none;
  }

  body.light-mode .social-btn.youtube,
  body.light-mode .social-btn.facebook,
  body.light-mode .social-btn.x,
  body.light-mode .social-btn.instagram {
    color: #111;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.12);
  }

  body.light-mode .social-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    box-shadow: 5px 5px 0 0 #9a9a9a;
  }

  body.light-mode .social-btn.youtube:hover,
  body.light-mode .social-btn.facebook:hover,
  body.light-mode .social-btn.x:hover,
  body.light-mode .social-btn.instagram:hover {
    box-shadow: 5px 5px 0 0 #9a9a9a, 0 0 18px rgba(0, 0, 0, 0.25);
  }

  body.light-mode .face-card {
    border-color: #111;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  }

  body.light-mode .face-card:hover {
    border-color: #000;
    box-shadow: 6px 6px 0 0 #9a9a9a, 0 0 22px rgba(0, 0, 0, 0.25);
  }

  body.light-mode .face-image {
    filter: grayscale(100%);
  }

  body.light-mode .face-card:hover .face-image {
    filter: grayscale(100%) brightness(1.05) contrast(1.05);
  }

  body.light-mode .face-number {
    background: #fff;
    color: #111;
    border-color: #111;
    text-shadow: none;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
  }

  body.light-mode .pdf-overlay {
    background: rgba(245, 245, 245, 0.97);
    background-image: repeating-linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.06) 0,
      rgba(0, 0, 0, 0.06) 6px,
      transparent 6px,
      transparent 12px
    );
    border-color: #111;
  }

  body.light-mode .pdf-overlay .pdf-icon {
    fill: #111;
    filter: none;
  }

  body.light-mode .pdf-overlay a {
    background: #111;
    color: #fff;
    border-color: #fff;
    box-shadow: 4px 4px 0 0 #9a9a9a;
  }

  body.light-mode .pdf-overlay a:hover {
    background: #4a4a4a;
    color: #fff;
  }

  body.light-mode .pdf-overlay .close-hint {
    color: #4a4a4a;
    text-shadow: none;
  }

  body.light-mode .theme-toggle {
    background: #ffffff;
    border-color: #111;
    color: #111;
    box-shadow: -5px 5px 0 0 #9a9a9a, 0 0 22px rgba(0, 0, 0, 0.2);
  }

  body.light-mode .theme-toggle:hover {
    box-shadow: -9px 5px 0 0 #9a9a9a, 0 0 28px rgba(0, 0, 0, 0.3);
  }

  body.light-mode footer {
    color: #111;
    text-shadow: none;
    border-top-color: #111;
    box-shadow: 0 -4px 0 -1px rgba(0, 0, 0, 0.25), 0 0 20px rgba(0, 0, 0, 0.08);
  }

  /* ==================================================================
     DESIGN SWITCH PANEL (unter dem Hell/Dunkel-Knopf)
     ================================================================== */
  .design-toggle {
    position: fixed;
    top: calc(50% + 47px);
    right: 0;
    z-index: 10000;
    width: 50px;
    height: 76px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--bg-panel);
    border: 3px solid var(--neon-cyan);
    border-right: none;
    color: var(--neon-cyan);
    cursor: pointer;
    clip-path: polygon(0 12px, 12px 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    box-shadow: -5px 5px 0 0 var(--neon-magenta), 0 0 22px rgba(0, 240, 255, 0.4);
    transition: transform 0.15s steps(3), box-shadow 0.15s steps(3), background 0.2s;
  }
  .design-toggle:hover {
    transform: translateX(-4px);
    box-shadow: -9px 5px 0 0 var(--neon-magenta), 0 0 32px var(--neon-cyan);
  }
  .design-toggle:active { transform: translateX(-2px); }
  .design-toggle .d-icon { width: 24px; height: 24px; fill: currentColor; filter: drop-shadow(0 0 6px currentColor); }
  .design-toggle .d-label { font-family: 'VT323', monospace; font-size: 0.8rem; letter-spacing: 0.5px; line-height: 1; }
  body.light-mode .design-toggle {
    background: #fff; border-color: #111; color: #111;
    box-shadow: -5px 5px 0 0 #9a9a9a, 0 0 22px rgba(0, 0, 0, 0.2);
  }
  body.light-mode .design-toggle:hover { box-shadow: -9px 5px 0 0 #9a9a9a, 0 0 28px rgba(0, 0, 0, 0.3); }
  @media (max-width: 800px) {
    .design-toggle { top: calc(50% + 42px); width: 44px; height: 66px; }
    .design-toggle .d-icon { width: 22px; height: 22px; }
  }

  /* ==================================================================
     MODERNES DESIGN  (html body.modern-mode)  –  funktioniert in Dunkel + Hell
     ================================================================== */
  html body.modern-mode {
    --m-bg:#0b0e14; --m-bg2:#10141c; --m-panel:#151a24;
    --m-border:rgba(255,255,255,.08); --m-hover:rgba(255,255,255,.05);
    --m-text:#e8ebf2; --m-muted:#8f98ad;
    --m-accent:#7c9cff; --m-accent2:#b68cff; --m-soft:rgba(124,156,255,.14);
    --m-grad:linear-gradient(135deg,#6f8fff,#a870ff); --m-glow:rgba(124,156,255,.35);
    --m-g1:rgba(111,143,255,.16); --m-g2:rgba(168,112,255,.12);
    --m-topbar:rgba(11,14,20,.72); --m-overlay:rgba(11,14,20,.88);
    --m-shadow:0 10px 40px rgba(0,0,0,.35); --m-sh-sm:0 2px 10px rgba(0,0,0,.25);
    --bg-dark:var(--m-bg); --bg-mid:var(--m-bg2); --bg-panel:var(--m-panel);
    --neon-green:var(--m-accent2); --neon-cyan:var(--m-accent); --neon-magenta:var(--m-accent2);
    --neon-yellow:var(--m-accent); --neon-purple:var(--m-accent2);
    font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
    font-size:1.05rem; line-height:1.6; color:var(--m-text);
    background:var(--m-bg);
    background-image:radial-gradient(900px 500px at 85% -10%,var(--m-g1),transparent 60%),radial-gradient(700px 500px at -5% 105%,var(--m-g2),transparent 60%);
    background-size:100% 100%; background-attachment:fixed;
  }
  html body.modern-mode.light-mode {
    --m-bg:#f3f5f9; --m-bg2:#eceff5; --m-panel:#ffffff;
    --m-border:rgba(15,23,42,.09); --m-hover:rgba(15,23,42,.045);
    --m-text:#141a29; --m-muted:#5d667a;
    --m-accent:#4a67ff; --m-accent2:#8250f0; --m-soft:rgba(74,103,255,.10);
    --m-grad:linear-gradient(135deg,#4a67ff,#8250f0); --m-glow:rgba(74,103,255,.30);
    --m-g1:rgba(74,103,255,.10); --m-g2:rgba(130,80,240,.08);
    --m-topbar:rgba(255,255,255,.75); --m-overlay:rgba(255,255,255,.92);
    --m-shadow:0 10px 40px rgba(20,30,60,.10); --m-sh-sm:0 2px 10px rgba(20,30,60,.07);
  }
  html body.modern-mode * { image-rendering:auto; }
  html body.modern-mode::after { display:none; }

  /* Sidebar */
  html body.modern-mode .sidebar { background:var(--m-panel); background-image:none; border-right:1px solid var(--m-border); box-shadow:0 0 40px rgba(0,0,0,.12); transition:width .25s ease, padding .25s ease; }
  html body.modern-mode .sidebar-brand { border-bottom:1px solid var(--m-border); box-shadow:none; }
  html body.modern-mode .xbox-logo { clip-path:none; border-radius:12px; background:var(--m-grad); color:#fff; box-shadow:0 6px 18px var(--m-glow); text-shadow:none; }
  html body.modern-mode .brand-text .title { font-family:'Inter',system-ui,sans-serif; font-weight:700; font-size:.95rem; line-height:1.3; letter-spacing:-.01em; color:var(--m-text); text-shadow:none; }
  html body.modern-mode .brand-text .sub { font-family:'Inter',system-ui,sans-serif; font-size:.68rem; letter-spacing:.08em; color:var(--m-muted); text-shadow:none; }
  html body.modern-mode .nav-item { font-family:'Inter',system-ui,sans-serif; font-size:.95rem; font-weight:500; letter-spacing:0; color:var(--m-muted); background:transparent; border:1px solid transparent; border-radius:12px; clip-path:none; transition:background .18s ease, color .18s ease; }
  html body.modern-mode .nav-item .label { text-transform:none; }
  html body.modern-mode .nav-item svg { filter:none; }
  html body.modern-mode .nav-item:hover { background:var(--m-hover); border-color:transparent; color:var(--m-text); text-shadow:none; }
  html body.modern-mode .nav-item.active { background:var(--m-soft); color:var(--m-accent); border-color:transparent; box-shadow:none; text-shadow:none; }
  html body.modern-mode .nav-item.active svg { fill:var(--m-accent); filter:none; }
  html body.modern-mode .nav-item.active::before { content:''; left:0; top:22%; bottom:22%; width:3px; height:auto; transform:none; border-radius:0 3px 3px 0; background:var(--m-grad); color:transparent; font-size:0; animation:none; }
  html body.modern-mode .nav-divider { height:1px; background:var(--m-border); opacity:1; }
  html body.modern-mode .sidebar-footer { border-top:1px solid var(--m-border); }
  html body.modern-mode .toggle-btn { font-family:'Inter',system-ui,sans-serif; font-size:.9rem; letter-spacing:0; text-transform:none; color:var(--m-muted); background:var(--m-hover); border:1px solid var(--m-border); border-radius:10px; clip-path:none; box-shadow:none; transition:background .18s ease, color .18s ease; }
  html body.modern-mode .toggle-btn:hover { background:var(--m-soft); color:var(--m-accent); box-shadow:none; }

  /* Topbar + MP3 */
  html body.modern-mode header.topbar { background:var(--m-topbar); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid var(--m-border); box-shadow:none; }
  html body.modern-mode header.topbar h2 { font-family:'Inter',system-ui,sans-serif; font-weight:650; font-size:1rem; letter-spacing:-.01em; color:var(--m-text); text-shadow:none; }
  html body.modern-mode header.topbar .subtitle { font-family:'Inter',system-ui,sans-serif; font-size:.75rem; letter-spacing:.08em; color:var(--m-muted); text-shadow:none; }
  html body.modern-mode .mobile-menu-btn { background:var(--m-hover); border:1px solid var(--m-border); border-radius:10px; clip-path:none; color:var(--m-text); }
  html body.modern-mode .mp3-player { background:var(--m-hover); border:1px solid var(--m-border); border-radius:14px; clip-path:none; box-shadow:none; }
  html body.modern-mode .mp3-btn { border:1px solid var(--m-border); border-radius:8px; clip-path:none; color:var(--m-muted); }
  html body.modern-mode .mp3-btn:hover { background:var(--m-soft); color:var(--m-accent); box-shadow:none; }
  html body.modern-mode .mp3-btn svg { filter:none; }
  html body.modern-mode .mp3-play, html body.modern-mode .mp3-play:hover { border-color:transparent; background:var(--m-grad); color:#fff; box-shadow:none; }
  html body.modern-mode .mp3-play:hover { filter:brightness(1.12); }
  html body.modern-mode .mp3-title { font-family:'Inter',system-ui,sans-serif; font-size:.78rem; font-weight:500; line-height:1.2; letter-spacing:0; color:var(--m-text); text-shadow:none; }
  html body.modern-mode .mp3-progress { height:4px; border:none; border-radius:99px; background:var(--m-border); }
  html body.modern-mode .mp3-progress-bar { background:var(--m-grad); box-shadow:none; border-radius:99px; }

  /* Inhalt */
  html body.modern-mode .section-title { font-family:'Inter',system-ui,sans-serif; font-weight:700; font-size:1.9rem; line-height:1.2; letter-spacing:-.02em; color:var(--m-text); text-shadow:none; }
  html body.modern-mode .section-title::before { width:8px; height:28px; border-radius:4px; background:var(--m-grad); box-shadow:none; animation:none; }
  html body.modern-mode .intro-box, html body.modern-mode .info-box { background:var(--m-panel); background-image:none; border:1px solid var(--m-border); border-radius:24px; clip-path:none; box-shadow:var(--m-shadow); padding:40px 44px; }
  html body.modern-mode .intro-badge, html body.modern-mode .info-badge { font-family:'Inter',system-ui,sans-serif; font-weight:600; font-size:.72rem; letter-spacing:.08em; color:var(--m-accent); background:var(--m-soft); border:none; border-radius:99px; box-shadow:none; padding:6px 14px; }
  html body.modern-mode .intro-text, html body.modern-mode .info-text { font-size:1.1rem; line-height:1.75; letter-spacing:0; color:var(--m-text); text-shadow:none; }
  html body.modern-mode .intro-text .hl-cyan { color:var(--m-accent); text-shadow:none; }
  html body.modern-mode .intro-text .hl-green { font-family:'Inter',system-ui,sans-serif; font-weight:700; font-size:1em; color:var(--m-accent2); text-shadow:none; vertical-align:baseline; }
  html body.modern-mode .intro-divider { height:1px; background:var(--m-border); opacity:1; margin:28px 0; }
  html body.modern-mode .hero-placeholder { background:var(--m-bg2); background-image:none; border:1px solid var(--m-border); border-radius:24px; clip-path:none; box-shadow:var(--m-shadow); padding:24px; }
  html body.modern-mode .hero-placeholder .hero-image { border:1px solid var(--m-border); border-radius:16px; box-shadow:0 10px 30px rgba(0,0,0,.22); }
  html body.modern-mode .hero-placeholder .placeholder-caption { font-family:'Inter',system-ui,sans-serif; font-weight:600; font-size:.8rem; letter-spacing:.04em; text-transform:none; color:var(--m-accent); background:var(--m-soft); border:none; border-radius:99px; box-shadow:none; text-shadow:none; padding:8px 16px; }

  /* Buttons */
  html body.modern-mode .hero-pdf-btn, html body.modern-mode .pdf-download-btn { font-family:'Inter',system-ui,sans-serif; font-weight:600; font-size:.9rem; letter-spacing:0; text-transform:none; color:#fff; background:var(--m-grad); border:none; border-radius:14px; clip-path:none; padding:14px 22px; box-shadow:0 8px 24px var(--m-glow); transition:transform .18s ease, box-shadow .18s ease, filter .18s ease; }
  html body.modern-mode .hero-pdf-btn:hover, html body.modern-mode .pdf-download-btn:hover { background:var(--m-grad); color:#fff; transform:translateY(-2px); filter:brightness(1.08); box-shadow:0 12px 30px var(--m-glow); }
  html body.modern-mode .social-btn, html body.modern-mode .social-btn.youtube, html body.modern-mode .social-btn.facebook, html body.modern-mode .social-btn.x, html body.modern-mode .social-btn.instagram { font-family:'Inter',system-ui,sans-serif; font-weight:600; font-size:.9rem; letter-spacing:0; color:var(--m-text); background:var(--m-panel); border:1px solid var(--m-border); border-radius:16px; clip-path:none; box-shadow:var(--m-sh-sm); transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
  html body.modern-mode .social-btn:hover, html body.modern-mode .social-btn.youtube:hover, html body.modern-mode .social-btn.facebook:hover, html body.modern-mode .social-btn.x:hover, html body.modern-mode .social-btn.instagram:hover { transform:translateY(-3px); background:var(--m-panel); border-color:var(--m-accent); box-shadow:var(--m-shadow); color:var(--m-text); }
  html body.modern-mode .social-btn.youtube svg { fill:#ff3b5c; }
  html body.modern-mode .social-btn.facebook svg { fill:#3b82f6; }
  html body.modern-mode .social-btn.x svg { fill:var(--m-text); }
  html body.modern-mode .social-btn.instagram svg { fill:#e1306c; }

  /* Gesichter-Karten */
  html body.modern-mode .face-card { background:var(--m-bg2); background-image:none; border:1px solid var(--m-border); border-radius:18px; clip-path:none; box-shadow:var(--m-sh-sm); transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  html body.modern-mode .face-card:hover { transform:translateY(-4px); border-color:var(--m-accent); box-shadow:0 14px 34px var(--m-glow); }
  html body.modern-mode .face-image { transition:transform .3s ease, filter .3s ease; }
  html body.modern-mode .face-card:hover .face-image { transform:scale(1.05); }
  html body.modern-mode .face-number { top:10px; left:10px; font-family:'Inter',system-ui,sans-serif; font-weight:600; font-size:.7rem; letter-spacing:0; color:#fff; background:rgba(15,18,28,.65); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); border:none; border-radius:99px; box-shadow:none; text-shadow:none; padding:4px 10px; }
  html body.modern-mode .pdf-overlay { background:var(--m-overlay); background-image:none; backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border:none; border-radius:18px; transform:scale(.96); transition:opacity .2s ease, transform .2s ease, visibility .2s; }
  html body.modern-mode .face-card.active .pdf-overlay { transform:scale(1); }
  html body.modern-mode .pdf-overlay .pdf-icon { fill:var(--m-accent); filter:none; animation:none; }
  html body.modern-mode .pdf-overlay a { font-family:'Inter',system-ui,sans-serif; font-weight:600; font-size:.75rem; letter-spacing:0; color:#fff; background:var(--m-grad); border:none; border-radius:99px; box-shadow:none; padding:10px 18px; }
  html body.modern-mode .pdf-overlay a:hover { background:var(--m-grad); color:#fff; transform:none; box-shadow:none; filter:brightness(1.1); }
  html body.modern-mode .pdf-overlay .close-hint { font-family:'Inter',system-ui,sans-serif; font-size:.7rem; letter-spacing:.04em; color:var(--m-muted); text-shadow:none; }
  html body.modern-mode footer { font-family:'Inter',system-ui,sans-serif; font-size:.85rem; letter-spacing:.04em; color:var(--m-muted); text-shadow:none; border-top:1px solid var(--m-border); box-shadow:none; }

  /* Seitliche Schalter im modernen Look */
  html body.modern-mode .theme-toggle, html body.modern-mode .design-toggle { background:var(--m-panel); border:1px solid var(--m-border); border-right:none; border-radius:14px 0 0 14px; clip-path:none; color:var(--m-accent); box-shadow:var(--m-shadow); transition:transform .18s ease, box-shadow .18s ease; }
  html body.modern-mode .theme-toggle:hover, html body.modern-mode .design-toggle:hover { box-shadow:0 8px 30px var(--m-glow); }
  html body.modern-mode .design-toggle .d-label { font-family:'Inter',system-ui,sans-serif; font-weight:600; font-size:.6rem; letter-spacing:.06em; }
  html body.modern-mode .t-icon, html body.modern-mode .d-icon { filter:none; }

  /* Mobile-Korrekturen für das moderne Design */
  @media (max-width: 800px) {
    html body.modern-mode .sidebar { transition:transform .25s ease; box-shadow:6px 0 30px rgba(0,0,0,.35); }
    html body.modern-mode header.topbar h2 { font-size:.9rem; }
    html body.modern-mode .section-title { font-size:1.4rem; }
    html body.modern-mode .section-title::before { height:22px; }
    html body.modern-mode .intro-box, html body.modern-mode .info-box { padding:24px 20px; border-radius:20px; }
    html body.modern-mode .intro-text, html body.modern-mode .info-text { font-size:1rem; }
    html body.modern-mode .hero-placeholder { padding:16px; }
    html body.modern-mode .hero-placeholder .placeholder-caption { font-size:.72rem; padding:6px 12px; }
    html body.modern-mode .pdf-download-btn { font-size:.85rem; padding:14px 18px; }
    html body.modern-mode .hero-pdf-btn { font-size:.8rem; padding:12px 16px; }
    html body.modern-mode .social-btn, html body.modern-mode .social-btn.youtube, html body.modern-mode .social-btn.facebook, html body.modern-mode .social-btn.x, html body.modern-mode .social-btn.instagram { font-size:.85rem; padding:18px 12px; }
  }

  /* ==================================================================
     NEWS TICKER  (fix am unteren Rand, auf allen Seiten sichtbar)
     ================================================================== */
  :root { --ticker-h: 44px; }

  body { padding-bottom: var(--ticker-h); }
  .app-layout { min-height: calc(100vh - var(--ticker-h)); }
  .sidebar { height: calc(100vh - var(--ticker-h)); }

  .news-ticker {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--ticker-h);
    z-index: 9000;
    display: flex;
    align-items: stretch;
    background: var(--bg-mid);
    background-image: linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px);
    background-size: 100% 4px;
    border-top: 4px solid var(--neon-magenta);
    box-shadow: 0 -4px 0 -1px rgba(255, 0, 229, 0.35), 0 -6px 24px rgba(255, 0, 229, 0.2);
  }

  .ticker-label {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    background: var(--neon-green);
    color: #0a0512;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.6rem;
    letter-spacing: 2px;
    border-right: 4px solid #fff;
    box-shadow: 4px 0 0 0 var(--neon-magenta), 0 0 18px rgba(57, 255, 20, 0.5);
  }

  .ticker-dot {
    width: 8px;
    height: 8px;
    background: #ff2d55;
    box-shadow: 0 0 6px #ff2d55;
    animation: blink 1s steps(2) infinite;
  }

  .ticker-viewport {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-left: 4px;
  }

  .ticker-track {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    will-change: transform;
    animation: tickerScroll var(--ticker-duration, 40s) linear infinite;
  }
  .ticker-half { display: flex; flex-shrink: 0; }
  .ticker-group { display: flex; flex-shrink: 0; align-items: center; }

  .ticker-viewport:hover .ticker-track { animation-play-state: paused; }

  @keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  .ticker-item {
    font-family: 'VT323', monospace;
    font-size: 1.4rem;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
    text-decoration: none;
  }
  .ticker-item.alt {
    color: var(--neon-green);
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
  }
  a.ticker-item:hover {
    color: var(--neon-yellow);
    text-shadow: 0 0 10px var(--neon-yellow);
  }

  .ticker-sep {
    margin: 0 28px;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--neon-magenta);
    text-shadow: 0 0 8px var(--neon-magenta);
  }

  /* Hell-Modus */
  body.light-mode .news-ticker {
    background-image: linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    border-top-color: #111;
    box-shadow: 0 -4px 0 -1px rgba(0, 0, 0, 0.25), 0 -6px 20px rgba(0, 0, 0, 0.1);
  }
  body.light-mode .ticker-label { color: #fff; box-shadow: 4px 0 0 0 #9a9a9a; }
  body.light-mode .ticker-item,
  body.light-mode .ticker-item.alt { color: #111; text-shadow: none; }
  body.light-mode .ticker-sep { color: #9a9a9a; text-shadow: none; }

  /* Modernes Design */
  html body.modern-mode .news-ticker {
    background: var(--m-topbar);
    background-image: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--m-border);
    box-shadow: none;
  }
  html body.modern-mode .ticker-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: #fff;
    background: var(--m-grad);
    border-right: none;
    box-shadow: none;
  }
  html body.modern-mode .ticker-dot { background: #fff; box-shadow: none; border-radius: 50%; }
  html body.modern-mode .ticker-item,
  html body.modern-mode .ticker-item.alt {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--m-text);
    text-shadow: none;
  }
  html body.modern-mode a.ticker-item:hover { color: var(--m-accent); text-shadow: none; }
  html body.modern-mode .ticker-sep { color: var(--m-accent); text-shadow: none; }

  @media (max-width: 800px) {
    :root { --ticker-h: 38px; }
    .ticker-label { padding: 0 10px; font-size: 0.5rem; gap: 6px; }
    .ticker-item { font-size: 1.15rem; }
    .ticker-sep { margin: 0 18px; }
    html body.modern-mode .ticker-item,
    html body.modern-mode .ticker-item.alt { font-size: 0.82rem; }
  }

/* Unterüberschrift im Einleitungsblock */
.intro-subhead {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 0.4rem;
}

/* Abschließender Highlight-Absatz */
.intro-highlight {
  font-style: italic;
  font-weight: 600;
  text-align: center;
}

/* Optional: etwas mehr Luft zwischen den Absätzen im Intro */
.intro-box .intro-text + .intro-text {
  margin-top: 0.75rem;
}

  /* ===== PDF-DOWNLOAD-LISTE (Kataloge) ===== */
  .pdf-list-section {
    margin-top: 50px;
  }

  .pdf-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 10px;
  }

  .pdf-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-mid);
    background-image:
      linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 0, 229, 0.04) 1px, transparent 1px);
    background-size: 14px 14px;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 1.15rem;
    letter-spacing: 1px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    transition: all 0.12s steps(2);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
  }

  .pdf-list-item:hover {
    background: rgba(57, 255, 20, 0.12);
    border-color: var(--neon-green);
    color: var(--neon-green);
    text-shadow: 0 0 8px var(--neon-green);
    box-shadow: 4px 4px 0 0 var(--neon-magenta), 0 0 20px var(--neon-green);
    transform: translate(-2px, -2px);
  }

  .pdf-list-num {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.55rem;
    color: var(--neon-yellow);
    background: #0a0512;
    padding: 4px 6px;
    border: 2px solid var(--neon-yellow);
    flex-shrink: 0;
    line-height: 1;
  }

  .pdf-list-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
  }

  .pdf-list-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
  }

  .pdf-list-dl {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.5rem;
    letter-spacing: 1px;
    color: var(--neon-green);
    flex-shrink: 0;
  }

  .pdf-list-item:hover .pdf-list-dl {
    color: #0a0512;
    background: var(--neon-green);
    padding: 3px 6px;
  }

  /* Light-Mode */
  body.light-mode .pdf-list-item {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    border-color: #111;
    color: #111;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  body.light-mode .pdf-list-item:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: #000;
    color: #000;
    text-shadow: none;
    box-shadow: 4px 4px 0 0 #9a9a9a, 0 0 18px rgba(0, 0, 0, 0.25);
  }
  body.light-mode .pdf-list-num {
    background: #fff;
    color: #111;
    border-color: #111;
  }
  body.light-mode .pdf-list-dl { color: #111; }
  body.light-mode .pdf-list-item:hover .pdf-list-dl {
    background: #111;
    color: #fff;
  }

  /* Modern-Mode */
  html body.modern-mode .pdf-list-item {
    background: var(--m-panel);
    background-image: none;
    border: 1px solid var(--m-border);
    border-radius: 12px;
    clip-path: none;
    color: var(--m-text);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .95rem;
    box-shadow: var(--m-sh-sm);
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
  }
  html body.modern-mode .pdf-list-item:hover {
    background: var(--m-soft);
    border-color: var(--m-accent);
    color: var(--m-accent);
    text-shadow: none;
    box-shadow: var(--m-shadow);
    transform: translateY(-2px);
  }
  html body.modern-mode .pdf-list-num {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .7rem;
    font-weight: 600;
    background: var(--m-soft);
    color: var(--m-accent);
    border: none;
    border-radius: 6px;
    padding: 4px 7px;
  }
  html body.modern-mode .pdf-list-name {
    text-transform: none;
    font-weight: 500;
  }
  html body.modern-mode .pdf-list-dl {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--m-accent);
    background: var(--m-soft);
    padding: 3px 7px;
    border-radius: 6px;
  }
  html body.modern-mode .pdf-list-item:hover .pdf-list-dl {
    background: var(--m-accent);
    color: #fff;
  }

  @media (max-width: 800px) {
    .pdf-list { grid-template-columns: 1fr; }
    .pdf-list-item { font-size: 1rem; padding: 10px 12px; }
    .pdf-list-num { font-size: 0.5rem; }
  }
  
  
  /* ==================================================================
   VIDEO PLAYER TOGGLE (unter Design-Switch)
   ================================================================== */
.video-toggle {
  position: fixed;
  top: calc(50% + 133px); /* 47px (theme) + 10px gap + 76px (design) ≈ 133px */
  right: 0;
  z-index: 10000;
  width: 50px;
  height: 70px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-panel);
  border: 3px solid var(--neon-green);
  border-right: none;
  color: var(--neon-green);
  cursor: pointer;
  clip-path: polygon(0 12px, 12px 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: -5px 5px 0 0 var(--neon-magenta), 0 0 22px rgba(57, 255, 20, 0.4);
  transition: transform 0.15s steps(3), box-shadow 0.15s steps(3), background 0.2s;
}
.video-toggle:hover {
  transform: translateX(-4px);
  box-shadow: -9px 5px 0 0 var(--neon-magenta), 0 0 32px var(--neon-green);
}
.video-toggle:active { transform: translateX(-2px); }
.video-toggle .v-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  filter: drop-shadow(0 0 6px currentColor);
}
.video-toggle .v-label {
  font-family: 'VT323', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  line-height: 1;
}
body.light-mode .video-toggle {
  background: #fff;
  border-color: #111;
  color: #111;
  box-shadow: -5px 5px 0 0 #9a9a9a, 0 0 22px rgba(0, 0, 0, 0.2);
}
body.light-mode .video-toggle:hover {
  box-shadow: -9px 5px 0 0 #9a9a9a, 0 0 28px rgba(0, 0, 0, 0.3);
}
@media (max-width: 800px) {
  .video-toggle {
    top: calc(50% + 118px); /* 42px (theme) + 10px + 66px (design) ≈ 118px */
    width: 44px;
    height: 62px;
  }
  .video-toggle .v-icon { width: 22px; height: 22px; }
}

/* ==================================================================
   VIDEO POPUP
   ================================================================== */
.video-popup {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.video-popup.open { display: flex; }

.video-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 18, 0.88);
  backdrop-filter: blur(4px);
}

.video-popup-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-panel);
  border: 3px solid var(--neon-cyan);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.4);
  padding: 24px;
  clip-path: polygon(
    0 16px, 16px 0,
    calc(100% - 16px) 0, 100% 16px,
    100% calc(100% - 16px), calc(100% - 16px) 100%,
    16px 100%, 0 calc(100% - 16px)
  );
}

.video-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--neon-magenta);
}
.video-popup-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.8rem;
  color: var(--neon-green);
  letter-spacing: 1px;
  text-shadow: 0 0 10px var(--neon-green);
}
.video-popup-close {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid var(--neon-magenta);
  color: var(--neon-magenta);
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.12s steps(2);
}
.video-popup-close:hover {
  background: var(--neon-magenta);
  color: #0a0512;
  box-shadow: 0 0 15px var(--neon-magenta);
}

/* Video-Grid: 2x2 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.video-slot {
  position: relative;
  background: var(--bg-mid);
  border: 3px solid var(--neon-cyan);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}
.video-slot iframe,
.video-slot video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}
.video-slot-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--neon-cyan);
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-align: center;
  padding: 12px;
  background:
    linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 229, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
}
.video-slot-placeholder svg {
  width: 44px;
  height: 44px;
  fill: var(--neon-cyan);
  filter: drop-shadow(0 0 8px var(--neon-cyan));
  opacity: 0.7;
}

/* Light-Mode */
body.light-mode .video-popup-inner {
  border-color: #111;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}
body.light-mode .video-popup-title { color: #111; text-shadow: none; }
body.light-mode .video-popup-close {
  border-color: #111;
  color: #111;
}
body.light-mode .video-popup-close:hover {
  background: #111;
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}
body.light-mode .video-slot {
  border-color: #111;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}
body.light-mode .video-slot-placeholder {
  color: #4a4a4a;
  background:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 16px 16px;
}
body.light-mode .video-slot-placeholder svg {
  fill: #4a4a4a;
  filter: none;
}

/* Modern-Mode */
html body.modern-mode .video-toggle {
  background: var(--m-panel);
  border-color: var(--m-accent);
  color: var(--m-accent);
  box-shadow: -5px 5px 0 0 var(--m-accent2), 0 0 22px var(--m-glow);
  border-radius: 12px 0 0 12px;
  clip-path: none;
}
html body.modern-mode .video-toggle .v-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
}
html body.modern-mode .video-popup-inner {
  border-radius: 16px;
  border-color: var(--m-accent);
  clip-path: none;
  box-shadow: var(--m-shadow);
}
html body.modern-mode .video-popup-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--m-accent);
  text-shadow: none;
}
html body.modern-mode .video-popup-close {
  border-radius: 8px;
  border-color: var(--m-accent2);
  color: var(--m-accent2);
}
html body.modern-mode .video-slot {
  border-radius: 10px;
  border-color: var(--m-border);
}
html body.modern-mode .video-slot-placeholder {
  font-family: 'Inter', sans-serif;
}

/* Responsive: 1 Spalte auf kleinen Screens */
@media (max-width: 700px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-popup-inner { padding: 16px; }
  .video-popup-title { font-size: 0.65rem; }
}

/* Klickbarer Video-Platzhalter */
.video-slot-placeholder.clickable {
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}
.video-slot-placeholder.clickable:hover {
  background:
    linear-gradient(rgba(0, 240, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 229, 0.12) 1px, transparent 1px);
  background-size: 16px 16px;
  box-shadow: inset 0 0 25px rgba(0, 240, 255, 0.25);
}
.video-slot-placeholder.clickable:hover svg {
  filter: drop-shadow(0 0 14px var(--neon-cyan));
  transform: scale(1.08);
  transition: transform 0.15s, filter 0.15s;
}

.video-slot-play {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  letter-spacing: 1px;
  color: var(--neon-green);
  text-shadow: 0 0 8px var(--neon-green);
  padding: 6px 12px;
  border: 2px solid var(--neon-green);
  background: rgba(10, 5, 18, 0.6);
  box-shadow: 3px 3px 0 0 var(--neon-magenta);
}
.video-slot-title {
  font-size: 0.9rem;
  color: var(--neon-cyan);
  letter-spacing: 1.5px;
  opacity: 0.85;
}

body.light-mode .video-slot-placeholder.clickable:hover {
  background:
    linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.15);
}
body.light-mode .video-slot-play {
  color: #111;
  text-shadow: none;
  border-color: #111;
  background: #fff;
  box-shadow: 3px 3px 0 0 #9a9a9a;
}
body.light-mode .video-slot-title { color: #4a4a4a; }

html body.modern-mode .video-slot-placeholder.clickable:hover {
  box-shadow: inset 0 0 25px var(--m-soft);
}
html body.modern-mode .video-slot-play {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  border-radius: 6px;
  border-color: var(--m-accent);
  color: var(--m-accent);
  background: var(--m-panel);
  box-shadow: none;
  text-shadow: none;
  padding: 8px 14px;
}
html body.modern-mode .video-slot-title {
  font-family: 'Inter', sans-serif;
  color: var(--m-muted);
}


/* ==================================================================
   GALERIE TOGGLE (unter Video-Button am rechten Rand)
   ================================================================== */
.games-toggle {
  position: fixed;
  top: calc(50% + 213px); /* 133px (video) + 10px gap + 70px = 213px */
  right: 0;
  z-index: 10000;
  width: 50px;
  height: 70px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-panel);
  border: 3px solid var(--neon-magenta);
  border-right: none;
  color: var(--neon-magenta);
  cursor: pointer;
  clip-path: polygon(0 12px, 12px 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: -5px 5px 0 0 var(--neon-cyan), 0 0 22px rgba(255, 0, 229, 0.4);
  transition: transform 0.15s steps(3), box-shadow 0.15s steps(3), background 0.2s;
}
.games-toggle:hover {
  transform: translateX(-4px);
  box-shadow: -9px 5px 0 0 var(--neon-cyan), 0 0 32px var(--neon-magenta);
}
.games-toggle:active { transform: translateX(-2px); }
.games-toggle .g-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  filter: drop-shadow(0 0 6px currentColor);
}
.games-toggle .g-label {
  font-family: 'VT323', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  line-height: 1;
}

body.light-mode .games-toggle {
  background: #fff;
  border-color: #111;
  color: #111;
  box-shadow: -5px 5px 0 0 #9a9a9a, 0 0 22px rgba(0, 0, 0, 0.2);
}
body.light-mode .games-toggle:hover {
  box-shadow: -9px 5px 0 0 #9a9a9a, 0 0 28px rgba(0, 0, 0, 0.3);
}

@media (max-width: 800px) {
  .games-toggle {
    top: calc(50% + 190px);
    width: 44px;
    height: 62px;
  }
  .games-toggle .g-icon { width: 22px; height: 22px; }
}

/* ==================================================================
   GALERIE POPUP
   ================================================================== */
.gallery-popup {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.gallery-popup.open { display: flex; }

.gallery-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 18, 0.88);
  backdrop-filter: blur(4px);
}

.gallery-popup-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-panel);
  border: 3px solid var(--neon-magenta);
  box-shadow: 0 0 40px rgba(255, 0, 229, 0.4);
  padding: 24px;
  clip-path: polygon(
    0 16px, 16px 0,
    calc(100% - 16px) 0, 100% 16px,
    100% calc(100% - 16px), calc(100% - 16px) 100%,
    16px 100%, 0 calc(100% - 16px)
  );
}

.gallery-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--neon-cyan);
}
.gallery-popup-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.8rem;
  color: var(--neon-magenta);
  letter-spacing: 1px;
  text-shadow: 0 0 10px var(--neon-magenta);
}
.gallery-popup-close {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid var(--neon-magenta);
  color: var(--neon-magenta);
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.12s steps(2);
}
.gallery-popup-close:hover {
  background: var(--neon-magenta);
  color: #0a0512;
  box-shadow: 0 0 15px var(--neon-magenta);
}

/* Kategorie-Tabs */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.gallery-tab {
  padding: 10px 16px;
  background: rgba(0, 240, 255, 0.08);
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: 'Press Start 2P', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.12s steps(2);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.gallery-tab:hover {
  background: rgba(0, 240, 255, 0.2);
  color: #fff;
  box-shadow: 0 0 12px var(--neon-cyan);
}
.gallery-tab.active {
  background: var(--neon-green);
  border-color: #fff;
  color: #0a0512;
  box-shadow: 4px 4px 0 0 var(--neon-magenta), 0 0 18px var(--neon-green);
}

/* Bilder-Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.gallery-card {
  background: var(--bg-mid);
  border: 3px solid var(--neon-cyan);
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
  transition: transform 0.15s steps(3), border-color 0.15s, box-shadow 0.15s;
}
.gallery-card:hover {
  transform: translate(-3px, -3px);
  border-color: var(--neon-green);
  box-shadow: 5px 5px 0 0 var(--neon-magenta), 0 0 20px var(--neon-green);
}
.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  image-rendering: auto;
}
.gallery-card-caption {
  padding: 10px 12px;
  font-family: 'VT323', monospace;
  font-size: 1.15rem;
  color: var(--neon-yellow);
  letter-spacing: 1px;
  border-top: 2px solid rgba(0, 240, 255, 0.25);
}

/* Light-Mode */
body.light-mode .gallery-popup-inner { border-color: #111; box-shadow: 0 0 40px rgba(0, 0, 0, 0.3); }
body.light-mode .gallery-popup-title { color: #111; text-shadow: none; }
body.light-mode .gallery-popup-close { border-color: #111; color: #111; }
body.light-mode .gallery-popup-close:hover { background: #111; color: #fff; }
body.light-mode .gallery-tab {
  background: rgba(0, 0, 0, 0.05);
  border-color: #111;
  color: #111;
}
body.light-mode .gallery-tab.active {
  background: #111;
  color: #fff;
  border-color: #fff;
  box-shadow: 4px 4px 0 0 #9a9a9a;
}
body.light-mode .gallery-card { border-color: #111; box-shadow: 0 0 12px rgba(0, 0, 0, 0.15); }
body.light-mode .gallery-card img { filter: grayscale(100%); }
body.light-mode .gallery-card-caption { color: #111; border-top-color: rgba(0, 0, 0, 0.15); }

/* Modern-Mode */
html body.modern-mode .games-toggle {
  background: var(--m-panel);
  border-color: var(--m-accent2);
  color: var(--m-accent2);
  box-shadow: -5px 5px 0 0 var(--m-accent), 0 0 22px var(--m-glow);
  border-radius: 12px 0 0 12px;
  clip-path: none;
}
html body.modern-mode .games-toggle .g-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
}
html body.modern-mode .gallery-popup-inner {
  border-radius: 16px;
  border-color: var(--m-accent2);
  clip-path: none;
  box-shadow: var(--m-shadow);
}
html body.modern-mode .gallery-popup-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--m-accent2);
  text-shadow: none;
}
html body.modern-mode .gallery-popup-close {
  border-radius: 8px;
  border-color: var(--m-accent2);
  color: var(--m-accent2);
}
html body.modern-mode .gallery-tab {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 10px;
  clip-path: none;
}
html body.modern-mode .gallery-tab.active {
  background: var(--m-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px var(--m-glow);
}
html body.modern-mode .gallery-card {
  border-radius: 14px;
  border-color: var(--m-border);
}
html body.modern-mode .gallery-card-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--m-text);
}



/* ==================================================================
   GALERIE LIGHTBOX (GROSSANSICHT)
   ================================================================== */
.gallery-card {
  cursor: pointer;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 2, 10, 0.94);
  backdrop-filter: blur(6px);
}

.gallery-lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--bg-panel);
  border: 3px solid var(--neon-green);
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.35);
  padding: 16px;
}

.gallery-lightbox-content img {
  max-width: 100%;
  max-height: calc(90vh - 95px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  image-rendering: auto;
}

.gallery-lightbox-caption {
  font-family: 'VT323', monospace;
  font-size: 1.3rem;
  color: var(--neon-cyan);
  letter-spacing: 1.5px;
  text-align: center;
}

.gallery-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 5, 18, 0.85);
  border: 2px solid var(--neon-magenta);
  color: var(--neon-magenta);
  font-family: 'VT323', monospace;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.12s steps(2);
}
.gallery-lightbox-close:hover {
  background: var(--neon-magenta);
  color: #0a0512;
  box-shadow: 0 0 15px var(--neon-magenta);
}

/* Light-Mode */
body.light-mode .gallery-lightbox-overlay {
  background: rgba(20, 20, 20, 0.88);
}
body.light-mode .gallery-lightbox-content {
  border-color: #111;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.45);
}
body.light-mode .gallery-lightbox-content img {
  filter: grayscale(100%);
}
body.light-mode .gallery-lightbox-caption {
  color: #111;
}
body.light-mode .gallery-lightbox-close {
  background: #fff;
  border-color: #111;
  color: #111;
}
body.light-mode .gallery-lightbox-close:hover {
  background: #111;
  color: #fff;
}

/* Modern-Mode */
html body.modern-mode .gallery-lightbox-content {
  border-radius: 16px;
  border-color: var(--m-accent);
  box-shadow: var(--m-shadow);
}
html body.modern-mode .gallery-lightbox-content img {
  border-radius: 10px;
}
html body.modern-mode .gallery-lightbox-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--m-text);
}
html body.modern-mode .gallery-lightbox-close {
  border-radius: 8px;
  border-color: var(--m-accent2);
  color: var(--m-accent2);
}

/* ============================================================
   SPIELE POPUP
   ============================================================ */
.games-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
}
.games-popup.open { display: block; }

.games-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 18, 0.88);
  backdrop-filter: blur(4px);
}

.games-popup-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 760px);
  max-height: 86vh;
  overflow-y: auto;
  background: var(--bg-panel);
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 229, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  border: 4px solid var(--neon-cyan);
  box-shadow:
    0 0 40px rgba(0, 240, 255, 0.5),
    8px 8px 0 0 var(--neon-magenta);
  clip-path: polygon(
    0 16px, 16px 0,
    calc(100% - 16px) 0, 100% 16px,
    100% calc(100% - 16px), calc(100% - 16px) 100%,
    16px 100%, 0 calc(100% - 16px)
  );
  padding: 22px 24px 28px;
}

.games-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 4px solid var(--neon-green);
  box-shadow: 0 4px 0 -1px rgba(57, 255, 20, 0.4);
}

.games-popup-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.8rem;
  color: var(--neon-green);
  letter-spacing: 1px;
  text-shadow: 0 0 10px var(--neon-green);
}

.games-popup-close {
  width: 38px;
  height: 38px;
  background: rgba(255, 0, 229, 0.12);
  border: 2px solid var(--neon-magenta);
  color: var(--neon-magenta);
  font-family: 'Press Start 2P', monospace;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  transition: all 0.12s steps(2);
}
.games-popup-close:hover {
  background: var(--neon-magenta);
  color: #0a0512;
  box-shadow: 0 0 18px var(--neon-magenta);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.game-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 14px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.62rem;
  line-height: 1.6;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  color: #0a0512;
  border: 3px solid #fff;
  box-shadow: 5px 5px 0 0 rgba(0, 0, 0, 0.5);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: transform 0.12s steps(2), box-shadow 0.12s steps(2), filter 0.12s;
  text-align: center;
  word-break: break-word;
}
.game-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 0.5);
  filter: brightness(1.15);
}
.game-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.5);
}

/* 8 Farben – Passe die Hintergründe gerne an */
.game-btn.color-1 { background: #39ff14; } /* Neon Grün   */
.game-btn.color-2 { background: #00f0ff; } /* Neon Cyan   */
.game-btn.color-3 { background: #ff00e5; color: #fff; } /* Magenta */
.game-btn.color-4 { background: #ffe600; } /* Gelb        */
.game-btn.color-5 { background: #ff2d55; color: #fff; } /* Rot   */
.game-btn.color-6 { background: #b026ff; color: #fff; } /* Violett */
.game-btn.color-7 { background: #ff8c00; } /* Orange      */
.game-btn.color-8 { background: #2e8bff; color: #fff; } /* Blau  */

/* Light-Mode Variante */
body.light-mode .games-popup-inner {
  background: #fff;
  border-color: #111;
  box-shadow: 0 0 30px rgba(0,0,0,0.25), 8px 8px 0 0 #333;
}
body.light-mode .games-popup-title { color: #111; text-shadow: none; }
body.light-mode .games-popup-header { border-bottom-color: #111; box-shadow: none; }
body.light-mode .games-popup-close { border-color: #111; color: #111; background: #eee; }
body.light-mode .games-popup-close:hover { background: #111; color: #fff; }
body.light-mode .game-btn { border-color: #111; box-shadow: 5px 5px 0 0 rgba(0,0,0,0.35); }

@media (max-width: 600px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .game-btn { font-size: 0.5rem; padding: 16px 8px; }
  .games-popup-title { font-size: 0.6rem; }
  .games-popup-inner { padding: 16px; }
}


/* ===== SPIELE KATEGORIEN ===== */
.games-category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  border-bottom: 2px dashed rgba(0, 240, 255, 0.35);
  position: sticky;
  top: 0;
  background: var(--bg-panel);
  z-index: 5;
}

.games-category-btn {
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  background: rgba(0, 240, 255, 0.06);
  color: var(--neon-cyan);
  border: 2px solid var(--neon-cyan);
  cursor: pointer;
  transition: all 0.12s steps(2);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.games-category-btn:hover {
  background: rgba(0, 240, 255, 0.18);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.games-category-btn.active {
  background: var(--neon-green);
  color: #0a0512;
  border-color: var(--neon-green);
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.6);
}

/* ============================================================
   LIVE GAMES – Liste
   ============================================================ */
.livegames-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.livegame-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 20px;
  background: var(--bg-panel);
  border: 2px solid var(--accent, var(--neon-cyan));
  border-left: 8px solid var(--accent, var(--neon-cyan));
  color: #d8f5e0;
  text-decoration: none;
  font-family: 'VT323', monospace;
  font-size: 1.3rem;
  letter-spacing: 1px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent, var(--neon-cyan)) 25%, transparent);
  transition: transform 0.12s steps(2), box-shadow 0.12s, background 0.12s;
}

.livegame-item:hover {
  transform: translateX(6px);
  background: color-mix(in srgb, var(--accent, var(--neon-cyan)) 10%, var(--bg-panel));
  box-shadow: 0 0 25px color-mix(in srgb, var(--accent, var(--neon-cyan)) 60%, transparent);
}

.livegame-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 2px solid;
  border-radius: 4px;
  flex-shrink: 0;
}

.livegame-title {
  flex: 1;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--accent, var(--neon-cyan));
  text-shadow: 0 0 8px color-mix(in srgb, var(--accent, var(--neon-cyan)) 60%, transparent);
}

.livegame-cat {
  font-size: 0.95rem;
  color: #8fa8a0;
  letter-spacing: 1px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.livegame-play {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  padding: 6px 12px;
  border: 2px solid;
  text-decoration: none;
  flex-shrink: 0;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .livegame-cat { display: none; }
  .livegame-title { font-size: 0.58rem; }
  .livegame-item { gap: 10px; padding: 10px 12px; }
}

/* ============================================================
   LIVE GAMES – KATEGORIEN-REITER
   ============================================================ */
.livegames-category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  padding: 14px;
  background: rgba(0, 240, 255, 0.04);
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.25), inset 0 0 18px rgba(0, 240, 255, 0.05);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.livegames-category-btn {
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  background: rgba(10, 5, 18, 0.6);
  color: var(--neon-cyan);
  border: 2px solid var(--neon-cyan);
  cursor: pointer;
  transition: all 0.12s steps(2);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.livegames-category-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  color: #fff;
  box-shadow: 0 0 12px var(--neon-cyan);
}

.livegames-category-btn.active {
  background: var(--neon-green);
  color: #0a0512;
  border-color: var(--neon-green);
  box-shadow: 0 0 16px var(--neon-green), inset 0 0 8px rgba(0,0,0,0.2);
}

/* Light-Mode Anpassung */
body.light-mode .livegames-category-bar {
  background: rgba(0,0,0,0.04);
  border-color: #111;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
body.light-mode .livegames-category-btn {
  background: #fff;
  color: #111;
  border-color: #111;
}
body.light-mode .livegames-category-btn:hover {
  background: rgba(0,0,0,0.08);
}
body.light-mode .livegames-category-btn.active {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}