/* thore.rocks – Nachbau des Bandzoogle-Themes "Encore" mit Thores Farben und Schriften.
   Schriften: Walter Turncoat, Rock Salt (Google Fonts, Apache License 2.0), selbst gehostet. */
@font-face { font-family: "Walter Turncoat"; src: url("/fonts/walter-turncoat.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Rock Salt"; src: url("/fonts/rock-salt.woff2") format("woff2"); font-display: swap; }

:root {
  --text: hsl(0, 0%, 65%);
  --link: hsl(0, 8%, 79%);
  --title: hsl(0, 0%, 74%);
  --nav: hsl(0, 0%, 62%);
  --accent: hsl(7, 67%, 35%);
  --accent-dark: hsl(7, 70%, 26%);
  --bg: hsl(0, 0%, 9%);
  --bg-red: hsl(0, 36%, 17%);
  --bg-player: hsl(0, 0%, 5%);
  --button: hsl(15, 3%, 69%);
  --line: hsla(0, 0%, 100%, .12);
  --content: 940px;
  --font: "Walter Turncoat", "Comic Sans MS", cursive, sans-serif;
  --font-title: "Rock Salt", "Walter Turncoat", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }
.site-wrap { max-width: var(--content); margin: 0 auto; padding: 0 16px; }
.small { font-size: 12px; opacity: .85; }
.center { text-align: center; }
.error { color: hsl(7, 80%, 65%); }
.notice { border: 1px solid var(--line); padding: 10px 14px; border-radius: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* ── Kopf ─────────────────────────────────────────── */
#page-header { position: relative; background: #000; overflow: hidden; }
#page-header.header-full { height: 100vh; min-height: 420px; max-height: 1100px; }
#page-header.header-small { height: 20vh; min-height: 140px; }
.header-media { position: absolute; inset: 0; background-size: cover; background-position: center 18%; }
.header-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.15), rgba(0,0,0,.25)); }
.title-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 10px 4vw; background: hsla(0, 0%, 0%, .5); backdrop-filter: blur(2px); }
.logo img { width: clamp(110px, 13vw, 190px); }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.main-nav a { font-family: var(--font-title); font-size: 12px; text-transform: uppercase; color: var(--nav); padding: 6px 10px; border: 1px solid transparent; border-radius: 3px; }
.main-nav a:hover, .main-nav a.current { color: var(--accent); border-color: var(--accent); }
.cart-link .cart-count { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-family: var(--font); text-align: center; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; }

/* ── Abschnitte ───────────────────────────────────── */
.section { padding: 60px 0 70px; }
.section-dark { background: var(--bg); }
.section-red { background: var(--bg-red); --button: #fff; }
.narrow { max-width: var(--content); }
.row-title { font-family: var(--font-title); font-weight: 400; font-size: 20px; letter-spacing: .5em; text-transform: uppercase; color: var(--title); margin: 0 0 22px; }
.heading { font-family: var(--font); font-weight: 400; font-size: 14px; text-transform: uppercase; color: var(--title); margin: 22px 0 12px; }
.about-image img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: sepia(.15) saturate(1.15) contrast(1.05); }
.about-image { margin: 0; }

/* Buttons im Bandzoogle-Stil: Kontur, abgerundet */
.button { display: inline-block; font: inherit; font-size: 13px; text-transform: uppercase; color: var(--button); background: transparent;
  border: 1px solid var(--button); border-radius: 4px; padding: 6px 12px; cursor: pointer; line-height: 1.3; }
.button:hover { color: hsl(0, 0%, 31%); border-color: hsl(0, 0%, 31%); background: rgba(255,255,255,.04); }
.section-red .button:hover { color: #fff; background: rgba(255,255,255,.08); }
.button.in-cart { background: var(--button); color: var(--bg-red); }
.button-small { font-size: 11px; padding: 2px 8px; }
.button-large { font-size: 15px; padding: 10px 22px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-transform: uppercase; cursor: pointer; font-size: 13px; }
.link-button:hover { color: #fff; }

/* ── Musik ────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.album { min-width: 0; }
.album-head { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.album-cover img { width: 145px; height: 145px; object-fit: cover; }
.album-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.album-title { margin: 0; font-weight: 400; font-size: 14px; text-transform: uppercase; color: var(--title); }
.album-artist { font-size: 12px; margin-top: -6px; }
.album-cd { padding: 10px 0 14px; border-bottom: 1px solid var(--line); }
.cd-label { font-size: 12px; margin-bottom: 8px; }
.cd-label span { opacity: .6; }
.album-description { padding-top: 14px; font-size: 13px; }
.album-player { margin-top: 10px; }
.ap-head { display: flex; align-items: center; gap: 12px; }
.ap-play, .sp-play { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 2px solid var(--title); background: transparent; color: var(--title); cursor: pointer; font-size: 15px; }
.ap-play .i-pause, .sp-play .i-pause, .playing .ap-play .i-play, .sticky-player.playing .sp-play .i-play { display: none; }
.playing .ap-play .i-pause, .sticky-player.playing .sp-play .i-pause { display: inline; }
.ap-now { flex: 1; min-width: 0; }
.ap-title { text-transform: uppercase; color: var(--title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.ap-artist { font-size: 11px; }
.ap-nav { text-align: right; font-size: 11px; }
.ap-nav button { background: none; border: 0; color: var(--title); cursor: pointer; font-size: 13px; }
.ap-time { display: block; }
.ap-progress, .sp-progress { height: 5px; background: hsla(0, 0%, 100%, .15); margin: 8px 0 4px; cursor: pointer; border-radius: 2px; }
.ap-position, .sp-position { height: 100%; width: 0; background: var(--title); border-radius: 2px; }
.track-list { list-style: none; margin: 0; padding: 0; }
.track { display: grid; grid-template-columns: 22px 1fr auto auto; align-items: center; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.t-no { opacity: .5; text-align: right; }
.t-title { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track.current .t-title { color: #fff; }
.t-info { text-transform: uppercase; font-size: 11px; }
.booklets-title { margin-top: 80px; }
.booklets .file { font-size: 12px; margin-bottom: 4px; }
.file-title { color: #fff; }
.file-desc, .file-size { opacity: .7; }

/* ── Track-Seite ──────────────────────────────────── */
.track-head { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
.track-head .album-cover img { width: 200px; height: 200px; }
.track-credits { margin: 10px 0; }
.track-actions { display: flex; gap: 16px; align-items: center; }
.track-description { margin-top: 30px; }
.lyrics { margin-top: 26px; }
.lyrics h2 { font-family: var(--font); font-weight: 400; font-size: 14px; text-transform: uppercase; color: hsl(0, 0%, 45%); }
.album-page .album { max-width: 460px; margin: 0 auto; }

/* ── Galerie ──────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: start; }
.gallery-col { display: flex; flex-direction: column; gap: 10px; }
.gallery-item { display: block; }
.gallery-item img { width: 100%; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; margin: 0 auto; }
.lightbox figcaption { text-align: center; color: #ddd; padding: 8px; min-height: 2em; }
.lb-prev, .lb-next, .dialog-close { position: fixed; background: none; border: 0; color: #fff; font-size: 44px; cursor: pointer; line-height: 1; }
.lb-prev { left: 10px; top: 45%; } .lb-next { right: 10px; top: 45%; }
.dialog-close { top: 10px; right: 16px; font-size: 34px; }

/* ── Newsletter ───────────────────────────────────── */
.newsletter { text-align: center; }
.newsletter h3 { font-weight: 400; color: var(--title); font-size: 15px; margin: 0 0 4px; }
.newsletter-form { display: flex; justify-content: center; gap: 6px; margin: 14px 0; flex-wrap: wrap; }
.newsletter-form input[type=email] { font: inherit; padding: 8px 10px; width: 240px; max-width: 100%; border: 0; border-radius: 3px; }
.newsletter-form .button { font-size: 14px; padding: 8px 14px; }

/* ── Footer ───────────────────────────────────────── */
#site-footer { padding: 26px 0 120px; text-align: center; font-size: 11px; }
#site-footer p { margin: 0 0 10px; }
.social-icons a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; color: var(--accent); background: hsl(0, 0%, 12%); margin-top: 18px; }

/* ── Sticky Player ────────────────────────────────── */
.sticky-player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 8px 16px;
  background: var(--bg-player); color: #fff; font-size: 12px; }
.sticky-player[hidden] { display: none; }
.sticky-player > button:not(.button) { background: none; border: 0; color: #fff; cursor: pointer; }
.sticky-player .sp-play { width: 34px; height: 34px; border-color: #fff; color: #fff; font-size: 12px; }
.sp-main { flex: 1; min-width: 0; }
.sp-title { text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-progress { margin: 4px 0 0; }
.sp-position { background: #fff; }
.sp-buy { color: #fff; border-color: #fff; }
.sp-time { white-space: nowrap; opacity: .8; }

/* ── Warenkorb / Verwaltung ───────────────────────── */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.cart-table th, .cart-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cart-table .num { text-align: right; white-space: nowrap; }
.cart-table input[type=number] { width: 56px; font: inherit; }
.cart-remove { background: none; border: 0; color: var(--link); cursor: pointer; font-size: 18px; }
.cart-item-title { color: var(--title); }
.downloads { list-style: none; padding: 0; }
.downloads li { margin-bottom: 10px; }
.address { white-space: normal; }
.admin .site-wrap { max-width: 1200px; }
.import-form { margin-top: 10px; }
.legal p { max-width: 70ch; }

/* ── Teilen ───────────────────────────────────────── */
.share-dialog { background: var(--bg-red); color: var(--text); border: 0; border-radius: 6px; padding: 24px; width: min(420px, 92vw); }
.share-dialog::backdrop { background: rgba(0,0,0,.7); }
.share-dialog .dialog-close { position: absolute; }
.share-title { margin: 0; color: #fff; font-weight: 400; text-transform: uppercase; }
.share-links { display: flex; gap: 14px; margin: 14px 0; }
.share-links a { text-transform: uppercase; }
.share-dialog label { display: block; font-size: 12px; }
.share-url { width: 100%; font: inherit; padding: 6px; margin: 4px 0 10px; }
.toast { position: fixed; left: 50%; bottom: 70px; transform: translateX(-50%); background: #000; color: #fff; padding: 8px 16px; border-radius: 4px;
  opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 80; font-size: 13px; }
.toast.show { opacity: .95; }

/* ── Mobil ────────────────────────────────────────── */
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; gap: 50px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 10px 16px 16px; }
  .main-nav.open { display: flex; }
  .main-nav a { color: #fff; }
  #page-header.header-full { height: 81vh; }
  .track-head { grid-template-columns: 1fr; }
  .track-head .album-cover img { width: 160px; height: 160px; }
  .row-title { letter-spacing: .3em; }
  .sp-time, .sp-prev, .sp-next { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none; }
}
