/* cmSP-Mindest-Overrides – Original-Theme bleibt unangetastet */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #222;
  z-index: 99999;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.external-modal[hidden] {
  display: none !important;
}

.external-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(24, 32, 20, 0.62);
  backdrop-filter: blur(4px);
  animation: mbm-external-modal-fade-in 0.22s ease;
}

.external-modal__card {
  position: relative;
  overflow: hidden;
  width: min(100%, 520px);
  max-width: 520px;
  padding: 0;
  border: 1px solid rgba(120, 144, 87, 0.22);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(16, 24, 12, 0.28);
  animation: mbm-external-modal-slide-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.external-modal__card::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #789057 0%, #98b070 55%, #5f8fbf 100%);
}

.external-modal__header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem 1.5rem 0;
}

.external-modal__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(120, 144, 87, 0.16), rgba(95, 143, 191, 0.1));
  color: #5f7245;
  border: 1px solid rgba(120, 144, 87, 0.24);
  font-size: 1.25rem;
}

.external-modal__intro h2 {
  margin: 0 0 0.4rem;
  font-family: "Roboto", "Khula", sans-serif;
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 700;
  color: #222;
  text-transform: none;
}

.external-modal__intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #5c5c5c;
}

.external-modal__destination {
  margin: 1.15rem 1.5rem 0;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbf5 0%, #f2f7ec 100%);
  border: 1px solid #e4e8df;
}

.external-modal__destination-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.external-modal__destination-host {
  display: block;
  font-size: 1.1rem;
  line-height: 1.35;
  color: #5f7245;
  word-break: break-word;
}

.external-modal__destination-url {
  display: block;
  margin-top: 0.45rem;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed rgba(120, 144, 87, 0.35);
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 12px;
  line-height: 1.45;
  color: #444;
  word-break: break-all;
}

.external-modal__destination-url[hidden] {
  display: none;
}

.external-modal__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1.2rem 1.5rem 1.4rem;
}

.external-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.external-modal__btn:focus-visible {
  outline: 2px solid rgba(120, 144, 87, 0.75);
  outline-offset: 2px;
}

.external-modal__btn--cancel {
  background: #fff;
  border-color: #d5d9cf;
  color: #444;
}

.external-modal__btn--cancel:hover,
.external-modal__btn--cancel:focus-visible {
  background: #fef2f2;
  border-color: #f5a8a8;
  color: #991b1b;
}

.external-modal__btn--confirm {
  background: #789057;
  border-color: #789057;
  color: #fff;
}

.external-modal__btn--confirm:hover,
.external-modal__btn--confirm:focus-visible {
  background: #5f7245;
  border-color: #5f7245;
  color: #fff;
}

@keyframes mbm-external-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mbm-external-modal-slide-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 575.98px) {
  .external-modal__header {
    padding: 1.15rem 1.1rem 0;
  }

  .external-modal__destination {
    margin-inline: 1.1rem;
  }

  .external-modal__actions {
    flex-direction: column-reverse;
    align-items: stretch;
    padding: 1rem 1.1rem 1.2rem;
  }

  .external-modal__btn {
    width: 100%;
  }
}

/* Back to Top */
.mbm-back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #789057;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(24, 32, 20, 0.28);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.mbm-back-top[hidden] {
  display: none !important;
}

.mbm-back-top:hover,
.mbm-back-top:focus-visible {
  background: #5f7245;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(24, 32, 20, 0.34);
}

.mbm-back-top:focus-visible {
  outline: 2px solid rgba(120, 144, 87, 0.75);
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .mbm-back-top {
    right: 1rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }
}

/* Einheitliche Referenz-Typografie – nur Teaser/Content-Seiten, nicht Zucht-Karten */
.mbm-home-teaser-bridge .mbm-teaser-text,
.content-text:not(.mbm-zucht-intro),
.content-text:not(.mbm-zucht-intro) p {
  font-family: "Roboto", "Open Sans", Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 26px !important;
  font-weight: 400 !important;
  color: #363636 !important;
  opacity: 1;
}

.content-text span,
.content-text div {
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

/* Startseite: Teaser-Karten wie Referenz – über Slider, darüber grüne Zucht-Sektion */
#header-slider.header-slider {
  overflow: visible;
  margin-bottom: 0;
}

.mbm-home-teaser-bridge {
  position: relative;
  z-index: 20;
  margin-top: -52px;
}

.mbm-home-teaser-bridge .mbm-teaser-stage {
  background: #fafafa;
  padding: 28px 0 48px;
  position: relative;
}

.mbm-home-teaser-bridge .mbm-teaser-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
  margin-left: -15px;
  margin-right: -15px;
}

.mbm-home-teaser-bridge .mbm-teaser-col {
  display: flex;
  margin-bottom: 0;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 992px) {
  .mbm-home-teaser-bridge .mbm-teaser-col {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

.mbm-home-teaser-bridge .each-features {
  display: flex;
  flex: 1;
  width: 100%;
  margin-bottom: 0;
}

.mbm-home-teaser-bridge .features-inner.mbm-teaser-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #fff;
  border-radius: 0;
  min-height: 0;
  height: auto;
  width: 100%;
  box-shadow: 0 0 60px -6px rgba(10, 10, 10, 0.2);
  padding: 28px 24px 26px;
  overflow: hidden;
}

.mbm-home-teaser-bridge .each-details {
  text-align: center;
  color: #444;
  line-height: 1.55;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.mbm-home-teaser-bridge .each-details .fa:before {
  color: #698344 !important;
  font-size: 52px !important;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.mbm-home-teaser-bridge .each-details strong {
  color: #222;
  display: block;
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  font-family: "Open Sans", Arial, sans-serif;
}

.mbm-home-teaser-bridge .mbm-teaser-text {
  margin: 0;
}

/* Hover-Overlay wie Referenz (grün, weiße Schrift, Ghost-Button) */
.mbm-home-teaser-bridge .features-inner .features-content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #698344;
  color: #fff;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.mbm-home-teaser-bridge .features-inner:hover .features-content {
  opacity: 1;
}

.mbm-home-teaser-bridge .features-inner .features-content .title {
  opacity: 1 !important;
  transform: none !important;
  margin: 0 0 16px;
  font-size: 1.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}

.mbm-home-teaser-bridge .features-inner .features-content p {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 24px;
  color: #fff;
  opacity: 1 !important;
  transform: none !important;
}

.mbm-home-teaser-bridge .features-inner .features-content .mbm-teaser-btn {
  opacity: 1 !important;
  transform: none !important;
  display: inline-block;
  margin-top: auto;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff !important;
  background: transparent !important;
  border: 2px solid #fff !important;
  border-radius: 0;
}

.mbm-home-teaser-bridge .features-inner .features-content .mbm-teaser-btn:hover,
.mbm-home-teaser-bridge .features-inner .features-content .mbm-teaser-btn:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-color: #fff !important;
}

.mbm-home-teaser-bridge .features-inner:hover {
  box-shadow: 0 8px 65px rgba(0, 0, 0, 0.18);
}

.mbm-home-teaser-bridge .mbm-home-zucht {
  padding-top: 0;
  margin-top: 0;
  position: relative;
  z-index: 2;
  background-color: #698344 !important;
}

.mbm-home-teaser-bridge .mbm-home-zucht .mbm-zucht-row {
  padding-top: 0;
}

.mbm-home-teaser-bridge .mbm-home-zucht .section-title {
  margin: 0;
  padding: 52px 15px 42px;
  text-align: center;
  width: 100%;
}

.mbm-home-teaser-bridge .mbm-home-zucht .section-title h2 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

@media (max-width: 991.98px) {
  .mbm-home-teaser-bridge {
    margin-top: -36px;
  }
  .mbm-home-teaser-bridge .mbm-teaser-stage {
    padding: 20px 0 36px;
  }
  .mbm-home-teaser-bridge .mbm-teaser-col {
    margin-bottom: 24px;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .mbm-home-teaser-bridge .features-inner.mbm-teaser-card,
  .mbm-home-teaser-bridge .each-details {
    min-height: 0;
  }
}

@media (max-width: 767.98px) {
  .mbm-home-teaser-bridge {
    margin-top: -20px;
  }
}

/* Zucht-Übersicht: weiße Karte umschließt Bild + Text, Namens-Banner bleibt sichtbar */
#ch-blog-start .section-title {
  margin-bottom: 70px;
}

#ch-blog-start .each-blog,
.mbm-home-zucht .each-blog {
  clear: both;
  width: 100%;
  position: relative;
  z-index: 1;
}

.mbm-zucht-intro {
  margin-bottom: 2rem !important;
  clear: both;
}

#ch-blog-start .blog-inner,
.mbm-home-zucht .blog-inner {
  background: transparent;
  overflow: visible;
  position: relative;
}

#ch-blog-start .blog-banner,
.mbm-home-zucht .blog-banner,
.mbm-zucht-card-banner {
  position: relative;
  z-index: 4;
  line-height: 0;
  min-height: 4px;
}

#ch-blog-start .blog-banner img,
.mbm-home-zucht .blog-banner img {
  display: block;
  width: 100%;
  height: auto;
}

#ch-blog-start .blog-banner .date,
#ch-blog-start .blog-banner .blog-span-start,
.mbm-home-zucht .blog-banner .date,
.mbm-home-zucht .blog-banner .blog-span-start {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 6;
  display: inline-block;
  background-color: #405422 !important;
  color: #fff !important;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  line-height: 1.35;
  max-width: calc(100% - 16px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.mbm-zucht-card-body,
.ch-blog .blog-content.mbm-zucht-card-body {
  position: relative;
  z-index: 1;
  background: #fff !important;
  padding: 20px !important;
  overflow: hidden;
}

.mbm-zucht-card-body .blog-img,
.mbm-zucht-card-body .img-aktuelles {
  float: left !important;
  width: 250px !important;
  max-width: 38% !important;
  height: 145px !important;
  margin: 0 12px 8px 0 !important;
  object-fit: cover;
  object-position: center;
}

.mbm-zucht-card-body p {
  margin: 0 0 24px !important;
  color: #363636 !important;
  font-size: 16px !important;
  line-height: 26px !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

.mbm-zucht-intro.content-text,
.mbm-zucht-intro.content-text p {
  font-size: 16px !important;
  line-height: 26px !important;
  opacity: 1 !important;
  text-align: center;
}

@media (max-width: 767.98px) {
  .mbm-zucht-card-body .blog-img,
  .mbm-zucht-card-body .img-aktuelles {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 180px !important;
    margin: 0 0 14px 0 !important;
  }
}

/* News-Übersicht: weißer Hintergrund umschließt Bild */
.ch-blog .mbm-news-card {
  background: #fff;
  overflow: hidden;
}

.ch-blog .mbm-news-card-banner,
.mbm-news-card-banner {
  position: relative;
  z-index: 4;
  line-height: 0;
  min-height: 4px;
}

.ch-blog .mbm-news-card-banner .date,
.mbm-news-card-banner .date {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 6;
  display: inline-block;
  background-color: #405422 !important;
  color: #fff !important;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  line-height: 1.35;
  max-width: calc(100% - 16px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ch-blog .mbm-news-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: #fff !important;
  padding: 20px 22px !important;
  overflow: hidden;
}

.ch-blog .mbm-news-card-body h4 {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-weight: 700;
}

.mbm-news-card-inner {
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.mbm-news-card-media {
  flex: 0 0 220px;
  max-width: 220px;
  min-width: 180px;
}

.mbm-news-card-body .mbm-news-card-img,
.mbm-news-card-body .blog-img,
.mbm-news-card-body .img-aktuelles {
  float: none !important;
  display: block;
  width: 100% !important;
  height: 145px !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center;
}

.mbm-news-card-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.mbm-news-card-text p {
  margin: 0 0 24px !important;
}

.mbm-news-card-text .btn {
  align-self: flex-start;
  margin-top: auto;
}

@media (max-width: 767.98px) {
  .mbm-news-card-inner {
    flex-direction: column;
    gap: 14px;
  }
  .mbm-news-card-media {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
  .mbm-news-card-body .mbm-news-card-img,
  .mbm-news-card-body .blog-img,
  .mbm-news-card-body .img-aktuelles {
    height: 180px !important;
  }
}

/* News-Detail */
.mbm-news-detail-card {
  max-width: 960px;
  margin: 0 auto 40px;
}

.mbm-news-detail-body {
  padding: 28px 32px 32px !important;
}

.mbm-news-detail-title {
  margin: 0 0 16px;
  font-size: 1.65rem;
  line-height: 1.25;
  text-transform: uppercase;
  font-weight: 700;
  color: #222;
}

.mbm-news-detail-teaser {
  margin: 0 0 20px !important;
  font-size: 17px !important;
  line-height: 28px !important;
  color: #363636 !important;
  opacity: 1 !important;
  font-weight: 400 !important;
}

.mbm-news-detail-hero {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.mbm-news-detail-hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

.mbm-news-detail-content {
  margin: 0 0 28px;
  font-size: 16px !important;
  line-height: 26px !important;
  color: #363636 !important;
  opacity: 1 !important;
}

.mbm-news-detail-content p {
  margin: 0 0 1rem;
  font-size: 16px !important;
  line-height: 26px !important;
  color: #363636 !important;
  opacity: 1 !important;
}

.mbm-news-detail-content span,
.mbm-news-detail-content div {
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

.mbm-news-detail-actions .btn {
  font-size: 16px !important;
  line-height: 26px !important;
}

.mbm-news-detail-content img {
  display: none !important;
}

.mbm-news-detail-gallery {
  margin-top: 8px;
  margin-bottom: 28px;
}

.mbm-news-detail-actions {
  margin-top: 8px;
  padding-top: 8px;
}

@media (max-width: 767.98px) {
  .mbm-news-detail-body {
    padding: 20px 18px 24px !important;
  }
  .mbm-news-detail-title {
    font-size: 1.35rem;
  }
}

/* Zucht-Detailseite */
.mbm-zucht-detail h2 {
  font-weight: 700;
  color: #222;
}

.mbm-zucht-detail-content {
  text-align: center;
  line-height: 1.7;
}

.mbm-zucht-info-head span {
  font-size: 1.1rem;
}

.mbm-zucht-info-table td {
  border-top: 1px solid #eee !important;
  padding: 10px 12px;
  vertical-align: middle;
}

.mbm-zucht-exam-line {
  margin: 0 0 6px;
}

.mbm-entity-gallery {
  margin: 1.5rem 0 2rem;
  clear: both;
}

.mbm-entity-gallery-label {
  display: block;
  margin-bottom: 0.75rem;
}

.mbm-entity-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  clear: both;
}

.mbm-entity-gallery-item {
  display: block;
  overflow: hidden;
  border: 2px solid #698344;
  border-radius: 2px;
  cursor: zoom-in;
  line-height: 0;
  background: #fff;
  padding: 0;
}

.mbm-entity-gallery-item:hover,
.mbm-entity-gallery-item:focus-visible {
  border-color: #405422;
  opacity: 0.92;
  outline: none;
}

.mbm-entity-gallery-thumb {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.pageloadlink {
  background: #698344;
  border: none;
  color: #fff;
  padding: 8px 16px;
  margin: 0 4px;
  cursor: pointer;
  font-weight: 600;
}
.pageloadlink.aktiviert,
.pageloadlink:hover {
  background: #405422;
}
#btnContainer .pager {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: center;
}

/* Footer: größeres Hauptlogo, Zuchtlogos harmonisch */
.ch-footer .ch-footer-info .mbm-footer-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
  margin-bottom: 24px;
}
.ch-footer .mbm-footer-intro p {
  opacity: 0.5;
}
.ch-footer .mbm-footer-breeding-logos {
  margin-top: 8px;
}
.ch-footer .mbm-footer-breeding-logos .logo-footer {
  width: 22% !important;
  max-width: 76px;
  height: auto;
  margin-right: 6px;
}

/* Über-uns / CMS-Seiten: Bilder im Content-Rand, Lupe unten rechts */
#ch-service .col-md-12.shadow {
  background: #fff;
  padding: 40px 45px 50px;
}

#ch-service .mbm-page-content {
  max-width: 100%;
  min-width: 0;
}

#ch-service .mbm-page-content .content-media-grid {
  display: grid;
  gap: 1.25rem;
  margin: 1.25rem 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#ch-service .mbm-page-content .content-media-grid--1 {
  grid-template-columns: minmax(0, 1fr);
}

#ch-service .mbm-page-content .content-media-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#ch-service .mbm-page-content .content-figure {
  margin: 0;
  min-width: 0;
  max-width: 100%;
}

#ch-service .mbm-page-content .content-figure__trigger {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transform: none;
}

#ch-service .mbm-page-content .content-figure__trigger:hover,
#ch-service .mbm-page-content .content-figure__trigger:focus-visible {
  transform: none;
  box-shadow: none;
}

#ch-service .mbm-page-content .content-figure__trigger:focus-visible {
  outline: 2px solid rgba(120, 144, 87, 0.75);
  outline-offset: 2px;
}

#ch-service .mbm-page-content .content-figure__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  object-position: center;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#ch-service .mbm-page-content .content-figure__img.ueberuns,
#ch-service .mbm-page-content .content-figure__img.ueberuns_top,
#ch-service .mbm-page-content img.ueberuns,
#ch-service .mbm-page-content img.ueberuns_top {
  height: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

#ch-service .mbm-page-content .content-figure__zoom {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  left: auto;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 52, 64, 0.72);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease;
}

#ch-service .mbm-page-content .content-figure__trigger:hover .content-figure__zoom,
#ch-service .mbm-page-content .content-figure__trigger:focus-visible .content-figure__zoom {
  background: rgba(120, 144, 87, 0.92);
}

#ch-service .mbm-page-content img:not(.content-figure__img) {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 1rem 0 1.25rem;
  border: 0;
  box-shadow: none;
}

@media (max-width: 767.98px) {
  #ch-service .col-md-12.shadow {
    padding: 24px 18px 32px;
  }

  #ch-service .mbm-page-content .content-media-grid--2 {
    grid-template-columns: 1fr;
  }
}

/* Kontaktseite */
.mbm-contact-page {
  --mbm-contact-accent: #789057;
  --mbm-contact-accent-dark: #5f7245;
  --mbm-contact-border: #e4e8df;
  --mbm-contact-muted: #4a4a4a;
  --mbm-contact-text: 17px;
  --mbm-contact-line: 28px;
  --mbm-contact-section-title: 26px;
  font-size: var(--mbm-contact-text);
  line-height: var(--mbm-contact-line);
  color: #363636;
}

.mbm-contact-page .section-separator {
  padding-top: 70px;
  padding-bottom: 70px;
}

.mbm-contact-shell {
  background: #fff;
  padding: 44px 50px 50px;
  margin-bottom: 0;
  border-radius: 4px;
}

.mbm-contact-hero {
  margin-bottom: 2.25rem;
  padding-bottom: 1.65rem;
  border-bottom: 1px solid var(--mbm-contact-border);
}

.mbm-contact-hero__title {
  margin: 0 0 0.85rem;
  font-family: "Khula", "Roboto", sans-serif;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 700;
  color: #222;
  text-transform: none;
}

.mbm-contact-hero__intro,
.mbm-contact-hero__intro p {
  margin: 0;
  font-size: var(--mbm-contact-text) !important;
  line-height: var(--mbm-contact-line) !important;
  color: #363636 !important;
  opacity: 1 !important;
}

/* Grüne Bereichsüberschriften – deutlich größer als Fließtext */
.mbm-contact-page .mbm-contact-section-title,
.mbm-contact-page h3.mbm-contact-section-title {
  margin: 0 0 1.35rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(120, 144, 87, 0.28);
  font-family: "Roboto", "Khula", sans-serif !important;
  font-size: var(--mbm-contact-section-title) !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  color: var(--mbm-contact-accent-dark) !important;
  text-transform: none !important;
  letter-spacing: 0.01em;
}

.mbm-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 2.25rem;
  align-items: start;
  margin-bottom: 2.75rem;
}

.mbm-contact-grid--solo {
  grid-template-columns: minmax(0, 1fr);
  max-width: 680px;
}

.mbm-contact-card {
  min-width: 0;
}

.mbm-contact-identity__name {
  margin: 0 0 1.35rem;
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 700;
  color: #222;
}

.mbm-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}

.mbm-contact-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.mbm-contact-list__icon {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(120, 144, 87, 0.16), rgba(120, 144, 87, 0.08));
  color: var(--mbm-contact-accent-dark);
  font-size: 1.35rem;
  box-shadow: 0 2px 8px rgba(120, 144, 87, 0.12);
}

.mbm-contact-list__icon .fa {
  font-size: 1.35rem;
  line-height: 1;
}

.mbm-contact-list__body,
.mbm-contact-list__body span,
.mbm-contact-opening-hours,
.mbm-contact-opening-hours p {
  font-size: var(--mbm-contact-text) !important;
  line-height: var(--mbm-contact-line) !important;
  color: #363636 !important;
  opacity: 1 !important;
}

.mbm-contact-list__body a {
  color: var(--mbm-contact-accent-dark);
  font-weight: 600;
  font-size: inherit !important;
  text-decoration: none;
}

.mbm-contact-list__body a:hover,
.mbm-contact-list__body a:focus-visible {
  color: var(--mbm-contact-accent);
  text-decoration: underline;
}

.mbm-contact-opening-hours p {
  margin: 0 0 0.35rem;
}

.mbm-contact-opening-hours p:last-child {
  margin-bottom: 0;
}

.mbm-contact-card--form {
  padding: 1.65rem 1.75rem 1.85rem;
  border: 1px solid var(--mbm-contact-border);
  border-radius: 10px;
  background: linear-gradient(180deg, #fafcf8 0%, #fff 100%);
  box-shadow: 0 8px 28px rgba(30, 40, 20, 0.06);
}

.mbm-contact-form-head__lead {
  margin: -0.35rem 0 1.35rem;
  font-size: var(--mbm-contact-text);
  line-height: var(--mbm-contact-line);
  color: var(--mbm-contact-muted);
}

.mbm-contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}

.mbm-contact-form .contact-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mbm-contact-form .contact-form-field--message,
.mbm-contact-form .contact-dsgvo {
  grid-column: 1 / -1;
}

.mbm-contact-form .contact-form-field label,
.mbm-contact-captcha > label {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: #333;
  margin: 0;
}

.mbm-contact-form .contact-form-field input,
.mbm-contact-form .contact-form-field textarea,
.mbm-contact-form .contact-captcha-input-row input[type="number"] {
  width: 100%;
  border: 1px solid #d5d9cf;
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  color: #333;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mbm-contact-form .contact-form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.mbm-contact-form .contact-form-field input:focus,
.mbm-contact-form .contact-form-field textarea:focus,
.mbm-contact-form .contact-captcha-input-row input[type="number"]:focus {
  outline: none;
  border-color: var(--mbm-contact-accent);
  box-shadow: 0 0 0 3px rgba(120, 144, 87, 0.18);
}

.mbm-contact-captcha {
  margin-top: 1.1rem;
}

.mbm-contact-captcha > label {
  display: block;
  margin-bottom: 0.45rem;
}

.mbm-contact-form .contact-captcha-input-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.mbm-contact-form .contact-captcha-question {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.95rem;
  border-radius: 6px;
  background: rgba(120, 144, 87, 0.14);
  color: var(--mbm-contact-accent-dark);
  font-size: 16px;
  font-weight: 700;
}

.mbm-contact-form .contact-captcha-refresh {
  min-width: 44px;
  padding: 0.6rem 0.8rem;
  border: 1px solid #d5d9cf;
  border-radius: 6px;
  background: #fff;
  color: #555;
  font-size: 16px;
  cursor: pointer;
}

.mbm-contact-form .contact-csgvo,
.mbm-contact-form .contact-dsgvo {
  margin-top: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: 6px;
  background: #fff9e8;
  border: 1px solid #ecd27a;
}

.mbm-contact-form .contact-dsgvo__switch-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.mbm-contact-form .contact-dsgvo__label {
  font-size: 16px;
  line-height: 1.5;
}

.mbm-contact-form .contact-dsgvo__label a {
  color: var(--mbm-contact-accent-dark);
  font-weight: 700;
}

.mbm-contact-form .contact-dsgvo__info {
  margin-top: 0.65rem;
  font-size: 15px;
  line-height: 1.55;
  color: #6b5a1e;
}

.mbm-contact-form .switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.mbm-contact-form .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.mbm-contact-form .switch-slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #dc2626;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.mbm-contact-form .switch-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.mbm-contact-form .switch input:checked + .switch-slider {
  background: #10b981;
}

.mbm-contact-form .switch input:focus-visible + .switch-slider {
  outline: 2px solid var(--mbm-contact-accent);
  outline-offset: 2px;
}

.mbm-contact-form .switch input:checked + .switch-slider::before {
  transform: translateX(20px);
}

.mbm-contact-form .contact-form-message {
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.45;
}

.mbm-contact-form .contact-form-message--success {
  background: #ecfdf3;
  border: 1px solid #86efac;
  color: #166534;
}

.mbm-contact-form .contact-form-message--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.mbm-contact-form-actions {
  margin-top: 1.15rem;
}

.mbm-contact-form-actions .btn-fill {
  min-width: 180px;
  padding: 13px 30px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  text-transform: none;
}

.mbm-contact-map-block {
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--mbm-contact-border);
}

.mbm-contact-map-head {
  margin-bottom: 1.15rem;
}

.mbm-contact-map-head__address {
  margin: 0;
  font-size: var(--mbm-contact-text);
  line-height: var(--mbm-contact-line);
  color: var(--mbm-contact-muted);
}

.mbm-contact-map {
  position: relative;
  min-height: 400px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--mbm-contact-border);
  background: linear-gradient(145deg, #eef4e8 0%, #f8faf5 55%, #edf4fb 100%);
  box-shadow: 0 8px 28px rgba(30, 40, 20, 0.06);
}

.mbm-contact-map .contact-map-consent {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(3px);
}

.mbm-contact-map .contact-map-consent[hidden] {
  display: none;
}

.mbm-contact-map .contact-map-consent__inner {
  max-width: 420px;
  text-align: center;
  padding: 1.25rem 1rem;
}

.mbm-contact-map .contact-map-consent__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--mbm-contact-accent-dark);
  background: rgba(120, 144, 87, 0.14);
  border: 1px solid rgba(120, 144, 87, 0.25);
}

.mbm-contact-map .contact-map-consent__inner h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  color: #222;
}

.mbm-contact-map .contact-map-consent__inner p {
  margin: 0 0 1rem;
  font-size: var(--mbm-contact-text);
  line-height: var(--mbm-contact-line);
  color: var(--mbm-contact-muted);
}

.mbm-contact-map .contact-map-canvas {
  width: 100%;
  height: 380px;
}

.mbm-contact-map .contact-map-canvas[hidden] {
  display: none;
}

.mbm-contact-map .leaflet-container {
  width: 100%;
  height: 380px;
  font-family: inherit;
  font-size: 14px;
}

.mbm-contact-map .leaflet-popup-content {
  margin: 0.65rem 0.75rem;
  font-size: 15px;
  line-height: 1.45;
}

.mbm-contact-map .leaflet-popup-content a {
  color: var(--mbm-contact-accent-dark);
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .mbm-contact-page .section-separator {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .mbm-contact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .mbm-contact-shell {
    padding: 32px 28px 36px;
  }
}

@media (max-width: 767.98px) {
  .mbm-contact-page .section-separator {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .mbm-contact-shell {
    padding: 24px 18px 28px;
  }

  .mbm-contact-hero__title {
    font-size: 1.65rem;
  }

  .mbm-contact-page .mbm-contact-section-title,
  .mbm-contact-page h3.mbm-contact-section-title {
    font-size: 22px !important;
  }

  .mbm-contact-list__icon {
    width: 2.85rem;
    height: 2.85rem;
    font-size: 1.2rem;
    border-radius: 10px;
  }

  .mbm-contact-list__icon .fa {
    font-size: 1.2rem;
  }

  .mbm-contact-form-grid {
    grid-template-columns: 1fr;
  }

  .mbm-contact-card--form {
    padding: 1.15rem 1.1rem 1.35rem;
  }

  .mbm-contact-map,
  .mbm-contact-map .contact-map-canvas,
  .mbm-contact-map .leaflet-container {
    min-height: 300px;
    height: 300px;
  }
}

/* Rechtstexte (Impressum, Datenschutz, Barrierefreiheit) – wie CMS-Seiten */
.mbm-legal-page .section-separator {
  padding-top: 70px;
  padding-bottom: 70px;
}

.mbm-legal-page .col-md-12.shadow {
  background: #fff;
  padding: 40px 45px 50px;
}

.mbm-legal-page__title {
  margin: 0 0 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e4e8df;
  font-family: "Khula", "Roboto", sans-serif;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 700;
  color: #222;
  text-transform: none;
}

.mbm-legal-page__body,
.mbm-legal-page__body p,
.mbm-legal-page__body li,
.mbm-legal-page__body td,
.mbm-legal-page__body th,
.mbm-legal-page__body span,
.mbm-legal-page__body div {
  font-family: "Roboto", "Open Sans", Arial, sans-serif !important;
  font-size: 17px !important;
  line-height: 28px !important;
  font-weight: 400 !important;
  color: #363636 !important;
  opacity: 1 !important;
}

.mbm-legal-page__body p {
  margin: 0 0 1.1rem;
}

.mbm-legal-page__body h2 {
  margin: 1.75rem 0 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid rgba(120, 144, 87, 0.28);
  font-family: "Roboto", "Khula", sans-serif !important;
  font-size: 26px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  color: #5f7245 !important;
  text-transform: none !important;
}

.mbm-legal-page__body h3 {
  margin: 1.35rem 0 0.65rem;
  font-family: "Roboto", "Khula", sans-serif !important;
  font-size: 22px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  color: #222 !important;
}

.mbm-legal-page__body h4 {
  margin: 1.1rem 0 0.5rem;
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  color: #222 !important;
}

.mbm-legal-page__body strong,
.mbm-legal-page__body b {
  font-weight: 700 !important;
  color: #222 !important;
}

.mbm-legal-page__body a {
  color: #5f7245;
  font-weight: 600;
  text-decoration: none;
}

.mbm-legal-page__body a:hover,
.mbm-legal-page__body a:focus-visible {
  color: #789057;
  text-decoration: underline;
}

.mbm-legal-page__body ul,
.mbm-legal-page__body ol {
  padding-left: 1.35rem;
  margin: 0 0 1.1rem;
}

.mbm-legal-page__body li {
  margin-bottom: 0.35rem;
}

.mbm-legal-page__body .legal-privacy-portal {
  margin-top: 0.5rem;
  border: 1px solid #e4e8df;
  border-radius: 6px;
  overflow: hidden;
  min-height: 480px;
}

.mbm-legal-page__body .legal-privacy-portal iframe {
  display: block;
  width: 100%;
  min-height: 480px;
  border: 0;
}

@media (max-width: 991.98px) {
  .mbm-legal-page .section-separator {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (max-width: 767.98px) {
  .mbm-legal-page .section-separator {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .mbm-legal-page .col-md-12.shadow {
    padding: 24px 18px 32px;
  }

  .mbm-legal-page__title {
    font-size: 1.65rem;
  }

  .mbm-legal-page__body h2 {
    font-size: 22px !important;
  }

  .mbm-legal-page__body h3 {
    font-size: 19px !important;
  }
}
