:root{
  --bg:#060815;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.04);
  --border: rgba(255,255,255,.12);
  --text: #eef2ff;
  --muted: rgba(238,242,255,.72);
  --brand1:#2563eb;
  --brand2:#0ea5e9;
  --shadow: 0 30px 100px rgba(0,0,0,.55);
  --r: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 18% 8%, rgba(37,99,235,.24), transparent 60%),
    radial-gradient(1000px 700px at 86% 12%, rgba(14,165,233,.22), transparent 62%),
    radial-gradient(900px 700px at 55% 92%, rgba(56,189,248,.16), transparent 62%),
    #0b1220;
  overflow-x:hidden;
}

body::before{
  content:"";
  position: fixed;
  inset: 0;
  background-image: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(900px, 85vw);
  opacity: 0.10;
  pointer-events: none;
  z-index: -2;
}

body::after{
  content:"";
  position: fixed;
  inset: 0;
  background: radial-gradient(900px 520px at 50% 30%, rgba(0,0,0,.30), rgba(0,0,0,.72));
  pointer-events: none;
  z-index: -1;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.app{
  min-height:100vh;
  display:grid;
  grid-template-columns: 320px 1fr;
  gap:18px;
  padding:18px;
}

/* =========================
   SIDEBAR
========================= */

.sidebar{
  position: sticky;
  top: 18px;
  height: calc(100vh - 36px);
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(700px 520px at 20% 10%, rgba(37,99,235,.18), transparent 60%),
    radial-gradient(720px 520px at 85% 90%, rgba(14,165,233,.14), transparent 62%),
    linear-gradient(180deg, rgba(15,23,42,.92), rgba(11,18,32,.92));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 22px 70px rgba(0,0,0,.45);
  display:flex;
  flex-direction:column;
  overflow-y:auto;
  scrollbar-width:none;
}

.sidebar::-webkit-scrollbar{ width:0; height:0; }

.sidebar::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:22px;
  padding:1px;
  background: linear-gradient(135deg, rgba(56,189,248,.22), transparent 45%, rgba(37,99,235,.16));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
  opacity:.9;
}

.sbNav{
  padding: 6px 8px 12px;
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  scrollbar-width:none;
}

.sbNav::-webkit-scrollbar{ width:0; height:0; }

.sbLink{
  display:flex;
  align-items:center;
  padding:10px 10px;
  border-radius:16px;
  background:transparent;
  border:1px solid transparent;
  transition:.2s ease;
}

.sbLbl{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.sbLbl b{
  font-size:.88rem;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-weight:900;
  color:rgba(255,255,255,.88);
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.sbLbl small{
  margin-top:3px;
  font-size:.78rem;
  color:rgba(238,242,255,.60);
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.sbLink:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.12);
  box-shadow:0 16px 40px rgba(0,0,0,.22);
}

.sbLink:hover .sbLbl b{ color:rgba(255,255,255,.96); }
.sbLink:hover .sbLbl small{ color:rgba(238,242,255,.78); }

body[data-page="start"] .sbLink[data-page="start"],
body[data-page="termine"] .sbLink[data-page="termine"],
body[data-page="bilder"] .sbLink[data-page="bilder"],
body[data-page="vorstandschaft"] .sbLink[data-page="vorstandschaft"],
body[data-page="tanzgruppe"] .sbLink[data-page="tanzgruppe"],
body[data-page="kontakt"] .sbLink[data-page="kontakt"],
body[data-page="gaestebuch"] .sbLink[data-page="gaestebuch"],
body[data-page="sponsoren"] .sbLink[data-page="sponsoren"],
body[data-page="impressum"] .sbLink[data-page="impressum"],
body[data-page="datenschutz"] .sbLink[data-page="datenschutz"]{
  background: linear-gradient(90deg, rgba(59,130,246,.22), rgba(14,165,233,.12));
  border:1px solid rgba(59,130,246,.35);
  box-shadow:0 0 22px rgba(59,130,246,.18);
}

.sbBottom{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.10);
  flex:0 0 auto;
}

.sbSectionTitle{
  font-size:13px;
  letter-spacing:.10em;
  font-weight:900;
  color:rgba(238,242,255,.78);
  margin-bottom:10px;
}

.sbSocials{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.sbSocial{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 14px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-weight:900;
  transition:.15s ease;
}

.sbSocial:hover{
  transform:translateY(-1px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.26);
}

.sbVisitors{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.10);
}

.sbVisitorsTitle{
  font-size:13px;
  letter-spacing:.10em;
  font-weight:900;
  color:rgba(238,242,255,.78);
  margin-bottom:10px;
}

.sbVisitorsCard{
  border-radius:18px;
  padding:12px;
  border:1px solid rgba(56,189,248,.28);
  background: rgba(255,255,255,.05);
  box-shadow: 0 0 16px rgba(56,189,248,.10), inset 0 0 18px rgba(56,189,248,.05);
}

.sbVisitorsRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:6px 0;
}

.sbVisitorsLabel{
  font-weight:900;
  font-size:14px;
  color:rgba(255,255,255,.90);
}

.sbVisitorsValue{
  font-weight:900;
  font-size:13px;
  color:rgba(255,255,255,.95);
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  padding:4px 10px;
  border-radius:999px;
}

.sbVisitorsFooter{
  margin-top:8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:rgba(238,242,255,.62);
  font-weight:800;
  font-size:11px;
}

.sbVisitorsTag{
  padding:3px 9px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.78);
}

/* =========================
   MOBILE HEADER
========================= */

.mHeader,
.mOverlay{
  display:none;
}

/* =========================
   MAIN
========================= */

.main{
  padding:20px 18px 60px;
}

.container{
  width:min(1040px, 92vw);
  margin:0 auto;
}

.topBar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.pageTitle{
  margin:0;
  font-size: clamp(26px, 3vw, 40px);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  letter-spacing:.2px;
  text-shadow: 0 18px 55px rgba(0,0,0,.55);
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(56,189,248,.50);
  background: linear-gradient(135deg, rgba(37,99,235,.35), rgba(14,165,233,.22));
  color:rgba(255,255,255,.92);
  font-size:13px;
  box-shadow:0 0 14px rgba(56,189,248,.25);
}

.hero{
  border:1px solid var(--border);
  background: linear-gradient(135deg, rgba(37,99,235,.35), rgba(14,165,233,.20));
  border-radius:22px;
  box-shadow: 0 0 30px rgba(37,99,235,.25);
  padding:18px;
  overflow:hidden;
  position:relative;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 320px at 10% 10%, rgba(37,99,235,.22), transparent 60%),
    radial-gradient(900px 360px at 100% 0%, rgba(14,165,233,.16), transparent 60%);
  pointer-events:none;
}

.hero h2{
  position:relative;
  margin:0;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size:32px;
}

.hero p{
  position:relative;
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.6;
  max-width:75ch;
  font-size:14.5px;
}

.btnRow{
  position:relative;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.btn{
  padding:11px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-weight:700;
  font-size:14px;
  color: rgba(238,242,255,.92);
  transition: transform .12s ease, background .12s ease;
  cursor:pointer;
}

.btn:hover{
  transform:translateY(-1px);
  background: rgba(255,255,255,.09);
}

.btn.primary{
  border-color: rgba(56,189,248,.45);
  background: linear-gradient(135deg, rgba(37,99,235,.25), rgba(14,165,233,.18));
}

.section{
  margin-top:16px;
}

.sectionHead{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin:18px 0 10px;
}

.sectionHead h3{
  margin:0;
  font-size:18px;
  letter-spacing:.2px;
}

.sectionHead small{
  color:var(--muted);
}

.card{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius:18px;
  padding:16px;
  box-shadow:0 18px 70px rgba(0,0,0,.22);
}

.card h4{
  margin:0 0 8px;
  font-size:16px;
}

.card p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
  font-size:14px;
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
}

/* =========================
   EVENTS
========================= */

.events{
  display:grid;
  gap:12px;
}

.event{
  display:flex;
  gap:12px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius:18px;
  overflow:hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.event:hover{
  transform:translateX(6px);
  box-shadow:0 0 22px rgba(56,189,248,.35);
}

.event.past{
  opacity:0.45;
  text-decoration:line-through;
}

.dateBox{
  width:80px;
  min-width:80px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-right:1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color:#ffffff;
  border:1px solid rgba(56,189,248,.5);
  box-shadow:0 0 18px rgba(37,99,235,.35);
  padding:14px 10px;
  text-align:center;
}

.dateBox b{
  font-size:26px;
  line-height:1;
}

.dateBox small{
  color: rgba(255,255,255,.85);
  margin-top:6px;
}

.eventBody{
  padding:14px;
}

.eventBody b{
  display:block;
  margin-bottom:4px;
}

.eventBody .meta{
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

/* =========================
   GALLERY / ALBUMS
========================= */

.galleryGrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}

.galleryThumb{
  display:block;
  overflow:hidden;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  cursor:pointer;
}

.galleryThumb img{
  width:100%;
  height:160px;
  object-fit:cover;
  transition: transform .25s ease, opacity .25s ease;
  opacity:.92;
}

.galleryThumb:hover img{
  transform:scale(1.05);
  opacity:1;
}

.albumGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}

.albumCard{
  text-align:left;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  cursor:pointer;
  padding:0;
}

.albumCover{
  height:140px;
  background-size:cover;
  background-position:center;
  filter:saturate(1.05);
}

.albumMeta{
  padding:10px 12px;
}

.albumName{
  font-weight:900;
  color: rgba(255,255,255,.92);
}

.albumCount{
  margin-top:2px;
  font-size:13px;
  color: rgba(255,255,255,.65);
}

/* =========================
   LIGHTBOX
========================= */

.lightbox{
  position:fixed;
  inset:0;
  z-index:9999;
}

.lbOverlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
}

.lbBox{
  position:relative;
  z-index:2;
  width:min(1150px, 96vw);
  height:min(750px, 90vh);
  margin:4vh auto 0 auto;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(10,16,28,.85);
  box-shadow:0 30px 90px rgba(0,0,0,.65);
}

.lbTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background: linear-gradient(90deg, rgba(59,130,246,.22), rgba(14,165,233,.10));
}

.lbTitle{
  font-weight:900;
  color: rgba(255,255,255,.92);
}

#lbImg{
  width:100%;
  height:calc(100% - 112px);
  object-fit:contain;
  background: rgba(255,255,255,.04);
  padding:10px;
  box-sizing:border-box;
}

.lbBottom{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:12px;
  border-top:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.lbBtn{
  width:54px;
  height:54px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(37,99,235,.35);
  color: rgba(255,255,255,.95);
  cursor:pointer;
  font-size:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.2s ease;
}

.lbBtn:hover{
  background: rgba(37,99,235,.55);
  transform: translateY(-1px) scale(1.05);
}

.lbClose{
  position:absolute;
  top:14px;
  right:14px;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.95);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  line-height:1;
}

.lbCount{
  font-weight:900;
  color: rgba(255,255,255,.88);
  font-size:14px;
}

/* =========================
   FORMS
========================= */

label{
  display:block;
  margin-bottom:6px;
  color: rgba(238,242,255,.72);
  font-size:13px;
}

input, textarea, select{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  padding:12px;
  color: rgba(238,242,255,.95);
  outline:none;
}

textarea{
  min-height:120px;
  resize:vertical;
}

.row2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}

/* =========================
   VORSTAND
========================= */

.vorstandCard img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:14px;
  margin-bottom:12px;
}

/* =========================
   INFO TICKER
========================= */

.infoTickerCard{
  padding:8px 14px;
  overflow:hidden;
  border:1px solid rgba(59,130,246,.25);
  box-shadow: 0 0 16px rgba(59,130,246,.15), inset 0 0 20px rgba(59,130,246,.08);
}

.infoTicker{
  overflow:hidden;
  white-space:nowrap;
}

.infoTickerTrack{
  display:inline-block;
  white-space:nowrap;
  animation: tickerMove 28s linear infinite;
}

.infoTicker:hover .infoTickerTrack{
  animation-play-state: paused;
}

.infoItem{
  display:inline-block;
  margin-right:50px;
  font-weight:700;
  color: rgba(238,242,255,.92);
  font-size:14px;
}

@keyframes tickerMove{
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================
   LIVE TICKER CARDS
========================= */

.liveTicker{
  padding:12px;
  border-radius:22px;
  border:1px solid rgba(56,189,248,.22);
  background:
    radial-gradient(700px 220px at 15% 10%, rgba(56,189,248,.16), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.10));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 70px rgba(0,0,0,.26);
  overflow:hidden;
}

.liveTickerBar{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:12px;
}

.liveBadge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(56,189,248,.35);
  background: rgba(0,0,0,.18);
  box-shadow: inset 0 0 20px rgba(56,189,248,.10);
  user-select:none;
}

.liveTxt{
  font-weight:950;
  letter-spacing:.16em;
  font-size:12px;
  color: rgba(255,255,255,.92);
}

.liveDot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: rgba(56,189,248,1);
  box-shadow:0 0 18px rgba(56,189,248,.60);
  position:relative;
}

.liveDot::after{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius:999px;
  border:1px solid rgba(56,189,248,.55);
  animation: livePulse 1.35s ease-out infinite;
  opacity:.9;
}

@keyframes livePulse{
  0%{ transform: scale(.65); opacity: .85; }
  100%{ transform: scale(1.35); opacity: 0; }
}

.liveViewport{
  overflow:hidden;
  position:relative;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.liveTrack{
  display:flex;
  gap:12px;
  padding:4px 2px;
  width:max-content;
  animation: liveScroll 34s linear infinite;
  will-change: transform;
}

.liveTicker:hover .liveTrack{
  animation-play-state: paused;
}

.liveCard{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:10px;
  min-width:min(560px, 78vw);
  padding:12px 14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  box-shadow:0 14px 40px rgba(0,0,0,.18);
  transition:.18s ease;
}

.liveCard:hover{
  transform:translateY(-1px);
  border-color:rgba(56,189,248,.28);
  background: rgba(255,255,255,.07);
}

.liveTag{
  font-weight:950;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(56,189,248,.35);
  background: rgba(56,189,248,.14);
  color: rgba(255,255,255,.92);
}

.liveMsg{
  color: rgba(238,242,255,.88);
  font-size:14px;
  line-height:1.3;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.liveTime{
  font-weight:900;
  font-size:12px;
  color: rgba(238,242,255,.62);
  padding-left:6px;
  white-space:nowrap;
}

@keyframes liveScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* =========================
   NEXT EVENT MODERN
========================= */

.nextEventCard{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  padding:14px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  isolation:isolate;
}

.nextEventCard::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:24px;
  padding:1px;
  background: linear-gradient(135deg, rgba(56,189,248,.28), rgba(37,99,235,.10), rgba(255,255,255,.06));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
  opacity:.95;
}

.nextEventCard::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(800px 320px at 12% 20%, rgba(56,189,248,.14), transparent 55%),
    radial-gradient(700px 260px at 90% 10%, rgba(37,99,235,.12), transparent 60%);
  pointer-events:none;
  opacity:.9;
}

.nextEventRow{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:92px 1fr auto;
  gap:14px;
  align-items:center;
}

.nextEventDate{
  width:92px;
  border-radius:20px;
  padding:12px 10px;
  text-align:center;
  background: rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 20px rgba(56,189,248,.10), inset 0 0 22px rgba(255,255,255,.03);
}

.nextEventDay{
  font-weight:950;
  font-size:30px;
  line-height:1;
  letter-spacing:.2px;
}

.nextEventMon{
  margin-top:6px;
  font-weight:900;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color: rgba(238,242,255,.70);
}

.nextEventMain{
  min-width:0;
}

.nextEventKicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(56,189,248,.28);
  background: rgba(56,189,248,.10);
  color: rgba(255,255,255,.92);
}

.nextEventDot{
  width:8px;
  height:8px;
  border-radius:999px;
  background: rgba(56,189,248,1);
  box-shadow:0 0 14px rgba(56,189,248,.6);
}

.nextEventTitle{
  margin-top:10px;
  font-weight:950;
  font-size:18px;
  color: rgba(255,255,255,.96);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.nextEventMeta{
  margin-top:4px;
  font-size:13px;
  color: rgba(238,242,255,.72);
  line-height:1.35;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.nextEventMeta span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
}

.nextEventAside{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-end;
}

.nextEventChip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.92);
  font-weight:950;
  font-size:12px;
  white-space:nowrap;
}

.nextEventBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(56,189,248,.28);
  background: linear-gradient(135deg, rgba(37,99,235,.28), rgba(14,165,233,.16));
  color: rgba(255,255,255,.94);
  font-weight:950;
  font-size:13px;
  transition:.18s ease;
}

.nextEventBtn:hover{
  transform:translateY(-1px);
  filter:brightness(1.05);
}

.nextEventCard:hover{
  box-shadow: 0 0 40px rgba(56,189,248,.16), 0 22px 90px rgba(0,0,0,.35);
}

/* =========================
   HERO COMPACT
========================= */

.heroCompact{
  position:relative;
  border-radius:22px;
  padding:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(700px 260px at 15% 20%, rgba(56,189,248,.14), transparent 60%),
    radial-gradient(700px 260px at 90% 0%, rgba(37,99,235,.16), transparent 62%),
    rgba(255,255,255,.04);
  box-shadow: 0 18px 70px rgba(0,0,0,.22), inset 0 0 18px rgba(56,189,248,.05);
}

.heroCompact::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:22px;
  padding:1px;
  background: linear-gradient(135deg, rgba(56,189,248,.22), transparent 45%, rgba(37,99,235,.14));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
  opacity:.9;
}

.heroTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
  position:relative;
  z-index:2;
}

.heroPill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:950;
  letter-spacing:.14em;
  text-transform:uppercase;
  border:1px solid rgba(56,189,248,.26);
  background: rgba(56,189,248,.10);
  color: rgba(255,255,255,.92);
}

.heroDot{
  width:8px;
  height:8px;
  border-radius:999px;
  background: rgba(56,189,248,1);
  box-shadow:0 0 14px rgba(56,189,248,.55);
}

.heroMini{
  font-weight:900;
  font-size:12px;
  color: rgba(238,242,255,.70);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.heroH2{
  margin:0;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing:.2px;
  position:relative;
  z-index:2;
}

.heroP{
  margin:10px 0 0;
  color: rgba(238,242,255,.74);
  line-height:1.6;
  font-size:14.5px;
  max-width:78ch;
  position:relative;
  z-index:2;
}

.heroActionsMini{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  position:relative;
  z-index:2;
}

.heroLinkBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(56,189,248,.28);
  background: linear-gradient(135deg, rgba(37,99,235,.26), rgba(14,165,233,.14));
  color: rgba(255,255,255,.92);
  font-weight:950;
  font-size:13px;
  transition:.18s ease;
}

.heroLinkBtn:hover{
  transform:translateY(-1px);
  filter:brightness(1.05);
}

.heroLinkBtn.ghost{
  border-color: rgba(255,255,255,.14);
  background: rgba(0,0,0,.16);
}

.heroLinkBtn.ghost:hover{
  background: rgba(255,255,255,.06);
}

/* =========================
   SLIDER
========================= */

.sliderCard{
  padding:0;
  overflow:hidden;
}

.heroSlider{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.hsImgWrap{
  aspect-ratio: 16/7;
  width:100%;
  background: rgba(0,0,0,.2);
}

.hsImgWrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:1;
  transition: opacity .8s ease, transform 1.2s ease;
  transform: scale(1.02);
}

.heroSlider.isFading .hsImgWrap img{
  opacity:0;
  transform:scale(1);
}

.hsOverlay{
  position:absolute;
  left:14px;
  right:14px;
  bottom:14px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(10,14,28,.55);
  backdrop-filter: blur(10px);
}

.hsTitle{
  font-weight:900;
  font-size:16px;
  color: rgba(238,242,255,.96);
}

.hsMeta{
  margin-top:3px;
  font-size:13px;
  color: rgba(238,242,255,.70);
}

.hsDots{
  position:absolute;
  top:12px;
  right:12px;
  display:flex;
  gap:6px;
}

.hsDot{
  width:8px;
  height:8px;
  border-radius:99px;
  background: rgba(255,255,255,.25);
  border:1px solid rgba(255,255,255,.10);
}

.hsDot.isActive{
  background: rgba(59,130,246,.85);
  box-shadow:0 0 0 2px rgba(59,130,246,.18);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px){
  .galleryGrid{ grid-template-columns: repeat(3, 1fr); }
  .albumGrid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px){
  .app{
    grid-template-columns:1fr;
    padding:18px;
    gap:18px;
  }

  .sidebar{
    position:relative;
    top:0;
    height:auto;
    border-radius:22px;
  }

  .grid3,
  .row2{
    grid-template-columns:1fr;
  }

  .nextEventRow{
    grid-template-columns:84px 1fr;
    grid-template-rows:auto auto;
  }

  .nextEventAside{
    grid-column:1 / -1;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
  }

  .nextEventDate{ width:84px; }

  .sponsorHero,
  .sponsorGrid,
  .miniSponsorGrid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 900px){
  .galleryGrid{ grid-template-columns: repeat(2, 1fr); }
  .hsImgWrap{ aspect-ratio:16/10; }
}

@media (max-width: 700px){
  .mHeader{
    display:grid;
    grid-template-columns:44px 1fr 44px;
    align-items:center;
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:2000;
    padding:12px;
    background:rgba(15,20,35,.92);
    backdrop-filter: blur(12px);
    border-bottom:1px solid rgba(255,255,255,.08);
  }

  .mHeader::after{
    content:"";
    width:44px;
    height:1px;
  }

  .mTitle{
    text-align:center;
    font-weight:900;
    font-size: clamp(11px, 3.3vw, 16px);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .mBurger{
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    line-height:1;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.06);
    color:#fff;
    border-radius:12px;
    cursor:pointer;
    padding:0;
  }

  .mOverlay{
    display:block;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    z-index:2500;
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease;
  }

  .mOverlay.mShow{
    opacity:1;
    pointer-events:auto;
  }

  .app{
    grid-template-columns:1fr;
    padding:0;
    gap:0;
  }

  .sidebar{
    position:fixed;
    top:62px;
    left:-290px;
    width:280px;
    height:calc(100vh - 62px);
    z-index:3000;
    transition:left .25s ease;
    border-radius:0 22px 22px 0;
  }

  .sidebar.mOpen{
    left:0;
  }

  .main{
    margin-left:0 !important;
    padding:80px 14px 40px;
  }

  .container{
    width:100%;
  }

  html.noScroll,
  body.noScroll{
    overflow:hidden !important;
  }

  .topBar{
    margin-bottom:12px;
  }
}

@media (max-width: 620px){
  .liveBadge{ padding:9px 10px; }
  .liveTxt{ font-size:11px; }
  .liveCard{ min-width:86vw; }
}

@media (max-width: 600px){
  .miniSponsorGrid,
  .albumGrid,
  .galleryGrid{
    grid-template-columns:1fr;
  }

  .supportBox h3{
    font-size:22px;
  }
}

/* =========================
   FIX: Sidebar Social Media Pills
========================= */

.sbSocialBlock{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.sbSocialTitle{
  font-size: 13px;
  font-weight: 900;
  color: rgba(238,242,255,.82);
  margin-bottom: 10px;
  letter-spacing: .02em;
}

.sbSocialBtns{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sbPill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  transition: .15s ease;
}

.sbPill:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.26);
}

/* FIX: Burger immer klickbar */
.mHeader{
  position: fixed;
  z-index: 9999;
}

.mBurger{
  position: relative;
  z-index: 10000;
}

/* =========================
   TERMINE – CLEAN PREMIUM
========================= */

.event{
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: center;

  padding: 16px;
  border-radius: 18px;

  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);

  backdrop-filter: blur(10px);

  transition: all .18s ease;
}

.event:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}

/* Datum */
.dateBox{
  width: 70px;
  height: 70px;

  border-radius: 16px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.25);

  color: #eaf2ff;
}

.dateBox b{
  font-size: 22px;
  font-weight: 800;
}

.dateBox small{
  font-size: 11px;
  opacity: .8;
}

/* Text */
.eventBody b{
  display:block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.meta{
  font-size: 13px;
  color: rgba(255,255,255,.65);
}

/* kleine Tags */
.meta span{
  display:inline-block;
  margin-right: 8px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}

/* Vergangen */
.event.past{
  opacity: .5;
}

.event.past .eventBody b{
  text-decoration: line-through;
}

/* Mobile */
@media (max-width: 768px){
  .event{
    grid-template-columns: 60px 1fr;
  }

  .dateBox{
    width: 60px;
    height: 60px;
  }

  .dateBox b{
    font-size: 18px;
  }
}
/* =========================
   NUR die Termine-Hero-Box anpassen
========================= */

body[data-page="termine"] .hero{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 22px !important;
  box-shadow:
    0 18px 40px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.04) !important;
  padding: 18px 20px !important;
  position: relative;
  overflow: hidden;
}

body[data-page="termine"] .hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 180px at 10% 10%, rgba(59,130,246,.12), transparent 60%),
    radial-gradient(500px 180px at 90% 0%, rgba(14,165,233,.10), transparent 60%);
  pointer-events: none;
}

body[data-page="termine"] .hero h2{
  position: relative;
  z-index: 1;
  margin: 0 0 10px 0;
}

body[data-page="termine"] .hero p{
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(238,242,255,.72);
}
/* =========================
   HERO BOX – GLOBAL CLEAN (ALLE SEITEN)
========================= */

/* gilt für ALLE Seiten */
body[data-page] .hero{
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 22px !important;

  box-shadow:
    0 18px 40px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.04) !important;

  padding: 18px 20px !important;
  position: relative;
  overflow: hidden;
}

/* leichter Glow wie Willkommen */
body[data-page] .hero::before{
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(500px 180px at 10% 10%, rgba(59,130,246,.08), transparent 60%),
    radial-gradient(500px 180px at 90% 0%, rgba(14,165,233,.06), transparent 60%);

  pointer-events: none;
}

/* Text sauber drüber */
body[data-page] .hero h1,
body[data-page] .hero h2,
body[data-page] .hero h3,
body[data-page] .hero p{
  position: relative;
  z-index: 1;
}

/* optional: schöner Text */
body[data-page] .hero p{
  color: rgba(238,242,255,.72);
}