/*
* Prefixed by:
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

.service {
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4.5rem;
  justify-content: flex-start;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  align-items: stretch;
}
@media (min-width: 1380px) {
  /* max 3 Spalten*/
  .service {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service .service-tile {
  display: inline-block;
  text-align: left;
  vertical-align: top;
  -webkit-transition: .3s ease;
  -o-transition: .3s ease;
  transition: .3s ease;
  color: #fff;
  padding-right: 0;
  /* width: calc(33% - 3rem); */
  min-height: 35rem;
  /* min-width: 30rem; */
  -webkit-box-shadow: 0 0 1rem rgba(0, 0, 0, .25);
  box-shadow: 0 0 1rem rgba(0, 0, 0, .25);

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}



.service-tile:before {
  content: '';
  padding-bottom: 90%;
}

.full-content .lg_4.service-tile {
  padding-right: 0;
}

.service .service-tile a {
  color: #fff;
  height: 100%;
  width: 100%;
  padding: 10%;
  padding: 3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.service .service-tile a:after {
  content: url(../../../img/arrow-next-white.svg);
  bottom: 3.5rem;
  right: 3rem;
  position: absolute;
  width: 3rem;
  height: 3rem;
}

.service .overlay {
  width: 100%;
  /* height: 100%; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  color: #fff;
  opacity: 1;
  -webkit-transition: .3s ease;
  -o-transition: .3s ease;
  transition: .3s ease;
  position: relative;
}

.service .overlay:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(240, 129, 0, 1);
  opacity: 0.9;
  z-index: 0;
}

.service .square {
  width: 100%;
  display: flex;
  flex-direction: column;
  vertical-align: top;
  color: #fff;
  overflow: hidden;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
}

.service .overlay .service-name {
  color: #fff;
  margin: 0;
  /* width: 80%; */
  display: inline-block;
  font-weight: 550;
  line-height: initial;
  padding-top: .5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;

  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.service .overlay .service-name+p {
  padding-right: 15%;
  padding-top: 3rem;
}

@media screen and (max-width: 1080px) {
  .service .service-tile {
    /* width: calc(50% - 3rem) !important; */
  }
}

@media screen and (max-width: 768px) {
  .service .service-tile {
    width: 100% !important;
    height: auto;
    min-height: 22rem;
    /* margin-bottom: 3rem; */
  }
}
