/* Startseite mobil: einheitliche Überschriften + 16px Seitenabstand */
@media (max-width: 700px) {
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry h2.box-header,
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry h2.box-header#veranstaltung-title,
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry .slider-wrapper h2.box-header,
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .home-cats__head h2 {
    box-sizing: border-box; width: 100% !important; max-width: none !important;
    margin-left: 0 !important; margin-right: 0 !important;
    padding-left: 16px !important; padding-right: 16px !important;
    text-align: center !important; font-size: 24px !important; line-height: 1.2 !important; color: #1b2b35 !important;
  }
  /* Überschrift in Containern: Abstand kommt vom Container (16px) */
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry .content_container h2.box-header,
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry .bi-template-actions-shell h2.box-header,
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry .home-cats__head h2 {
    padding-left: 0 !important; padding-right: 0 !important;
  }
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry .content_container.margint,
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry .content_container.margintdlr {
    margin-left: 0 !important; margin-right: 0 !important; padding-left: 16px !important; padding-right: 16px !important;
  }
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry .content_container .content_container,
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry .bi-template-actions-shell {
    margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important;
  }
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry .bi-template-actions-shell > .wrapper, html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry .bi-template-actions-shell .wrapper { margin-left: 0 !important; margin-right: 0 !important; }
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry section.home-cats { margin-left: 0 !important; margin-right: 0 !important; }
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry section.home-cats .home-cats__head { margin-left: 0 !important; padding-left: 0 !important; }
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry .veranstaltung-copy,
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry section.eventausstattung > *:not(h2),
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry section.produktkatalog > *:not(h2) {
    box-sizing: border-box; padding-left: 16px; padding-right: 16px;
  }
}

/* Überschriften zentriert, Abstand zu Text + zentrierter Akzentbalken */
@media (max-width: 700px) {
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry h2.box-header,
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .home-cats__head h2 {
    text-align: center !important; margin-top: 32px !important; margin-bottom: 24px !important;
  }
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .entry h2.box-header::after,
  html body.bi-modern-ui.is-homepage:not(.z1):not(.z2):not(.z3) .home-cats__head h2::after {
    content: "" !important; display: block !important; position: static !important;
    width: 40px !important; height: 3px !important; margin: 12px auto 0 !important; border-radius: 2px; background: #e0742b;
  }
}

/* Karten-Überschriften (So funktioniert's / Kategorie-Karten): auf allen Breiten zentriert */
html body.bi-modern-ui .how_it_works .box-header,
html body.bi-modern-ui .how_it_works h3.box-header {
  text-align: center !important; margin-left: auto !important; margin-right: auto !important;
}
html body.bi-modern-ui .how_it_works .box-header::after,
html body.bi-modern-ui .how_it_works h3.box-header::after {
  content: "" !important; display: block !important; position: static !important;
  width: 40px !important; height: 3px !important; margin: 12px auto 0 !important; background: #e0742b; border-radius: 2px;
}
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) .how_it_works h3.box-header.box-header {
  text-align: center !important; margin-left: auto !important; margin-right: auto !important;
}
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) .how_it_works h3.box-header.box-header::after {
  content: "" !important; display: block !important; position: static !important;
  width: 40px !important; height: 3px !important; margin: 12px auto 0 !important; background: #e0742b; border-radius: 2px;
}

/* Produkt-Slider (Startseite): moderne Pfeil-Buttons + Titel-Schrift */
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #slider button.slider__control {
  width: 46px !important; height: 46px !important; min-width: 46px !important; border-radius: 50% !important; border: 0 !important;
  background: linear-gradient(145deg, #c2461a, #8f320d) !important; color: #fff !important;
  box-shadow: 0 8px 18px rgba(143,50,13,.32), 0 0 0 4px rgba(255,255,255,.92) !important;
  display: flex !important; align-items: center; justify-content: center; padding: 0 !important; font-size: 0 !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; cursor: pointer;
}
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #slider button.slider__control::before {
  content: "" !important; display: block !important; width: 11px !important; height: 11px !important;
  border: solid #fff !important; border-width: 0 0 3px 3px !important; border-radius: 1px; font-size: 0 !important; background: none !important;
}
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #slider button.slider__control_prev::before { transform: translateX(2px) rotate(45deg) !important; }
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #slider button.slider__control_next::before { transform: translateX(-2px) rotate(-135deg) !important; }
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #slider button.slider__control::after { display: none !important; }
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #slider button.slider__control:hover { transform: translateY(-50%) scale(1.08); filter: brightness(1.08); }
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #slider button.slider__control:focus-visible { outline: 3px solid #1b2b35; outline-offset: 3px; }
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #slider .slider__item_name h3 {
  font-family: Georgia, "Times New Roman", serif !important; font-size: 22px !important; line-height: 1.28 !important; font-weight: 700 !important;
}

/* Partner- und Bewertungs-Slider: gleiche Pfeil-Buttons wie Produkt-Slider */
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #tags button.prev,
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #tags button.next,
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #googlebewertung button.sliderGoogle-nav {
  width: 46px !important; height: 46px !important; min-width: 46px !important; border-radius: 50% !important; border: 0 !important;
  background: linear-gradient(145deg, #c2461a, #8f320d) !important; color: transparent !important; font-size: 0 !important; line-height: 0 !important;
  box-shadow: 0 8px 18px rgba(143,50,13,.32), 0 0 0 4px rgba(255,255,255,.92) !important;
  display: flex !important; align-items: center; justify-content: center; padding: 0 !important; cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #tags button.prev::before,
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #tags button.next::before,
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #googlebewertung button.sliderGoogle-nav::before {
  content: "" !important; display: block !important; width: 11px !important; height: 11px !important;
  border: solid #fff !important; border-width: 0 0 3px 3px !important; border-radius: 1px; background: none !important; font-size: 0 !important;
  /* product-slider.css setzt den Pfeil absolut auf 50%/50% - dann fehlt die Zentrierung und er rutscht nach rechts unten. Flexbox zentriert. */
  position: static !important; top: auto !important; left: auto !important; right: auto !important; margin: 0 !important; flex: 0 0 auto;
}
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #tags button.prev::after,
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #tags button.next::after,
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #googlebewertung button.sliderGoogle-nav::after { display: none !important; }
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #tags button.prev::before,
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #googlebewertung button.sliderGoogle-nav.left::before { transform: translateX(2px) rotate(45deg) !important; }
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #tags button.next::before,
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #googlebewertung button.sliderGoogle-nav.right::before { transform: translateX(-2px) rotate(-135deg) !important; }
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #tags button.prev:hover,
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #tags button.next:hover,
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #googlebewertung button.sliderGoogle-nav:hover { filter: brightness(1.1); }
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #googlebewertung button.sliderGoogle-nav.left { left: -8px !important; }
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #googlebewertung button.sliderGoogle-nav.right { right: -8px !important; }
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) #tags button.partner-slider__toggle {
  border: 0 !important; border-radius: 999px !important; background: rgba(27,23,19,.82) !important; color: #fff !important;
  font-weight: 700 !important; font-size: 13px !important; padding: 9px 18px !important; box-shadow: 0 6px 16px rgba(0,0,0,.25) !important;
}

/* Bereich "Neuigkeiten aus dem Eventausstattungskatalog": eigener Hintergrund + Trennung */
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) section#slider.slider {
  background: linear-gradient(180deg, #fbf2ea 0%, #f7e9dd 100%) !important;
  border-top: 1px solid #ecd9c8; border-bottom: 1px solid #ecd9c8;
  padding-top: 48px !important; padding-bottom: 56px !important; position: relative;
}
html body.bi-modern-ui:not(.z1):not(.z2):not(.z3):not(.z4) section#slider.slider::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, #c2461a, #e0742b, #c2461a);
}
