/* Mogli Library - shared stylesheet
   Cream + Charcoal + warm gold, klassische Garamond-Typografie */

:root {
  --color-bg: #FBF8F1;
  --color-bg-alt: #F4EFE2;
  --color-bg-dark: #3D3530;
  --color-bg-darker: #2E2823;
  --color-text: #1A1A1A;
  --color-text-muted: #4A4A4A;
  --color-text-soft: #6A6A6A;
  --color-text-light: #E8E3D8;
  --color-text-light-muted: rgba(232, 227, 216, 0.7);
  --color-gold: #D4A845;
  --color-gold-dark: #B89548;
  --color-gold-light: #F0D770;
  --color-brown: #8B6F47;
  --color-line: rgba(201, 169, 97, 0.3);
  --color-line-dark: rgba(232, 197, 71, 0.2);

  --font-serif: 'Cormorant Garamond', 'Trajan Pro', Georgia, serif;
  --font-body: 'EB Garamond', 'Libre Caslon Text', Georgia, serif;
  --font-arabic: 'Amiri', 'Scheherazade New', serif;

  --container: 1180px;
  --container-narrow: 800px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* ============================================
   HEADER (shared, dunkler Bibliothek-Look)
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(61, 53, 48, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line-dark);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text-light);
}

.brand-mark {
  width: 32px;
  height: 32px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-gold);
}

.site-header nav {
  display: flex;
  gap: 32px;
}

.site-header nav a {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-light-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header nav a:hover,
.site-header nav a.active {
  color: var(--color-gold);
}

/* ============================================
   HERO (Library-Homepage)
   ============================================ */
.library-hero {
  padding: 120px 0 100px;
  background: linear-gradient(180deg, var(--color-bg-darker) 0%, var(--color-bg-dark) 100%);
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.library-hero::before,
.library-hero::after {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.library-hero::before {
  top: -300px;
  left: -300px;
}

.library-hero::after {
  bottom: -300px;
  right: -300px;
}

.library-hero .container {
  position: relative;
  z-index: 1;
}

.library-hero-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 32px;
  display: block;
}

.library-hero h1 {
  font-family: var(--font-serif);
  font-size: 84px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 6px;
  margin-bottom: 18px;
  color: var(--color-gold);
}

.library-hero-arabic {
  font-family: var(--font-arabic);
  font-size: 28px;
  color: var(--color-text-light-muted);
  margin-bottom: 28px;
  direction: rtl;
}

.library-hero-tagline {
  font-family: var(--font-body);
  font-size: 22px;
  font-style: italic;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto 18px;
  line-height: 1.5;
}

.library-hero-lead {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--color-text-light-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   PAGE HERO (Detail-Seiten, About)
   ============================================ */
.page-hero {
  padding: 80px 0 60px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-line);
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.page-hero p {
  text-align: center;
  color: var(--color-text-muted);
  font-style: italic;
  font-size: 19px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 0;
}

.section-alt { background: var(--color-bg-alt); }

.section-dark {
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%);
  color: var(--color-text-light);
}

.section h2 {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.section .section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
  color: var(--color-text-muted);
  font-size: 18px;
  font-style: italic;
}

.section-dark h2 { color: var(--color-gold); }
.section-dark .section-intro { color: var(--color-text-light-muted); }

.section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 50px;
  gap: 12px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--color-gold-dark);
}

.section-divider span {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  transform: rotate(45deg);
}

/* ============================================
   BOOK CARDS (Library-Übersicht)
   ============================================ */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.book-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.book-card:hover {
  transform: translateY(-6px);
}

.book-card-cover {
  position: relative;
  margin-bottom: 20px;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 14px 28px rgba(0, 0, 0, 0.12),
    0 22px 44px rgba(139, 111, 71, 0.12);
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.book-card:hover .book-card-cover {
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.06),
    0 20px 40px rgba(0, 0, 0, 0.16),
    0 32px 64px rgba(139, 111, 71, 0.18);
}

.book-card-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.book-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--color-gold);
  color: var(--color-bg-dark);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 2px;
}

.book-card-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.book-card-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

.book-card-author {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-gold-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.book-card-meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-soft);
}

.book-card-meta span {
  display: inline-block;
  margin-right: 12px;
}

.book-card-cta {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-gold-dark);
  letter-spacing: 0.5px;
}

.book-card-cta::after {
  content: ' →';
  transition: margin-left 0.2s ease;
}

.book-card:hover .book-card-cta::after {
  margin-left: 4px;
}

/* ============================================
   VALUES SECTION (Library-Standards)
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--color-gold);
  color: var(--color-bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
}

.section-dark .value-icon {
  background: var(--color-gold);
  color: var(--color-bg-dark);
}

.value-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.section-dark .value-card h3 { color: var(--color-gold); }

.value-card p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.section-dark .value-card p { color: var(--color-text-light-muted); }

/* ============================================
   DETAIL-PAGE (z.B. Rizq-Buch-Seite)
   ============================================ */
.detail-hero {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  border-bottom: 1px solid var(--color-line);
}

.detail-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}

.detail-cover img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 20px 40px rgba(0, 0, 0, 0.12),
    0 30px 60px rgba(139, 111, 71, 0.15);
  border-radius: 2px;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--color-gold-dark);
  margin-bottom: 18px;
  font-weight: 500;
}

.detail-text h1 {
  font-family: var(--font-serif);
  font-size: 80px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: 2px;
}

.detail-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 22px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.4;
}

.detail-author {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--color-text-soft);
  margin-bottom: 28px;
}

.detail-author strong {
  color: var(--color-gold-dark);
  letter-spacing: 1px;
  font-weight: 500;
}

.detail-lead {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  padding: 18px 24px;
  background: rgba(201, 169, 97, 0.08);
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
}

.detail-meta-item {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
}

.detail-meta-item strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gold-dark);
  margin-bottom: 4px;
  font-weight: 500;
}

.cta-row {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-bg-dark);
  color: var(--color-bg);
  border-color: var(--color-bg-dark);
}

.btn-primary:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(168, 138, 63, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-gold);
}

.btn-secondary:hover {
  background: var(--color-gold);
  color: var(--color-bg-dark);
  transform: translateY(-2px);
}

.small {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-soft);
  font-style: italic;
}

/* ============================================
   PROSE (lange Texte)
   ============================================ */
.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
}

.prose p {
  margin-bottom: 20px;
  color: var(--color-text-muted);
}

.prose .callout {
  font-size: 20px;
  text-align: center;
  margin: 32px 0;
  padding: 24px;
  background: rgba(201, 169, 97, 0.08);
  border-left: 3px solid var(--color-gold);
  border-right: 3px solid var(--color-gold);
  color: var(--color-text);
  font-style: italic;
}

.prose strong {
  color: var(--color-text);
  font-weight: 600;
}

.prose h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  margin: 36px 0 16px;
  color: var(--color-text);
}

/* ============================================
   CHAPTER LIST (Detail-Page)
   ============================================ */
.chapter-list {
  list-style: none;
  max-width: 820px;
  margin: 0 auto;
}

.chapter-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-line);
  align-items: start;
}

.chapter-list li:last-child { border-bottom: none; }

.ch-num {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 500;
  color: var(--color-gold-dark);
  line-height: 1;
  text-align: center;
  letter-spacing: 1px;
}

.chapter-list h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.chapter-list p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   HINWEIS-BLOCK
   ============================================ */
.hinweis {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(232, 197, 71, 0.06);
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius);
}

.hinweis p { margin-bottom: 16px; }

.hinweis p strong {
  background: rgba(201, 169, 97, 0.15);
  padding: 2px 4px;
  border-radius: 2px;
}

/* ============================================
   DOWNLOAD-CENTER
   ============================================ */
.download-center {
  text-align: center;
}

.download-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 32px auto 24px;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  background: rgba(232, 227, 216, 0.04);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.25s ease;
  color: var(--color-text-light);
}

.download-card:hover {
  background: var(--color-gold);
  color: var(--color-bg-dark);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(232, 197, 71, 0.25);
}

.download-format {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.download-info {
  font-family: var(--font-body);
  font-size: 16px;
  margin-bottom: 6px;
  font-style: italic;
}

.download-detail {
  font-family: var(--font-body);
  font-size: 14px;
  opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-bg-darker);
  color: var(--color-text-light-muted);
  padding: 60px 0 40px;
  border-top: 4px solid var(--color-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.site-footer .brand {
  margin-bottom: 16px;
}

.site-footer .brand-name {
  font-size: 28px;
}

.footer-tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 15px;
  color: var(--color-text-light-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.site-footer h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 14px;
  letter-spacing: 1.5px;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-light-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover { color: var(--color-gold); }

.footer-arabic {
  font-family: var(--font-arabic);
  font-size: 20px;
  color: var(--color-gold);
  direction: rtl;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--color-line-dark);
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(232, 227, 216, 0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .detail-cover { max-width: 320px; margin: 0 auto; }

  .detail-text h1 { font-size: 60px; }

  .cta-row { justify-content: center; }

  .values-grid { grid-template-columns: 1fr; }

  .download-options { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .library-hero h1 { font-size: 60px; }
  .section h2 { font-size: 36px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }

  .site-header .container {
    flex-direction: column;
    gap: 14px;
  }

  .site-header nav {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .library-hero { padding: 70px 0 60px; }
  .library-hero h1 { font-size: 44px; letter-spacing: 3px; }
  .library-hero-tagline { font-size: 18px; }

  .page-hero h1 { font-size: 38px; }
  .detail-text h1 { font-size: 44px; }
  .section { padding: 60px 0; }
  .section h2 { font-size: 28px; margin-bottom: 12px; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .site-footer .brand { justify-content: center; }

  .chapter-list li { grid-template-columns: 40px 1fr; gap: 14px; }
  .ch-num { font-size: 28px; }
  .download-format { font-size: 36px; }
}

/* ============================================
   SPENDE-SECTION + BUTTONS
   ============================================ */
.spende-hero {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, var(--color-bg-darker) 0%, var(--color-bg-dark) 100%);
  color: var(--color-text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.spende-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.spende-hero h1 {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 18px;
  letter-spacing: 2px;
}

.spende-hero p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 20px;
  max-width: 620px;
  margin: 0 auto 12px;
  color: var(--color-text-light-muted);
}

.spende-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
}

.spende-amount-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 18px;
  background: rgba(232, 227, 216, 0.05);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text-light);
  transition: all 0.25s ease;
}

.spende-amount-card:hover {
  background: var(--color-gold);
  color: var(--color-bg-dark);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(232, 197, 71, 0.3);
}

.spende-amount-card.featured {
  background: var(--color-gold);
  color: var(--color-bg-dark);
}

.spende-amount-card.featured:hover {
  background: var(--color-gold-light);
  color: var(--color-bg-dark);
}

.spende-amount-value {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 4px;
}

.spende-amount-label {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Spende-Methoden */
.spende-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.method-card {
  padding: 32px 28px;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.method-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(139, 111, 71, 0.12);
}

.method-icon {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
  color: var(--color-gold-dark);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.method-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text);
}

.method-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.55;
}

.method-cta {
  display: inline-block;
  padding: 10px 20px;
  background: var(--color-bg-dark);
  color: var(--color-bg);
  text-decoration: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.method-cta:hover {
  background: var(--color-gold-dark);
  transform: translateY(-2px);
}

.method-card.coming-soon .method-cta {
  background: transparent;
  color: var(--color-text-soft);
  border: 1px solid var(--color-line);
  cursor: default;
}

/* Mini-Spende-Card auf Buch-Detail */
.spende-mini {
  margin-top: 48px;
  padding: 28px 32px;
  background: rgba(232, 197, 71, 0.08);
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius);
  text-align: center;
}

.spende-mini h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.spende-mini p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.spende-mini-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.spende-mini-btn {
  display: inline-block;
  padding: 10px 18px;
  background: var(--color-bg-dark);
  color: var(--color-bg);
  text-decoration: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  border: 2px solid var(--color-bg-dark);
}

.spende-mini-btn:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  transform: translateY(-2px);
}

.spende-mini-btn.secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-gold);
}

.spende-mini-btn.secondary:hover {
  background: var(--color-gold);
  color: var(--color-bg-dark);
}

/* ============================================
   SHARING-BUTTONS
   ============================================ */
.sharing {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  text-align: center;
}

.sharing-label {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-soft);
  margin-bottom: 14px;
}

.sharing-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--color-bg);
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid var(--color-line);
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: var(--color-gold);
  color: var(--color-bg-dark);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-line);
  padding: 0;
}

.faq-item summary {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  padding: 22px 0;
  list-style: none;
  position: relative;
  padding-right: 36px;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--color-gold-dark);
  transition: transform 0.2s ease;
  font-weight: 300;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  color: var(--color-gold-dark);
}

.faq-body {
  padding: 0 0 22px 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
  background: rgba(232, 197, 71, 0.06);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.newsletter h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}

.newsletter p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--color-bg);
  color: var(--color-text);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-gold);
}

.newsletter-form button {
  padding: 12px 24px;
  background: var(--color-bg-dark);
  color: var(--color-bg);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}

.newsletter-form button:hover {
  background: var(--color-gold-dark);
  transform: translateY(-2px);
}

/* ============================================
   ONLINE-READER
   ============================================ */
.reader-wrapper {
  width: 100%;
  height: calc(100vh - 80px);
  background: var(--color-bg-dark);
}

.reader-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.reader-header {
  padding: 16px 28px;
  background: var(--color-bg-darker);
  color: var(--color-text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-line-dark);
}

.reader-header h1 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0;
  color: var(--color-gold);
}

.reader-header .reader-actions {
  display: flex;
  gap: 12px;
}

.reader-btn {
  padding: 8px 16px;
  background: rgba(232, 197, 71, 0.15);
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  transition: all 0.2s ease;
}

.reader-btn:hover {
  background: var(--color-gold);
  color: var(--color-bg-dark);
}

/* ============================================
   404-Seite
   ============================================ */
.error-page {
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px;
}

.error-code {
  font-family: var(--font-serif);
  font-size: 120px;
  font-weight: 600;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 24px;
}

.error-message {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 14px;
}

.error-arabic {
  font-family: var(--font-arabic);
  font-size: 24px;
  color: var(--color-gold-dark);
  margin-bottom: 24px;
  direction: rtl;
}

.error-help {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE Spende
   ============================================ */
@media (max-width: 900px) {
  .spende-amounts { grid-template-columns: repeat(2, 1fr); }
  .spende-methods { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
}

@media (max-width: 600px) {
  .spende-hero h1 { font-size: 44px; }
  .spende-amounts { grid-template-columns: 1fr 1fr; gap: 12px; }
  .spende-amount-value { font-size: 32px; }
  .error-code { font-size: 80px; }
  .error-message { font-size: 26px; }
  .reader-header h1 { font-size: 16px; }
  .reader-btn { padding: 6px 12px; font-size: 12px; }
}

/* ============================================
   POLISH 2026-05-14: heller, freundlicher, mehr Atmung
   ============================================ */

/* Hero-Hintergrund warmes Gradient statt dunkel */
.library-hero {
  background: linear-gradient(180deg, #4a4137 0%, #3d3530 50%, #2e2823 100%);
}

.library-hero h1 {
  letter-spacing: 8px;
  text-shadow: 0 2px 20px rgba(212, 168, 69, 0.15);
}

/* Buchkarten freundlicher */
.book-card {
  background: var(--color-bg);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.book-card:hover {
  background: #FEFCF7;
  border-color: var(--color-line);
}

.book-card-cover {
  border-radius: 4px;
}

.book-card-title {
  font-size: 24px;
  line-height: 1.25;
  margin-top: 4px;
}

.book-card-subtitle {
  font-size: 15px;
  min-height: 42px;
}

.book-card-author {
  color: var(--color-brown);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2px;
}

/* Section-Hintergründe wärmer abgestuft */
.section {
  padding: 110px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, #ECE6D5 100%);
}

.section-dark {
  background: linear-gradient(180deg, #3d3530 0%, #2e2823 100%);
}

/* Value-Cards heller */
.value-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 168, 69, 0.18);
  border-radius: 8px;
  padding: 36px 28px;
}

.value-icon {
  background: linear-gradient(135deg, #D4A845, #B89548);
  color: #2e2823;
  box-shadow: 0 4px 12px rgba(212, 168, 69, 0.25);
}

/* h2 mit warm-goldenem Akzent */
.section h2::after {
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  width: 100px;
  height: 1px;
}

/* Footer wärmer */
.site-footer {
  background: #2e2823;
}

.site-header {
  border-bottom: 1px solid rgba(212, 168, 69, 0.25);
}

/* Bessere Schatten auf Cover */
.book-card-cover {
  box-shadow:
    0 2px 4px rgba(46, 40, 35, 0.06),
    0 12px 24px rgba(46, 40, 35, 0.10),
    0 20px 40px rgba(184, 149, 72, 0.10);
}

.book-card:hover .book-card-cover {
  box-shadow:
    0 4px 8px rgba(46, 40, 35, 0.08),
    0 18px 36px rgba(46, 40, 35, 0.14),
    0 28px 56px rgba(184, 149, 72, 0.18);
}

/* ============================================
   DESIGN POLISH v2 - Mogli Brand
   ============================================ */

/* Hero: mehr Atmung, dramatischer */
.library-hero {
  padding: 140px 0 120px;
  background:
    radial-gradient(ellipse at top, #5a4f43 0%, transparent 60%),
    linear-gradient(180deg, #4a4137 0%, #3d3530 50%, #2e2823 100%);
}

.library-hero-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  filter: drop-shadow(0 8px 24px rgba(212, 168, 69, 0.25));
  animation: gentle-float 4s ease-in-out infinite;
}

@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.library-hero h1 {
  font-size: 96px;
  letter-spacing: 12px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #F0D770 0%, #D4A845 60%, #B89548 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.library-hero-tagline {
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--color-text-light);
  font-weight: 400;
}

.library-hero-lead {
  font-size: 17px;
  line-height: 1.75;
  opacity: 0.85;
}

/* Bücher-Grid: schönere Karten mit Tilt */
.books-grid {
  gap: 56px;
  margin-top: 16px;
}

.book-card {
  padding: 0;
  background: transparent;
  border: none;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.book-card:hover {
  background: transparent;
  transform: translateY(-8px);
}

.book-card-cover {
  margin-bottom: 24px;
  border-radius: 4px;
  transform: rotate(-1deg);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.book-card:hover .book-card-cover {
  transform: rotate(1deg) scale(1.03);
}

.book-card-cover::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.05) 100%);
  border-radius: 4px;
  pointer-events: none;
}

.book-card-title {
  margin-top: 0;
  font-size: 22px;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.book-card:hover .book-card-title {
  color: var(--color-gold-dark);
}

.book-card-subtitle {
  font-size: 14px;
  color: var(--color-text-soft);
  min-height: 0;
  line-height: 1.5;
  margin-bottom: 14px;
}

.book-card-author {
  font-size: 11px;
  color: var(--color-gold-dark);
  letter-spacing: 2.5px;
  margin-bottom: 12px;
  font-weight: 500;
}

.book-card-meta {
  font-size: 12px;
  color: var(--color-text-soft);
}

.book-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: 50px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}

.book-card:hover .book-card-cta {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

.book-card-cta::after { display: none; }

.book-card-badge {
  background: var(--color-gold-dark);
  color: var(--color-bg);
  font-weight: 700;
}

/* Standards-Icons: kleiner, dezenter */
.value-icon {
  width: 48px;
  height: 48px;
  font-size: 22px;
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  box-shadow: none;
  font-family: var(--font-serif);
  font-weight: 600;
}

.value-card {
  background: transparent;
  border: 1px solid rgba(212, 168, 69, 0.15);
  border-radius: 12px;
  padding: 40px 32px;
  transition: all 0.3s ease;
}

.value-card:hover {
  background: rgba(212, 168, 69, 0.04);
  border-color: rgba(212, 168, 69, 0.3);
  transform: translateY(-2px);
}

.value-card h3 {
  color: var(--color-gold);
  margin-top: 18px;
}

/* Section h2 polishen */
.section h2 {
  font-size: 48px;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.section h2::after {
  margin-top: 24px;
}

.section .section-intro {
  font-size: 17px;
  opacity: 0.85;
}

/* Header: subtiler */
.site-header {
  padding: 0;
}

.site-header .container {
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand-name {
  font-size: 24px;
  letter-spacing: 6px;
}

.site-header nav a {
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* Scroll-Animation */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.book-card,
.value-card,
.empf-card {
  animation: fade-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.book-card:nth-child(1) { animation-delay: 0.05s; }
.book-card:nth-child(2) { animation-delay: 0.15s; }
.book-card:nth-child(3) { animation-delay: 0.25s; }
.book-card:nth-child(4) { animation-delay: 0.35s; }
.book-card:nth-child(5) { animation-delay: 0.45s; }

/* Buttons: nicer microinteractions */
.btn-primary {
  background: var(--color-text);
  border-color: var(--color-text);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 149, 72, 0.35);
}

/* Footer schöner */
.site-footer {
  padding: 80px 0 40px;
  background: linear-gradient(180deg, #2e2823 0%, #1f1b17 100%);
}

.site-footer h3 {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.site-footer a {
  transition: all 0.2s ease;
}

.site-footer a:hover {
  color: var(--color-gold);
  padding-left: 2px;
}

/* Mobile-Polish */
@media (max-width: 600px) {
  .library-hero h1 { font-size: 56px; letter-spacing: 6px; }
  .section h2 { font-size: 32px; }
  .books-grid { gap: 40px; }
}

/* === QR-Code Block (Spenden-Seite) === */
.qr-block {
  background: #fff;
  border: 1px solid rgba(43, 32, 26, 0.12);
  border-radius: 12px;
  padding: 48px 32px;
  margin-top: 24px;
  text-align: center;
  box-shadow: 0 8px 32px -12px rgba(43, 32, 26, 0.12);
}
.qr-image {
  width: 240px;
  height: 240px;
  display: block;
  margin: 0 auto 24px;
  background: #FAF6F0;
  padding: 12px;
  border-radius: 8px;
}
.qr-caption {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 28px;
  color: #2B201A;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.qr-hint {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(43, 32, 26, 0.55);
  margin-bottom: 28px;
}
.qr-link {
  display: inline-block;
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  color: #B8924A;
  font-weight: 500;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}
.qr-link:hover {
  opacity: 0.7;
}
@media (max-width: 600px) {
  .qr-block { padding: 32px 20px; }
  .qr-image { width: 200px; height: 200px; }
}

/* ============================================
   POLISH v3 (Final Refinement, Mai 2026)
   ============================================ */

/* Hero - eleganter, mit goldener Verzierung unter dem Titel */
.library-hero {
  padding: 140px 0 120px;
}
.library-hero h1 {
  letter-spacing: 8px;
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}
.library-hero h1::after {
  content: '';
  display: block;
  width: 64px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(232, 197, 71, 0.7) 50%, transparent 100%);
  margin: 18px auto 0;
}
.library-hero-tagline {
  font-size: 23px;
  margin-bottom: 26px;
  letter-spacing: 0.005em;
}
.library-hero-lead {
  font-size: 17.5px;
  line-height: 1.75;
}

/* Page-Hero (About, Spenden, Empfehlungen) - subtilere goldene Verzierung */
.page-hero {
  padding: 100px 0 80px;
}
.page-hero h1 {
  position: relative;
  display: block;
  margin-bottom: 22px;
}
.page-hero h1::after {
  content: '';
  display: block;
  width: 50px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, #B8924A 50%, transparent 100%);
  margin: 16px auto 0;
}

/* Section-Spacing - mehr Atmen */
.section {
  padding: 110px 0;
}
.section h2 {
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

/* Section-Divider eleganter (Diamond + Linien feiner) */
.section-divider {
  margin: 0 auto 56px;
}
.section-divider::before,
.section-divider::after {
  width: 56px;
  opacity: 0.8;
}
.section-divider span {
  box-shadow: 0 0 0 4px rgba(184, 146, 74, 0.12);
}

/* Book-Cards - sanfterer Hover, längere Transition */
.book-card {
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.book-card:hover {
  transform: translateY(-8px);
}
.book-card-cover {
  transition: box-shadow 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.book-card-title {
  transition: color 0.25s ease;
}
.book-card:hover .book-card-title {
  color: #8B6E37;
}

/* Value-Cards (Standards) - feiner Border, sanfter Hover */
.value-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.value-card:hover {
  transform: translateY(-4px);
}

/* Spenden-Card (Mini-Buttons im Footer von Buchseiten) */
.spende-mini-btn {
  transition: all 0.25s ease;
}
.spende-mini-btn:hover {
  transform: translateY(-2px);
}

/* Header - feiner */
.site-header {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(250, 246, 240, 0.92);
}
.site-header nav a {
  transition: color 0.2s ease;
}

/* Site-Footer - etwas mehr Atmen */
.site-footer {
  padding-top: 70px;
  padding-bottom: 36px;
}
.site-footer h3 {
  letter-spacing: 0.15em;
  font-size: 13px;
}
.site-footer .footer-bottom {
  margin-top: 56px;
  padding-top: 28px;
  font-size: 13px;
  opacity: 0.7;
}

/* Prose Callouts - eleganter mit subtilem Gold-Akzent */
.prose .callout {
  border-left: 3px solid #B8924A;
  background: rgba(232, 221, 201, 0.35);
  padding: 22px 28px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 17px;
  line-height: 1.7;
  color: #2B201A;
}

/* FAQ-Items - sanfter aufklappen */
.faq-item {
  transition: background 0.25s ease;
}
.faq-item summary {
  padding: 22px 26px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-item summary:hover {
  color: #8B6E37;
}

/* Mobile - Hero etwas reduzieren */
@media (max-width: 600px) {
  .library-hero { padding: 80px 0 70px; }
  .library-hero h1 { letter-spacing: 5px; }
  .library-hero h1::after { width: 48px; margin-top: 12px; }
  .library-hero-tagline { font-size: 19px; }
  .library-hero-lead { font-size: 16px; line-height: 1.65; }
  .section { padding: 70px 0; }
  .page-hero { padding: 60px 0 50px; }
  .page-hero h1::after { width: 36px; margin-top: 10px; }
}
