/* =====================================================================
   Hörbuch-Reihe – "Meine Geschichte"
   Cinematische, dunkle Bühne. Alle Klassen unter .hb-* / .hoerbuch-page.
   Palette: Tiefes Nachtblau -> Morgengrauen, warmer Amber-Akzent.
   ===================================================================== */

.hoerbuch-page {
  --hb-night:   #0c1322;
  --hb-night-2: #111b30;
  --hb-card:    #16223a;
  --hb-card-2:  #1b2942;
  --hb-line:    rgba(148,163,184,0.16);
  --hb-ink:     #eaf0fb;
  --hb-muted:   #9fb0c9;
  --hb-amber:   #f59e0b;
  --hb-amber-2: #fbbf24;
  --hb-glow:    rgba(245,158,11,0.22);
  color: var(--hb-ink);
}

/* Volle Breite ausbrechen, ohne horizontales Scrollen */
.hoerbuch-page .hb-stage {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
  overflow: hidden;
}
.hoerbuch-page .hb-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================ HERO ============================ */
.hoerbuch-page .hb-hero {
  background:
    radial-gradient(1200px 520px at 50% -8%, #1c2b4a 0%, rgba(28,43,74,0) 62%),
    linear-gradient(180deg, var(--hb-night) 0%, var(--hb-night-2) 100%);
  padding: clamp(64px, 12vw, 132px) 0 clamp(48px, 8vw, 92px);
  text-align: center;
}
.hoerbuch-page .hb-hero-glow {
  position: absolute;
  top: -180px; left: 50%; transform: translateX(-50%);
  width: 620px; height: 620px;
  background: radial-gradient(circle, var(--hb-glow) 0%, rgba(245,158,11,0) 68%);
  pointer-events: none;
  filter: blur(6px);
}
.hoerbuch-page .hb-kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--hb-amber-2);
  margin: 0 0 20px;
}
.hoerbuch-page .hb-title {
  font-family: Georgia, "Playfair Display", "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(2.3rem, 6.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  text-wrap: balance;
  color: #fff;
}
.hoerbuch-page .hb-title-accent {
  background: linear-gradient(90deg, var(--hb-amber-2), var(--hb-amber));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hoerbuch-page .hb-lead {
  max-width: 620px;
  margin: 0 auto 26px;
  font-size: clamp(1rem, 2.4vw, 1.16rem);
  line-height: 1.7;
  color: var(--hb-muted);
}
.hoerbuch-page .hb-meta {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; align-items: center;
  font-size: 0.9rem; color: var(--hb-muted);
  margin-bottom: 30px;
}
.hoerbuch-page .hb-meta-item strong { color: var(--hb-ink); }
.hoerbuch-page .hb-dot { color: var(--hb-amber); opacity: 0.6; }

/* Equalizer */
.hoerbuch-page .hb-eq {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 5px; height: 40px; margin: 8px 0 30px;
}
.hoerbuch-page .hb-eq span {
  width: 5px; border-radius: 3px;
  background: linear-gradient(180deg, var(--hb-amber-2), var(--hb-amber));
  animation: hb-eq 1.1s ease-in-out infinite;
  opacity: 0.85;
}
.hoerbuch-page .hb-eq span:nth-child(1) { height: 40%; animation-delay: -0.9s; }
.hoerbuch-page .hb-eq span:nth-child(2) { height: 75%; animation-delay: -0.2s; }
.hoerbuch-page .hb-eq span:nth-child(3) { height: 55%; animation-delay: -0.6s; }
.hoerbuch-page .hb-eq span:nth-child(4) { height: 95%; animation-delay: -0.1s; }
.hoerbuch-page .hb-eq span:nth-child(5) { height: 45%; animation-delay: -0.5s; }
.hoerbuch-page .hb-eq span:nth-child(6) { height: 85%; animation-delay: -0.3s; }
.hoerbuch-page .hb-eq span:nth-child(7) { height: 60%; animation-delay: -0.8s; }
.hoerbuch-page .hb-eq span:nth-child(8) { height: 70%; animation-delay: -0.15s; }
.hoerbuch-page .hb-eq span:nth-child(9) { height: 50%; animation-delay: -0.7s; }
@keyframes hb-eq {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1); }
}

.hoerbuch-page .hb-scroll {
  display: inline-block;
  color: var(--hb-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 22px;
  border: 1px solid var(--hb-line);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  transition: border-color .2s, background .2s, transform .2s;
}
.hoerbuch-page .hb-scroll:hover {
  border-color: var(--hb-amber);
  background: rgba(245,158,11,0.10);
  transform: translateY(-2px);
}

/* ======================= PLATTFORMEN ======================= */
.hoerbuch-page .hb-platforms-band {
  background: var(--hb-night-2);
  border-top: 1px solid var(--hb-line);
  border-bottom: 1px solid var(--hb-line);
  padding: 28px 0;
}
.hoerbuch-page .hb-platforms { text-align: center; }
.hoerbuch-page .hb-platforms-lead {
  margin: 0 0 16px; color: var(--hb-muted); font-size: 0.98rem;
}
.hoerbuch-page .hb-platforms-lead strong { color: var(--hb-ink); }
.hoerbuch-page .hb-badges {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.hoerbuch-page .hb-badge {
  font-size: 0.85rem; font-weight: 600;
  padding: 8px 15px; border-radius: 999px;
  background: var(--hb-card);
  border: 1px solid var(--hb-line);
  color: var(--hb-muted);
}
.hoerbuch-page .hb-badge--spotify {
  color: #1ed760;
  border-color: rgba(30,215,96,0.4);
  background: rgba(30,215,96,0.08);
}

/* ========================== FOLGEN ========================== */
.hoerbuch-page .hb-folgen-band {
  background: linear-gradient(180deg, var(--hb-night-2) 0%, var(--hb-night) 100%);
  padding: clamp(48px, 8vw, 84px) 0;
}
.hoerbuch-page .hb-section-title {
  font-family: Georgia, "Playfair Display", serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  text-align: center; margin: 0 0 6px; color: #fff;
}
.hoerbuch-page .hb-section-sub {
  text-align: center; color: var(--hb-muted);
  margin: 0 0 40px; font-size: 1rem;
}

.hoerbuch-page .hb-episodes {
  display: flex; flex-direction: column; gap: 20px;
}
.hoerbuch-page .hb-ep {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  background: linear-gradient(180deg, var(--hb-card) 0%, var(--hb-card-2) 100%);
  border: 1px solid var(--hb-line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 40px -28px rgba(0,0,0,0.9);
  transition: border-color .25s, transform .25s;
}
.hoerbuch-page .hb-ep:hover {
  border-color: rgba(245,158,11,0.5);
  transform: translateY(-3px);
}
.hoerbuch-page .hb-ep-cover { position: relative; align-self: start; }
.hoerbuch-page .hb-ep-cover img {
  display: block; width: 100%; height: auto;
  border-radius: 12px; border: 1px solid var(--hb-line);
  box-shadow: 0 12px 28px -14px rgba(0,0,0,0.85);
}
.hoerbuch-page .hb-ep-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(12,19,34,0.82); color: var(--hb-amber-2);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(245,158,11,0.4);
  backdrop-filter: blur(4px);
}
.hoerbuch-page .hb-ep-title {
  margin: 2px 0 6px;
  font-family: Georgia, "Playfair Display", serif;
  font-size: 1.4rem; color: #fff; line-height: 1.2;
}
.hoerbuch-page .hb-ep-teaser {
  margin: 0 0 12px; color: var(--hb-muted); font-size: 0.98rem; line-height: 1.6;
}
.hoerbuch-page .hb-ep-more { margin: 0 0 14px; }
.hoerbuch-page .hb-ep-more > summary {
  cursor: pointer; color: var(--hb-amber-2); font-weight: 600; font-size: 0.9rem;
  list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0;
  user-select: none;
}
.hoerbuch-page .hb-ep-more > summary::-webkit-details-marker { display: none; }
.hoerbuch-page .hb-ep-more > summary::before { content: "\25B8"; transition: transform .2s; }
.hoerbuch-page .hb-ep-more[open] > summary::before { transform: rotate(90deg); }
.hoerbuch-page .hb-ep-desc { padding-top: 6px; }
.hoerbuch-page .hb-ep-desc p {
  margin: 0 0 10px; color: #cdd8ea; font-size: 0.95rem; line-height: 1.65;
}
.hoerbuch-page .hb-ep-warn {
  margin: 0 0 14px; padding: 10px 14px;
  background: rgba(190,49,68,0.12);
  border: 1px solid rgba(220,90,110,0.32);
  border-radius: 10px;
  font-size: 0.85rem; line-height: 1.5; color: #f3c6cd;
}
.hoerbuch-page .hb-ep-warn strong { color: #fca5b5; }
.hoerbuch-page .hb-warn-soft { display: block; margin-top: 4px; color: #d7a9b0; }
.hoerbuch-page .hb-ep-player { margin-top: 6px; }
.hoerbuch-page .hb-ep-player iframe {
  display: block; width: 100%; border-radius: 12px; border: 0;
}

/* Nächste Folge / ehrlicher Hinweis */
.hoerbuch-page .hb-next {
  margin-top: 36px;
  text-align: center;
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 18px;
  padding: 30px 24px;
}
.hoerbuch-page .hb-next-pulse {
  color: var(--hb-amber-2); font-size: 1.1rem;
  animation: hb-pulse 2s ease-in-out infinite; margin-bottom: 6px;
}
@keyframes hb-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50%      { opacity: 1; transform: scale(1.15); }
}
.hoerbuch-page .hb-next-title {
  font-family: Georgia, "Playfair Display", serif;
  font-size: 1.4rem; margin: 0 0 10px; color: #fff;
}
.hoerbuch-page .hb-next-text {
  max-width: 640px; margin: 0 auto;
  color: var(--hb-muted); line-height: 1.7; font-size: 1rem;
}
.hoerbuch-page .hb-next-text strong { color: var(--hb-amber-2); }
.hoerbuch-page .hb-spotify-sub {
  display: inline-block; margin-top: 18px;
  background: #1ed760; color: #08210f; font-weight: 800;
  padding: 12px 22px; border-radius: 999px; text-decoration: none;
  font-size: 0.95rem; transition: transform .2s, background .2s;
}
.hoerbuch-page .hb-spotify-sub:hover { background: #23e968; transform: translateY(-2px); }

/* ==================== SPENDEN-BAND ==================== */
.hoerbuch-page .hb-support-band {
  background: var(--hb-night);
  padding: clamp(40px, 7vw, 72px) 0 clamp(56px, 8vw, 84px);
  border-top: 1px solid var(--hb-line);
}
/* Spenden-Modul (Basisstyles kommen aus single-shared.css) leicht andocken */
.hoerbuch-page .hb-support-band .neelix-donation-wrapper {
  max-width: 1040px; margin: 0 auto;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 620px) {
  .hoerbuch-page .hb-ep {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hoerbuch-page .hb-ep-cover {
    max-width: 240px; margin: 0 auto;
  }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
  .hoerbuch-page .hb-eq span,
  .hoerbuch-page .hb-next-pulse { animation: none; }
  .hoerbuch-page .hb-eq span { transform: scaleY(0.7); }
  .hoerbuch-page .hb-ep:hover,
  .hoerbuch-page .hb-spotify-sub:hover,
  .hoerbuch-page .hb-scroll:hover { transform: none; }
}


/* =====================================================================
   SPENDEN-MODUL (übernommen aus single-shared/single-cra, Light-Gold)
   Kern-Optik + Modals. Das Ein-/Ausblenden (.active) kommt aus single-shared.css,
   die für dieses Template zusätzlich enqueued wird (functions.php).
   ===================================================================== */
/* Widget Container Light Luxury */
                .neelix-donation-wrapper {
                    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
                    max-width: 100%;
                    margin: 80px 0 40px;
                    background: #ffffff;
                    border-radius: 12px;
                    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.1);
                    border: 1px solid #fde68a; /* Soft Gold Border */
                    overflow: hidden;
                    position: relative;
                    color: #333;
                    z-index: 1;
                }

                /* Ticker (Gold Gradient) */
                .donation-ticker-bar {
                    background: linear-gradient(90deg, #d97706 0%, #b45309 100%);
                    color: #fff;
                    padding: 12px 0;
                    overflow: hidden;
                    position: relative;
                    font-size: 0.85rem;
                    font-weight: 700;
                    letter-spacing: 1.5px;
                    text-transform: uppercase;
                }
                .ticker-content {
                    display: inline-block;
                    white-space: nowrap;
                    animation: ticker-scroll 40s linear infinite;
                    padding-left: 100%;
                }
                @keyframes ticker-scroll {
                    0% { transform: translateX(0); }
                    100% { transform: translateX(-100%); }
                }

                /* Grid Layout */
                .donation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }

                /* Linke Spalte */
                .col-info {
                    padding: 40px;
                    background: #fffbeb; /* Amber White */
                    border-right: 1px solid #fef3c7;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                }

                .info-badge {
                    display: inline-block;
                    background: #fef3c7;
                    color: #b45309;
                    padding: 5px 12px;
                    border-radius: 4px;
                    font-size: 0.7em;
                    font-weight: 700;
                    text-transform: uppercase;
                    margin-bottom: 15px;
                    border: 1px solid #fcd34d;
                    letter-spacing: 1px;
                }

                .info-title {
                    margin: 0 0 15px;
                    font-size: 1.8rem;
                    line-height: 1.2;
                    font-weight: 800;
                    color: #451a03;
                    text-transform: uppercase;
                }

                .info-text {
                    font-size: 0.95rem;
                    line-height: 1.7;
                    color: #78350f;
                    margin-bottom: 25px;
                }

                /* Share Box Light */
                .share-box {
                    background: white;
                    border: 1px solid #fde68a;
                    border-radius: 8px;
                    padding: 20px;
                    margin-top: auto;
                    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
                }
                
                .share-title { font-size: 0.85rem; font-weight: 700; color: #b45309; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
                .share-subtitle { font-size: 0.8rem; color: #92400e; margin-bottom: 15px; }
                .share-btn {
                    display: flex; align-items: center; justify-content: center; gap: 8px;
                    padding: 10px; border-radius: 4px; text-decoration: none;
                    font-size: 0.8rem; font-weight: 700; color: white;
                    transition: transform 0.2s; border: none; cursor: pointer; text-transform: uppercase;
                }
                .share-btn:hover { transform: translateY(-2px); color: white; }
                .sb-whatsapp { background: #25D366; }
                .sb-facebook { background: #1877F2; }
                .sb-twitter { background: #000000; }
                .sb-email { background: #d97706; }
                /* Reddit Button */
                .sb-reddit { background: #FF4500; }

                /* Rechte Spalte: Payment */
                .col-payment { padding: 40px; background: white; }

                .pay-title { text-align: center; font-weight: 800; font-size: 1.4rem; margin-bottom: 25px; color: #1c1917; text-transform: uppercase; letter-spacing: 1px; }
                .amt-btn {
                    flex: 0 0 auto;
                    padding: 12px 24px;
                    border: 1px solid #e5e5e5;
                    background: #f9fafb;
                    border-radius: 0px; /* Sharp corners */
                    font-weight: 700;
                    font-size: 1rem;
                    color: #57534e;
                    cursor: pointer;
                    transition: all 0.3s;
                }
                .amt-btn:hover, .amt-btn.active {
                    border-color: #f59e0b;
                    background: #f59e0b;
                    color: white;
                    transform: translateY(-2px);
                    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
                }

                .custom-input-group { position: relative; width: 100px; }
                .custom-input {
                    width: 100%; padding: 12px;
                    border: 2px solid #f59e0b;
                    border-radius: 0px;
                    font-size: 1.1rem;
                    font-weight: 700;
                    text-align: center;
                    color: #d97706;
                    outline: none;
                    background: #fffbeb;
                }
                .currency-symbol {
                    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
                    color: #f59e0b; font-weight: bold;
                }

                /* Main Button (Vibrant Gold) */
                .main-pay-btn {
                    width: 100%;
                    padding: 18px;
                    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
                    color: #fff;
                    border: none;
                    border-radius: 4px;
                    font-weight: 800;
                    font-size: 1.1rem;
                    cursor: pointer;
                    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
                    transition: transform 0.3s;
                    margin-bottom: 30px;
                    display: flex; align-items: center; justify-content: center; gap: 10px;
                    text-transform: uppercase;
                    letter-spacing: 2px;
                }
                .main-pay-btn:hover { transform: scale(1.02); }

                /* Crypto Buttons */
                .cry-btn {
                    padding: 8px 16px;
                    font-size: 0.8rem;
                    background: #f3f4f6;
                    color: #4b5563;
                    border-radius: 2px;
                    border: 1px solid #e5e7eb;
                    cursor: pointer;
                    font-weight: 700;
                    transition: background 0.2s;
                    text-transform: uppercase;
                }
                .cry-btn:hover { background: #fffbeb; color: #d97706; border-color: #fcd34d; }

                .moonpay-link {
                    display: block; text-align: center; margin-top: 15px;
                    font-size: 0.8rem; color: #b45309; text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
                }
                .moonpay-link:hover { text-decoration: underline; }

                /* Modals (Clean White) */
                .nlx-modal-overlay {
                    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
                    width: 100%; height: 100%;
                    background: rgba(255, 251, 235, 0.9); /* Cream Tint */
                    z-index: 9999999 !important;
                    justify-content: center; align-items: center;
                    backdrop-filter: blur(10px);
                }
                .nlx-modal-box {
                    background: white;
                    padding: 40px; border-radius: 8px;
                    width: 90%; max-width: 450px; position: relative;
                    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.2);
                    text-align: left; color: #333;
                    border: 1px solid #fde68a;
                }

                .nlx-close { position: absolute; top: 15px; right: 20px; font-size: 32px; cursor: pointer; color: #6b7280; line-height: 1; }
                .nlx-close:hover { color: #d97706; }

                .nlx-copy-btn {
                    background: #1c1917; color: white; border: none; width: 100%;
                    padding: 14px; border-radius: 4px; margin-top: 20px; font-weight: 800; cursor: pointer; text-transform: uppercase; letter-spacing: 1px;
                }
                .nlx-copy-btn:hover { background: #f59e0b; color: black; }
                .cs-btn {
                    background: #fffbeb; border: 1px solid #fcd34d; padding: 15px;
                    border-radius: 4px; cursor: pointer; font-size: 0.9rem; font-weight: 700; color: #451a03; text-transform: uppercase;
                }
                .cs-btn:hover { background: #fef3c7; border-color: #f59e0b; }

                /* Confirmation/Message Modals for Light Theme */
                .nlx-modal-text { font-size: 1.1rem; line-height: 1.6; margin-bottom: 20px; color: #334155; }
                .nlx-confirm-btn, .nlx-cancel-btn {
                    padding: 10px 20px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: background 0.2s;
                    flex-grow: 1; max-width: 150px;
                }
                .nlx-confirm-btn { background: #d97706; color: white; border: none; }
                .nlx-confirm-btn:hover { background: #b45309; }
                .nlx-cancel-btn { background: #f3f4f6; color: #64748b; border: 1px solid #e5e7eb; }
                .nlx-cancel-btn:hover { background: #e5e5e5; color: #334155; }

                @media (max-width: 768px) {
                    .donation-grid { grid-template-columns: 1fr; }
                    .col-info { border-right: none; border-bottom: 1px solid #fcd34d; padding: 30px; }
                    .col-payment { padding: 30px; }
                }
