
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;min-width:0;}
.header-dateimg{display:none;height:74px;width:auto;max-width:33vw;object-fit:contain;filter:drop-shadow(0 10px 22px rgba(0,0,0,.55));}
.header-dateimg-mobile{display:none;width:min(520px,92vw);height:auto;object-fit:contain;filter:drop-shadow(0 10px 22px rgba(0,0,0,.55));}
@media (min-width:981px){.header-dateimg{display:block;height:calc(var(--header-row) - 6px);max-height:86px;margin-left:6px;} .menu-toggle{display:block;}}
@media (max-width:980px){.header-dateimg{display:none;} .header-dateimg-mobile{display:block;position:absolute;left:50%;transform:translateX(-50%);top:clamp(165px,32vw,215px);width:min(520px,92vw);z-index:6;}}

@font-face{
  font-family: "Levirebrush";
  src: url("/assets/fonts/Levirebrush.woff2") format("woff2");
  font-display: swap;
}

:root{
  /* Make the background artwork brighter/more visible while keeping readability */
  --overlay-strong: rgba(0,0,0,.55);
  --overlay: rgba(0,0,0,.38);

  /* Panel background (used by cards/blocks). Slightly lighter than before. */
  --card: rgba(10,10,12,.62);
  --stroke: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.74);
  --radius: 20px;
  /* Narrower panels so more of the background artwork stays visible */
  --panel-max: 820px;
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:#06060a;
}

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

.page{
  min-height:100vh;
  /* push footer to the bottom on short pages (Home) */
  display:flex;
  flex-direction:column;
  background:
    linear-gradient(to bottom, var(--overlay), var(--overlay-strong)),
    var(--bg-mobile, var(--bg, none));
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
}

.page main{
  flex:1;
}

@media (max-width: 900px){
  .page{ background-attachment:scroll; }
}

/* Mobile: show more of the background artwork (reduce the "zoom" effect of background-size: cover) */
@media (max-width: 680px){
  .page{
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
  }
}

.container{
  width:min(1120px, calc(100% - 32px));
  margin:0 auto;
}

.header{
  --header-row: 78px;
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(0,0,0,.44);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0; gap:14px;
}

.brand{display:flex; align-items:center; gap:12px; min-width: 240px;}
.brand img{width:44px;height:44px;object-fit:contain;filter: drop-shadow(0 10px 24px rgba(0,0,0,.45));}
.brand .title{display:flex;flex-direction:column;line-height:1.08;}
.brand .title strong{font-size:15px;letter-spacing:.2px;}
.brand .title span{font-size:12px;color:var(--muted);}

.menu-toggle{
  display:inline-flex;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.26);
  color:var(--text);
  padding:10px 12px;
  border-radius:14px;
}

.menu{display:none;align-items:center;gap:10px;flex-wrap:wrap;}

.menu.open{display:flex;}
.menu > a, .menu .drop > button{
  border:1px solid transparent;
  background:transparent;
  color:var(--text);
  padding:10px 10px;
  border-radius:14px;
  font-size:14px;
  cursor:pointer;
}
.menu > a.active{
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  text-decoration:none;
}

.menu .drop{ position:relative; }
.menu .drop > button{display:flex;align-items:center;gap:8px;}
.menu .drop > button:after{content:"▾";font-size:12px;opacity:.85;}

.dropdown{
  position:absolute;
  top: calc(100% + 10px);
  right:0;
  min-width: 260px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,10,12,.90);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 8px;
  display:none;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}
.drop.open .dropdown{display:block;}
.dropdown a{
  display:block;
  padding:10px 10px;
  border-radius:12px;
}
.dropdown a:hover{background:rgba(255,255,255,.06); text-decoration:none;}

@media (max-width: 980px){
  
  /* Menü-Items im Overlay immer untereinander (keine Zeile nach rechts) */
  .menu{ flex-direction: column; align-items: stretch; gap: 6px; }
  .menu > a{ width: 100%; }
  .menu .drop{ display:block; width:100%; }
  .menu .drop > button{
    display:flex;
    width:100%;
    align-items:center;
    justify-content: center;
    gap: 10px;
  }
  .menu .dropdown{ width:100%; }
  .menu .dropdown a{ width:100%; display:block; }

.menu-toggle{display:block;}
  .menu{display:none;width:100%;padding:12px 0 6px;}
  .menu.open{display:flex;flex-direction:column;align-items:stretch;}
  .menu > a, .menu .drop > button{width:100%; text-align:left;}
  .dropdown{position:static; display:none; margin-top:6px;}
  .drop.open .dropdown{display:block;}
}

.hero{padding:52px 0 22px;}

@media (min-width: 960px){
  /* Make room for the oversized header logo that hangs into the page */
  .hero{ padding-top: 96px; }
}
.hero-card{
  position: relative;
  overflow: hidden;
  border:1px solid rgba(255,255,255,.12);
  /* Fading edges so more of the background artwork stays visible */
  background: linear-gradient(90deg,
    rgba(10,10,12,0) 0%,
    rgba(10,10,12,.76) 10%,
    rgba(10,10,12,.76) 90%,
    rgba(10,10,12,0) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,.40);
  /* Keep the readable panel tighter so more background is visible */
  max-width: var(--panel-max);
  margin-left: auto;
  margin-right: auto;
}
.hero-card h1{
  margin:0 0 10px;
  font-size: clamp(26px, 5vw, 44px);
  letter-spacing:.2px;
}
.page.home .hero-card h1,
.page.clubnacht .hero-card h1{
  font-family: "Levirebrush", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: .6px;
}
.hero-card p{
  margin:0 0 10px;
  color: var(--muted);
  font-size: clamp(15px, 2.2vw, 17px);
  line-height:1.6;
}

.meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px;}
.pill{
  border:1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.22);
  padding:10px 12px;
  border-radius:999px;
  font-size: 13px;
}

/* Countdown: größer + Neon/Cyberpunk */
.pill--countdown{
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(0,255,255,.35);
  box-shadow:
    0 0 0 1px rgba(255,0,255,.18) inset,
    0 0 22px rgba(0,255,255,.20),
    0 0 34px rgba(255,0,255,.12);
  backdrop-filter: blur(6px);
  /* Center content inside the pill frame (fixes off-center digits on mobile) */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 16px;
}

/* Neon / cyberpunk frame accents for countdowns */
.pill--countdown::before{
  content:"";
  position:absolute;
  inset:-3px;
  border-radius:inherit;
  background: linear-gradient(135deg,
    rgba(0,255,255,.45),
    rgba(255,0,255,.35),
    rgba(0,255,255,.35));
  filter: blur(10px);
  opacity: .28;
  z-index: -1;
}

.pill--countdown::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,.06),
    rgba(255,255,255,.06) 1px,
    rgba(0,0,0,0) 1px,
    rgba(0,0,0,0) 5px);
  opacity:.18;
  mix-blend-mode: screen;
  pointer-events:none;
  animation: rmScan 7s linear infinite;
}

@keyframes rmScan{
  0%{ transform: translateY(-10%); }
  100%{ transform: translateY(10%); }
}

/* Center single meta items (used for countdown blocks) */
.meta.meta--center{
  justify-content: center;
}

.pill--countdown .countdown-label{
  display: block;
  margin-bottom: 6px;
  font-family: 'LeviBrush', system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .95;
  text-shadow: 0 0 10px rgba(0,255,255,.45);
}

.pill--countdown .countdown-label,
.pill--countdown strong[data-countdown-target],
.pill--countdown .countdown-meta,
.pill--countdown .countdown-ends{
  width: 100%;
  text-align: center;
}

.pill--countdown strong[data-countdown-target]{
  display: block;
  font-family: 'LeviBrush', system-ui, sans-serif;
  font-size: clamp(26px, 6.2vw, 60px);
  white-space: nowrap;
  letter-spacing: .06em;
  line-height: 1.05;
  color: rgba(245,253,255,.95);
  font-variant-numeric: tabular-nums;
  text-shadow:
    0 0 10px rgba(0,255,255,.50),
    0 0 18px rgba(255,0,255,.35);
}

.pill--countdown .countdown-meta{
  opacity: .85;
  font-size: .95rem;
}

/* Clubnacht: extra groß */
.pill--countdown.pill--countdown--club strong[data-countdown-target]{
  font-size: clamp(34px, 7.6vw, 86px);
}

.pill--countdown.pill--countdown--club .countdown-label{
  font-size: 1.05rem;
}

.pill--countdown.pill--countdown--club .countdown-meta{
  font-size: .9rem;
  opacity: .8;
}
/* Clubnacht: extra groß */
.pill--countdown.pill--countdown--club .countdown-time{
  font-size: clamp(34px, 7.6vw, 86px);
}

.pill--countdown.pill--countdown--club .countdown-label{
  font-size: 1.05rem;
}

.pill--countdown.pill--countdown--club .countdown-meta{
  font-size: .9rem;
  opacity: .8;
}
/* Newsletter */
.newsletter-embed{margin-top:18px;}
.newsletter-iframe{width:100%; border:0; border-radius:16px; min-height:720px; background:transparent;}
.card{
  position: relative;
  overflow: hidden;
  border:1px solid rgba(255,255,255,.12);
  /* Fading edges so the background image is more present */
  background: linear-gradient(90deg,
    rgba(8,8,10,0) 0%,
    rgba(8,8,10,.76) 10%,
    rgba(8,8,10,.76) 90%,
    rgba(8,8,10,0) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 18px;
}

/* Countdown card tweaks */
.card--countdown{overflow:visible;}
.pill--countdown{max-width:100%;}
.pill--countdown strong{font-variant-numeric:tabular-nums;}


/* Content cards (long text blocks) – narrow them for more visible background */
.card.content{
  max-width: var(--panel-max);
  margin-left: auto;
  margin-right: auto;
}

.content h2{margin: 18px 0 10px; font-size: 20px;}
.content h3{margin: 18px 0 8px; font-size: 16px;}
.content p, .content li{
  color: var(--muted);
  line-height:1.7;
  font-size: clamp(15px, 2.2vw, 16.5px);
}
.content ul{margin: 10px 0 10px 22px;}

.grid{display:grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px;}
@media (max-width: 980px){ .grid{grid-template-columns:1fr;} }

/* Home: nur Elemente, kein extra Titel/Untertitel */
.page.home .hero-card h1,
.page.home .hero-card > p{ display:none; }
.home .hero-card{ padding: 14px; }

/* Small YouTube */
.yt{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  margin-top: 12px;
}
.yt iframe{ width:100%; height: 200px; display:block; }
@media (max-width: 680px){ .yt iframe{ height: 180px; } }

.big-label{ font-size: 18px; margin: 0 0 6px; }

.btn{
  display:inline-flex;
  align-items:center; justify-content:center;
  gap:10px;
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: var(--text);
  font-weight: 650;
  font-size: 14px;
  text-decoration:none;
}
.btn:hover{background:rgba(255,255,255,.12); text-decoration:none;}

.form{display:grid; gap: 10px; margin-top: 10px;}
.field{display:grid; gap: 6px;}
label{font-size: 13px; color: var(--muted);}
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  color: var(--text);
  outline:none;
}
textarea{min-height: 120px; resize: vertical;}

.checkbox{
  display:flex; gap:10px; align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
}
.checkbox input{width:auto; margin-top: 2px;}
.hint{color: var(--muted); font-size: 13px; line-height:1.45;}

.two-cols{display:grid; grid-template-columns: 1fr 1fr; gap:12px;}
@media (max-width: 700px){ .two-cols{grid-template-columns:1fr;} }

.floor{
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow:hidden;
  background:
    /* Slightly lighter overlay so the background artwork stays vivid */
    linear-gradient(to bottom, rgba(0,0,0,.32), rgba(0,0,0,.70)),
    var(--floorbg, none);
  background-size:cover;
  background-position:center;
  padding: 16px;
  margin-top: 14px;
}
.floor h2{margin:0 0 6px;}
.dj{
  display:inline-block;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.22);
  margin: 6px 8px 0 0;
  font-size: 13px;
}
.dj.locked{ filter: blur(6px); opacity:.85; }

.map-embed{
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 12px;
}

/* Social Link */
.social-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.20);
  text-decoration: none;
}
.social-link:hover{ background: rgba(255,255,255,.10); text-decoration: none; }
.social-link svg{ width: 20px; height: 20px; flex: 0 0 auto; opacity: .95; }

/* Kinderfest collages inline */
.inline-images{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0 14px;
}
.inline-images img{
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 900px){
  .inline-images{ grid-template-columns: 1fr; }
}

/* Clubnacht segments */
.club-segments{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 980px){
  .club-segments{ grid-template-columns: 1fr; }
}
.two-floors-badge{
  margin-top: 10px;
  text-align: center;
  font-weight: 750;
  letter-spacing: .2px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.22);
}

/* Partner logos */
.logo-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.logo-grid .logo{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 12px;
  background: rgba(0,0,0,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 118px;
}
.logo-grid img{
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}
@media (max-width: 980px){ .logo-grid{ grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 520px){ .logo-grid{ grid-template-columns: 1fr;} }

/* Footer + newsletter */
.footer{
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
}
.footer .row{
  display:flex; flex-wrap:wrap;
  gap: 12px 14px;
  align-items:center; justify-content: space-between;
}
.footer small{color: var(--muted);}

.footer-meta{display:flex;flex-wrap:wrap;align-items:center;gap:14px;}
.footer-meta__title{white-space:nowrap;}
.footer-meta__links{display:flex;flex-wrap:wrap;align-items:center;gap:10px;}
.footer-meta__links a{white-space:nowrap;}
.footer .newsletter{
  width: min(520px, 100%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(8,8,10,.55);
}
.footer .newsletter h3{margin:0 0 6px; font-size: 16px;}
.footer .newsletter .hint{margin:0 0 8px;}
.footer .newsletter .form{grid-template-columns: 1fr auto; align-items:end;}
.footer .newsletter .field{margin:0;}
.footer .newsletter input{padding:10px 10px;}
.footer .newsletter .btn{padding:10px 12px; border-radius: 14px;}
@media (max-width: 680px){
  .footer .row{flex-direction:column;align-items:center;text-align:center;}
  .footer-meta{flex-direction:column;align-items:center;justify-content:center;}
  .footer-meta__links{justify-content:center;}
  .footer .newsletter{width:100%;}
  .footer .newsletter .form{grid-template-columns: 1fr;}
}


/* --- Mobile Menü als Overlay-Sheet (klappt nach unten) --- */
body.menu-open{
  overflow: hidden;
}
body.menu-open::before{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  z-index: 55;
}

@media (max-width: 980px){
  /* Menü als Sheet unter der Sticky-Header-Leiste */
  .menu{
    display: flex; /* bleibt im DOM, wir steuern Sichtbarkeit über opacity/pointer */
    position: fixed;
    top: var(--menu-top, 72px);
    left: 16px;
    right: 16px;
    max-height: min(70vh, 520px);
    overflow: auto;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(10,10,12,.94);
    box-shadow: 0 24px 90px rgba(0,0,0,.55);
    z-index: 60;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .menu.open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Dropdowns im Mobile-Menü: als ein- und ausklappbare Liste (nicht als Popup) */
  .drop{ width:100%; }
  .menu .drop > button{ width:100%; justify-content:space-between; }
  .dropdown{
    position: static;
    top: auto;
    right: auto;
    min-width: unset;
    display: none;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 6px 6px 10px 6px;
    margin-top: 4px;
    max-height: none;
    overflow: visible;
  }
  .drop.open .dropdown{ display:block; }
  .dropdown a{
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
    margin: 6px 0;
    padding: 10px 12px;
  }
}


/* --- Fix: Overlay darf nicht über dem Header/Menu liegen (Mobile) --- */
body.menu-open::before{ z-index: 40; } /* unter Header (50) */
body.menu-open .header{
  --header-row: 78px; z-index: 80; } /* sicher über Overlay */


/* --- Überschriften in Levirebrush --- */
.hero-card h1{ font-family: "Levirebrush", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; letter-spacing: .6px; }
.content h2, .content h3{ font-family: "Levirebrush", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; letter-spacing: .4px; }


/* --- Traktorpulling Regeln: Stichpunkt-Symbole --- */
.rules-list{ list-style: none; padding-left: 0; margin-left: 0; }
.rules-list li{ position: relative; padding-left: 30px; margin: 10px 0; }
.rules-list li:before{
  content: "➜";
  position: absolute;
  left: 0;
  top: 0;
  opacity: .95;
}


/* --- Partner Logos: Kontrast-Card pro Logo --- */
.logo-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 14px;
}
.logo-grid .logo{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.logo-grid .logo img{
  max-width: 100%;
  max-height: 82px;
  height: auto;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.18));
}


@media (max-width: 980px){
  .menu .dropdown{ display:none; flex-direction: column; }
  .menu .drop.open .dropdown{ display:flex; }
}



/* --- Mobile Dropdown FINAL Fix: Untermenü IMMER nach unten ausklappen --- */
@media (max-width: 980px){
  /* Menü immer vertikal */
  .menu{
    display:flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
  }

  /* Dropdown-Wrapper als Spalte (Button oben, Links darunter) */
  .menu .drop{
    display:flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  .menu .drop > button{
    width:100% !important;
    justify-content: space-between !important;
  }

  /* WICHTIG: absolute Desktop-Popup-Regeln überschreiben */
  .menu .drop .dropdown{
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    display: none !important;
    margin-top: 6px !important;
  }
  .menu .drop.open .dropdown{
    display: block !important;
  }

  .menu .drop .dropdown a{
    display:block !important;
    width:100% !important;
  }
}

/* --- Footer social link (Instagram) --- */
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ig-link .ig-icon {
  width: 16px;
  height: 16px;
}

/* Footer links layout for the newer footer variant */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Footer Newsletter CTA (keeps footer clean + readable) */
.newsletter-link {
display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration:none;
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(0,255,240,.08), 0 18px 40px rgba(0,0,0,.35);
  width: fit-content;
  max-width: 100%;  white-space: nowrap;
}

.newsletter-btn{padding:10px 12px;font-size:13px;}
.newsletter-link span{font-size:13px;}
.newsletter-link small{max-width:none;white-space:nowrap;}

.newsletter-link span{
  font-weight: 800;
  letter-spacing: .02em;
}
.newsletter-link small{
  font-size: 12px;
  line-height: 1.15;
  color: var(--muted);
  max-width: 260px;
}
.newsletter-link:hover{
  border-color: rgba(255,255,255,.34);
}
.newsletter-link:focus-visible{
  outline: 2px solid rgba(0,255,240,.75);
  outline-offset: 3px;
}
@media (max-width: 560px){
  .footer-newsletter{ align-items: center; }
  .newsletter-link{
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-radius: 18px;
  }
  .newsletter-link small{ max-width: 100%; }
}

@media (max-width: 640px) {
  .footer .row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .footer-newsletter {
    align-items: center;
  }
}



/* Home hero layout: quote on top, countdown+video lower */
.page.home .hero-card {
  /* Keep the dark panel tight to the content (more background visible) */
  padding: 14px 16px 12px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.page.home .hero-quote p{margin:0;}

.page.home .hero-top {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page.home .hero-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(14px, 1.9vw, 18px);
  line-height: 1.65;
  color: rgba(240, 250, 255, 0.92);
  text-shadow: 0 0 18px rgba(0, 255, 255, 0.18);
}

.page.home .hero-bottom {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
  align-items: end;
}

@media (max-width: 900px) {
  .page.home .hero-bottom {
    grid-template-columns: 1.6fr 1fr;
  }
}

/* Countdown smaller (home) */
.page.home .pill--countdown strong {
  /* Keep it readable but prevent desktop clipping */
  font-size: clamp(22px, 4vw, 42px);
  letter-spacing: 0.03em;
}

.page.home .pill--countdown {
  padding: 12px 14px;
}

.page.home .pill--countdown small {
  font-size: 12px;
}

/* The countdown card should not clip wide glow/text on desktop */
.page.home .hero-card.countdown-wrap {
  overflow: visible;
}



/* Clubnacht: Audio Toggle */
.audio-toggle{
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0,0,0,.55);
  color: #ffffff;
  border: 1px solid rgba(0,255,255,.35);
  box-shadow:
    0 0 0 1px rgba(255,0,255,.18) inset,
    0 0 22px rgba(0,255,255,.20),
    0 0 34px rgba(255,0,255,.12);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.audio-toggle:focus-visible{
  outline: 2px solid rgba(0,255,255,.85);
  outline-offset: 3px;
}

.audio-toggle .eq{
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.audio-toggle .eq span{
  width: 4px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
  opacity: .95;
  transform-origin: bottom;
  animation: eqBar 900ms ease-in-out infinite;
}

.audio-toggle .eq span:nth-child(2){ animation-delay: -150ms; }
.audio-toggle .eq span:nth-child(3){ animation-delay: -300ms; }
.audio-toggle .eq span:nth-child(4){ animation-delay: -450ms; }
.audio-toggle .eq span:nth-child(5){ animation-delay: -600ms; }

.audio-toggle.is-muted .eq span{
  animation: none;
  height: 6px;
  opacity: .5;
}

.audio-toggle.is-muted:after{
  content: "";
  position: absolute;
  width: 34px;
  height: 2px;
  background: rgba(255,0,255,.85);
  transform: rotate(-45deg);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255,0,255,.45);
}

@keyframes eqBar{
  0%   { transform: scaleY(.35); }
  25%  { transform: scaleY(1.00); }
  50%  { transform: scaleY(.55); }
  75%  { transform: scaleY(.90); }
  100% { transform: scaleY(.35); }
}

/* Hero logo (Index) */
.hero-logo-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 18px 0 12px;
}

.hero-logo{
  width: min(560px, 86vw);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 14px rgba(0, 213, 255, 0.35))
    drop-shadow(0 0 22px rgba(255, 90, 0, 0.25))
    drop-shadow(0 0 28px rgba(255, 0, 160, 0.18));
}

/* RZ-styled headings for key subpages */
.rz-hero .rz-title{
  text-align: center;
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.05;
  background: linear-gradient(90deg, #ff5a00, #ffd200, #00d5ff, #ff007a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.10);
  text-shadow:
    0 0 10px rgba(0, 213, 255, 0.30),
    0 0 18px rgba(255, 0, 122, 0.22),
    0 0 24px rgba(255, 90, 0, 0.18);
}

.rz-hero .rz-subtitle{
  text-align: center;
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(235, 245, 245, 0.88);
  text-shadow:
    0 0 12px rgba(0, 213, 255, 0.16),
    0 0 14px rgba(255, 0, 160, 0.10);
}

@media (min-width: 900px){
  .rz-hero .rz-title{ font-size: 44px; }
  .rz-hero .rz-subtitle{ font-size: 16px; }
}

@media (max-width: 899px){
  .rz-hero .rz-title{ font-size: 34px; }
  .rz-hero .rz-subtitle{ font-size: 14px; }
}


@media (max-width: 720px){
  .audio-toggle{top:auto;bottom:calc(14px + env(safe-area-inset-bottom));right:calc(14px + env(safe-area-inset-right));}
}

/* --- Update: Header centered logo + Home audio + countdown overflow fix --- */

/* Header: big centered logo that overlaps into the main area (desktop), brand logo only on mobile */
.header{
  --header-row: 78px; overflow: visible; }
.header .nav{ position: relative; overflow: visible; }

.header .brand{
  display: none;
  min-width: 0;
  padding: 0;
  gap: 0;
}
.header .brand-logo{
  height: 56px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(28,204,113,.35));
}

/* Center the menu row so links sit around the centered logo */
.header .menu{ justify-content: center; overflow: visible; }

@media (min-width: 960px){
  /* Desktop: center the menu block in the fixed header */
  .header .nav{ justify-content: center; }
}
.header .menu > a,
.header .menu .drop > button{ position: relative; z-index: 60; }

.header .menu-logo{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: -10px 20px -92px; /* negative bottom margin lets the logo "hang" into the page */
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  position: relative;
  z-index: 40;
}
.header .menu-logo img{
  height: 120px;
  max-width: 360px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 28px rgba(28,204,113,.55));
}

@media (min-width: 1280px){
  .header .menu-logo{ margin: -12px 26px -110px; }
  .header .menu-logo img{ height: 140px; max-width: 420px; }
}

@media (max-width: 980px){
  .header .brand{
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .header .menu-logo{ display: none; }
  .header .menu{ justify-content: center; }
}

/* Countdown: prevent clipping on desktop when the font scales up */
.countdown-card{
  overflow: visible;
}

/* Home audio callout */
.audio-callout{
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.audio-toggle-large{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.45);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 22px rgba(28,204,113,.18);
}

.audio-toggle-large:focus-visible{
  outline: 2px solid rgba(28,204,113,.9);
  outline-offset: 3px;
}

.eq.eq--lg{
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  height: 34px;
  width: 72px;
}

.eq.eq--lg span{
  display: block;
  width: 6px;
  height: 10px;
  border-radius: 8px;
  background: rgba(28,204,113,.95);
  box-shadow: 0 0 14px rgba(28,204,113,.35);
  transform-origin: bottom;
}

.audio-toggle-large.is-playing .eq.eq--lg span{
  animation: eqPulse 700ms ease-in-out infinite;
}
.audio-toggle-large.is-playing .eq.eq--lg span:nth-child(2){ animation-delay: 80ms; }
.audio-toggle-large.is-playing .eq.eq--lg span:nth-child(3){ animation-delay: 140ms; }
.audio-toggle-large.is-playing .eq.eq--lg span:nth-child(4){ animation-delay: 220ms; }
.audio-toggle-large.is-playing .eq.eq--lg span:nth-child(5){ animation-delay: 120ms; }
.audio-toggle-large.is-playing .eq.eq--lg span:nth-child(6){ animation-delay: 200ms; }

@keyframes eqPulse{
  0%{ transform: scaleY(.35); opacity: .8; }
  50%{ transform: scaleY(1.25); opacity: 1; }
  100%{ transform: scaleY(.45); opacity: .9; }
}

.audio-label{
  font-weight: 800;
  letter-spacing: .03em;
}

.audio-hint{
  opacity: .75;
  font-size: 12px;
  letter-spacing: .02em;
}

/* Footer newsletter pill: a bit tighter */
.footer-newsletter{
  padding: 6px 10px;
  gap: 8px;
  max-width: 300px;
}
.footer-newsletter small{
  white-space: normal;
  max-width: 170px;
}

/* ===== Update 30: Bigger overlapping header logo + restored date badge ===== */

/* Remove the old logo-inside-menu approach */
.header .menu-logo{ display:none !important; }

/* Date badge (left) */
.brand-date{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  text-decoration:none;
  color:#EDEFF1;
  background:rgba(0,0,0,.38);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  position:relative;
  z-index:5;
}
.brand-date__text{ font-size:13px; opacity:.95; white-space:nowrap; }
.mascot-badge{
  width:34px;
  height:34px;
  border-radius:12px;
  overflow:hidden;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.32), rgba(255,255,255,0) 45%),
              radial-gradient(circle at 60% 70%, rgba(28,204,113,.35), rgba(28,204,113,0) 55%),
              rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  box-shadow: 0 0 18px rgba(28,204,113,.18), 0 10px 20px rgba(0,0,0,.25);
}

.mascot-badge__img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.mascot-badge__img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  filter: drop-shadow(0 0 10px rgba(255,78,205,.35));
}

/* Big center logo that hangs down into the page */
.header .nav{ position:relative; }
.header-logo-overlap{
  position:absolute;
  left:50%;
  top:-50px;
  transform: translateX(-50%);
  display:block;
  z-index:3;
  pointer-events:none;
}
.header-logo-overlap{display:flex;flex-direction:column;align-items:center;}
.header-logo-overlap__date{margin-top:-24px;padding:6px 12px;font-size:14px;line-height:1;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.9);background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.16);border-radius:999px;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);text-shadow:0 2px 10px rgba(0,0,0,.55);}
@media (max-width: 980px){.header-logo-overlap__date{margin-top:-18px;font-size:12px;padding:5px 10px;}}
.header-logo-overlap img{
  height: 480px; /* doubled */
  width:auto;
  display:block;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.55)) drop-shadow(0 0 36px rgba(28,204,113,.12));
}

/* Spacer inside the menu so links don't sit behind the large logo */
.menu-spacer{
  flex:0 0 520px;
  width:520px;
  pointer-events:none;
}

/* Desktop */
@media (min-width: 981px){
  .header-dateimg{display:block;}
  .header .nav::after{ display:none; }
}

/* Larger logo on very wide screens */
@media (min-width: 1200px){
  .header-logo-overlap img{ height: 520px; }
}

/* Mobile: logo still protrudes, but must not block the burger menu */
@media (max-width: 980px){
  .menu-spacer{ display:none; }
  .header-logo-overlap{
    /* mobile: push the big logo a bit further down so it doesn't clash with header UI */
    top:12px;
    transform: translateX(-50%);
    z-index:1;
    pointer-events:none;
  }
  .header-logo-overlap img{ height: 260px; transition: height .22s ease; }
  /* When scrolling down on mobile, make the logo a bit smaller; grow back when scrolling up */
  .header.is-scrolled .header-logo-overlap img{ height: 210px; }
  body.menu-open .header-logo-overlap{ opacity:0; visibility:hidden; }
  /* ensure header UI (menu button + date graphic) stays above the decorative logo */
  .menu-toggle{ position:relative; z-index:30; }
  .header-dateimg{ position:relative; z-index:25; }
}

/* Make sure content starts below the larger overlapping logo */
.hero{ padding-top: 210px; }
@media (min-width: 960px){
  .hero{ padding-top: 260px; }
}

@media (max-width: 680px){.footer .row{flex-direction:column;align-items:center;text-align:center;}.footer-meta{flex-direction:column;gap:8px;}.footer-meta__links{justify-content:center;}.footer .newsletter{justify-content:center;align-items:center;width:100%;}}

/* Desktop menu overlay */
@media (min-width:981px){
  .menu.open{
    display:flex;
    position:fixed;
    top: var(--header-row);
    left:50%;
    transform:translateX(-50%);
    width:min(calc(100% - 32px), 1160px);
    padding:12px 18px;
    background:rgba(0,0,0,.78);
    border:1px solid rgba(255,255,255,.14);
    border-radius:999px;
    backdrop-filter: blur(10px);
    z-index:95;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;
    box-shadow:0 12px 28px rgba(0,0,0,.38);
    animation: menuSlide .18s ease-out;
  }
  @keyframes menuSlide{from{opacity:0; transform:translate(-50%,-8px);}to{opacity:1; transform:translate(-50%,0);}}
}

/* Home hero card gradient */
.page.home .hero-card{
  background:
    linear-gradient(135deg, rgba(255,64,191,.22) 0%, rgba(0,255,240,.16) 42%, rgba(255,140,0,.18) 100%),
    rgba(0,0,0,.55);
  border-color: rgba(255,255,255,.18);
}

/* === Update33: Desktop header graphic + animated desktop menu (Variante B) === */
@media (min-width: 981px) {
  /* Give the desktop header a bit more vertical room so the date graphic can breathe */
  :root { --header-row: 92px; }

  /* Left header date graphic (datum_bunt.png) larger, roughly header height */
  .header-dateimg {
    display: block;
    height: calc(var(--header-row) - 10px);
    width: auto;
    max-width: 33vw;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
  }

  /* Desktop menu: hidden behind the button, then expands into a long horizontal bar */
  .menu {
    display: flex;                 /* override earlier display:none */
    position: fixed;
    left: 50%;
    top: calc(var(--header-row) - 18px);
    transform: translate(-50%, -10px);

    width: min(1100px, calc(100vw - 64px));
    flex-direction: row;
    flex-wrap: wrap;               /* allow wrapping on narrower desktop widths */
    justify-content: center;
    align-items: center;
    gap: 14px 18px;

    background: rgba(10, 10, 12, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.55),
      inset 0 0 0 1px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);

    overflow: hidden;
    max-height: 0;                 /* collapsed */
    padding: 0 18px;
    opacity: 0;
    pointer-events: none;

    z-index: 120;                  /* above logo + overlay */

    transition:
      max-height 320ms ease,
      opacity 200ms ease,
      transform 320ms ease,
      padding 320ms ease;
  }

  .menu.open {
    max-height: 260px;             /* enough for wrapping */
    padding: 12px 18px;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
}

/* =============================
   Update 34: Header + Home mobile alignment
   ============================= */

/* Desktop: make datum_bunt.png (header-dateimg) ~2x bigger */
@media (min-width: 981px) {
  .header-dateimg {
    height: calc((var(--header-row) - 6px) * 2);
    max-height: 172px;
    width: auto;
  }
}

/* Mobile: keep the nice mobile menu, keep burger accessible,
   and make datum_bunt.png large + readable near the top edge */
@media (max-width: 980px) {
  .header-inner {
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: calc(env(safe-area-inset-top, 0px) + 132px);
  }

  .menu-toggle {
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    right: 12px;
    z-index: 30;
  }

  .header-dateimg {
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 2px);
    left: 50%;
    transform: translateX(-50%);
    display: block !important;
    height: 118px;
    width: auto;
    max-width: 88vw;
    margin: 0;
    z-index: 20;
    pointer-events: none;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.65));
  }

  .header .brand {
    position: relative;
    left: auto;
    transform: none;
    z-index: 15;
    margin-top: 6px;
  }
}

/* Home (mobile): place YouTube centered under the Plakatreveal block */
@media (max-width: 980px) {
  .page.home .hero-bottom {
    grid-template-columns: 1fr;
  }
  .page.home .yt {
    justify-self: center;
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* === Update38: Subpage logo size + graphic headings === */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

.rz-heading-img{display:flex;justify-content:center;align-items:center;margin:0 0 14px;padding:0 14px}
.rz-heading-img img{width:min(780px,92vw);height:auto;filter:drop-shadow(0 10px 24px rgba(0,0,0,.45))}

/* Subpage title images: smaller and sitting "on the background" (not on a dark panel) */
.rz-heading-img--small img{width:min(390px,88vw)}

/* Wrapper for floating title images above the first panel */
.page-heading{display:flex;justify-content:center;align-items:center;margin:2px 0 10px}
.page-heading .rz-heading-img{margin:0}

/* Keep the big logo on the home page, but make it smaller on all other pages (desktop only). */
@media (min-width:981px){
  .page:not(.home) .header-logo-overlap img{height:240px}
  .page:not(.home) .header-logo-overlap{top:-22px}
  /* Reduce the gap between header/logo and the subpage heading graphic */
  .page:not(.home) .hero{padding-top:58px}
}
@media (min-width:1200px){
  .page:not(.home) .header-logo-overlap img{height:260px}
  .page:not(.home) .hero{padding-top:66px}
}

/* === Update44: Mobile header spacing + Home Plakatreveal countdown look === */

/* Mobile: separate date graphic (datum_bunt.png) and the big logo a bit more */
@media (max-width: 980px){
  .header-logo-overlap{ top: 44px; }
  /* when scrolled the logo shrinks; keep it slightly higher so the header doesn't feel too tall */
  .header.is-scrolled .header-logo-overlap{ top: 34px; }
}

/* Mobile home: close the gap between the hanging logo and the first text block */
@media (max-width: 980px){
  .page.home .hero{ padding-top: 172px; }
}
@media (max-width: 420px){
  .page.home .hero{ padding-top: 162px; }
}

/* Home: make the Plakatreveal countdown colorful (in the spirit of rz-logo.png) */
.page.home .card--countdown .pill--countdown{
  position: relative;
  background:
    radial-gradient(circle at 15% 25%, rgba(255, 140, 0, .35), rgba(255, 140, 0, 0) 45%),
    radial-gradient(circle at 80% 20%, rgba(255, 40, 190, .30), rgba(255, 40, 190, 0) 48%),
    radial-gradient(circle at 30% 90%, rgba(0, 220, 255, .28), rgba(0, 220, 255, 0) 52%),
    radial-gradient(circle at 90% 85%, rgba(255, 235, 120, .22), rgba(255, 235, 120, 0) 55%),
    linear-gradient(135deg, rgba(20, 12, 26, .68), rgba(10, 10, 14, .62));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10) inset,
    0 18px 45px rgba(0,0,0,.45),
    0 0 26px rgba(255, 110, 0, .18),
    0 0 28px rgba(0, 220, 255, .14),
    0 0 30px rgba(255, 40, 190, .12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Paint-like glow rim */
.page.home .card--countdown .pill--countdown::before{
  content:"";
  position:absolute;
  inset:-4px;
  border-radius:inherit;
  background:
    conic-gradient(from 210deg,
      rgba(255, 140, 0, .55),
      rgba(255, 40, 190, .42),
      rgba(0, 220, 255, .44),
      rgba(255, 235, 120, .40),
      rgba(255, 140, 0, .55));
  filter: blur(14px);
  opacity: .22;
  z-index:-1;
}

/* Subtle "canvas" texture lines */
.page.home .card--countdown .pill--countdown::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,.08) 0,
    rgba(255,255,255,.08) 1px,
    rgba(0,0,0,0) 1px,
    rgba(0,0,0,0) 7px);
  opacity: .12;
  pointer-events:none;
  mix-blend-mode: overlay;
}

.page.home .pill--countdown .countdown-label{
  text-shadow:
    0 0 14px rgba(255, 140, 0, .22),
    0 0 14px rgba(0, 220, 255, .18),
    0 0 14px rgba(255, 40, 190, .16);
}

.page.home .pill--countdown strong[data-countdown-target]{
  color: rgba(255,255,255,.96);
  text-shadow:
    0 0 12px rgba(255, 140, 0, .32),
    0 0 14px rgba(0, 220, 255, .26),
    0 0 16px rgba(255, 40, 190, .20),
    0 10px 26px rgba(0,0,0,.55);
}


/* --- Mobile background images (portrait versions) --- */
@media (max-width: 680px){
  .page.home{ --bg-mobile: url('/assets/img/RambazambaIsland-MobileBackgrounds/01-home-mobile.png'); }
  .page.fassaufmachn{ --bg-mobile: url('/assets/img/RambazambaIsland-MobileBackgrounds/02-fassaufmachn-mobile.png'); }
  .page.kinder-familienfest{ --bg-mobile: url('/assets/img/RambazambaIsland-MobileBackgrounds/03-kinder-familienfest-mobile.png'); }
  .page.clubnacht{ --bg-mobile: url('/assets/img/RambazambaIsland-MobileBackgrounds/04-clubnacht-mobile.png'); }
  .page.anfahrt{ --bg-mobile: url('/assets/img/RambazambaIsland-MobileBackgrounds/05-anfahrt-mobile.png'); }
  .page.traktorpulling{ --bg-mobile: url('/assets/img/RambazambaIsland-MobileBackgrounds/06-traktorpulling-mobile.png'); }

  /* keep the focus similar across devices */
  .page{ background-position:center; }
}


/* === Update: Logo sizes === */
/* Mobile: rz-logo (hanging header logo) ~20% smaller on all pages */
@media (max-width: 980px){
  .header-logo-overlap img{
    height: 384px !important; /* was 480px */
  }
}

/* Desktop: Home (index) logo ~30% smaller so it doesn't cover the date */
@media (min-width: 981px){
  .page.home .header-logo-overlap img{
    height: 336px !important; /* 70% of 480px */
  }
}
@media (min-width: 1200px){
  .page.home .header-logo-overlap img{
    height: 364px !important; /* 70% of 520px */
  }
}


/* --- PATCH: Mobile-Logo kleiner (rz-logo.png) --- */
@media (max-width: 980px){
  .header .brand-logo{
    height: 36px !important; /* was 56px, reduces ~35% */
    max-height: 36px !important;
    width: auto !important;
  }
}

/* --- PATCH: Kinderfest Attraktionen-Überschrift besser lesbar --- */
.page.kinder-familienfest .kids-attractions h3{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif !important;
  letter-spacing: .2px !important;
  font-weight: 800;
  text-transform: none;
}
.page.kinder-familienfest .kids-attractions h3 small{
  font-family: inherit !important;
  font-weight: 700;
  opacity: .85;
}

/* === FIX: rz-logo.png in Mobile deutlich kleiner (>= 50%) === */
@media (max-width: 980px){
  /* Das große, hängende Header-Logo (rz-logo.png) */
  .header-logo-overlap img{
    height: 190px !important;   /* vorher 384px -> jetzt ~50% kleiner */
    width: auto !important;
    max-width: 86vw !important; /* verhindert, dass es quer zu fett wird */
  }

  /* Optional: falls das kleine Logo in der Kopfzeile ebenfalls rz-logo.png ist */
  .header .brand-logo{
    height: 28px !important;    /* zusätzlicher Mobile-Fix */
    width: auto !important;
  }
}

/* === Clubnacht: Countdown rechts neben Text (Desktop) === */
.clubnacht .clubnacht-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.clubnacht .clubnacht-side{
  position: sticky;
  top: 110px; /* Abstand unter Header */
  display: grid;
  gap: 16px;
}

.clubnacht .countdown-card__title{
  margin: 0 0 10px 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.clubnacht .countdown-card .pill--countdown{
  justify-content: center;
  width: 100%;
}

.clubnacht .countdown-card__hint{
  margin-top: 10px;
  opacity: .85;
}

/* Mobile: Spalten stapeln */
@media (max-width: 980px){
  .clubnacht .clubnacht-grid{
    grid-template-columns: 1fr;
  }
  .clubnacht .clubnacht-side{
    position: static;
    order: -1; /* Countdown oben anzeigen */
  }
}

/* === Clubnacht: 2-Spalten Layout (Text links, Floors rechts) === */
.clubnacht .clubnacht-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  margin-top: 12px;
  align-items: start;
}

/* Linke Spalte: Text sauber untereinander */
.clubnacht .clubnacht-copy{
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

/* Rechte Spalte: Floors sichtbar halten, ohne viel Scrollen */
.clubnacht .clubnacht-right{
  position: sticky;
  top: 110px;      /* unter Header */
  align-self: start;
  display: grid;
  gap: 14px;
}

/* Mobile: erst Floors (Countowns), dann Text */
@media (max-width: 980px){
  .clubnacht .clubnacht-layout{
    grid-template-columns: 1fr;
  }
  .clubnacht .clubnacht-right{
    position: static;
    order: -1;
  }
  .clubnacht .two-floors-badge{
    text-align: left;
  }
}

/* === FIX: Countdown-Pillen skalieren (Desktop) + Mobile bleibt 2-spaltig === */
.clubnacht .floor .pill--countdown--club{
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  overflow: hidden; /* verhindert, dass Text visuell aus der Pille „rausläuft“ */
}

.clubnacht .floor .pill--countdown--club .countdown-label{
  font-size: 0.9rem;
  white-space: nowrap;
  flex: 0 0 auto;
  opacity: .9;
}

.clubnacht .floor .pill--countdown--club strong{
  font-size: clamp(1.05rem, 2.0vw, 1.35rem); /* Desktop kleiner, aber responsive */
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* In der rechten Spalte etwas kompakter, damit nichts überläuft */
.clubnacht .clubnacht-right .floor h2{
  font-size: 1.1rem;
}

/* Mobile: 2 Spalten nebeneinander (kein Stack) */
@media (max-width: 980px){
  .clubnacht .clubnacht-layout{
    grid-template-columns: minmax(0, 1fr) minmax(0, 46vw);
    gap: 12px;
  }

  .clubnacht .clubnacht-right{
    position: static; /* sticky auf Mobile meist unpraktisch */
  }

  .clubnacht .floor{
    padding: 14px;
  }

  .clubnacht .floor .pill--countdown--club strong{
    font-size: clamp(0.95rem, 4.0vw, 1.15rem); /* kleinere Phones */
  }

  .clubnacht .floor .pill--countdown--club .countdown-label{
    font-size: 0.82rem;
  }
}

/* Sehr kleine Displays: weiterhin 2-spaltig, aber noch kompakter */
@media (max-width: 380px){
  .clubnacht .clubnacht-layout{
    grid-template-columns: minmax(0, 1fr) minmax(0, 52vw);
  }
  .clubnacht .floor .pill--countdown--club{
    padding: 8px 10px;
    gap: 8px;
  }
  .clubnacht .floor .pill--countdown--club strong{
    font-size: 0.98rem;
  }
}

/* === Clubnacht: Floors klar separieren + Countdown zentriert === */
.clubnacht .clubnacht-right{
  gap: 18px;
}

.clubnacht .clubnacht-right .floor{
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 16px;
}

.clubnacht .clubnacht-right .floor + .floor{
  margin-top: 10px;
}

.clubnacht .floor .pill--countdown--club{
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  text-align: center;
}

.clubnacht .floor .pill--countdown--club .countdown-label,
.clubnacht .floor .pill--countdown--club strong{
  min-width: 0;
  white-space: nowrap;
}

.clubnacht .floor .pill--countdown--club .countdown-label{
  font-size: 0.9rem;
  opacity: .9;
}

.clubnacht .floor .pill--countdown--club strong{
  font-size: clamp(1.0rem, 1.6vw, 1.25rem);
  line-height: 1;
}

/* Mobile: Label oben, Zahlen unten – zentriert */
@media (max-width: 980px){
  .clubnacht .clubnacht-layout{
    grid-template-columns: minmax(0, 1fr) minmax(0, 46vw);
    gap: 12px;
  }

  .clubnacht .clubnacht-right{
    gap: 12px;
  }

  .clubnacht .clubnacht-right .floor{
    padding: 14px;
  }

  .clubnacht .floor .pill--countdown--club{
    flex-direction: column;
    gap: 6px;
    padding: 10px 10px;
  }

  .clubnacht .floor .pill--countdown--club .countdown-label{
    font-size: 0.78rem;
    line-height: 1.1;
  }

  .clubnacht .floor .pill--countdown--club strong{
    font-size: clamp(0.90rem, 3.2vw, 1.05rem);
    line-height: 1;
  }
}

@media (max-width: 380px){
  .clubnacht .clubnacht-layout{
    grid-template-columns: minmax(0, 1fr) minmax(0, 52vw);
  }

  .clubnacht .floor .pill--countdown--club{
    padding: 9px 9px;
  }

  .clubnacht .floor .pill--countdown--club strong{
    font-size: 0.92rem;
  }
}


.clubnacht .floor .pill--countdown--club strong{
    letter-spacing: 0 !important;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    font-size: clamp(0.78rem, 2.9vw, 0.95rem) !important;
    max-width: 100%;
  }

  .clubnacht .floor .pill--countdown--club .countdown-label{
    font-size: 0.74rem !important;
  }
}

/* === HOTFIX v2: Countdown sitzt garantiert sauber in der Pille (Mobile) === */
@media (max-width: 980px){
  /* Pille selbst: genug Innenabstand + echtes Zentrieren */
  .clubnacht .floor .pill--countdown--club{
    box-sizing: border-box;
    width: 100%;
    padding: 10px 10px !important;  /* mehr „Luft“ zur Kante */
    overflow: hidden !important;    /* clippt sauber innerhalb der Rundung */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Label */
  .clubnacht .floor .pill--countdown--club .countdown-label{
    display: block !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.06em;         /* wirkt ruhiger bei Caps */
  }

  /* Zahlen: block + harte Line-Height, damit nix „überhängt“ */
  .clubnacht .floor .pill--countdown--club strong{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    font-size: 0.90rem !important;  /* FIXED statt clamp: garantiert passend */
  }
}

/* Sehr kleine Displays: noch kleiner, aber weiterhin gut lesbar */
@media (max-width: 380px){
  .clubnacht .floor .pill--countdown--club strong{
    font-size: 0.82rem !important;
  }
}

/* === Redesign: Floor-Kacheln mit eigener Hintergrundgrafik + Countdown sauber darauf === */
.clubnacht .clubnacht-right .floor{
  position: relative;
  background-image: var(--floorbg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  min-height: 340px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
}

/* dunkler Overlay für Lesbarkeit */
.clubnacht .clubnacht-right .floor::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.70) 100%);
  pointer-events: none;
}

.clubnacht .clubnacht-right .floor > *{
  position: relative;
  z-index: 1;
}

.clubnacht .clubnacht-right .floor h2{
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.15;
  text-shadow: 0 6px 20px rgba(0,0,0,0.45);
}

/* Countdown: eigene Box (statt Pill-Optik) */
.clubnacht .clubnacht-right .meta--center{
  margin-top: 12px;
}

.clubnacht .clubnacht-right .pill--countdown--club{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Label + Zahlen */
.clubnacht .clubnacht-right .pill--countdown--club .countdown-label{
  font-size: 0.80rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: .9;
}

.clubnacht .clubnacht-right .pill--countdown--club strong{
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  letter-spacing: 0;
  line-height: 1;
  font-size: clamp(1.0rem, 2.2vw, 1.55rem);
  white-space: nowrap;
}

/* Line-up-Items im Floor */
.clubnacht .clubnacht-right .floor .hint{
  margin: 10px 0 6px 0;
  opacity: .9;
}

.clubnacht .clubnacht-right .floor .dj{
  display: inline-block;
  margin: 4px 6px 0 0;
}

/* Mobile: weiterhin 2 Spalten; Floors werden kompakter und Countdown garantiert passend */
@media (max-width: 980px){
  .clubnacht .clubnacht-right .floor{
    min-height: 260px;
    padding: 12px;
    border-radius: 18px;
  }

  .clubnacht .clubnacht-right .floor h2{
    font-size: 1.05rem;
  }

  .clubnacht .clubnacht-right .pill--countdown--club{
    padding: 10px 10px;
    border-radius: 16px;
  }

  .clubnacht .clubnacht-right .pill--countdown--club strong{
    font-size: 0.92rem; /* FIXED: passt immer */
  }

  .clubnacht .clubnacht-right .pill--countdown--club .countdown-label{
    font-size: 0.70rem;
  }
}

@media (max-width: 380px){
  .clubnacht .clubnacht-right .pill--countdown--club strong{
    font-size: 0.84rem;
  }
}

/* === Fix: Floors wirklich untereinander + Line-up Label über Mainfloor === */
.clubnacht .clubnacht-right{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clubnacht .clubnacht-right .lineup-label{
  margin: 0 0 2px 0;
  opacity: .9;
}

.clubnacht .clubnacht-right .floor{
  margin: 0; /* verhindert, dass irgendwas kollabiert/überlappt */
}

