/* =========================================================
   RIFF — Rock-Coverband | One-Page Website
   ========================================================= */

/* Bewusst keine externen Web-Fonts (z.B. Google Fonts) — vermeidet
   DSGVO-relevante Datenübertragung an Drittanbieter beim Seitenaufruf.
   Der "Rock-Poster"-Charakter kommt stattdessen über Großbuchstaben,
   Letter-Spacing und hohe Schriftstärke zustande. */

:root {
  --black: #09090b;
  --charcoal: #17171a;
  --panel: rgba(12, 12, 14, 0.66);
  --panel-alt: rgba(20, 12, 13, 0.55);
  --red: #e63946;
  --red-deep: #7d1420;
  --red-glow: rgba(230, 57, 70, 0.45);
  --amber: #ffb703;
  --steel: #e7e8ea;
  --muted: rgba(231, 232, 234, 0.62);
  --muted-dim: rgba(231, 232, 234, 0.38);
  --line: rgba(231, 232, 234, 0.12);
  --font-display: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container: 1080px;
  --radius: 14px;
  --nav-height: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

html, body { margin: 0; padding: 0; min-height: 100%; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(230, 57, 70, 0.14), transparent 60%),
    url('BG.jpg') no-repeat center center fixed;
  background-size: cover;
  background-color: var(--black);
  color: var(--steel);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.skip-link {
  position: absolute;
  left: -999px; top: auto;
  background: var(--red);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.skip-link:focus { left: 0; top: 0; }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), transparent);
  transition: background 0.35s ease, height 0.35s ease, box-shadow 0.35s ease;
}
.site-nav.scrolled {
  height: 64px;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-brand .nav-logo {
  height: 38px; width: auto; display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: height 0.35s ease;
}
.site-nav.scrolled .nav-brand .nav-logo { height: 30px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.webnavigation ul#mainNav1 { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; gap: 28px; }
.webnavigation ul#mainNav1 li a {
  position: relative;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--muted);
  font-size: 0.82rem;
  transition: color 0.25s;
  padding-bottom: 4px;
}
.webnavigation ul#mainNav1 li a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.webnavigation ul#mainNav1 li a:hover,
.webnavigation ul#mainNav1 li a.current { color: #fff; }
.webnavigation ul#mainNav1 li a:hover::after,
.webnavigation ul#mainNav1 li a.current::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  scroll-snap-align: start;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9,9,11,0.55) 0%, rgba(9,9,11,0.35) 40%, rgba(9,9,11,0.95) 100%),
    linear-gradient(90deg, rgba(9,9,11,0.75) 0%, transparent 45%);
  z-index: 0;
}
.hero-overlay::after {
  content: "";
  position: absolute;
  top: -60%; left: -30%;
  width: 55%; height: 220%;
  background: linear-gradient(100deg, transparent 25%, rgba(255,255,255,0.12) 48%, rgba(230,57,70,0.1) 55%, transparent 70%);
  animation: sweep 6s ease-in-out infinite;
}
@keyframes sweep {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(300%); }
}
.hero-content { position: relative; z-index: 1; text-align: center; }
.hero .eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1rem;
  color: var(--red);
  font-weight: 600;
}

.hero-logo-title { position: relative; margin: 0 0 14px; line-height: 0; display: flex; justify-content: center; align-items: center; }
.hero-logo-halo {
  position: absolute;
  top: 50%; left: 50%;
  width: min(640px, 92vw); height: min(640px, 92vw);
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(from 0deg,
    transparent 0deg, rgba(230,57,70,0.5) 18deg, transparent 50deg,
    transparent 170deg, rgba(255,255,255,0.22) 190deg, transparent 225deg,
    transparent 340deg, rgba(230,57,70,0.35) 355deg, transparent 360deg);
  filter: blur(38px);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  animation: haloSpin 16s linear infinite;
}
@keyframes haloSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.hero-logo-img {
  display: block; margin: 0 auto;
  width: min(460px, 62vw); height: auto;
  filter: drop-shadow(0 10px 40px rgba(230, 57, 70, 0.4)) drop-shadow(0 4px 60px rgba(0,0,0,0.5));
  animation: heroLogoZoom 1.9s cubic-bezier(0.16, 1, 0.3, 1) both,
             heroLogoGlow 4.5s ease-in-out 1.9s infinite;
}
@keyframes heroLogoZoom {
  0%   { opacity: 0; transform: scale(2.6) rotate(-10deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes heroLogoGlow {
  0%, 100% { filter: drop-shadow(0 10px 40px rgba(230, 57, 70, 0.45)) drop-shadow(0 4px 60px rgba(0,0,0,0.5)); }
  50%      { filter: drop-shadow(0 10px 70px rgba(230, 57, 70, 0.85)) drop-shadow(0 4px 60px rgba(0,0,0,0.5)); }
}

.hero-tagline { margin: 16px 0 0; font-size: clamp(0.95rem, 2vw, 1.15rem); color: var(--muted); letter-spacing: 1px; }
.hero-cta-row { display: flex; align-items: center; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-cta-row .btn-cta, .hero-cta-row .btn-outline { margin-top: 0; }

.btn-cta {
  position: relative; overflow: hidden;
  background: var(--red);
  color: #fff;
  padding: 15px 34px;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  display: inline-block;
  box-shadow: 0 10px 30px -8px var(--red-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: none;
  cursor: pointer;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -6px var(--red-glow); background: #ff4655; }
.btn-outline {
  position: relative; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.55);
  color: #fff;
  padding: 13px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-cta::after, .btn-outline::after {
  content: "";
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.btn-cta:hover::after, .btn-outline:hover::after { left: 130%; }

.btn-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 1.4rem;
  z-index: 1;
  animation: bob 2.2s ease-in-out infinite;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.scroll-cue span {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50% { transform: translate(-50%, 10px); opacity: 1; }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 100px 0 90px;
  scroll-margin-top: var(--nav-height);
  scroll-snap-align: start;
}
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(125, 20, 32, 0.08) 40%, transparent);
}
.eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1rem;
  color: var(--red);
  font-weight: 600;
  text-align: center;
}
.section-title {
  margin: 0 0 20px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: #fff;
}
.section-sub { text-align: center; color: var(--muted); margin: -8px 0 40px; }

/* ---------- Stage divider ---------- */
.stage-divider { display: flex; align-items: center; gap: 14px; margin: 46px 0 26px; }
.stage-divider::before, .stage-divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.stage-divider .mark { width: 10px; height: 10px; background: var(--red); flex-shrink: 0; animation: markPulse 2.6s ease-in-out infinite; }
@keyframes markPulse {
  0%, 100% { transform: rotate(45deg) scale(1); box-shadow: 0 0 14px var(--red-glow); }
  50%      { transform: rotate(45deg) scale(1.35); box-shadow: 0 0 26px var(--red-glow); }
}

/* ---------- Panels ---------- */
.panel {
  background: var(--panel);
  backdrop-filter: blur(6px);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 34px;
}
.panel h2 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 1.3rem; margin: 0 0 14px; color: #fff; }
.panel p, .panel li { line-height: 1.75; color: var(--muted); font-size: 16px; margin-bottom: 15px; }
.panel strong { color: var(--steel); }
.panel a.inline-link { color: var(--red); text-decoration: underline; font-weight: 600; }

/* ---------- About / Über uns ---------- */
.about-text { margin: 0 0 40px; }
.about-text p { line-height: 1.8; color: var(--muted); font-size: 1.02rem; margin-bottom: 16px; }
.about-text strong { color: #fff; }
.about-photo { text-align: center; margin-bottom: 50px; overflow: hidden; border-radius: var(--radius); }
.about-photo img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.65);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-photo img:hover {
  transform: scale(1.03);
  box-shadow: 0 24px 60px -10px rgba(230, 57, 70, 0.45);
}

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat { padding: 24px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.02); }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  color: var(--red);
  text-shadow: 0 0 30px var(--red-glow);
  line-height: 1;
}
.stat-label { display: block; margin-top: 8px; font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }

/* ---------- Musiker Grid ---------- */
.musiker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; margin-bottom: 10px; }
.musiker-card { background: var(--panel); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; list-style: none; }
.musiker-card:hover, .musiker-card[open] { transform: translateY(-6px); border-color: rgba(230, 57, 70, 0.5); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.7); }
.musiker-card .img-wrap { overflow: hidden; height: 280px; position: relative; }
.musiker-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 0.5s ease, filter 0.5s ease; filter: saturate(0.92); }
.musiker-card:hover img { transform: scale(1.06); filter: saturate(1.05); }
.musiker-card summary { cursor: pointer; list-style: none; }
.musiker-card summary::-webkit-details-marker { display: none; }
.musiker-info { padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.musiker-card h3 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.4px; font-size: 1.1rem; color: #fff; }
.musiker-card .role { display: block; margin-top: 3px; font-size: 0.76rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); font-weight: 600; }
.musiker-card .toggle-icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 1.1rem; font-family: var(--font-display);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.musiker-card[open] .toggle-icon { transform: rotate(45deg); background: var(--red); color: #fff; border-color: var(--red); }
.musiker-card .bio { padding: 0 22px 22px; color: var(--muted); line-height: 1.65; font-size: 14.5px; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-bottom: 10px; }
.gallery-item { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; aspect-ratio: 4 / 3; background: #000; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.4s ease; filter: brightness(0.92); }
.gallery-item:hover img { transform: scale(1.08); filter: brightness(1.05); }
.gallery-item::after { content: "\002B"; position: absolute; top: 10px; right: 12px; color: #fff; font-size: 1.4rem; opacity: 0; transition: opacity 0.3s ease; text-shadow: 0 0 8px rgba(0,0,0,0.8); }
.gallery-item:hover::after { opacity: 0.85; }

.lightbox { position: fixed; inset: 0; background: rgba(4, 4, 5, 0.94); display: none; align-items: center; justify-content: center; z-index: 200; padding: 30px; }
.lightbox.active { display: flex; }
.lightbox img { max-width: min(90vw, 1000px); max-height: 85vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.7); }
.lightbox-close { position: absolute; top: 22px; right: 26px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; font-family: var(--font-display); }
.lightbox-close:hover { color: var(--red); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); color: #fff;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
  z-index: 1;
}
.lightbox-nav:hover { background: var(--red); border-color: var(--red); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ---------- Event highlight ---------- */
.event-highlight {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--panel-alt);
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 34px;
  box-shadow: 0 0 60px -20px rgba(230,57,70,0.25);
}
.event-date-badge {
  background: var(--red);
  border-radius: 12px;
  padding: 16px 8px;
  text-align: center;
  color: #fff;
  font-family: var(--font-display);
}
.event-date-badge .day { display: block; font-size: 2.2rem; font-weight: 700; line-height: 1; }
.event-date-badge .month { display: block; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
.event-details h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; font-size: 1.3rem; }
.event-details p { margin: 0 0 6px; color: var(--muted); }
.event-poster-container { text-align: center; margin: 35px auto 20px; }
.event-poster-container img { border-radius: 10px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7); max-width: 100%; width: 380px; margin: 0 auto; transition: transform 0.3s ease; }
.event-poster-container img:hover { transform: scale(1.02); }

/* ---------- Bühnenplan ---------- */
.stage-plan-wrap { display: flex; justify-content: center; margin: 20px 0 36px; }
.stage-plan-wrap svg { width: 100%; max-width: 580px; height: auto; }
.lineup-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.lineup-list li { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: 15px; color: var(--muted); }
.lineup-list li strong { color: #fff; display: block; font-family: var(--font-display); letter-spacing: 0.5px; margin-bottom: 2px; }

/* ---------- Footer ---------- */
#contentfooter { text-align: center; padding: 40px 20px 50px; color: var(--muted-dim); font-size: 0.82rem; border-top: 1px solid var(--line); }
#contentfooter a { color: var(--muted-dim); text-decoration: none; }
#contentfooter a:hover { color: var(--red); }
#contentfooter .foot-logo { height: 46px; width: auto; margin: 0 auto 14px; opacity: 0.85; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4)); transition: opacity 0.25s ease; }
#contentfooter .foot-logo:hover { opacity: 1; }

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

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  html { scroll-snap-type: none; }
  .nav-toggle { display: flex; }
  .webnavigation ul#mainNav1 {
    display: none; flex-direction: column; align-items: center;
    background: rgba(9, 9, 11, 0.97); padding: 18px !important;
    position: absolute; left: 0; right: 0; top: 100%;
    border-bottom: 1px solid var(--line); gap: 18px !important;
  }
  .webnavigation ul#mainNav1.active { display: flex; }
  .panel { padding: 26px; }
  .musiker-card .img-wrap { height: 240px; }
  .section { padding: 70px 0 60px; }
  .stats-row { grid-template-columns: 1fr; gap: 14px; }
  .event-highlight { grid-template-columns: 1fr; text-align: center; }
  .event-date-badge { justify-self: center; width: 100px; }
}
@media (max-width: 480px) {
  .hero-tagline { padding: 0 10px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .hero-overlay::after { animation: none; }
  .hero-logo-img { animation: none; }
  .hero-logo-halo { animation: none; }
  .stage-divider .mark { animation: none; }
  .scroll-cue { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .musiker-card, .gallery-item img { transition: none; }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
