/* Die Gerchli – Stylesheet
   Dunkle Bühne, rote Scheinwerfer. Nur Systemschriften, keine externen Dateien. */
:root {
  --stage: #0e0b0a;        /* Hintergrund, warmes Schwarz */
  --stage-2: #171211;      /* Flächen */
  --line: #2e2320;         /* Linien */
  --ink: #f4ede9;          /* Text */
  --ink-soft: #b8aaa4;     /* Nebentext */
  --red: #a0281b;          /* Logo-Rot, für Flächen */
  --red-hot: #e2513a;      /* Rot für Text auf Schwarz */
  --sun: #edbf16;          /* Smiley-Gelb, sparsam */
  --f-display: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1120px;
  --r: 6px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stage); color: var(--ink);
  font: 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red-hot); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- Kopfzeile ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9;
  background: color-mix(in srgb, var(--stage) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.brand img { height: 58px; width: auto; }

.nav { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 8px 12px; border-radius: var(--r);
  font: 700 15px/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink); text-decoration: none;
}
.nav a:hover { background: var(--stage-2); color: var(--red-hot); }
.nav .cta { background: var(--red); }
.nav .cta:hover { background: var(--red-hot); color: var(--ink); }
.burger {
  display: none; width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  background: color-mix(in srgb, var(--stage) 60%, transparent); color: var(--ink);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.burger svg { width: 22px; height: 22px; display: block; margin: auto; }
.burger .zu { display: none; }
.burger[aria-expanded="true"] .auf { display: none; }
.burger[aria-expanded="true"] .zu { display: block; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 820px) {
  .burger { display: grid; place-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--stage); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 18px; }
}

/* ---------- Bühne / Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 80%; aspect-ratio: 1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--red) 55%, transparent), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; padding-block: 48px 56px; }
.hero-logo { width: min(100%, 420px); height: auto; justify-self: center; transform-origin: 40% 90%; animation: wink 1.1s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes wink { from { transform: rotate(-8deg) scale(.92); } to { transform: none; } }
.kicker { font: 700 13px/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--sun); margin: 0 0 14px; }
.hero h1 {
  font: 800 clamp(44px, 7.4vw, 92px)/.92 var(--f-display); text-transform: uppercase; letter-spacing: -.01em;
  margin: 0 0 18px; text-wrap: balance;
}
.hero h1 span { color: var(--red-hot); }
.hero p.lead { font-size: 18px; color: var(--ink-soft); max-width: 36ch; margin: 0 0 26px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: var(--r);
  font: 700 16px/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; cursor: pointer;
  border: 2px solid var(--red); background: var(--red); color: var(--ink);
}
.btn:hover { background: var(--red-hot); border-color: var(--red-hot); color: var(--ink); }
.btn.ghost { background: transparent; border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.next-gig {
  margin-top: 28px; display: inline-flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline;
  padding: 10px 14px; border-left: 3px solid var(--sun); background: var(--stage-2); border-radius: 0 var(--r) var(--r) 0;
}
.next-gig b { font: 700 13px/1 var(--f-display); text-transform: uppercase; letter-spacing: .14em; color: var(--sun); }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 28px 40px; gap: 8px; }
  .hero-logo { width: min(72%, 300px); order: -1; margin-bottom: 32px; }
  .hero::before { inset: -32px auto auto 50%; width: 130%; translate: -50% 0; }
}

/* ---------- Abschnitte ---------- */
section.block { padding-block: 72px; border-bottom: 1px solid var(--line); }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 32px; }
.head h2 { font: 800 clamp(34px, 5vw, 56px)/.95 var(--f-display); text-transform: uppercase; margin: 0; }
.head h2 small { display: block; font: italic 500 17px/1.3 var(--f-body); text-transform: none; color: var(--red-hot); margin-top: 6px; }
.head p { margin: 0; color: var(--ink-soft); max-width: 44ch; }

/* ---------- Termine als Eintrittskarten ---------- */
.gigs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticket {
  display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: stretch;
  background: var(--stage-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.ticket .stub {
  position: relative; background: var(--red); display: grid; place-content: center; text-align: center; padding: 14px 8px;
  font-variant-numeric: tabular-nums;
}
.ticket .stub::after { /* Perforation */
  content: ""; position: absolute; top: 6px; bottom: 6px; right: -1px; border-right: 2px dashed var(--stage-2);
}
.stub .dow { font: 700 13px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.stub .day { font: 800 44px/1 var(--f-display); }
.stub .mon { font: 700 14px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; }
.ticket .info { padding: 16px 20px; min-width: 0; }
.ticket h3 { margin: 0 0 4px; font: 700 22px/1.15 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.ticket .meta { color: var(--ink-soft); font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ticket .acts { display: flex; align-items: center; gap: 8px; padding: 16px 20px 16px 0; }
.chip { font: 600 12px/1 var(--f-body); padding: 5px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-soft); }
.chip.ex { border-color: var(--sun); color: var(--sun); }
.small-btn { font: 700 13px/1 var(--f-display); text-transform: uppercase; letter-spacing: .08em; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; background: none; cursor: pointer; white-space: nowrap; }
.small-btn:hover { border-color: var(--red-hot); color: var(--red-hot); }
@media (max-width: 620px) {
  .ticket { grid-template-columns: 84px minmax(0, 1fr); }
  .stub .day { font-size: 36px; }
  .ticket .acts { grid-column: 2; padding: 0 16px 16px; flex-wrap: wrap; }
  .ticket .info { padding: 14px 16px 10px; }
}
.empty { color: var(--ink-soft); padding: 24px; border: 1px dashed var(--line); border-radius: var(--r); }

/* ---------- Musikplayer ---------- */
.music { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 820px) { .music { grid-template-columns: 1fr; } }
.deck { background: var(--stage-2); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 18px; align-content: start; }
.now { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 16px; align-items: center; }
.cover {
  width: 88px; aspect-ratio: 1; border-radius: var(--r); background: var(--red); display: grid; place-items: center; overflow: hidden;
}
.cover svg { width: 46px; height: 46px; fill: var(--stage); }
.cover.spin svg { animation: bob .6s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-4px) rotate(-6deg); } }
.now .t { font: 800 24px/1.1 var(--f-display); text-transform: uppercase; margin: 0; overflow-wrap: anywhere; }
.now .a { color: var(--ink-soft); font-size: 14px; margin: 4px 0 0; }
.bar { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: center; font: 13px/1 var(--f-mono); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; accent-color: var(--red-hot); }
.ctrl { display: flex; gap: 10px; align-items: center; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.round:hover { border-color: var(--red-hot); }
.round.play { width: 60px; height: 60px; background: var(--red); border-color: var(--red); }
.round.play:hover { background: var(--red-hot); }
.round svg { width: 20px; height: 20px; fill: currentColor; }
.round.play svg { width: 24px; height: 24px; }
.note { font-size: 13px; color: var(--ink-soft); margin: 0; }
.tracks { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tracks li + li { border-top: 1px solid var(--line); }
.tracks button {
  width: 100%; display: grid; grid-template-columns: 28px minmax(0,1fr) auto; gap: 12px; align-items: center; text-align: left;
  padding: 14px 16px; background: none; border: 0; color: var(--ink); cursor: pointer; font: inherit;
}
.tracks button:hover { background: var(--stage-2); }
.tracks .n { font: 13px var(--f-mono); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.tracks .ti { font-weight: 600; overflow-wrap: anywhere; }
.tracks .ti small { display: block; font-weight: 400; color: var(--ink-soft); }
.tracks .d { font: 13px var(--f-mono); color: var(--ink-soft); }
.tracks [aria-current="true"] { background: var(--stage-2); box-shadow: inset 3px 0 0 var(--red-hot); }
.tracks [aria-current="true"] .n { color: var(--red-hot); }

/* ---------- Videos (Zwei-Klick) ---------- */
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .videos { grid-template-columns: 1fr; } }
.video figure { margin: 0; display: grid; gap: 10px; }
.frame {
  position: relative; aspect-ratio: 16/9; max-width: 100%; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--red) 0%, var(--stage-2) 70%);
}
.frame iframe, .frame .thumb { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.frame .thumb { object-fit: cover; }
.frame .load {
  position: absolute; inset: 0; width: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 16px;
  background: linear-gradient(color-mix(in srgb, var(--stage) 25%, transparent), color-mix(in srgb, var(--stage) 70%, transparent));
  border: 0; color: var(--ink); cursor: pointer; text-align: center; font: inherit;
}
.frame .load .pb { width: 64px; height: 64px; border-radius: 50%; background: var(--stage); display: grid; place-items: center; border: 2px solid var(--ink); transition: transform .15s; }
.frame .load:hover .pb { transform: scale(1.08); border-color: var(--sun); }
.frame .load .pb svg { width: 26px; height: 26px; fill: var(--ink); margin-left: 4px; }
.frame .load small { font-size: 12px; max-width: 30ch; color: var(--ink); opacity: .85; }
.video figcaption { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.video figcaption b { font: 700 18px/1.2 var(--f-display); text-transform: uppercase; }
.video figcaption a { font-size: 13px; white-space: nowrap; }

/* ---------- Band ---------- */
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 820px) { .band { grid-template-columns: 1fr; } }
.band .txt p { font-size: 18px; max-width: 58ch; margin: 0 0 16px; }
.band .txt p.motto { font: italic 600 24px/1.3 var(--f-body); color: var(--red-hot); }
.photo {
  aspect-ratio: 4/3; max-width: 100%; border-radius: var(--r); border: 1px solid var(--line);
  background: repeating-linear-gradient(-45deg, var(--stage-2) 0 14px, var(--stage) 14px 28px);
  display: grid; place-items: center; color: var(--ink-soft); font-size: 14px; text-align: center; padding: 16px;
}
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; padding: 0; list-style: none; }
.facts li { border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 14px; }

/* ---------- Social ---------- */
.insta { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 900px) { .insta { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.insta a {
  position: relative; aspect-ratio: 1; max-width: 100%; border-radius: var(--r); overflow: hidden; display: block; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line);
}
.insta a span {
  position: absolute; inset: auto 0 0 0; padding: 8px; font-size: 12px; line-height: 1.3;
  background: linear-gradient(transparent, color-mix(in srgb, var(--stage) 92%, transparent));
}
.insta a img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.insta a:hover img { transform: scale(1.04); }
.insta a .reel { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; fill: var(--ink); filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.insta a span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; opacity: 0; transition: opacity .2s; }
.insta a:hover span, .insta a:focus-visible span { opacity: 1; }
@media (hover: none) { .insta a span { display: none; } }
.insta a:hover { border-color: var(--red-hot); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
.contact .side p { color: var(--ink-soft); max-width: 40ch; }
.contact .side ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.contact .side li { display: flex; gap: 10px; }
.contact .side li::before { content: "✓"; color: var(--sun); font-weight: 700; }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { form { grid-template-columns: 1fr; } }
.f { display: grid; gap: 6px; min-width: 0; }
.f.full { grid-column: 1 / -1; }
label { font: 700 13px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
input:not([type=range]):not([type=checkbox]), select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--stage-2); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red-hot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red-hot) 25%, transparent); }
textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: start; font-size: 14px; color: var(--ink-soft); }
.check input { margin-top: 4px; accent-color: var(--red-hot); width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; }
.ok { grid-column: 1 / -1; padding: 14px 16px; border-left: 3px solid var(--sun); background: var(--stage-2); border-radius: 0 var(--r) var(--r) 0; }

/* ---------- Fuß ---------- */
footer { padding-block: 40px 56px; color: var(--ink-soft); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
footer img { height: 54px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--ink-soft); }
.nocookie { display: inline-flex; gap: 8px; align-items: center; }
.nocookie::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }

/* ---------- Ergänzungen ---------- */
.min0 { min-width: 0; }
.head.eng { margin-bottom: 20px; }
.head.sehr-eng { margin-bottom: 16px; }
.check { grid-column: 1 / -1; text-transform: none; letter-spacing: 0; font: 14px/1.5 var(--f-body); }
.senden { justify-self: start; }
.btn[disabled] { opacity: .6; cursor: wait; }
.ok.fehler { border-left-color: var(--red-hot); }
.photo { overflow: hidden; padding: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .platzhalter { padding: 16px; }
::placeholder { color: color-mix(in srgb, var(--ink-soft) 70%, transparent); }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.seite { padding-block: 56px 80px; }
.seite .wrap { max-width: 760px; }
.seite h1 { font: 800 clamp(36px, 6vw, 56px)/1 var(--f-display); text-transform: uppercase; margin: 0 0 32px; }
.seite h2 { font: 700 22px/1.25 var(--f-display); text-transform: uppercase; letter-spacing: .02em; margin: 40px 0 10px; }
.seite h3 { font-size: 17px; margin: 24px 0 6px; }
.seite p, .seite li { color: var(--ink); max-width: 68ch; }
.seite address { font-style: normal; }
.zurueck { display: inline-block; margin-bottom: 28px; }
.hinweis-entwurf { border: 1px dashed var(--sun); color: var(--sun); padding: 12px 16px; border-radius: var(--r); margin-bottom: 28px; }
.luecke { background: color-mix(in srgb, var(--sun) 20%, transparent); color: var(--sun); padding: 0 4px; border-radius: 3px; }

/* ---------- Startseite auf dem Handy: Logo wandert beim Scrollen in die Kopfleiste ----------
   seite.js setzt --kopf (0 = ganz oben, 1 = Kopfleiste voll sichtbar) und bewegt das große Logo.
   Ohne JavaScript ist --kopf 1, die Kopfleiste ist dann ganz normal sichtbar. */
@media (max-width: 760px) {
  .startseite .top {
    position: fixed; left: 0; right: 0;
    background: color-mix(in srgb, var(--stage) calc(var(--kopf, 1) * 92%), transparent);
    border-bottom-color: color-mix(in srgb, var(--line) calc(var(--kopf, 1) * 100%), transparent);
    backdrop-filter: blur(calc(var(--kopf, 1) * 10px)); -webkit-backdrop-filter: blur(calc(var(--kopf, 1) * 10px));
  }
  .startseite .top.offen { background: var(--stage); z-index: 30; }
  .startseite .brand { opacity: var(--marke, 1); }
  .startseite .hero .wrap { padding-top: 84px; }
  .startseite .hero-logo { position: relative; z-index: 10; transform-origin: 0 0; pointer-events: none; will-change: translate, scale; }
}
