/* ============================================================
   SINGEN IST LEBEN v3.0 — shared.css
   Single source of truth: tokens, reset, all shared components.
   Extracted verbatim from the v3.0 reference index.html, plus:
   - mobile burger + #mobile-menu
   - .page-hero for inner pages (kuenstler/buchung/legal)
   ============================================================ */

:root {
  --void:       #07070F;
  --deep:       #0D0D1C;
  --stage:      #12082A;
  --gold:       #C9A84C;
  --gold-glow:  #E8C96A;
  --gold-dim:   rgba(201,168,76,0.15);
  --silver:     #8A8A9A;
  --fog:        rgba(240,238,248,0.06);
  --white:      #F0EEF8;
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;
  --font-italic:  'Playfair Display', serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1400px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--void);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── CURSOR (native, removed custom cursor) ── */
#cursor-dot, #cursor-ring { display: none !important; }

/* ── PAGE CURTAIN ── */
#page-curtain {
  position: fixed; inset: 0; z-index: 8888;
  background: var(--stage);
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 56px;
  transition: background 0.4s, padding 0.4s;
}
nav.scrolled {
  background: rgba(7,7,15,0.92);
  backdrop-filter: blur(16px);
  padding: 12px 56px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white);
  z-index: 2;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 24px; z-index: 2; }
.nav-lang { display: flex; gap: 4px; font-size: 0.72rem; letter-spacing: 0.12em; }
.nav-lang button {
  background: none; border: none; cursor: pointer;
  color: var(--silver); padding: 4px 8px;
  font-family: var(--font-body);
  font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
  border-radius: 2px;
}
.nav-lang button.active { color: var(--gold); }
.nav-lang button:hover { color: var(--white); }

/* ── BURGER (mobile) ── */
.nav-burger {
  display: none;
  width: 30px; height: 18px;
  position: relative;
  background: none; border: none; cursor: pointer;
  z-index: 2;
}
.nav-burger span {
  position: absolute; left: 0;
  width: 100%; height: 1.5px;
  background: var(--white);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s;
}
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-burger span:nth-child(3) { bottom: 0; }
body.menu-open .nav-burger span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ── MOBILE MENU ── */
#mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: var(--void);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.45s var(--ease-out-expo), transform 0.45s var(--ease-out-expo), visibility 0.45s;
}
body.menu-open #mobile-menu { opacity: 1; visibility: visible; transform: translateY(0); }
#mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 300;
  color: var(--white); letter-spacing: 0.02em;
  padding: 10px 0; transition: color 0.3s;
}
#mobile-menu a:hover, #mobile-menu a.active { color: var(--gold); }
#mobile-menu .mobile-lang { display: flex; gap: 8px; margin-top: 40px; }
#mobile-menu .mobile-lang button {
  background: none; border: 1px solid rgba(201,168,76,0.25);
  color: var(--silver); padding: 8px 18px; cursor: pointer;
  font-family: var(--font-body); font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.3s, border-color 0.3s;
}
#mobile-menu .mobile-lang button.active { color: var(--gold); border-color: var(--gold); }

/* ── MARQUEE (kinetic editorial strip) ── */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  border-top: 1px solid rgba(201,168,76,0.10);
  border-bottom: 1px solid rgba(201,168,76,0.10);
  background: linear-gradient(180deg, rgba(7,7,15,0.6), rgba(18,8,42,0.4));
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marqueeScroll 48s linear infinite;
}
.marquee-item {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1;
}
.marquee-item.accent { color: var(--gold); }
.marquee-divider {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: rgba(201,168,76,0.4);
  align-self: center;
}
@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--void);
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold-glow);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out-expo);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary span { position: relative; z-index: 1; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 32px;
  background: transparent;
  color: var(--white);
  font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid rgba(240,238,248,0.2);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, transform 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }

/* ── SECTION HEADINGS ── */
section { position: relative; }
.section-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300; line-height: 1.08;
  color: var(--white); margin-bottom: 28px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-body {
  font-size: 0.9rem; line-height: 1.85;
  color: var(--silver); max-width: 480px;
}
.section-body + .section-body { margin-top: 16px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  position: relative;
  padding: 200px 56px 90px;
  overflow: hidden;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 90% at 15% 0%, rgba(201,168,76,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 80% 100% at 80% 20%, rgba(18,8,42,0.8) 0%, transparent 60%),
    linear-gradient(180deg, #0a0520 0%, var(--void) 100%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 0.98;
  letter-spacing: -0.01em; color: var(--white);
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero .page-hero-sub {
  margin-top: 24px; font-size: 0.92rem;
  color: var(--silver); line-height: 1.7;
  max-width: 540px;
}

/* ── WAVEFORM (hero only) ── */
.waveform {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px;
  display: flex; align-items: flex-end; justify-content: center;
  gap: 3px; z-index: 3;
  opacity: 0;
  animation: waveAppear 1.2s var(--ease-out-expo) 1.4s forwards;
}
.waveform-bar {
  width: 3px; border-radius: 2px 2px 0 0;
  background: var(--gold); opacity: 0.5;
  animation: wavePulse var(--d, 1.8s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
  transform-origin: bottom;
}
@keyframes wavePulse {
  0% { height: var(--min-h, 4px); opacity: 0.3; }
  100% { height: var(--max-h, 60px); opacity: 0.7; }
}
@keyframes waveAppear {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── ARTIST CARDS (shared between index preview + kuenstler grid) ── */
.artist-card { position: relative; cursor: pointer; overflow: hidden; }
.artist-photo { aspect-ratio: 3/4; overflow: hidden; position: relative; }
.artist-photo-bg {
  width: 100%; height: 100%;
  transition: transform 0.6s var(--ease-out-expo);
  background-size: cover; background-position: center;
}
.artist-card:hover .artist-photo-bg { transform: scale(1.06); }
.artist-photo-bg.a1 { background: radial-gradient(ellipse at 50% 30%, rgba(201,168,76,0.15) 0%, #1a0835 40%, #0a0520 100%); }
.artist-photo-bg.a2 { background: radial-gradient(ellipse at 50% 30%, rgba(120,100,200,0.2) 0%, #0f1030 40%, #07070F 100%); }
.artist-photo-bg.a3 { background: radial-gradient(ellipse at 50% 30%, rgba(201,168,76,0.1) 0%, #0d1828 40%, #07070F 100%); }
.artist-photo-bg.a4 { background: radial-gradient(ellipse at 50% 30%, rgba(180,140,200,0.15) 0%, #1a0830 40%, #07070F 100%); }
/* video poster — first frame is the cover; plays silently on hover.
   transparent background so gradient placeholder shows while file is missing/loading */
.card-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: transparent;
  pointer-events: none;
  z-index: 1;
}
.artist-overlay {
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(7,7,15,0.95) 0%, rgba(7,7,15,0.2) 55%, transparent 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end; align-items: center;
  padding: 28px 24px;
  opacity: 0; transition: opacity 0.4s;
}
.artist-card:hover .artist-overlay { opacity: 1; }
.visitka-play {
  position: absolute; top: 50%; left: 50%;
  z-index: 3;
  transform: translate(-50%,-50%) scale(0.8);
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(7,7,15,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; cursor: pointer;
  transition: opacity 0.35s, transform 0.35s var(--ease-out-expo);
}
.artist-card:hover .visitka-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.visitka-play svg { margin-left: 3px; }
.visitka-label {
  font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 4px;
}
.artist-info { padding: 20px 0 8px; }
.artist-name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 400;
  color: var(--white); letter-spacing: 0.02em;
}
.artist-voice {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-top: 4px;
}

/* ── CONTACT CARDS ── */
.booking-section { padding: 140px 56px; }
.booking-header { text-align: center; max-width: 720px; margin: 0 auto 72px; }
.booking-header .section-title { margin-bottom: 0; }
.contacts-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  max-width: 920px; margin: 0 auto;
}
.contact-card {
  background: var(--deep);
  border: 1px solid rgba(201,168,76,0.1);
  padding: 48px 40px;
  text-align: center;
}
.contact-avatar {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  margin: 0 auto 28px;
  background-color: #1a0835;
  background-image: radial-gradient(ellipse at 40% 30%, rgba(201,168,76,0.18) 0%, #1a0835 60%, #0a0520 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(201,168,76,0.25);
}
@media (max-width: 640px) {
  .contact-avatar { max-width: 180px; }
}
.contact-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; color: var(--white); margin-bottom: 8px; }
.contact-langs { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.contact-links { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.contact-email { font-size: 0.88rem; color: var(--silver); transition: color 0.3s; }
.contact-email:hover { color: var(--gold); }
.contact-socials { display: flex; gap: 14px; margin-top: 6px; }

/* ── FOOTER ── */
footer {
  background: var(--void);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 80px 56px 48px;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px;
  margin-bottom: 64px;
}
.footer-brand .nav-logo { font-size: 1.4rem; display: block; margin-bottom: 16px; }
.footer-tagline { font-size: 0.82rem; color: var(--silver); line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 16px; margin-top: 28px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--silver); font-size: 0.75rem;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer-col h4 { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.83rem; color: var(--silver); transition: color 0.3s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 0.72rem; color: rgba(138,138,154,0.5); letter-spacing: 0.04em; }
.footer-legal { display: flex; gap: 28px; }
.footer-legal a {
  font-size: 0.72rem; color: rgba(138,138,154,0.5);
  letter-spacing: 0.04em; transition: color 0.3s;
}
.footer-legal a:hover { color: var(--silver); }

/* ── REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── VISITKA LIGHTBOX + CUSTOM PLAYER ── */
.visitka-lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(7,7,15,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.visitka-lightbox.active { opacity: 1; pointer-events: auto; }
.visitka-lightbox video {
  max-width: 90vw; max-height: 80vh;
  border: 1px solid rgba(201,168,76,0.25);
  background: #000; display: block;
}
.visitka-player {
  position: relative;
  transform: scale(0.92);
  transition: transform 0.35s var(--ease-out-expo);
}
.visitka-lightbox.active .visitka-player { transform: scale(1); }
.player-controls {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 20px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  display: flex; align-items: center; gap: 14px;
  opacity: 0; transition: opacity 0.3s;
}
.visitka-player:hover .player-controls,
.visitka-player.paused .player-controls { opacity: 1; }
.player-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.4);
  background: rgba(7,7,15,0.4);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: border-color 0.25s, transform 0.2s;
}
.player-btn:hover { border-color: var(--gold); transform: scale(1.08); }
.player-progress-track {
  flex: 1; height: 3px;
  background: rgba(240,238,248,0.18);
  border-radius: 2px; cursor: pointer; position: relative;
}
.player-progress-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0%; background: var(--gold); border-radius: 2px;
}
.player-progress-track::after {
  content: ''; position: absolute; top: 50%; left: var(--progress, 0%);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold-glow);
  transform: translate(-50%,-50%);
  box-shadow: 0 0 8px rgba(232,201,106,0.6);
  opacity: 0; transition: opacity 0.2s;
}
.player-progress-track:hover::after { opacity: 1; }
.player-time { font-size: 0.68rem; letter-spacing: 0.04em; color: var(--silver); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.lightbox-close {
  position: absolute; top: 28px; right: 32px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
  background: transparent; color: var(--gold);
  font-size: 1.4rem; font-family: var(--font-body); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s, transform 0.3s;
}
.lightbox-close:hover { border-color: var(--gold); transform: rotate(90deg); }
.lightbox-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--silver);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 22px 32px; }
  nav.scrolled { padding: 16px 32px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-right .nav-lang { display: none; }
  .page-hero { padding: 150px 32px 70px; }
  .booking-section { padding: 80px 32px; }
  .contacts-grid { grid-template-columns: 1fr; }
  footer { padding: 60px 32px 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  nav { padding: 20px; }
  nav.scrolled { padding: 14px 20px; }
  .page-hero { padding: 130px 20px 60px; }
  .booking-section { padding: 64px 20px; }
  footer { padding: 56px 20px 36px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  #cursor-dot, #cursor-ring { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
  .btn-primary, .btn-ghost, .nav-lang button, .nav-burger,
  #mobile-menu .mobile-lang button, .player-btn, .lightbox-close { cursor: pointer; }
  #mobile-menu a { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .note { display: none !important; }
}
