/* The Artcores (Zerbst) – Richtung "Bühnenlicht"
   Mobile-first. Basis = Telefon (ab 320px), Erweiterungen ab 48em (768px) und 64em (1024px).
   Spezifikation: docs/REBRANDING.md */

@font-face { font-family: "Big Shoulders Display"; font-weight: 600; font-display: swap; src: url("../fonts/big-shoulders-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-display: swap; src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 600; font-display: swap; src: url("../fonts/cinzel-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Farbe */
  --bg: #0d0d10;          /* Bühnenschwarz */
  --surface: #17171c;     /* Flächen, Karten */
  --surface-2: #202028;
  --line: #2e2e38;
  --text: #f2efe8;        /* warmes Weiß – 16.9:1 auf --bg */
  --muted: #b4b0a8;       /* Nebentext – 9.0:1 auf --bg */
  --amber: #f5b700;       /* Bühnenlicht – Akzent, CTA – 10.8:1 auf --bg */
  --amber-hover: #ffcb3d;
  --amber-press: #d69e00;
  --on-amber: #0d0d10;    /* Text auf Amber – 10.8:1 */
  --focus: #ffffff;

  /* Schrift */
  --font-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mark: "Cinzel", "Trajan Pro", Georgia, serif;

  /* Typo-Skala (Mobil, Verhältnis ~1.25) */
  --step--1: 0.875rem;  /* 14 – Legal, Bildunterschrift */
  --step-0: 1.0625rem;  /* 17 – Fließtext */
  --step-1: 1.3125rem;  /* 21 – Lead */
  --step-2: 1.625rem;   /* 26 – H3 */
  --step-3: 2.0625rem;  /* 33 – H2 */
  --step-4: clamp(2.75rem, 9vw + 0.5rem, 5.5rem); /* 44–88 – H1 */

  /* Abstände (4er-Raster) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --gutter: 1rem;
  --section: var(--s-8);
  --measure: 65ch;
  --radius: 4px;
}

@media (min-width: 48em) {
  :root { --step-0: 1.125rem; --step-1: 1.375rem; --step-2: 1.875rem; --step-3: 2.75rem; --gutter: 2rem; --section: var(--s-9); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--amber); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--amber-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 var(--s-4); max-width: var(--measure); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; margin: 0 0 var(--s-4); text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); font-weight: 600; }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber); margin: 0 0 var(--s-2); }
.lead { font-size: var(--step-1); line-height: 1.45; color: var(--text); }
.muted { color: var(--muted); }

.skip { position: absolute; left: var(--s-2); top: -4rem; z-index: 100; background: var(--amber); color: var(--on-amber); padding: var(--s-2) var(--s-4); font-weight: 700; }
.skip:focus { top: var(--s-2); }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(13 13 16 / 0.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-5); padding-block: var(--s-3); }
.wordmark { font-family: var(--font-mark); font-weight: 600; font-size: 1.125rem; letter-spacing: 0.06em; color: var(--text); text-decoration: none; line-height: 1.1; }
.wordmark span { display: block; font-family: var(--font-body); font-size: 0.6875rem; letter-spacing: 0.24em; color: var(--muted); text-transform: uppercase; }
.wordmark:hover { color: var(--text); text-decoration: none; }
.nav { display: flex; gap: var(--s-1); margin: 0 calc(var(--s-3) * -1); padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text); text-decoration: none; white-space: nowrap; border-radius: var(--radius);
}
.nav a:hover { color: var(--amber); }
.site-header nav { min-width: 0; max-width: 100%; }
@media (max-width: 30em) { .site-header nav { flex: 1 1 100%; } .nav { justify-content: space-between; } .nav a { padding: 0 var(--s-2); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }
.btn-primary { background: var(--amber); color: var(--on-amber); }
.btn-primary:hover { background: var(--amber-hover); color: var(--on-amber); text-decoration: none; }
.btn-primary:active { background: var(--amber-press); transform: translateY(1px); }
.btn-primary:focus-visible { outline-color: var(--focus); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--text); }
.btn-secondary:hover { background: var(--text); color: var(--bg); text-decoration: none; }
.btn-secondary:active { background: var(--muted); border-color: var(--muted); color: var(--bg); transform: translateY(1px); }
.btn[aria-disabled="true"], .btn:disabled { background: var(--surface-2); color: #8a877f; border-color: var(--surface-2); cursor: not-allowed; pointer-events: none; }
.btn-row { display: flex; flex-direction: column; gap: var(--s-3); }
@media (min-width: 30em) { .btn-row { flex-direction: row; flex-wrap: wrap; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(92svh, 46rem); display: grid; align-items: end; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 40%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(13 13 16 / 0.1) 0%, rgb(13 13 16 / 0.55) 30%, rgb(13 13 16 / 0.9) 55%, var(--bg) 100%); }
.hero h1, .hero .lead, .hero .for { text-shadow: 0 1px 12px rgb(0 0 0 / 0.6); }
.hero .wrap { padding-block: var(--s-8) var(--s-7); }
.hero h1 { font-size: var(--step-4); line-height: 0.92; margin-bottom: var(--s-3); }
.hero h1 small { display: block; font-size: 0.42em; font-weight: 600; letter-spacing: 0.12em; color: var(--amber); margin-top: var(--s-2); }
.hero .lead { max-width: 30ch; margin-bottom: var(--s-2); }
.hero .for { color: var(--muted); max-width: 40ch; margin-bottom: var(--s-5); }
@media (min-width: 48em) {
  .hero { min-height: min(88vh, 52rem); }
  .hero picture img { object-position: 50% 55%; }
  .hero::after { background: linear-gradient(90deg, rgb(13 13 16 / 0.92) 0%, rgb(13 13 16 / 0.6) 45%, rgb(13 13 16 / 0.1) 75%), linear-gradient(0deg, var(--bg) 0%, transparent 25%); }
  .hero .wrap { padding-block: var(--s-9); }
}

/* ---------- Band ---------- */
.band-grid { display: grid; gap: var(--s-6); }
.gallery figcaption { flex: none; height: calc(var(--cap) - var(--s-2)); overflow: hidden; font-size: var(--step--1); line-height: 1.4; color: var(--muted); margin-top: var(--s-2); }
.gallery .credit { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.8125rem; opacity: 0.85; }
.songs { list-style: none; margin: 0 0 var(--s-5); padding: 0; }
.songs li { position: relative; padding: var(--s-2) 0 var(--s-2) var(--s-5); border-bottom: 1px solid var(--line); max-width: var(--measure); }
.songs li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 0.6rem; height: 0.6rem; background: var(--amber); border-radius: 50%; }
.facts { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0 0 var(--s-5); padding: 0; }
.facts li { border: 1px solid var(--line); padding: var(--s-1) var(--s-3); border-radius: 999px; font-size: var(--step--1); color: var(--muted); }
.portraits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); list-style: none; margin: 0; padding: 0; }
.portraits figure { margin: 0; }
.portraits img { width: 100%; aspect-ratio: 5 / 8; object-fit: cover; border-radius: var(--radius); background: var(--surface); }
.portraits figcaption { margin-top: var(--s-2); font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; }
@media (min-width: 30em) { .portraits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64em) { .band-grid { grid-template-columns: 1.05fr 1fr; align-items: start; gap: var(--s-8); } }

/* ---------- Termine ---------- */
.gigs { list-style: none; margin: 0 0 var(--s-6); padding: 0; border-top: 1px solid var(--line); }
.gig { display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--s-1) var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); align-items: start; }
.gig time { font-family: var(--font-display); font-weight: 800; line-height: 1; text-transform: uppercase; }
.gig time .d { display: block; font-size: 2.25rem; color: var(--amber); }
.gig time .m { display: block; font-size: 1rem; letter-spacing: 0.08em; color: var(--muted); }
.gig .what { font-weight: 600; line-height: 1.35; }
.gig .what a { font-weight: 400; white-space: nowrap; }
.gig .where { display: block; font-size: var(--step--1); color: var(--muted); font-weight: 400; margin-top: var(--s-1); }
.social { display: flex; flex-wrap: wrap; gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
.social a { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.social a:hover { border-color: var(--amber); color: var(--amber); }
.social svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

/* ---------- Medien ---------- */
/* Raster mit festen Zeilenhöhen (aus der Spaltenbreite berechnet): Hoch-, Quer- und Breitformate schließen bündig ab.
   Zellen-Bilanz bei 10 Quer- (davon 2 .wide) und 4 Hochformaten: 2 Spalten = 24 Zellen, 3 Spalten = 18, 4 Spalten = 20 – keine Lücken. */
.gallery {
  --cols: 2; --gap: var(--s-2); --cap: 4.25rem;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--gap);
  grid-auto-rows: calc((min(100vw, 72rem) - 2 * var(--gutter) - (var(--cols) - 1) * var(--gap)) / var(--cols) * 0.75 + var(--cap));
  margin: var(--s-6) 0; padding: 0; list-style: none;
}
.gallery li, .gallery figure { display: flex; flex-direction: column; min-height: 0; }
.gallery figure { flex: 1; margin: 0; }
.gallery img { flex: 1 1 0; min-height: 0; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--surface); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; grid-row: span 2; }
@media (min-width: 48em) { .gallery { --cols: 3; --gap: var(--s-3); --cap: 3.25rem; } .gallery .wide { grid-column: auto; grid-row: auto; } }
@media (min-width: 64em) { .gallery { --cols: 4; --cap: 3.25rem; } .gallery .wide { grid-column: span 2; } }

/* ---------- Booking-Band ---------- */
.booking { position: relative; isolation: isolate; padding-block: var(--s-9); }
.booking img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.booking::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(13 13 16 / 0.78); }
.booking h2 { max-width: 18ch; }

/* ---------- Kontakt / Impressum ---------- */
.contact-card { background: var(--surface); border-radius: var(--radius); padding: var(--s-5); max-width: 36rem; }
.contact-card address { font-style: normal; }
.contact-list { list-style: none; margin: var(--s-4) 0 0; padding: 0; }
.contact-list li { display: flex; gap: var(--s-3); align-items: center; min-height: 44px; }
.contact-list svg { width: 1.25rem; height: 1.25rem; flex: none; fill: var(--amber); }
.contact-list a { color: var(--text); }
.contact-list a:hover { color: var(--amber); }

.legal { font-size: var(--step--1); line-height: 1.65; color: var(--muted); }
.legal h2 { color: var(--text); }
.legal h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--text); margin: var(--s-6) 0 var(--s-2); line-height: 1.3; }
.legal h4 { font-size: 0.9375rem; font-weight: 600; color: var(--text); margin: var(--s-5) 0 var(--s-1); }
.legal p, .legal ul { max-width: 75ch; }
.legal a { overflow-wrap: anywhere; }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--s-6); font-size: var(--step--1); color: var(--muted); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0 var(--s-2); list-style: none; margin: 0 0 var(--s-3); padding: 0; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--s-2); color: var(--text); }
.site-footer p { margin: 0; }

/* ---------- Unterseite Disclaimer | Datenschutz ---------- */
.legal h1 { font-size: var(--step-3); color: var(--text); margin-bottom: var(--s-5); }
.legal .back { margin-bottom: var(--s-5); font-size: var(--step-0); }
.legal .back a { display: inline-flex; align-items: center; min-height: 44px; color: var(--amber); }
.site-footer a[aria-current="page"] { color: var(--amber); }
