:root{
  --sb-bg0:#0f0708;
  --sb-bg1:#1b0a0d;

  --sb-glass: rgba(255,255,255,.06);
  --sb-glass2: rgba(0,0,0,.30);
  --sb-border: rgba(255,255,255,.14);

  --sb-text: rgba(255,255,255,.92);
  --sb-dim: rgba(255,255,255,.78);

  --sb-red: rgba(225,29,46,.65);
  --sb-yellow: rgba(245,158,11,.35);

  --radius: 22px;
  --max: 1280px;
  --pad: 20px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color:var(--sb-text);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(1100px 700px at 18% 12%, rgba(225,29,46,0.22), transparent 60%),
    radial-gradient(900px 600px at 82% 20%, rgba(245,158,11,0.12), transparent 62%),
    linear-gradient(180deg, var(--sb-bg1), var(--sb-bg0));
  overflow-x:hidden;
}
a{ color:inherit; }

/* =========================
   LAYOUT / TYPO
   ========================= */
.wrap{
  width:min(var(--max), calc(100% - (var(--pad) * 2)));
  margin:0 auto;
  padding:24px 0;
}
.muted{ opacity:.78; }
.small{ font-size:13px; }

.h1{
  margin:0;
  font-size:clamp(28px, 3.6vw, 46px);
  font-weight:950;
  letter-spacing:-.03em;
}
.h2{
  margin:0 0 12px;
  font-size:20px;
  font-weight:900;
  letter-spacing:-.02em;
}

/* cards */
.card{
  background:var(--sb-glass);
  border:1px solid var(--sb-border);
  border-radius:var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.card-pad{ padding:20px 22px; }

/* buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:16px;
  font-weight:900;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.10);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-2px); background: rgba(255,255,255,.18); }
.btn.primary{ background: rgba(225,29,46,.38); border-color: rgba(225,29,46,.65); }
.btn.primary:hover{ background: rgba(225,29,46,.48); }
.btn.ghost{ background: transparent; border-color: rgba(255,255,255,.18); }
.actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:14px; }

/* =========================
   NAVBAR (ONE SYSTEM)
   ========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(10,5,6,.92);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}
.header-inner{
  width:min(var(--max), calc(100% - (var(--pad) * 2)));
  margin:0 auto;
  padding:14px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  font-weight:950;
  letter-spacing:-.02em;
}
.brand-logo{ height:36px; width:auto; }
.brand-name{ font-size:18px; }

.nav{
  display:flex;
  align-items:center;
  gap:8px;
}
.nav a{
  text-decoration:none;
  color: rgba(255,255,255,.88);
  font-weight:850;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
}
.nav a:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color:#fff;
}

/* burger */
.burger{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  font-size:20px;
  cursor:pointer;
}
.mobile-menu{
  display:block;
  background: rgba(10,5,6,.98);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.mobile-menu[hidden]{ display:none !important; }
.mobile-menu.is-open{ display:block; }

.mobile-inner{
  width:min(var(--max), calc(100% - (var(--pad) * 2)));
  margin:0 auto;
  padding: 10px 0 16px;
  display:grid;
  gap:10px;
}
.mobile-inner a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-decoration:none;
  color: rgba(255,255,255,.95);
  font-weight:900;
  padding:16px 16px;
  border-radius:16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.mobile-inner a::after{
  content:"›";
  opacity:.9;
  font-size:22px;
}
.mobile-inner a:active{
  transform: scale(.99);
  background: rgba(255,255,255,.12);
}

@media (max-width: 900px){
  .nav{ display:none; }
  .burger{ display:inline-flex; align-items:center; justify-content:center; }
}

/* =========================
   HERO SLIDER (FIXED)
   ========================= */
.sb-hero{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 26px 70px rgba(0,0,0,.55);
}

/* WICHTIG: Height muss über Container kommen, nicht nur max-height */
.sb-slides{
  position: relative;
  aspect-ratio: 18 / 9;
  width: 100%;
}
@media (max-width: 900px){
  .sb-slides{ aspect-ratio: 4 / 5; }
}

.sb-slide{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  opacity:0;
  pointer-events:none;
  transform: scale(1.04);
  transition: opacity .55s ease, transform 1.2s ease;
}
.sb-slide.is-active{
  opacity:1;
  transform: scale(1);
  z-index:2;
  pointer-events:auto;
}

/* Overlay */
.sb-overlay{
  position:absolute;
  inset:0;
  z-index:3;
  background: linear-gradient(90deg,
    rgba(10,5,6,.92) 0%,
    rgba(10,5,6,.58) 55%,
    rgba(10,5,6,.18) 100%
  );
}

/* Content */
.sb-hero-content{
  position:absolute;
  inset:0;
  z-index:4;
  padding: clamp(22px, 4.5vw, 64px);
  max-width: 760px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  color:#fff;
}

.sb-kicker{
  display:inline-block;
  width: fit-content;
  padding: 8px 16px;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(225,29,46,.45), rgba(245,158,11,.26));
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,.65);
}

.sb-hero-title{
  margin: 14px 0 10px;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-shadow: 0 3px 14px rgba(0,0,0,.75);
}
.sb-hero-sub{
  margin: 0;
  max-width: 62ch;
  opacity:.92;
  line-height:1.65;
  text-shadow: 0 2px 10px rgba(0,0,0,.65);
}

/* CTA */
.sb-hero-cta{
  margin-top: 18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.sb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 20px;
  border-radius: 16px;
  font-weight: 900;
  text-decoration:none;
  color:#fff;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.10);
  transition: transform .15s ease, background .15s ease;
}
.sb-btn:hover{ transform: translateY(-2px); background: rgba(255,255,255,.18); }
.sb-btn--primary{
  background: rgba(225,29,46,.38);
  border-color: rgba(225,29,46,.65);
}
.sb-btn--primary:hover{ background: rgba(225,29,46,.50); }

/* Arrows */
.sb-nav{
  position:absolute;
  z-index:6;
  top:50%;
  transform: translateY(-50%);
  width:48px;
  height:48px;
  border-radius:999px;
  border:none;
  background: rgba(0,0,0,.45);
  color:#fff;
  font-size:28px;
  cursor:pointer;
}
.sb-prev{ left:16px; }
.sb-next{ right:16px; }
@media (max-width: 900px){
  .sb-nav{ top:auto; bottom: 14px; transform:none; }
}

/* Dots */
.sb-dots{
  margin-top: 14px;
  display:flex;
  gap:8px;
  align-items:center;
}
.sb-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:none;
  background: rgba(255,255,255,.30);
  cursor:pointer;
}
.sb-dot.is-active{ background: rgba(255,255,255,.85); }

/* =========================
   EVENTS LIST (Frontend + Admin)
   ========================= */
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}
@media (max-width: 900px){
  .grid2{ grid-template-columns:1fr; }
}

.list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top: 12px;
}

.item{
  display:flex;
  align-items:flex-start;
  gap:14px;
  width:100%;
  padding:14px 16px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  text-decoration:none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.item:hover{
  transform: translateY(-2px);
  background: rgba(0,0,0,.36);
  border-color: rgba(225,29,46,.40);
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
}

.datebox{
  width:72px;
  flex: 0 0 72px;
  border-radius: 16px;
  padding:10px 8px;
  text-align:center;
  background: linear-gradient(180deg, rgba(225,29,46,.32), rgba(0,0,0,.35));
  border: 1px solid rgba(225,29,46,.35);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.datebox b{
  display:block;
  font-size:22px;
  line-height:1;
  font-weight:950;
  color:#fff;
}
.datebox span{
  display:block;
  margin-top:4px;
  font-size:12px;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-weight:900;
  color:#fff;
  opacity:.9;
}
.item-body, .body{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.item-title, .title{
  font-size:16px;
  font-weight:900;
  line-height:1.25;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.esub{ font-size:13px; font-weight:650; opacity:.78; }

@media (max-width: 900px){
  .item{
    gap: 12px;
    padding: 12px 14px;
  }

  .datebox{
    width: 64px;
    flex: 0 0 64px;
  }

  .item-title, .title{
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .item .small,
  .item-body .muted{
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
}

/* =========================
   EVENT DETAIL
   ========================= */
.gallery{
  margin: 16px 0 10px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 900px){ .gallery{ grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 520px){ .gallery{ grid-template-columns: 1fr;} }
.gallery-item{
  display:block;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
}
.gallery-item img{ width:100%; height:220px; object-fit:cover; display:block; }
@media (max-width: 520px){ .gallery-item img{ height:auto; } }

/* =========================
   FOOTER (Grid + IGM + Adresse + Intern)
   ========================= */
.footer{
  padding: 30px 0 46px;
  opacity: .88;
}

.footer-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 2fr 1fr;
  gap: 18px;
}
@media (max-width: 1100px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){
  .footer-grid{ grid-template-columns: 1fr; }
}

.footer-col{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 44px rgba(0,0,0,.28);
  padding: 16px 16px;
}

.footer-title{
  font-weight: 950;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

.footer-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.14);
  text-decoration:none;
  font-weight: 850;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.footer-links a:hover{
  transform: translateY(-2px);
  background: rgba(0,0,0,.30);
  border-color: rgba(255,255,255,.22);
}

/* IG Metall + Adresse in EINEM Block */
.footer-igm{
  display:flex;
  align-items:center;
  gap: 14px;
}
.igm-logo{
  width: 140px;
  height: auto;
  max-width: 40%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.30));
}
.igm-right{ min-width:0; }
.igm-head{ font-weight: 950; margin-bottom: 6px; }

.igm-address{
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 12px 12px;
  line-height: 1.55;
}

@media (max-width: 620px){
  .footer-igm{ flex-direction: column; align-items:flex-start; }
  .igm-logo{ width: 180px; max-width: 80%; }
  .igm-address{ width: 100%; }
}

.footer-bottom{
  margin-top: 16px;
  text-align:center;
  opacity:.78;
}
.footer-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1100px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){
  .footer-grid{ grid-template-columns: 1fr; }
}

.footer-admin-link{
  display:inline;
  padding: 0;
  border: none;
  background: transparent;
  text-decoration: underline;
  opacity: .9;
}
.footer-admin-link:hover{ opacity: 1; }
/* ===== Edit Form: Layout retten ===== */
.sb-form .sb-field{ margin-top: 14px; }
.sb-form .sb-label{
  display:block;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.sb-form .help{
  display:block;
  margin-top: 6px;
  opacity: .75;
  font-size: 12px;
}

/* datetime-local sieht sonst je nach Browser weird aus */
.sb-form input[type="datetime-local"]{
  min-height: 46px;
}
/* =========================================================
   EDIT/ADMIN FORMS – hard reset (damit es nicht wieder stirbt)
   ========================================================= */

.sb-form{ margin-top: 16px; }
.sb-form *{ box-sizing:border-box; }

.sb-form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-top: 14px;
}

@media (max-width: 900px){
  .sb-form-grid{ grid-template-columns: 1fr; }
  .sb-span-2{ grid-column: auto; }
}

.sb-span-2{ grid-column: 1 / -1; }

.sb-field{ margin:0 !important; padding:0 !important; }
.sb-label{
  display:block;
  font-weight: 900;
  margin: 0 0 8px 0;
}

.sb-input{
  width:100% !important;
  display:block !important;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.28);
  color: var(--sb-text);
  outline: none;
}

.sb-input:focus{
  border-color: rgba(225,29,46,.45);
  box-shadow: 0 0 0 3px rgba(225,29,46,.18);
}

.sb-textarea{
  min-height: 120px;
  resize: vertical;
}

.sb-file{
  padding: 10px 12px;
}

.sb-help{
  display:block;
  margin-top: 6px;
  opacity: .75;
  font-size: 12px;
}

.sb-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 18px;
}

/* Thumbs */
.sb-thumbgrid{
  margin-top: 10px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 900px){ .sb-thumbgrid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .sb-thumbgrid{ grid-template-columns: 1fr; } }

.sb-thumb{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 10px;
}

.sb-thumb img{
  width:100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  display:block;
}

.sb-remove{
  margin-top: 10px;
  display:flex;
  gap:10px;
  align-items:center;
  font-weight: 850;
}
/* =========================
   MOBILE BURGER MENU – FIXED FULLSCREEN OVERLAY
   ========================= */

/* verhindert seitliches scrollen durch 100vw / overflow-glitches */
html, body { overflow-x: hidden; }

/* nur mobile */
@media (max-width: 900px){

  /* wenn offen: Seite darf nicht scrollen */
  body.nav-open{
    overflow: hidden;
    height: 100%;
    touch-action: none;
  }

  /* dropdown NICHT mehr "unter header", sondern echtes overlay */
  .mobile-menu{
    display: block;              /* wichtig: wir steuern Sichtbarkeit per opacity/pointer */
    position: fixed;
    inset: 0;                    /* top/right/bottom/left = 0 */
    width: 100vw;
    height: 100dvh;
    z-index: 10000;

    background: rgba(10,5,6,.98);
    backdrop-filter: blur(10px);

    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
  }

  .mobile-menu.is-open{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Inhalt im Overlay: volle Breite */
  .mobile-inner{
    width: min(var(--max), calc(100% - (var(--pad) * 2)));
    margin: 0 auto;
    padding: max(16px, env(safe-area-inset-top)) 0 18px;

    display: grid;
    gap: 10px;
  }

  /* optischer Kopf im overlay (optional) */
  .mobile-inner::before{
    content: "Menü";
    display: block;
    font-weight: 950;
    letter-spacing: -.02em;
    font-size: 18px;
    opacity: .92;
    margin-bottom: 6px;
  }

  /* Links groß + klickbar */
  .mobile-inner a{
    display: flex;
    align-items: center;
    justify-content: space-between;

    text-decoration: none;
    color: rgba(255,255,255,.95);
    font-weight: 900;

    padding: 16px 16px;
    border-radius: 16px;

    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 10px 24px rgba(0,0,0,.35);

    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-inner a::after{
    content:"›";
    opacity:.9;
    font-size:22px;
    margin-left: 14px;
  }

  .mobile-inner a:active{
    transform: scale(.99);
    background: rgba(255,255,255,.12);
  }

  /* Burger Button bleibt oben */
  .site-header{
    position: sticky;
    top: 0;
    z-index: 11000; /* über content */
  }

  /* Burger ist sichtbar, nav versteckt (hast du schon, hier nur safe) */
  .nav{ display:none; }
  .burger{ display:inline-flex; align-items:center; justify-content:center; }

  /* optional: close hint im burger (wenn offen) */
  .burger.is-open{
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.22);
  }
}
/* ===== nav-link / mobile-link an dein System binden ===== */
.nav-link{
  text-decoration:none;
  color: rgba(255,255,255,.88);
  font-weight:850;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
}
.nav-link:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color:#fff;
}

.mobile-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-decoration:none;
  color: rgba(255,255,255,.95);
  font-weight:900;
  padding:16px 16px;
  border-radius:16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.mobile-link::after{ content:"›"; opacity:.9; font-size:22px; }
.mobile-link:active{ transform: scale(.99); background: rgba(255,255,255,.12); }
.footer-bottom-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.footer-backstage-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  font-weight:900;
  text-decoration:none;
  background: rgba(225,29,46,.35);
  border:1px solid rgba(225,29,46,.6);
  color:#fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  transition: transform .15s ease, background .15s ease;
}

.footer-backstage-btn:hover{
  transform: translateY(-2px);
  background: rgba(225,29,46,.5);
}
/* =========================
   AUTH (Login/Register) – clean + embed friendly
   ========================= */

.auth-wrap{
  min-height: calc(100vh - 120px); /* genug Luft für Header/Footer */
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 28px 0;
}

.auth-card{
  width: min(520px, 100%);
  padding: 22px 22px;
}

.auth-head{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap: 10px;
  margin-bottom: 14px;
}

.auth-logo{
  width: clamp(120px, 28vw, 210px);
  height: auto;
  max-height: 84px;          /* <- verhindert, dass das Logo die Karte sprengt */
  object-fit: contain;
  display:block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

.auth-title{
  margin: 2px 0 0;
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -.02em;
}

.auth-sub{
  margin: 0;
  opacity: .78;
  line-height: 1.55;
  font-size: 14px;
}

.form{
  display:grid;
  gap: 12px;
}

.field{
  display:grid;
  gap: 8px;
}

.field span{
  font-weight: 850;
  opacity: .9;
}

.input, textarea, select{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.28);
  color: var(--sb-text);
}

.auth-row{
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  margin-top: 6px;
}

.auth-links{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  opacity:.9;
}

.auth-links a{
  text-decoration:none;
  opacity:.85;
}
.auth-links a:hover{ opacity:1; text-decoration:underline; }

/* =========================
   Cookie / Consent (YouTube + Google Maps)
   ========================= */
.sb-consent-noscroll{ overflow:hidden; }

.sb-consent-banner{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10000;
}
.sb-consent-banner-inner{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(10,5,6,.92);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 26px 70px rgba(0,0,0,.55);
}
.sb-consent-banner-text{ min-width:0; }
.sb-consent-title{ font-weight: 950; letter-spacing:-.02em; }
.sb-consent-sub{ opacity:.82; line-height:1.45; font-size:13px; margin-top:3px; }

.sb-consent-actions{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:flex-end; }
.sb-consent-actions.compact{ gap:8px; }

.sb-consent-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 900;
  color:#fff;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.sb-consent-btn:hover{ transform: translateY(-2px); background: rgba(255,255,255,.16); }
.sb-consent-btn.primary{
  background: rgba(225,29,46,.40);
  border-color: rgba(225,29,46,.70);
}
.sb-consent-btn.primary:hover{ background: rgba(225,29,46,.52); }
.sb-consent-btn.ghost{
  background: transparent;
  border-color: rgba(255,255,255,.18);
  color:#fff;
}
.sb-consent-btn.ghost:hover{ background: rgba(255,255,255,.08); }

.sb-consent-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 10001;
}

.sb-consent-modal{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100% - 28px));
  z-index: 10002;
  border-radius: 22px;
  background: rgba(10,5,6,.96);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 90px rgba(0,0,0,.70);
  backdrop-filter: blur(12px);
  padding: 16px;
}

.sb-consent-modal-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.sb-consent-x{
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  font-size: 26px;
  line-height: 1;
  cursor:pointer;
}
.sb-consent-x:hover{ background: rgba(255,255,255,.10); }

.sb-consent-box{
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  border-radius: 18px;
  overflow:hidden;
}
.sb-consent-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 14px 14px;
}
.sb-consent-row + .sb-consent-row{ border-top: 1px solid rgba(255,255,255,.10); }
.sb-consent-row-title{ font-weight: 950; }
.sb-consent-row-sub{ opacity:.80; font-size:13px; margin-top:3px; line-height:1.45; }
.sb-consent-pill{
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 900;
  font-size: 12px;
  opacity:.92;
  white-space:nowrap;
}

.sb-switch{ position:relative; width:52px; height:32px; flex:0 0 auto; }
.sb-switch input{ position:absolute; inset:0; opacity:0; }
.sb-switch span{
  position:absolute; inset:0;
  border-radius:999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.16);
  transition: background .15s ease;
}
.sb-switch span::after{
  content:"";
  position:absolute;
  top:50%; left:6px;
  width:22px; height:22px;
  transform: translateY(-50%);
  border-radius:999px;
  background: rgba(255,255,255,.88);
  transition: left .15s ease;
}
.sb-switch input:checked + span{
  background: rgba(225,29,46,.40);
  border-color: rgba(225,29,46,.55);
}
.sb-switch input:checked + span::after{ left: 24px; }

.sb-consent-fineprint{ margin-top: 10px; opacity:.80; font-size: 12px; line-height: 1.45; }
.sb-consent-fineprint a{ text-decoration: underline; }

.sb-consent-placeholder{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  box-shadow: 0 16px 44px rgba(0,0,0,.28);
  overflow:hidden;
}
.sb-consent-placeholder-inner{
  padding: 18px;
  text-align:center;
}
.sb-consent-placeholder-title{ font-weight: 950; }
.sb-consent-placeholder-sub{ opacity:.82; margin-top:6px; line-height:1.5; }
.sb-consent-placeholder-actions{ margin-top: 12px; display:flex; justify-content:center; }

@media (max-width: 700px){
  .sb-consent-banner-inner{ flex-direction: column; align-items: stretch; }
  .sb-consent-actions{ justify-content: stretch; }
  .sb-consent-btn{ width: 100%; }
}


/* =========================
   CONSENT / EMBED BLOCKING (YouTube + Maps)
   ========================= */
[data-embed-wrap]{ position:relative; }
[data-embed-wrap] iframe[data-consent]{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
[data-embed-wrap] .sb-embed-placeholder{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
}
.sb-consent-btn.ghost{ color: rgba(255,255,255,.92); }

/* =========================
   STARTSEITE: AUFTRITTE MOBILE OVERFLOW FIX
   ========================= */
#auftritte .grid2,
#auftritte .grid2 > *,
#auftritte .card,
#auftritte .list,
#auftritte .item,
#auftritte .item-body{
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 900px){
  #auftritte .card{
    overflow: hidden;
  }

  #auftritte .item{
    overflow: hidden;
  }

  #auftritte .item-title,
  #auftritte .title,
  #auftritte .small,
  #auftritte .item-body .muted{
    display: block;
    max-width: 100%;
    white-space: normal !important;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
}
