:root {
    --font-main: 'Montserrat', sans-serif;
    --color-text: #2c3e50;
    --color-primary: #e74c3c;
    --color-bg: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;

    --nav-h: 78px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;

    padding-top: var(--nav-h);
}


a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 18px;
    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.22);
}

.brand-logo { height: 34px; width: auto; display: block; }

.brand-sub{display:inline-block;margin-left:10px;font-size:12px;letter-spacing:0.5px;opacity:.75;white-space:nowrap;}


.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--color-primary);
    color: white;
}

.nav-menu {
    display: flex;
    gap: 5px;
    list-style: none;
}

/* wrapper for scrollable nav on mobile (desktop stays unchanged) */
.nav-scroll{
    display:flex;
    align-items:center;
}
.nav-arrow{ display:none; }

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 18px;
    transition: var(--transition);
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.2);
}

.nav-link:hover, .nav-link.active {
    background: rgba(0,0,0,0.55);
    color: white;
    border-color: rgba(0,0,0,0.25);
}

/* HERO SECTIONS */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

/* VENDORS (OLD-STYLE TILES) */
.vendors-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px;
}

.vendor-tile {
    display: block;
    text-decoration: none;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.18);
    transition: var(--transition);
}

.vendor-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

.vendor-tile img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.vendor-tile-name {
    padding: 12px 12px 14px;
    font-weight: 600;
    text-align: center;
    color: var(--color-text);
}

.hero video, .hero-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.22);
    padding: 22px 26px;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    box-shadow: var(--glass-shadow);
}

/* Ensure logo is perfectly centered in the home hero */
body[data-page="home"] .hero-content{
  display:flex;
  flex-direction:column;
  align-items:center;
}
body[data-page="home"] .hero-logo{
  display:block;
  margin: 0 auto 14px;
  max-width: 190px;
  width: min(190px, 42vw);
  height: auto;
}

.hero-content p { opacity: 0.92; }

/* EVENT DETAIL HERO */
.event-hero {
    height: 60vh;
    position: relative;
    margin-top: 80px;
}
.event-hero-bg {
    width: 100%; height: 100%;
    object-fit: cover;
}
.event-info-panel {
    position: absolute;
    right: 5%;
    bottom: 5%;
    width: 350px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 15px;
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* SECTIONS */
.section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

/* CURRENT EVENT HOME */
.current-event-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.current-event-img {
    width: 100%;
    border-radius: 20px;
    height: 400px;
    object-fit: cover;
}

.current-event-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    position: relative;
}

.badge{ 
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--color-primary);
    color: #fff;
}

.meta-free{
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(17,24,39,0.70);
  text-transform: none;
}
/* optional floating badge (only where explicitly used) */
.badge--floating{
    position: absolute;
    top: 20px; right: 20px;
}

.countdown {
    margin: 20px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-variant-numeric: tabular-nums;
}

/* VENDOR GRID */
.vendor-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    font-family: var(--font-main);
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-text);
    color: white;
    border-color: var(--color-text);
}

.vendor-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
/* Responsive Grid */
@media (max-width: 1024px) { .vendor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .vendor-grid { grid-template-columns: repeat(2, 1fr); } }

.vendor-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    opacity: 0; /* for animation */
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.vendor-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.vendor-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.vendor-card:hover img {
    transform: scale(1.1);
}

.vendor-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
}

.vendor-cat {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-top: 5px;
}

/* EVENT CARDS */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.event-card:hover { transform: translateY(-5px); }

.event-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.event-card-body {
    padding: 20px;
}

.btn {
    display: inline-block;
    background: var(--color-text);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--color-primary);
}

.btn-small {
    padding: 5px 15px;
    font-size: 0.8rem;
}

/* CATERING */
.services-grid, .occasions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}
.service-card, .occasion-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* TIMELINE */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-img { width: 50%; border-radius: 15px; overflow: hidden; }
.timeline-content { width: 50%; padding: 0 40px; }

/* FOOTER */
footer {
    background: white;
    padding: 60px 5% 30px;
    border-top: 1px solid #eee;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}
.sponsors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sponsor-pill {
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #666;
}
.newsletter-form {
    display: flex;
    gap: 10px;
}
.newsletter-form input {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    width: 250px;
}
.success-msg {
    color: #27ae60;
    font-size: 0.9rem;
    margin-top: 10px;
    display: none;
}

/* FORMS */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 10px; }
    .nav-menu { flex-wrap: wrap; justify-content: center; }
    .current-event-wrapper { grid-template-columns: 1fr; }
    .current-event-img { height: 250px; }
    .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; }
    .timeline-img, .timeline-content { width: 100%; padding: 0; margin-bottom: 20px; }
    .event-info-panel { position: relative; width: 100%; right: auto; bottom: auto; margin-top: -50px; }
}

@media (prefers-reduced-motion: reduce) {
    *, .vendor-card, .timeline-item {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}


/* Brand logo in header */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand-logo {
    height: 44px;
    width: auto;
    display: block;
}
.brand-text {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.2px;
}
@media (max-width: 720px) {
    .brand-logo { height: 40px; }
    .brand-text { display: none; }
}



/* ===== PATCH: Vendors layout (5 per row) + Navbar no-wrap ===== */
.nav-link { white-space: nowrap; }
.navbar .nav-center, .navbar .nav-right { flex-wrap: wrap; }

/* Support our generated markup */
.vendors-grid{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1200px){ .vendors-grid{ grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 980px){ .vendors-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 720px){ .vendors-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 420px){ .vendors-grid{ grid-template-columns: 1fr; } }

.vendor-card{
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.35);
}
.vendor-card-image img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display:block;
}
.vendor-card-body{ padding: 14px 14px 16px; }
.vendor-card-body h3{ margin: 0 0 6px; font-size: 1rem; line-height: 1.2; }
.vendor-tags{ margin: 0 0 10px; opacity: .85; font-size: .85rem; }
.vendor-actions{ margin-top: 12px; display:flex; gap:10px; flex-wrap:wrap; }



/* NAVBAR (Glass -> Solid on scroll) */
.navbar{
    height: var(--nav-h);
    padding: 12px 0;
    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.navbar.scrolled{
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 10px 30px rgba(15,23,42,0.10);
}

body.has-hero{ padding-top: 0 !important; }

/* Hero video should cover from top */
.hero{
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}
.hero video{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero .hero-content{
    position: relative;
    z-index: 2;
}

/* Remove "Bestätigt" badge on event cards */
.event-card .badge{ 
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--color-primary);
    color: #fff;
}
/* optional floating badge (only where explicitly used) */
.badge--floating{
    position: absolute;
    top: 20px; right: 20px;
}

/* Ensure absolute badges don't escape cards (fallback) */
.event-card{ position: relative; }


/* AKTUELLES EVENT — full-bleed section (home) */
.ae-section{
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: var(--ae-bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.ae-overlay{
  position:absolute; inset:0;
  background: linear-gradient(120deg, rgba(0,0,0,0.60), rgba(0,0,0,0.18));
}

.ae-shell{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 5% 80px; /* space for fixed header */
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: start;
}

.ae-kicker{ color:#fff; opacity:.9; font-size: 14px; letter-spacing:.02em; }
.ae-title h2{ margin:8px 0 6px; color:#fff; font-size: 56px; line-height: 1.02; }
.ae-meta{ color:#fff; opacity:.9; margin-bottom: 6px; }
.ae-date{ color:#fff; opacity:.9; margin-bottom: 18px; }

.ae-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 14px; }

.ae-btn{
  display:inline-block;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration:none;
  color:#fff;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.20);
}
.ae-btn.primary{
  background: rgba(255,255,255,0.92);
  color:#111;
  border-color: rgba(255,255,255,0.60);
}

.ae-countdown{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 14px;
  color:#fff;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: 6px;
}

.ae-cards{ display:grid; gap: 14px; }

.ae-glass{
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color:#fff;
}

/* HOME: Aktuelles Event – remove glass background under info text */
body[data-page="home"] #aktuelles-event .ae-glass{
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body[data-page="home"] #aktuelles-event .ae-glass h3,
body[data-page="home"] #aktuelles-event .ae-glass li,
body[data-page="home"] #aktuelles-event .ae-glass p{
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.ae-glass h3{ margin:0 0 10px; font-size: 16px; }
.ae-glass ul{ margin:0; padding-left: 18px; }
.ae-glass p{ margin:0 0 12px; opacity: .95; }

@media (max-width: 920px){
  .ae-shell{ grid-template-columns: 1fr; }
  .ae-title h2{ font-size: 42px; }
}


/* ===== Page Intro Glass (auto-wrapped by app.js) ===== */
.page-intro {
  max-width: 1200px;
  margin: 110px auto 28px;
  padding: 0 5%;
}
.page-intro .page-intro-glass{
  display: inline-block;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.28);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
  text-align: center;
}
.page-intro h1{
  margin: 0;
}
.page-intro p{
  margin: 8px 0 0;
  opacity: 0.9;
}


/* Home hero badge */
.hero .hero-badge{display:inline-block;margin-bottom:12px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,0.28);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,0.25);font-weight:600;}






/* =========================
   HOTFIX v1.7
   Fix: logo disappeared + home hero not full height
   ========================= */

/* Force home hero to be full screen */
body[data-page="home"].has-hero .hero{
  min-height: 100vh !important;
}

/* Make sure hero starts at top on ALL hero pages */
body.has-hero{ padding-top: 0 !important; }

/* Logo animation that NEVER leaves it invisible */
.hero-logo{
  opacity: 1 !important;
  transform: none !important;
  animation: heroLogoIn 700ms cubic-bezier(.2,.8,.2,1) both !important;
}
@keyframes heroLogoIn{
  from{ opacity: 0; transform: scale(0.95); }
  to{ opacity: 1; transform: scale(1); }
}

/* Home/Index hero logo sizing (avoid oversized logo on desktop) */
body[data-page="home"] .hero-logo,
body[data-page="index"] .hero-logo{
  width: min(38vw, 130px) !important;
  max-width: 130px !important;
  height: auto;
}

/* =========================
   FINAL OVERRIDES v1.8 (Home hero full-screen)
   ========================= */

/* First view = ONLY hero */
body[data-page="home"] header.hero,
body[data-page="home"] .hero{
  height: 100vh !important;
  min-height: 100vh !important;
}

/* Next section must not overlap upward */
body[data-page="home"] #aktuelles-event{
  margin-top: 0 !important;
}

/* Remove any negative overlaps that may exist from previous edits */
body[data-page="home"] .ae-section{
  margin-top: 0 !important;
}

/* =========================
   HOME: NEXT 3 EVENTS (3 full-bleed tiles)
   ========================= */

.home-next-events{
  padding: 0 0 40px;
}

.home-events-grid{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5% 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 980px){
  .home-events-grid{ grid-template-columns: 1fr; }
}

/* Single-tile grid helper (Awards teaser/page)
   Prevents the single tile from only occupying 1/3 width. */
.home-events-grid--single{
  grid-template-columns: 1fr !important;
}
.home-events-grid--single .home-event-tile{
  grid-column: 1 / -1;
}

.home-event-tile{
  position: relative;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 18px 50px rgba(15,23,42,0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.home-event-tile::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,0,0,0.15));
}
.home-event-tile:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(15,23,42,0.22);
}

.home-event-glass{
  position: relative;
  z-index: 1;
  width: calc(100% - 28px);
  margin: 14px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.home-event-city{ font-size: 26px; font-weight: 800; line-height: 1.05; margin-bottom: 6px; }
.home-event-meta{ opacity: .92; font-weight: 500; }

/* =========================
   HOME: 3 EVENTS GRID (static fallback)
   ========================= */
.home-next-events{
  padding: 70px 5%;
  background: #fff;
}
.home-next-events__head{
  max-width: 1200px;
  margin: 0 auto 18px;
  text-align:center;
}
.section-subtitle{ opacity:.85; margin-top:10px; }
.home-events-grid{
  max-width: 1200px;
  margin: 26px auto 0;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 980px){ .home-events-grid{ grid-template-columns: 1fr; } }

.home-event-tile{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 380px;
  display:flex;
  align-items: flex-end;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(15,23,42,0.10);
}
.home-event-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
}
.home-event-glass{
  position: relative;
  z-index: 2;
  margin: 16px;
  width: calc(100% - 32px);
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 16px 16px 14px;
  color: #fff;
}
.home-event-kicker{ font-size: 13px; letter-spacing:.02em; opacity:.9; }
.home-event-glass h3{ margin: 6px 0 8px; font-size: 28px; line-height: 1.05; }
.home-event-meta,.home-event-date{ opacity:.92; margin-bottom:6px; }
.home-event-actions{ margin-top: 10px; }
.home-event-actions .btn{ display:inline-block; }

/* HERO logo: fix centering + size */
.hero-logo-wrap{ display:flex; justify-content:center; }
.hero-logo-img{ width: 120px; max-width: 34vw; height:auto; display:block; }



/* HOME HOTFIX v1_13: ensure centered hero logo + valid sizing */
.hero-content{display:flex;flex-direction:column;align-items:center;justify-content:center;}
.hero-logo-wrap{display:flex;justify-content:center;align-items:center;}
.hero-logo-img{display:block;margin:0 auto;width:140px;max-width:40vw;height:auto;border-radius:999px;}

/* =========================
   Navbar: transparent on hero, white after scroll
   ========================= */
body[data-page="index"]{ padding-top: 0 !important; }

/* Any page with hero should start at very top (navbar overlays hero) */
body.has-hero{ padding-top: 0 !important; }

.navbar{ background: transparent !important; box-shadow: none !important; border-color: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.navbar.scrolled{ background: rgba(255,255,255,0.92) !important; box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important; backdrop-filter: blur(14px) !important; -webkit-backdrop-filter: blur(14px) !important; }

/* No pill background before scroll */
.navbar:not(.scrolled) .nav-link{ background: transparent !important; border-color: transparent !important; color: rgba(255,255,255,0.92) !important; }
.navbar:not(.scrolled) .nav-link.active{ background: transparent !important; border-color: transparent !important; }
.navbar:not(.scrolled) .nav-link:hover{ background: rgba(0,0,0,0.25) !important; }

/* Brand container: no frame before scroll */
.navbar:not(.scrolled) .brand{ background: transparent !important; border: none !important; padding: 0 !important; }

/* Hero content without glass */
.hero-content.hero-content--plain{ background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* Fullscreen hero background video */
/* Fullscreen hero: 2x vertical reels + center image (no stretch) */
.hero.hero--fullscreen .hero-media-grid{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:flex;
  flex-direction:row;
  align-items:stretch;
  justify-content:stretch;
  z-index:0;
}
.hero-media-grid > *{
  min-width:0;
  min-height:0;
}

.hero.hero--fullscreen .hero-media{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  display:block;
  background:#000;
}
.hero.hero--fullscreen .hero-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.55);
  z-index:1;
}
.hero.hero--fullscreen .hero-content{
  position:relative;
  z-index:2;
}
@media (max-width: 900px){
  .hero.hero--fullscreen .hero-media-grid{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:flex;
  flex-direction:row;
  align-items:stretch;
  justify-content:stretch;
  z-index:0;
}
}

.hero.hero--fullscreen{ min-height: 100vh !important; height: 100vh !important; }
.hero.hero--fullscreen .hero-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }

/* =========================
   HOME: Next Events — NO glass background
   ========================= */
.home-next-events{ background: #fff; }
.home-next-events .home-event-glass{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  margin: 0 0 18px !important;
  width: 100% !important;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap: 6px;
}
.home-next-events .home-event-kicker{ display:none !important; }
.home-next-events .home-event-actions{ display:none !important; }
.home-next-events .home-event-glass h3{ font-size: 22px !important; margin: 0 !important; }
.home-next-events .home-event-meta,
.home-next-events .home-event-date{ font-size: 14px !important; margin: 0 !important; opacity: .96 !important; }
.home-next-events .home-event-meta,
.home-next-events .home-event-date,
.home-next-events .home-event-glass h3{ text-shadow: 0 6px 18px rgba(0,0,0,0.55); }

@media (max-width: 980px){
  .home-next-events .home-event-glass h3{ font-size: 18px !important; }
  .home-next-events .home-event-meta,
  .home-next-events .home-event-date{ font-size: 13px !important; }
}

/* =========================
   HOME: bigger event tiles + minimal text pills
   ========================= */

.home-next-events{
  padding: 44px 3% 56px !important;
  background: transparent !important;
}

.home-events-grid{
  max-width: 1400px !important;
  gap: 22px !important;
  margin-top: 26px !important;
}

.home-event-tile{
  min-height: 460px !important;
}

/* Replace big glass card with small line-pills so image stays visible */
.home-event-glass.home-event-glass--pills{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  align-items: flex-start !important;
  max-width: 78% !important;
}

.home-event-glass.home-event-glass--pills .pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.home-event-glass.home-event-glass--pills .pill--title{
  border-radius: 18px;
  padding: 12px 16px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-event-glass.home-event-glass--pills .pill--cta{
  margin-top: 6px;
  background: rgba(15,23,42,0.62);
  border-color: rgba(255,255,255,0.18);
  font-weight: 700;
}

/* =========================
   HOME / AWARDS: stacked text overlay (stronger than pills)
   ========================= */

.home-event-glass.home-event-glass--stacked{
  /* Text directly on image (no glass background) */
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 22px 22px 20px !important;
  display:flex !important;
  flex-direction:column !important;
  gap: 8px !important;
  align-items:flex-start !important;
  max-width: 84% !important;
}

.home-event-glass.home-event-glass--stacked .he-city{
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-shadow: 0 10px 26px rgba(0,0,0,0.55);
}

.home-event-glass.home-event-glass--stacked .he-date{
  font-size: 20px;
  font-weight: 750;
  opacity: .96;
  text-shadow: 0 10px 26px rgba(0,0,0,0.45);
}

.home-event-glass.home-event-glass--stacked .he-venue{
  font-size: 14px;
  font-weight: 550;
  opacity: .92;
  text-shadow: 0 10px 26px rgba(0,0,0,0.35);
}

.home-event-glass.home-event-glass--stacked .he-cta{
  margin-top: 8px;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15,23,42,0.62);
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 800;
  letter-spacing: .01em;
}

@media (max-width: 980px){
  .home-event-glass.home-event-glass--stacked{ max-width: 92% !important; }
  .home-event-glass.home-event-glass--stacked .he-city{ font-size: 28px; }
  .home-event-glass.home-event-glass--stacked .he-date{ font-size: 17px; }
  .home-event-glass.home-event-glass--stacked .he-venue{ font-size: 13px; }
}

.home-next-events__more{
  display: flex;
  justify-content: center;
  padding: 10px 0 52px;
}

/* Reduce "white emptiness" on large screens */
@media (min-width: 1100px){
  .home-next-events{ padding-left: 2% !important; padding-right: 2% !important; }
}

/* =========================
   INNER HERO: small subtitle glass only (no huge panel)
   ========================= */

/* Make hero image start at top on all inner pages */
body.has-hero:not([data-page="index"]) { padding-top: 0 !important; }

/* Remove any inherited glass/background from the hero content container */
.hero.hero--inner .hero-content{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  min-height: unset !important;
  height: auto !important;
  max-width: min(980px, 92vw) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  text-align: center !important;
}

/* Title readable without frame */
.hero.hero--inner .hero-content h1,
.hero.hero--inner .hero-content h2{
  color: rgba(255,255,255,0.96) !important;
  text-shadow: 0 6px 22px rgba(0,0,0,0.45) !important;
  margin: 0 !important;
}

/* Subtitle: small glass pill */
.hero.hero--inner .hero-content p{
  margin: 0 !important;
  display: inline-block !important;
  padding: 0 !important;
  max-width: min(760px, 92vw) !important;
  color: rgba(255,255,255,0.92) !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Clickable hero subtitle (no boxes) */
a.hero-scroll-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-weight: 650;
  letter-spacing: .01em;
  color: rgba(255,255,255,0.94) !important;
  text-decoration: none;
  text-shadow: 0 10px 28px rgba(0,0,0,0.58);
  opacity: .95;
}
a.hero-scroll-link:hover{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* =========================
   Inner pages hero: start at top + centered text
   Fix: empty .page-intro created by app.js was pushing hero down
   ========================= */
body.has-hero .page-intro{ display:none !important; margin:0 !important; padding:0 !important; }

/* Ensure inner hero covers viewport and starts at top */
.hero.hero--inner{ position: relative; min-height: 100vh !important; height: 100vh !important; display:flex; align-items:center; justify-content:center; margin:0 !important; padding:0 !important; }
.hero.hero--inner::before{ content:""; position:absolute; inset:0; background: var(--hero-bg, rgba(0,0,0,0.35)); pointer-events:none; z-index:1; }
.hero.hero--inner > img,
.hero.hero--inner .hero-bg,
.hero.hero--inner .hero-image{ position:absolute !important; inset:0 !important; width:100% !important; height:100% !important; object-fit:cover !important; z-index:0; }
.hero.hero--inner .hero-content{ position:relative !important; z-index:2; margin:0 auto !important; max-width: 980px; text-align:center !important; }

/* =========================
   INNER PAGES HERO: remove top white gap (FINAL OVERRIDE)
   ========================= */

/* Never reserve space for navbar on hero pages */
body.has-hero{ padding-top: 0 !important; }

/* Keep navbar overlaying hero instead of taking layout space */
body.has-hero .navbar{ position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; }

/* No background/frame on hero (top) */
body.has-hero .navbar:not(.scrolled){
  background: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Inner hero must start at very top and center content */
.hero.hero--inner{ margin-top: 0 !important; padding-top: 0 !important; min-height: 100vh !important; }
.hero.hero--inner .hero-content{ min-height: 100vh !important; padding-top: 0 !important; }

/* =========================
   Inner pages hero: image from top + centered text
   ========================= */
body.has-hero{ padding-top: 0 !important; }

/* Keep hero truly full-bleed from the very top */
.hero.hero--inner{ margin-top: 0 !important; }

/* Center content vertically without extra top padding */
.hero.hero--inner .hero-content{
  padding: 18px !important;
  min-height: 100vh;
}

/* Inner hero (image) — full viewport + centered content */
.hero.hero--inner{ position: relative; min-height: 100vh; height: 100vh; overflow: hidden; display:flex; align-items:center; justify-content:center; }
.hero.hero--inner .hero-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter: none !important; }
.hero.hero--inner::before{ content:""; position:absolute; inset:0; background: rgba(0,0,0,0.40); z-index:1; }
.hero.hero--inner .hero-content{ position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:16px; padding: 18px 18px; max-width: 980px; }
.hero.hero--inner .page-title-glass{ margin: 0 auto; }

/* Social icons: no circles on hero; restore after scroll */
.navbar:not(.scrolled) .social-icon{ background: transparent !important; border-color: transparent !important; box-shadow: none !important; }
.navbar:not(.scrolled) .social-icon:hover{ background: rgba(0,0,0,0.25) !important; }
.navbar:not(.scrolled) .social-icon svg{ fill: rgba(255,255,255,0.92) !important; }

/* =========================
   Legacy inner hero markup (inner-hero*)
   Fix: white top area + non-centered content
   ========================= */

.inner-hero{ position: relative; min-height: 100vh; height: 100vh; margin: 0 !important; padding: 0 !important; overflow: hidden; display:flex; align-items:center; justify-content:center; }
.inner-hero-media{ position:absolute; inset:0; width:100%; height:100%; }
.inner-hero-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.inner-hero-overlay{ position:absolute; inset:0; background: rgba(0,0,0,0.40); }
.inner-hero-content{ position:relative; z-index:2; min-height: 100vh; width:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding: 18px; gap: 16px; }
.inner-hero .page-title-glass{ margin: 0 auto; }

/* Force navbar to overlay (avoid pushing hero down) */
.navbar{ position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 1000 !important; }

/* Remove accidental empty intro spacer that creates a white band above the hero */
body.has-hero .page-intro{ display: none !important; margin: 0 !important; padding: 0 !important; }

/* =========================
   INNER HERO FINAL OVERRIDES
   Goal: image starts at top + content centered + ONLY small subtitle glass
   ========================= */

/* Don't push hero down on inner pages */
body.has-hero:not([data-page="index"]) { padding-top: 0 !important; }

/* Keep inner hero full-bleed */
.hero.hero--inner,
.inner-hero{
  height: 100vh !important;
  min-height: 100vh !important;
}

/* Remove any large glass panel on the whole container */
.hero.hero--inner .hero-content,
.inner-hero-content{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  min-height: unset !important;
  height: auto !important;
  padding: 0 18px !important;
}

/* Title: keep readable without a big box */
.hero.hero--inner h1,
.inner-hero-content h1{
  margin: 0 !important;
  color: #fff !important;
  text-shadow: 0 8px 28px rgba(0,0,0,0.55);
}

/* Subtitle: plain text (no boxes) */
.hero.hero--inner p,
.inner-hero-content p{
  margin: 0 !important;
  display: inline-block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: rgba(255,255,255,0.95);
  max-width: min(720px, 92vw);
  text-shadow: 0 10px 28px rgba(0,0,0,0.58);
}

/* If some pages use .page-title-glass, make it plain (no box) */
.hero.hero--inner .page-title-glass,
.inner-hero .page-title-glass{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* =========================
   HOME: bigger event tiles + minimal text pills
   ========================= */

body[data-page="index"] .home-next-events{
  /* tighter section spacing + less white margins */
  padding: 26px 2.2% 34px !important;
  background: transparent !important;
}

body[data-page="index"] .home-events-grid{
  max-width: 1400px !important;
  margin: 18px auto 0 !important;
  gap: 18px !important;
}

body[data-page="index"] .home-event-tile{
  min-height: 540px !important;
  border-radius: 30px !important;
  /* entry animation */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease, box-shadow .25s ease;
}

body[data-page="index"] .home-event-tile.visible{
  opacity: 1;
  transform: none;
}

body[data-page="index"] .home-event-tile:hover{
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 30px 70px rgba(0,0,0,0.22);
}

/* Make sure the overlay doesn't over-darken (show more image) */
body[data-page="index"] .home-event-overlay{
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.42)) !important;
}

/* Replace big glass panel with compact pills */
body[data-page="index"] .home-event-glass.home-event-glass--pills{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  gap: 10px !important;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .65s ease .12s, transform .65s ease .12s;
}

body[data-page="index"] .home-event-tile.visible .home-event-glass.home-event-glass--pills{
  opacity: 1;
  transform: none;
}

/* IMPORTANT: The 3 "Nächste 3 Termine" tiles must ALWAYS show their pills.
   We don't depend on the old `.visible` reveal class on the homepage. */
body[data-page="index"] .home-next-events .home-event-glass.home-event-glass--pills{
  opacity: 1 !important;
  transform: translateX(-50%) !important;
}

/* Hard override: NO glass / NO pill backgrounds inside the 3 next-events tiles */
body[data-page="index"] .home-next-events .home-event-glass.home-event-glass--pills{
  position: absolute !important;
  left: 50% !important;
  bottom: 24px !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  max-width: min(92%, 520px) !important;
  align-items: center !important;
  text-align: center !important;
  gap: 8px !important;
}

body[data-page="index"] .home-next-events .home-event-glass.home-event-glass--pills .pill{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: block !important;
  color: rgba(255,255,255,0.96) !important;
  text-shadow: 0 6px 22px rgba(0,0,0,0.55) !important;
}

body[data-page="index"] .home-next-events .home-event-glass.home-event-glass--pills .pill--title{
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 4px !important;
}

body[data-page="index"] .home-next-events .home-event-glass.home-event-glass--pills .pill--line,
body[data-page="index"] .home-next-events .home-event-glass.home-event-glass--pills .pill--date{
  font-size: 12px !important;
  font-weight: 600 !important;
  opacity: 0.92 !important;
}

/* Keep CTA button readable, but not a glass panel */
body[data-page="index"] .home-next-events .home-event-glass.home-event-glass--pills .pill--cta{
  margin-top: 10px !important;
  display: inline-flex !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  background: rgba(15,23,42,0.68) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,0.25) !important;
}

/* Use a subtle bottom gradient for contrast (NOT glass) */
body[data-page="index"] .home-next-events .home-event-overlay{
  background: linear-gradient(to top, rgba(0,0,0,0.62), rgba(0,0,0,0) 62%) !important;
  opacity: 1 !important;
}

body[data-page="index"] .home-next-events .home-event-tile:hover .home-event-overlay{
  background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0) 58%) !important;
}

/* Responsive: keep tiles big, but readable */
@media (max-width: 980px){
  body[data-page="index"] .home-events-grid{ grid-template-columns: 1fr; gap: 16px !important; max-width: 720px !important; }
  body[data-page="index"] .home-event-tile{ min-height: 420px !important; border-radius: 26px !important; }
  body[data-page="index"] .home-event-glass.home-event-glass--pills .pill--title{ font-size: 20px; }
}

@media (max-width: 520px){
  body[data-page="index"] .home-next-events{ padding: 18px 14px 26px !important; }
  body[data-page="index"] .home-event-tile{ min-height: 360px !important; border-radius: 22px !important; }
  body[data-page="index"] .home-event-glass.home-event-glass--pills{ gap: 8px !important; }
  body[data-page="index"] .home-event-glass.home-event-glass--pills .pill{ font-size: 13px; padding: 7px 11px; }
  body[data-page="index"] .home-event-glass.home-event-glass--pills .pill--title{ font-size: 18px; padding: 9px 12px; }
}

/* remove the "Nächster Stopp" label entirely */
body[data-page="index"] .home-event-kicker{ display:none !important; }

body[data-page="index"] .home-event-glass.home-event-glass--pills .pill{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: rgba(255,255,255,0.95);
  font-size: 14px;
  line-height: 1.2;
}

body[data-page="index"] .home-event-glass.home-event-glass--pills .pill--title{
  font-size: 22px;
  font-weight: 800;
  border-radius: 18px;
  padding: 10px 14px;
}

body[data-page="index"] .home-event-glass.home-event-glass--pills .pill--cta{
  background: rgba(15,23,42,0.62);
  border-color: rgba(255,255,255,0.18);
  font-weight: 700;
  padding: 9px 14px;
}

body[data-page="index"] .home-event-glass.home-event-glass--pills .pill--cta:hover{
  background: rgba(15,23,42,0.72);
}

/* subtle hover for pills */
body[data-page="index"] .home-event-glass.home-event-glass--pills .pill:hover{
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.28);
}

body[data-page="index"] .home-next-events__more{
  text-align: center;
  margin-top: 22px;
}

body[data-page="index"] .home-next-events{
  padding: 44px 3% 56px !important;
  background: transparent !important;
}

body[data-page="index"] .home-events-grid{
  max-width: 1400px !important;
  gap: 22px !important;
  margin-top: 22px !important;
}

body[data-page="index"] .home-event-tile{
  min-height: 460px !important;
  border-radius: 28px !important;
}

body[data-page="index"] .home-next-events__head{
  margin-bottom: 6px !important;
}

/* scroll-reveal for tiles (JS toggles .visible) */
body[data-page="index"] .home-event-tile{
  opacity: 0;
  transform: translateY(16px);
}

body[data-page="index"] .home-event-tile.visible{
  opacity: 1;
  transform: translateY(0);
}

/* Professional mobile layout */
@media (max-width: 980px){
  body[data-page="index"] .home-events-grid{ grid-template-columns: 1fr !important; max-width: 640px !important; gap: 14px !important; }
  body[data-page="index"] .home-event-tile{ min-height: 420px !important; border-radius: 26px !important; }
  body[data-page="index"] .home-event-glass.home-event-glass--pills{ left: 16px !important; right: 16px !important; bottom: 16px !important; }
  body[data-page="index"] .home-event-glass.home-event-glass--pills .pill--title{ font-size: 20px; }
  body[data-page="index"] .home-event-glass.home-event-glass--pills .pill{ font-size: 13px; }
}

/* reduce excess whitespace below tiles */
body[data-page="index"] .home-next-events + .section{ padding-top: 34px !important; }

/* --- FINAL OVERRIDES (Home tiles) --- */
body[data-page="index"] .home-next-events{ padding: 26px 2.2% 34px !important; }
body[data-page="index"] .home-events-grid{ max-width: 1520px !important; margin: 18px auto 0 !important; gap: 18px !important; }

/* Larger tiles, less "white" around */
body[data-page="index"] .home-event-tile{
  min-height: 560px !important;
  border-radius: 30px !important;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease, box-shadow .25s ease;
}
body[data-page="index"] .home-event-tile.visible{ opacity: 1; transform: none; }

/* Subtle hover */
body[data-page="index"] .home-event-tile:hover{ box-shadow: 0 28px 60px rgba(0,0,0,.22); transform: translateY(-4px); }

/* Remove the "big glass" overlay: keep only pills */
body[data-page="index"] .home-event-glass{
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
body[data-page="index"] .home-event-kicker{ display: none !important; }

/* Home tiles: text bottom-center (no big glass panel) */
body[data-page="index"] .home-event-glass.home-event-glass--pills{
  left: 50% !important;
  right: auto !important;
  bottom: 18px !important;
  transform: translateX(-50%) !important;
  width: max-content;
  max-width: calc(100% - 32px);
  align-items: center;
  text-align: center;
  gap: 10px !important;
}
body[data-page="index"] .home-event-glass.home-event-glass--pills .pill{
  /* no background behind text (just text) */
  background: transparent !important;
  border: 0 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: rgba(255,255,255,.98) !important;
  font-size: 12px !important;
  line-height: 1.2;
  text-shadow: 0 3px 14px rgba(0,0,0,.55);
  max-width: 100%;
}
body[data-page="index"] .home-event-glass.home-event-glass--pills .pill--title{
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: .2px;
}

/* Text enters slightly after the tile */
/* Bottom-center positioning + entrance animation (transform includes centering) */
body[data-page="index"] .home-event-glass.home-event-glass--pills{
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  bottom: 20px !important;
  width: auto !important;
  max-width: calc(100% - 48px) !important;
  align-items: center !important;
  text-align: center !important;

  opacity: 0;
  transform: translate3d(-50%, 8px, 0);
  transition: opacity .6s ease .12s, transform .6s ease .12s;
}
body[data-page="index"] .home-event-tile.visible .home-event-glass.home-event-glass--pills{
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

/* Remove any remaining glass container background for next-events */
body[data-page="index"] .home-next-events .home-event-glass.home-event-glass--pills{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

/* Remove pill backgrounds too (keep only text) */
body[data-page="index"] .home-next-events .home-event-glass.home-event-glass--pills .pill{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: block;
  margin: 8px 0 0 0;
}

/* Title pill becomes plain text */
body[data-page="index"] .home-next-events .home-event-glass.home-event-glass--pills .pill--title{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0;
}

/* Center the text group bottom-center (not a card) */
body[data-page="index"] .home-next-events .home-event-glass.home-event-glass--pills{
  left: 50% !important;
  right: auto !important;
  bottom: 22px !important;
  transform: translate3d(-50%, 0, 0) !important;
  width: auto !important;
  max-width: calc(100% - 44px) !important;
  text-align: center !important;
}

/* Better readability without glass: subtle bottom gradient + text shadow */
body[data-page="index"] .home-next-events .home-event-overlay{
  opacity: 1 !important;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 65%) !important;
}
body[data-page="index"] .home-next-events .home-event-glass.home-event-glass--pills,
body[data-page="index"] .home-next-events .home-event-glass.home-event-glass--pills *{
  text-shadow: 0 6px 18px rgba(0,0,0,.55);
}

/* Smaller typography to show more of the photo */
body[data-page="index"] .home-next-events .home-event-glass.home-event-glass--pills .pill--title{
  font-size: 18px !important;
  font-weight: 800;
  letter-spacing: .2px;
}
body[data-page="index"] .home-next-events .home-event-glass.home-event-glass--pills .pill{
  font-size: 13px !important;
  font-weight: 600;
  opacity: .95;
}
body[data-page="index"] .home-next-events .home-event-glass.home-event-glass--pills .pill--date{
  font-size: 12px !important;
  opacity: .95;
}

/* No 'Nächster Stopp' label + no button inside tiles */
body[data-page="index"] .home-next-events .home-event-kicker{ display:none !important; }
body[data-page="index"] .home-next-events .home-event-actions{ display:none !important; }

/* Mobile: professional scaling */
@media (max-width: 980px){
  body[data-page="index"] .home-events-grid{ grid-template-columns: 1fr !important; max-width: 720px !important; gap: 14px !important; }
  body[data-page="index"] .home-event-tile{ min-height: 420px !important; border-radius: 26px !important; }
  body[data-page="index"] .home-event-glass.home-event-glass--pills{ bottom: 14px !important; max-width: calc(100% - 28px) !important; }
  body[data-page="index"] .home-event-glass.home-event-glass--pills .pill--title{ font-size: 16px !important; }
  body[data-page="index"] .home-event-glass.home-event-glass--pills .pill{ font-size: 11px !important; padding: 4px 6px !important; }
}

/* ======= CITY EVENT HERO (FULL IMAGE + CENTERED TEXT) ======= */
.city-hero{
  position:relative;
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  background: center / cover no-repeat var(--hero);
  overflow:hidden;
}
.city-hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.55));
}
.city-hero__content{
  position:relative;
  z-index:1;
  width:min(980px, 92vw);
  padding: clamp(18px, 4vw, 48px);
}
.city-hero__title{
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  text-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.city-hero__meta{
  margin: 0;
  font-size: clamp(15px, 1.6vw, 18px);
  opacity: 0.92;
  text-shadow: 0 10px 26px rgba(0,0,0,0.35);
}
.city-hero__subtitle{
  margin: 14px 0 0;
  font-size: clamp(15px, 1.6vw, 18px);
  opacity: 0.92;
}
.city-hero__info{
  margin-top: 26px;
  display:flex;
  flex-direction:column;
  gap: 14px;
  align-items:center;
}
.city-hero__row{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  justify-content:center;
  flex-wrap:wrap;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.4;
  text-shadow: 0 10px 26px rgba(0,0,0,0.35);
}
.city-hero__row strong{ font-weight: 800; }
.city-hero__row .icon{ filter: drop-shadow(0 10px 26px rgba(0,0,0,0.35)); }

.city-hero__actions{
  margin-top: 28px;
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
}

/* Make sure old compact hero layout never creates a white sidebar */
.hero.hero--compact{ background: transparent !important; }

@media (max-width: 720px){
  .city-hero__row{ justify-content:flex-start; }
  .city-hero__info{ align-items:flex-start; }
  .city-hero__content{ text-align:left; }
}

/* --- Vendors hero: video background on inner pages --- */
.hero.hero--inner .hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}
/* keep text above the overlay */
.hero--inner .hero-content{ z-index: 2; }

/* Hero image support (used when video is replaced by static image) */
.hero .hero-image, .hero.hero--inner .hero-image {
  display: block;
}

/* =========================
   HERO scroll cue
   ========================= */
.hero.hero--inner::before{
  background: linear-gradient(180deg, rgba(0,0,0,0.30), rgba(0,0,0,0.62)) !important;
}

.hero-scroll-cue{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  width:72px;
  height:72px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  border:1px solid rgba(255,255,255,.55);
  border-radius:999px;
  background:rgba(0,0,0,.42);
  color:#fff;
  cursor:pointer;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  box-shadow:0 14px 38px rgba(0,0,0,.35);
  transition:transform .25s ease, background .25s ease, border-color .25s ease;
  z-index:30;
}
.hero-scroll-cue::before{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  opacity:.9;
  animation:heroCuePulse 2.4s ease-in-out infinite;
  pointer-events:none;
}
.hero-scroll-cue:hover{transform:translateX(-50%) translateY(-2px); background:rgba(0,0,0,.38); border-color:rgba(255,255,255,.75);} 
.hero-scroll-cue:active{transform:translateX(-50%) translateY(1px);} 
.hero-scroll-cue .hero-scroll-icon{animation:heroBounce 1.6s ease-in-out infinite;}
.hero-scroll-cue .hero-scroll-label{
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  opacity:.92;
  line-height:1;
}
.hero-scroll-cue--home .hero-scroll-label{ display:none; }
.hero-scroll-cue.is-hidden{opacity:0; pointer-events:none; transform:translateX(-50%) translateY(8px); transition:opacity .2s ease, transform .2s ease;}
@keyframes heroBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}
@keyframes heroCuePulse{0%,100%{transform:scale(1); opacity:.65}50%{transform:scale(1.08); opacity:.25}}

/* =========================
   Reveal (cards entrance)
   ========================= */
.reveal{opacity:0; transform:translateY(18px); transition:opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1);} 
.reveal.in{opacity:1; transform:none;} 

/* Hover micro-interactions */
.event-card, .vendor-tile{
  transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.event-card:hover, .vendor-tile:hover{transform:translateY(-6px) scale(1.01);} 

/* =========================
   City overlay / bottom sheet
   ========================= */
.city-sheet-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
  z-index:9998;
}
.city-sheet-backdrop.open{opacity:1; pointer-events:auto;}
.city-sheet{
  position:fixed;
  left:50%;
  bottom:-100%;
  transform:translateX(-50%);
  width:min(1100px, 96vw);
  height:min(86vh, 860px);
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,.65);
  border-radius:24px 24px 0 0;
  box-shadow:0 30px 90px rgba(0,0,0,.35);
  overflow:hidden;
  transition:bottom .35s cubic-bezier(.2,.8,.2,1);
  z-index:9999;
}
.city-sheet.open{bottom:0;}
.city-sheet__handle{
  position:absolute;
  left:50%;
  top:10px;
  transform:translateX(-50%);
  width:56px;
  height:6px;
  border-radius:999px;
  background:rgba(0,0,0,.18);
  z-index: 5;

}
.city-sheet__close{
  position:absolute;
  right:14px;
  top:12px;
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:rgba(255,255,255,.75);
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:transform .2s ease, background .2s ease;
  z-index: 5;

}
.city-sheet__close:hover{transform:translateY(-1px); background:rgba(255,255,255,.95);} 
.city-sheet__close svg{width:18px; height:18px; opacity:.8;}
.city-sheet__frame{position:absolute; inset:54px 0 0 0; width:100%; height:calc(100% - 54px); border:0; background:#fff;}

/* =========================
   Vendors Experience (Step 3)
   ========================= */
body.no-scroll{ overflow:hidden; }
body.is-locked{ overflow:hidden; touch-action:none; }

.vendors-toolbar{
  margin: 22px 0 18px;
  padding: 14px 14px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,0,0,.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.vendors-toolbar__row{
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
}
.vendors-search input{
  width: min(320px, 70vw);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.90);
  outline: none;
}
.vendors-search input:focus{
  border-color: rgba(0,0,0,.22);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}
.vendors-toolbar__meta{
  margin-top: 10px;
  display:flex;
  gap: 14px;
  align-items:center;
  opacity: .92;
  font-weight: 600;
}
.vendors-meta__featured{ opacity: .9; }
.linklike{
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor:pointer;
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vendors-filters{ display:flex; flex-wrap:wrap; gap: 8px; }
.chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.85);
  cursor:pointer;
  font-weight: 700;
  font-size: 13px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.chip:hover{ transform: translateY(-1px); box-shadow: 0 12px 24px rgba(0,0,0,.10); }
.chip--active{ background: rgba(0,0,0,.92); color: #fff; border-color: rgba(0,0,0,.15); }
.chip--small{ padding: 6px 10px; font-size: 12px; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.14); color:#fff; }

.vendor-tile{ position:relative; }
.vendor-badge{
  position:absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.82);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}
.vendor-tile--featured{ outline: 2px solid rgba(0,0,0,.22); outline-offset: 3px; }

/* Vendor overlay / bottom sheet */
.vendor-sheet-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
  z-index:10010;
}
.vendor-sheet-backdrop.open{opacity:1; pointer-events:auto;}
.vendor-sheet{
  position:fixed;
  left:50%;
  bottom:-110%;
  transform:translateX(-50%);
  width:min(1100px, 96vw);
  height:min(86vh, 860px);
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,.65);
  border-radius:24px 24px 0 0;
  box-shadow:0 30px 90px rgba(0,0,0,.35);
  overflow:hidden;
  transition:bottom .35s cubic-bezier(.2,.8,.2,1);
}
.vendor-sheet.open{bottom:0;}
.vendor-sheet__handle{
  position:absolute;
  left:50%;
  top:10px;
  transform:translateX(-50%);
  width:56px;
  height:6px;
  border-radius:999px;
  background:rgba(0,0,0,.18);
}
.vendor-sheet__close{
  position:absolute;
  right:14px;
  top:12px;
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:rgba(255,255,255,.75);
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:transform .2s ease, background .2s ease;
}
.vendor-sheet__close:hover{transform:translateY(-1px); background:rgba(255,255,255,.95);} 
.vendor-sheet__close svg{width:18px; height:18px; opacity:.8;}
.vendor-sheet__frame{position:absolute; inset:54px 0 0 0; width:100%; height:calc(100% - 54px); border:0; background:#fff;}

.vendor-sheet__hero{ position:relative; height:260px; overflow:hidden; }
.vendor-sheet__hero-media{ position:absolute; inset:0; background-size:cover; background-position:center; transform:scale(1.03); }
.vendor-sheet__hero-overlay{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.72)); }
.vendor-sheet__hero-content{ position:absolute; left:22px; right:22px; bottom:18px; color:#fff; }
.vendor-sheet__hero-kicker{ font-size:12px; letter-spacing:.18em; text-transform:uppercase; opacity:.9; }
.vendor-sheet__hero-title{ font-size:30px; font-weight:900; margin: 6px 0 10px; line-height:1.05; }
.vendor-sheet__hero-tags{ display:flex; flex-wrap:wrap; gap: 8px; }

.vendor-sheet__body{ padding: 18px 22px 22px; overflow:auto; height: calc(100% - 260px); }
.vendor-sheet__story p{ margin: 0 0 12px; font-size: 16px; line-height: 1.6; }
.vendor-sheet__cta{ display:flex; flex-wrap:wrap; gap: 10px; margin-top: 12px; }
.vendor-sheet__cta .btn{ margin:0; }

.shared-morph{ will-change: left, top, width, height, border-radius; }

@media (max-width: 520px){
  .vendors-search input{ width: 100%; }
  .vendor-sheet__hero{ height: 220px; }
  .vendor-sheet__body{ height: calc(100% - 220px); }
  .vendor-sheet__hero-title{ font-size: 26px; }
}

/* =========================
   Cities Overlay 2.0 (URL state + shared transition + preload)
   ========================= */
.city-sheet__hero{
  position:relative;
  height:240px;
  overflow:hidden;
}
.city-sheet__hero-media{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transform:scale(1.03);
}
.city-sheet__hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65));
}
.city-sheet__hero-content{
  position:absolute;
  left:22px;
  right:22px;
  bottom:18px;
  color:#fff;
}
.city-sheet__hero-kicker{
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  opacity:.9;
}
.city-sheet__hero-title{
  margin-top:6px;
  font-size:28px;
  font-weight:700;
  line-height:1.1;
  text-shadow:0 8px 24px rgba(0,0,0,.35);
}
.city-sheet__body{
  position:absolute;
  inset:240px 0 0 0;
  overflow:auto;
  padding:18px 18px 28px;
}
.city-sheet__loading{
  font-weight:600;
  opacity:.8;
  padding:16px 6px;
}
.city-sheet__inner{
  transition:opacity .2s ease;
}
.city-sheet__error{
  padding:14px;
  border-radius:14px;
  background:rgba(0,0,0,.06);
}

@media (max-width: 680px){
  .city-sheet__hero{height:210px;}
  .city-sheet__body{inset:210px 0 0 0;}
  .city-sheet__hero-title{font-size:24px;}
}

@media (max-width: 680px){
  /* Mobile: don't cover the whole screen — leave ~30% visible behind */
  .city-sheet{width:100vw; border-radius:18px 18px 0 0; height:70vh;}
  .city-sheet__frame{inset:50px 0 0 0; height:calc(100% - 50px);} 
}

@media (max-width: 680px){
  /* Vendor sheet: match city sheet height/center */
  .vendor-sheet{width:100vw; border-radius:18px 18px 0 0; height:70vh; left:50%; transform:translateX(-50%);}
}

/* =========================
   HOME next events: remove glass blocks behind text (keep readability)
   ========================= */
.home-event-glass--pills{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  padding:0 !important;
}
.home-event-glass--pills .pill{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  padding:0 !important;
  margin:8px 0 !important;
}
.home-event-glass--pills .pill,
.home-event-glass--pills .pill strong,
.home-event-glass--pills .pill span{
  text-shadow:0 2px 10px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.55);
}
.home-event-glass--pills .pill strong{
  font-size:clamp(18px, 2.2vw, 24px) !important;
  letter-spacing:.2px;
}
.home-event-glass--pills .pill span{
  font-size:clamp(12px, 1.4vw, 14px) !important;
}


/* =========================
   Sheet polish (Step 3.1)
   - End-cap gradient to signal end
   - Sticky footer CTA (no "fake" empty space)
   ========================= */
.vendor-sheet,
.city-sheet{
  overscroll-behavior: contain;
}

.vendor-sheet__body,
.city-sheet__body{
  padding-bottom: 86px; /* room for sticky footer */
}

.vendor-sheet__body::after,
.city-sheet__body::after{
  content: "";
  position: sticky;
  bottom: 0;
  display: block;
  height: 54px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.vendor-sheet__footer,
.city-sheet__footer{
  position: sticky;
  bottom: 0;
  padding: 14px 18px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
  z-index: 5;
}

/* make vendor CTA buttons sit nicely on one row */
.vendor-sheet__footer .btn,
.city-sheet__footer .btn{
  white-space: nowrap;
}


/* ===== Sheet polish: end-cap + sticky footer (Step 3.1) ===== */
.vendor-sheet,
.city-sheet{
  overscroll-behavior: contain;
}

.vendor-sheet__body,
.city-sheet__body{
  padding-bottom: 92px; /* room for sticky footer */
}

.vendor-sheet__body::after,
.city-sheet__body::after{
  content: "";
  position: sticky;
  bottom: 0;
  display: block;
  height: 56px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.vendor-sheet__footer,
.city-sheet__footer{
  position: sticky;
  bottom: 0;
  padding: 14px 18px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
  z-index: 5;
}

@media (max-width: 520px){
  .vendor-sheet__footer,
  .city-sheet__footer{
    flex-wrap: wrap;
  }
}

/* =========================
   HOME: Reveal system alignment (fix blank "Nächste 3 Termine")
   Use data-reveal + is-revealed instead of legacy .visible rules.
   ========================= */

/* Default: show tiles (avoid white page if JS fails) */
body[data-page="index"] .home-event-tile{ opacity: 1 !important; transform: none !important; }

/* Only hide while waiting for reveal */
body[data-page="index"] .home-event-tile[data-reveal]:not(.is-revealed){
  opacity: 0 !important;
  transform: translateY(16px) !important;
}

/* HOME vendors: big immersive tiles (same feel as events tiles) */
body[data-page="index"] #homeVendorsGrid{ 
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1100px){
  body[data-page="index"] #homeVendorsGrid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px){
  body[data-page="index"] #homeVendorsGrid{ grid-template-columns: 1fr; }
}

.home-vendor-tile{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 220px;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
  background: #111;
  transform: translateZ(0);
}

.home-vendor-tile::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.home-vendor-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.58), rgba(0,0,0,.10));
}

.home-vendor-glass{
  position:absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-vendor-glass .pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #0b0b0b;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.home-vendor-glass .pill--title{ font-size: 15px; }
.home-vendor-glass .pill--cta{ background: rgba(255,255,255,.20); color: #fff; backdrop-filter: blur(10px); }

.home-vendor-tile:hover{ transform: translateY(-3px); box-shadow: 0 28px 60px rgba(0,0,0,.22); }



/* ===== Conversion (Step 5) ===== */
.cta-section{
  padding: 44px 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.cta-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
@media (max-width: 820px){
  .cta-grid{ grid-template-columns: 1fr; }
}
.cta-card{
  border-radius: 18px;
  padding: 22px 20px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.cta-card h2{
  font-size: 22px;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}
.cta-card p{
  margin: 0 0 14px 0;
  opacity: 0.86;
  line-height: 1.35;
}
.cta-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* CTA Sheet (global) */
.cta-sheet{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.cta-sheet.is-open{ display: block; }
.cta-sheet__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.42);
}
.cta-sheet__panel{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  width: min(720px, calc(100% - 20px));
  border-radius: 22px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
  overflow: hidden;
}
.cta-sheet__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.cta-sheet__title{
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cta-sheet__close{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.9);
  cursor: pointer;
}
.cta-sheet__body{
  padding: 16px 18px 18px 18px;
}

/* =========================
   Mobile Navbar v34: hamburger + sheet
   ========================= */
.nav-toggle{ display:none; }
.nav-toggle__bar{ display:block; width:18px; height:2px; background: currentColor; border-radius:2px; }

@media (max-width: 768px){
  /* Hide desktop links on mobile */
  .nav-menu{ display:none !important; }
  .social-icons{ display:none !important; }

  .nav-toggle{
    display:inline-flex;
    flex-direction:column;
    gap:4px;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,0.22);
    background: rgba(0,0,0,0.25);
    color: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  /* When navbar turns solid (white), keep the hamburger visible */
  .navbar.scrolled .nav-toggle{
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(0,0,0,.04);
  }
  .navbar.scrolled .nav-toggle__bar{ background: rgba(0,0,0,.78); }
  .navbar.scrolled .nav-toggle{
    background: rgba(255,255,255,0.85);
    color:#0f172a;
    border-color: rgba(15,23,42,0.10);
  }

  /* Mobile sheet */
  .mnav{ position:fixed; inset:0; z-index:9999; display:none; }
  .mnav.is-open{ display:block; }
  .mnav__backdrop{ position:absolute; inset:0; background: rgba(0,0,0,0.55); }
  .mnav__sheet{
    position:absolute;
    left:50%;
    bottom:0;
    transform:translateX(-50%);
    width:min(720px, 96vw);
    max-height: 78vh;
    overflow:auto;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.70);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 30px 90px rgba(0,0,0,0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .mnav__head{ display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid rgba(15,23,42,0.08); }
  .mnav__title{ font-weight:800; letter-spacing:-0.02em; }
  .mnav__close{ width:40px; height:40px; border-radius:14px; border:1px solid rgba(15,23,42,0.10); background: rgba(255,255,255,0.7); }
  .mnav__links{ display:flex; flex-direction:column; padding: 10px 10px 16px; }
  .mnav__links a{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding: 14px 14px;
    border-radius: 16px;
    color:#0f172a;
    text-decoration:none;
    font-weight:700;
    border:1px solid rgba(15,23,42,0.08);
    background: rgba(255,255,255,0.65);
    margin: 6px 6px;
  }
  .mnav__links a::after{ content:'›'; opacity:.45; }
  .mnav__links a:hover{ filter: brightness(0.98); }

  /* prevent background scroll while menu open */
  .mnav-lock{ overflow:hidden; }
}

/* =========================
   v37 UI polish: Mobile hero CTA text (inner pages) + remove extra cues
   ========================= */
@media (max-width: 768px){
  /* Never show the circular cue on mobile */
  .hero-scroll-cue{ display:none !important; }

  /* Inner pages: show the CTA sentence text under the title (no arrow-only / no pseudo triangle) */
  body[data-page="events"] a.hero-scroll-link,
  body[data-page="vendors"] a.hero-scroll-link,
  body[data-page="awards"] a.hero-scroll-link,
  body[data-page="about"] a.hero-scroll-link,
  body[data-page="partner"] a.hero-scroll-link{
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    margin-top: 8px !important;
    opacity: .96 !important;
    display: inline-flex !important;
    justify-content: center;
  }
  body[data-page="events"] a.hero-scroll-link::after,
  body[data-page="vendors"] a.hero-scroll-link::after,
  body[data-page="awards"] a.hero-scroll-link::after,
  body[data-page="about"] a.hero-scroll-link::after,
  body[data-page="partner"] a.hero-scroll-link::after{
    content: none !important;
    display: none !important;
  }

  /* Homepage: no CTA sentence under hero on mobile; show only a minimal arrow */
  body[data-page="index"] a.hero-scroll-link{ display:none !important; }
  .hero-min-arrow{
    position:absolute;
    left:50%;
    bottom:14px;
    transform:translateX(-50%);
    width:34px;
    height:34px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.38);
    background: rgba(0,0,0,.22);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index: 25;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}
.cta-form{
  display:grid;
  gap: 10px;
}
.cta-form label{
  font-size: 13px;
  opacity: 0.8;
}
.cta-form input, .cta-form textarea{
  width: 100%;
  border-radius: 14px;
  padding: 12px 12px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.9);
  outline: none;
}
.cta-form textarea{ min-height: 92px; resize: vertical; }
.cta-form__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 640px){
  .cta-form__row{ grid-template-columns: 1fr; }
}
.cta-form__actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cta-note{
  font-size: 12px;
  opacity: 0.72;
  margin-top: 8px;
  line-height: 1.35;
}
.cta-success{
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 12px;
  display:none;
}
.cta-success.is-show{ display:block; }


/* ===== Awards helpers ===== */
.awards-hero{
  position: relative;
  min-height: 46vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background: radial-gradient(1200px 500px at 50% 30%, rgba(86,98,255,0.55) 0%, rgba(20,24,60,0.95) 55%, rgba(11,15,20,1) 100%);
}
.awards-hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
}
.awards-hero__content{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 14px;
  padding: 26px 18px;
  text-align:center;
}
.awards-hero__logo{
  width: min(640px, 82vw);
  height: auto;
  object-fit:contain;
  filter: drop-shadow(0 16px 42px rgba(0,0,0,0.55));
}
.awards-hero__kicker{
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 13px;
  opacity: .95;
}

.awards-title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.awards-logo{
  width:44px;
  height:44px;
  object-fit:contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.18));
}
.home-event-tile{ position:relative; }
.home-event-badge{
  position:absolute;
  top:14px;
  right:14px;
  width:46px;
  height:46px;
  border-radius:14px;
  background: rgba(255,255,255,.92);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
  z-index:4;
}
.home-event-badge img{
  width:32px;
  height:32px;
  object-fit:contain;
}


.hero.hero--fullscreen .hero-media-grid > *{flex: 1 1 0; min-width:0; min-height:0;}



/* === HERO 3-COLUMN OVERRIDE (video + image + video) === */
.hero-media-grid{
  position:absolute !important;
  inset:0 !important;
  display:flex !important;
  width:100% !important;
  height:100% !important;
  z-index:0 !important;
}
.hero-media-grid > *{
  position:relative !important;
  flex: 1 1 33.333% !important;
  width:auto !important;
  height:100% !important;
  min-width:0 !important;
}
.hero-media-grid video.hero-media,
.hero-media-grid img.hero-media{
  position:relative !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}
/* Mobile: stack vertically */
@media (max-width: 900px){
  .hero-media-grid{
    flex-direction:column !important;
  }
  .hero-media-grid > *{
    flex: 1 1 auto !important;
    height:33.33% !important;
  }
}
/* ensure text stays above overlay */
.hero-overlay{ z-index:1 !important; }
.hero-content{ z-index:2 !important; position:relative !important; }



/* === HERO TEXT + LOGO TUNING (v6) === */
.hero-kicker{
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 10px;
  transform: translateY(-8px);
}

/* remove any residual hero logo inside content if present */
.hero-content img,
.hero-content .hero-logo,
.hero-content .badge,
.hero-content .pill{
  display:none !important;
}

/* Top-left brand logo bigger */
.site-header .brand img,
.site-header .logo img,
header .brand img,
header .logo img{
  height: 44px !important;
  width: auto !important;
}

/* Mobile: show ONLY center video (hero-video-1) */
@media (max-width: 900px){
  .hero-media-grid{
    flex-direction:row !important;
  }
  .hero-media-grid > *{
    display:none !important;
  }
  .hero-media-grid > *:nth-child(2){
    display:block !important;
    flex: 1 1 100% !important;
    width:100% !important;
    height:100% !important;
  }
  /* make header logo + socials bigger on mobile */
  .site-header .brand img,
  .site-header .logo img,
  header .brand img,
  header .logo img{
    height: 48px !important;
  }
  .social a, .social img, .social svg{
    transform: scale(1.05);
    transform-origin: left top;
  }
}



/* === v8: Requested sizing fixes === */

/* Center hero: only the '10 Jahre...' line */
.hero-kicker{
  font-size: clamp(22px, 2.4vw, 34px); /* noticeable but not crazy */
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0;
  transform: translateY(-10px);
}

/* Hide any accidental hero badges/logos/text that might reappear
   NOTE: This must ONLY apply to the home hero. Inner pages need their hero titles/subtitles.
*/
body[data-page="home"] .hero-content img,
body[data-page="home"] .hero-content .hero-logo,
body[data-page="home"] .hero-content .badge,
body[data-page="home"] .hero-content .pill,
body[data-page="home"] .hero-content p,
body[data-page="home"] .hero-content h1,
body[data-page="home"] .hero-content a{
  display:none !important;
}

/* Top corner logo: DOUBLE size */
.site-header .brand img,
.site-header .logo img,
header .brand img,
header .logo img{
  height: 90px !important;
  width: auto !important;
}

/* Mobile: show only the center video + slightly larger logo + socials */
@media (max-width: 900px){
  .hero-media-grid > *{ display:none !important; }
  .hero-media-grid > *:nth-child(2){ 
    display:block !important; 
    flex: 1 1 100% !important;
  }

  .site-header .brand img,
  .site-header .logo img,
  header .brand img,
  header .logo img{
    height: 100px !important;
  }

  .social a, .social img, .social svg{
    transform: scale(1.15);
    transform-origin: left top;
  }
}



/* === v9: Fix real header logo selector (img.brand-logo) === */
.navbar .brand .brand-logo{
  width: 88px !important;
  height: 88px !important;
}
/* make navbar tall enough so it doesn't clip */
.navbar, .nav-container{
  min-height: 96px !important;
  align-items: center !important;
}



/* === v10: Remove any logo wrapper background ("glass"/white pills) === */
.navbar .brand,
.navbar .nav-left,
.navbar .nav-container,
.navbar{
  background: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
}
.navbar .brand{
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
.navbar .brand::before,
.navbar .brand::after,
.navbar .nav-left::before,
.navbar .nav-left::after,
.navbar::before,
.navbar::after{
  content: none !important;
}
.navbar .brand .brand-logo{
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}



/* ===== CONTACT HERO (Partner) ===== */
.contact-hero{
  position:relative;
  height:100vh;
  overflow:hidden;
}
.contact-hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.contact-hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.60);
}
.contact-hero-content{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:#fff;
  padding:24px;
}
.contact-hero-content h1{
  font-size:clamp(28px,4vw,52px);
  margin:0 0 16px;
}
.contact-hero-content p{
  font-size:clamp(16px,2vw,22px);
  margin:0 0 22px;
  max-width: 900px;
}



/* ===== v11: Partner page navbar + scroll unify ===== */
html{ scroll-behavior: smooth; }

/* Make navbar consistent: transparent glass over hero */
.navbar{
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background: rgba(0,0,0,0.35) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;
}

.nav-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  min-height: 72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* Down arrow */
.hero-down{
  position:absolute;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-decoration:none;
  font-size: 28px;
  background: rgba(0,0,0,0.30);
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-down:hover{
  background: rgba(0,0,0,0.45);
}

/* Mobile tweaks */
@media (max-width: 900px){
  .nav-container{ padding: 10px 14px; min-height: 64px; }
  .hero-down{ bottom: 16px; width: 40px; height: 40px; font-size: 26px; }
}



/* ===== v12: Navbar like other pages (no bar on hero, white on scroll) ===== */
.navbar{
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
.navbar:not(.scrolled){
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
/* Keep only text/menu look on hero (no pills) */
.navbar:not(.scrolled) .nav-link{
  background: transparent !important;
  border-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: rgba(255,255,255,0.95) !important;
}
.navbar:not(.scrolled) .nav-link:hover{
  background: rgba(0,0,0,0.25) !important;
}
/* When scrolled: rely on existing .navbar.scrolled styling (white) and make text dark */
.navbar.scrolled .nav-link{
  color: rgba(15,23,42,0.92) !important;
}
/* Hero down icon styling + subtle motion */
.hero-down-icon{ display:block; }
@keyframes heroDownFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(4px); }
}
.hero-down{ animation: heroDownFloat 1.6s ease-in-out infinite; }



/* ===== v13: Partner hero uses standard .hero so navbar + scroll cue match ===== */
.hero--video{
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero--video .hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform: translateZ(0);
}
.hero--video .hero-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.60);
}
/* ensure content above overlay */
.hero--video .hero-content{
  position:relative;
  z-index:2;
}



/* ===== v13 safeguard: navbar on hero stays transparent until scrolled ===== */
.navbar:not(.scrolled){
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
.navbar:not(.scrolled) .nav-link{ color: rgba(255,255,255,0.95) !important; }


/* ==========================================================
   MOBILE NAVBAR HOTFIX (v32)
   Problem: old responsive rules stacked nav vertically and
   wrapped links -> navbar became very tall and destroyed hero.
   Fix: keep single-row navbar, make menu horizontally scrollable.
   ========================================================== */

@media (max-width: 768px) {
  /* override earlier responsive block */
  .nav-container{
    flex-direction: row !important;
    gap: 10px !important;
    width: 94% !important;
  }

  .nav-left{ gap: 10px !important; }

  .brand{ padding: 6px 10px !important; border-radius: 16px !important; }
  .brand-logo{ height: 28px !important; }
  .brand-sub{ display: none !important; }

  /* keep icons small; hide them if they cause overflow */
  .social-icons{ gap: 8px !important; }
  .social-icon{ width: 30px !important; height: 30px !important; }

  /* critical: no wrapping; allow horizontal swipe */
  .nav-scroll{
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
  }
  .nav-menu{
    flex: 1 1 auto !important;
    min-width: 0;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding: 2px 2px;
  }
  .nav-menu::-webkit-scrollbar{ display:none; }

  /* arrow buttons (only visible when overflowing) */
  .nav-arrow{
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(0,0,0,0.28);
    color: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.22);
    align-items: center;
    justify-content: center;
    z-index: 3;
  }
  .nav-arrow--left{ left: -2px; }
  .nav-arrow--right{ right: -2px; }
  .nav-scroll.has-overflow .nav-arrow{ display: inline-flex; }
  .nav-scroll.at-start .nav-arrow--left{ display:none; }
  .nav-scroll.at-end .nav-arrow--right{ display:none; }

  /* subtle gradients to hint there is more */
  .nav-scroll.has-overflow::before,
  .nav-scroll.has-overflow::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 34px;
    pointer-events: none;
    z-index: 2;
  }
  .nav-scroll.has-overflow::before{
    left: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.35), rgba(0,0,0,0));
  }
  .nav-scroll.has-overflow::after{
    right: 0;
    background: linear-gradient(270deg, rgba(0,0,0,0.35), rgba(0,0,0,0));
  }
  .nav-scroll.at-start::before{ opacity: 0; }
  .nav-scroll.at-end::after{ opacity: 0; }

  .nav-link{
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
  }
}

@media (max-width: 520px){
  /* on very small screens, icons cost too much space */
  .social-icons{ display:none !important; }
}

/* === Mobile hero: homepage shows 3 videos on desktop, but only center on mobile === */
@media (max-width: 768px){
  body[data-page="index"] .hero-media-grid{
    display: block;
  }
  body[data-page="index"] .hero-media-grid > video{
    width: 100%;
    height: 72vh;
    object-fit: cover;
    border-radius: 0;
  }
  body[data-page="index"] .hero-media-grid > video:nth-child(1),
  body[data-page="index"] .hero-media-grid > video:nth-child(3){
    display:none !important;
  }
}


/* === v24: Events entry note + Eintritt badge === */
.section-note{
  margin-top: 10px;
  color: rgba(17,24,39,0.72);
  max-width: 72ch;
  font-size: 0.95rem;
  font-weight: 400;
}

.events-grid .event-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.badge--free{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
}

/* === v24: Vendors filters === */
.vendors-controls{
  margin: 18px 0 18px;
}
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.chip{
  appearance:none;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}
.chip:hover{
  background: rgba(255,255,255,0.10);
}
.chip.is-active{
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.28);
}


/* === v26: Events Eintritt note + badge (subtle, not red) === */
.section-note{
  margin-top: 10px;
  color: rgba(0,0,0,0.62);
  max-width: 72ch;
  font-size: 0.92rem;
  font-weight: 500;
}
.event-card-meta .badge--free{
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  text-transform: none !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  color: rgba(0,0,0,0.55) !important;
}
/* Keep free badge readable on dark heroes if used there */
.hero .badge--free, .event-hero .badge--free, .city-hero .badge--free{
  color: rgba(255,255,255,0.82) !important;
}

/* === v26: Vendors filter visibility on light background + hide duplicate renderers === */
body[data-page="vendors"] .chip{
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.78);
}
body[data-page="vendors"] .chip:hover{
  background: rgba(0,0,0,0.07);
}
body[data-page="vendors"] .chip.is-active{
  background: rgba(0,0,0,0.10);
  border-color: rgba(0,0,0,0.20);
}
body[data-page="vendors"] .vendors-toolbar,
body[data-page="vendors"] .vendors-grid,
body[data-page="vendors"] #vendors-grid,
body[data-page="vendors"] .vendors-list,
body[data-page="vendors"] .vendor-list,
body[data-page="vendors"] .vendor-card{
  display: none !important;
}

/* ===== v35: Mobile hamburger + stuck-backdrop safety + mobile hero tweaks ===== */
@media (max-width: 768px){
  /* Replace scrollable nav links with a clean hamburger */
  .nav-scroll{ display:none !important; }
  .social-icons{ display:none !important; }

  .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.28);
    background:rgba(0,0,0,.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .nav-toggle__bar{
    display:block;
    width:18px;
    height:2px;
    background:rgba(255,255,255,.92);
    border-radius:2px;
    margin:2px 0;
  }

  /* Mobile menu: centered overlay card */
  .mnav{ position:fixed; inset:0; z-index:9999; pointer-events:none; display:none; }
  .mnav__backdrop{
    position:absolute; inset:0;
    background: rgba(0,0,0,.45);
    opacity:0;
    transition: opacity .22s ease;
  }
  .mnav__panel{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:min(520px, calc(100vw - 28px));
    max-height:min(560px, calc(100vh - 60px));
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 90px rgba(0,0,0,.35);
    overflow:hidden;
  }
  .mnav.is-open{ pointer-events:auto; }
  .mnav.is-open .mnav__backdrop{ opacity:1; }
  .mnav__header{ display:flex; align-items:center; justify-content:space-between; padding: 12px 14px; gap: 10px; border-bottom:1px solid rgba(0,0,0,.08); }
  .mnav__brand{ display:flex; align-items:center; gap: 12px; min-width: 0; }
  .mnav__logo img{ height: 32px; width:auto; display:block; }
  .mnav__social{ display:flex; align-items:center; gap: 10px; }
  .mnav__social a{ display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:12px; border:1px solid rgba(0,0,0,.10); background: rgba(0,0,0,.03); color: rgba(0,0,0,.85); }
  .mnav__close{ width:40px; height:40px; border-radius:14px; border:1px solid rgba(0,0,0,.12); background: rgba(0,0,0,.04); display:flex; align-items:center; justify-content:center; color: rgba(0,0,0,.88); }

  .mnav__links{ display:flex; flex-direction:column; gap:10px; padding: 14px; }
  .mnav__links a{
    display:flex; align-items:center; justify-content:space-between;
    padding: 14px 14px;
    border-radius: 16px;
    background: rgba(0,0,0,.045);
    border: 1px solid rgba(0,0,0,.06);
    font-weight:600;
  }

  /* Lock scroll when menu is open */
  .mnav-lock, .mnav-lock body{ overflow:hidden; }

  /* Events hero collage: crop to the "middle" so white separators disappear */
  body[data-page="events"] .hero--inner .hero-img,
  body[data-page="events"] .hero--inner .hero-image{
    height: 62vh;
    object-fit: cover;
    object-position: center 48%;
    transform: scale(1.08);
  }

  /* Vendors hero: keep only the right-aligned headline (cleaner on mobile) */
  body[data-page="vendors"] .hero-content{ text-align:right; align-items:flex-end; }
  body[data-page="vendors"] .hero-scroll-link{ display:inline-flex !important; }

  /* Awards hero: only the logo on mobile */
  body[data-page="awards"] header.hero .hero-img,
  body[data-page="awards"] header.hero .hero-image{ display:none !important; }
  /* Fill screen with the awards artwork (crop edges slightly via object-fit:cover) */
  body[data-page="awards"] header.hero{ background:#0b0f14; min-height: 92vh; }
  body[data-page="awards"] header.hero .hero-content{ position:relative; min-height: 92vh; }
  body[data-page="awards"] header.hero .hero-content h1{ display:block !important; }
  body[data-page="awards"] header.hero .hero-scroll-link{ display:inline-flex !important; }
  body[data-page="awards"] .awards-logo{
    position:absolute;
    inset:0;
    width:100vw;
    height:92vh;
    max-width:none;
    margin:0;
    object-fit:cover;
    object-position:center;
    filter:none;
  }
}


/* =========================
   v37 Hotfix: Mobile overlays centered + no stuck dim + hamburger contrast
   ========================= */

/* Make hamburger always readable */
.nav-toggle{ position:relative; z-index:10050; }
.nav-toggle__bar{ background:#fff; }
.navbar.scrolled .nav-toggle__bar{ background:#111827; }

/* Prevent backdrops from staying visible when "open" class is lost / bfcache quirks */
.city-sheet-backdrop,
.vendor-sheet-backdrop,
.cta-sheet__backdrop,
.mnav__backdrop{
  visibility:hidden;
}
.city-sheet-backdrop.open,
.vendor-sheet-backdrop.open,
.cta-sheet.open ~ .cta-sheet__backdrop,
.mnav.is-open .mnav__backdrop{
  visibility:visible;
}

@media (max-width: 768px){
  /* Force sheets to be fully centered and never slide off-screen on iOS */
  .city-sheet,
  .vendor-sheet,
  .cta-sheet,
  .mnav__sheet{
    left:0 !important;
    transform:none !important;
    width:100vw !important;
    max-width:100vw !important;
    border-radius:22px 22px 0 0;
  }

  /* Vendors hero: crop to show the RIGHT side of the image */
  body[data-page="vendors"] header.hero .hero-img,
  body[data-page="vendors"] header.hero video.hero-video{
    object-position: right center !important;
    background-position: right center !important;
  }

  /* Events hero (3 tiles): ensure the middle stays centered and hides seams */
  body[data-page="events"] .hero-grid,
  body[data-page="events"] .hero-triple{
    gap:0 !important;
  }

  /* Awards: guarantee the logo is visible on mobile */
  body[data-page="awards"] header.hero{ padding-top: 74px; }
  body[data-page="awards"] .awards-logo{ display:block !important; opacity:1 !important; }
}


/* ===== MOBILE HERO OVERRIDE (Canva 9:16) ===== */
@media (max-width: 768px){
  /* events */
  .hero--events .hero-img{ display:none !important; }
  .hero--events .hero-img--mobile{ display:block !important; width:100%; height:100vh; object-fit:cover; object-position:center; filter:none !important; }

  /* vendors */
  .hero--vendors .hero-image{ display:none !important; }
  .hero--vendors .hero-image--mobile{ display:block !important; width:100%; height:100vh; object-fit:cover; object-position:right center; }

  /* awards */
  .hero--awards .hero-img{ display:none !important; }
  .hero--awards .hero-img--mobile{ display:block !important; width:100%; height:100vh; object-fit:cover; object-position:center; filter:none !important; }
  /* hide overlay text on awards mobile because the image already contains the title */
  .hero--awards .hero-content{ display:none !important; }
}


/* ===== MOBILE HERO IMG COVER (v40) ===== */
@media (max-width: 768px){
  .hero{
    position: relative;
    overflow: hidden;
  }
  .hero .hero-mobile-img{
    display:block !important;
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    z-index:0 !important;
    transform: translateZ(0);
  }
  .hero .hero-content,
  .hero .hero-overlay,
  .hero .hero-video,
  .hero video{
    position: relative;
    z-index: 2;
  }
  /* Awards: show ONLY the image (hide content) */
  .hero.hero--awards .hero-content{ display:none !important; }
}

@media (max-width: 768px){ .hero.hero--awards{ height: 100vh !important; } }


/* ===== Sheet Close Button (v41) ===== */
.sheet-close-btn{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  font-size: 20px;
  line-height: 40px;
  text-align: center;
  z-index: 5;
  cursor: pointer;
}
@media (max-width: 768px){
  .city-sheet, .vendor-sheet, .cta-sheet, .mnav-sheet{
    position: fixed;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
}


/* ===== Mobile Hero Images & Scroll Arrow (v42) ===== */
@media (max-width: 768px){
  /* Use the dedicated 9:16 image on mobile */
  .hero .hero-img--mobile{ display:block !important; }
  

  /* Make the "scroll down" cue minimal (no big pill/circle) */
  .hero-scroll-link{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:14px;
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    font-size:0 !important; /* hide text */
    line-height:0 !important;
    opacity:.9;
  }
  .hero-scroll-link::after{
    content:"⌄";
    display:inline-block;
    font-size:26px;
    line-height:26px;
    color:#fff;
    text-shadow:0 6px 18px rgba(0,0,0,.55);
  }

  /* Awards: image only (hide hero content over it) */
  .hero.hero--awards .hero-content{ display:none !important; }
  .hero.hero--awards{ height:100vh !important; }
}

/* ===== City/Vendor sheet mobile sizing (v42) ===== */
@media (max-width: 768px){
  .city-sheet{
    height:70vh !important;
    width:100vw !important;
    left:50% !important;
    transform:translateX(-50%) !important;
    border-radius:22px 22px 0 0;
  }
  .city-sheet__close{
    display:flex !important;
    align-items:center;
    justify-content:center;
    z-index:10000 !important;
  }
  .city-sheet-backdrop{
    z-index:9998 !important;
  }
}


/* ===== Mobile Hero Final Fix (v43) ===== */
@media (max-width: 768px){
  /* Fix: mobile hero image was behind due to z-index:-1 -> black hero */
  .hero{ background: transparent !important; position: relative; }
  .hero .hero-img--mobile{
    z-index: 0 !important;
  }
  .hero .hero-img:not(.hero-img--mobile){
    z-index: -1 !important;
  }
  .hero .hero-content{
    z-index: 2 !important;
    position: relative;
    text-align: center;
    padding: 0 16px;
    cursor: pointer;
  }

  /* Awards: DO show hero content (user wants same as desktop) */
  .hero.hero--awards .hero-content{ display: block !important; }

  /* Scroll cue: small arrow only (no pill/circle) */
  .hero-scroll-link{
    position:absolute !important;
    left:50% !important;
    transform:translateX(-50%) !important;
    bottom:12px !important;
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    width:auto !important;
    height:auto !important;
    font-size:0 !important; /* hide text */
    line-height:0 !important;
  }
  .hero-scroll-link::after{
    content:"⌄";
    display:inline-block;
    font-size:22px;
    line-height:22px;
    color:#fff;
    text-shadow:0 8px 20px rgba(0,0,0,.6);
    opacity:.95;
  }
}


/* ===== Scope mobile hero image swap only to pages that have mobile hero images (v44) ===== */
@media (max-width: 768px){
  .hero.hero--events .hero-img--mobile,
  .hero.hero--vendors .hero-img--mobile,
  .hero.hero--awards .hero-img--mobile{
    display:block !important;
  }
  .hero.hero--events .hero-img:not(.hero-img--mobile),
  .hero.hero--vendors .hero-img:not(.hero-img--mobile),
  .hero.hero--awards .hero-img:not(.hero-img--mobile){
    display:none !important;
  }
}


/* ===== Awards mobile hero image (v45) ===== */
@media (max-width: 768px){
  .hero.hero--awards{ height: 100vh !important; overflow:hidden; background: transparent !important; }
  .hero.hero--awards .hero-img--mobile{
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    position:absolute !important;
    inset:0 !important;
    z-index:0 !important;
  }
  .hero.hero--awards .hero-content{
    position:relative;
    z-index:2 !important;
  }
}


/* ===== Awards mobile hero override (v46) ===== */
@media (max-width: 768px){
  /* previous rule hid ALL .hero-img on awards; re-enable mobile hero background */
  body[data-page="awards"] header.hero .hero-img.hero-img--mobile{
    display:block !important;
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    z-index:0 !important;
  }
  body[data-page="awards"] header.hero .hero-img:not(.hero-img--mobile){
    display:none !important;
  }
  /* optional: hide the inner awards-logo image so it doesn't look like the hero */
  body[data-page="awards"] header.hero .awards-logo{
    display:none !important;
  }
  body[data-page="awards"] header.hero{
    height:100vh !important;
    background: transparent !important;
  }
}

/* ===== Mobile overlay centering + city hero stability (v47) ===== */
@media (max-width: 768px){
  /* Mobile nav panel: centered + constrained */
  .mnav__panel{
    position:fixed;
    left:50%;
    transform:translateX(-50%);
    top:auto;
    bottom:16px;
    width:min(92vw, 520px);
    max-height:calc(100dvh - 90px);
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
  .mnav__backdrop{
    position:fixed;
    inset:0;
  }

  /* CTA sheets: centered + constrained */
  .cta-sheet__panel{
    position:fixed;
    left:50%;
    transform:translateX(-50%);
    bottom:16px;
    width:min(92vw, 520px);
    max-height:calc(100dvh - 90px);
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }

  /* City sheet: centered + constrained */
  .city-sheet{
    position:fixed;
    left:50%;
    transform:translateX(-50%);
    width:min(92vw, 520px) !important;
    max-height:calc(100dvh - 90px);
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
  .city-sheet.open{ bottom:16px; }

  /* City overlay hero: reserve space to prevent image jump */
  .city-sheet{ --city-hero-h: clamp(180px, 56.25vw, 240px); }
  .city-sheet__hero{
    height:var(--city-hero-h);
    aspect-ratio:16 / 9;
  }
  .city-sheet__body{ inset:var(--city-hero-h) 0 0 0; }
  .city-sheet__hero-media,
  .city-sheet__hero img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }
}

/* Desktop: never show mobile nav overlay */
@media (min-width: 900px){
  .mnav{ display:none !important; }
}
