/* Good old Boys – CD „Bühnenlicht auf Kreide“ (siehe ../../Logo/cd.md) */

@font-face {
  font-family: "Sorts Mill Goudy";
  src: url("/fonts/sorts-mill-goudy-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sorts Mill Goudy";
  src: url("/fonts/sorts-mill-goudy-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}

:root {
  --buehne: #121110;
  --kohle: #1d1b19;
  --kreide: #f4efe6;
  --rauch: #b3aa9d;
  --amber: #f2a93b;
  --rot: #e0533f;
  --ziegel: #b8382a;
  --linie: rgb(244 239 230 / 0.22);
  --serif: "Sorts Mill Goudy", "Goudy Old Style", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --breite: 72rem;
  --rand: clamp(1rem, 4vw, 2.5rem);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--buehne);
  color: var(--kreide);
  font: 400 1.0625rem/1.6 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
a { color: var(--amber); text-underline-offset: .18em; }
a:hover { color: var(--kreide); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
main:focus { outline: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.klein { font-size: .9375rem; color: var(--rauch); }
.einleitung { font-size: 1.1875rem; color: var(--rauch); max-width: 44rem; }

/* Skip-Link */
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--amber); color: var(--buehne); padding: .6rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf__innen {
  max-width: var(--breite); margin: 0 auto; padding: .75rem var(--rand);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem;
}
.wortmarke { font-family: var(--serif); font-size: 1.625rem; color: var(--kreide); text-decoration: none; }
a.wortmarke:hover { color: var(--amber); }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.nav a { display: inline-block; padding: .4rem 0; min-height: 24px; color: var(--kreide); text-decoration: none; font-weight: 600; letter-spacing: .02em; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--amber); border-bottom-color: var(--amber); }

/* Knöpfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; }
.knopf {
  display: inline-block; padding: .75rem 1.5rem; border: 2px solid var(--amber); border-radius: 2rem;
  background: var(--amber); color: var(--buehne); font: 700 1.0625rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
}
.knopf:hover { background: var(--kreide); border-color: var(--kreide); color: var(--buehne); }
.knopf--linie { background: transparent; color: var(--kreide); border-color: var(--kreide); }
.knopf--linie:hover { background: var(--kreide); color: var(--buehne); }

/* Bühne (Startbereich) */
.buehne {
  background:
    radial-gradient(60rem 30rem at 0% 0%, rgb(242 169 59 / .13), transparent 60%),
    radial-gradient(50rem 30rem at 100% 10%, rgb(224 83 63 / .12), transparent 60%),
    var(--buehne);
}
.buehne__innen { max-width: var(--breite); margin: 0 auto; padding: clamp(2rem, 6vw, 4.5rem) var(--rand) 2.5rem; text-align: center; }
.buehne__logo { width: min(16rem, 65%); margin: 0 auto .5rem; mix-blend-mode: screen; }
.buehne h1 { margin-bottom: .1em; }
.buehne__claim { font: italic 400 clamp(1.4rem, 3.5vw, 2rem)/1.2 var(--serif); color: var(--amber); margin-bottom: 1.25rem; }
.buehne__satz { max-width: 40rem; margin: 0 auto 1.75rem; color: var(--rauch); font-size: 1.125rem; }
.buehne .knoepfe { justify-content: center; }
.buehne__foto { margin: 0; border-block: 1px solid var(--linie); }
.buehne__foto img { width: 100%; aspect-ratio: 1920 / 810; object-fit: cover; }
@media (max-width: 40rem) { .buehne__foto img { aspect-ratio: 4 / 3; } }

/* Abschnitte */
.abschnitt { max-width: var(--breite); margin: 0 auto; padding: clamp(3rem, 8vw, 5.5rem) var(--rand); }
.abschnitt + .abschnitt { border-top: 1px solid var(--linie); }
.abschnitt h2::after, .liederheft h2::after {
  content: ""; display: block; width: 4rem; height: 2px; margin-top: .4em; background: var(--rot);
}
.zwischen { margin-top: 2.5rem; font-size: 1.5rem; color: var(--rauch); }

/* Termine als Tickets */
.tickets { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.ticket {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start;
  background: var(--kohle); border: 1px solid var(--linie); border-radius: .5rem; padding: 1.25rem 1.5rem;
}
.ticket__datum { margin: 0; padding-right: 1.5rem; border-right: 2px dashed var(--linie); text-align: center; font-family: var(--serif); line-height: 1; }
.ticket__tag { display: block; font-size: 3rem; color: var(--rot); }
.ticket__monat { display: block; text-transform: uppercase; letter-spacing: .1em; color: var(--rauch); font-family: var(--sans); font-weight: 700; font-size: .9375rem; }
.ticket h3 { margin-bottom: .2em; }
.ticket__meta { color: var(--amber); font-weight: 600; }
.ticket__text p:last-child { margin-bottom: 0; }
.leer { margin-top: 1.5rem; background: var(--kohle); border: 1px dashed var(--linie); border-radius: .5rem; padding: 1.5rem; max-width: 44rem; }
.leer__titel { font: 400 1.5rem/1.3 var(--serif); }
.leer p:last-child { margin: 0; }
.rueckblick { list-style: none; margin: 0; padding: 0; color: var(--rauch); }
.rueckblick li { display: grid; grid-template-columns: 6rem 1fr; gap: 0 1rem; padding: .6rem 0; border-bottom: 1px solid var(--linie); }
.rueckblick time { font-variant-numeric: tabular-nums; grid-row: span 2; }
.rueckblick__titel { color: var(--kreide); font-weight: 600; }
@media (min-width: 40rem) { .rueckblick li { grid-template-columns: 6.5rem 16rem 1fr; } .rueckblick time { grid-row: auto; } }

/* Band */
.musiker-liste { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 2rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(9.5rem, 100%), 1fr)); }
.musiker img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: .5rem; filter: grayscale(.25) contrast(1.05); margin-bottom: .9rem; }
.musiker h3 { margin-bottom: .2em; }
.musiker p { color: var(--rauch); margin: 0; font-size: 1rem; }

/* Geschichte */
.abschnitt--foto { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr)); }
.kapitel-liste { display: grid; gap: 1.5rem; }
.kapitel h3 { color: var(--amber); font-style: italic; }
.kapitel p { margin: 0; }
figure { margin: 0; }
figure img { border-radius: .5rem; }
figcaption { margin-top: .6rem; color: var(--rauch); font-style: italic; font-family: var(--serif); font-size: 1.125rem; }

/* Galerie */
.galerie { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(26rem, 100%), 1fr)); }
.galerie img { width: 100%; aspect-ratio: 1280 / 540; object-fit: cover; border-radius: .5rem; }

/* Videos */
.videos { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr)); }
.video a { display: block; height: 100%; background: var(--kohle); border: 1px solid var(--linie); border-radius: .5rem; overflow: hidden; color: var(--kreide); text-decoration: none; }
.video a:hover { border-color: var(--amber); }
.video picture { position: relative; display: block; }
.video picture::after { /* Play-Symbol */
  content: "▶" / ""; position: absolute; inset: 0; margin: auto; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  display: grid; place-items: center; background: rgb(18 17 16 / .85); color: var(--amber); font-size: 1.25rem; border: 2px solid var(--amber);
}
.video img { width: 100%; aspect-ratio: 576 / 325; object-fit: cover; }
.video__titel { display: block; padding: .9rem 1rem .1rem; font: 400 1.375rem/1.2 var(--serif); }
.video__hinweis { display: block; padding: 0 1rem 1rem; color: var(--amber); font-size: .9375rem; font-weight: 600; }

/* Liederheft (helles Papier) */
.liederheft { background: var(--kreide); color: var(--buehne); }
.liederheft__innen { max-width: var(--breite); margin: 0 auto; padding: clamp(3rem, 8vw, 5.5rem) var(--rand); }
.liederheft h2::after { background: var(--ziegel); }
.liederheft .einleitung { color: #4a443d; }
.liederheft a { color: var(--ziegel); }
.liederheft :focus-visible { outline-color: var(--buehne); }
.songs { list-style: none; margin: 2rem 0 0; padding: 0; columns: 15rem; column-gap: 2.5rem; column-rule: 1px solid rgb(18 17 16 / .15); }
.songs li { break-inside: avoid; padding: .3rem 0; border-bottom: 1px dotted rgb(18 17 16 / .25); font-family: var(--serif); font-size: 1.1875rem; }
.songs li::first-letter { color: var(--ziegel); }

/* Fragen */
.fragen { display: grid; gap: 2rem 3rem; margin-top: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(26rem, 100%), 1fr)); }
.frage h3 { color: var(--amber); }
.frage p { margin: 0; }

/* Kontakt */
.kontakt { max-width: 40rem; }
.kontakt p { color: var(--rauch); font-size: 1.125rem; }
.kontakt .kontakt__mail { margin: 1.75rem 0; }

/* Textseiten */
.text { max-width: 46rem; }
.text h2 { font-size: 1.625rem; margin-top: 2rem; }
.text h2::after { display: none; }
.text ul { padding-left: 1.25rem; }
mark.todo { background: var(--amber); color: var(--buehne); padding: 0 .25rem; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); background: #0b0a0a; }
.fuss__innen { max-width: var(--breite); margin: 0 auto; padding: 2.5rem var(--rand); display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; color: var(--rauch); }
.fuss__innen p { margin: 0; }
.fuss__marke .wortmarke { font-size: 1.5rem; }
.fuss__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.fuss__links a { display: inline-block; padding: .2rem 0; color: var(--kreide); }

/* Bewegung */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @view-transition { navigation: auto; }
  .knopf, .video a, .nav a { transition: background-color .15s, color .15s, border-color .15s; }
}

/* Kontrastmodus */
@media (forced-colors: active) {
  .knopf { border: 2px solid ButtonText; }
  .buehne__logo { mix-blend-mode: normal; }
  .video picture::after { forced-color-adjust: none; background: Canvas; color: CanvasText; border-color: CanvasText; }
  .abschnitt h2::after, .liederheft h2::after { background: CanvasText; }
  mark.todo { forced-color-adjust: auto; }
}

/* Einwilligung Statistik */
.einwilligung { position: fixed; inset: auto 0 0 0; z-index: 50; background: var(--kohle); border-top: 3px solid var(--amber); box-shadow: 0 -.5rem 2rem rgba(0,0,0,.5); max-height: 80vh; overflow-y: auto; }
.einwilligung[hidden] { display: none; }
.einwilligung__innen { max-width: var(--breite); margin: 0 auto; padding: 1.25rem var(--rand) 1.5rem; }
.einwilligung h2 { font-size: 1.5rem; margin: 0 0 .5rem; }
.einwilligung h2:focus { outline: none; }
.einwilligung h2:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.einwilligung p { margin: 0 0 1rem; max-width: 60rem; color: var(--kreide); }
.einwilligung .einwilligung__knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.einstellung { background: var(--kohle); border-left: 3px solid var(--amber); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.einstellung p:last-child { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 0; }
.fuss__knopf { font: inherit; color: var(--kreide); background: none; border: 0; padding: .2rem 0; text-decoration: underline; cursor: pointer; }
.fuss__knopf:hover { color: var(--amber); }
