/* ==========================================================================
   Fun Time Big Band · Entwurf November 2026
   Ein Stylesheet für alle Seiten. Kein Framework, kein Build-Schritt.
   Schriften liegen lokal unter /assets/fonts (SIL Open Font License).
   ========================================================================== */

/* ---------- 1. Schriften ---------- */
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
/* Kursiv rechnet der Browser selbst; eine eigene Kursiv-Datei würde 100 KB kosten. */

/* ---------- 2. Farben und Maße ---------- */
:root {
  --nacht: #0e0c0b;        /* Bühnenschwarz, Grundfläche */
  --nacht-2: #181412;      /* zweite Fläche für Abschnitte */
  --linie: #3b322d;        /* Trennlinien auf Schwarz */
  --creme: #f5ede0;        /* warmes Weiß, Text auf Schwarz */
  --creme-2: #cfc5b8;      /* ruhiger Text auf Schwarz */
  --vorbei: #a99f94;       /* vergangene Termine */
  --rot: #ff3b2f;          /* Logo-Rot für Schrift auf Schwarz */
  --rot-flaeche: #c8141c;  /* Rot für Flächen mit heller Schrift */
  --rot-tief: #8e0d12;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Archivo", Arial, sans-serif;

  --rand: clamp(1.25rem, 4vw, 3rem);
  --breite: 78rem;
}

/* ---------- 3. Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nacht);
  color: var(--creme);
  font-family: var(--text);
  font-size: 1.125rem;     /* 18 px auf dem Handy */
  line-height: 1.6;
  overflow-x: clip;
}
@media (min-width: 64rem) { body { font-size: 1.1875rem; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }
::selection { background: var(--rot-flaeche); color: #fff; }
html { scrollbar-color: #5a4a40 var(--nacht); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.springen {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--creme); color: var(--nacht); padding: .6rem 1rem; font-weight: 700;
}
.springen:focus { top: 1rem; }
.huelle { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: .01em; margin: 0; }
h2 { font-size: clamp(3rem, 9vw, 6.5rem); text-transform: uppercase; }
p { margin: 0 0 1em; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 3.25rem; padding: .75rem 1.5rem;
  font-family: var(--text); font-weight: 700; font-size: 1.0625rem; font-stretch: 90%;
  text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  border: 2px solid transparent; border-radius: 0;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.knopf--rot { background: var(--rot-flaeche); color: #fff; }
.knopf--rot:hover { background: var(--rot-tief); }
.knopf--linie { border-color: var(--creme); color: var(--creme); }
.knopf--linie:hover { background: var(--creme); color: var(--nacht); }
.knopf--dunkel { background: var(--nacht); color: var(--creme); }
.knopf--dunkel:hover { background: var(--creme); color: var(--nacht); }
.knopf:active { transform: translateY(1px); }
.pfeil { font-family: var(--display); font-size: 1.4em; line-height: 0; }

/* Platzhalter klar als Platzhalter kennzeichnen */
.platzhalter-marke {
  display: inline-block; font-family: var(--text); font-size: 1rem; font-weight: 700;
  font-stretch: 85%; text-transform: uppercase; letter-spacing: .08em;
  color: var(--nacht); background: #f2c94c; padding: .1rem .5rem; vertical-align: middle;
}

/* ---------- 4. Kopfzeile (header.php) ---------- */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: rgb(14 12 11 / .94);
  border-bottom: 1px solid var(--linie);
}
@supports (backdrop-filter: blur(6px)) { .kopf { background: rgb(14 12 11 / .82); backdrop-filter: blur(6px); } }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.kopf__logo img { width: 13.5rem; height: auto; mix-blend-mode: lighten; }  /* GIF ist 326 x 53 auf Schwarz; lighten blendet das Schwarz aus */
.nav__liste { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav__liste a {
  display: block; padding: .75rem .9rem; text-decoration: none;
  font-weight: 700; font-stretch: 88%; text-transform: uppercase; letter-spacing: .07em; font-size: 1rem;
  border-bottom: 3px solid transparent;
}
.nav__liste a:hover, .nav__liste a[aria-current="page"] { border-bottom-color: var(--rot); }

/* Handy: Menü ohne JavaScript über <details> */
.menue summary {
  list-style: none; cursor: pointer; min-height: 3rem; padding: .6rem 1rem;
  display: inline-flex; align-items: center; gap: .6rem;
  border: 2px solid var(--creme); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 1rem;
}
.menue summary::-webkit-details-marker { display: none; }
.menue__striche { width: 1.1rem; height: .8rem; background:
  linear-gradient(var(--creme) 0 0) top / 100% 2px no-repeat,
  linear-gradient(var(--creme) 0 0) center / 100% 2px no-repeat,
  linear-gradient(var(--creme) 0 0) bottom / 100% 2px no-repeat; }
.menue[open] .nav__liste {
  position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; background: var(--nacht); border-bottom: 1px solid var(--linie);
  padding: .5rem var(--rand) 1.25rem;
}
.menue[open] .nav__liste a { font-size: 1.375rem; padding: .9rem 0; border-bottom: 1px solid var(--linie); }
.menue:not([open]) .nav__liste { display: none; }
/* Desktop: eigene Liste neben dem Handymenü, weil ein geschlossenes <details> seinen Inhalt nie zeigt */
.nav__breit { display: none; }
@media (min-width: 56rem) {
  .menue { display: none; }
  .nav__liste.nav__breit { display: flex; }
}
@media (max-width: 23rem) { .kopf__logo img { width: 11rem; } }

/* ---------- 5. Startseite oben: Bandfoto mit Titel ---------- */
/* Notenlinien: fünf Linien je Textzeile, laufen hinter großer Schrift durch */
.notenlinien {
  margin-inline: calc(-1 * var(--rand)); padding-inline: var(--rand);
  background: repeating-linear-gradient(to bottom,
    transparent 0 .14em, var(--notenlinie) .14em calc(.14em + 2px),
    transparent calc(.14em + 2px) .27em, var(--notenlinie) .27em calc(.27em + 2px),
    transparent calc(.27em + 2px) .40em, var(--notenlinie) .40em calc(.40em + 2px),
    transparent calc(.40em + 2px) .53em, var(--notenlinie) .53em calc(.53em + 2px),
    transparent calc(.53em + 2px) .66em, var(--notenlinie) .66em calc(.66em + 2px),
    transparent calc(.66em + 2px) .86em);
}
.cover { --notenlinie: rgb(245 237 224 / .22); border-bottom: 1px solid var(--linie); overflow: hidden; }
.cover__bild { display: block; width: 100%; aspect-ratio: 2000 / 1067; object-fit: cover; }
.cover__oben { padding-top: 1.75rem; }
.cover__kopf {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 2rem;
  padding-bottom: .9rem; margin-bottom: 1.5rem;
  background: linear-gradient(var(--creme) 0 0) bottom / 100% 6px no-repeat;
}
.cover__name { margin: 0; font-family: var(--display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1; text-transform: uppercase; }
.cover__name span { color: var(--rot); }
.cover__meta { margin: 0; font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .12em; font-size: 1rem; color: var(--creme-2); }
.cover__titel {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(4.25rem, 25vw, 7rem); line-height: .86; margin: 0;
}
.cover__titel .zeile { display: block; }
.cover__titel .und { color: var(--rot); }
.cover__unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding-block: 1.5rem clamp(2.5rem, 5vw, 3.5rem); }
.cover__ort { font-style: italic; font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.25rem); line-height: 1.2; margin: 0; }
.cover__knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 40rem) {
  .cover__knoepfe { width: 100%; }
  .cover__knoepfe .knopf { flex: 1 1 100%; justify-content: center; }
}
/* Handy quer: Foto nicht höher als zwei Drittel des Bildschirms, damit der Titel sichtbar bleibt */
@media (orientation: landscape) and (max-height: 30rem) {
  .cover__bild { max-height: 70svh; object-position: 50% 25%; }
}
/* Ab Tablet quer: Titel liegt links oben auf dem dunklen Vorhang des Fotos */
@media (min-width: 64rem) {
  .cover__buehne { display: grid; }
  .cover__buehne > * { grid-area: 1 / 1; }
  .cover__bild { height: min(46rem, calc(100svh - 12rem)); min-height: 30rem; aspect-ratio: auto; object-position: 50% 40%; }
  .cover__schleier { background:
      radial-gradient(ellipse 65% 55% at 0% 0%, rgb(14 12 11 / .85) 0%, rgb(14 12 11 / .6) 55%, transparent 100%),
      linear-gradient(180deg, transparent 80%, var(--nacht) 100%); }
  .cover__oben { align-self: start; padding-top: clamp(2rem, 4vw, 3.5rem); }
  .cover__oben > * { max-width: 44rem; }
  .cover__titel { font-size: clamp(5rem, 7vw, 7rem); }
  .cover__titel .zeile { display: inline; }
}

/* Stimmungsbild über die ganze Breite */
.stimmung { margin: 0; }
.stimmung img { width: 100%; aspect-ratio: 1600 / 630; object-fit: cover; }

/* Bildergalerie: feste Zeilenhöhen, damit alle Kacheln einer Reihe gleich hoch sind */
.galerie { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(9rem, 38vw, 13rem); grid-auto-flow: dense; }
.galerie li { margin: 0; }
.galerie a, .galerie img { display: block; width: 100%; height: 100%; }
.galerie img { object-fit: cover; transition: transform .3s; }
.galerie a { overflow: hidden; }
.galerie a:hover img { transform: scale(1.03); }
.galerie .breit { grid-column: span 2; }
.galerie .hoch { grid-row: span 2; }
@media (min-width: 48rem) {
  .galerie { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(12rem, 20vw, 18rem); gap: .75rem; }
  .galerie .breit-gross { grid-column: span 2; }
}

/* ---------- 6. Abschnitte allgemein ---------- */
.abschnitt { padding-block: clamp(4rem, 10vw, 8rem); }
.abschnitt--hell { background: var(--creme); color: var(--nacht); }
.abschnitt__kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.abschnitt__kopf p { max-width: 34rem; margin: 0; color: var(--creme-2); }
.abschnitt--hell .abschnitt__kopf p { color: #4a413b; }
.textlink { font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: 1rem; text-decoration-thickness: 2px; text-underline-offset: .3em; text-decoration-color: var(--rot); }
.textlink:hover { color: var(--rot); }

/* ---------- 7. Terminliste (termine-liste.php) ---------- */
.termine { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.termin {
  display: grid; grid-template-columns: 5.25rem 1fr; gap: .25rem 1.25rem; align-items: start;
  padding: 1.5rem 0; border-bottom: 1px solid var(--linie);
  transition: background-color .2s;
}
.termin__datum { font-family: var(--display); text-transform: uppercase; line-height: .85; text-align: left; }
.termin__tag { display: block; font-size: 4rem; font-weight: 900; color: var(--rot); }
.termin__monat { display: block; font-size: 1.375rem; font-weight: 800; letter-spacing: .06em; margin-top: .35rem; }
.termin__jahr { display: block; font-family: var(--text); font-size: 1rem; font-weight: 600; color: var(--creme-2); margin-top: .35rem; letter-spacing: .04em; }
.termin__titel { font-family: var(--display); font-weight: 800; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1; text-transform: uppercase; margin-bottom: .5rem; }
.termin__info { margin: 0; color: var(--creme-2); }
.termin__info strong { color: var(--creme); font-weight: 600; }
.termin__marke {
  display: inline-block; margin-top: .75rem; padding: .15rem .55rem;
  border: 1.5px solid currentColor; font-size: 1rem; font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .08em;
}
.termin__aktion { grid-column: 2; margin-top: .75rem; }
@media (min-width: 48rem) {
  .termin { grid-template-columns: 8rem 1fr auto; gap: 0 2rem; align-items: center; padding: 1.75rem 1rem; }
  .termin__tag { font-size: 5rem; }
  .termin__aktion { grid-column: 3; margin: 0; }
  .termin:not(.termin--vorbei):hover { background: var(--nacht-2); }
}
/* vergangene Termine: ruhiger, aber gut lesbar */
.termin--vorbei .termin__tag, .termin--vorbei .termin__monat, .termin--vorbei .termin__titel { color: var(--vorbei); }
.termin--vorbei .termin__info, .termin--vorbei .termin__info strong { color: var(--vorbei); }
.termin--vorbei .termin__marke { color: var(--vorbei); }
.jahrgang {
  display: flex; align-items: center; gap: 1rem; margin: 3rem 0 1rem;
  font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--creme-2);
}
.huelle > .jahrgang:first-child { margin-top: 0; }
.jahrgang::after { content: ""; flex: 1; height: 1px; background: var(--linie); }

/* ---------- 8. Jubiläum ---------- */
.jubilaeum { background: var(--rot-flaeche); color: #fff; overflow: hidden; }
.jubilaeum__raster { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 56rem) { .jubilaeum__raster { grid-template-columns: 1.1fr .9fr; } }
.jubilaeum__zahl {
  font-family: var(--display); font-weight: 900; line-height: .78; margin: 0;
  font-size: clamp(9rem, 38vw, 22rem); color: var(--nacht);
  letter-spacing: -.02em;
}
.jubilaeum__zahl span { display: block; font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: #fff; margin-top: .4rem; }
.jubilaeum h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin: 1.5rem 0 1rem; }
.jubilaeum dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.25rem; margin: 1.5rem 0 0; }
.jubilaeum dt { font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: 1rem; font-stretch: 88%; padding-top: .15rem; }
.jubilaeum dd { margin: 0; }
.plakat { margin: 0; justify-self: center; max-width: 30rem; transform: rotate(2deg); }
.plakat img { box-shadow: 0 1.5rem 3rem rgb(0 0 0 / .35); border: .6rem solid #fff; }
.jubilaeum__foto { margin: 0; grid-column: 1 / -1; }
.jubilaeum__foto img { width: 100%; border: .5rem solid #fff; box-shadow: 0 1.5rem 3rem rgb(0 0 0 / .3); }
#g-moderation img { object-position: 50% 25%; }
#g-finale img { object-position: 50% 20%; }

/* ---------- 9. Über uns ---------- */
.ueber { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 56rem) { .ueber { grid-template-columns: 1fr 1fr; } }
.ueber__foto { margin: 0; position: relative; }
.ueber__foto img { width: 100%; }
.ueber__foto figcaption { margin-top: .75rem; font-size: 1rem; color: #4a413b; }
.fakten { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 2px solid var(--nacht); }
.fakten li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid #cbbfae; }
.fakten b { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; font-stretch: 88%; padding-top: .15rem; }
@media (max-width: 30rem) { .fakten li { grid-template-columns: 1fr; gap: .1rem; } }
/* Besetzung als Instrumenten-Schilder, brechen am Handy sauber um */
.fakten .besetzung { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.fakten .besetzung li { display: block; padding: .2rem .65rem; border: 1.5px solid var(--nacht); border-bottom-width: 1.5px; font-weight: 600; line-height: 1.5; }
@media (max-width: 30rem) { .fakten .besetzung { margin-top: .4rem; } }
.ueber__text h2 { margin-bottom: 1.5rem; }
.ueber__text .vorspann { font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.45; font-weight: 500; }

/* ---------- 10. Setlist (Repertoire) ---------- */
.setlist { list-style: none; margin: 0; padding: 0; counter-reset: titel; columns: 1; }
@media (min-width: 56rem) { .setlist { columns: 2; column-gap: 4rem; } }
.setlist li {
  counter-increment: titel; break-inside: avoid;
  display: flex; align-items: baseline; gap: 1rem;
  padding: .55rem 0; border-bottom: 1px solid var(--linie);
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.05;
  transition: color .2s, padding-left .2s;
}
.setlist li::before { content: counter(titel, decimal-leading-zero); font-family: var(--text); font-weight: 700; font-size: 1rem; color: var(--rot); min-width: 1.75rem; }
.setlist li:hover { color: var(--rot); padding-left: .5rem; }
.setlist small { display: block; margin-top: .3rem; font-family: var(--text); font-weight: 500; text-transform: none; font-size: 1rem; color: var(--creme-2); }

/* ---------- 11. Kontakt ---------- */
.buchen { background: var(--nacht-2); border-top: 6px solid var(--rot-flaeche); }
.buchen h2 { font-size: clamp(3rem, 9vw, 6.5rem); }
.buchen__raster { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 56rem) { .buchen__raster { grid-template-columns: 1.3fr 1fr; } }
.buchen__text p { color: var(--creme-2); font-size: 1.25rem; max-width: 32rem; }
.buchen__mail { display: block; margin-top: 1.25rem; font-weight: 600; word-break: break-word; }

/* ---------- 12. Seitenkopf Unterseiten ---------- */
.seitenkopf { position: relative; isolation: isolate; overflow: hidden; padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--linie);
  --notenlinie: rgb(245 237 224 / .22); }
.seitenkopf h1 { font-size: clamp(4.5rem, 16vw, 11rem); font-weight: 900; text-transform: uppercase; line-height: .85; }
.seitenkopf p { margin-top: 1.25rem; max-width: 36rem; color: var(--creme-2); font-size: 1.25rem; }
.hinweis-box { margin-top: 3rem; padding: 1.5rem; border: 2px solid var(--linie); display: grid; gap: .5rem; }
.hinweis-box p { margin: 0; color: var(--creme-2); }

/* ---------- 13. Fußzeile (footer.php) ---------- */
.fuss { border-top: 1px solid var(--linie); padding: 3rem 0 2.5rem; color: var(--creme-2); font-size: 1rem; }
.fuss__raster { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .fuss__raster { grid-template-columns: 1fr auto; align-items: end; } }
.fuss img { width: 12rem; margin-bottom: 1rem; mix-blend-mode: lighten; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.fuss a { display: inline-block; padding: .5rem 0; text-decoration-color: var(--rot); text-underline-offset: .25em; }
.fuss a:hover { color: var(--creme); }

/* ---------- 14. Bewegung nur, wenn erwünscht ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 15. Großansicht der Bilder ohne Bibliothek (:target) ---------- */
/* Ein Tipp auf ein Bild setzt #gross-…, die Zurück-Taste entfernt es wieder und schließt die Ansicht. */
.grossansicht { display: none; }
.grossansicht:target {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 60;
  padding: 4.5rem 1rem 1.5rem; background: rgb(14 12 11 / .96);
}
.grossansicht__hintergrund { position: absolute; inset: 0; }
/* Bild füllt den verfügbaren Platz (auch kleine Fotos werden hochskaliert), damit es nie kleiner ist als die Vorschau */
.grossansicht img { position: relative; width: calc(100vw - 2rem); height: calc(100svh - 6rem); max-width: none; object-fit: contain; pointer-events: none; }
.grossansicht__zu {
  position: absolute; top: .75rem; right: .75rem; z-index: 1;
  display: inline-flex; align-items: center; gap: .5rem; min-height: 3rem; padding: .5rem 1rem;
  background: var(--creme); color: var(--nacht); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; text-decoration: none;
}
.grossansicht__zu span { font-size: 1.5rem; line-height: 1; }
body:has(.grossansicht:target) { overflow: hidden; }

/* ---------- 16. Tippflächen mindestens 44 px ---------- */
.kopf__logo { display: inline-flex; align-items: center; min-height: 44px; }
.textlink, .buchen__mail, .fuss a, .hinweis-box a { display: inline-flex; align-items: center; min-height: 44px; }
.jubilaeum :focus-visible { outline-color: #fff; }
.hinweis-box__titel { font-size: 1.875rem; text-transform: uppercase; }
.rechtstext { max-width: 44rem; }
.datenschutz .rechtstext h2 {
  font-family: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
}
