:root {
  --black: #171717;
  --black-soft: #242424;
  --white: #ffffff;
  --background: #ffffff;
  --surface: #f5f4f1;
  --surface-hover: #fffaf7;
  --text: #191919;
  --muted: #696969;
  --accent: rgb(218, 94, 42);
  --accent-dark: rgb(181, 69, 24);
  --accent-soft: rgba(218, 94, 42, 0.11);
  --border: #d3d0ca;
  --shadow: 0 20px 52px rgba(23, 23, 23, 0.09);
  --radius-large: 24px;
  --radius-medium: 14px;
  --page-width: 980px;
  --font-main: avenir-lt-w01_35-light1475496, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: var(--font-main);
  font-weight: 300;
  line-height: 1.55;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

/* Schwarzer Kopfbereich wie auf der bisherigen MUSIeK-Seite */

.site-header {
  min-height: 170px;
  padding: 60px max(24px, calc((100vw - var(--page-width)) / 2)) 34px;
  color: var(--white);
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.58);
  display: flex;
  align-items: center;
}

.back-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.back-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.back-link:hover {
  color: var(--accent);
  transform: translateX(-3px);
}

.back-link:hover::after {
  transform: scaleX(1);
}

/* Playlist */

.music-page,
.content-page {
  width: min(calc(100% - 48px), var(--page-width));
  margin-inline: auto;
  padding: 78px 0 96px;
}

.intro {
  max-width: 760px;
  margin-bottom: 40px;
}

.eyebrow,
.section-label {
  margin: 0 0 9px;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.player-card {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 54px);
  align-items: center;
  padding: clamp(23px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cover-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  background: var(--black);
  box-shadow: 0 18px 40px rgba(23, 23, 23, 0.18);
}

.current-cover,
.cover-placeholder {
  width: 100%;
  height: 100%;
}

.current-cover {
  display: none;
  object-fit: cover;
}

.cover-placeholder {
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(
      145deg,
      rgba(218, 94, 42, 0.98),
      rgba(218, 94, 42, 0.38)
    ),
    var(--black);
}

.cover-placeholder span {
  font-size: clamp(5rem, 14vw, 9rem);
  line-height: 1;
  opacity: 0.94;
  transform: translateY(-4%);
}

.player-content {
  min-width: 0;
}

.now-playing-label {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

#current-title {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 3.25rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.current-artist {
  margin: 10px 0 30px;
  color: var(--muted);
  font-size: 1.03rem;
}

.current-artist:empty,
.track-artist:empty {
  display: none;
}

.timeline-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 0.83rem;
  font-variant-numeric: tabular-nums;
}

.range-input {
  width: 100%;
  height: 5px;
  margin: 0;
  border-radius: 999px;
  accent-color: var(--accent);
  cursor: pointer;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 27px 0;
}

.icon-button,
.play-button,
.track-play-button {
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition:
    transform 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.icon-button {
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--black);
  font-size: 0.95rem;
}

.icon-button:hover,
.track-play-button:hover {
  transform: scale(1.055);
  background: var(--black-soft);
}

.play-button {
  width: 68px;
  height: 68px;
  padding-left: 4px;
  color: var(--white);
  background: var(--accent);
  font-size: 1.38rem;
  box-shadow: 0 12px 28px rgba(218, 94, 42, 0.28);
}

.play-button:hover {
  transform: scale(1.055);
  background: var(--accent-dark);
}

.volume-row {
  display: grid;
  grid-template-columns: auto auto minmax(90px, 220px) auto;
  gap: 10px;
  align-items: center;
  justify-content: end;
  color: var(--muted);
  font-size: 0.87rem;
}

.playlist-section {
  margin-top: 64px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 19px;
}

.track-count {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.9rem;
}

.playlist {
  display: grid;
  gap: 10px;
}

.track {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 17px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--white);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.track:hover {
  border-color: rgba(218, 94, 42, 0.58);
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.track.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.track-play-button {
  width: 40px;
  height: 40px;
  color: var(--white);
  background: var(--black);
  font-size: 0.8rem;
}

.track.active .track-play-button {
  background: var(--accent);
}

.track-info {
  min-width: 0;
}

.track-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
}

.track-artist {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.track-number {
  min-width: 28px;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.notice {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  color: var(--muted);
  background: var(--surface);
}

/* Copyright & Credits */

.copyright-intro {
  max-width: 780px;
  margin-bottom: 52px;
}

.copyright-intro .intro-text {
  max-width: 660px;
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.copyright-content {
  max-width: 820px;
}

.copyright-section {
  padding: 31px 0 34px;
  border-top: 1px solid var(--border);
}

.copyright-section:last-child {
  border-bottom: 1px solid var(--border);
}

.copyright-section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.copyright-section p {
  max-width: 730px;
  margin: 0 0 13px;
  color: var(--muted);
}

.copyright-section p:last-child {
  margin-bottom: 0;
}

.credit-list {
  margin: 0;
}

.credit-list > div {
  display: grid;
  grid-template-columns: minmax(190px, 0.75fr) minmax(0, 1fr);
  gap: 22px;
  padding: 13px 0;
  border-top: 1px solid var(--border);
}

.credit-list > div:last-child {
  border-bottom: 1px solid var(--border);
}

.credit-list dt {
  color: var(--text);
}

.credit-list dd {
  margin: 0;
  color: var(--muted);
}

.email-link,
.inline-link {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.email-link:hover,
.inline-link:hover {
  color: var(--accent-dark);
}

/* Footer */

.site-footer {
  min-height: 180px;
  padding: 36px 24px;
  color: var(--white);
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 13px;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer a {
  color: var(--white);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a.active {
  color: var(--accent);
}

.icon-button:focus-visible,
.play-button:focus-visible,
.track-play-button:focus-visible,
.back-link:focus-visible,
.site-footer a:focus-visible,
.email-link:focus-visible,
.inline-link:focus-visible,
.range-input:focus-visible {
  outline: 3px solid rgba(218, 94, 42, 0.42);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 125px;
    padding-top: 38px;
    padding-bottom: 28px;
  }

  .music-page,
  .content-page {
    padding-top: 57px;
    padding-bottom: 74px;
  }

  .player-card {
    grid-template-columns: 1fr;
  }

  .cover-wrap {
    width: min(100%, 400px);
    margin-inline: auto;
  }

  .volume-row {
    grid-template-columns: auto auto minmax(70px, 1fr) auto;
    justify-content: stretch;
  }
}

@media (max-width: 520px) {
  .music-page,
  .content-page {
    width: min(calc(100% - 26px), var(--page-width));
  }

  .site-header {
    padding-inline: 18px;
  }

  .player-card {
    padding: 17px;
    border-radius: 18px;
  }

  .timeline-row {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
    font-size: 0.75rem;
  }

  .volume-row label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .volume-row {
    grid-template-columns: auto minmax(70px, 1fr) auto;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .track {
    grid-template-columns: 43px minmax(0, 1fr) auto;
    gap: 11px;
    padding: 12px;
  }

  .track-number {
    display: none;
  }

  .credit-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}


/* Einheitliche Hauptnavigation */

.global-header {
  width: 100%;
  padding: 0 10px;
  border-top: 16px solid #513932;
  color: var(--white);
  background: var(--white);
}

.global-nav {
  min-height: 82px;
  padding: 0 36px;
  background: var(--black);
  display: flex;
  align-items: center;
  gap: 38px;
}

.global-nav a {
  color: var(--white);
  font-size: 1.05rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.global-nav a:hover,
.global-nav a.active {
  color: var(--accent);
}

.global-nav a:focus-visible {
  outline: 3px solid rgba(218, 94, 42, 0.42);
  outline-offset: 5px;
}

@media (max-width: 520px) {
  .global-nav {
    min-height: 70px;
    padding: 0 20px;
    gap: 22px;
  }

  .global-nav a {
    font-size: 0.92rem;
  }
}
