/* ===========================================================
   Just Three — Site Stylesheet
   Palette pulled from the band's own stage lighting: warm gold
   under near-black, a deep wine accent for calls to action.

   Fonts: native system stacks only (no external font requests) —
   an elegant serif for display type, the OS's own UI sans for
   body text. Keeps the site fast, avoids a render-blocking
   third-party request, and avoids sending visitor IPs to a
   third-party font host.
   =========================================================== */

:root {
  --ink-950: #120d09;
  --ink-900: #1c150e;
  --ink-800: #291f16;
  --ink-700: #382a1c;

  --gold-200: #f2d9a4;
  --gold-300: #e8c079;
  --gold-400: #d9a04e;
  --gold-600: #a9772f;

  --wine-500: #8a2b34;
  --wine-600: #6e1f27;

  --cream-100: #f6ecd9;
  --cream-300: #d8c7ab;
  --cream-500: #b2a086;

  --font-display: Georgia, 'Times New Roman', Cambria, serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --shell-width: 1080px;
  --radius: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--cream-100);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold-300);
  text-decoration: none;
}
a:hover { color: var(--gold-200); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cream-100);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

p { color: var(--cream-300); }

ul { padding-left: 1.1em; }
li { color: var(--cream-300); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  display: inline-block;
  margin-bottom: 0.6em;
}

.shell {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

#header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 13, 9, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ink-700);
}

#header .shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}

#leftlogo {
  grid-column: 1;
  justify-self: start;
}

#menu {
  grid-column: 2;
  justify-self: center;
}

#leftlogo a {
  display: block;
  line-height: 0;
}

#leftlogo img {
  height: 54px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
}

#menu ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

#menu a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream-300);
  border-radius: var(--radius);
  letter-spacing: 0.01em;
}

#menu a:hover {
  color: var(--gold-200);
  background: var(--ink-800);
}

#menu .menuactive a,
#menu a.menuactive {
  color: var(--gold-300);
  position: relative;
}

#menu .menuactive a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--gold-400);
}

#mobile-toggle { display: none; }

@media (max-width: 720px) {
  #header .shell {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }
  #leftlogo, #menu { grid-column: 1; justify-self: start; }
  #menu { width: 100%; }
  #menu ul { gap: 0; width: 100%; justify-content: flex-start; }
  #menu a { padding: 8px 10px; font-size: 0.85rem; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 33vh;
  display: flex;
  align-items: center;
  background-color: var(--ink-950);
  background-image: linear-gradient(180deg, var(--ink-950) 0%, rgba(18,13,9,0.55) 45%, rgba(18,13,9,0.35) 96%), url('/images/hero-band.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--ink-700);
}

.hero .shell {
  padding-top: 28px;
  padding-bottom: 28px;
}

.hero-tag {
  color: var(--gold-300);
  font-family: var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}

.hero h1 {
  max-width: 34ch;
  text-shadow: 0 2px 10px rgba(0,0,0,0.85), 0 4px 32px rgba(0,0,0,0.6);
}

.hero p.lede {
  max-width: 68ch;
  color: var(--cream-100);
  font-size: 1.05rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9), 0 2px 20px rgba(0,0,0,0.6);
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--wine-500);
  color: var(--cream-100);
  border-color: var(--wine-500);
}
.btn-primary:hover { background: var(--wine-600); color: var(--cream-100); }

.btn-ghost {
  color: var(--gold-200);
  border-color: var(--gold-600);
}
.btn-ghost:hover { background: var(--ink-800); color: var(--gold-200); }

/* ---------- Marquee (signature element: live setlist ticker) ---------- */

.ticker {
  background: var(--ink-900);
  border-bottom: 1px solid var(--ink-700);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}

.ticker-fixed {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 10px 0;
  border-bottom: none;
  border-top: 1px solid var(--ink-700);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.35);
}

.ticker-fixed .ticker-item { font-size: 0.95rem; }

/* keep page content (incl. real footer) from hiding behind the fixed ticker */
body { padding-bottom: 52px; }

.ticker-track {
  display: inline-flex;
  animation: ticker-scroll 55s linear infinite;
}

.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker { overflow-x: auto; }
}

.ticker-item {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-300);
  padding: 0 28px;
  position: relative;
}

.ticker-item::after {
  content: "•";
  position: absolute;
  right: -3px;
  color: var(--gold-600);
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

section.block {
  padding: 72px 0;
  border-bottom: 1px solid var(--ink-800);
}
section.block:last-of-type { border-bottom: none; }

.block-head {
  max-width: 60ch;
  margin-bottom: 40px;
}

/* Event-type pills */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  border: 1px solid var(--ink-700);
  background: var(--ink-900);
  color: var(--cream-100);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* Band member cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 780px) {
  .card-grid { grid-template-columns: 1fr; }
}

.member-card {
  background: var(--ink-900);
  border: 1px solid var(--ink-800);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.member-card:hover { border-color: var(--gold-600); transform: translateY(-2px); }

.member-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid var(--ink-800);
}

.member-card .member-body { padding: 18px 20px 22px; }

.member-role {
  color: var(--gold-400);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

/* Repertoire genre cards */

.genre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.genre-card {
  background: var(--ink-900);
  border: 1px solid var(--ink-800);
  border-left: 3px solid var(--gold-400);
  padding: 20px 22px;
  border-radius: var(--radius);
}

.genre-card h3 { margin-bottom: 6px; }
.genre-card p.sample { color: var(--cream-500); font-size: 0.88rem; margin: 0; }

/* CTA band */

.cta-band {
  background: linear-gradient(120deg, var(--wine-600), var(--wine-500));
  border-radius: var(--radius);
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { margin: 0; color: var(--cream-100); }
.cta-band p { color: var(--gold-200); margin: 4px 0 0; }
.cta-band .btn-primary { background: var(--ink-950); border-color: var(--ink-950); }
.cta-band .btn-primary:hover { background: var(--ink-900); }

/* Section layout: sidebar sub-nav + content, used by besetzung, galerie,
   repertoire and referenzen (each has its own leftmenu autohandler). */

.section-layout {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 48px 24px 88px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 780px) {
  .section-layout { grid-template-columns: 1fr; }
}

.leftmenu {
  background: var(--ink-900);
  border: 1px solid var(--ink-800);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 86px;
}

.leftmenu h2 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  margin-bottom: 12px;
}

.leftmenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.leftmenu a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--cream-300);
  font-size: 0.92rem;
}
.leftmenu a:hover { background: var(--ink-800); color: var(--gold-200); }

.section-content { min-width: 0; }
.section-content > h1:first-child,
.section-content > .crumb:first-child,
.section-content > .eyebrow:first-child { margin-top: 0; }

/* Generic page shell for inner pages (kontakt, impressum) */

.page-shell {
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 56px 24px 88px;
}

.page-shell h1 { margin-bottom: 6px; }

.crumb {
  font-size: 0.82rem;
  color: var(--cream-500);
  margin-bottom: 18px;
}
.crumb a { color: var(--cream-500); }
.crumb a:hover { color: var(--gold-300); }

/* Song lists */

.songlist h1 {
  font-size: 1.4rem;
  border-bottom: 1px solid var(--ink-800);
  padding-bottom: 10px;
  margin-top: 40px;
}
.songlist h1:first-of-type { margin-top: 0; }

.songlist ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 24px;
}
@media (max-width: 600px) {
  .songlist ul { grid-template-columns: 1fr; }
}
.songlist li {
  padding: 7px 0 7px 20px;
  position: relative;
  border-bottom: 1px dashed var(--ink-800);
}
.songlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
}

/* Member detail page */

.member-detail {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 700px) {
  .member-detail { grid-template-columns: 1fr; }
}
.member-detail img {
  border-radius: var(--radius);
  border: 1px solid var(--ink-800);
}

/* Coming-soon panel (galerie, referenzen) */

.coming-soon {
  border: 1px dashed var(--ink-700);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  background: var(--ink-900);
}
.coming-soon .eyebrow { display: block; }

/* Photo gallery */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.photo-grid figure {
  margin: 0;
  background: var(--ink-900);
  border: 1px solid var(--ink-800);
  border-radius: var(--radius);
  overflow: hidden;
}

.photo-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.2s ease;
}

.photo-grid a:hover img {
  transform: scale(1.03);
}

.photo-grid figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--cream-500);
}

.photo-grid figure.diagram img {
  object-fit: contain;
  background: var(--ink-950);
}

/* Audio sample */

.audio-card {
  background: var(--ink-900);
  border: 1px solid var(--ink-800);
  border-left: 3px solid var(--gold-400);
  border-radius: var(--radius);
  padding: 24px 26px;
  max-width: 560px;
}

.audio-card h3 {
  margin-bottom: 4px;
}

.audio-card p.sample {
  color: var(--cream-500);
  font-size: 0.88rem;
  margin: 0 0 16px;
}

.audio-card audio {
  width: 100%;
  display: block;
}

.audio-card .audio-links {
  margin-top: 12px;
  font-size: 0.85rem;
}

/* Reference list */

.reference-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 32px;
}
@media (max-width: 600px) {
  .reference-list { grid-template-columns: 1fr; }
}
.reference-list li {
  padding: 12px 0 12px 22px;
  position: relative;
  border-bottom: 1px dashed var(--ink-800);
  color: var(--cream-100);
  font-size: 1rem;
}
.reference-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
}

/* Contact page */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
  background: var(--ink-900);
  border: 1px solid var(--ink-800);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.contact-card dt {
  color: var(--gold-400);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 16px;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd {
  margin: 4px 0 0;
  color: var(--cream-100);
  font-size: 1.05rem;
}

/* Impressum table */

.impressum-table { border-collapse: collapse; }
.impressum-table td { padding: 4px 12px 4px 0; color: var(--cream-300); }
.impressum-table td:first-child { color: var(--cream-500); white-space: nowrap; }

/* ---------- Footer ---------- */

#footer {
  border-top: 1px solid var(--ink-800);
  padding: 28px 0 40px;
}
#footer .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
#footer p {
  margin: 0;
  color: var(--cream-500);
  font-size: 0.85rem;
}
#footer a { color: var(--cream-500); }
#footer a:hover { color: var(--gold-300); }
