/*
---------------------------------------------
subscribe
---------------------------------------------
*/
#subscribe {
  padding-bottom: 40px;
  padding-top: 40px;
}

#subscribe .container {
  display: flex;
  flex-direction: row;
  background-color: #339b9e;
  flex-wrap: wrap;
  justify-content: center;
  width: 80%;
  max-width: 100%;
  box-sizing: border-box;
  height: 30vh;
  margin-top: 140px;
}

#subscribe .leis-img {
  padding-top: 30px;
  max-width: 400px;
}

#leist-top h2 {
  width: 100%;
  margin: 40px auto;
  line-height: 80px;
  font-size: 4.5rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  text-rendering: optimizeLegibility;
  position: relative;
  z-index: 1;
}

#leist-top h2::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#leist-top #leis-title {
  color: #fff;
  letter-spacing: .15em;
  text-shadow:
    -1px -1px 1px #efede3,
    0px 1px 0 #2e2e2e,
    0px 2px 0 #2c2c2c,
    0px 3px 0 #2a2a2a,
    0px 4px 0 #282828,
    0px 5px 0 #262626,
    2px 20px 5px rgba(0, 0, 0, 0.9),
    5px 23px 5px rgba(0, 0, 0, 0.3),
    8px 27px 8px rgba(0, 0, 0, 0.5),
    8px 28px 35px rgba(0, 0, 0, 0.9);
}

#subscribe p {
  text-align: center;
  font-size: 16px;
  line-height: 27px;
  color: #fff;
  margin-bottom: 40px;
}

@media (min-width: 701px) and (max-width: 1200px) {

  #subscribe .container {
    height: 65vh;
    margin-top: 0px;
    width: 95%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #subscribe .leis-img {
    max-width: 350px;
    margin-left: 160px;
    margin-bottom: 40px;
    margin-top: -50px;
  }

  #subscribe h2 {
    text-align: center;
    line-height: 80px;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
  }
}

@media (min-width: 601px) and (max-width: 700px) {
  #subscribe .section-heading {
    padding-top: 0px;
  }

  #subscribe .container {
    height: 55vh;
    width: 95%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #subscribe .leis-img {
    max-width: 320px;
    margin-left: 180px;
    margin-bottom: 60px;
  }

  #subscribe h2 {
    text-align: center;
    line-height: 80px;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
  }
}

@media (max-width: 600px) {

  #subscribe .container {
    height: 30vh;
    margin-top: 40px;
    padding-bottom: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #subscribe #leist-top h2 {
    line-height: 80px;
    font-size: 3.5rem;
    font-weight: 700;
  }

  #subscribe {
    padding: 10px 0px 0px 0px;
    position: relative;
    padding-bottom: 30px;
  }

  #subscribe .leis-img {
    max-width: 280px;
    margin-left: 85px;
    margin-top: -80px;
    width: 80%;
  }
}

/* 
  ---------------------------------------------
  leistungen
  --------------------------------------------- 
  */

#leistungen {
  margin-top: 90px;
  background-image: url('../images/bg/build.png');
  background-repeat: repeat-y;
  background-size: cover;
  background-position: center center;
}

#leistungen .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 80%;
  max-width: 100%;
  box-sizing: border-box;
  padding-bottom: 20px;
}

#leistungen-cards .leis-hr {
  width: 80%;
}

.lists .leis-hr {
  width: 80%;
}

#leistungen .container .p-underline {
  text-decoration: underline;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

#leistungen .container p {
  font-size: 16px;
  font-weight: 600;
  text-align: justify;
  hyphens: auto;
  margin-top: 30px;
}

@media (max-width: 767px) {

  #leistungen .container {
    font-size: 14px;
    font-weight: 600;
    width: 95%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #leistungen .container p {
    font-size: 14px;
  }

  .lists .container {
    margin-top: -50px;
  }

  .lists .container p {
    font-size: 14px;
  }

  .lists .container ul li {
    font-size: 14px;
  }
}

/* 
  ---------------------------------------------
  leistungen-cards
  --------------------------------------------- 
  */

#leistungen {
  ul {
    list-style-type: none;
    /* Elrejtjük az alapértelmezett jelölést */
  }

  li::before {
    content: "★";
    /* Bármilyen Unicode karaktert vagy ikont használhatsz */
    margin-right: 5px;
    /* Opcionálisan állíthatod a karakter margóját */
  }
}

#leistungen-cards .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 40px;
}

#leistungen-cards {

  .cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .cards .color {
    background-color: #339b9e;
  }

  .cards .card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    text-align: center;
    height: 100px;
    width: 250px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: 400ms;
  }

  .cards .card p.tip {
    font-size: 1em;
    font-weight: 700;
    color: #fff;
  }

  .cards .card:hover {
    transform: scale(1.1, 1.1);
  }

  .cards:hover>.card:not(:hover) {
    filter: blur(10px);
    transform: scale(0.9, 0.9);
  }
}

hr {
  height: 10px;
  border: 0;
  box-shadow: 0 10px 10px -10px #8c8b8b inset;
}

.lists .container {
  padding: 20px;
}

.lists {
  ul {
    list-style-type: none;
  }

  li::before {
    content: "★";
    /* Bármilyen Unicode karaktert vagy ikont használhatsz */
    margin-right: 5px;
    /* Opcionálisan állíthatod a karakter margóját */
  }

  h2 {
    font-weight: 700;
    margin-bottom: 35px;
    margin-top: 50px;
  }

  p {
    font-size: 16px;
    color: #092635;
    font-weight: 500;
    text-align: justify;
    hyphens: auto;
  }

  ul {
    padding-bottom: 30px;
  }

  .button-leis {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(20, 20, 20);
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 0px 4px rgba(180, 160, 255, 0.253);
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    position: relative;
  }

  .svgIcon {
    width: 12px;
    transition-duration: 0.3s;
  }

  .svgIcon path {
    fill: white;
  }

  .button-leis:hover {
    width: 140px;
    border-radius: 50px;
    transition-duration: 0.3s;
    background-color: #339b9e;
    align-items: center;
  }

  .button-leis:hover .svgIcon {
    /* width: 20px; */
    transition-duration: 0.3s;
    transform: translateY(-200%);
  }

  .button-leis::before {
    position: absolute;
    bottom: -20px;
    content: "Zurück";
    color: white;
    /* transition-duration: .3s; */
    font-size: 0px;
  }

  .button-leis:hover::before {
    font-size: 13px;
    opacity: 1;
    bottom: unset;
    /* transform: translateY(-30px); */
    transition-duration: 0.3s;
  }
}

@media (max-width: 767px) {

  .lists h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 50px;
  }

  .anlagen_photos {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Image galery */

.anlagen_photos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.anlagen_photos img {
  box-shadow: 10px 12px 18px 0 rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  margin-bottom: 20px;
  transform-style: preserve-3d;
  /* A 3D transzformáció megőrzése */
  transition: transform 1s ease;
  /* Átmeneti effektus a sima átmenet érdekében */
}

.anlagen_photos img:hover {
  transform: scale(1.1) rotateY(180deg);
  /* Zoomolás és 180 fokos Y tengely körüli forgatás, ha az egér fölé húzod */
}

