/* Pioneer Fink — static template
   Farben, Abstände & Co. zentral hier in :root anpassen.
   Die Variablen --text-heading, --text-nav, --text-body, --icon-burger
   usw. unten sind Aliase: sie zeigen per Default auf --fg/--muted/etc.,
   lassen sich bei Bedarf aber einzeln überschreiben, ohne die
   Basisfarbe für alles andere mitzuändern.
*/
:root{
  /* ===== Basisfarben ===== */
  --bg: #000;                          /* Seitenhintergrund (ganze Seite) */
  --fg: #eef0ec;                       /* Basis-Textfarbe; alle --text-* unten greifen hierauf zurück */

  /* ===== Textfarben (nach Rolle) ===== */
  --text-heading: var(--fg);           /* Logo-Schriftzug oben links + Section-Überschriften "Tour/Music/Videos" */
  --text-nav: var(--fg);               /* Hauptnavigation im Header + Links im Mobile-Menü */
  --text-body: var(--fg);              /* Fließtext, Button-Beschriftung, Video-Stop-Icon */
  --muted: rgba(255,255,255,.72);      /* Sekundärtext: Untertitel, Tour-Ort, Tracklist, Album-Infozeile, Footer-Links */
  --muted-2: rgba(255,255,255,.55);    /* Tertiärtext, am dezentesten: Footer-Copyright */
  --accent-2: rgba(255,255,255,.85);   /* Hervorhebung: Datum bei Tour-Terminen */
  --accent: #ffffff;                   /* aktuell ungenutzt — reserviert für eine künftige Akzentfarbe */

  /* ===== Icon-Farben ===== */
  --icon-burger: #fff;                 /* Burger-Menü-Icon (3 Striche, oben rechts) */
  --icon-social: rgba(255,255,255,.9); /* Social-Icons im Hero (Instagram/YouTube/Spotify) */
  --icon-play: rgba(255,255,255,.92);  /* Play-Symbol auf Video-Vorschaubildern */

  /* ===== Flächen / Karten ===== */
  --card: rgba(255,255,255,.04);          /* Standard-Kartenhintergrund: Tour-Termin, Album, Video */
  --card-hover: rgba(255,255,255,.06);    /* Hover-Hintergrund: Buttons, Pills, Drawer-Links */
  --card-2: rgba(255,255,255,.10);        /* verstärkte Fläche: aktiver Drawer-Link, Karten-Rahmen */

  /* ===== Rahmen ===== */
  --border-subtle: rgba(255,255,255,.08); /* Header-/Footer-Trennlinie, Tour-Termin Hover-Hintergrund */
  --border-soft: rgba(255,255,255,.12);   /* Drawer-Rahmen, Album-Cover-Rahmen */
  --border: rgba(255,255,255,.18);        /* Pill-Rahmen (Streaming-Links) */
  --border-strong: rgba(255,255,255,.22); /* Button-/Badge-Rahmen */

  /* ===== Layout: Höhen & Container ===== */
  --top-banner-height: 38px;
  --header-height: 96px;
  --footer-height: 140px;
  --container: 1120px;
  --radius: 16px;
  --shadow: 0 10px 35px rgba(0,0,0,.45);
  --gutter: 20px; /* entspricht calc(100% - 40px) -> 20px links/rechts */

  /* ===== Navigation ===== */
  --nav-font: 20px;
  --nav-gap: 40px;
  --nav-left: 45px;

  /* ===== Mobile-Menü (Drawer) ===== */
  --drawer-width: min(50vw, 220px);
  --drawer-padding-top: 160px;
  --drawer-padding-left: 15px;
  --drawer-backdrop: rgba(0,0,0,.55);
  --drawer-blur: 6px;

  /* ===== Unterseiten (tour/music/videos.html, Weiterleitungs-Hintergrund) ===== */
  --subpage-overlay: rgba(0,0,0,.55);
  --subpage-blur: 10px;

  /* ===== Logo / Markenname ===== */
  --logo-height: 180px;
  --brand-text-size: 30px;

  /* ===== Typografie ===== */
  --font-body: "Space Mono", monospace;      /* Fließtext */
  --font-display: "Lacquer", system-ui;      /* Logo-Schriftzug, Section-Titel, Navigation */
}

@media (max-width: 720px){
  :root{ 
    --footer-height: 260px; 
    --brand-text-size: 25px;
  }

}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  /*font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";*/
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg);
  overflow-x:hidden;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: none; }

/* content links can underline on hover */
main a.link:hover{ text-decoration: underline; }

a:focus-visible,
button:focus-visible{
  outline: 2px solid rgba(255,255,255,.65);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

.top-banner{
  height: var(--top-banner-height);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 13px;
  color: var(--muted);
  background: var(--card);
  border-bottom: 1px solid var(--border-subtle);
}
.top-banner a{ text-decoration: underline; text-underline-offset: 3px; }

.header{
  position: sticky;
  top:0;
  z-index: 50;
  height: var(--header-height);
  display:flex;
  align-items:center;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.header__inner{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 180px;
}
.brand img{
  height: 44px;
  width:auto;
  filter: drop-shadow(0 0 12px rgba(255,255,255,.15));
}
.brand__text{
  display:flex;
  flex-direction:column;
  line-height: 1.05;
}
.brand__name{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: var(--brand-text-size);
  color: var(--text-heading);
}
.brand__tag{
  font-size: 12px;
  color: var(--muted);
}

.nav{
  display:flex;
  align-items:center;
  gap: var(--nav-gap);
  font-family: var(--font-display);
  font-size: var(--nav-font);
  letter-spacing: .04em;
}
.nav a{
  opacity: .9;
  padding: 10px 0;
  position:relative;
  color: var(--text-nav);
  transition: opacity .2s ease;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom: 2px;
  height: 10px;
  background: currentColor;
  -webkit-mask-image: url("../assets/nav-underline-mask.png");
  mask-image: url("../assets/nav-underline-mask.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  opacity: 0;
  transform: translateY(0);
  transition: opacity .2s ease;
}
.nav a:hover::after{ opacity: .8; }

.nav a[data-active="true"]{
  opacity: 1;
}
.nav a[data-active="true"]::after{ opacity: 1; }

.burger{
  display:none;
  width: 35px;
  height: 25px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;

  flex-direction: column;
  justify-content: space-between;

  color: var(--icon-burger);

  position: relative;
  z-index: 70; /* höher als drawer (61) und backdrop (60) */
}

.burger span{
  display:block;
  height: 3px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

.burger:focus{
  outline: 2px solid rgba(255,255,255,.35);
  outline-offset: 4px;
}
body.drawer-open .burger{
  position: fixed;
  top: calc((var(--header-height) - 25px) / 2);
  right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}

/* zu X verwandeln, wenn Drawer offen */
body.drawer-open .burger span:nth-child(1){
  transform: translateY(11px) rotate(45deg);
}
body.drawer-open .burger span:nth-child(2){
  opacity: 0;
}
body.drawer-open .burger span:nth-child(3){
  transform: translateY(-11px) rotate(-45deg);
}


@media (max-width: 1030px){
  .nav{ display:none; }
  .burger{ display:flex; }
}

.drawer-backdrop{
  position: fixed;
  inset:0;
  z-index: 60;
  background: var(--drawer-backdrop);
  backdrop-filter: blur(var(--drawer-blur));
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease;
}
.drawer{
  position: fixed;
  top:0; right:0;
  height: 100vh;
  width: var(--drawer-width);
  z-index: 61;
  background: rgba(0,0,0,.85);
  border-left: 1px solid var(--border-soft);
  transform: translateX(105%);
  transition: transform .18s ease;
  padding-top: var(--drawer-padding-top);
  padding-left: var(--drawer-padding-left);
  padding-right: 18px;
}
.drawer a{
  display:block;
  padding: 14px 8px;
  border-radius: 12px;
  color: var(--text-nav);
  opacity:.92;
}
.drawer a:hover{
  background: var(--card-hover);
  text-decoration:none;
}
.drawer a[data-active="true"]{
  background: var(--card-2);
  opacity: 1;
}
.drawer-open .drawer-backdrop{
  opacity:1;
  pointer-events:auto;
}
.drawer-open .drawer{
  transform: translateX(0);
}

main{
  min-height: calc(100vh - var(--top-banner-height) - var(--header-height) - var(--footer-height));
}

.section{
  scroll-margin-top: calc(var(--header-height) + var(--top-banner-height) + 20px);
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 0;
}
.section__title{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .04em;
  /* text-transform: uppercase; */
  margin: 0 0 22px;
  font-size: 34px;
  color: var(--text-heading);
}
.section__lead{
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.6;
}

.hero{
  position:relative;
  min-height: calc(100vh - var(--top-banner-height) - var(--header-height));
  display:flex;
  align-items: flex-end;
  padding-bottom: 46px;
  scroll-margin-top: calc(var(--header-height) + var(--top-banner-height) + 20px);
}
.hero__social{
  position: absolute;
  top: calc(var(--header-height) - 70px);
  right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));

  display: flex;
  gap: 48px;
  z-index: 6;

  color: var(--icon-social);
}
.hero__social a{
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: inherit;            /* Icon übernimmt Farbe */
  text-decoration: none;
  opacity: .9;
  transition: opacity .2s ease, transform .2s ease;
}
.hero__social a:hover{
  opacity: 1;
  transform: translateY(-1px);
}

.hero__social img{
  width: 46px;  /* Icon-Größe */
  height: 46px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}

.hero__bg{
  position:absolute;
  inset:0;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  filter: contrast(1.05) saturate(1.05) brightness(1.12);
}
.hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.35) 40%, rgba(0,0,0,.15));
}
.hero__hotspots{
  position:absolute;
  inset:0;
  pointer-events:none;
}
.hero__hotspot-glow{
  position:absolute;
  inset:0;
  background: radial-gradient(closest-side, rgba(255,255,255,.4), rgba(255,255,255,.2) 70%, transparent 100%);
  mask-repeat:no-repeat;
  mask-position:center;
  mask-size:cover;
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-position:center;
  -webkit-mask-size:cover;
  mix-blend-mode: screen;
  opacity:0;
  transition: opacity .18s ease;
}
.hero__hotspot-glow.is-active{ opacity:.55; }
.hero__content{
  position:relative;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  display:grid;
  grid-template-columns: 1fr auto;
  align-items:end;
  gap: 24px;
}
.hero__logo{
  height: var(--logo-height);
  width:auto;
  filter: drop-shadow(0 0 18px rgba(0,0,0,.75));
  opacity: .98;
}
.hero__actions{
  display:flex;
  gap: 15px;
  margin-top: -110px;
  margin-left: 18px;
  flex-wrap: wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(0,0,0,.35);
  color: var(--text-body);
  text-decoration:none;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.btn:hover{ text-decoration:none; background: var(--card-hover); }
.btn--solid{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
}
.btn__icon{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 3px;
}
.btn__dot{
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: btn-dot-pulse 1.2s ease-in-out infinite;
}
.btn__dot:nth-child(2){ animation-delay: .2s; }
.btn__dot:nth-child(3){ animation-delay: .4s; }
@keyframes btn-dot-pulse{
  0%, 80%, 100%{ transform: scale(.6); opacity: .5; }
  40%{ transform: scale(1); opacity: 1; }
}
.btn__label{
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 900px){
  .hero__content{ grid-template-columns: 1fr; }
  /* .hero__logo{ height: 110px; justify-self: start; } */
  .hero__logo{display:none;}
}

/* Lists */
.list{
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.tour-item{
  display:grid;
  grid-template-columns: 140px 1fr auto;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-2);
  transition: background-color .2s ease, border-color .2s ease;
}
a.tour-item:hover{
  background: var(--border-subtle);
  border-color: var(--border-strong);
}
.tour-item__date{
  font-variant-numeric: tabular-nums;
  letter-spacing:.03em;
  color: var(--accent-2);
}
.tour-item__place{
  color: var(--muted);
  line-height:1.4;
}
.badge{
  align-self:center;
  font-size: 12px;
  letter-spacing:.08em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(0,0,0,.25);
  white-space: nowrap;
}
.badge--disabled{
  display: none;
}
@media (max-width: 720px){
  .tour-item{
    grid-template-columns: 1fr;
  }
  .badge{ justify-self: start; }
  .hero__social{
      top: calc(var(--header-height) - 80px);
      left: var(--gutter);
      right: var(--gutter);
      justify-content: center;
      gap: 50px;
  }
  .hero__social a{
    width: 64px;
    height: 64px;
  }

  .hero__social img{
      width: 46px;  /* Icon-Größe */
      height: 46px;
  }

  .hero__actions{
    margin-left: 0;
    justify-content: center;
  }
}

/* Albums */
.album{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  padding: 16px;
  border-radius: calc(var(--radius) + 2px);
  background: var(--card);
  border: 1px solid var(--card-2);
}
.album__cover-wrap{
  position: relative;
  align-self: center;
  border-radius: 14px;
  overflow: hidden;
}
.album__cover{
  display: block;
  width:100%;
  height:auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
}
.album__cover-play{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: none;
  color: var(--icon-play);
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease;
}
.album__cover-play svg{
  width: 56px;
  height: 56px;
  fill: rgba(0,0,0,.4);
  stroke: currentColor;
  stroke-width: 1.2;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
  transition: transform .2s ease;
}
.album__cover-play:hover svg{ transform: scale(1.08); }
.album__controls{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0));
  opacity: 0;
  transition: opacity .2s ease;
}
/* Play/Pause bleibt sichtbar, solange das Album aktiv ist (zeigt auf einen Blick,
   welches Album gerade läuft). Timeline/Prev/Next blenden sich dagegen nach
   kurzer Zeit ohne Hover/Fokus wieder aus (siehe .controls-visible in main.js). */
.album__cover-wrap.controls-visible .album__cover-play,
.album__cover-wrap.is-active .album__cover-play{
  opacity: 1;
}
.album__cover-wrap.controls-visible .album__controls{
  opacity: 1;
}
.album__control-btn{
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fg);
  cursor: pointer;
  opacity: .85;
  transition: opacity .2s ease;
}
.album__control-btn:hover{ opacity: 1; }
.album__control-btn svg{ width: 16px; height: 16px; }
.album__seek{
  flex: 1 1 auto;
  min-width: 0;
  height: 3px;
  accent-color: var(--accent-2);
  cursor: pointer;
}
.album__time{
  flex: 0 0 auto;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  white-space: nowrap;
}
.album__meta h3{
  margin: 2px 0 6px;
  font-size: 26px;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
}
.album__meta .sub{
  color: var(--muted);
  margin: 0 0 10px;
  line-height:1.5;
}
.pills{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin: 10px 0 14px;
}
.pill{
  border: 1px solid var(--border);
  background: rgba(0,0,0,.25);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 13px;
  text-decoration:none;
  transition: background-color .2s ease;
}
.pill:hover{ text-decoration:none; background: var(--card-hover); }
.tracks{
  margin:0;
  padding-left: 40px;
  color: var(--muted);
  line-height: 1.75;
}
.track{
  display: block;
  width: 100%;
  padding: 2px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease;
}
.track:hover{ color: var(--fg); }
.track.is-playing{ color: var(--fg); font-weight: 700; }
.track--disabled{
  cursor: default;
}
.track--disabled:hover{ color: inherit; }
@media (max-width: 900px){
  .album{ grid-template-columns: 1fr; }
  .album__cover-wrap{ max-width: 420px; }
}

/* Videos */
.video-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.video{
  background: var(--card);
  border: 1px solid var(--card-2);
  border-radius: var(--radius);
  overflow:hidden;
}
.video__frame-holder{
  position: relative;
}
.video__frame{
  width:100%;
  aspect-ratio: 16/9;
  border:0;
  display:block;
}
.video__stop{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(0,0,0,.55);
  color: var(--text-body);
  cursor: pointer;
  transition: background-color .2s ease;
}
.video__stop:hover{ background: rgba(0,0,0,.75); }
.video__stop svg{ width: 16px; height: 16px; }
.video__thumb{
  position: relative;
  width:100%;
  aspect-ratio: 16/9;
  display:block;
  border:0;
  padding:0;
  margin:0;
  background: #000;
  cursor: pointer;
}
.video__thumb-img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.video__play{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color: var(--icon-play);
  pointer-events:none;
}
.video__play svg{
  width: 56px;
  height: 56px;
  fill: rgba(0,0,0,.4);
  stroke: currentColor;
  stroke-width: 1.2;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
  transition: transform .2s ease;
}
.video__thumb:hover .video__play svg{ transform: scale(1.08); }
.video__thumb:focus-visible{ outline-offset: -3px; }
.video__title{
  padding: 12px 14px;
  color: var(--muted);
  margin:0;
}
@media (max-width: 900px){
  .video-grid{ grid-template-columns: 1fr; }
}

/* Footer */
.footer{
  height: var(--footer-height);
  border-top: 1px solid var(--border-subtle);
  background: rgba(255,255,255,.02);
}
.footer__inner{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  height: 100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 14px;
}
.footer__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer small{ color: var(--muted-2); }
.footer .links{
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer .links a{ color: var(--muted); }

/* Subpages: optional slightly different background treatment */
.subpage{
  position:relative;
}
.subpage::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  background: url("../assets/hero.jpg") center/cover no-repeat;
  filter: blur(var(--subpage-blur)) contrast(1.05);
  transform: scale(1.06);
}
.subpage::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background: var(--subpage-overlay);
}


/* Two-column tracklist for long albums */
@media (min-width: 820px){
  .tracks--cols{ columns: 2; column-gap: 44px; }
  .tracks--cols li{ break-inside: avoid; }
}

.video__watch{ display:inline-block; margin-top: 10px; color: var(--muted); font-size: 13px; transition: color .2s ease; }
.video__watch:hover{ color: var(--text-body); text-decoration: underline; }
