/* ==========================================================================
   John Henry – Prototyp
   Typografie und Farben angelehnt an bluespills.com:
   - Headlines: Compacta BT Light (dort), hier ersatzweise "Antonio" (Google Fonts)
   - Fließtext: Univers / Helvetica Neue
   - Farben: #1d1d1b (Schwarz), #e1dccb (Creme), #44999f (Petrol), #b53b23 (Rot)
   ========================================================================== */

:root {
  --black: #1d1d1b;
  --deep: #0b0b0a;
  --cream: #e1dccb;
  --teal: #44999f;
  --red: #b53b23;
  --bordeaux: #6a1b2b;

  --font-display: "Antonio", "Compacta BT", "compactalight", "Arial Narrow", sans-serif;
  --font-body: Univers, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(16px, 4vw, 50px);
  --header-h: 90px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 100%;
  line-height: 1.4;
  color: var(--cream);
  background: var(--deep);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 300; line-height: 1; margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }

.display {
  font-size: clamp(64px, 12vw, 190px);
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: .2em;
}

.eyebrow, .sub-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1;
}
.eyebrow { font-size: clamp(22px, 2.6vw, 36px); color: var(--teal); margin-bottom: .3em; }
.sub-title { font-size: clamp(26px, 3vw, 36px); letter-spacing: .04em; }

.lead { font-size: clamp(16px, 1.4vw, 20px); max-width: 640px; margin: 0 auto 2em; }

/* Section colour schemes ------------------------------------------------ */
.section-light  { background: var(--cream); color: var(--black); }
.section-dark   { background: var(--black); color: var(--cream); }
.section-accent { background: var(--bordeaux); color: var(--cream); }

/* Buttons (bluespills: Unterstrich-Button, der sich beim Hover von unten füllt) */
.btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  height: 65px;
  padding: 0 12px;
  font-family: var(--font-body);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: currentColor;
  border-bottom: 1px solid currentColor;
  overflow: hidden;
  transition: color .2s;
}
.btn::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 0%;
  background: currentColor;
  z-index: -1;
  transition: height .3s var(--ease);
}
.section-light .btn:hover { color: var(--cream); }
.section-light .btn:hover::before { background: var(--black); height: 100%; }
.btn-accent { color: var(--teal); }
.btn-accent:hover { color: var(--black); }
.btn-accent:hover::before { background: var(--teal); height: 100%; }
.btn-large { font-size: 24px; height: 90px; padding: 0 20px; }
.btn-inverted:hover { color: var(--bordeaux); }
.btn-inverted:hover::before { background: var(--cream); height: 100%; }

/* Header ---------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  z-index: 100;
  transition: background .4s, height .4s var(--ease);
}
.header.is-scrolled {
  height: 70px;
  background: rgba(11, 11, 10, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-logo img {
  height: 46px; width: auto;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .5s, transform .5s var(--ease);
}
.header.is-scrolled .header-logo img { opacity: 1; transform: none; }

.header-nav { display: flex; gap: clamp(18px, 3vw, 40px); }
.header-nav a {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 300;
  text-transform: uppercase; letter-spacing: .05em;
}

/* Menü-Knopf auf dem Handy: John Henrys Kopf (Hut und Bart) */
.menu-toggle {
  display: none;
  width: 52px; height: 60px;
  background: none; border: 0; padding: 4px; cursor: pointer;
  position: relative; z-index: 600;
  -webkit-tap-highlight-color: transparent;
}
.menu-head {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(68,153,159,.35));
  transition: transform .45s var(--ease), filter .45s var(--ease);
}
.menu-toggle:active .menu-head { transform: scale(.92); }
.menu-toggle[aria-expanded="true"] .menu-head {
  transform: rotate(-14deg) scale(1.08);
  filter: drop-shadow(0 0 14px rgba(68,153,159,.8));
}

/* Fullscreen menu (wie .m-menu auf bluespills: schiebt von rechts rein) */
.menu {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 90; /* unter dem Header, damit der Menü-Knopf das Menü auch wieder schließt */
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateX(100%);
  transition: transform .6s var(--ease), opacity .5s;
}
.menu.is-active { opacity: 1; transform: none; }
.menu-items { display: flex; flex-direction: column; text-align: center; gap: 6px; }
.menu-items a {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(52px, 12vw, 72px); text-transform: uppercase; color: var(--cream);
}

@media (max-width: 767px) {
  .header-nav { display: none; }
  .menu-toggle { display: block; }
}

/* Rauch-Bühne: feste WebGL-Leinwand hinter der ganzen Seite (smoke.js) ---- */
.smoke-stage {
  position: fixed; top: 0; left: 0; z-index: 0;
  display: block; width: 100%; height: 100vh; height: 100lvh;
  pointer-events: none;
}
main, .footer { position: relative; z-index: 1; }
/* Hero, Intro und Shows sind durchsichtig: die Bühne zeigt dort Rauch und lässt ihn
   mit einer weichen, rauchigen Kante in das Grau der Shows übergehen */
.has-smoke .hero, .has-smoke .intro, .has-smoke .tour { background: transparent; }
.has-smoke .intro { text-shadow: 0 1px 24px rgba(0,0,0,.55); }
.has-smoke .hero-sticky::after { display: none; }
.hero-fallback { transition: opacity .8s; }
.smoke-ready .hero-fallback { opacity: 0; }

/* Hero: gepinnt, Kamerafahrt und Rauch werden über den Scroll-Fortschritt gesteuert */
.hero { position: relative; height: 380vh; background: #000; }
.hero-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-media { position: absolute; inset: 0; }
.hero-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: 50% 50%;
}
.divider-media {
  position: absolute; inset: -15% 0;
  will-change: transform;
}
.divider-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-sticky::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,.65) 100%);
  pointer-events: none;
}


.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 900px; padding: 0 var(--gutter);
  margin-top: 28vh;
  will-change: opacity, transform;
}
.hero-signature {
  width: min(78vw, 640px); height: auto; margin: 0 auto 18px;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,.6));
}
.hero .sub-title { color: var(--teal); text-shadow: 0 2px 18px #000; }
.hero-band { font-size: clamp(26px, 3.2vw, 42px); letter-spacing: .3em; padding-left: .3em; }

/* Intro-Animation */
.hero-signature, .hero .sub-title {
  opacity: 0; transform: translateY(30px);
  animation: rise 1.4s var(--ease) forwards;
}
.hero .sub-title { animation-delay: .45s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.scroll-cue {
  transition: opacity .4s;
  position: absolute; bottom: 28px; left: 50%; z-index: 3;
  width: 1px; height: 60px; background: rgba(225,220,203,.25); overflow: hidden;
}
.scroll-cue span {
  position: absolute; left: 0; top: -60px; width: 1px; height: 60px; background: var(--cream);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { to { top: 60px; } }

/* Jede Sektion mindestens eine volle Bildschirmhöhe ---------------------- */
.screen {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
.screen > .container { width: 100%; }

.intro, .music, .contact { padding: clamp(100px, 12vw, 160px) 0; text-align: center; }
.sub-title-large { font-size: clamp(30px, 4.5vw, 58px); margin: -.2em 0 1em; color: var(--teal); }

/* Termine --------------------------------------------------------------- */
.tour { padding: clamp(100px, 12vw, 160px) 0; text-align: center; }
.tour-note { max-width: 560px; margin: 40px auto 0; opacity: .8; }
.tourdates { list-style: none; margin: 0; padding: 0; text-align: left; }
.tourdate {
  display: grid;
  grid-template-columns: 250px 1fr 1.4fr 120px;
  align-items: center; gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(225,220,203,.18);
  text-transform: uppercase; letter-spacing: .04em;
}
.tourdate-date, .tourdate-city { font-family: var(--font-display); font-size: 28px; font-weight: 300; }
.tourdate-venue { opacity: .75; line-height: 1.5; }
.tourdate .btn, .tourdate-soon { justify-self: end; }
.tourdate-soon { font-size: 13px; letter-spacing: .08em; opacity: .55; }
@media (max-width: 767px) {
  .tourdate { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .tourdate-venue { grid-column: 1; }
  .tourdate .btn, .tourdate-soon { grid-column: 2; grid-row: 1 / span 3; }
  .tourdate .btn { height: 50px; }
}

/* Divider: Fullbleed-Parallax mit Laufschrift --------------------------- */
.divider {
  position: relative; overflow: hidden;
  justify-content: center; background: #000;
}
.divider-media img { object-fit: cover; filter: brightness(.7); }
.divider-text {
  position: relative; z-index: 1; margin: 0;
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(90px, 18vw, 280px); line-height: 1; text-transform: uppercase;
  white-space: nowrap; color: transparent;
  -webkit-text-stroke: 1px var(--cream);
  will-change: transform;
}

/* Musik ----------------------------------------------------------------- */
.embed-placeholder {
  max-width: 760px; margin: 0 auto;
  border: 1px dashed rgba(225,220,203,.4);
  padding: 80px 20px;
  text-transform: uppercase; letter-spacing: .06em; font-size: 14px;
}

/* About ----------------------------------------------------------------- */
.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.about-media { position: relative; }
.about-media-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh; overflow: hidden;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about-text {
  padding: clamp(100px, 12vw, 180px) var(--gutter);
  max-width: 640px;
  font-size: 17px; line-height: 1.65;
}
.about-text p { margin: 0 0 1.3em; }
.about-text .display { font-size: clamp(64px, 8vw, 140px); }
.about-claim { color: var(--teal); margin-bottom: 1em; }
.about-lead { font-size: 21px; line-height: 1.45; }
.pullquote {
  margin: 1.4em 0; padding: 0;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(40px, 5vw, 72px); line-height: 1; text-transform: uppercase;
  color: var(--red);
}
@media (max-width: 899px) {
  .about { grid-template-columns: 1fr; }
  /* Auf dem Handy steht das Foto unter dem Text */
  .about-media { order: 2; }
  .about-media-sticky { position: relative; height: 80vh; height: 80svh; }
}

/* Band ------------------------------------------------------------------ */
.band { padding: clamp(100px, 12vw, 160px) 0; }
.band .container > .reveal:first-child { text-align: center; }
.band-text { max-width: 720px; margin: 0 auto 60px; font-size: 17px; line-height: 1.65; }
.lineup {
  list-style: none; margin: 0 0 60px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid rgba(29,29,27,.25);
}
.lineup li {
  display: flex; flex-direction: column; gap: 6px;
  padding: 24px 16px 24px 0;
  border-bottom: 1px solid rgba(29,29,27,.25);
}
.lineup-role { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); }
.lineup-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(32px, 3vw, 44px); text-transform: uppercase; line-height: 1; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 0; }
.facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; opacity: .6; margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 17px; }

/* Kontakt + Footer ------------------------------------------------------ */
.contact .display { font-size: clamp(56px, 9vw, 150px); }
.footer {
  background: var(--black); color: var(--cream);
  min-height: 300px; padding: 60px var(--gutter) 30px;
  display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center;
}
.footer-logo { width: 220px; height: auto; opacity: .9; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; text-transform: uppercase; font-size: 14px; letter-spacing: .06em; }
.footer-info { font-size: 13px; opacity: .6; margin: 0; }

/* Scroll-Reveal --------------------------------------------------------- */
.reveal {
  opacity: 0; transform: translateY(50px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Intro-Überschrift taucht aus dem Rauch auf: erst unscharf, dann scharf */
.intro .reveal .display { transition: filter 1.8s var(--ease); }
.intro .reveal:not(.is-visible) .display { filter: blur(18px); }

/* Ohne JS alles sichtbar */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-signature, .hero .sub-title { opacity: 1; transform: none; }
}
