/* =============================================================
   ZENTRALES STYLESHEET – Der Seiderman Portal
   Strukturiert, kommentiert, erweitert mit Responsive Fixes
   Stand: 11.09.2025 - 11:31
   (C) www.der-Seiderman.de
   (C) www.kingcopy.org
   ============================================================= */

/* === Globales Grundlayout === */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
    background-color: black;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: Arial, sans-serif;
}


/* === INTRO-VIDEO-BEREICH ===================== */
#startOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: white;
    z-index: 30;
    cursor: pointer;
    opacity: 1;
}

#skipButton {
    display: none;
    opacity: 0.3;
    pointer-events: none;
    position: fixed;
    top: 20px;
    right: 30px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 20px 50px;
    font-size: 48px;
    border: 2px solid #888;
    border-radius: 15px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: opacity 0.3s ease, transform 0.2s ease;
}

#skipButton:hover {
    transform: scale(1.05);
}

#introWrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.6s ease;
}

#introVideo {
    width: 960px;
    max-width: 90vw;
    height: auto;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
    border: 2px solid #222;
}

/* === Zentrales Inhaltsfeld (Bühnenbereich) === */
#portalContent {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    max-height: 80%;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    color: white;
    text-align: center;
    border-radius: 8px;
    z-index: 20;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

#portalContent::-webkit-scrollbar {
    width: 8px;
}
#portalContent::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

/* === Start-Overlay & Skip Button === */
#startOverlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: white;
    z-index: 30;
    cursor: pointer;
    opacity: 1;
}

#skipButton {
    display: none;
    opacity: 0.3;
    pointer-events: none;
    position: fixed;
    top: 20px;
    right: 30px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 20px 50px;
    font-size: 48px;
    border: 2px solid #888;
    border-radius: 15px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: opacity 0.3s ease, transform 0.2s ease;
}

#skipButton:hover {
    transform: scale(1.05);
}

#returnButton {
    position: fixed;
    top: 20px;
    left: 30px;
    background-color: rgba(0,0,0,0.8);
    color: white;
    padding: 20px 40px;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid #888;
    border-radius: 6px;
    cursor: pointer;
    z-index: 25;
    transition: background-color 0.3s ease;
}

#returnButton:hover {
    background-color: rgba(255,255,255,0.1);
}

/* === Runenkreis-Hintergrund (Canvas) === */
canvas#stage {
    position: absolute;
    top: 0; left: 0;
    z-index: 5;
}

/* === Visionen === */
.vision-auswahl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1rem;
  animation: fadeIn 1s ease-out;
}

.visions-kachel {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.visions-kachel:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.visions-kachel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 0.05em;
}

.visions-kachel p {
  margin: 0;
  font-size: 1rem;
  color: #ccc;
}

.visions-kachel.geklickt {
  background-color: rgba(255, 255, 255, 0.1); /* leicht aufgehellt */
  border: 2px solid #00ffff;                 /* neonblauer Rahmen */
  transition: background-color 0.3s ease, border 0.3s ease;
}


.bild-mit-hovertext {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  text-align: center; /* Neu hinzugefügt */
}


.bild-mit-hovertext img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hovertext {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 8px 12px;
  font-size: 0.9rem;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: normal; /* statt nowrap! */
  max-width: 90%;
}


.bild-mit-hovertext:hover .hovertext {
  opacity: 1;
}

.bereichstitel {
  font-family: 'UnifrakturCook', serif;
  font-size: 2.6rem;
  color: #f0e6d2;
  text-align: center;
  margin-bottom: 1.5rem;
  text-shadow: 
    0 0 10px #f2c66e,
    0 0 20px #d4a742,
    0 0 30px #a8741a;
  letter-spacing: 0.06em;
}


/* === Geschichten === */
#portalContent .geschichten {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

#portalContent .geschichten-kachel {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  color: #eae3d2;
  border: 1px solid rgba(255,255,255,0.1);
}

#portalContent .geschichten-kachel:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

#portalContent .geschichten-kachel h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #ffe0a8;
}

#portalContent .geschichten-kachel p {
  margin: 0.5rem 0 0;
  font-style: italic;
}

/* === Projektübersicht === */
#portalContent .projekt-headline {
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 1.5em;
  text-shadow: 1px 1px 1px #fff;
  font-family: 'Garamond', serif;
  color: #000;
}

#portalContent .projekt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2em;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2em;
}

#portalContent .projekt-kachel {
  background-color: rgba(255, 248, 230, 0.96);
  border: 2px solid #8b6f4d;
  border-radius: 15px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  padding: 2em;
  text-align: center;
  transition: transform 0.2s ease;
  cursor: pointer;
}

#portalContent .projekt-kachel:hover {
  transform: scale(1.05);
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);
}

#portalContent .projekt-kachel h2 {
  margin-top: 0;
  font-size: 1.5em;
  color: #4b321b;
}

#portalContent .projekt-kachel p {
  font-size: 1.05em;
  line-height: 1.4em;
  color: #2a1c10;
}

.content-wrapper {
  padding: 2em;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  margin-bottom: 2em;
  max-width: 900px;
  margin: 0 auto 2em; /* zentriert + Abstand unten */
  color: #e0d9c6; /* Hier gleich hinzufügen! */
}

body.standalone-video .content-wrapper {
  color: #e0d9c6 !important;
}

.grafikblock {
  margin: 2em auto;
  text-align: center;
  max-width: 800px;
}

.charakterbild {
  width: 100%;
  max-width: 280px;
  border-radius: 10px;
  margin-bottom: 1em;
  border: 3px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.notice {
  font-style: italic;
  color: #ccc;
  font-size: 1.1rem;
  margin: 3em 0;
}

.abschnitt {
  margin: 2em 0;
  padding: 1em;
  background: rgba(0,0,0,0.5);
  border-left: 5px solid #666;
  color: #eee;
}

/* === Seiderman-Zitate & Boxen === */
.seiderman-zitat {
  border-left: 4px solid #e8d27d;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.05);
  font-style: italic;
  color: #f8f5e3;
  font-family: "Garamond", "Georgia", serif;
  font-size: 1.2rem;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 255, 200, 0.1);
}

.seiderman-zitat::before {
  content: "\201E";
  font-size: 2rem;
  position: absolute;
  top: -0.5rem;
  left: -1rem;
  color: #f8f5e3;
  opacity: 0.4;
}

.seiderman-box {
  background: rgba(34, 30, 20, 0.75);
  border-left: 4px solid #9e7b40;
  padding: 1.2em 1.6em;
  margin: 2em 0;
  font-style: normal;
  color: #f0e6d2;
  font-family: 'UnifrakturCook', serif;
  font-size: 1.4rem;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  line-height: 1.6;
  transition: background 0.3s ease;
}

.seiderman-box:hover {
  background: rgba(34, 30, 20, 0.9);
}

@font-face {
  font-family: 'UnifrakturCook';
  src: url('/fonts/UnifrakturCook-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

/* === Chronik (Timeline) === */
#portalContent .timeline {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  margin-top: 2em;
  border-left: 3px solid rgba(255,255,255,0.2);
  padding-left: 1em;
}

#portalContent .entry {
  display: flex;
  align-items: center;
  gap: 1em;
}

#portalContent .entry .date {
  font-weight: bold;
  min-width: 60px;
  color: #99ccff;
}

#portalContent .entry .symbol {
  font-size: 1.3em;
  min-width: 30px;
}

#portalContent .entry .content {
  flex: 1;
  color: #eee;
}

#portalContent .datum {
  font-size: 0.8em;
  color: #bbb;
}

#portalContent .rune-block { cursor: pointer; }
#portalContent .rune-block:hover { transform: translateY(-2px); transition: transform .15s; }


/* === Responsives Verhalten für mobile Geräte === */
@media screen and (max-width: 600px) {
  #portalContent .entry {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4em;
  }

  #portalContent .entry .date {
    font-size: 0.9em;
    min-width: auto;
  }

  #portalContent .entry .symbol {
    font-size: 1em;
    min-width: auto;
  }

  #portalContent .entry .content {
    font-size: 0.85em;
    line-height: 1.4em;
  }

  #portalContent .datum {
    font-size: 0.7em;
  }
}

.disclaimer-box {
  background-color: #f8f5e3;
  border-left: 4px solid #5f4d3d;
  padding: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #333;
}

.titel-mystik {
  font-family: 'UnifrakturCook', serif;
  color: #f0e6d2;
  font-size: 2.8rem;
  text-shadow: 0 0 10px #d49a3a, 0 0 20px #a8741a;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.bild-zweispaltig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  justify-items: center;
  align-items: start;
  margin: 2em 0;
}

.bild-zweispaltig img {
  width: 100%;
  max-width: 300px;
  height: auto;
}



/* === Grafik-Grid (Runenkarten-Galerien) === */
.grafik-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: start;
  justify-items: center;
}

.grafik-grid figure {
  margin: 0;
  text-align: center;
}

.grafik-grid img {
  height: auto; /* Bildbreite kommt bei dir inline (40%) */
  /* Zentrierte Bilder innerhalb des Grid */
  display: block;
  margin: 0 auto;   /* zentriert 50%-Bilder im Figure */
}

@media (max-width: 1024px) {
  .grafik-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grafik-grid { grid-template-columns: 1fr; }
}

* Optional: genau zwei Spalten + zentrierter Grid-Block */
.grafik-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;  /* zentriert das gesamte Grid, falls schmaler */
  align-items: start;
  justify-items: center;
}
/* ===========================
   CHRONIK-TABELLE STIL
   =========================== */
.chronik-tabelle {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2em;
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chronik-tabelle th,
.chronik-tabelle td {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px;
  vertical-align: top;
  text-align: left;
}

.chronik-tabelle th {
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0e6d2;
  font-weight: bold;
  text-align: left;
}

.chronik-tabelle td:nth-child(2) {
  text-align: center;
  font-size: 1.6em;
}

@media (max-width: 768px) {
  .chronik-tabelle {
    font-size: 0.9rem;
    display: block;
    overflow-x: auto;
  }

  html, body {
    overflow: auto !important;
    height: auto !important;
  }

  #portalContent.fix-zoom {
    zoom: 1; /* Zoom deaktiviert, Vermeidung von Konflikten */
    transform: none !important;
    transform-origin: top center;
    overflow: auto !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 10px !important;
  }

  #returnButton {
    padding: 10px 15px;
    font-size: 16px;
    top: 10px;
    left: 10px;
  }
}

@keyframes glowFade {
  0%, 100% {
    text-shadow:
      0 0 5px #f9e79f,
      0 0 10px #f7dc6f,
      0 0 20px #f4d03f;
    opacity: 1;
  }
  50% {
    text-shadow:
      0 0 1px #f9e79f,
      0 0 2px #f7dc6f,
      0 0 4px #f4d03f;
    opacity: 0.5;
  }
}

.under-construction {
  font-family: 'UnifrakturCook', serif;
  font-size: 2rem;
  color: #ffe08a;
  text-align: center;
  margin-top: 3rem;
  animation: glowFade 2.5s ease-in-out infinite;
}

.bild-mit-glow {
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
  transition: box-shadow 0.3s ease;
}

.bild-mit-glow:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}


/* === Ergänzungen für im-aufbau.html === */

.rune {
  font-size: 4em;
  margin-bottom: 0.2em;
  letter-spacing: 0.1em;
  color: #ffe08a;
  text-shadow: 0 0 10px #d4a742;
}

.notice {
  background-color: rgba(255, 248, 230, 0.85);
  padding: 2em;
  border: 2px solid #a48c6b;
  border-radius: 15px;
  max-width: 600px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  color: #000000;
  text-align: center;
  margin: 3em auto;
}

.notice * {
  color: #000000 !important;
}

.seiderman-sagt {
  margin-top: 2em;
  font-style: italic;
  font-weight: bold;
  background: rgba(222, 222, 222, 0.6);
  border-left: 6px solid #000000;
  padding: 1em;
  font-size: 1.1em;
  color: #000;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: fadeIn 2s ease-in;
}

body.standalone-video {
  background-color: #111;
  color: #eee;
  font-family: 'Verdana', sans-serif;
  margin: 0;
  padding: 2em;
}

.hinweis-box {
  background: #222;
  color: #bbb;
  border-left: 4px solid #666;
  padding: 1em;
  margin-bottom: 2em;
  font-size: 0.9em;
  border-radius: 6px;
}
.hinweis-box a {
  color: #88ccff;
  text-decoration: underline;
}


.email-banner {
  background-color: rgba(0, 0, 0, 0.6);
  border: 2px solid #00ffff;
  color: #00ffff;
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  padding: 1em 1.5em;
  text-align: center;
  border-radius: 12px;
  max-width: 480px;
  margin: 2em auto;
  box-shadow: 0 0 20px rgba(0,255,255,0.3);
  letter-spacing: 0.03em;
  user-select: all;
}

.telegram-icon {
  width: 140px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  margin: 10px 0;
}

/* === Globale Regeln für Standalone-Seiten === */
body.standalone-page {
  background-color: black;
  color: #e0d9c6;
}

body.standalone-page h1,
body.standalone-page h2,
body.standalone-page h3,
body.standalone-page p {
  color: #e0d9c6;
}

body.standalone-page .geschichten-auswahl,
body.standalone-page .vision-auswahl,
body.standalone-page .projekt-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 2em auto;
}

body.standalone-page .geschichten-kachel,
body.standalone-page .visions-kachel,
body.standalone-page .projekt-kachel {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  color: #e0d9c6;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.standalone-page .geschichten-kachel:hover,
body.standalone-page .visions-kachel:hover,
body.standalone-page .projekt-kachel:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

body.standalone-page .geschichten-kachel h3,
body.standalone-page .visions-kachel h3,
body.standalone-page .projekt-kachel h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #ffe0a8;
}

body.standalone-page .geschichten-kachel p,
body.standalone-page .visions-kachel p,
body.standalone-page .projekt-kachel p {
  margin: 0.5rem 0 0;
  font-style: italic;
}

body.standalone-page .hinweis-box {
  background: #222;
  color: #bbb;
  border-left: 4px solid #666;
}

body.standalone-page a {
  color: #88ccff;
}

body.standalone-page {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.standalone-page h1,
body.standalone-page p,
body.standalone-page h2,
body.standalone-page .hinweis-box,
body.standalone-page section,
body.standalone-page footer {
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.rune-block {
  display: inline-block;
  margin: 1rem;
  text-align: center;
  width: 80px;
}

.runen-name {
  font-size: 1rem;
  color: #e0d9c6;
  margin-top: 0.3rem;
}

.notice.dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: #e0d9c6;
}


.rune {
  font-size: 4em;
  margin-bottom: 0.2em;
  letter-spacing: 0.1em;
  color: #ffe08a;
  text-shadow: 0 0 10px #d4a742;
  transition: all 0.3s ease;
}

/* Ockergelbe Aktions-Schaltfläche */
.btn-okkergelb {
  display: inline-block;
  padding: 12px 24px;              /* mittelgroß */
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: #1a1205;                  /* dunkler Text für Kontrast */
  background: #ffe08a;             /* Ocker (aus eurer Palette) */
  border: 2px solid #a8741a;       /* warmes Braun/Gold für Kante */
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(212,154,58,0.35);   /* goldener Glow */
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  cursor: pointer;
}

.btn-okkergelb:hover,
.btn-okkergelb:focus {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(212,154,58,0.55);
  filter: brightness(1.03);
  outline: 2px solid #f1c40f;      /* sichtbarer Focus-Ring */
  outline-offset: 2px;
}

.btn-okkergelb:active {
  transform: translateY(0);
  filter: brightness(0.98);
}


.rune:hover {
  color: #ffffcc;
  text-shadow:
    0 0 15px #f9e79f,
    0 0 25px #f7dc6f,
    0 0 35px #f4d03f,
    0 0 45px #f1c40f;
  transform: scale(1.1);
  animation: runePulse 1.5s infinite alternate;
}

@keyframes runePulse {
  from {
    text-shadow:
      0 0 15px #f9e79f,
      0 0 25px #f7dc6f,
      0 0 35px #f4d03f;
  }
  to {
    text-shadow:
      0 0 25px #fff9a0,
      0 0 40px #fff36f,
      0 0 60px #ffe94f;
  }
}


/* Chronik-Eintrag – saubere, untereinander stehende Darstellung */
.chronik-eintrag {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 8px;
}

.chronik-icon {
  font-size: 1.3rem;
  line-height: 1;
  margin-top: 2px; /* minimaler optischer Ausgleich */
}

.chronik-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chronik-datum {
  font-weight: 600;
  opacity: 0.9;
}

.chronik-titel {
  margin-top: 2px;
}

.chronik-list {
  margin: 6px 0 0 0;
  padding-left: 1.2rem;   /* Einzug für die Punkte */
}

.chronik-list li {
  margin: 2px 0;
}

/* Artefakt-Originalfoto: dezente Verzierung */
.artefakt-foto {
  text-align: center;
  padding: 14px;
  background: radial-gradient(circle at center, #1c1c1c 0%, #000 100%);
  border: 2px solid rgba(255, 216, 74, 0.5);
  border-radius: 18px;
  box-shadow: 0 0 20px rgba(255, 216, 74, 0.3);
  display: inline-block;
}

.artefakt-original {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #111;
  padding: 6px;
}

.artefakt-foto figcaption {
  font-family: "UnifrakturCook-Bold", serif;
  font-size: 1.1rem;
  color: #ffd84a;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}


/* === Headings sauber normalisieren (damit H1 keinen Browser-Überraschungsstyle bringt) === */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1.5rem;
}

/* Falls irgendwo H1 + Klasse genutzt wird: Klasse dominiert bewusst die Größe */
h1.titel-mystik { font-size: 2.6rem; }
h1.bereichstitel { font-size: 2.6rem; }

/* Responsiv etwas zügeln – große Überschriften auf kleinen Screens */
@media (max-width: 600px) {
  .titel-mystik   { font-size: 2.2rem; }  /* vorher 2.8rem */
  .bereichstitel  { font-size: 2.2rem; }  /* vorher 2.6rem */
}

/* Bild-/Video-Untertitel (für SEO & Konsistenz) */
.bildunterschrift {
  color: #bbb;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  text-align: center;
}

/* FAQ-Layout (für Rich-Content-Abschnitt) */
.faq dt {
  font-weight: 700;
  color: #ffe0a8;
  margin-top: 1rem;
}
.faq dd {
  margin: 0.25rem 0 0.75rem;
  color: #e0d9c6;
}


h1.titel-mystik {
  font-size: 2.6rem;   /* identisch zu deinem h2.titel-mystik */
  font-weight: inherit;
  line-height: inherit;
}

.fallback-img {
  max-width: 50%;
  height: auto;
  display: block;
  margin: 0 auto; /* optional, um es zu zentrieren */
}

.seitenfuss {
  margin-top: 3em;
  padding: 1.5em;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
  border-top: 1px solid rgba(255,255,255,0.2);
}

#returnButton,
#backRunenButton {
  position: fixed;
  left: 18px;
  padding: 10px 14px;
  font-size: 15px;
  z-index: 10000;
  border: none;
  border-radius: 10px;
  background: rgba(20,20,20,0.65);
  color: #f0f0e6;
  backdrop-filter: blur(3px);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, opacity .2s ease;
  border-top-left-radius: 8px;   /* leicht flacher als 10px */
  border-top-right-radius: 8px;
}
#returnButton:hover,
#backRunenButton:hover {
  transform: translateY(-1px);
  background: rgba(40,40,40,0.72);
}

/* Portal-Button bleibt ganz oben; Runen-Button hängt drunter */
#returnButton { top: 18px; }
#backRunenButton { top: 58px; } /* vorher 64px → jetzt sanfte Kollision */
@media (max-width: 480px){
  #returnButton { top: 12px; left: 12px; }
  #backRunenButton { top: 50px; left: 12px; } /* vorher 56px */
}


/* Artefakte konsistent zentriert und auf 50% Breite */
.artefakt-img {
  width: 50%;
  max-width: 640px;
  height: auto;
  display: block;
  margin: 0.75rem auto;
}
.grafikblock figure {
  margin: 0 auto 1rem;   /* untereinander & zentriert */
  max-width: 900px;
}

/* === Ergänzung für Geri (hungriger Wolf-Glow) === */
[data-char="geri"] img {
  box-shadow: 0 0 10px silver, 0 0 20px rgba(192,192,192,0.3);  /* Silberner Glow für Wolf-Thema */
}
[data-char="geri"]:hover {
  box-shadow: 0 0 15px silver;
}

/* ============================================================= */
/* SPENDEN-SEITE – GERI DER HUNGRIGE WOLF (2025)                 */
/* Anonym, mystisch, dynamisch – für den Runenkreis              */
/* ============================================================= */

.spenden-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    color: white;
}

.spenden-bild {
    min-width: 240px;
    text-align: center;
}

.spenden-bild img {
    width: 220px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); /* Goldener Wolf-Glow */
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spenden-bild img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.spenden-text {
    max-width: 600px;
    text-align: left;
}

.spenden-kachel {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.spenden-kachel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}

.spenden-kachel h3 {
    color: #ffe08a;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 8px #d4a742;
    font-family: 'UnifrakturCook', serif;
}

.spenden-kachel p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

.wolf-knurr {
    font-style: italic;
    color: #ccc;
    text-align: center;
    margin: 1.5rem 0 0;
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

/* Email-Banner für Spenden (erweitert .email-banner) */
.email-banner-spende {
    border: 2px solid #ffd700 !important;
    color: #ffd700 !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3) !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
}

/* Goldener Rahmen für Ehre-Kachel (inline override) */
.spenden-kachel[style*="ffd700"] {
    animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
    from { box-shadow: 0 0 15px rgba(255, 215, 0, 0.3); }
    to { box-shadow: 0 0 25px rgba(255, 215, 0, 0.6); }
}

/* Responsive für Mobile */
@media (max-width: 768px) {
    .spenden-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 30px;
    }

    .spenden-bild img {
        width: 180px;
    }

    .spenden-text {
        text-align: center;
    }

    .spenden-kachel {
        padding: 1.2rem;
        margin: 1rem 0;
    }

    .spenden-kachel h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .spenden-bild img {
        width: 150px;
    }

    .btn-okkergelb {
        padding: 10px 16px;
        font-size: 1rem;
    }
}


/* ============================================================= */
/* FEHU – ROTER KASTEN AUS 1.-FEHU-BK.pdf (07.11.2025 13:11)     */
/* 1:1 nach deinem Screenshot – Glut, Schrift, Rahmen          */
/* ============================================================= */

.fehu-pdf {
  background: #000;
  border: 3px solid #c00;
  border-radius: 12px;
  padding: 2rem;
  max-width: 900px;
  margin: 2rem auto;
  color: #fff;
  font-family: Arial, sans-serif;
  box-shadow: 0 0 30px rgba(255,0,0,0.6);
}

.fehu-pdf h1, .fehu-pdf h2 { 
  color: #c00; 
  text-align: center; 
  margin: 0 0 1rem;
}

.fehu-pdf .rune {
  text-align: center;
  margin: 2rem 0;
}

.fehu-pdf svg {
  filter: drop-shadow(0 0 25px #c00);
}

.fehu-pdf table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: #1a1a1a;
}

.fehu-pdf td {
  border: 1px solid #444;
  padding: 0.8rem;
  color: #e0d9c6;
}

/* ───── FEHU VIDEO – 100 % CSS, kein Inline ───── */
.fehu-video-block {
  position: relative;
  width: 50% !important;     /* ← HALB so breit */
  max-height: 70vh;
  overflow: hidden;
  margin: 3em auto 2em !important;  /* ← zentriert */
  border: 3px solid #b8860b;
  box-shadow: 0 0 20px #ffbf00, inset 0 0 40px #0008;
  border-radius: 12px;
  background: #111;
}
.fehu-video-block video {
  width: 100%;
  height: auto;
  display: block;
}
.fehu-overlay {
  position: absolute;
  bottom: 0;           /* ← unten */
  left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, #000c);
  text-align: center;
}
.rune-glow {
  font-family: 'UnifrakturMagere', serif;
  font-size: 9vw;
  animation: fehuPulse 4s ease-in-out infinite;
}
.fehu-caption {
  margin-top: 1rem;
  font-size: 1.2rem;
  letter-spacing: 1px;
  opacity: 0.9;
}
@keyframes fehuPulse {
  0%,100% { opacity: .7; transform: scale(1); }
  50%     { opacity: 1;   transform: scale(1.15); }
}

#fehuMaster { 
  width: 50vw;           /* 50 % der Bildschirmbreite */
  max-width: 640px;      /* nie breiter als 640px → mobil-sicher */
  margin: 3em auto 2em;
  position: relative; border: 3px solid #b8860b; border-radius: 12px; overflow: hidden;
}
#fehuMaster video { width: 100%; height: auto; display: block; }
.fehu-unten { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; 
              background: linear-gradient(transparent,#000c); text-align: center; 
              color: #ffd700; text-shadow: 0 0 10px #000; }
.rune-glow { font-family: 'UnifrakturMagere',serif; font-size: 10vw; 
             animation: pulse 4s infinite; }
@keyframes pulse { 50% { transform: scale(1.2); opacity: 1; } }