/* ===================================================================
   UMSONST. — Senfpunk Website
   Dunkles, modernes Layout mit Senfgelb-Akzent. Mobile-first.
   =================================================================== */

:root {
  --senf: #e3a81e;        /* Senfgelb / Hauptakzent */
  --senf-bright: #f5c542;
  --senf-deep: #b9821a;
  --bg: #0c0c0d;          /* fast-schwarz */
  --bg-2: #141416;        /* Sektion alt */
  --surface: #1c1c20;
  --line: rgba(255,255,255,.10);
  --text: #f4f1ea;
  --muted: #a6a29a;
  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

a { color: var(--senf); text-decoration: none; }
a:hover { color: var(--senf-bright); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3 { line-height: 1.05; margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em;
  font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-transform: uppercase;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--senf); color: #1a1206; }
.btn--primary:hover { background: var(--senf-bright); color: #1a1206; }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--senf); color: var(--senf); }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(12,12,13,.72);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(18px, 4vw, 40px);
  gap: 16px;
}
.nav__brand img { height: 34px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__links, .nav__socials { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav__links { gap: 26px; }
.nav__links a {
  color: var(--text); font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em;
  position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--senf);
  transition: width .2s ease;
}
.nav__links a:hover { color: var(--senf); }
.nav__links a:hover::after { width: 100%; }

.nav__socials { gap: 14px; }
.nav__socials a { color: var(--text); display: grid; place-items: center; }
.nav__socials svg { width: 22px; height: 22px; fill: currentColor; transition: fill .2s, transform .2s; }
.nav__socials a:hover svg { fill: var(--senf); transform: translateY(-2px); }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
  position: relative; z-index: 60; /* über dem geöffneten Menü, damit das "X" tappbar bleibt */
}
.nav__backdrop {
  position: fixed; inset: 0; z-index: 39;
  background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.nav__backdrop.is-visible { opacity: 1; visibility: visible; }
.nav__toggle span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  /* mehr Platz unten, damit der zentrierte Inhalt die fixierten Buttons nicht berührt */
  padding: 96px 20px clamp(104px, 15vh, 150px);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("img/opt/hero-1600.jpg"); /* Fallback */
  background-image: image-set(url("img/opt/hero-2560.webp") type("image/webp"), url("img/opt/hero-1600.jpg") type("image/jpeg"));
  background-image: -webkit-image-set(url("img/opt/hero-2560.webp") 1x);
  background-size: cover; background-position: center;
  transform: scale(1.06);
  filter: saturate(1.05);
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  /* Weicher Halo hinter dem zentrierten Logo (Lesbarkeit),
     oben/Mitte hell (Band sichtbar), unten dunkel (Buttons lesbar). */
  background:
    radial-gradient(58% 42% at 50% 50%, rgba(8,8,10,.60) 0%, rgba(8,8,10,0) 75%),
    linear-gradient(180deg,
      rgba(8,8,10,.46) 0%,     /* oben leicht dunkel für die Navi-Lesbarkeit */
      rgba(8,8,10,.12) 20%,
      rgba(8,8,10,.12) 52%,    /* Band bleibt gut sichtbar */
      rgba(8,8,10,.55) 76%,
      rgba(8,8,10,.90) 100%);  /* unten dunkel: Buttons lesbar */
}
.hero__content { position: relative; z-index: 2; max-width: 900px; }
.hero__logo img {
  width: min(82vw, 620px); height: auto; margin: 0 auto;
  filter: drop-shadow(0 6px 30px rgba(0,0,0,.7)); /* Logo ist bereits senffarben – kein Einfärben */
}
.hero__tagline {
  font-family: "Anton", Impact, sans-serif; font-weight: 400;
  text-transform: uppercase; letter-spacing: .06em;
  font-size: clamp(1.4rem, 5vw, 2.6rem);
  color: var(--senf); margin: .4em 0 0;
}
.hero__cta {
  position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 60px); z-index: 2;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; padding: 0 20px;
}

/* ---------- Sektionen allgemein ---------- */
.section { padding: clamp(60px, 9vw, 120px) 0; }
.section--music { background: var(--bg-2); }
.section--band { background: var(--bg); }
.section--gigs { background: var(--bg-2); }
.section--gallery { background: var(--bg); }
.section--streaming { background: var(--bg-2); }
.section--contact { background: var(--bg); }

.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(34px, 6vw, 60px); }
.section__kicker {
  display: inline-block; color: var(--senf); font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; font-size: .8rem; margin-bottom: .8rem;
}
.section__title {
  font-family: "Anton", Impact, sans-serif; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(2rem, 6vw, 3.4rem);
}
.section__lead { color: var(--muted); margin-top: .9rem; }

/* ---------- Video ---------- */
.video { max-width: 960px; margin: 0 auto; }
.video__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line); background: #000;
}
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: #000; width: 100%; }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .25s, transform .4s; }
.video__play:hover img { opacity: 1; transform: scale(1.03); }
.video__playbtn {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px;
  display: grid; place-items: center; font-size: 30px; color: #1a1206;
  background: var(--senf); border-radius: 50%; box-shadow: 0 8px 30px rgba(0,0,0,.5);
  transition: transform .2s, background .2s; padding-left: 6px;
}
.video__play:hover .video__playbtn { transform: scale(1.08); background: var(--senf-bright); }
.video__caption { text-align: center; color: var(--muted); margin-top: 1rem; }

/* ---------- Band ---------- */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
.band__media img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); width: 100%; }
.band__text p { color: #d9d4ca; }
.band__text .section__title { margin: .2em 0 .6em; }
.band__tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.4rem 0 1.8rem; }
.band__tags span {
  font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  padding: .4em .9em; border: 1px solid var(--senf); color: var(--senf); border-radius: 999px;
}

/* ---------- Galerie ---------- */
.gallery { columns: 3; column-gap: 14px; }
.gallery__item {
  break-inside: avoid; margin-bottom: 14px; border-radius: 10px; overflow: hidden; cursor: pointer;
  position: relative; border: 1px solid var(--line); background: #000;
  padding: 0; appearance: none; -webkit-appearance: none; font: inherit; color: inherit; display: block; width: 100%;
}
.gallery__item img { width: 100%; height: auto; transition: transform .4s ease, filter .3s; filter: grayscale(.15); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(227,168,30,.0));
  transition: background .3s;
}
.gallery__item:hover img { transform: scale(1.05); filter: grayscale(0); }
.gallery__item:hover { border-color: var(--senf); }
.gallery-dots { display: none; }

/* ---------- Streaming / Links ---------- */
.links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
.link-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  color: var(--text); transition: transform .2s, border-color .2s, background .2s;
  position: relative; overflow: hidden;
}
.link-card svg { width: 40px; height: 40px; fill: var(--text); margin-bottom: 8px; transition: fill .2s; }
.link-card__label { font-family: "Anton", sans-serif; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em; }
.link-card__sub { color: var(--muted); font-size: .9rem; }
.link-card::before {
  content: "↗"; position: absolute; top: 18px; right: 20px; color: var(--muted); font-size: 1.2rem; transition: color .2s, transform .2s;
}
.link-card:hover { transform: translateY(-4px); border-color: var(--senf); color: var(--text); }
.link-card:hover::before { color: var(--senf); transform: translate(3px,-3px); }
.link-card--spotify:hover svg { fill: #1db954; }
.link-card--youtube:hover svg { fill: #ff0000; }
.link-card--instagram:hover svg { fill: #e1306c; }
.link-card--soundcloud:hover svg { fill: #ff5500; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 64px); align-items: start; }
.contact__intro p { color: #d9d4ca; }
.contact__intro .section__title { margin: .2em 0 .6em; }
.contact__mail {
  display: inline-flex; align-items: center; gap: .5em; margin-top: 1.2rem; font-weight: 700;
  font-size: 1.1rem; padding: .7em 1.3em; border: 2px solid var(--senf); border-radius: 999px; color: var(--senf);
  transition: background .2s, color .2s;
}
.contact__mail:hover { background: var(--senf); color: #1a1206; }

.contact__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 7px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid var(--line);
  background: #0f0f11; color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--senf); box-shadow: 0 0 0 3px rgba(227,168,30,.18); }
.field textarea { resize: vertical; }
.contact__note { margin: 14px 0 0; font-size: .92rem; color: var(--senf); min-height: 1.2em; }

/* ---------- Live / Konzerte ---------- */
.gigs-wrap { max-width: 940px; margin: 0 auto; }
.gigs { width: 100%; border-collapse: collapse; text-align: left; }
.gigs thead th {
  font-family: "Anton", sans-serif; text-transform: uppercase; letter-spacing: .04em;
  font-size: .95rem; color: var(--senf); font-weight: 400;
  padding: 0 16px 14px; border-bottom: 2px solid var(--senf);
}
.gigs tbody tr { border-bottom: 1px solid var(--line); transition: background .2s; }
.gigs tbody tr:last-child { border-bottom: 0; }
.gigs tbody tr:hover { background: rgba(255,255,255,.04); }
.gigs td { padding: 16px; vertical-align: top; }
.gigs__date { white-space: nowrap; font-weight: 700; }
.gigs__event strong { display: block; font-weight: 700; }
.gigs__sub { display: block; color: var(--muted); font-size: .88rem; margin-top: 3px; }
.gigs a { color: var(--senf); }
.gigs a:hover { color: var(--senf-bright); text-decoration: underline; }
.gigs__venue { font-weight: 600; }
.gigs__loc { color: var(--muted); }
.gigs__access { white-space: nowrap; }
.gigs__empty { text-align: center; color: var(--muted); padding: 36px 10px; }
.gigs__year-title {
  font-family: "Anton", sans-serif; text-transform: uppercase; color: var(--text);
  font-size: clamp(1.7rem, 5vw, 2.6rem); margin: 46px 0 14px; padding-left: 2px;
}
.gigs__year-title:first-child { margin-top: 0; }
.gigs-more { text-align: center; margin-top: 30px; }

@media (max-width: 680px) {
  .gigs, .gigs tbody, .gigs tr, .gigs td { display: block; width: 100%; }
  .gigs thead { display: none; }
  .gigs tbody tr {
    border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px;
    padding: 8px 4px; background: var(--surface);
  }
  .gigs td { padding: 7px 16px; border: 0; }
  .gigs td::before {
    content: attr(data-label); display: block; margin-bottom: 2px;
    font-weight: 700; color: var(--senf); text-transform: uppercase;
    font-size: .7rem; letter-spacing: .06em;
  }
}

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal h3 {
  font-family: "Anton", sans-serif; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(1.15rem, 3vw, 1.4rem); margin: 36px 0 10px; color: var(--text);
}
.legal h3:first-child { margin-top: 0; }
.legal p { color: #d9d4ca; margin: 0 0 14px; }
.legal a { color: var(--senf); }
.legal a:hover { color: var(--senf-bright); text-decoration: underline; }
.legal strong { color: var(--text); }
.legal .legal__note {
  color: var(--muted); font-size: .9rem; border-left: 3px solid var(--senf);
  padding: 10px 16px; margin: 0 0 26px; background: rgba(255,255,255,.03);
}
.legal .legal__ph { color: var(--senf); font-style: italic; }

/* ---------- Presse / Downloads ---------- */
.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 820px; margin: 0 auto; }
.dl-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: transform .2s, border-color .2s;
}
.dl-card:hover { transform: translateY(-3px); border-color: var(--senf); }
.dl-card__icon { flex: 0 0 auto; width: 44px; height: 44px; color: var(--senf); }
.dl-card__icon svg { width: 100%; height: 100%; fill: currentColor; }
.dl-card__body { flex: 1; min-width: 0; }
.dl-card__title {
  font-family: "Anton", sans-serif; text-transform: uppercase; letter-spacing: .02em;
  font-size: 1.25rem; margin: 0 0 4px; color: var(--text);
}
.dl-card__desc { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.dl-card .btn { padding: .6em 1.2em; font-size: .85rem; }
.dl-card__meta {
  display: inline-block; margin-left: 12px; color: var(--muted);
  font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; vertical-align: middle;
}
@media (max-width: 620px) { .downloads { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #08080a; border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.footer__logo img { height: 84px; width: auto; }
.footer__socials { list-style: none; display: flex; gap: 22px; padding: 0; margin: 0; }
.footer__socials a { color: var(--text); }
.footer__socials svg { width: 26px; height: 26px; fill: currentColor; transition: fill .2s, transform .2s; }
.footer__socials a:hover svg { fill: var(--senf); transform: translateY(-3px); }
.footer__copy { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none; place-items: center;
  background: rgba(5,5,6,.94); backdrop-filter: blur(6px); padding: 40px;
}
.lightbox.is-open { display: grid; }
.lightbox__img { max-width: min(92vw, 1200px); max-height: 86vh; border-radius: 8px; box-shadow: var(--shadow); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 1px solid var(--line);
  cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: background .2s, color .2s;
}
.lightbox__close { top: 22px; right: 22px; width: 48px; height: 48px; font-size: 22px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 34px; }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--senf); color: #1a1206; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 980px) {
  .gallery { columns: 2; }
}

@media (max-width: 820px) {
  .band, .contact { grid-template-columns: 1fr; }
  .band__media { order: -1; }
  .links { grid-template-columns: repeat(2, 1fr); max-width: 520px; }

  /* Mobiles Menü */
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; top: 0; right: 0; height: 100dvh; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 30px; padding: 90px 32px 40px;
    background: #111113; border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .3s ease; z-index: 40;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav__links a { font-size: 1.3rem; }
  .nav__socials { gap: 22px; }
  .nav__socials svg { width: 28px; height: 28px; }
}

@media (max-width: 560px) {
  .gallery { columns: 1; }
  .links { grid-template-columns: 1fr; max-width: 360px; }
  .hero { min-height: 92svh; }
  .hero__bg {
    background-image: url("img/opt/hero-mobile.jpg"); /* Fallback */
    background-image: image-set(url("img/opt/hero-mobile.webp") type("image/webp"), url("img/opt/hero-mobile.jpg") type("image/jpeg"));
    background-image: -webkit-image-set(url("img/opt/hero-mobile.webp") 1x);
  }
  .hero__cta .btn { width: 100%; }
  .lightbox { padding: 16px; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 26px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* ---------- Galerie als Karussell (Mobil) ---------- */
@media (max-width: 700px) {
  .gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--senf) rgba(255,255,255,.12);
  }
  .gallery::-webkit-scrollbar { height: 6px; }
  .gallery::-webkit-scrollbar-track { background: rgba(255,255,255,.10); border-radius: 3px; }
  .gallery::-webkit-scrollbar-thumb { background: var(--senf); border-radius: 3px; }

  .gallery__item {
    flex: 0 0 auto;
    width: auto;
    height: min(66vh, 440px);
    margin-bottom: 0;
    scroll-snap-align: center;
  }
  .gallery__item img {
    height: 100%;
    width: auto;
    max-width: none;              /* Querformate nicht beschneiden */
    filter: grayscale(0);
  }

  /* Punkt-Indikatoren: intuitives, textloses Karussell-Signal */
  .gallery-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
  }
  .gallery-dots__dot {
    width: 8px; height: 8px; padding: 0;
    border: 0; border-radius: 50%;
    background: rgba(255,255,255,.28);
    cursor: pointer; appearance: none; -webkit-appearance: none;
    transition: background .2s, transform .2s, width .2s;
  }
  .gallery-dots__dot.is-active {
    background: var(--senf);
    width: 22px; border-radius: 5px;   /* aktiver Punkt wird zum Balken */
  }
}

/* Video-Button auf mobilen Geräten ausblenden (Hoch- und Querformat) */
@media (max-width: 700px), (orientation: landscape) and (max-height: 520px) {
  .hero__btn-video { display: none; }
}

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