/* THE HEALER HIP HOP – Podcast-Player „Disc“
   Cover + Platte wie in der Jukebox. Beim Abspielen fährt die Platte raus und dreht sich,
   bei Pause bleibt sie draußen stehen.
   Bringt Fläche und Schriften selbst mit (Anas Regel: nie Weiß; Türkis-Fläche → Headline mit Graffiti gefüllt;
   Graffiti-Fläche → Headline einfarbig lesbar). Schriften wie die Startseite: Anton + Jost.
   Alle Regeln hängen an .thhh-player, damit Seitenstile (z. B. .prose h3) sie nicht überschreiben.
   Einbinden: <div class="thhh-player" data-folge="mariybu"></div>
              + /assets/podcast-folgen.js + /assets/podcast-player.js + diese Datei
   Varianten: Standard = Türkis-Fläche · "thhh-player tp-graffiti" = Graffiti-Fläche ·
              "thhh-player tp-gold" = Gold-Fläche · "thhh-player thhh-player-jukebox" = Startseite (ohne eigene Fläche) */
@import url(/assets/fonts/fonts.css);

.thhh-player{
  --tp-tuerkis:#03989E;--tp-tief:#08403F;--tp-gold:#E3B54F;--tp-hell:#EEF5F3;
  --tp-fill:url(/assets/img/bg-196.jpg);
  --tp-text:var(--tp-tief);
  --tp-knopf:var(--tp-gold);--tp-knopf-icon:var(--tp-tief);
  --tp-spur:rgba(8,64,63,.28);--tp-gespielt:var(--tp-tief);
  position:relative;box-sizing:border-box;max-width:980px;margin:2rem 0;padding:clamp(1.4rem,4vw,3rem);
  background:var(--tp-tuerkis);color:var(--tp-text);
  font:400 1.125rem/1.6 Jost,system-ui,sans-serif;text-align:left;
  display:grid;grid-template-columns:minmax(220px,1fr) 1.1fr;grid-template-areas:"deck kopf" "ctrl ctrl";gap:1.4rem 3rem;align-items:center}
.thhh-player *,.thhh-player *::before,.thhh-player *::after{box-sizing:border-box}
.thhh-player p,.thhh-player h3{margin:0;padding:0}

/* Kopf: Kicker · Headline (Anton, Graffiti-gefüllt) · zweite Zeile */
.thhh-player .tp-kopf{grid-area:kopf;position:relative;z-index:3}
.thhh-player .tp-titel{margin:0 0 .7rem;font:500 .8125rem/1.3 Jost,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--tp-tief)}
.thhh-player .tp-name{margin:0;font:400 clamp(2.6rem,5.6vw,4.6rem)/.98 Anton,Impact,sans-serif;text-transform:uppercase;letter-spacing:.03em;
  background:var(--tp-fill) center/cover;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
  -webkit-text-stroke:1px rgba(238,245,243,.5);filter:brightness(1.3) saturate(1.25)}
.thhh-player .tp-sub{margin:.7rem 0 0;font:400 clamp(1.05rem,1.6vw,1.35rem)/1.35 Jost,sans-serif;color:var(--tp-tief)}

/* Deck: Cover vorne, Platte dahinter */
.thhh-player .tp-deck{grid-area:deck;position:relative;width:78%}
.thhh-player .tp-cover{position:relative;z-index:2;display:block;width:100%;max-width:none;aspect-ratio:16/9;object-fit:cover;border:2px solid var(--tp-gold);
  background:var(--tp-tief);box-shadow:0 20px 50px rgba(0,0,0,.35);cursor:pointer;margin:0}
.thhh-player .tp-vinyl{position:absolute;z-index:1;top:50%;right:6%;width:72%;aspect-ratio:1;border-radius:50%;
  background:repeating-radial-gradient(circle,#061f1f 0 2px,#0f2b2b 2px 4px);
  box-shadow:0 12px 34px rgba(0,0,0,.4);transform:translate(0,-50%);transition:transform 1s cubic-bezier(.2,.8,.2,1)}
.thhh-player .tp-spin{position:absolute;inset:0;border-radius:50%}
.thhh-player .tp-spin::before{content:"";position:absolute;inset:0;border-radius:50%;
  background:conic-gradient(from 20deg,transparent 0 8%,rgba(255,255,255,.13) 12%,transparent 18% 50%,rgba(255,255,255,.08) 58%,transparent 64%)}
.thhh-player .tp-label{position:absolute;inset:34%;border-radius:50%;background:var(--tp-gold);display:grid;place-items:center;overflow:hidden}
.thhh-player .tp-label::after{content:"";width:12%;aspect-ratio:1;border-radius:50%;background:var(--tp-tuerkis)}
.thhh-player .tp-label b{position:absolute;top:18%;left:0;right:0;text-align:center;font:400 clamp(.4rem,.9vw,.62rem)/1 Anton,Impact,sans-serif;
  letter-spacing:.12em;color:var(--tp-tief);text-transform:uppercase}
.thhh-player.out .tp-vinyl{transform:translate(48%,-50%)}
.thhh-player.out .tp-spin{animation:tpspin 2.2s linear infinite;animation-play-state:paused}
.thhh-player.playing .tp-spin{animation-play-state:running}
@keyframes tpspin{to{transform:rotate(360deg)}}

/* Bedienung */
.thhh-player .tp-ctrl{grid-area:ctrl;display:flex;align-items:center;gap:.9rem;margin-top:.4rem}
.thhh-player .tp-play{flex:none;width:64px;height:64px;padding:0;border-radius:50%;border:0;background:var(--tp-knopf);color:var(--tp-knopf-icon);cursor:pointer;
  display:grid;place-items:center;box-shadow:0 8px 22px rgba(0,0,0,.25);transition:transform .2s}
.thhh-player .tp-play:hover{transform:scale(1.06)}
.thhh-player .tp-play svg{width:26px;height:26px;fill:currentColor}
.thhh-player .tp-play .tp-i-pause,.thhh-player.playing .tp-play .tp-i-play{display:none}
.thhh-player.playing .tp-play .tp-i-pause{display:block}
.thhh-player .tp-btn{flex:none;background:none;border:1px solid var(--tp-text);color:var(--tp-text);border-radius:999px;padding:.4rem .75rem;
  font:500 .8125rem/1 Jost,sans-serif;letter-spacing:.1em;text-transform:none;cursor:pointer;transition:border-color .2s,background .2s,color .2s}
.thhh-player .tp-btn:hover{border-color:var(--tp-gold);background:var(--tp-gold);color:var(--tp-tief)}
.thhh-player .tp-zeit{flex:1;min-width:0}
.thhh-player .tp-seek{display:block;width:100%;margin:0;appearance:none;-webkit-appearance:none;height:6px;border:0;border-radius:3px;cursor:pointer;
  background:linear-gradient(var(--tp-gespielt),var(--tp-gespielt)) 0/var(--tp-pos,0%) 100% no-repeat,var(--tp-spur)}
.thhh-player .tp-seek::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;border-radius:50%;background:var(--tp-gold);border:2px solid var(--tp-tief)}
.thhh-player .tp-seek::-moz-range-thumb{width:15px;height:15px;border-radius:50%;background:var(--tp-gold);border:2px solid var(--tp-tief)}
.thhh-player .tp-zahlen{display:flex;justify-content:space-between;margin-top:.45rem;font:500 .8125rem/1 Jost,sans-serif;letter-spacing:.1em;
  color:var(--tp-text);font-variant-numeric:tabular-nums}
.thhh-player .tp-fehler{grid-column:1/-1;font:500 .95rem Jost,sans-serif;color:var(--tp-tief)}
.thhh-player .tp-play:focus-visible,.thhh-player .tp-btn:focus-visible,.thhh-player .tp-seek:focus-visible,.thhh-player .tp-cover:focus-visible{outline:2px solid var(--tp-gold);outline-offset:3px}

/* Variante Graffiti: Graffiti als Fläche, Headline einfarbig hell */
.thhh-player.tp-graffiti{background:linear-gradient(rgba(8,64,63,.55),rgba(8,64,63,.7)),var(--tp-fill) center/cover;
  --tp-text:var(--tp-hell);--tp-spur:rgba(238,245,243,.3);--tp-gespielt:var(--tp-gold)}
.thhh-player.tp-graffiti .tp-name{background:none;color:var(--tp-hell);-webkit-text-fill-color:var(--tp-hell);-webkit-text-stroke:0;filter:none;text-shadow:0 3px 22px rgba(0,0,0,.45)}
.thhh-player.tp-graffiti .tp-titel,.thhh-player.tp-graffiti .tp-sub,.thhh-player.tp-graffiti .tp-fehler{color:var(--tp-gold)}

/* Variante Gold: Gold als Fläche */
.thhh-player.tp-gold{background:var(--tp-gold);--tp-knopf:var(--tp-tief);--tp-knopf-icon:var(--tp-gold)}
.thhh-player.tp-gold .tp-cover{border-color:var(--tp-tief)}

/* In der Jukebox der Startseite: keine eigene Fläche, Kopf steht schon rechts */
.thhh-player.thhh-player-jukebox{display:block;max-width:none;margin:0;padding:0;background:none}
.thhh-player.thhh-player-jukebox .tp-kopf{display:none}
.thhh-player.thhh-player-jukebox .tp-deck{width:100%;margin-bottom:1.4rem}
.thhh-player.thhh-player-jukebox .tp-vinyl{width:62%}

@media (max-width:760px){
  .thhh-player{grid-template-columns:1fr;grid-template-areas:"kopf" "deck" "ctrl";gap:1.2rem}
  .thhh-player .tp-deck{width:72%}
  .thhh-player.out .tp-vinyl{transform:translate(32%,-50%)}
  .thhh-player.thhh-player-jukebox .tp-deck{width:80%}
  .thhh-player.thhh-player-jukebox.out .tp-vinyl{transform:translate(22%,-50%)}
  .thhh-player .tp-ctrl{flex-wrap:wrap;gap:.7rem}
  .thhh-player .tp-zeit{order:5;flex-basis:100%}
  .thhh-player .tp-play{width:56px;height:56px}
}
@media (prefers-reduced-motion:reduce){
  .thhh-player .tp-vinyl{transition:none}
  .thhh-player.out .tp-spin{animation:none}
}
