/* ==========================================================================
   Oneless – Bluesband aus Bern
   ========================================================================== */

:root {
  --bg: #17120e;
  --bg-alt: #100c09;
  --surface: #0b0907;
  --surface-2: #231c16;
  --line: #352a20;
  --accent: #dc8b45;
  --accent-ink: #17120e;
  --text: #efe5d5;
  --muted: #b5a692;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Lato", system-ui, sans-serif;

  --radius: 24px;
  --radius-sm: 14px;
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: .6rem 1rem; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; border-radius: 8px; transform: translateY(-150%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 900px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: .9rem 1.8rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(220, 139, 69, .3); }

/* Header / Navigation ---------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(16, 12, 9, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav__brand img { width: auto; height: 34px; }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__menu a {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  text-decoration: none; color: var(--text);
  padding-block: .25rem; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__menu a:hover,
.nav__menu a.is-active { color: var(--accent); border-color: var(--accent); }
.nav__menu a.nav__cta {
  padding: .5rem 1.2rem; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
}
.nav__menu a.nav__cta:hover { color: var(--accent-ink); filter: brightness(1.08); }

.nav__toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
}
.nav__burger,
.nav__burger::before,
.nav__burger::after {
  display: block; width: 26px; height: 2px; margin-inline: auto;
  background: var(--text); border-radius: 2px;
  transition: transform .25s, background-color .25s;
}
.nav__burger { position: relative; }
.nav__burger::before, .nav__burger::after { content: ""; position: absolute; left: 0; }
.nav__burger::before { top: -8px; }
.nav__burger::after { top: 8px; }
.nav__toggle[aria-expanded="true"] .nav__burger { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__burger::before { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__burger::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.5rem;
    background: rgba(16, 12, 9, .97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-header.is-open .nav__menu { transform: none; opacity: 1; visibility: visible; }
  .nav__menu a { display: block; padding: .9rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav__menu a.is-active { border-color: var(--line); }
  .nav__menu li:last-child a.nav__cta { margin-top: 1rem; text-align: center; padding: .85rem; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.04);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.35) 0%, rgba(0,0,0,.75) 70%),
    linear-gradient(to bottom, rgba(23,18,14,.5) 0%, rgba(23,18,14,0) 30%, var(--bg) 100%);
}
.hero__content { padding-top: var(--header-h); display: grid; justify-items: center; gap: 1.5rem; }
.hero__title img { width: min(620px, 82vw); height: auto; filter: drop-shadow(0 6px 30px rgba(0,0,0,.6)); }
.hero__tagline {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--accent);
  padding-left: .35em; /* balance letter-spacing */
}
.hero__scroll {
  position: absolute; bottom: 1.5rem; left: 50%; translate: -50% 0;
  color: var(--text); opacity: .7;
  animation: bob 2.2s ease-in-out infinite;
}
.hero__scroll:hover { opacity: 1; color: var(--accent); }
@keyframes bob { 50% { transform: translateY(6px); } }

/* Sections --------------------------------------------------------------- */
.section { padding-block: clamp(4.5rem, 10vw, 7.5rem); scroll-margin-top: var(--header-h); }
.section--alt { background: var(--bg-alt); }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  margin-bottom: .5rem;
}
.section__title {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800;
  color: var(--accent);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

/* Band ------------------------------------------------------------------- */
.members { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.member {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 2rem;
  transition: transform .3s;
}
.member:hover { transform: translateY(-4px); }
.member img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-sm);
  filter: grayscale(1);
}
.member__body { text-align: center; padding-top: 1.5rem; }
.member h3 { font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: 1rem; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.tags li {
  padding: .3rem .85rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .95rem; color: var(--text);
}

/* Musik ------------------------------------------------------------------ */
.songs { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.song {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
}
.song__head { display: grid; grid-template-columns: 110px 1fr; gap: 1.25rem; align-items: start; }
.song__head img {
  width: 110px; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-sm); filter: grayscale(1);
}
.song h3 { font-size: 1.45rem; font-weight: 700; color: var(--accent); margin-bottom: .4rem; }
.song p { color: var(--muted); font-size: 1rem; }
.song audio { width: 100%; height: 44px; border-radius: 999px; }
.song--soon { border-style: dashed; justify-content: center; }

/* Timeline --------------------------------------------------------------- */
.timeline { position: relative; display: grid; gap: 2.5rem; }
.timeline::before {
  content: ""; position: absolute; top: .5rem; bottom: .5rem; left: 27px;
  width: 2px; background: linear-gradient(var(--accent), var(--line));
}
.timeline__item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; align-items: start; }
.timeline__year {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  box-shadow: 0 0 0 6px var(--bg);
}
.timeline__card {
  background: var(--surface-2); border-radius: var(--radius-sm);
  padding: 1.5rem 1.75rem;
}
.timeline__card h3 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800; color: var(--accent); margin-bottom: .6rem; }

@media (min-width: 820px) {
  .timeline::before { left: 50%; translate: -1px 0; }
  .timeline__item { grid-template-columns: 1fr 56px 1fr; gap: 2rem; }
  .timeline__year { grid-column: 2; grid-row: 1; margin-top: .75rem; }
  .timeline__item:nth-child(odd) .timeline__card { grid-column: 1; grid-row: 1; text-align: right; }
  .timeline__item:nth-child(even) .timeline__card { grid-column: 3; grid-row: 1; }
}

/* Auftritte -------------------------------------------------------------- */
.gigs { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .gigs { grid-template-columns: 280px 1fr; gap: 3rem; } }

.gigs__next {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}
.gigs__label {
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--muted);
}
.gigs__soon { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--accent); margin: .4rem 0 .75rem; }
.gigs__next a { color: var(--accent); }

.gigs__years { display: grid; gap: 1.75rem 2.5rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.gigs__year h3 {
  font-size: 1.1rem; color: var(--text);
  padding-bottom: .4rem; margin-bottom: .6rem;
  border-bottom: 1px solid var(--line);
}
.gigs__year li { display: flex; gap: .75rem; font-size: .95rem; line-height: 1.45; padding-block: .3rem; }
.gigs__year time { flex: none; width: 4.2em; color: var(--accent); font-variant-numeric: tabular-nums; }

.gigs__more { margin-top: 1.75rem; }
.gigs__more summary {
  cursor: pointer; display: inline-block; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--text); padding: .55rem 1.2rem;
  border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .2s, color .2s;
}
.gigs__more summary::-webkit-details-marker { display: none; }
.gigs__more summary::after { content: " +"; color: var(--accent); }
.gigs__more[open] summary::after { content: " –"; }
.gigs__more summary:hover { border-color: var(--accent); color: var(--accent); }
.gigs__more[open] .gigs__years { margin-top: 1.75rem; }

/* Galerie ---------------------------------------------------------------- */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
.gallery__item {
  padding: 0; border: 0; cursor: zoom-in; background: var(--surface);
  border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 3 / 2;
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1);
  transition: transform .5s, opacity .3s;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--wide,
.gallery__item:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 21 / 9; }
@media (min-width: 820px) {
  .gallery { gap: 1rem; grid-template-columns: repeat(3, 1fr); }
  .gallery__item:last-child:nth-child(even) { grid-column: auto; aspect-ratio: 3 / 2; }
  .gallery__item--wide { grid-column: span 3; aspect-ratio: 21 / 9; }
}

.lightbox {
  max-width: min(1100px, 94vw); max-height: 90vh;
  padding: 0; border: 0; background: transparent; overflow: visible;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox img { max-width: 100%; max-height: 90vh; width: auto; border-radius: 8px; margin: auto; }
.lightbox__close {
  position: absolute; top: -48px; right: 0;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
}

/* Kontakt ---------------------------------------------------------------- */
.contact {
  display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  background: var(--accent); color: var(--accent-ink);
  border-radius: var(--radius);
  padding: clamp(2rem, 6vw, 4.5rem);
}
.contact__title { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; margin-bottom: 1rem; }
.contact__lead { font-size: 1.15rem; max-width: 32ch; }
.contact__list { display: grid; gap: 1.25rem; font-size: 1.2rem; }
.contact__list li { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.contact__list a { text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { text-decoration: underline; }
.contact__icon {
  flex: none; display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--bg); color: var(--text);
}
.contact :focus-visible { outline-color: var(--accent-ink); }

/* Footer ----------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem; color: var(--muted); font-size: .95rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.legal { display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
@media (min-width: 600px) { .legal { justify-content: flex-end; } }
.footer__inner:has(details[open]) .legal { flex-basis: 100%; justify-content: flex-start; }
.imprint { scroll-margin-top: calc(var(--header-h) + 1rem); }
.imprint[open] { flex-basis: 100%; }
.imprint summary { cursor: pointer; font-weight: 700; color: var(--text); list-style-position: inside; }
.imprint summary:hover { color: var(--accent); }
.imprint address { font-style: normal; margin-top: .75rem; line-height: 1.7; }
.imprint a { color: var(--accent); overflow-wrap: anywhere; }

.privacy__body { max-width: 75ch; margin-top: .75rem; line-height: 1.7; }
.privacy__body h3 { font-size: 1rem; color: var(--text); margin: 1.75rem 0 .4rem; }
.privacy__body h3:first-child { margin-top: .5rem; }
.privacy__body h4 { font-family: var(--font-body); font-size: .95rem; color: var(--text); margin: 1.1rem 0 .3rem; }
.privacy__body p + p { margin-top: .6rem; }
.privacy__body ul { list-style: disc; padding-left: 1.25rem; margin: .5rem 0 .75rem; }
.privacy__source { margin-top: 1.75rem; font-size: .85rem; }

/* Reveal-Animation ------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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