/* styles.css - Version 5.3
   Gemeinsames Stylesheet für Hörstation
   - Playlist-Seite bleibt vollständig erhalten
   - Startseite mit verfeinertem Museums-/Apple-Look */

:root {
  --page-background: #f6f5f3;
  --surface-background: #ffffff;
  --content-width: 1240px;
  --content-padding: 36px;
  --player-height: 92px;
  --text-color: #181818;
  --muted-text-color: #686868;
  --line-color: rgba(31,31,31,.12);
  --radius: 20px;
  --shadow: 0 16px 38px rgba(0,0,0,.085);
}

body {
  margin: 0;
  background: var(--page-background);
  color: var(--text-color);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
}

body.playlist-page {
  background: #f6f5f3;
  padding-bottom: calc(var(--player-height) + 34px);
}

.site-main > .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

/* =========================================================
   STARTSEITE
========================================================= */

.overview-header {
  width: min(calc(100% - 72px),var(--content-width));
  margin: 0 auto;
  padding: 42px 0 20px;
}

.overview-header__eyebrow {
  margin: 0 0 9px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 500;
  color: #888;
}

.overview-header__title {
  margin: 0;
  font-size: 4rem;
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.04em;
}

.overview-header__intro {
  margin: 14px 0 0;
  max-width: 720px;
  font-size: 1.16rem;
  line-height: 1.55;
  color: #666;
}

.overview-section {
  width: min(calc(100% - 72px),var(--content-width));
  margin: 0 auto;
  padding: 0 0 64px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 42px;
}

.overview-card {
  display: block;
  min-width: 0;
}

.overview-card__link {
  display: block;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0,0,0,.045);
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(0,0,0,.085);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.overview-card__link:hover, .overview-card__link:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0,0,0,.13);
  border-color: rgba(0,0,0,.07);
}

.overview-card__link:active {
  transform: translateY(-1px) scale(.995);
}

.overview-card__link:focus-visible {
  outline: 3px solid rgba(0,0,0,.16);
  outline-offset: 5px;
}

.overview-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: #ececec;
  border-bottom: 1px solid rgba(0,0,0,.045);
}

.overview-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overview-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: #666;
}

.overview-card__play {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #111;
  border: 1px solid rgba(255,255,255,.68);
  box-shadow: 0 9px 22px rgba(0,0,0,.20);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .18s ease, box-shadow .18s ease;
}

.overview-card__link:hover .overview-card__play, .overview-card__link:focus-visible .overview-card__play {
  transform: scale(1.04);
  box-shadow: 0 11px 26px rgba(0,0,0,.24);
}

.overview-card__play-icon {
  margin-left: 3px;
  font-size: 1.05rem;
  line-height: 1;
}

.overview-card__content {
  min-height: 116px;
  padding: 21px 23px 23px;
  background: #fff;
}

.overview-card__title {
  margin: 0;
  color: #171717;
  font-size: 1.58rem;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.03em;
}

.overview-card__subtitle {
  margin: 8px 0 0;
  color: #686868;
  font-size: 1rem;
  line-height: 1.45;
}

.overview-empty-message {
  font-size: 1.1rem;
  color: #777;
}

/* =========================================================
   PLAYLIST
========================================================= */

.playlist-hero {
  position: relative;
  min-height: 390px;
  background: #262126 center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.playlist-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,18,24,.42);
}

.playlist-hero__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 72px),1180px);
  margin: auto;
  min-height: 390px;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
}

.playlist-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  padding: 14px 24px;
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.45);
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.playlist-hero__back:hover, .playlist-hero__back:focus-visible {
  color: #fff;
  text-decoration: none;
  background: rgba(0,0,0,.48);
  border-color: rgba(255,255,255,.68);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transform: translateY(-1px);
}

.playlist-hero__back:active {
  transform: translateY(0) scale(.99);
}

.playlist-hero__back:focus-visible {
  outline: 3px solid rgba(255,255,255,.32);
  outline-offset: 4px;
}

/* Falls der Pfeil als eigenes span-, i- oder svg-Element ausgegeben wird,
   bewegt sich nur dieses Element leicht nach links. */

.playlist-hero__back > span:first-child, .playlist-hero__back > i:first-child, .playlist-hero__back > svg:first-child {
  transition: transform .18s ease;
}

.playlist-hero__back:hover > span:first-child, .playlist-hero__back:focus-visible > span:first-child, .playlist-hero__back:hover > i:first-child, .playlist-hero__back:focus-visible > i:first-child, .playlist-hero__back:hover > svg:first-child, .playlist-hero__back:focus-visible > svg:first-child {
  transform: translateX(-4px);
}

.playlist-hero__main {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 50px;
}

.playlist-hero__cover {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

.playlist-hero__title {
  margin: 0;
  font-size: 4rem;
  line-height: .96;
  font-weight: 800;
}

.playlist-hero__subtitle {
  margin: 12px 0 0;
  font-size: 1.15rem;
}

.playlist-hero__intro {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.35);
  line-height: 1.55;
}

.playlist-content-section__inner {
  width: min(calc(100% - 72px),1180px);
  margin: auto;
  padding: 36px 0;
}

.playlist-hero::before, .playlist-hero::after, .playlist-tracks-section::before, .playlist-content-section::before {
  content: none!important;
}

/* =========================================================
   CONTENT-BILDER
========================================================= */

.content-block--image {
  width: min(100%, var(--content-image-width, 650px));
  margin-top: 40px;
  margin-bottom: 40px;
}

.content-block--align-left {
  margin-right: auto;
  margin-left: 0;
}

.content-block--align-center {
  margin-right: auto;
  margin-left: auto;
}

.content-block--align-right {
  margin-right: 0;
  margin-left: auto;
}

.content-block__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0,0,0,.09);
}

.content-block__caption {
  margin-top: 12px;
  color: var(--muted-text-color);
  font-size: .9rem;
  line-height: 1.5;
}

@media (max-width:767px) {
  .content-block--image {
    width: 100%;
  }
}

@media (max-width:767px) {
  .content-block__image {
    border-radius: 14px;
  }
}

/* =========================================================
   TRACKLISTE – iPad / Kiosk Pro
========================================================= */

.track-item {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  color: #181818;
  text-decoration: none;
}

.track-item, .track-item:visited, .track-item:hover, .track-item:focus, .track-item:active {
  color: #181818;
  text-decoration: none;
}

.track-item__title, .track-item__artist, .track-item__duration, .track-item__number, .track-item__action {
  color: inherit;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width:1100px) {
  .overview-grid {
    gap: 34px;
  }
}

@media (max-width:991px) {
  .overview-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:991px) {
  .overview-header__title, .playlist-hero__title {
    font-size: 3rem;
  }
}

@media (max-width:767px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width:767px) {
  .overview-header, .overview-section, .playlist-hero__inner, .playlist-content-section__inner {
    width: min(calc(100% - 32px),1180px);
  }
}

@media (max-width:767px) {
  .overview-header {
    padding-top: 32px;
  }
}

@media (max-width:767px) {
  .overview-header__title, .playlist-hero__title {
    font-size: 2.3rem;
  }
}

@media (max-width:767px) {
  .playlist-hero__main {
    grid-template-columns: 110px 1fr;
    gap: 18px;
  }
}

@media (max-width:767px) {
  .overview-card__content {
    min-height: 0;
  }
}

@media (prefers-reduced-motion:reduce) {
  .overview-card__link, .overview-card__play, .playlist-hero__back, .playlist-hero__back > span:first-child, .playlist-hero__back > i:first-child, .playlist-hero__back > svg:first-child {
    transition: none;
  }
}

