/* ==================== MN Section =========================== */



.leistungen-section {
  padding: 0px 15px 30px;
}
.leistungen-top {
    padding: 0px 0px 15px 0px;
}

.einleitungstext {
    font-size: 16px;
    color: #444;
    line-height: 1.4;
    text-align: justify;
    max-width: 900px;
    padding: 0px 20px 40px 20px;
}

.leistungen-top img{
  box-sizing: border-box;
  max-height: 60vh; /* z. B. maximal 60% der Bildschirmhöhe */
  object-fit: cover;
}



.image-overlay-wrapper {
  position: relative;
}

.image-overlay-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay-wrapper .mn-text {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 16px;
  width: 100%;
  /*background-color: rgba(1, 63, 111, 0.5);*/
  background-color: rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}




.mn-2col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  background: white;
  box-sizing: border-box;
}

.mn-left {
  display: flex;
  flex-direction: column;
}

.mn-left img {
  width: 100%;
  max-height: 60vh; /* z. B. maximal 60% der Bildschirmhöhe */
  object-fit: cover;
  display: block;
}


.mn-right {
  display: flex;
  align-items: right;
  box-sizing: border-box;
}

.mn-right-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

a {
  text-decoration: none;
}

.mn-text {
  padding: 16px 0;
  color: #ffffff;
}

.mn-text h3 {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 8px;
}

.mn-text p {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  color: #ffffff;
}

.rundum-paket {
  padding-top: 20px;
  margin: 40px 0;
}

.br-500 {
  display: none;
}

@media (max-width: 1024px) { /* === ===== === */

  .einleitungstext
  .mn-text p {
   font-size: 12px;
  }
  
  .mn-text h3{
    font-size: 18px;
  }

}

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

    .mn-right-inner {
        display: grid;
    }
    .mn-2col-layout {
        display: flex;
        flex-direction: column;
    }
    .mn-left img {
        max-height: 40vh;
    }
    .rundum-paket {
      padding-top: 0;
    }
}



@media (max-width: 500px) { /* ================= */
    .leistungen-section {
        padding: 10px;
    }
    .leistungen-top {
        padding: 10px 0px;
    }
    .mn-2col-layout {
      gap: 10px;
    }
    .mn-right-inner {
      gap: 10px;
    }
    .mn-right-inner {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .image-overlay-wrapper img  {
        max-height: 40vh;
    }
    .br-500 {
      display: initial;
    }
}

