/* Living Room — Album-Seite · The Pin Up Mojos
   Farben aus dem Cover: Nachtblau, Lederbraun, Lampenlicht, Cremeweiß */

@font-face {
  font-family: "Permanent Marker";
  src: url("fonts/permanent-marker.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bebas Neue";
  src: url("fonts/bebas-neue.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}

:root {
  --night:   #0d1420;
  --night-2: #131c2b;
  --ink:     #1c2739;
  --line:    rgba(239, 227, 196, .12);
  --leather: #6e3522;
  --leather-2: #8a4a2c;
  --amber:   #f2ad4e;
  --amber-2: #ffcf85;
  --cream:   #efe3c4;
  --text:    #e7e2d6;
  --muted:   #9ea7b6;

  --f-display: "Permanent Marker", "Marker Felt", cursive;
  --f-poster:  "Bebas Neue", "Impact", "Arial Narrow", sans-serif;
  --f-body:    "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 72rem;
  --radius: 14px;
  --player-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-bottom: var(--player-h);
  -webkit-font-smoothing: antialiased;
}
/* leichte Papier-Körnung wie auf dem Cover */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-2); }
button { font: inherit; color: inherit; }
svg { fill: currentColor; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: .5rem; background: var(--amber); color: var(--night); padding: .5rem 1rem; border-radius: 6px; z-index: 200; }
.skip-link:focus { left: .5rem; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 2.5rem 0 3rem;
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(242,173,78,.14), transparent 55%),
    linear-gradient(180deg, var(--night-2), var(--night));
}
.hero__glow {
  position: absolute; width: 38rem; height: 38rem; left: -12rem; top: -14rem;
  background: radial-gradient(circle, rgba(242,173,78,.22), transparent 65%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 2.25rem; align-items: center; }

.sleeve { position: relative; width: min(100%, 26rem); margin: 0 auto; }
.sleeve__cover {
  position: relative; z-index: 2; width: 100%;
  border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(239,227,196,.08);
}
.sleeve__record {
  position: absolute; z-index: 1; top: 4%; left: 4%; width: 92%; aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--leather-2) 0 15%, #1a1a1a 15.5% 17%, transparent 17.5%),
    repeating-radial-gradient(circle, #121212 0 2px, #1d1d1d 2px 4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
}
.sleeve__record span {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 20%, rgba(255,255,255,.07) 25%, transparent 30% 70%, rgba(255,255,255,.05) 75%, transparent 80%);
}
.is-playing .sleeve__record { transform: translateX(20%); }
.is-playing .sleeve__record span { animation: spin 1.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__text { position: relative; z-index: 3; text-align: center; }
.eyebrow {
  margin: 0 0 .25rem; font-family: var(--f-poster); letter-spacing: .12em;
  font-size: 1.05rem; color: var(--amber);
}
.hero__title {
  margin: 0; font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3.2rem, 14vw, 6.5rem); line-height: .95; color: var(--cream);
  text-shadow: 0 2px 0 rgba(0,0,0,.35);
  transform: rotate(-2deg);
}
.swoosh { display: block; width: min(80%, 22rem); height: 1.1rem; margin: .3rem auto 0; color: var(--cream); opacity: .9; }
.hero__artist { margin: .6rem 0 0; font-size: 1.15rem; color: var(--muted); }
.hero__artist strong { color: var(--text); font-weight: 700; }
.lead { margin: 1rem auto 0; max-width: 34rem; font-size: 1.15rem; color: var(--text); }

.facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; padding: 0; margin: 1.25rem 0 0; }
.facts li {
  padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: .95rem; color: var(--muted); background: rgba(255,255,255,.02);
}
.facts strong { color: var(--cream); font-weight: 700; }

.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px;
  padding: .7rem 1.4rem; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 1.05rem; transition: transform .15s, background .2s, border-color .2s;
}
.btn svg { width: 1.25rem; height: 1.25rem; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--amber); color: #1b1206; }
.btn--primary:hover { background: var(--amber-2); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid rgba(239,227,196,.3); }
.btn--ghost:hover { border-color: var(--cream); }
.btn--ghost svg { fill: none; }

/* ---------- Trackliste ---------- */
.tracks { padding: 3rem 0 2rem; background: var(--night); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; margin-bottom: 1rem; }
h2 {
  margin: 0; font-family: var(--f-poster); font-weight: 400; letter-spacing: .04em;
  font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.05; color: var(--cream);
}
.section-head__meta { margin: 0; color: var(--muted); }

.side {
  display: flex; align-items: center; gap: .75rem; margin: 1.75rem 0 .5rem;
  font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; color: var(--amber);
}
.side::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.tracklist { list-style: none; margin: 0; padding: 0; }
.track { position: relative; border-bottom: 1px solid var(--line); }
.track__btn {
  width: 100%; display: grid; grid-template-columns: 2.25rem 1fr auto; align-items: center; gap: .75rem;
  min-height: 56px; padding: .6rem .5rem; background: none; border: 0; text-align: left; cursor: pointer;
  border-radius: 8px; transition: background .2s;
}
.track__btn:hover { background: rgba(239,227,196,.05); }
.track__no, .track__icon { grid-column: 1; grid-row: 1; justify-self: center; }
.track__no { font-family: var(--f-poster); font-size: 1.25rem; color: var(--muted); letter-spacing: .05em; }
.track__icon { display: none; width: 1.25rem; height: 1.25rem; color: var(--amber); }
.track__icon .i-play { width: 100%; height: 100%; }
.track__title { font-size: 1.1rem; font-weight: 600; color: var(--text); }
.track__time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .98rem; }

@media (hover: hover) {
  .track__btn:hover .track__no { display: none; }
  .track__btn:hover .track__icon { display: block; }
}
.track.is-current .track__no { display: none; }
.track.is-current .track__icon { display: block; }
.track.is-current .track__title { color: var(--amber-2); }
.track .eq { display: none; }
.track.is-current.is-live .i-play { display: none; }
.track.is-current.is-live .eq { display: flex; }

.track__progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--amber); transition: width .25s linear;
}

.eq { width: 100%; height: 100%; align-items: flex-end; justify-content: space-between; }
.eq i { display: block; width: 22%; background: var(--amber); border-radius: 1px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.4s; }
.eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%,100% { height: 25%; } 50% { height: 100%; } }

/* ---------- Über das Album ---------- */
.about {
  padding: 3rem 0;
  background:
    radial-gradient(90% 120% at 100% 100%, rgba(110,53,34,.35), transparent 60%),
    var(--night-2);
  border-top: 1px solid var(--line);
}
.about__grid { display: grid; gap: 2rem; align-items: center; }
.about p { max-width: 38rem; color: var(--text); }
.about h2 { margin-bottom: .75rem; }
.note {
  margin: 0; justify-self: center; text-align: center;
  padding: 1.6rem 2rem; background: #11161f; color: var(--cream);
  border-radius: 10px 10px 22px 22px; box-shadow: inset 0 -6px 0 rgba(0,0,0,.35), 0 18px 40px -18px #000;
  transform: rotate(2deg);
}
.note p { margin: 0; font-family: var(--f-poster); font-size: 2rem; line-height: 1.05; letter-spacing: .06em; }
.note footer { margin-top: .6rem; font-size: .9rem; color: var(--muted); }

/* ---------- Credits ---------- */
.credits { padding: 2rem 0 2.5rem; background: var(--night); border-top: 1px solid var(--line); }
.credits__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; margin: 0; }
.credits__list dt { font-family: var(--f-poster); letter-spacing: .1em; color: var(--amber); font-size: 1rem; }
.credits__list dd { margin: 0; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { padding: 1.5rem 0 2rem; background: #090e17; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; }
.site-footer p { margin: 0; }
.site-footer__nav { display: flex; gap: 1.25rem; }
.site-footer a { color: var(--muted); text-decoration: none; padding: .5rem 0; }
.site-footer a:hover { color: var(--cream); }

/* ---------- Player ---------- */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(13,20,32,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.player[hidden] { display: none; }
.player__bar { position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: transparent; }
.player__fill { display: block; height: 100%; width: 0; background: var(--amber); }
.player__inner {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: .75rem;
  padding-top: .6rem; padding-bottom: .6rem;
}
.player__cover { width: 44px; height: 44px; border-radius: 4px; object-fit: cover; }
.player__meta { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.player__title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__artist { font-size: .85rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__controls { display: flex; align-items: center; gap: .15rem; }
.pbtn {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 50%; cursor: pointer; color: var(--text);
}
.pbtn svg { width: 22px; height: 22px; }
.pbtn:hover { color: var(--cream); background: rgba(239,227,196,.07); }
.pbtn--main { background: var(--amber); color: #1b1206; }
.pbtn--main:hover { background: var(--amber-2); color: #1b1206; }
.pbtn--main .i-pause { display: none; }
.is-playing .pbtn--main .i-play { display: none; }
.is-playing .pbtn--main .i-pause { display: block; }

.player__seek { display: none; align-items: center; gap: .6rem; font-variant-numeric: tabular-nums; font-size: .85rem; color: var(--muted); }
.player__range {
  flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 2px; cursor: pointer;
  background: linear-gradient(var(--amber), var(--amber)) 0 / var(--p, 0%) 100% no-repeat, rgba(239,227,196,.18);
}
.player__range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 0; }
.player__range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 0; }

/* ---------- Rechtsseiten (immer hell) ---------- */
.legal-page { background: #fff; color: #1d2330; }
.legal-page::before { display: none; }
.legal-page .site-footer { background: #f3f1ec; color: #5a6170; }
.legal-page .site-footer a { color: #5a6170; }
.legal-page .site-footer a:hover { color: #1d2330; }
.legal-top { padding: 1.25rem 0; border-bottom: 1px solid #e6e3dc; }
.legal-top a { font-family: var(--f-display); font-size: 1.5rem; color: #1d2330; text-decoration: none; }
.legal { padding: 2rem 1rem 3rem; max-width: 46rem; }
.legal h1 { font-family: var(--f-poster); font-weight: 400; letter-spacing: .04em; font-size: 2.6rem; margin: 0 0 1rem; color: #1d2330; }
.legal h2 { font-family: var(--f-body); font-weight: 700; font-size: 1.15rem; letter-spacing: 0; color: #1d2330; margin: 1.75rem 0 .4rem; }
.legal address { font-style: normal; }
.legal a { color: #8a4a2c; }
.legal .back { display: inline-block; margin-top: 2rem; padding: .5rem 0; }

/* ---------- Ab Tablet ---------- */
@media (min-width: 48rem) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3.5rem; }
  .sleeve { width: 100%; max-width: 28rem; margin: 0; }
  .hero__text { text-align: left; }
  .swoosh { margin-left: 0; }
  .lead { margin-left: 0; }
  .facts, .actions { justify-content: flex-start; }
  .tracks { padding: 4.5rem 0 3rem; }
  .track__btn { padding: .7rem 1rem; grid-template-columns: 2.75rem 1fr auto; }
  .about { padding: 4.5rem 0; }
  .about__grid { grid-template-columns: 1.6fr 1fr; gap: 3rem; }
  .credits__list { grid-template-columns: repeat(4, 1fr); }
  .player__inner { grid-template-columns: 48px minmax(0, 14rem) auto 1fr; gap: 1rem; }
  .player__cover { width: 48px; height: 48px; }
  .player__seek { display: flex; }
}

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