/**
 * 99-project-overrides.css
 * 
 * AUTO-GENERATED: All @imports have been resolved inline.
 * Original imports were resolved during staging.
 */

/**
 * 99-project-overrides.css
 * 
 * Reflexivity Press - Projekt-spezifische Styles
 * Diese Datei importiert alle modularen CSS-Dateien.
 * 
 * Generiert: 2025-12-01
 */

/* === BEGIN: book-cover.css === */
/* =============================================================================
 * BOOK COVER LAYOUT
 * Optionales Cover-Bild links neben Header-Text (ähnlich Payhip)
 * ============================================================================= */

.book-header--with-cover {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.book-cover {
  position: sticky;
  top: 2rem;
}

.book-cover img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.book-header__text {
  /* Text-Bereich neben dem Cover */
}

.book-header__text h1 {
  margin-top: 0;
}

/* Responsive: Auf kleinen Screens untereinander */
@media (max-width: 640px) {
  .book-header--with-cover {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .book-cover {
    position: static;
    text-align: center;
  }
  
  .book-cover img {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* === END: book-cover.css === */

/* === BEGIN: license-badges.css === */
/* =============================================================================
 * License Badge Styles
 * =============================================================================
 * 
 * Drei Stufen:
 * - badge-open: Open Access (kräftiges Grün) - vollständig frei
 * - badge-free: Free to Read (leichtes Grün) - kostenlos lesbar (ZMC)
 * - badge-commercial: Commercial (Grau) - E-Book zum Kauf
 */

.badge {
  display: inline-block;
  padding: 0.25em 0.6em;
  font-size: 0.75em;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
}

/* Open Access - Kräftiges Grün */
.badge-open {
  background-color: #16a34a;  /* green-600 */
  color: #ffffff;
}

/* Free to Read (ZMC) - Leichtes Grün */
.badge-free {
  background-color: #86efac;  /* green-300 */
  color: #166534;             /* green-800 */
}

/* Commercial - Grau */
.badge-commercial {
  background-color: #9ca3af;  /* gray-400 */
  color: #1f2937;             /* gray-800 */
}

/* Hover-Effekte (optional) */
.badge-open:hover {
  background-color: #15803d;  /* green-700 */
}

.badge-free:hover {
  background-color: #4ade80;  /* green-400 */
}

.badge-commercial:hover {
  background-color: #6b7280;  /* gray-500 */
}

/* Dark Mode Support (optional) */
@media (prefers-color-scheme: dark) {
  .badge-open {
    background-color: #22c55e;  /* green-500 */
    color: #052e16;             /* green-950 */
  }
  
  .badge-free {
    background-color: #4ade80;  /* green-400 */
    color: #14532d;             /* green-900 */
  }
  
  .badge-commercial {
    background-color: #6b7280;  /* gray-500 */
    color: #f3f4f6;             /* gray-100 */
  }
}

/* === END: license-badges.css === */

/* === BEGIN: 89-book-cards.css === */
/* =============================================================================
 * Book Cards Component
 * Für Featured Books auf Startseite und Autorenseiten
 * ============================================================================= */

.book-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.book-card {
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.book-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.book-card-link:hover {
  text-decoration: none;
}

/* Cover Container */
.book-card-cover-container {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--color-muted, #f5f5f5);
  overflow: hidden;
}

.book-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-card-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--color-primary-light, #e3f2fd) 0%, var(--color-muted, #f5f5f5) 100%);
}

/* Badge */
.book-card-cover-container .badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

/* Content */
.book-card-content {
  padding: 1rem;
}

.book-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
  color: var(--color-text, #333);
}

.book-card-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted, #666);
  margin: 0 0 0.5rem 0;
  font-style: italic;
}

.book-card-author {
  font-size: 0.85rem;
  color: var(--color-text-muted, #666);
  margin: 0 0 0.5rem 0;
}

.book-card-description {
  font-size: 0.85rem;
  color: var(--color-text-muted, #666);
  margin: 0 0 0.75rem 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-card-year {
  font-size: 0.8rem;
  color: var(--color-text-light, #999);
}

/* Badges */
.badge-open {
  background: var(--color-success, #4caf50);
  color: white;
}

.badge-commercial {
  background: var(--color-primary, #1976d2);
  color: white;
}

/* Section Header für Featured Books */
.featured-books-section {
  margin: 2rem 0;
}

.featured-books-section h2 {
  margin-bottom: 1rem;
}

.featured-books-section .view-all-link {
  text-align: center;
  margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 600px) {
  .book-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .book-card-cover-container {
    aspect-ratio: 16 / 9;
  }
  
  .book-card-cover-placeholder {
    font-size: 3rem;
  }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  .book-card {
    background: var(--color-surface-dark, #1e1e1e);
    border-color: var(--color-border-dark, #333);
  }
  
  .book-card-cover-placeholder {
    background: linear-gradient(135deg, #2c3e50 0%, #1e1e1e 100%);
  }
  
  .book-card-title {
    color: var(--color-text-dark, #e0e0e0);
  }
}

/* === END: 89-book-cards.css === */

/* === BEGIN: 90-variables.css === */
/* ========================================
   CSS VARIABLEN - Farb-Ãœberschreibungen
   ======================================== */

:root {
  /* PrimÃ¤rfarbe: Dunkelrot statt Blau */
  --color-primary-900: #5c0a0a;
  --color-primary-800: #8b0000;
  --color-primary-700: #a01010;
  --color-primary-600: #b91c1c;
  --color-primary-500: #dc2626;
}

/* ========================================
   LOGO - SeitenverhÃ¤ltnis beibehalten!
   ======================================== */

.site-logo-image,
.site-logo {
  height: 50px;
  width: auto !important;
  max-width: none;
  object-fit: contain;
}
/* === END: 90-variables.css === */

/* === BEGIN: 91-book-page.css === */
/* ========================================
   BOOK PAGE - Container und Styles
   ======================================== */

.book-page .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Tags horizontal */
.book-tags-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tags-label {
  font-weight: 600;
  color: #374151;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #f3f4f6;
  color: #374151;
  border-radius: 9999px;
  font-size: 0.875rem;
  text-decoration: none;
}

.tag:hover {
  background-color: #fee2e2;
  color: #b91c1c;
}

/* Bibliografie */
.bibliography-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.5rem;
  margin: 1rem 0;
}

.bibliography-item {
  display: contents;
}

.bibliography-item dt {
  font-size: 0.875rem;
  color: #6b7280;
}

.bibliography-item dd {
  margin: 0;
  font-weight: 500;
}

/* Editions-Tabelle */
.editions-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.editions-table th,
.editions-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: middle;
}

.editions-table th {
  background-color: #f3f4f6;
  font-weight: 600;
  font-size: 0.875rem;
}

.editions-table tr.current-edition {
  background-color: #f9fafb;
}

.editions-table code {
  font-size: 0.875rem;
  background: #f3f4f6;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
}

/* Download Buttons */
.download-btn {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--color-primary-800, #8b0000);
  color: white !important;
  border-radius: 0.25rem;
  text-decoration: none;
  font-size: 0.875rem;
}

.download-btn:hover {
  background: var(--color-primary-700, #a01010);
}

/* Lizenz-Hinweis */
.license-note {
  color: #6b7280;
  margin-top: 1rem;
}

.license-note a {
  color: var(--color-primary-800, #8b0000);
}

/* D2D Kauflink */
.d2d-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: #4f46e5;
  color: white !important;
  border-radius: 0.25rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s ease;
}

.d2d-link:hover {
  background: #4338ca;
}

/* Preis-Anzeige */
.book-price {
  font-size: 1.125rem;
  color: #1f2937;
  margin-bottom: 1rem;
}

.book-price strong {
  color: #6b7280;
}
/* === END: 91-book-page.css === */

/* === BEGIN: 92-datatable.css === */
/* ========================================
   DATATABLE - Open Access GRÃœN
   ======================================== */

.book-type-cell.open {
  color: #059669 !important;
  font-weight: 600;
}

.book-type-cell.commercial {
  color: #8b0000;
}

/* Badges in der Tabelle */
.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-open {
  background-color: #d1fae5;
  color: #065f46;
}

.badge-commercial {
  background-color: #fee2e2;
  color: #991b1b;
}
/* === END: 92-datatable.css === */

/* === BEGIN: 93-navigation.css === */
/* ========================================
   SUBMENU - Versteckt by default, sichtbar bei Hover
   
   WICHTIG: base-website 10-header.scss hat bereits
   Submenu-Styles, aber sie werden Ã¼berschrieben
   ======================================== */

/* Desktop: Submenu versteckt */
.submenu,
.nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--rounded-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2) 0;
  margin-top: 0;  /* KEIN Abstand - direkt anschlieÃŸen */
  z-index: var(--z-dropdown, 1000);
  list-style: none;
}

/* Unsichtbare BrÃ¼cke um Hover zu halten */
.nav-item.has-submenu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;  /* Kleine unsichtbare FlÃ¤che */
}

/* Desktop: Submenu sichtbar bei Hover */
.nav-item.has-submenu {
  position: relative;  /* FÃ¼r ::after Positionierung */
}

.nav-item.has-submenu:hover > .submenu,
.nav-item.has-submenu:hover > .nav-submenu,
.nav-item.has-submenu:focus-within > .submenu,
.nav-item.has-submenu:focus-within > .nav-submenu {
  display: block;
}

/* Submenu Links */
.submenu-link {
  display: block;
  padding: var(--space-2) var(--space-4);
  color: var(--color-gray-700);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.submenu-link:hover {
  background: var(--color-gray-50);
  color: var(--color-primary-800);
}

/* Dropdown Arrow Animation */
.dropdown-arrow {
  font-size: 0.7em;
  margin-left: var(--space-2);
  display: inline-block;
  transition: transform var(--transition-fast);
}

.nav-item.has-submenu:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* ========================================
   LANGUAGE SWITCHER - Dropdown
   ======================================== */

.language-switcher {
  position: relative;
}

.language-current {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--color-gray-200, #ddd);
  border-radius: var(--rounded, 4px);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  line-height: 1;
}

.language-current:hover {
  border-color: var(--color-primary-800);
}

.language-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  background: white;
  border: 1px solid var(--color-gray-200, #ddd);
  border-radius: var(--rounded, 4px);
  box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0,0,0,0.1));
  padding: 0.5rem 0;
  margin-top: 0.25rem;
  z-index: 1000;
  /* WICHTIG: Keine Bullet Points! */
  list-style: none !important;
  margin-left: 0;
  padding-left: 0;
}

.language-menu.open {
  display: block;
}

.language-menu li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.language-menu li::before {
  content: none !important;
  display: none !important;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: var(--color-gray-700);
  text-decoration: none;
  transition: all 0.2s;
}

.language-option:hover {
  background: var(--color-gray-50, #f8fafc);
  color: var(--color-primary-800);
}

.flag {
  font-size: 1.1em;
  line-height: 1;
}

/* Fallback wenn JS nicht lÃ¤uft */
@media (hover: hover) {
  .language-switcher:hover .language-menu {
    display: block;
  }
}

/* ========================================
   HAMBURGER MENU - Mobile Toggle
   ======================================== */

/* Hamburger Button - versteckt auf Desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  width: 44px;
  height: 44px;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-gray-800);
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

/* Hamburger Icon vertikal zentrieren */
.hamburger-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Menu Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.menu-overlay.show {
  display: block;
}

/* ========================================
   RESPONSIVE - Breakpoint 1100px
   (wie johannesheinrichs.de navigation.css)
   ======================================== */

@media screen and (max-width: 1100px) {
  /* Hamburger sichtbar */
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* ::after BrÃ¼cke auf Mobile nicht nÃ¶tig */
  .nav-item.has-submenu::after {
    display: none;
  }
  
  /* Navigation Panel - von rechts */
  .main-navigation {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 90%;
    max-width: 350px;
    height: calc(100vh - 70px);
    background: var(--color-white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    padding: var(--space-6);
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 1000;
  }
  
  .main-navigation.open {
    right: 0;
  }
  
  /* Hamburger Icon â†’ X Animation */
  .mobile-menu-toggle[aria-expanded="true"] .hamburger-icon {
    display: none;
  }
  
  .mobile-menu-toggle[aria-expanded="true"]::after {
    content: '\2715'; /* '✕' */
    font-size: 1.5rem;
  }
  
  /* Nav Menu vertikal */
  .nav-menu {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  
  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--color-gray-200);
  }
  
  .nav-link {
    padding: var(--space-3) var(--space-4);
    justify-content: space-between;
    font-size: var(--text-lg);
  }
  
  /* Mobile Submenus - versteckt bis aktiv */
  .submenu,
  .nav-submenu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--color-gray-50);
    margin: 0;
    padding: 0;
  }
  
  /* Submenu sichtbar wenn aktiv (nicht hover!) */
  .nav-item.has-submenu.active > .submenu,
  .nav-item.has-submenu.active > .nav-submenu {
    display: block;
  }
  
  /* Hover deaktivieren auf Mobile */
  .nav-item.has-submenu:hover > .submenu,
  .nav-item.has-submenu:hover > .nav-submenu {
    display: none;
  }
  
  .nav-item.has-submenu.active > .submenu,
  .nav-item.has-submenu.active > .nav-submenu {
    display: block;
  }
  
  .submenu-link {
    padding: var(--space-3) var(--space-6);
    border-bottom: 1px solid var(--color-gray-200);
  }
  
  /* Header Actions im Mobile Menu */
  .header-actions {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-gray-200);
  }
}

/* === END: 93-navigation.css === */

/* === BEGIN: 94-authors.css === */
/* ========================================
   AUTOREN-KARTEN - Untereinander (vertikal)
   ======================================== */

.author-cards,
.authors-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  list-style: none;
  padding: 0;
  margin: 0;
}

.author-card-wrapper {
  width: 100%;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--rounded-lg);
  overflow: hidden;
  background: var(--color-white);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.author-card-wrapper:hover {
  border-color: var(--color-primary-800);
  box-shadow: var(--shadow-md);
}

.author-card {
  display: flex;
  flex-direction: row;
  gap: var(--space-4);
  padding: var(--space-6);
  text-decoration: none;
  color: inherit;
}

.author-card__image {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: var(--rounded-full);
  object-fit: cover;
  flex-shrink: 0;
}

.author-card__content {
  flex: 1 1 auto;
  min-width: 0;
}

.author-card__name {
  margin: 0 0 var(--space-1) 0;
  font-size: var(--text-xl);
  color: var(--color-primary-800);
}

.author-card__role {
  margin: 0 0 var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  font-style: italic;
}

.author-card__bio {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-gray-700);
  line-height: var(--leading-relaxed);
}

.author-card__meta {
  padding: var(--space-3) var(--space-6);
  background: var(--color-gray-50);
  border-top: 1px solid var(--color-gray-200);
}

.author-card__book-count {
  color: var(--color-primary-800);
  text-decoration: none;
  font-weight: var(--font-medium);
}

.author-card__book-count:hover {
  text-decoration: underline;
}
/* === END: 94-authors.css === */

/* === BEGIN: 95-datatable-filter.css === */
/* ========================================
   DATATABLE FILTER - In einer Reihe
   ======================================== */

.datatable-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  align-items: stretch;
}

.datatable-filters select,
.datatable-filters input[type="text"] {
  flex: 1 1 150px;
  min-width: 120px;
  max-width: 250px;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--rounded-md);
  font-size: var(--text-sm);
}

.datatable-search {
  flex: 2 1 200px;
  max-width: 350px;
}

.datatable-page-size {
  flex: 0 0 auto;
  min-width: 80px;
  max-width: 120px;
}

.datatable-filters label {
  display: none;
}

@media (max-width: 600px) {
  .datatable-filters {
    flex-direction: column;
  }
  
  .datatable-filters select,
  .datatable-filters input[type="text"],
  .datatable-search,
  .datatable-page-size {
    max-width: 100%;
    flex: 1 1 100%;
  }
}
/* === END: 95-datatable-filter.css === */

/* === BEGIN: 96-buttons.css === */
/* ========================================
   BUTTONS & LINKS - PrimÃ¤rfarbe
   ======================================== */

.btn-primary,
.btn {
  background: var(--color-primary-800);
  color: var(--color-white);
}

.btn-primary:hover,
.btn:hover {
  background: var(--color-primary-700);
}

a {
  color: var(--color-primary-800);
}

a:hover {
  color: var(--color-primary-600);
}
/* === END: 96-buttons.css === */

/* === BEGIN: 97-pagination.css === */
/* ========================================
   PAGINATION
   ======================================== */

.datatable-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-gray-200);
}

.pagination-buttons {
  display: flex;
  gap: var(--space-1);
}

.pagination-buttons button {
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-gray-300);
  background: var(--color-white);
  border-radius: var(--rounded);
  cursor: pointer;
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.pagination-buttons button:hover:not(:disabled) {
  background: var(--color-gray-50);
  border-color: var(--color-primary-800);
}

.pagination-buttons button.active {
  background: var(--color-primary-800);
  color: var(--color-white);
  border-color: var(--color-primary-800);
}

.pagination-buttons button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* === END: 97-pagination.css === */

/* === BEGIN: 98-content-styles.css === */
/* ========================================
   EDITION NOTES - Hinweise zur Ausgabe
   ======================================== */

.edition-note {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-radius: var(--rounded-md, 0.375rem);
  font-size: 0.9rem;
  line-height: 1.6;
}

.edition-note p {
  margin: 0;
}

.edition-note strong {
  display: block;
  margin-bottom: 0.25rem;
}

/* Seitengleiche Originalausgabe - dezent grÃ¼n */
.edition-note--reprint {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  color: #166534;
}

/* Digitalisierter Scan - dezent blau */
.edition-note--scan {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  color: #1e40af;
}

/* ========================================
   FEATURED BOOKS - Hervorgehobene BÃ¼cher
   ======================================== */

.featured-book {
  border: 2px solid #fbbf24;
  background: linear-gradient(135deg, #fef3c7 0%, #ffffff 100%);
  border-radius: var(--rounded-lg, 0.5rem);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.featured-book__label {
  display: inline-block;
  background: #f59e0b;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-book__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--color-primary-800, #8b0000);
}

.featured-book__subtitle {
  font-size: 1rem;
  color: #6b7280;
  margin: 0 0 0.75rem 0;
  font-style: italic;
}

.featured-book__description {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.6;
}

/* ========================================
   BLOG - Interaktives Layout
   ======================================== */

.blog-interactive {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Scrollbare Tabelle */
.blog-posts-table-container {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid var(--color-gray-200, #e5e5e5);
  border-radius: var(--rounded-md, 0.375rem);
}

.blog-posts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.blog-posts-table thead {
  position: sticky;
  top: 0;
  background: var(--color-gray-100, #f3f4f6);
  z-index: 1;
}

.blog-posts-table th,
.blog-posts-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-gray-200, #e5e5e5);
}

.blog-posts-table th {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray-600, #6b7280);
}

.blog-posts-table tbody tr {
  transition: background 0.15s ease;
}

.blog-posts-table tbody tr:hover {
  background: var(--color-gray-50, #f9fafb);
}

.blog-posts-table tbody tr.active {
  background: #fef3c7;
  border-left: 3px solid #f59e0b;
}

.blog-posts-table .post-date {
  white-space: nowrap;
  color: var(--color-gray-500, #6b7280);
  font-size: 0.85rem;
}

.blog-posts-table .post-title {
  font-weight: 500;
}

.blog-posts-table .post-title a {
  color: var(--color-primary-800, #8b0000);
  text-decoration: none;
}

.blog-posts-table .post-title a:hover {
  text-decoration: underline;
}

.blog-posts-table tbody tr.active .post-title a {
  font-weight: 700;
}

.blog-posts-table .post-tags {
  color: var(--color-gray-500, #6b7280);
  font-size: 0.85rem;
}

/* Post-Vorschau */
.blog-post-preview {
  padding: 1.5rem;
  background: var(--color-white, #fff);
  border: 1px solid var(--color-gray-200, #e5e5e5);
  border-radius: var(--rounded-lg, 0.5rem);
}

.blog-post-preview h2 {
  margin-top: 0;
  color: var(--color-primary-800, #8b0000);
}

.blog-post-preview .post-meta {
  font-size: 0.9rem;
  color: var(--color-gray-500, #6b7280);
  margin-bottom: 1rem;
}

.blog-post-preview .post-content {
  line-height: 1.7;
}

.blog-post-preview .read-more {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-200, #e5e5e5);
}

.blog-post-preview .read-more a {
  font-weight: 500;
  color: var(--color-primary-800, #8b0000);
}

/* Post Navigation */
.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-200, #e5e5e5);
}

.post-navigation .nav-prev,
.post-navigation .nav-next {
  padding: 0.5rem 1rem;
  background: var(--color-gray-100, #f3f4f6);
  border-radius: var(--rounded, 0.25rem);
  text-decoration: none;
  font-size: 0.9rem;
}

.post-navigation .nav-prev:hover,
.post-navigation .nav-next:hover {
  background: var(--color-gray-200, #e5e5e5);
}

/* Post Tags */
.post-tags {
  margin-bottom: 1rem;
}

.post-tags .tag {
  margin-right: 0.5rem;
}

/* Blog Article */
.blog-post {
  margin-top: 1.5rem;
}

.blog-post__header {
  margin-bottom: 1.5rem;
}

.blog-post__header h2 {
  margin-top: 0;
  color: var(--color-primary-800, #8b0000);
}

.blog-post__content {
  line-height: 1.8;
}

.blog-post__content h1,
.blog-post__content h2,
.blog-post__content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-post__content p {
  margin-bottom: 1rem;
}

.blog-post__content ul,
.blog-post__content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

/* ========================================
   BUNDLES - Sonderangebote
   ======================================== */

.bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.bundle-card {
  position: relative;
  border: 1px solid var(--color-gray-200, #e5e5e5);
  border-radius: var(--rounded-lg, 0.5rem);
  padding: 1.5rem;
  background: var(--color-white, #fff);
  transition: all 0.2s ease;
}

.bundle-card:hover {
  border-color: var(--color-primary-800, #8b0000);
  box-shadow: var(--shadow-md, 0 4px 6px rgba(0,0,0,0.1));
}

.bundle-card--featured {
  border: 2px solid #f59e0b;
  background: linear-gradient(135deg, #fef3c7 0%, #ffffff 50%);
}

.bundle-badge {
  position: absolute;
  top: -0.75rem;
  right: 1rem;
  background: #f59e0b;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bundle-card__title {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
}

.bundle-card__title a {
  color: var(--color-primary-800, #8b0000);
  text-decoration: none;
}

.bundle-card__title a:hover {
  text-decoration: underline;
}

.bundle-card__description {
  font-size: 0.9rem;
  color: var(--color-gray-600, #6b7280);
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

.bundle-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.bundle-card__books {
  font-size: 0.9rem;
  color: var(--color-gray-500, #6b7280);
}

.bundle-card__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-800, #8b0000);
}

.bundle-card__savings {
  color: #059669;
  margin: 0 0 1rem 0;
}

.bundle-card__link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-primary-800, #8b0000);
  color: white !important;
  border-radius: var(--rounded, 0.25rem);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease;
}

.bundle-card__link:hover {
  background: var(--color-primary-700, #a01010);
}

/* Bundle Detail Page */
.bundle-detail__header {
  background: var(--color-gray-50, #f9fafb);
  padding: 2rem;
  border-radius: var(--rounded-lg, 0.5rem);
  margin-bottom: 2rem;
}

.bundle-detail__description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
}

.bundle-detail__pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.bundle-price__amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary-800, #8b0000);
  display: block;
}

.bundle-price__per-book {
  font-size: 0.9rem;
  color: var(--color-gray-500, #6b7280);
}

.bundle-savings {
  padding: 0.75rem 1rem;
  background: #d1fae5;
  border-radius: var(--rounded, 0.25rem);
}

.bundle-savings__original {
  display: block;
  font-size: 0.9rem;
  color: var(--color-gray-600, #6b7280);
  text-decoration: line-through;
}

.bundle-savings__amount {
  font-weight: 600;
  color: #059669;
}

.bundle-books-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.bundle-books-table th,
.bundle-books-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-gray-200, #e5e5e5);
}

.bundle-books-table th {
  background: var(--color-gray-100, #f3f4f6);
  font-weight: 600;
}

.bundle-books-table .price-cell {
  text-align: right;
  white-space: nowrap;
}

.bundle-books-table tfoot {
  background: var(--color-gray-50, #f9fafb);
}

.bundle-books-table .bundle-total {
  background: #d1fae5;
}

.bundle-books-table .bundle-total td {
  color: #059669;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
}

/* Bundle-Note auf Buchseiten */
.bundle-note {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fff8e1 100%);
  border: 1px solid #f59e0b;
  border-radius: var(--rounded-lg, 0.5rem);
}

.bundle-note strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #92400e;
}

.bundle-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.bundle-list li {
  margin: 0.25rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.bundle-list li::before {
  content: '\2192'; /*'→' */
  position: absolute;
  left: 0;
  color: #f59e0b;
}

.bundle-list a {
  color: #92400e;
  text-decoration: none;
  font-weight: 500;
}

.bundle-list a:hover {
  text-decoration: underline;
}

/* Werkausgabe-Info Box */
.werkausgabe-info {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border: 1px solid #3b82f6;
  border-radius: var(--rounded-lg, 0.5rem);
}

.werkausgabe-info h3 {
  margin-top: 0;
  color: #1e40af;
}

.werkausgabe-info ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.werkausgabe-info li {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.werkausgabe-info strong {
  color: #1e40af;
}

.werkausgabe-info p:last-child {
  margin-bottom: 0;
  padding: 1rem;
  background: #fef3c7;
  border-radius: var(--rounded, 0.25rem);
  font-size: 0.9rem;
}

/* Intro-Link auf Autorenseiten */
.intro-link {
  margin: 1.5rem 0;
}

.intro-link .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
}

/* ================================================
   COLLECTION LAYOUT STYLES
   ================================================ */

.collection-page {
  max-width: 900px;
  margin: 0 auto;
}

.collection-header {
  margin-bottom: 2rem;
}

.collection-type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-primary-100, #e0f2fe);
  color: var(--color-primary-800, #075985);
  border-radius: var(--rounded, 0.25rem);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.collection-type.triade {
  background: #fef3c7;
  color: #92400e;
}

.collection-type.serie {
  background: #d1fae5;
  color: #065f46;
}

.collection-intro {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Kernthemen */
.collection-themes {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--color-surface, #f8fafc);
  border-radius: var(--rounded-lg, 0.5rem);
}

.themes-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.theme-item {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.theme-item::before {
  content: '\2192'; /*'→' */
  position: absolute;
  left: 0;
  color: var(--color-primary-600, #0284c7);
}

.theme-desc {
  color: var(--color-text-muted, #64748b);
}

/* BÃ¼cher-Grid in Collection */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.collection-book {
  position: relative;
  padding: 1.25rem;
  background: white;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--rounded-lg, 0.5rem);
  transition: box-shadow 0.2s;
}

.collection-book:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.book-number {
  position: absolute;
  top: -0.75rem;
  left: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--color-primary-600, #0284c7);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.collection-book h3 {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.collection-book .subtitle {
  font-size: 0.875rem;
  color: var(--color-text-muted, #64748b);
  margin: 0.25rem 0;
}

.collection-book .meta {
  font-size: 0.75rem;
  color: var(--color-text-muted, #64748b);
  margin-top: 0.5rem;
}

.collection-role {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--color-primary-700, #0369a1);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border, #e2e8f0);
}

.status-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--rounded, 0.25rem);
}

.status-badge.draft {
  background: #fef3c7;
  color: #92400e;
}

.status-badge.planned {
  background: #e0e7ff;
  color: #3730a3;
}

/* Reading Paths */
.reading-paths {
  margin: 2rem 0;
}

.reading-path {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--rounded-lg, 0.5rem);
}

.reading-path h3 {
  margin: 0 0 0.25rem;
  color: var(--color-primary-800, #075985);
}

.path-audience {
  font-size: 0.875rem;
  color: var(--color-text-muted, #64748b);
  font-style: italic;
  margin-bottom: 1rem;
}

.path-steps {
  margin: 0;
  padding-left: 1.5rem;
}

.path-steps li {
  margin: 0.5rem 0;
  padding-left: 0.5rem;
}

.path-steps a {
  font-weight: 500;
  color: var(--color-primary-700, #0369a1);
}

.step-note {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted, #64748b);
  margin-top: 0.125rem;
}

/* Relations */
.collection-relations {
  margin: 2rem 0;
}

.relations-diagram {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.relation-item {
  padding: 1rem;
  background: var(--color-surface, #f8fafc);
  border-radius: var(--rounded, 0.25rem);
}

.relation-books {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.book-ref {
  padding: 0.25rem 0.5rem;
  background: white;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--rounded, 0.25rem);
}

.relation-arrow {
  color: var(--color-primary-600, #0284c7);
  font-size: 1.25rem;
}

.relation-desc {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--color-text-muted, #64748b);
}

/* Collection Navigation */
.collection-navigation {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border, #e2e8f0);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.collection-navigation .nav-link {
  padding: 0.5rem 1rem;
  background: var(--color-surface, #f8fafc);
  border-radius: var(--rounded, 0.25rem);
  text-decoration: none;
  font-size: 0.875rem;
}

.collection-navigation .nav-link:hover {
  background: var(--color-primary-100, #e0f2fe);
}

/* Authors Grid auf Einstieg-Index */
.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.author-card {
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--rounded-lg, 0.5rem);
}

.author-card h3 {
  margin-top: 0;
}

.author-card p {
  color: var(--color-text-muted, #64748b);
}

/* === END: 98-content-styles.css === */


/* Weitere projekt-spezifische Overrides können hier folgen */
