:root{
  --gold:#d4a15f;
  --gold2:#a47b3a;
  --bg:#0b0b0e;
  --bg2:#111116;
  --header-offset: 88px;
}

/* ===============================
   Global: Seamless Background
   (ONE continuous background)
   =============================== */
html, body { height: 100%; }

body{
  margin:0;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:#0b0b0d; /* fallback */
  color: rgba(255,255,255,.90);
  position:relative;
  overflow-x:hidden;
}

/* Main background layer */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;

  background:
    radial-gradient(900px 600px at 20% 15%, rgba(212,161,95,.10), transparent 60%),
    radial-gradient(800px 600px at 80% 25%, rgba(34,197,94,.05), transparent 65%),
    radial-gradient(900px 700px at 50% 85%, rgba(212,161,95,.06), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.92), rgba(0,0,0,.96));
}

/* Luxury vignette/smoke */
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(1400px 900px at 50% 20%, rgba(0,0,0,.25), transparent 65%),
    radial-gradient(1400px 900px at 50% 85%, rgba(0,0,0,.55), transparent 70%);
}

/* Subtle noise (separate element class to avoid overriding ::before) */
.noise-layer{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.08;
  mix-blend-mode: overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/></filter><rect width='260' height='260' filter='url(%23n)' opacity='.55'/></svg>");
  background-size:260px 260px;
  z-index:-1;
}

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

/* ===============================
   Typo / Readability (final)
   =============================== */
h1{
  color: rgba(255,255,255,.98);
  text-shadow:
    0 2px 10px rgba(0,0,0,.78),
    0 14px 40px rgba(0,0,0,.55);
}

h2, h3{
  color: rgba(255,255,255,.95);
  text-shadow:
    0 1px 8px rgba(0,0,0,.72),
    0 12px 32px rgba(0,0,0,.50);
}

p{
  color: rgba(255,255,255,.80);
  line-height:1.65;
}

/* Tailwind helper classes overrides (safe readability lift) */
.text-white\/60{ color: rgba(255,255,255,.72) !important; }
.text-white\/65{ color: rgba(255,255,255,.74) !important; }
.text-white\/70{ color: rgba(255,255,255,.78) !important; }
.text-white\/75{ color: rgba(255,255,255,.84) !important; }
.text-white\/80{ color: rgba(255,255,255,.88) !important; }

/* ===============================
   Glass / Borders / Gold
   =============================== */
.glass{
  background: rgba(14,14,18,.72);
  border: 1px solid rgba(212,161,95,.24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass p,
.glass h1,
.glass h2,
.glass h3{
  text-shadow:
    0 1px 8px rgba(0,0,0,.78),
    0 12px 28px rgba(0,0,0,.45);
}

.gold-border{ border-color: rgba(212,161,95,.30) !important; }

.gold-text{
  color: var(--gold);
  text-shadow:
    0 1px 8px rgba(0,0,0,.75),
    0 0 24px rgba(212,161,95,.18);
}

/* Buttons */
.gold-btn{
  background: linear-gradient(135deg, rgba(212,161,95,.92), rgba(164,123,58,.92));
  color:#120f0a;
  box-shadow: 0 14px 40px rgba(212,161,95,.16);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.gold-btn:hover{
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 18px 55px rgba(212,161,95,.18);
}
.gold-btn:active{ transform: translateY(0); }

/* Hover glow */
.hover-glow{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.hover-glow:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 70px rgba(0,0,0,.62), 0 0 0 1px rgba(212,161,95,.18), 0 0 45px rgba(212,161,95,.10);
  border-color: rgba(212,161,95,.45) !important;
}

/* Dividers */
.section-divider{
  height:1px; width:100%;
  background: linear-gradient(90deg, transparent, rgba(212,161,95,.40), rgba(212,161,95,.14), rgba(212,161,95,.40), transparent);
  opacity:.9;
}

/* Ensure no banding backgrounds */
section, main, header, footer{
  background: transparent !important;
}

/* ===============================
   Reveal
   =============================== */
.reveal{ opacity:0; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease; }
.reveal.show{ opacity:1; transform: translateY(0); }

/* ===============================
   Dots
   =============================== */
.dot{
  width:10px; height:10px; border-radius:999px;
  background: rgba(234,231,226,.22);
  border: 1px solid rgba(212,161,95,.22);
  transition: all 180ms ease;
}
.dot.active{
  background: rgba(212,161,95,.92);
  box-shadow: 0 0 0 5px rgba(212,161,95,.14);
  border-color: rgba(212,161,95,.55);
}

/* ===============================
   Modal
   =============================== */
.modal-hidden{ pointer-events:none; opacity:0; }
.modal-shown{ pointer-events:auto; opacity:1; }

/* ===============================
   Carousel track
   =============================== */
.track{
  display:flex; gap: 1rem;
  transition: transform 450ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

/* ===============================
   Chips
   =============================== */
.chip{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.25rem .5rem;
  border-radius:999px;
  border:1px solid rgba(212,161,95,.22);
  background: rgba(0,0,0,.22);
  color: rgba(234,231,226,.78);
  font-size:11px;
  line-height:1;
  white-space:nowrap;
}
.chip strong{ color: rgba(212,161,95,.92); font-weight:700; }

/* ===============================
   Masonry
   =============================== */
.masonry{ column-count: 1; column-gap: 16px; }
@media (min-width: 768px){ .masonry{ column-count: 2; } }
@media (min-width: 1024px){ .masonry{ column-count: 3; } }
.masonry-item{ break-inside: avoid; margin: 0 0 16px; }

/* ===============================
   Legal
   =============================== */
.legal h4{ font-weight:800; margin-top: 1.25rem; margin-bottom:.35rem; }
.legal p, .legal li{ color: rgba(234,231,226,.78); font-size:13px; line-height:1.65; }
.legal a{ color: rgba(212,161,95,.92); text-decoration: underline; text-underline-offset: 3px; }
.legal ul{ padding-left:1.15rem; list-style:disc; }
.legal .muted{ color: rgba(234,231,226,.55); font-size:12px; }

/* ===============================
   Scroll offset for anchors
   =============================== */
section[id], [id]{ scroll-margin-top: var(--header-offset); }

/* Tap highlight */
button,a{ -webkit-tap-highlight-color: transparent; }
button:active,a:active{ transform: translateY(1px); }

/* ===============================
   Sticky Footer (always bottom)
   =============================== */
footer{
  margin-top:auto;
  padding-bottom: 0;
}

/* make footer feel "bündig" */
footer.border-t{
  border-top-color: rgba(212,161,95,.22) !important;
}

/* =========================
   Home Event Card (Premium) — FINAL
   ========================= */

/* Card Container */
.home-event{
  border-radius: 24px;
  padding: 14px 16px;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 860px;
}

/* subtle glow layer */
.home-event::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(900px 140px at 20% 0%, rgba(212,161,95,.10), transparent 60%),
    radial-gradient(700px 180px at 80% 100%, rgba(212,161,95,.06), transparent 65%);
  pointer-events:none;
  z-index:0;
}

/* top row */
.home-event-top{
  position: relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 2px 2px 10px;
  border-bottom: 1px solid rgba(212,161,95,.18);
}

/* label */
.home-event-label{
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color: rgba(234,231,226,.70);
  font-weight:800;
}

/* dot base */
.home-event-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: rgba(234,231,226,.20);
  border: 1px solid rgba(212,161,95,.22);
  display:inline-block;
  position: relative;
}

/* LIVE pulse */
.home-event-dot.live{
  background: rgba(34,197,94,.95);
  border-color: rgba(34,197,94,.55);
  animation: toxicPulse 1.35s ease-out infinite;
  box-shadow: 0 0 0 0 rgba(34,197,94,.0);
}

/* pulse ring */
@keyframes toxicPulse{
  0%   { transform: scale(1);   box-shadow: 0 0 0 0 rgba(34,197,94,.35); }
  70%  { transform: scale(1.15); box-shadow: 0 0 0 12px rgba(34,197,94,.00); }
  100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(34,197,94,.00); }
}

/* body layout */
.home-event-body{
  position: relative;
  z-index:1;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding-top: 12px;
}

/* title/meta/hint */
.home-event-title{
  font-size: 18px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: .01em;
  color: rgba(255,255,255,.92);
}

.home-event-meta{
  margin-top:6px;
  font-size: 13px;
  color: rgba(234,231,226,.72);
  font-weight:600;
}

.home-event-hint{
  margin-top:6px;
  font-size: 12px;
  color: rgba(234,231,226,.60);
  line-height: 1.5;
  max-width: 70ch;
}

/* actions */
.home-event-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-end;
  justify-content:flex-start;
}

/* details button */
.home-event-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(212,161,95,.28);
  background: rgba(0,0,0,.25);
  color: rgba(212,161,95,.95);
  font-weight:800;
  font-size: 12px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.home-event-cta:hover{
  background: rgba(0,0,0,.36);
  border-color: rgba(212,161,95,.45);
  transform: translateY(-1px);
}

/* mobile */
@media (max-width: 640px){
  .home-event-body{ flex-direction:column; }
  .home-event-actions{ align-items:stretch; }
}

/* Deluxe float lift */
#homeEventCard{
  box-shadow:
    0 30px 90px rgba(0,0,0,.65),
    0 0 0 1px rgba(212,161,95,.10),
    0 0 55px rgba(212,161,95,.08);
}

/* =========================
   Home Event — Cinematic Deluxe
   ========================= */
.home-event-cine::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
  background:
    radial-gradient(520px 280px at 12% 50%, rgba(212,161,95,.14), transparent 65%),
    radial-gradient(680px 360px at 18% 65%, rgba(212,161,95,.08), transparent 70%);
  opacity:.95;
  mix-blend-mode: screen;
}

.home-event-cine > *{
  position:relative;
  z-index:1;
}

.home-event-cine{
  opacity: 0;
  transform: translateY(18px);
  will-change: transform, opacity;
  animation:
    eventReveal .75s cubic-bezier(.2,.8,.2,1) .10s forwards,
    eventFloat 6.5s ease-in-out 1.1s infinite;
}

@keyframes eventReveal{
  to { opacity: 1; transform: translateY(0); }
}

@keyframes eventFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce){
  .home-event-cine{ animation:none !important; opacity:1 !important; transform:none !important; }
}

/* ===============================
   Galerie V3 Upgrades
   =============================== */

.gallery-hero-bg{
  background:
    radial-gradient(900px 420px at 15% 10%, rgba(212,161,95,.20), transparent 60%),
    radial-gradient(700px 360px at 85% 20%, rgba(164,123,58,.18), transparent 60%),
    radial-gradient(900px 520px at 50% 110%, rgba(255,255,255,.06), transparent 60%);
  filter: blur(0.2px);
  opacity: .95;
  pointer-events:none; /* ✅ wichtig: blockt keine clicks */
}

.filter-chip{
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212,161,95,.55);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.78);
  transition: .18s ease;
  backdrop-filter: blur(10px);
}
.filter-chip:hover{ background: rgba(0,0,0,.38); transform: translateY(-1px); }
.filter-chip.is-active{
  background: rgba(212,161,95,.14);
  color: rgba(255,255,255,.92);
  box-shadow: 0 0 0 1px rgba(212,161,95,.35) inset, 0 16px 38px rgba(0,0,0,.35);
}

.featured-track{
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* IE/Old Edge */
}
.featured-track::-webkit-scrollbar{
  width: 0;
  height: 0;                 /* Chrome/Safari */
}

.featured-card{
  position: relative;
  flex: 0 0 auto;
  width: min(420px, 85vw);
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(212,161,95,.55);
  background: rgba(0,0,0,.25);
  scroll-snap-align: start;
  transition: .22s ease;
}
.featured-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(0,0,0,.45);
}

.featured-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: .35s ease;
  filter: saturate(1.05) contrast(1.02);
}
.featured-card:hover .featured-img{ transform: scale(1.07); }

.featured-card::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.72));
  pointer-events:none;
}

.featured-chip{
  position:absolute; top: 12px; left: 12px;
  z-index: 2;
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212,161,95,.55);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.84);
  backdrop-filter: blur(10px);
  pointer-events:none;
}
.featured-title{
  position:absolute; left: 14px; bottom: 12px;
  z-index: 2;
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(255,255,255,.95);
  pointer-events:none;
}

/* ✅ Featured arrows clickable */
.featured-controls{
  position: relative;
  z-index: 90;
  pointer-events: auto;
}
.slider-btn{
  height: 40px;
  width: 40px;
  border-radius: 14px;
  border: 1px solid rgba(212,161,95,.55);
  background: rgba(0,0,0,.28);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.85);
  transition: .18s ease;
  position: relative;
  z-index: 95;
  pointer-events: auto;
  cursor:pointer;
}
.slider-btn:hover{ background: rgba(0,0,0,.45); transform: translateY(-1px); }

/* ===============================
   Gallery Cards (Masonry)
   =============================== */
.gallery-card{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  transition: .18s ease;
}
.gallery-card img{
  transition: .35s ease;
}
.gallery-card:hover img{
  transform: scale(1.04);
  filter: contrast(1.03) saturate(1.06);
}
.gallery-card::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(600px 220px at 50% 100%, rgba(0,0,0,.60), transparent 55%);
  opacity: 0;
  transition: .22s ease;
  pointer-events:none; /* ✅ blockt clicks nicht */
}
.gallery-card:hover::after{ opacity: 1; }

.gc-overlay{
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(6px);
  transition: .22s ease;
  pointer-events:none; /* ✅ overlay darf clicks nicht fressen */
}
.gallery-card:hover .gc-overlay{
  opacity: 1;
  transform: translateY(0);
}

.gc-title{
  font-weight: 900;
  letter-spacing: .02em;
  color: rgba(255,255,255,.96);
}
.gc-sub{
  font-size: 12px;
  color: rgba(255,255,255,.70);
}

.fade-item{ opacity: .75; transform: scale(.995); transition: .20s ease; }
.is-hidden{ display:none !important; }

/* ===============================
   Lightbox arrows + dots
   =============================== */
.lb-nav{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 46px;
  width: 46px;
  border-radius: 16px;
  border: 1px solid rgba(212,161,95,.55);
  background: rgba(0,0,0,.35);
  display:grid;
  place-items:center;
  color: rgba(255,255,255,.88);
  transition: .18s ease;
  z-index: 60;
  cursor:pointer;
}
.lb-nav:hover{ background: rgba(0,0,0,.55); }
.lb-nav.left-3{ left: 12px; }
.lb-nav.right-3{ right: 12px; }

.lb-dot{
  height: 8px;
  width: 8px;
  border-radius: 99px;
  border: 1px solid rgba(212,161,95,.55);
  background: rgba(255,255,255,.12);
  transition: .18s ease;
}
.lb-dot.is-active{
  width: 18px;
  background: rgba(212,161,95,.35);
}

/* ===============================
   Easter egg cosmetics
   =============================== */
.afterdark-card{ position: relative; overflow: hidden; }
.afterdark-card::before{
  content:"";
  position:absolute; inset:-40%;
  background: radial-gradient(closest-side, rgba(212,161,95,.20), transparent 65%);
  transform: rotate(22deg);
  filter: blur(1px);
  opacity: .9;
  pointer-events:none;
}
.afterdark-title{
  text-shadow: 0 0 18px rgba(212,161,95,.22), 0 0 48px rgba(212,161,95,.14);
}
