
/* Main-Padding entfernen — Sections gehen Edge-to-Edge */
/* Die alte Regel "main{padding:0}" ist am 23.09.2026 entfallen, das
   Polster regelt jetzt der Block ganz unten in dieser Datei. */
/* ===== HERO ===== */
.spl-hero {
  position: relative;
  min-height: 35vh;
  /* 23.09.2026: Die Adresse des Bildes stand hier mitten in der CSS.
     Sie steht jetzt als style-Angabe am Element selbst, damit der
     Rest in eine eigene Datei ausgelagert werden konnte. */
  background-position:center;background-size:cover;background-repeat:no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.spl-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,2,28,0.6) 0%, rgba(10,2,28,0.9) 100%);
}
.spl-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 2rem;
}
.spl-hero-title {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 800;
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}
.spl-hero-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  letter-spacing: 1px;
}
.spl-hero-count {
  display: inline-block;
  margin-top: 1rem;
  background: rgba(0,255,255,0.15);
  color: #00FFFF;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0,255,255,0.3);
}

/* ===== GRID ===== */
.spl-grid-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 2rem 60px;
}
.spl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.spl-empty {
  text-align: center;
  color: #8195A9;
  font-size: 1rem;
  padding: 60px 0;
  grid-column: 1 / -1;
}
/* Kuenstler-Ueberschrift in der Alben-Liste (volle Breite im Grid) */
.spl-artist-head {
  grid-column: 1 / -1;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  margin: 18px 0 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,255,255,0.25);
}
.spl-artist-head:first-child { margin-top: 0; }

/* ===== CARD ===== */
.spl-card {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.spl-card:hover {
  border-color: rgba(0,255,255,0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,255,255,0.15);
}
.spl-card-cover {
  position: relative;
  height: 280px;
  padding: 20px 18px;
  background: #0a021c;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Jedes Cover fuellt denselben Kasten, egal wie gross die Bilddatei ist.
   Ohne width/height wuerde ein kleines Bild klein bleiben und ein grosses
   den Kasten fuellen, dann sehen die Kacheln unterschiedlich aus. */
.spl-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
  transition: transform 0.4s ease;
}
.spl-card:hover .spl-card-img {
  transform: scale(1.05);
}
.spl-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.spl-badge-neu {
  background: linear-gradient(135deg, #ff8c00, #ffd700);
  color: #000;
}
.spl-badge-bestseller {
  background: #00c853;
  color: #fff;
  box-shadow: 0 0 10px rgba(0,200,83,0.6);
}
.spl-badge-available {
  background: rgba(0,255,136,0.15);
  color: #00ff88;
  border: 1px solid rgba(0,255,136,0.3);
}
.spl-card-body {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.spl-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.3;
  /* Platz fuer zwei Zeilen reservieren, damit kurze Titel die Sterne und
     das Format darunter nicht nach oben ziehen. */
  min-height: 2.6em;
}
.spl-card-stars {
  font-size: 13px;
  color: #f5a623;
  margin-bottom: 4px;
}
.spl-card-stars-num {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  margin-left: 3px;
}
.spl-card-format {
  font-size: 11px;
  color: #8195A9;
  margin-bottom: 10px;
}
.spl-card-price {
  margin-top: auto;
  margin-bottom: 12px;
}
.spl-card-price-orig {
  font-size: 13px;
  color: #8195A9;
  text-decoration: line-through;
}
.spl-card-price-main {
  font-size: 20px;
  font-weight: 700;
  color: #00FFFF;
}
.spl-card-price-save {
  font-size: 11px;
  color: #00ff88;
}
.spl-card-actions {
  display: flex;
  gap: 8px;
}
/* Hoerprobe direkt in der Kachel, ohne Anmeldung hoerbar */
.spl-hoerprobe {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.spl-hoerprobe-titel {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #00FFFF;
  margin-bottom: 8px;
}
.spl-hoerprobe audio {
  width: 100%;
  height: 38px;
}
.spl-btn-info {
  flex: 1;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border: 1px solid #00FFFF;
  border-radius: 8px;
  color: #00FFFF;
  background: transparent;
  text-decoration: none;
  transition: all 0.3s;
}
.spl-btn-info:hover {
  background: rgba(0,255,255,0.1);
  text-decoration: none;
}
.spl-btn-cart {
  flex: 1;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 8px;
  color: #003d30;
  background: #00FFFF;
  cursor: pointer;
  transition: all 0.3s;
}
.spl-btn-cart:hover {
  background: #00bfa0;
  box-shadow: 0 0 14px rgba(0,255,255,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .spl-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 767px) {
  .spl-hero {
    min-height: 25vh;
    background-attachment: scroll;
  }
  .spl-hero-title { font-size: 1.8rem; }
  .spl-grid-wrap { padding: 32px 1.5rem 48px; }
  .spl-grid { grid-template-columns: 1fr; gap: 16px; }
  .spl-card-cover { height: 220px; padding: 16px 14px; }
}

/* ===== EBOOK FORMAT TABS ===== */
.spl-format-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 24px 2rem 0;
}
.spl-format-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.15);
  color: #8195A9;
  background: rgba(255,255,255,0.04);
}
.spl-format-tab:hover {
  border-color: rgba(0,255,255,0.4);
  color: #DCE6F2;
  text-decoration: none;
}
.spl-format-tab.active {
  background: rgba(0,255,255,0.15);
  border-color: #00FFFF;
  color: #00FFFF;
}

/* =====================================================================
   23.09.2026 auf die Tafel umgestellt, Grundlage assets/css/tafel.css.

   Diese Datei bedient sieben Seiten auf einmal: Taschenbuch,
   Hardcover, E-Book, Hoerbuch, Artbook, Album und Alben. Was hier
   steht, gilt also fuer alle.

   Aufbau: das grosse Bild oben laeuft weiter von Rand zu Rand, die
   Produktliste darunter sitzt auf einer Tafel.
   ===================================================================== */

/* Seitlich kein Polster an main, dann gehen Kategorieleiste und
   Bild von selbst ueber die volle Breite. Die Luft an den Seiten
   holt sich die Tafel darunter selbst. */
main.spl-main{
  padding:0 0 clamp(28px,4vw,48px) !important;
  align-items:stretch !important;max-width:100% !important;
}
main.spl-main > .shop-cat-nav{width:100%;max-width:none;margin:0;border-radius:0}

/* Das Bild schliesst direkt an die Kategorieleiste an */
.spl-hero{margin:0}

/* Die Liste als Tafel */
.spl-grid-wrap{
  box-sizing:border-box;
  width:calc(100% - clamp(20px,4vw,40px));
  max-width:1280px;
  margin:clamp(18px,3vw,32px) auto 0;
  padding:clamp(26px,4vw,44px) clamp(18px,3vw,40px) clamp(30px,5vw,48px);
  font-family:var(--tf-schrift,'Poppins',Arial,sans-serif);
  background:linear-gradient(180deg, var(--tf-tafel-1,rgba(10,16,28,.72)) 0%, var(--tf-tafel-2,rgba(6,10,18,.82)) 100%);
  border:1px solid var(--tf-rand,rgba(0,255,255,.16));
  border-radius:20px;
  box-shadow:0 30px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
}
.spl-grid-wrap *{box-sizing:border-box}

/* Die Formatreiter bei den E-Books sitzen zwischen Bild und Tafel */
.spl-format-tabs{
  width:calc(100% - clamp(20px,4vw,40px));max-width:1280px;
  margin:clamp(18px,3vw,32px) auto 0;
}

@media (max-width:600px){
  .spl-grid-wrap{padding:22px 16px 28px;border-radius:16px}
}
