@charset "UTF-8";

/* =========================
   FONT MONTSERRAT
========================= */
@font-face {
  font-family: "Montserrat";
  src: url("font/Montserrat-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("font/Montserrat-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("font/Montserrat-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("font/Montserrat-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: "Montserrat", "Segoe UI", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
  background: black;
  color: white;
}

:root {
  --heading-font-readable: "Montserrat", "Segoe UI", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
}

/* Lesbare Ueberschriften auf allen Seiten */
h1,
h2,
h3,
.page-content h1,
.content-section h2,
.tab-content h2,
.tab-content h3,
.streams-header h1,
.leitfaden-header h1,
.coming-soon-content h2 {
  font-family: var(--heading-font-readable) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* =========================
   VIDEO INTRO
========================= */
#video-intro {
  position: fixed;
  inset: 0;
  background: black;
  z-index: 9999;
}

#video-intro video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* LOGO OBEN LINKS */
#logo-fixed {
  position: absolute;
  top: 20px;
  left: 20px;
  height: 80px;
  z-index: 10003;
  filter: drop-shadow(0 0 6px #000);
}

/* =========================
   INTRO TEXT
========================= */
.intro-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  font-family: var(--body-font-readable), sans-serif;
  font-size: 4.5rem;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
  color: #000;
  text-shadow:
    0 0 8px #ffd700,
    0 0 16px #ffcc00,
    0 0 28px #ffb700,
    0 0 40px #ffb700;
  z-index: 10001;
}

.intro-text.show {
  opacity: 1;
  animation: introIn 1s forwards;
}

@keyframes introIn {
  from { transform: translate(-50%, -50%) scale(.4); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* =========================
   BUTTONS INTRO
========================= */
#continue-btn {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10005;
  padding: 16px 40px;
  font-size: 1.8rem;
  font-family: var(--body-font-readable);
  background: linear-gradient(45deg, #ffd700, #ffb700);
  color: black;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 20px #ffd700;
  animation: glowPulse 2s ease-in-out infinite;
}

#continue-btn:hover {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 0 40px #ffd700, 0 0 60px #ff4500;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px #ffd700;
    transform: translateX(-50%) scale(1);
  }
  50% {
    box-shadow: 0 0 40px #ffd700, 0 0 60px #ff4500;
    transform: translateX(-50%) scale(1.05);
  }
}

#skip-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px 16px;
  background: rgba(0,0,0,0.6);
  border: 1px solid white;
  color: white;
  border-radius: 5px;
  z-index: 10002;
}

/* =========================
   AUDIO INTRO
========================= */
#audio-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(30,30,30,0.8));
  padding: 15px 25px;
  border-radius: 50px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  z-index: 10002;
}

#toggle-audio {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#toggle-audio:hover {
  transform: scale(1.2);
}

#volume-slider {
  width: 120px;
  height: 6px;
  background: linear-gradient(to right, rgba(255,215,0,0.3), rgba(255,215,0,0.3));
  border-radius: 10px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #ffd700, #ffb700);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  transition: all 0.2s ease;
}

#volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

#volume-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #ffd700, #ffb700);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  transition: all 0.2s ease;
}

#volume-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

/* =========================
   SEITE 2 BACKGROUND
========================= */
#skip-screen {
  position: fixed;
  inset: 0;
  background: url("hintergrund/hintergrund.jpg") center/cover no-repeat;
}

#skip-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

#skip-screen::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 420px;
  height: 90vh;
  background: url("figur/figur.png") bottom right/contain no-repeat;
  pointer-events: none;
}

/* Make the figur fully visible and allow a slide-up animation.
   Start OFF-SCREEN (translateY(100%) + invisible) and slide to 0 when `.figur-up` is set. */
#skip-screen::after {
  z-index: 2;
  transform: translateY(110%);
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 1.4s cubic-bezier(.22,.9,.31,1), opacity 0.8s ease;
}

/* When the page has the class `figur-up` the figur slides up into view */
#skip-screen.figur-up::after {
  transform: translateY(0);
  opacity: 1;
}

/* =========================
   GALERIE SLIDER
========================= */
#gallery-slider {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 230px;
  z-index: 10;
}

.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: auto;
  padding: 10px 70px;
}

.gallery-track::-webkit-scrollbar { display: none; }

.gallery-track img {
  width: 320px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 15px black;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  font-size: 28px;
  background: rgba(0,0,0,0.7);
  color: white;
  cursor: pointer;
  z-index: 20;
}

.gallery-btn.left { left: 10px; }
.gallery-btn.right { right: 10px; }

/* =========================
   BUTTON ROW
========================= */
#button-row {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 40px;
  z-index: 10;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  border-radius: 14px;
  font-size: 2rem;
  font-family: var(--body-font-readable), sans-serif;
  text-decoration: none;
  color: white;
  transition: transform 0.2s ease;
}

.social-btn img {
  width: 50px;
  height: 50px;
}

.social-btn.discord {
  background: linear-gradient(45deg, #5865F2, #000);
}

.social-btn.tiktok {
  background: linear-gradient(45deg, #ff0050, #000);
}

.social-btn.highlight {
  background: linear-gradient(45deg, #ff4500, #000);
  color: white;
}

/* =========================
   LOGO + TS
========================= */
#logo-top-right {
  position: fixed;
  top: 30px;
  right: 30px;
  height: 180px;
  z-index: 20;
}

/* Logo auf Highlight Screen oben links */
#highlight-screen #logo-top-right {
  top: 20px;
  left: 20px;
  right: auto;
  height: 100px;
  z-index: 9999;
}

#ts-info {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(0,0,0,0.65);
  padding: 10px 16px;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  z-index: 9999;
}

/* =========================
   HIGHLIGHT SCREEN
========================= */
#highlight-screen {
  position: fixed;
  inset: 0;
  z-index: 9000;
}

#highlight-bg {
  position: fixed;
  inset: 0;
  background: url("hintergrund/hintergrund.jpg") center/cover no-repeat;
  z-index: 0;
}

#highlight-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.highlight-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.highlight-content h1 {
  font-family: var(--body-font-readable), sans-serif;
  font-size: 5.5rem;
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.highlight-content p {
  font-family: var(--body-font-readable), sans-serif;
  font-size: 2.2rem;
  color: white;
}


/* =========================
   HIGHLIGHT VIDEO SLIDER (FIX)
========================= */
#highlight-slider {
  width: 100%;
  max-width: 1220px;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;
}

.hl-track {
  display: flex;
  align-items: center;
  gap: 40px;
  transition: transform 0.5s cubic-bezier(.2,.9,.2,1);
  flex-shrink: 0;
}

.hl-video {
  flex-shrink: 0;
  width: 380px;
  height: 230px;
  opacity: 1;
  transform: scale(0.8);
  transform-origin: center center;
  pointer-events: auto;
  transition: transform 0.35s cubic-bezier(.2,.9,.2,1), filter 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  filter: brightness(0.75);
}

.hl-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  background: black;
  pointer-events: auto;
}

.hl-video.active {
  transform: scale(1.25);
  opacity: 1;
  pointer-events: auto;
  z-index: 20;
  box-shadow: 0 15px 50px rgba(255, 215, 0, 0.25);
  filter: brightness(1);
}

.hl-video:not(.active):hover {
  filter: brightness(0.85);
  transform: scale(0.9);
}

/* Buttons */
.hl-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  font-size: 32px;
  background: rgba(0,0,0,0.7);
  color: white;
  cursor: pointer;
  z-index: 20;
}

.hl-btn.left { left: 10px; }
.hl-btn.right { right: 10px; }

/* Move the nav arrows closer to the center */
.hl-btn.left { left: 10px; }
.hl-btn.right { right: 10px; }

/* Back Button */
.highlight-back {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  padding: 18px 50px;
  font-size: 2rem;
  font-family: var(--body-font-readable), sans-serif;
  background: linear-gradient(45deg, #ffd700, #ffb700);
  color: black;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  transition: all 0.3s ease;
  z-index: 9999;
}

.highlight-back:hover {
  transform: translateX(-50%) scale(1.08);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
}

/* =========================
   HIDDEN
========================= */
.hidden { display: none; }
/* =========================
   AUDIO SEITE 2 â€“ FIX
========================= */
#skip-audio-controls,
#philosophie-audio-controls {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(30,30,30,0.8));
  padding: 15px 25px;
  border-radius: 50px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  z-index: 9999;
}

#skip-toggle-audio,
#philo-toggle-audio {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
  transition: transform 0.2s ease;
}

#skip-toggle-audio:hover,
#philo-toggle-audio:hover {
  transform: scale(1.2);
}

#skip-volume-slider,
#philo-volume-slider {
  width: 120px;
  height: 6px;
  background: linear-gradient(to right, rgba(255,215,0,0.3), rgba(255,215,0,0.3));
  border-radius: 10px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

#skip-volume-slider::-webkit-slider-thumb,
#philo-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #ffd700, #ffb700);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  transition: all 0.2s ease;
}

#skip-volume-slider::-webkit-slider-thumb:hover,
#philo-volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

#skip-volume-slider::-moz-range-thumb,
#philo-volume-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #ffd700, #ffb700);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  transition: all 0.2s ease;
}

#skip-volume-slider::-moz-range-thumb:hover,
#philo-volume-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}
/* =====================================================
   FIXES â€“ NUR ERGÃ„NZUNGEN, NICHTS ENTFERNT
   ===================================================== */

/* Galerie: Scroll darf NICHT durch html/body blockiert werden */
#gallery-slider,
.gallery-track {
  pointer-events: auto;
}

.gallery-track {
  overflow-x: auto;
  overflow-y: hidden;
}

/* Sicherheit: Galerie liegt Ã¼ber Overlays */
#gallery-slider {
  z-index: 15;
}

/* Logo oben links auch auf Seite 2 sichtbar */
#skip-screen #logo-fixed {
  position: absolute;
  top: 20px;
  left: 20px;
  height: 80px;
  z-index: 10003;
}

/* Audio Controls Seite 2 â€“ nur Fallback */
#skip-audio-controls,
#philosophie-audio-controls {
  pointer-events: auto;
}
/* =====================================================
   FIX: Logo oben rechts auf Seite 2 ausblenden
   (HTML bleibt unverÃ¤ndert)
   ===================================================== */

#skip-screen #logo-top-right {
  display: none;
}
/* =====================================================
   FIX: Galerie wieder klick- & ziehbar
   Ursache: skip-screen::before blockiert Pointer Events
   ===================================================== */

#skip-screen::before {
  pointer-events: none;
}

#skip-screen::after {
  pointer-events: none;
}

#gallery-slider,
.gallery-track,
.gallery-track img {
  pointer-events: auto;
  z-index: 10;
}
/* =====================================================
   FINAL FIX: Galerie Pfeile + Ziehen repariert
   (nur ErgÃ¤nzungen, nichts entfernt)
   ===================================================== */

/* Mehr Platz fÃ¼r Pfeile */
#gallery-slider {
  padding-left: 90px;
  padding-right: 90px;
}

/* Pfeile IMMER Ã¼ber Bildern */
.gallery-btn {
  z-index: 50;
  pointer-events: auto;
}

/* Bilder dÃ¼rfen Drag & Scroll */
.gallery-track {
  pointer-events: auto;
  cursor: grab;
}

.gallery-track:active {
  cursor: grabbing;
}

/* Bilder dÃ¼rfen angeklickt werden */
.gallery-track img {
  pointer-events: auto;
  cursor: pointer;
}

/* =========================
   VOICE AUDIO CONTROLS
========================= */
#voice-audio-controls,
#philosophie-voice-controls {
  position: fixed;
  bottom: 60px;
  right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

#toggle-voice-audio,
#philo-toggle-voice-audio {
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(30,30,30,0.8));
  border: 2px solid rgba(255, 215, 0, 0.5);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 28px;
  cursor: pointer;
  color: white;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

#toggle-voice-audio:hover,
#philo-toggle-voice-audio:hover {
  transform: scale(1.15);
  border-color: rgba(255, 215, 0, 0.8);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.3);
}

/* =========================
   GALLERY IMAGE LIGHTBOX MODAL
========================= */
#gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

#gallery-modal.hidden {
  display: none;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#modal-image {
  max-width: 85vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
}

.modal-controls {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.modal-btn {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.8), rgba(255, 183, 0, 0.8));
  border: 2px solid rgba(255, 215, 0, 0.6);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  color: black;
  transition: all 0.2s ease;
  font-weight: bold;
}

.modal-btn:hover {
  transform: scale(1.2);
  background: linear-gradient(135deg, rgba(255, 215, 0, 1), rgba(255, 183, 0, 1));
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* =========================
   HIGHLIGHT VIDEO LIGHTBOX MODAL
========================= */
#video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

#video-modal.hidden {
  display: none;
}

.video-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#modal-video {
  max-width: 85vw;
  max-height: 75vh;
  border-radius: 15px;
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
  background: black;
}

/* =========================
   NAVIGATION TABS
========================= */
#nav-tabs {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 15px;
  z-index: 1000;
}

.nav-tab {
  font-family: var(--heading-font-readable), sans-serif;
  font-weight: 700;
  font-size: 20px;
  padding: 14px 28px;
  background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(20,20,20,0.95));
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 10px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.nav-tab:hover {
  border-color: rgba(255, 215, 0, 0.8);
  transform: translateY(-2px);
  box-shadow: 
    0 6px 20px rgba(0,0,0,0.6),
    0 0 20px rgba(255, 215, 0, 0.4);
  text-shadow: 
    0 0 8px rgba(255, 255, 255, 0.9),
    0 0 15px rgba(255, 255, 255, 0.7);
}

.nav-tab:active {
  transform: translateY(0);
}

.nav-tab.active {
  background: linear-gradient(45deg, #ff4500, #ffd700);
  border-color: rgba(255, 215, 0, 0.8);
  color: #000;
  text-shadow: none;
  font-weight: bold;
}

/* Tabs auf Unterseiten etwas nach unten */
#regeln-page #nav-tabs,
#gesetze-page #nav-tabs,
#philosophie-page #nav-tabs,
#leitfaden-page #nav-tabs {
  top: 100px;
}

/* =========================
   TAB CONTENT
========================= */
#tab-contents {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  pointer-events: none;
}

.tab-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  background: linear-gradient(135deg, rgba(10,10,10,0.98), rgba(30,30,30,0.98));
  border: 3px solid rgba(255, 215, 0, 0.6);
  border-radius: 20px;
  padding: 40px;
  overflow-y: auto;
  box-shadow: 
    0 10px 50px rgba(0,0,0,0.9),
    0 0 40px rgba(255, 215, 0, 0.3),
    inset 0 0 30px rgba(255, 215, 0, 0.05);
  backdrop-filter: blur(15px);
  pointer-events: all;
}

.tab-content.hidden {
  display: none;
}

.tab-content h2 {
  font-family: var(--body-font-readable), sans-serif;
  font-size: 42px;
  color: #ffd700;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 
    0 0 10px rgba(255, 215, 0, 0.8),
    0 0 20px rgba(255, 183, 0, 0.6),
    0 0 30px rgba(255, 183, 0, 0.4);
}

.tab-content h3 {
  font-family: var(--body-font-readable), sans-serif;
  font-size: 28px;
  color: #ffcc00;
  margin-top: 25px;
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 204, 0, 0.6);
}

.content-text {
  font-size: 16px;
  line-height: 1.8;
  color: #e0e0e0;
}

.content-text p {
  margin-bottom: 15px;
}

.content-text ul {
  list-style: none;
  padding-left: 0;
}

.content-text li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.content-text li:before {
  content: "\25B8";
  position: absolute;
  left: 0;
  color: #ffd700;
  font-size: 18px;
}

.content-text strong {
  color: #ffd700;
}

.close-tab {
  display: block;
  margin: 30px auto 0;
  font-family: var(--body-font-readable), sans-serif;
  font-size: 20px;
  padding: 12px 30px;
  background: linear-gradient(135deg, #ffd700, #ffb700);
  border: none;
  border-radius: 10px;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.close-tab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.close-tab:active {
  transform: scale(0.98);
}

/* Scrollbar Styling fÃ¼r Tab Content */
.tab-content::-webkit-scrollbar {
  width: 10px;
}

.tab-content::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
}

.tab-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ffd700, #ffb700);
  border-radius: 10px;
}

.tab-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ffcc00, #ffa500);
}

/* =========================
   REGELN / GESETZE / PHILOSOPHIE SEITEN
========================= */
#regeln-page,
#gesetze-page,
#philosophie-page,
#streams-page,
#leitfaden-page {
  position: fixed;
  inset: 0;
  background: url('hintergrund/hintergrund.jpg') center/cover no-repeat;
  z-index: 10000;
  overflow-y: auto;
}

#regeln-page #logo-fixed,
#gesetze-page #logo-fixed,
#philosophie-page #logo-fixed,
#leitfaden-page #logo-fixed {
  position: fixed;
  top: 20px;
  left: 20px;
  height: 80px;
  z-index: 10003;
  filter: drop-shadow(0 0 6px #000);
}

#philosophie-page::after {
  content: "";
  position: fixed;
  right: 0;
  bottom: 0;
  width: 420px;
  height: 90vh;
  background: url("figur/figur.png") bottom right/contain no-repeat;
  pointer-events: none;
  z-index: 10001;
  transform: translateY(110%);
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 1.4s cubic-bezier(.22,.9,.31,1), opacity 0.8s ease;
}

#philosophie-page.figur-up::after {
  transform: translateY(0);
  opacity: 1;
}

#streams-page #logo-fixed {
  position: fixed;
  bottom: 20px;
  left: 20px;
  top: auto;
  height: 80px;
  z-index: 10003;
  filter: drop-shadow(0 0 6px #000);
}

.back-btn {
  position: fixed;
  top: 30px;
  right: 30px;
  font-family: var(--body-font-readable), sans-serif;
  font-size: 24px;
  padding: 12px 30px;
  background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(20,20,20,0.95));
  border: 2px solid rgba(255, 215, 0, 0.5);
  border-radius: 10px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  z-index: 10002;
}

.back-btn:hover {
  border-color: rgba(255, 215, 0, 0.8);
  transform: translateY(-2px);
  box-shadow: 
    0 6px 20px rgba(0,0,0,0.6),
    0 0 20px rgba(255, 215, 0, 0.4);
}

.back-btn:active {
  transform: translateY(0);
}

/* Sidebar Navigation */
.regeln-sidebar {
  position: fixed;
  left: 30px;
  top: 150px;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10001;
}

.gesetze-sidebar {
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  padding-right: 6px;
}

#gesetze-page .regeln-sidebar {
  width: 360px;
}

#gesetze-page .regeln-tab {
  font-family: var(--heading-font-readable), sans-serif;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  width: 100%;
  min-width: 0;
}

.gesetze-sidebar::-webkit-scrollbar {
  width: 8px;
}

.gesetze-sidebar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
}

.gesetze-sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff8a00, #ffd700);
  border-radius: 8px;
}

.regeln-tab {
  font-family: var(--heading-font-readable), sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 15px 20px;
  background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(20,20,20,0.9));
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-align: left;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.regeln-tab:hover {
  border-color: rgba(255, 215, 0, 0.6);
  transform: translateX(5px);
  box-shadow: 
    0 6px 20px rgba(0,0,0,0.6),
    0 0 15px rgba(255, 215, 0, 0.3);
}

.regeln-tab.active {
  background: linear-gradient(45deg, #ff4500, #ffd700);
  border-color: rgba(255, 215, 0, 0.8);
  color: #000;
  text-shadow: none;
  font-weight: bold;
  box-shadow: 
    0 6px 25px rgba(0,0,0,0.7),
    0 0 20px rgba(255, 215, 0, 0.4);
}

.regeln-tab.active:hover {
  transform: translateX(8px);
}

.page-content {
  max-width: 1000px;
  margin: 150px auto 50px auto;
  padding: 50px;
  background: linear-gradient(135deg, rgba(10,10,10,0.95), rgba(30,30,30,0.95));
  border: 3px solid rgba(255, 215, 0, 0.5);
  border-radius: 20px;
  box-shadow: 
    0 10px 50px rgba(0,0,0,0.9),
    0 0 40px rgba(255, 215, 0, 0.2),
    inset 0 0 30px rgba(255, 215, 0, 0.05);
  backdrop-filter: blur(15px);
}

.regeln-content {
  display: none;
}

.regeln-content.active {
  display: block;
}

.gesetz-raw {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--body-font-readable), sans-serif;
  font-size: 16px;
  line-height: 1.45;
  color: #f5f5f5;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0;
  max-height: 68vh;
  overflow-y: auto;
}

.page-content h1 {
  font-family: var(--body-font-readable), sans-serif;
  font-size: 56px;
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.page-content h1 .emoji {
  font-size: 56px;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.page-content h1 .gradient-text {
  background: linear-gradient(45deg, #ff4500, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(255, 69, 0, 0.6)) drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
}

.content-section {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.content-section h2 {
  font-family: var(--body-font-readable), sans-serif;
  font-size: 36px;
  color: #ffcc00;
  margin-top: 40px;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 204, 0, 0.6);
}

.content-section ul {
  list-style: none;
  padding: 0;
  font-size: 18px;
  line-height: 2;
  color: #e0e0e0;
  display: inline-block;
  text-align: left;
}

.content-section li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.content-section li:before {
  content: "\25B8";
  position: absolute;
  left: 0;
  color: #ffd700;
  font-size: 20px;
}

.content-section strong {
  color: #ffd700;
}

/* Rules page specific readability tuning */
#regeln-page .content-section {
  text-align: left;
  max-width: 920px;
}

#regeln-page .content-section ul {
  display: block;
  width: 100%;
  max-width: 100%;
}

#regeln-page .content-section li {
  margin-bottom: 10px;
  padding: 12px 14px 12px 34px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.12);
  border-left: 3px solid rgba(255, 215, 0, 0.45);
  border-radius: 10px;
}

#regeln-page .content-section li:before {
  left: 12px;
  top: 10px;
}

/* Gesetze: use paragraph sign as list marker */
#gesetze-page .content-section li:before,
#gesetze-page .content-text li:before {
  content: "\00A7";
  font-weight: 700;
}

/* Scrollbar fÃ¼r Regeln/Gesetze/Philosophie-Seiten */
#regeln-page::-webkit-scrollbar,
#gesetze-page::-webkit-scrollbar,
#philosophie-page::-webkit-scrollbar {
  width: 12px;
}

#regeln-page::-webkit-scrollbar-track,
#gesetze-page::-webkit-scrollbar-track,
#philosophie-page::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.3);
}

#regeln-page::-webkit-scrollbar-thumb,
#gesetze-page::-webkit-scrollbar-thumb,
#philosophie-page::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ffd700, #ffb700);
  border-radius: 10px;
}

#regeln-page::-webkit-scrollbar-thumb:hover,
#gesetze-page::-webkit-scrollbar-thumb:hover,
#philosophie-page::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ffcc00, #ffa500);
}

/* =========================
   COMING SOON OVERLAY
========================= */
.coming-soon-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10004;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.coming-soon-content {
  text-align: center;
  padding: 60px 80px;
  background: rgba(0, 0, 0, 0.9);
  border: 3px solid #ffd700;
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.6);
  animation: fadeInBounce 1s ease-out;
  pointer-events: auto;
}

.coming-soon-content h2 {
  font-family: var(--body-font-readable), sans-serif;
  font-size: 5rem;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(255, 69, 0, 0.8);
  animation: pulse 2s infinite;
}

.coming-soon-content p {
  font-size: 1.5rem;
  color: #ffd700;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.coming-soon-back {
  margin-top: 30px;
  padding: 15px 40px;
  font-size: 1.3rem;
  font-weight: bold;
  background: linear-gradient(45deg, #ff4500, #ffd700);
  border: 2px solid #ffd700;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.coming-soon-back:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
  background: linear-gradient(45deg, #ffd700, #ff4500);
}

@keyframes fadeInBounce {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* =========================
   LIVE STREAMS SEITE
========================= */
.streams-header {
  text-align: center;
  padding: 40px 20px 20px;
}

.streams-header h1 {
  font-family: var(--body-font-readable), sans-serif;
  font-size: 4rem;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(255, 69, 0, 0.8);
}

.streams-header p {
  font-size: 1.2rem;
  color: #ffd700;
}

/* LEITFADEN HEADER */
.leitfaden-header {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
}

.leitfaden-header h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.leitfaden-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* LEITFADEN CONTENT */
.leitfaden-content {
  display: block;
}

/* Leitfaden: force a consistent left alignment for all text sections */
#leitfaden-page .content-section {
  text-align: left;
  max-width: 900px;
}

#leitfaden-page .content-section h2 {
  text-align: left;
  margin-left: 0;
  padding-left: 0;
}

#leitfaden-page .content-section ul {
  display: block;
  width: 100%;
  text-align: left;
  margin: 0 0 14px 0;
  padding-left: 30px;
}

#leitfaden-page .content-section li,
#leitfaden-page .content-section p {
  text-align: left;
}

/* CONTENT SECTION STYLES FOR LEITFADEN */
.content-section h2 {
  color: #ffd700;
  font-size: 1.4em;
  margin-top: 20px;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.6;
  padding-top: 10px;
}

.content-section ul {
  list-style-type: disc;
  padding-left: 30px;
  margin: 0 0 10px 0;
  line-height: 1.6;
}

.content-section li {
  margin-bottom: 5px;
  line-height: 1.6;
  text-align: left;
  color: #ffffff;
  vertical-align: top;
}

.content-section li::marker {
  color: #ffffff;
  font-size: 1.2em;
  vertical-align: top;
}

.content-section p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #ffffff;
}

/* STREAMS SLIDESHOW */
.streams-slideshow-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 80px;
}

.stream-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 69, 0, 0.8);
  border: 2px solid #ffd700;
  border-radius: 50%;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.stream-nav-btn:hover {
  background: linear-gradient(45deg, #ff4500, #ffd700);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.stream-nav-btn.left {
  left: 10px;
}

.stream-nav-btn.right {
  right: 10px;
}

.streams-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  scrollbar-width: none;
}

.streams-track::-webkit-scrollbar {
  display: none;
}

.stream-box {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #ff4500;
  border-radius: 15px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
  display: block;
}

.stream-box:hover {
  border-color: #ffd700;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  transform: scale(1.02);
}

.stream-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}

.stream-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.stream-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay-stream {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stream-box:hover .play-overlay-stream {
  opacity: 1;
}

.play-button-stream {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #ff4500, #ffd700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  animation: pulse 2s infinite;
}

/* =========================
   READABILITY TUNING
========================= */

:root {
  --body-font-readable: "Montserrat", "Segoe UI", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
}

/* Klarere Ueberschriften mit ruhigerem Letter-Spacing */
h1,
h2,
h3,
.tab-content h2,
.tab-content h3,
.page-content h1,
.content-section h2,
.streams-header h1,
.leitfaden-header h1 {
  font-family: var(--heading-font-readable), sans-serif !important;
  letter-spacing: 0.01em !important;
  line-height: 1.25;
}

/* Reiter im Gesetze/Regeln-Bereich lesbarer */
#gesetze-page .regeln-tab,
#regeln-page .regeln-tab,
.regeln-tab,
.nav-tab {
  font-family: var(--heading-font-readable), sans-serif !important;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.35;
}

#gesetze-page .regeln-tab,
#regeln-page .regeln-tab,
.regeln-tab {
  font-size: clamp(17px, 1.1vw, 20px);
  padding: 14px 18px;
}

/* Gesetzestexte und Fliesstexte mit mehr Kontrast und Zeilenabstand */
.gesetz-raw,
.content-text,
.content-text li,
.content-section ul,
.content-section li,
.content-section p {
  font-family: var(--body-font-readable), sans-serif;
}

.gesetz-raw {
  font-size: 18px;
  line-height: 1.65;
  color: #ffffff;
}

.content-text {
  font-size: 18px;
  line-height: 1.7;
  color: #f1f1f1;
}

.live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff0000;
  color: white;
  padding: 5px 15px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 2px 10px rgba(255, 0, 0, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.stream-info {
  padding: 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
}

.stream-info h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  background: linear-gradient(45deg, #ff4500, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stream-info p {
  color: #9147ff;
  font-weight: bold;
  font-size: 1rem;
}

/* =========================
   MOBILE OPTIMIERUNG
========================= */
@media screen and (max-width: 768px) {
  /* Logo kleiner auf Handy */
  #logo-fixed {
    height: 50px;
    top: 10px;
    left: 10px;
  }

  /* Intro Text kleiner */
  .intro-text {
    font-size: 2rem;
    max-width: 90%;
    padding: 0 20px;
  }

  /* Continue Button anpassen */
  #continue-btn {
    bottom: 80px;
    padding: 12px 30px;
    font-size: 1.3rem;
  }

  /* Skip Button */
  #skip-btn {
    top: 10px;
    right: 10px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  /* Audio Controls */
  #audio-controls {
    bottom: 10px;
    padding: 10px 15px;
    gap: 10px;
    font-size: 0.9rem;
  }

  #audio-controls button {
    font-size: 1.2rem;
  }

  #volume-slider {
    width: 80px;
  }

  /* Navigation Tabs horizontal scrollbar */
  #nav-tabs {
    padding: 15px 10px;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .nav-tab {
    padding: 10px 15px;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Audio Controls Seite 2 */
  #skip-audio-controls,
  #philosophie-audio-controls {
    bottom: 10px;
    padding: 10px 15px;
    gap: 10px;
  }

  #skip-audio-controls button,
  #philosophie-audio-controls button {
    font-size: 1.2rem;
  }

  #skip-volume-slider,
  #philo-volume-slider {
    width: 70px;
  }

  /* Voice Audio Controls */
  #voice-audio-controls,
  #philosophie-voice-controls {
    bottom: 80px;
    right: 10px;
  }

  #toggle-voice-audio,
  #philo-toggle-voice-audio {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  /* Tab Content */
  .tab-content {
    width: 95%;
    max-width: 95%;
    padding: 20px;
    max-height: 70vh;
  }

  .tab-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .tab-content h3 {
    font-size: 1.3rem;
  }

  .content-text {
    font-size: 0.9rem;
  }

  .close-tab {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  /* Regeln Grid */
  .regeln-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px 0;
  }

  .regel-card h3 {
    font-size: 1.1rem;
  }

  .regel-card ul li {
    font-size: 0.85rem;
  }

  /* Stream Grid */
  .stream-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 10px;
  }

  .stream-box {
    max-width: 100%;
  }

  /* Seite 2 Overlay */
  #page2-overlay {
    padding: 15px;
  }

  /* Philosophie Content */
  #content-philosophie .content-text p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Gesetze Content */
  #content-gesetze ul li {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  /* Figur auf Mobile verstecken oder verkleinern */
  #skip-screen::after {
    width: 200px;
    height: 60vh;
    opacity: 0.4;
  }

  /* Button Row vertikal stapeln auf Mobil */
  #button-row {
    flex-direction: column;
    gap: 15px;
    top: 58%;
  }

  .social-btn {
    padding: 15px 30px;
    font-size: 1.5rem;
    width: 80vw;
    max-width: 300px;
    justify-content: center;
  }

  .social-btn img {
    width: 35px;
    height: 35px;
  }

  /* Galerie Slider */
  #gallery-slider {
    width: 100%;
    top: 90px;
    height: 160px;
  }

  .gallery-track {
    padding: 10px 40px;
    gap: 10px;
  }

  .gallery-track img {
    width: 220px;
    height: 130px;
  }

  /* Gallery Buttons */
  .gallery-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .gallery-btn.left { left: 5px; }
  .gallery-btn.right { right: 5px; }

  /* Logo Top Right verstecken auf Mobil */
  #logo-top-right {
    display: none;
  }

  /* TS Info */
  #ts-info {
    bottom: 10px;
    left: 10px;
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  /* Navigation Tabs neu positionieren */
  #nav-tabs {
    top: auto;
    bottom: 80px;
    right: 10px;
    left: 10px;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Tab Content anpassen */
  #tab-contents {
    overflow-y: auto;
  }
}

/* Sehr kleine Handys */
@media screen and (max-width: 480px) {
  .intro-text {
    font-size: 1.5rem;
  }

  #continue-btn {
    font-size: 1.1rem;
    padding: 10px 25px;
    bottom: 60px;
  }

  .tab-content h2 {
    font-size: 1.5rem;
  }

  .nav-tab {
    font-size: 0.75rem;
    padding: 8px 12px;
  }

  #logo-fixed {
    height: 40px;
  }

  /* Figur komplett ausblenden auf sehr kleinen GerÃ¤ten */
  #skip-screen::after {
    display: none;
  }

  /* Button Row noch kompakter */
  #button-row {
    gap: 10px;
    top: 60%;
  }

  .social-btn {
    padding: 12px 25px;
    font-size: 1.2rem;
    width: 85vw;
  }

  .social-btn img {
    width: 30px;
    height: 30px;
  }

  /* Galerie noch kleiner */
  #gallery-slider {
    top: 80px;
    height: 130px;
  }

  .gallery-track {
    padding: 10px 35px;
  }

  .gallery-track img {
    width: 180px;
    height: 110px;
  }

  .gallery-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  /* Navigation Tabs */
  #nav-tabs {
    bottom: 70px;
  }

  /* TS Info kleiner */
  #ts-info {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  /* Voice Audio Controls kleiner */
  #voice-audio-controls,
  #philosophie-voice-controls {
    bottom: 75px;
    right: 5px;
  }

  #toggle-voice-audio,
  #philo-toggle-voice-audio {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  /* Skip Audio Controls */
  #skip-audio-controls,
  #philosophie-audio-controls {
    bottom: 5px;
    padding: 8px 12px;
  }
}

/* =========================
   MOBILE FIX PASS (FINAL)
========================= */
@media screen and (max-width: 768px) {
  html, body {
    overscroll-behavior: none;
  }

  #nav-tabs {
    position: fixed;
    top: 12px;
    left: 70px;
    right: 10px;
    bottom: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 6px 0;
    z-index: 1005;
  }

  .nav-tab {
    font-size: 16px;
    padding: 10px 14px;
  }

  #gallery-slider {
    top: 108px;
    width: 100%;
    height: 170px;
    padding-left: 44px;
    padding-right: 44px;
  }

  .gallery-track {
    gap: 12px;
    padding: 8px 0;
    touch-action: pan-x;
  }

  .gallery-track img {
    width: 210px;
    height: 130px;
  }

  #button-row {
    width: 100%;
    top: calc(50% + 40px);
    padding: 0 14px;
  }

  .social-btn {
    width: 100%;
    max-width: 360px;
    min-height: 58px;
    font-size: 1.25rem;
  }

  #skip-screen::after,
  #philosophie-page::after {
    width: 180px;
    height: 48vh;
    opacity: 0.3;
  }

  .regeln-sidebar {
    left: 0;
    right: 0;
    top: 84px;
    width: 100%;
    padding: 0 12px;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
  }

  .regeln-tab {
    white-space: nowrap;
    min-width: max-content;
    font-size: 16px;
    padding: 11px 14px;
  }

  .regeln-tab:hover,
  .regeln-tab.active:hover {
    transform: none;
  }

  .page-content {
    max-width: 100%;
    margin: 150px 10px 110px;
    padding: 18px 14px;
    border-width: 2px;
  }

  .page-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .page-content h1 .emoji {
    font-size: 2rem;
  }

  .content-section h2 {
    font-size: 1.5rem;
    margin-top: 22px;
    margin-bottom: 12px;
  }

  .content-section ul {
    font-size: 1rem;
    line-height: 1.6;
    width: 100%;
  }

  #gesetze-page .gesetz-raw {
    font-size: 0.96rem;
    line-height: 1.38;
    padding: 12px 12px;
    max-height: 66vh;
  }

  .content-section li {
    margin-bottom: 10px;
    padding-left: 22px;
  }

  #regeln-page .regeln-sidebar {
    top: 70px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  #gesetze-page .regeln-sidebar {
    top: 70px;
    left: 10px;
    right: 10px;
    width: auto;
    max-height: 200px;
    padding: 8px;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 12px;
  }

  #gesetze-page .regeln-tab {
    min-width: 0;
    width: 100%;
    font-size: 14px;
    line-height: 1.25;
    white-space: normal;
  }

  #gesetze-page .page-content {
    margin-top: 285px;
  }

  #regeln-page .regeln-tab {
    scroll-snap-align: start;
  }

  #regeln-page .page-content {
    margin: 142px 8px 95px;
    padding: 14px 10px;
  }

  #regeln-page .content-section ul {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  #regeln-page .content-section li {
    margin-bottom: 8px;
    padding: 10px 10px 10px 30px;
  }

  #regeln-page .content-section li:before {
    left: 10px;
    top: 8px;
    font-size: 18px;
  }

  .back-btn {
    top: 12px;
    right: 10px;
    font-size: 16px;
    padding: 8px 12px;
    border-width: 1px;
  }

  .streams-header {
    padding: 84px 14px 8px;
  }

  .streams-header h1 {
    font-size: 2.1rem;
  }

  .streams-header p {
    font-size: 0.95rem;
  }

  .streams-slideshow-container {
    padding: 12px 44px;
  }

  .stream-box {
    flex: 0 0 86vw;
    max-width: 86vw;
  }

  .stream-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .stream-nav-btn.left {
    left: 0;
  }

  .stream-nav-btn.right {
    right: 0;
  }

  .highlight-content {
    gap: 12px;
    padding-top: 28px;
  }

  .highlight-content h1 {
    font-size: 2.4rem;
  }

  .highlight-content p {
    font-size: 1.1rem;
    text-align: center;
    padding: 0 12px;
  }

  #highlight-slider {
    height: 300px;
    max-width: 100%;
    padding: 0 44px;
  }

  .hl-track {
    gap: 16px;
  }

  .hl-video {
    width: 280px;
    height: 170px;
    transform: scale(0.88);
  }

  .hl-video.active {
    transform: scale(1.02);
  }

  .hl-btn {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .highlight-back {
    bottom: 16px;
    width: calc(100% - 24px);
    max-width: 360px;
    padding: 12px 20px;
    font-size: 1.25rem;
  }

  #voice-audio-controls,
  #philosophie-voice-controls {
    bottom: 70px;
    right: 10px;
  }

  #skip-audio-controls,
  #philosophie-audio-controls {
    bottom: 10px;
    max-width: calc(100% - 18px);
  }
}

@media screen and (max-width: 480px) {
  #nav-tabs {
    left: 58px;
    right: 8px;
  }

  .nav-tab {
    font-size: 14px;
    padding: 8px 11px;
  }

  #gallery-slider {
    top: 96px;
    height: 150px;
  }

  .gallery-track img {
    width: 180px;
    height: 112px;
  }

  .social-btn {
    font-size: 1.05rem;
    min-height: 52px;
    gap: 8px;
  }

  .stream-box {
    flex-basis: 84vw;
    max-width: 84vw;
  }

  #highlight-slider {
    height: 260px;
    padding: 0 36px;
  }

  .hl-video {
    width: 230px;
    height: 145px;
  }

  .highlight-content h1 {
    font-size: 2rem;
  }

  .highlight-content p {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 380px) {
  #logo-fixed {
    height: 34px;
    top: 8px;
    left: 8px;
  }

  #skip-btn {
    top: 8px;
    right: 8px;
    padding: 6px 9px;
    font-size: 0.72rem;
  }

  .intro-text {
    font-size: 1.25rem;
    line-height: 1.25;
    max-width: 94%;
    padding: 0 10px;
  }

  #continue-btn {
    bottom: 54px;
    font-size: 1rem;
    padding: 9px 18px;
  }

  #audio-controls {
    bottom: 6px;
    padding: 7px 10px;
    gap: 7px;
  }

  #toggle-audio {
    font-size: 18px;
  }

  #volume-slider {
    width: 56px;
  }

  #nav-tabs {
    left: 50px;
    right: 6px;
    top: 8px;
    gap: 6px;
  }

  .nav-tab {
    font-size: 12px;
    padding: 7px 9px;
    border-radius: 8px;
  }

  #gallery-slider {
    top: 88px;
    height: 136px;
    padding-left: 34px;
    padding-right: 34px;
  }

  .gallery-track {
    gap: 8px;
  }

  .gallery-track img {
    width: 156px;
    height: 96px;
    border-radius: 10px;
  }

  .gallery-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  #button-row {
    top: calc(50% + 34px);
    gap: 8px;
    padding: 0 8px;
  }

  .social-btn {
    width: 100%;
    max-width: 320px;
    min-height: 46px;
    font-size: 0.92rem;
    padding: 9px 12px;
    border-radius: 10px;
  }

  .social-btn img {
    width: 22px;
    height: 22px;
  }

  #ts-info {
    left: 8px;
    bottom: 8px;
    padding: 5px 8px;
    font-size: 0.68rem;
    gap: 6px;
  }

  #ts-info img {
    width: 14px;
    height: 14px;
  }

  #skip-audio-controls,
  #philosophie-audio-controls {
    bottom: 6px;
    padding: 6px 8px;
    gap: 6px;
    border-width: 1px;
  }

  #skip-toggle-audio,
  #philo-toggle-audio {
    font-size: 17px;
  }

  #skip-volume-slider,
  #philo-volume-slider {
    width: 52px;
  }

  #voice-audio-controls,
  #philosophie-voice-controls {
    right: 6px;
    bottom: 58px;
  }

  #toggle-voice-audio,
  #philo-toggle-voice-audio {
    width: 40px;
    height: 40px;
    font-size: 17px;
    border-width: 1px;
  }

  .back-btn {
    top: 8px;
    right: 6px;
    font-size: 13px;
    padding: 6px 8px;
  }

  .regeln-sidebar {
    top: 62px;
    gap: 6px;
    padding: 0 8px;
  }

  .regeln-tab {
    font-size: 13px;
    padding: 8px 10px;
    border-width: 1px;
  }

  .page-content {
    margin: 122px 6px 100px;
    padding: 12px 10px;
    border-radius: 14px;
  }

  #regeln-page .regeln-sidebar {
    top: 58px;
    padding: 0 6px 4px;
  }

  #gesetze-page .regeln-sidebar {
    top: 56px;
    left: 6px;
    right: 6px;
    max-height: 175px;
    padding: 6px;
    border-radius: 10px;
  }

  #gesetze-page .regeln-tab {
    font-size: 12px;
    line-height: 1.2;
    padding: 7px 8px;
  }

  #gesetze-page .page-content {
    margin-top: 250px;
  }

  #regeln-page .page-content {
    margin: 118px 6px 90px;
    padding: 10px 9px;
  }

  #regeln-page .content-section h2 {
    font-size: 1.05rem;
    margin-top: 14px;
    margin-bottom: 8px;
  }

  #regeln-page .content-section ul {
    font-size: 0.84rem;
    line-height: 1.4;
  }

  #regeln-page .content-section li {
    padding: 8px 8px 8px 26px;
    margin-bottom: 7px;
  }

  #regeln-page .content-section li:before {
    left: 8px;
    top: 6px;
    font-size: 16px;
  }

  .page-content h1 {
    font-size: 1.45rem;
    margin-bottom: 14px;
  }

  .page-content h1 .emoji {
    font-size: 1.45rem;
  }

  .content-section h2 {
    font-size: 1.15rem;
    margin-top: 15px;
    margin-bottom: 8px;
  }

  .content-section ul,
  .content-text {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  #gesetze-page .gesetz-raw {
    font-size: 0.82rem;
    line-height: 1.32;
    padding: 10px 9px;
    max-height: 64vh;
  }

  .content-section li,
  .content-text li {
    margin-bottom: 7px;
  }

  .streams-header {
    padding: 68px 8px 8px;
  }

  .streams-header h1 {
    font-size: 1.7rem;
  }

  .streams-header p {
    font-size: 0.82rem;
  }

  .streams-slideshow-container {
    padding: 8px 34px;
  }

  .stream-box {
    flex-basis: 82vw;
    max-width: 82vw;
    border-width: 1px;
  }

  .stream-info {
    padding: 10px;
  }

  .stream-info h3 {
    font-size: 1rem;
  }

  .stream-info p {
    font-size: 0.82rem;
  }

  .stream-nav-btn {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .highlight-content {
    gap: 8px;
    padding-top: 20px;
  }

  .highlight-content h1 {
    font-size: 1.7rem;
  }

  .highlight-content p {
    font-size: 0.82rem;
    padding: 0 8px;
  }

  #highlight-slider {
    height: 220px;
    padding: 0 30px;
  }

  .hl-video {
    width: 200px;
    height: 126px;
  }

  .hl-btn {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .highlight-back {
    bottom: 10px;
    max-width: 300px;
    padding: 9px 12px;
    font-size: 1rem;
    border-radius: 10px;
  }

  #skip-screen::after,
  #philosophie-page::after {
    display: none;
  }
}

/* =========================
   FINAL FONT OVERRIDE
========================= */

:root {
  --heading-font-readable: "Montserrat", "Segoe UI", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
  --body-font-readable: "Montserrat", "Segoe UI", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
}

/* Alles Relevante fuer Ueberschriften + Reiter + Gesetze explizit ohne Montserrat */
h1,
h2,
h3,
.tab-content h2,
.tab-content h3,
.page-content h1,
.content-section h2,
.streams-header h1,
.leitfaden-header h1,
.nav-tab,
.regeln-tab,
#gesetze-page .regeln-tab,
#regeln-page .regeln-tab,
.gesetz-raw,
.content-text,
.content-text li,
.content-section ul,
.content-section li,
.content-section p,
.close-tab,
.back-btn {
  font-family: var(--body-font-readable) !important;
}

/* Absolute Fallback: zwingt die komplette sichtbare UI auf Montserrat */
body,
button,
a,
input,
textarea,
select,
.intro-text,
#continue-btn,
#skip-btn,
.social-btn,
.highlight-content h1,
.highlight-content p,
.highlight-back,
.stream-info h3,
.stream-info p,
.streams-header p,
.coming-soon-content h2,
.coming-soon-content p,
.coming-soon-back,
#ts-info,
#ts-info span {
  font-family: var(--body-font-readable) !important;
}
