/* Vorab-Zugang – angelehnt an spaetkauf24.com (styles.css) plus Booklet-Elemente */
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/font/BarlowSemiCondensed-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-700i.woff2") format("woff2");
  font-weight: 700; font-style: italic; font-display: swap;
}

:root {
  --bg: #111; --bg2: #000; --text: #fff; --muted: #aaa;
  --rot: #a83232; --rot2: #8f2b2b; --rost: #7F291B; --gruen: #27463F;
  --pink: #E5007D; --gelb: #FFE500; --creme: #F3EBD8;
}
* { box-sizing: border-box; }
html { background: var(--bg2); }
body {
  margin: 0 auto; max-width: 1100px; min-height: 100vh;
  font-family: "Barlow Semi Condensed", sans-serif; font-weight: 300; font-size: 1.1rem;
  background: var(--bg); color: var(--text); line-height: 1.45;
}
a { color: var(--text); }
img { max-width: 100%; height: auto; display: block; }

.kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: var(--bg2); }
.logo {
  display: block; width: 9rem; height: 5rem;
  background: url("/logo_white.png") center/contain no-repeat;
  filter: drop-shadow(0 0 1px var(--rost)) drop-shadow(0 0 2px var(--rost)) drop-shadow(0 0 3px var(--rost));
}
.kopf .klein { font-size: .9rem; color: var(--muted); text-align: right; }
.kopf .klein a { color: var(--muted); }

.btn {
  display: inline-block; padding: .8rem 1.5rem; border: 0; border-radius: 4px;
  background: var(--rot); color: #fff; font: inherit; font-weight: 500; text-decoration: none;
  cursor: pointer; text-align: center; transition: transform .2s;
}
.btn:hover { background: var(--rot2); transform: scale(1.04); box-shadow: 0 0 10px #000; }
.btn.gruen { background: #1DB954; color: #000; }
.btn.gruen:hover { background: #1ed760; }
.btn.leise { background: #333; }
.btn[disabled], .btn.aus { background: #444; color: #999; cursor: not-allowed; transform: none; box-shadow: none; }

/* ------------------------------------------------ Anmeldeseite */
.start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; padding: 2rem 1.25rem 3rem; align-items: center; }
.start .cover { width: 100%; border-radius: 4px; box-shadow: 0 0 30px #000; }
.start h1 { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-style: italic; font-size: 3rem; line-height: 1; margin: 0 0 .5rem; }
.start h1 span { color: var(--pink); }
.start p { margin: .5rem 0 1rem; }
.feld { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0; }
.feld input {
  flex: 1 1 14rem; min-width: 0; padding: .8rem 1rem; border-radius: 4px; border: 2px solid #444;
  background: #000; color: #fff; font: 1.4rem/1 "Barlow Condensed", monospace; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
}
.feld input:focus { outline: none; border-color: var(--pink); }
.fehler { background: var(--rost); padding: .6rem 1rem; border-radius: 4px; }
.hinweis { color: var(--muted); font-size: .95rem; }
.presave { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid #333; }

/* ------------------------------------------------ Player-Seite */
.buehne {
  position: relative; padding: 2rem 1.25rem; background: #000 url("cover-hintergrund.jpg") right 40% / 60% auto no-repeat;
}
.buehne::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 0%, #000 30%, #000c 55%, #0005 100%); }
.buehne > * { position: relative; }
.buehne .titel { display: flex; gap: 1.25rem; align-items: center; }
.buehne .titel img { width: 7.5rem; border-radius: 3px; box-shadow: 0 0 20px #000; }
.buehne h1 { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-style: italic; font-size: 2.6rem; line-height: 1; margin: 0; }
.buehne .unter { color: var(--creme); margin-top: .35rem; }
.gelbstrich { height: 6px; width: 14rem; background: var(--gelb); transform: skewX(-20deg) rotate(-1.5deg); margin: .8rem 0 0; border-radius: 2px; }

.album { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem; padding: 1.5rem 1.25rem; }
.tracks { list-style: none; margin: 0; padding: 0; }
.tracks li { display: flex; align-items: center; gap: .6rem; padding: .2rem 0; }
.tracks button.titel {
  flex: 1; display: flex; align-items: center; gap: .7rem; background: none; border: 0; padding: .25rem 0;
  color: var(--creme); font: 700 italic 1.55rem/1.1 "Barlow Condensed", sans-serif; text-align: left; cursor: pointer;
}
.tracks .nr {
  display: inline-block; min-width: 2.4rem; padding: .05rem .35rem; background: var(--pink); color: #fff;
  transform: skewX(-8deg); text-align: center;
}
.tracks li.aktiv button.titel { color: var(--gelb); }
.tracks button.titel:hover { color: #fff; }
.tracks .dl { color: var(--muted); text-decoration: none; font-size: 1.2rem; padding: .2rem .5rem; border-radius: 4px; }
.tracks .dl:hover { background: #222; color: #fff; }
.tracks .dl.aus { visibility: hidden; }
.tracks .dauer { color: var(--muted); font-size: .9rem; min-width: 2.6rem; text-align: right; }

.booklet { position: sticky; top: 1rem; align-self: start; }
.booklet img { width: 100%; border-radius: 3px; box-shadow: 0 0 25px #000; background: #222; aspect-ratio: 1; }
.booklet .blaettern { display: flex; justify-content: space-between; align-items: center; margin-top: .5rem; color: var(--muted); font-size: .95rem; }
.booklet .blaettern button { background: #222; color: #fff; border: 0; border-radius: 4px; padding: .4rem .8rem; cursor: pointer; font: inherit; }

.kachel { margin: 0 1.25rem 1.25rem; padding: 1.5rem; border-radius: 4px; }
.kachel h2 { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-style: italic; font-size: 2rem; margin: 0 0 .75rem; line-height: 1; }
.kachel.rost { background: var(--rost); }
.kachel.gruen { background: var(--gruen); }
.kachel.schwarz { background: #000; }
.kachel details { background: #0003; border-radius: 4px; padding: .6rem 1rem; margin: .6rem 0; }
.kachel summary { cursor: pointer; font-weight: 500; }
.kachel ol { margin: .5rem 0 .2rem; padding-left: 1.3rem; }
.status { font-size: 1rem; background: #0004; padding: .5rem .8rem; border-radius: 4px; display: inline-block; margin-top: .75rem; }

/* fester Player unten */
.leiste {
  position: sticky; bottom: 0; z-index: 5; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8rem; align-items: center;
  padding: .7rem 1.25rem; background: #000e; backdrop-filter: blur(6px); border-top: 2px solid var(--pink);
}
.leiste .knoepfe { display: flex; gap: .3rem; }
.leiste button { width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 0; background: #222; color: #fff; font-size: 1.1rem; cursor: pointer; }
.leiste button.play { background: var(--pink); width: 3.2rem; height: 3.2rem; font-size: 1.3rem; }
.leiste .info { min-width: 0; }
.leiste .jetzt { font: 700 italic 1.25rem/1.1 "Barlow Condensed", sans-serif; color: var(--creme); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leiste input[type=range] { width: 100%; accent-color: var(--pink); }
.leiste .zeit { color: var(--muted); font-size: .9rem; white-space: nowrap; }

/* Anmeldeseite: kurzer Inhalt, der schwarze Footer füllt den Rest bis zum Fensterrand (statt grauer Fläche) */
body.mit-fuss { display: flex; flex-direction: column; }
body.mit-fuss .fuss { flex: 1; }
.fuss { text-align: center; padding: 1.5rem 1rem 6rem; background: #000; color: var(--muted); font-size: .9rem; }
.fuss a { color: var(--muted); }

@media (max-width: 800px) {
  .start, .album { grid-template-columns: minmax(0, 1fr); }
  .start { padding-top: 1rem; }
  .start h1 { font-size: 2.4rem; }
  .booklet { position: static; order: -1; }
  .buehne h1 { font-size: 2rem; }
  .buehne .titel img { width: 5.5rem; }
  .tracks button.titel { font-size: 1.35rem; }
  .logo { width: 7rem; height: 4rem; }
}
