@charset "utf-8";
/* CSS Document */

:root{
  --mw-primary:   #67c7f0;   /* BabyExpo Hellblau */
  --mw-dark:    #1d1d1b;
  --mw-bg:      #f6fbfe;   /* etwas freundlicher/heller */
  --mw-darkred: #b51217;   /* Datums-/Highlight-Zeilen */
  --mw-accent:  #e4575e;   /* CTA-Rot */
  --mw-soft:    #eef8fd;   /* sehr helles Blau */
  --mw-soft-2:  #f9fcfe;   /* fast weiß mit Blaustich */
  --mw-shadow:  0 12px 34px rgba(0,0,0,.08);
  --mw-shadow-hover: 0 16px 38px rgba(0,0,0,.11);
  --mw-radius:  1.25rem;
}

body{
  background: var(--mw-bg);
  color: var(--mw-dark);
}

/* =========================
   Hero / Intro
   ========================= */
.mw-hero{
  background: #fff;
}

.mw-brandline{
  color: var(--mw-primary);
  font-weight: 700;
  letter-spacing: .2px;
}

/* =========================
   Cards
   ========================= */
.mw-card{
  border: 0;
  border-radius: var(--mw-radius);
  box-shadow: var(--mw-shadow);
  overflow: hidden;
  height: 100%;
  background: #fff;
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .mw-card:hover{
    background-color: var(--mw-soft-2);
    box-shadow: var(--mw-shadow-hover);
    transform: translateY(-2px);
  }
}

.mw-card .card-body{
  padding: 1.35rem 1.35rem 1.1rem;
}

/* =========================
   Header Logo / Side Image
   ========================= */
.mw-logo{
  height: 86px;
  width: auto;
  max-width: 100%;
  display: block;
}

.mw-logo--dach{
  height: 80px;
}

.mw-header-sideimg{
  max-height: 100px;
  width: auto;
  display: block;
}

@media (max-width: 767.98px){
  .mw-header-sideimg{
    max-height: 80px;
  }
}

.mw-event-strong{
  font-weight: 700;
  color: var(--mw-darkred);
}

/* =========================
   Buttons
   ========================= */
.btn-mw{
  background: var(--mw-accent);
  border-color: var(--mw-accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  padding: .7rem 1.2rem;
  box-shadow: 0 8px 18px rgba(197,22,24,.18);
}

.btn-mw:hover,
.btn-mw:focus-visible{
  background-color: #a90f13;
  border-color: #a90f13;
  color: #fff;
}

.mw-badge-ext{
  font-size: .85rem;
  color: rgba(29,29,27,.75);
}

.btn-mw-secondary{
  background: var(--mw-primary);
  border-color: var(--mw-primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  padding: .7rem 1.2rem;
  box-shadow: 0 8px 18px rgba(103,199,240,.25);
}

.btn-mw-secondary:hover,
.btn-mw-secondary:focus-visible{
  background-color: #4fb8e6;
  border-color: #4fb8e6;
  color: #fff;
}

.dropdown-menu{
  border-radius: 1rem;
  border: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.dropdown-item:hover{
  background: var(--mw-soft);
}



.mw-footer{
  color: rgba(29,29,27,.75);
  font-size: .95rem;
}

@media (max-width: 575.98px) {
  .mw-hero .lead{
    font-size: 1rem;
    line-height: 1.45;
  }
}

@media (max-width: 575.98px) {
  .mw-card .card-body{
    padding: 1rem;
  }
}

/* =========================
   Accessibility
   ========================= */
a:focus-visible,
button:focus-visible,
.btn:focus-visible{
  outline: 3px solid rgba(103,199,240,.45);
  outline-offset: 3px;
}

.mw-card:focus-within{
  box-shadow: 0 0 0 4px rgba(103,199,240,.18);
}

a:focus,
button:focus,
.btn:focus{
  outline: none;
}

/* =========================
   Co-Events / Logos
   ========================= */
.mw-coevent-label{
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  color: rgba(29,29,27,.55);
}

.mw-coevent-logo img{
  max-width: 220px;
  height: auto;
  transition: opacity .2s ease, transform .2s ease;
}

@media (hover: hover) {
  .mw-coevent-logo:hover img{
    opacity: .9;
    transform: translateY(-2px);
  }
}

.mw-coevent-note{
  font-size: .85rem;
  color: rgba(29,29,27,.6);
}

.mw-icon{
  width: 14px;
  height: 14px;
  fill: var(--mw-primary);
  vertical-align: middle;
  margin-right: 6px;
  margin-top: -2px;
}

/* =========================
   Links
   ========================= */
a{
  color: var(--mw-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease, font-weight .2s ease;
}

a:hover,
a:focus-visible{
  color: #3fb4e6;
  font-weight: 600;
  text-decoration: none;
}

/* =========================
   Header-Navigation
   ========================= */
.mw-topnav .nav-link{
  padding: .35rem .7rem;
  font-weight: 600;
  border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}

.mw-topnav .nav-link:hover,
.mw-topnav .nav-link:focus-visible{
  background: var(--mw-soft);
  color: var(--mw-dark);
}

.mw-topnav .dropdown-menu{
  border-radius: 1rem;
  border: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  padding: .4rem;
}

.mw-topnav .dropdown-item{
  padding: .6rem 1rem;
  border-radius: .75rem;
}

.mw-topnav .dropdown-item:hover,
.mw-topnav .dropdown-item:focus{
  background: var(--mw-soft);
}

.mw-topnav.sticky-top{
  background: rgba(255,255,255,.96);
  padding-top: .25rem !important;
  padding-bottom: .25rem !important;
  backdrop-filter: blur(8px);
}

.mw-topnav{
  background: #fff;
  box-shadow: none;
  margin-top: -1px;
  transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}

.mw-topnav.sticky-top{
  border-bottom-color: rgba(0,0,0,.10);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

/* =========================
   Header Intro / Bild
   ========================= */
.mw-header-intro{
  margin-bottom: 0;
}

.mw-header-img{
  display: block;
  margin-bottom: 0;
}

/* Erste Card direkt nach dem Intro normal */
.mw-header-intro + .mw-card{
  padding-top: 0;
}

/* Overlap erst ab Desktop (lg) aktivieren */
@media (min-width: 992px){
  .mw-header-img{
    position: relative;
    z-index: 2;
    margin-bottom: -50px;
  }

  .mw-header-intro + .mw-card{
    padding-top: 10px;
  }
}

@media (max-width: 991.98px){
  .mw-header-img{
    max-width: 240px;
  }
}

/* =========================
   Footer Logos
   ========================= */

.mw-footer-logos{
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: auto;
  flex-wrap: wrap;
}


.mw-footer-logo{
  display: inline-block;
  opacity: .88;
  transition: opacity .2s ease, transform .2s ease;
}

.mw-footer-logo img{
  max-width: 100%;
  max-height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}

.mw-footer-logo:hover{
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 575.98px){
  .mw-footer-logo img{
    max-height: 40px;
  }
}

/* =========================
   Hallenplan / Zoom
   ========================= */
.mw-plan-shell{
  position: relative;
  padding: 14px;
}

.mw-plan-wrapper{
  overflow: auto;
  background: #f8fbfd;
  border-radius: 18px;
  cursor: grab;
  user-select: none;
}

.mw-plan-wrapper.is-dragging{
  cursor: grabbing;
}

.mw-plan-img{
  display: block;
  width: 100%;
  height: auto;
  transform-origin: top left;
  transition: transform .12s ease;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.mw-plan-controls{
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 20;
  display: flex;
  gap: 8px;
}

.mw-zoom-btn{
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  font-weight: 700;
  line-height: 1;
}

/* =========================
   Ausstellerliste
   ========================= */
@media (min-width: 992px){
  #mwListBox{
    height: 100%;
    overflow-y: auto;
  }
}

/* =========================
   Optional / Bestand
   ========================= */
.kattext{ font-size: 0.7rem; }
.letter{ padding: 2px 8px; font-weight: bold; }

.linkneutral a:link{ color: black; font-weight: 200; }
.linkneutral a:visited{ color: black; font-weight: normal; }
.linkneutral a:focus{ color: black; font-weight: normal; }
.linkneutral a:hover{ color: darkblue; font-weight: 300; }
.linkneutral a:active{ color: darkblue; }

.btn-blank{
  background-color: white;
  padding: 0;
}

.icon-plus{
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.icon-chevron{
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: #4267BE;
}

/* Rotation wenn geöffnet */
.accordion-panel-title[aria-expanded="true"] .icon-chevron{
  transform: rotate(180deg);
}

/* =========================
   Floating CTA Desktop only
   ========================= */
.mw-cta-floating{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  padding: 12px 18px;
  border-radius: 999px;

  background: var(--mw-accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all .25s ease;
}

.mw-cta-floating.is-visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mw-cta-floating:hover{
  background: #a90f13;
  color: #fff;
}

/* =========================
   BabyExpo Index / Startseite
   ========================= */

.mw-home-section{
  margin-bottom: 3rem;
}

@media (min-width: 768px){
  .mw-home-section{
    margin-bottom: 4rem;
  }
}

.mw-section-head{
  text-align: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px){
  .mw-section-head{
    margin-bottom: 2rem;
  }
}

.mw-section-head .mw-brandline{
  margin-bottom: .35rem;
}

.mw-section-head h2{
  margin-bottom: 0;
}

.mw-intro-card{
  border-radius: 1.5rem;
}

.mw-intro-card .lead{
  font-size: 1.1rem;
}

.mw-home-logos .card-body{
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.mw-home-logos img{
  max-width: 100%;
  height: auto;
  transition: transform .25s ease, opacity .25s ease;
}

@media (hover: hover){
  .mw-home-logos a:hover img{
    transform: translateY(-2px) scale(1.02);
    opacity: .95;
  }
}

/* Bildbereich in Cards */
.mw-card-media{
  position: relative;
  overflow: hidden;
  background: var(--mw-soft);
}

.mw-card-media img{
  display: block;
  width: 100%;
  height: auto;
  transition: transform .45s ease;
}

@media (hover: hover) and (pointer: fine){
  .mw-card:hover .mw-card-media img{
    transform: scale(1.04);
  }
}

/* Etwas freundlicher für Startseiten-Cards */
.mw-home-grid .mw-card{
  border-radius: 1.35rem;
}

.mw-home-grid .mw-card .card-body{
  padding: 1.2rem 1.2rem 1.1rem;
}

.mw-home-grid .mw-card h3,
.mw-home-grid .mw-card .h5{
  margin-bottom: .7rem;
}

.mw-home-grid .mw-card ul{
  margin-bottom: 0;
}

.mw-headline {
  font-size: 1.5rem;
}

/* Kleine Badge/Label-Optik optional */
.mw-kicker{
  display: inline-block;
  width: auto !important;
  max-width: fit-content;
  padding: .20rem .1rem;
  background: var(--mw-soft);
  color: var(--mw-dark);
  font-size: .85rem;
  text-transform: uppercase;
  font-weight: lighter;
  letter-spacing: .05em;
  margin-bottom: .1rem;
}

.mw-lead {
  font-size: 1.1rem;

}

/* =========================
   Auftauchen / Einfliegen
   ========================= */

.mw-reveal{
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .7s ease,
    transform .7s ease;
  will-change: opacity, transform;
}

.mw-reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* leichte Varianten */
.mw-reveal-left{
  opacity: 0;
  transform: translateX(-28px);
  transition:
    opacity .75s ease,
    transform .75s ease;
  will-change: opacity, transform;
}

.mw-reveal-right{
  opacity: 0;
  transform: translateX(28px);
  transition:
    opacity .75s ease,
    transform .75s ease;
  will-change: opacity, transform;
}

.mw-reveal-left.is-visible,
.mw-reveal-right.is-visible{
  opacity: 1;
  transform: translateX(0);
}

/* gestaffelt */
.mw-delay-1{ transition-delay: .08s; }
.mw-delay-2{ transition-delay: .16s; }
.mw-delay-3{ transition-delay: .24s; }
.mw-delay-4{ transition-delay: .32s; }
.mw-delay-5{ transition-delay: .40s; }
.mw-delay-6{ transition-delay: .48s; }

/* Nutzer mit reduced motion */
@media (prefers-reduced-motion: reduce){
  .mw-reveal,
  .mw-reveal-left,
  .mw-reveal-right{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .mw-card,
  .mw-card-media img,
  .mw-home-logos img{
    transition: none !important;
  }
}

/* =========================
   BabyExpo Index / Startseite
   ========================= */

.mw-home-section{
  margin-bottom: 3rem;
}

@media (min-width: 768px){
  .mw-home-section{
    margin-bottom: 4rem;
  }
}

.mw-section-head{
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

@media (min-width: 768px){
  .mw-section-head{
    margin-bottom: 2rem;
  }
}

.mw-section-head .mw-brandline{
  margin-bottom: .35rem;
}

.mw-section-head h2{
  margin-bottom: 0;
}

.mw-intro-card{
  border-radius: 1.5rem;
}

.mw-intro-card .lead{
  font-size: 1.1rem;
}

.mw-home-logos .card-body{
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.mw-home-logos img{
  max-width: 100%;
  height: auto;
  transition: transform .25s ease, opacity .25s ease;
}

@media (hover: hover){
  .mw-home-logos a:hover img{
    transform: translateY(-2px) scale(1.02);
    opacity: .95;
  }
}

/* Bildbereich in Cards */
.mw-card-media{
  position: relative;
  overflow: hidden;
  background: var(--mw-soft);
}

.mw-card-media img{
  display: block;
  width: 100%;
  height: auto;
  transition: transform .45s ease;
}

@media (hover: hover) and (pointer: fine){
  .mw-card:hover .mw-card-media img{
    transform: scale(1.04);
  }
}

/* Startseiten-Cards */
.mw-home-grid .mw-card{
  border-radius: 1.35rem;
}

.mw-home-grid .mw-card .card-body{
  padding: 1.2rem 1.2rem 1.1rem;
}

.mw-home-grid .mw-card h3,
.mw-home-grid .mw-card .h5{
  margin-bottom: .7rem;
}

.mw-home-grid .mw-card ul{
  margin-bottom: 0;
}

/* Auftauchen / Einfliegen */
.mw-reveal{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

.mw-reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.mw-reveal-left{
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .75s ease, transform .75s ease;
  will-change: opacity, transform;
}

.mw-reveal-right{
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .75s ease, transform .75s ease;
  will-change: opacity, transform;
}

.mw-reveal-left.is-visible,
.mw-reveal-right.is-visible{
  opacity: 1;
  transform: translateX(0);
}

/* gestaffelt */
.mw-delay-1{ transition-delay: .08s; }
.mw-delay-2{ transition-delay: .16s; }
.mw-delay-3{ transition-delay: .24s; }
.mw-delay-4{ transition-delay: .32s; }
.mw-delay-5{ transition-delay: .40s; }
.mw-delay-6{ transition-delay: .48s; }

@media (prefers-reduced-motion: reduce){
  .mw-reveal,
  .mw-reveal-left,
  .mw-reveal-right{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .mw-card,
  .mw-card-media img,
  .mw-home-logos img{
    transition: none !important;
  }
}

.mw-delay-7{ transition-delay: .56s; }
.mw-delay-8{ transition-delay: .64s; }

.mw-home-grid .mw-card{
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mw-home-grid .card-body{
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mw-footer-logo{
  margin-top: auto;
  display: inline-block;
}

.mw-card{
  border: 1px solid rgba(0,0,0,0.04);
}

/* ===== Navbar Extras ===== */
.mw-nav-extras{
  display: flex;
  align-items: center;
  gap: .75rem;
}

.mw-nav-ticket{
  white-space: nowrap;
  border-radius: 999px;
  padding: .55rem 1rem;
  line-height: 1.2;
  box-shadow: 0 8px 18px rgba(197,22,24,.18);
}

.mw-nav-socials{
  display: flex;
  align-items: center;
  gap: .35rem;
}

.mw-nav-social{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: darkblue;
  background: rgba(197,22,24,.08);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.mw-nav-social svg{
  width: 19px;
  height: 19px;
  fill: currentColor;
  display: block;
}

.mw-nav-social:hover,
.mw-nav-social:focus-visible{
  color: #fff;
  background: var(--mw-primary);
  transform: translateY(-1px);
  text-decoration: none;
}

@media (min-width: 992px){
  .mw-topnav .navbar-nav{
    align-items: center;
    gap: .15rem;
  }
}

@media (max-width: 991.98px){
  .mw-nav-extras{
    margin-top: 1rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(0,0,0,.08);
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .mw-nav-ticket{
    order: 1;
  }

  .mw-nav-socials{
    order: 2;
  }
}

/* Besucher-Info etc */
.mw-location-block{
  scroll-margin-top: 120px;
}

.mw-location-block .card-body{
  padding: 1.4rem 1.4rem 1.2rem;
}

@media (min-width: 992px){
  .mw-location-block .card-body{
    padding: 2rem 2rem 1.8rem;
  }
}

.mw-location-block h2,
.mw-location-block h3{
  color: var(--mw-dark);
}

.mw-location-block h3.h6{
  margin-bottom: .55rem;
  font-weight: 700;
}

.mw-location-block p{
  color: rgba(29,29,27,.82);
}

.mw-location-map{
  overflow: hidden;
  border-radius: 1rem;
  background: var(--mw-soft);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
}

.mw-location-map iframe{
  display: block;
  width: 100%;
  height: 420px;
}

.mw-location-switch{
  position: sticky;
  top: 78px;
  z-index: 20;
  margin-bottom: 1.5rem;
}

.mw-location-switch .btn{
  border-radius: 999px;
  padding: .75rem 1.1rem;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}

@media (max-width: 991.98px){
  .mw-location-map iframe{
    height: 340px;
  }

  .mw-location-switch{
    top: 70px;
  }
}

.mw-price-list{
  display:flex;
  flex-direction:column;
  gap:.65rem;
}

.mw-price-item{
  padding:.65rem 0;
  border-bottom:1px solid rgba(0,0,0,.08);
}

.mw-price-item:last-child{
  border-bottom:0;
  padding-bottom:0;
}

.mw-price-title{
  display:block;
  margin-bottom:.2rem;
}

.mw-price-values{
  display:flex;
  flex-direction:column;
  gap:.35rem;
  margin-top:.2rem;
}

.mw-price-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.35rem .6rem;
  border-radius:.8rem;
  background:#fff;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.05);
}

.mw-price-line.is-vv{
  background:rgba(84, 176, 255, .12);
  box-shadow:inset 0 0 0 1px rgba(84, 176, 255, .28);
}

.mw-price-line small{
  color:rgba(0,0,0,.65);
  display:block;
  line-height:1.2;
}

.mw-price-line strong{
  color:var(--mw-dark);
  white-space:nowrap;
}

.mw-ticket-note{
  background:rgba(84, 176, 255, .10);
  border:1px solid rgba(84, 176, 255, .24);
  border-radius:1rem;
  padding:1rem 1rem .9rem;
}

.mw-mini-card{
  height: 100%;
  background: #fff;
  border-radius: 1rem;
  padding: 1rem 1rem .9rem;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
}

.mw-mini-card h3{
  margin-bottom: .55rem;
}

.mw-section-card{
  background: #fff;
  border-radius: 1rem;
  padding: 1rem 1rem .9rem;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
}

@media (min-width: 992px){
  .mw-mini-card,
  .mw-section-card{
    padding: 1.15rem 1.15rem 1rem;
  }
}

.mw-card table{
  margin-bottom: 0;
}

.mw-card td{
  padding: .95rem 1rem;
  vertical-align: middle;
}

.mw-card .table-striped > tbody > tr:nth-of-type(odd) > *{
  background-color: rgba(103,199,240,.08);
}

.mw-card .table > :not(caption) > * > *{
  border-bottom-color: rgba(0,0,0,.06);
}


.mw-banner-accordion .accordion-item{
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.mw-banner-accordion .accordion-button{
  font-weight: 700;
  background: var(--mw-soft);
  color: var(--mw-dark);
  box-shadow: none;
}

.mw-banner-accordion .accordion-button:not(.collapsed){
  background: rgba(103,199,240,.16);
  color: var(--mw-dark);
  box-shadow: none;
}

.mw-banner-accordion .accordion-button:focus{
  box-shadow: none;
}

.mw-banner-accordion .accordion-body{
  padding: 1rem;
  background: #fff;
}

.mw-banner-card{
  height: 100%;
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.mw-banner-card img{
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.mw-banner-card a{
  word-break: break-word;
}

/* =========================
   Galerie
   ========================= */

.mw-gallery-panel{
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
  margin-bottom: 1.5rem;
}

.mw-gallery-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mw-gallery-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px){
  .mw-gallery-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px){
  .mw-gallery-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.mw-gallery-item{
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.mw-gallery-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
}

.mw-gallery-link{
  display: block;
  color: inherit;
  text-decoration: none;
}

.mw-gallery-thumbbox{
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: #f8f9fa;
  padding: .75rem;
  overflow: hidden;
}

.mw-gallery-thumb{
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .22s ease;
}

.mw-gallery-item:hover .mw-gallery-thumb{
  transform: scale(1.04);
}

.mw-gallery-meta{
  padding: .7rem .8rem .85rem;
}

.mw-gallery-filename{
  font-size: .78rem;
  line-height: 1.35;
  color: #6c757d;
  word-break: break-all;
}

@media (max-width: 575.98px){
  .mw-gallery-thumbbox{
    aspect-ratio: 1 / 1;
    padding: .5rem;
  }
}

.mw-lightbox[hidden]{
  display: none !important;
}

.mw-lightbox{
  position: fixed;
  inset: 0;
  z-index: 3000;
}

.mw-lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
}

.mw-lightbox-dialog{
  position: absolute;
  inset: 1rem;
  margin: auto;
  width: min(1100px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mw-lightbox-body{
  padding: 1rem 1rem 0;
  overflow: auto;
}

.mw-lightbox-imgwrap{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  max-height: 72vh;
  background: #f8f9fa;
  overflow: hidden;
}

.mw-lightbox-imgwrap img{
  display: block;
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.mw-lightbox-footer{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid rgba(0,0,0,.08);
}

.mw-lightbox-close{
  position: absolute;
  top: .55rem;
  right: .8rem;
  z-index: 3;
  border: 0;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  color: #333;
}

.mw-photo-modal-filename{
  font-size: .95rem;
  font-weight: 600;
  word-break: break-all;
}

body.mw-lightbox-open{
  overflow: hidden;
}

@media (max-width: 767.98px){
  .mw-lightbox-dialog{
    inset: .5rem;
    width: calc(100vw - 1rem);
    max-height: calc(100vh - 1rem);
  }

  .mw-lightbox-footer{
    flex-direction: column;
    align-items: flex-start;
  }
}

.mw-lightbox-counter{
  font-size: .9rem;
  font-weight: 600;
  color: #6c757d;
  white-space: nowrap;
}

.mw-lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #333;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 .25rem .75rem rgba(0,0,0,.18);
  transition: background-color .18s ease, transform .18s ease;
}

.mw-lightbox-nav:hover{
  background: #fff;
}

.mw-lightbox-prev{
  left: 1rem;
}

.mw-lightbox-next{
  right: 1rem;
}

@media (max-width: 767.98px){
  .mw-lightbox-nav{
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.7rem;
  }

  .mw-lightbox-prev{
    left: .5rem;
  }

  .mw-lightbox-next{
    right: .5rem;
  }
}

/* DE EN */

.mw-lang-switch{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  margin-left:.75rem;
  font-weight:600;
  line-height:1;
  white-space:nowrap;
}

.mw-lang-current{
  opacity:1;
  font-weight: 600
}

.mw-lang-sep{
  opacity:.55;
}

.mw-lang-link{
  text-decoration:none;
}

.mw-lang-link:hover,
.mw-lang-link:focus{
  text-decoration:underline;
}

@media (max-width: 991.98px){
  .mw-nav-extras{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:.75rem;
    margin-top:1rem;
  }

  .mw-lang-switch{
    margin-left:0;
  }
}

/* =========================
   Social Shares
   ========================= */

.mw-share-icons{
  display:flex;
  justify-content:center;
  gap:.6rem;
  position: relative;
}

.mw-share-btn{
  width:42px;
  height:42px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  box-shadow:0 6px 14px rgba(0,0,0,.08);
  transition:all .2s ease;
  color: var(--mw-primary);
  border:1px solid rgba(0,0,0,.06);
}

.mw-share-btn svg{
  width:18px;
  height:18px;
  fill:currentColor;
}

.mw-share-btn:hover{
  background:var(--mw-primary);
  color:#fff;
  transform:translateY(-2px);
}

.mw-copy-tip{
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  background: var(--mw-dark);
  color: #fff;
  font-size: .78rem;
  line-height: 1;
  padding: .45rem .65rem;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.mw-copy-tip.is-visible{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* Bubble Animation */

@keyframes mwBubbleFloatA{
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(-8px, 10px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes mwBubbleFloatB{
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(10px, -8px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.mw-bubbles::before{
  animation: mwBubbleFloatA 11s ease-in-out infinite;
}

.mw-bubbles::after{
  animation: mwBubbleFloatB 14s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce){
  .mw-bubbles::before,
  .mw-bubbles::after{
    animation: none !important;
  }
}

/* Event-Banner */
.mw-related-events-section {
  margin-bottom: 2rem;
}
.mw-related-events-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
}
.mw-related-event {
  display: block;
  border-radius: 0.8rem;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.mw-related-event img {
  display: block;
  width: 100%;
  height: auto;
}
.mw-related-event:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  opacity: 0.96;
}
.mw-related-event:focus-visible {
  outline: 2px solid #0d6efd;
  outline-offset: 3px;
}
@media (max-width: 767.98px) {
  .mw-related-events-grid {
    gap: 0.5rem;
  }
  .mw-related-event {
    border-radius: 0.65rem;
  }
}

/* Banner-Seite*/
.mw-embed-box {
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  padding: 0.75rem;
}

.mw-embed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.mw-embed-code {
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.5rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.82rem;
  line-height: 1.45;
  font-family: Consolas, Monaco, "Courier New", monospace;
  background: #fff;
  color: #212529;
}

.mw-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 0.5rem;
  background: #e9ecef;
  color: #212529;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.mw-copy-btn:hover {
  background: #dde2e6;
  transform: translateY(-1px);
}

.mw-copy-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.mw-copy-btn.is-copied {
  background: #d1e7dd;
}

.mw-section-label {
  margin-bottom: 0;
}