/* Marc Keen — DJ Website
   Dark / modern / club aesthetic. Mobile-first. */

:root{
  --bg: #0a0a0d;
  --bg-alt: #121216;
  --fg: #f5f5f7;
  --fg-dim: #a3a3ad;
  --accent: #00b9f2;
  --accent-2: #7b2ff7;
  --border: #232329;
  --container: 1100px;
  --radius: 14px;
  --ff-display: 'Bebas Neue', sans-serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #000;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

/* ---------- Header ---------- */

.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,13,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-logo{ height: 22px; width: auto; }

.nav-toggle{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span{
  display: block;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.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); }

.primary-nav{
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 8px 24px 20px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.primary-nav.is-open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.primary-nav a{
  padding: 12px 0;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--fg-dim);
}
.primary-nav a:hover{ color: var(--accent); }
.primary-nav a:last-child{ border-bottom: none; }

@media (min-width: 800px){
  .nav-toggle{ display: none; }
  .primary-nav{
    position: static;
    flex-direction: row;
    background: none;
    border: none;
    padding: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    gap: 32px;
  }
  .primary-nav a{ border: none; padding: 0; color: var(--fg-dim); }
}

/* ---------- Hero ---------- */

.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero-glow{
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 25%, rgba(0,177,235,.28), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(123,47,247,.24), transparent 45%);
  filter: blur(40px);
  z-index: 0;
}

.hero-inner{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo{
  width: min(90vw, 640px);
  margin-bottom: 8px;
}

.hero-tagline{
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  letter-spacing: .08em;
  color: var(--accent);
  margin: 0;
  text-transform: uppercase;
}

.hero-sub{
  color: var(--fg-dim);
  margin: 6px 0 32px;
  font-size: .95rem;
}

.hero-actions{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.scroll-hint{
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--fg-dim);
  animation: bounce 2.2s infinite;
  z-index: 1;
}
@keyframes bounce{
  0%, 100%{ transform: translate(-50%, 0); }
  50%{ transform: translate(-50%, 8px); }
}

/* ---------- Buttons ---------- */

.btn{
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-2px); }

.btn-primary{
  background: var(--accent);
  color: #04121a;
}
.btn-primary:hover{ background: #33c2f2; }

.btn-ghost{
  border-color: var(--border);
  color: var(--fg);
}
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }

.btn-large{ font-size: 1.05rem; padding: 16px 32px; }

/* ---------- Sections ---------- */

.section{ padding: 96px 0; }
.section-alt{ background: var(--bg-alt); }

.section-title{
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: .03em;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.section-title span{
  background: linear-gradient(90deg, var(--fg), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lead{
  color: var(--fg-dim);
  margin: 0 0 40px;
  max-width: 60ch;
}

.bio-content p{
  max-width: 68ch;
  color: var(--fg-dim);
  font-size: 1.05rem;
}
.bio-content strong{ color: var(--fg); }

/* ---------- Player ---------- */

.player-wrap{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.player-wrap iframe{ display: block; }

/* ---------- Gigs ---------- */

.gigs-list{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gig-card{
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex-wrap: wrap;
}
.section-alt .gig-card{ background: var(--bg); }

.gig-flyer{
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: none;
  cursor: zoom-in;
}
.gig-flyer img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gig-date{
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: var(--accent);
  min-width: 90px;
  line-height: 1.1;
  text-transform: uppercase;
}
.gig-date small{
  display: block;
  font-family: var(--ff-body);
  font-size: .7rem;
  color: var(--fg-dim);
  letter-spacing: .08em;
  font-weight: 600;
}

.gig-info{ flex: 1; min-width: 200px; }
.gig-venue{ font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gig-city{ color: var(--fg-dim); font-size: .92rem; }
.gig-note{ color: var(--fg-dim); font-size: .88rem; margin-top: 4px; }

.gig-tickets{
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: .88rem;
  white-space: nowrap;
}
.gig-tickets:hover{ border-color: var(--accent); color: var(--accent); }

/* ---------- Bisherige Gigs (Historie) ---------- */

.gigs-past-wrap{ margin-top: 56px; }

.gigs-subtitle{
  font-family: var(--ff-display);
  font-size: 1.3rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin: 0 0 18px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.gig-card--past{
  opacity: .62;
}
.gig-card--past:hover{ opacity: .9; }
.gig-card--past .gig-date{ color: var(--fg-dim); }

.gig-badge{
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--fg-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 10px;
}

.gigs-past-toggle{
  margin-top: 18px;
  display: block;
  width: fit-content;
}

.gigs-loading, .gigs-empty, .gigs-error{
  color: var(--fg-dim);
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
}

/* ---------- Kontakt ---------- */

.kontakt-inner{ text-align: center; }
.kontakt-inner .section-lead{ margin-left: auto; margin-right: auto; }

.social-row{
  display: flex;
  justify-content: center;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}
.social-row a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--fg-dim);
  transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
.social-row a:hover{
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* ---------- Footer ---------- */

.site-footer{
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-logo{ height: 16px; opacity: .6; }
.footer-inner p{ color: var(--fg-dim); font-size: .85rem; margin: 0; }

.footer-legal{
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}
.footer-legal a{
  color: var(--fg-dim);
  font-size: .78rem;
  opacity: .75;
}
.footer-legal a:hover{ color: var(--accent); opacity: 1; }

/* ---------- Rechtliche Seiten (Impressum / Datenschutz) ---------- */

.legal-page{
  padding: 140px 0 80px;
  min-height: 60vh;
}
.legal-page .section-title{ font-size: clamp(2rem, 5vw, 2.8rem); }

.legal-content{ max-width: 72ch; }
.legal-content h2{
  font-family: var(--ff-body);
  font-size: 1.15rem;
  color: var(--fg);
  margin: 40px 0 12px;
}
.legal-content h2:first-child{ margin-top: 0; }
.legal-content p{
  color: var(--fg-dim);
  margin: 0 0 14px;
}
.legal-content ul{
  color: var(--fg-dim);
  padding-left: 20px;
  margin: 0 0 14px;
}
.legal-content li{ margin-bottom: 6px; }
.legal-content a{ color: var(--accent); text-decoration: underline; }
.legal-content strong{ color: var(--fg); }

.back-to-site{
  display: inline-block;
  margin-bottom: 32px;
  color: var(--fg-dim);
  font-size: .9rem;
}
.back-to-site:hover{ color: var(--accent); }

@media (min-width: 640px){
  .gig-card{ flex-wrap: nowrap; }
}

/* ---------- Flyer-Lightbox ---------- */

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5,5,7,.92);
  padding: 32px;
  cursor: zoom-out;
}
.lightbox.is-open{ display: flex; }
.lightbox img{
  max-width: min(90vw, 700px);
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close{
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: 1px solid var(--border);
  color: var(--fg);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover{ border-color: var(--accent); color: var(--accent); }
