@charset "UTF-8";

/* ================================================
   1 – HERO CAROUSEL
   ================================================ */

.standort_hero .carousel-inner {
  height: min(50vh, 700px);
}

.standort_hero .carousel-item,
.standort_hero .carousel-item img {
  height: 100%;
}

.standort_hero .carousel-item img {
  width: 100%;
  object-fit: cover;
}


/* ================================================
   2 – TITLE PILLS
   ================================================ */

.pm-hero-title {
  width: 100%;
  max-width: 50vw;
  transform: translateY(-3rem);
  margin-bottom: -3rem;
}

.pm-hero-title-heading {
  margin: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  font-style: italic;
  line-height: 1;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
}

.pm-title-pill {
  display: inline-block;
  padding: 0.2em 0.5em 0.2em 0.35em;
  border-radius: 0.4rem;
  color: #fff;
  width: fit-content;
  max-width: 100%;
  word-break: break-word;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.pm-title-pill-green {
  background-color: var(--pm-green);
}

.pm-title-pill-orange {
  background-color: var(--pm-orange);
  font-size: 1.1em;
  margin-left: clamp(0.6rem, 4vw, 4rem);
}

@media (max-width: 768px) {
  .pm-hero-title {
    max-width: 100%;
  }

  .pm-hero-title-heading {
    font-size: clamp(1.6rem, 6vw, 2.3rem);
  }

  .pm-title-pill-orange {
    margin-left: clamp(0.4rem, 3vw, 1.2rem);
  }
}

@media (max-width: 480px) {
  .pm-hero-title-heading {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .pm-title-pill-orange {
    margin-left: 1.5rem;
  }
}


/* ================================================
   3 – CONTENT SPACING
   ================================================ */

.lh-170 {
  line-height: 1.7;
}


/* ================================================
   4 – CONTACT PERSON (LEITUNG)
   ================================================ */

.leitung-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.leitung-img-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  padding: 4px;
  border: 2px dotted var(--pm-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.leitung-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
}

.leitung-text {
  line-height: 1.7;
  font-size: 1.1rem;
}

@media (max-width: 576px) {
  .leitung-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .leitung-img {
    width: 120px;
    height: 120px;
  }
}


/* ================================================
   5 – AUF EINEN BLICK BOX
   ================================================ */

.aeb-box {
  position: relative;
  background: var(--pm-orange);
  border-radius: 0.5rem;
  padding: 2rem 1.6rem 1.8rem;
  color: #000;
}

.aeb-title {
  position: absolute;
  top: 0;
  left: 1.3rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pm-green);
  color: #fff;
  padding: 0.3rem 1rem 0.4rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  margin: 0;
}

.aeb-title i {
  color: #fff;
  font-size: 1.2em;
}

.list_aeb {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list_aeb li {
  position: relative;
  padding: 0.1rem 0 0.4rem 1.4rem;
  border-bottom: none;
}

.list_aeb li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #000;
}


/* ================================================
   6 – SIDEBAR IMAGE
   ================================================ */

.sidebar-img {
  border-radius: 0.5rem;
}


/* ================================================
   7 – GALLERY BACKGROUND STRIPE
   ================================================ */

.standort_bg_full {
  position: relative;
  z-index: 0;
  padding: 2rem 0;
}

.standort_bg_full::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background: #f3f4f6;
  z-index: -1;
}


/* ================================================
   8 – GALLERY GRID  (standort & artikel)
   ================================================ */

.pm-gallery-row {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
  margin-top: calc(var(--bs-gutter-y) * -1) !important;
}

@media (max-width: 575.98px) {
  .pm-gallery-row {
    --bs-gutter-x: .75rem;
    --bs-gutter-y: .75rem;
  }
}

.pm-gallery-row > [class*="col-"] {
  padding-left: calc(var(--bs-gutter-x) * .5) !important;
  padding-right: calc(var(--bs-gutter-x) * .5) !important;
  margin-top: var(--bs-gutter-y) !important;
}

.pm-gallery-tile {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .06);
  transition: transform .18s ease, box-shadow .18s ease;
  background: #e9ecef;
}

.pm-gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .22) 100%);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}

.pm-gallery-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 .6rem 1.3rem rgba(0, 0, 0, .12);
}

.pm-gallery-tile:hover::after {
  opacity: 1;
}

.pm-gallery-tile:focus-visible {
  outline: 3px solid rgba(13, 110, 253, .45);
  outline-offset: 3px;
}

.pm-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.03);
  transition: opacity .35s ease, filter .45s ease, transform .45s ease;
}

.pm-gallery-img.is-loaded {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}


/* ================================================
   9 – LIGHTBOX  (standort & artikel)
   ================================================ */

#standort_lightboxModal,
#artikel_lightboxModal {
  z-index: 20000 !important;
}

.modal-backdrop {
  z-index: 19990 !important;
}

#standort_lightboxModal.modal,
#artikel_lightboxModal.modal {
  --bs-modal-bg: transparent;
  --bs-modal-border-color: transparent;
}

.modal-backdrop.show {
  opacity: 1;
  background-color: rgba(240, 242, 238, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pm-lightbox-content {
  background: rgba(0, 0, 0, 0.75) !important;
  border: 0;
}


.pm-lightbox-figure {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 5rem 2rem 3.5rem;
  box-sizing: border-box;
}

.pm-lightbox-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: 0.25rem;
}

@media (max-width: 575.98px) {
  .pm-lightbox-figure {
    padding: 4rem 1rem 3rem;
  }

  .pm-lightbox-img {
    max-height: calc(100vh - 120px);
  }
}

.pm-lightbox-caption {
  display: block;
  margin-top: 0.75rem;
  color: #fff;
  font-size: 1.5rem;
  font-style: italic;
  text-align: center;
}

.pm-lightbox-caption:empty {
  display: none;
}

.pm-lightbox-counter {
  display: inline-flex;
  align-items: center;
  margin-top: 0.6rem;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: var(--pm-green);
  color: #fff;
  font-size: 0.8rem;
  font-style: italic;
  pointer-events: none;
}

/* Close button — identical to mega menu .pm-mega__close */
.pm-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--pm-green);
  background: var(--pm-green);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .16s ease, background .16s ease;
}

.pm-lightbox-close::before {
  content: "×";
  font-size: 26px;
  line-height: 1;
  transform: translateY(-1px);
}

.pm-lightbox-close:hover {
  transform: scale(1.06);
  background: var(--pm-orange);
  border-color: var(--pm-orange);
}

/* Nav arrows */
.pm-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.pm-lightbox-nav:hover {
  background: rgba(255,255,255,0.32);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-50%) scale(1.06);
}

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

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


/* ================================================
   10 – VIDEO EMBED
   ================================================ */

.standort_video_wrap {
  width: 100%;
  margin-top: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.standort_video {
  display: block;
  width: 100%;
  height: min(50vh, 56.25vw);
  min-height: 220px;
  border: 0;
}


/* ================================================
   11 – JOBS EMBED
   ================================================ */

.bms_logo {
  max-width: 170px;
  height: auto;
}

@media (max-width: 768px) {
  .bms_logo {
    max-width: 133px;
  }
}

.job_iframe_wrapper {
  padding: 30px 20px;
  border: 2px solid #dbe51a;
  border-radius: 10px;
  background: white;
  box-sizing: border-box;
  overflow: hidden;
}

.job_embed_iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

.berufmitsinn-green {
  font-size: 16px;
  width: 100%;
  background: #dbe51a;
  color: black !important;
  border-radius: 5px;
  justify-content: center;
  padding: .8rem 30px;
  transition: all .2s ease-in-out;
}

.berufmitsinn-green:hover {
  font-size: 20px;
}

@media (max-width: 768px) {
  #jobsContainer .matchContainer .date { width: 25%; }
  #jobsContainer .matchContainer .title { width: 70%; }
  #jobsContainer .matchContainer .audience { display: none; }
  #jobsContainer .matchContainer .jobcategory { display: none; }
  #jobsContainer .matchContainer .ProjectGeoLocationCity { display: none; }
}


/* ================================================
   12 – TABS
   ================================================ */

.standort_tabs_wrap {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.standort_tabs_wrap::-webkit-scrollbar {
  height: 6px;
}

.standort_tabs_nav {
  border-bottom: none;
  gap: 0.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  padding-top: 4px;
}

.standort_tabs_nav .nav-item {
  flex: 0 0 auto;
}

.standort_tabs_nav .nav-link {
  border: none;
  border-radius: 999px;
  background: #f1f1f1;
  color: #333;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.55rem 1rem;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background-color .25s ease,
    color .25s ease,
    transform .18s ease,
    box-shadow .18s ease;
  will-change: transform;
}

.standort_tabs_nav .nav-link:hover {
  background: #e5e5e5;
  color: #222;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.standort_tabs_nav .nav-link.active {
  background: var(--pm-green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(83, 124, 39, 0.25);
  transform: translateY(-1px);
}

.standort_tabs_nav .nav-link.active:hover {
  background: var(--pm-orange);
  color: #fff;
  transform: translateY(-2px);
}

.standort_tabs_nav .nav-link:focus-visible {
  outline: 2px solid rgba(83, 124, 39, 0.35);
  outline-offset: 2px;
}

@media (max-width: 575px) {
  .standort_tabs_nav .nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem;
  }
}


/* ================================================
   13 – AKTUELLES CARDS  (standort tabs & artikel)
   ================================================ */

@media (min-width: 992px) {
  .standort_col-lg-5ths {
    flex: 0 0 20%;
    width: 20%;
  }
}

@media screen and (max-width: 767px) {
  .aktuelles_container {
    max-width: 350px;
  }

  .aktuelles_titel {
    height: auto;
    min-height: 110px;
  }
}

@media screen and (max-width: 575px) {
  .aktuelles_bild {
    height: 160px;
  }

  .aktuelles_titel {
    min-height: 120px;
    height: auto;
  }
}

.aktuelles_container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  transition: transform .28s ease, box-shadow .28s ease, border-top-color .28s ease;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
  background: #fff;
}

.aktuelles_container:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .16);
  border-top-color: var(--pm-green);
}

.aktuelles_container > a {
  display: block;
  color: inherit;
}

.aktuelles_container:hover .aktuelles_bild {
  transform: scale(1.03);
}

.aktuelles_container:hover .aktuelles_datum {
  transform: translateY(-2px);
  background: var(--pm-orange);
}

.aktuelles_container:hover .aktuelles_titel {
  background: #555;
  color: #fff;
}

.aktuelles_container:hover .aktuelles_standort {
  color: #fff;
}

.aktuelles_container a:focus-visible {
  outline: 3px solid rgba(219, 229, 26, .6);
  outline-offset: 4px;
  border-radius: 14px;
}

.aktuelles_bild {
  width: 100%;
  aspect-ratio: 5 / 3;
  display: block;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  transition: transform .65s ease;
}

.aktuelles_bild::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 55%);
  opacity: .95;
  transition: opacity .28s ease;
  z-index: 0;
}

.aktuelles_datum {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--pm-green);
  border-radius: 999px;
  color: #fff;
  font-size: .95em;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  transition: background .6s ease, transform .6s ease;
  z-index: 1;
}

.aktuelles_titel {
  background: rgb(240, 240, 240);
  display: block;
  padding: 12px 12px 14px;
  width: 100%;
  position: relative;
  height: 110px;
  margin: 0;
  color: #222;
  transition: background .28s ease;
}

.aktuelles_standort {
  display: block;
  font-size: 1.05em;
  font-weight: 300;
  color: #333;
  font-style: italic;
  transition: opacity .28s ease;
  margin-bottom: 4px;
}

.aktuelles_normal {
  display: block;
  line-height: 125%;
  font-size: 1.15em;
}

.aktuelles_klein {
  display: block;
  line-height: 120%;
  font-size: .95em;
}


/* ================================================
   14 – PANORAMA VIEWER
   ================================================ */

#panorama1, #panorama2, #panorama3, #panorama4, #panorama5,
#panorama6, #panorama7, #panorama8, #panorama9, #panorama10 {
  width: 100%;
  height: 250px;
  display: block;
  margin-bottom: 5px;
}

.panodiv {
  padding-right: 10px;
  margin-bottom: 10px;
  margin-left: 0;
}

.pano_caption p {
  margin-bottom: 10px;
  font-size: 1.3em;
}


/* ================================================
   15 – ARTIKEL: LEGACY GALLERY
   ================================================ */

.galerie a img {
  border-top: 3px solid #F90;
}

.galerie a img:hover {
  border-top: 3px solid green;
}
