ul.teaserboxes {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  column-gap: 30px;
  list-style-type: none;
  text-align: center;
  padding: 0;
  margin: 0;
  width: 100%;
  text-indent: 0;
}
ul.teaserboxes li.teaserbox {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  max-width: 500px;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  margin-bottom: 10px;
}
ul.teaserboxes li.teaserbox:before,
ul.teaserboxes li.teaserbox:after {
  display: none;
}
@media (max-width: 1200px) {
  ul.teaserboxes {
    column-gap: 10px;
  }
}
@media (max-width: 992px) {
  ul.teaserboxes {
    flex-wrap: wrap;
    row-gap: 0;
  }
  ul.teaserboxes li.teaserbox {
    flex: 0 1 calc(50% - 5px);
  }
}
@media (max-width: 768px) {
  ul.teaserboxes li.teaserbox {
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
  }
}
.teaserbox {
  background: white;
  position: relative;
  transition: 0.5s ease-in-out;
  margin-bottom: 50px;
  vertical-align: top;
  border: 1px solid #94b89c;
  overflow: hidden;
  /*
    &:hover {
        .img-holder img {
            //transform: scale(1.05); // macht Probleme mit den abgerundeten Ecken
        }
        .overlay {
            bottom: 0%;
            opacity: 1;
            filter: alpha(opacity=100);
        }
        .lower-content {
            opacity: 0;
            visibility: hidden;
            -webkit-transition: .7s ease;
            -moz-transition: .7s ease;
            -ms-transition: .7s ease;
            -o-transition: .7s ease;
            transition: .7s ease;
        }
    }
    */
}
.teaserbox > a {
  font-size: 0;
  color: transparent;
  background-color: transparent !important;
}
.teaserbox img {
  max-width: 100%;
}
.teaserbox p {
  font-size: inherit;
}
.teaserbox .lower-content {
  margin-top: -50px;
  opacity: 1;
  visibility: visible;
  -webkit-transition: 0.7s ease;
  -moz-transition: 0.7s ease;
  -ms-transition: 0.7s ease;
  -o-transition: 0.7s ease;
  transition: 0.7s ease;
  position: relative;
}
.teaserbox .lower-content .content {
  background: #464a4b;
  text-align: center;
  padding: 15px;
  color: #4a5c4e;
  min-height: 90px;
  height: 1px;
}
.teaserbox .lower-content .category {
  color: #fff;
  background: #353839;
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  padding: 8px 23px;
  margin-left: 15px;
  position: relative;
  top: -25px;
  min-height: 35px;
}
.teaserbox .lower-content .text p {
  margin-bottom: 10px;
}
.teaserbox .lower-content .description {
  background: white;
  color: #555;
  font-size: inherit;
  padding: 15px;
  text-align: left;
}
.teaserbox .lower-content h4 {
  color: #303030;
  font-weight: 700;
  margin-bottom: 24px;
  font-size: 20px;
  line-height: 28px;
}
.teaserbox .lower-content h4 a {
  color: #303030;
  transition: all 300ms ease;
  font-size: 18px;
}
.teaserbox .lower-content h4 a:hover {
  color: #f00;
  transition: all 300ms ease;
}
.teaserbox .img-holder {
  display: block;
  overflow: hidden;
  position: relative;
  height: auto;
  padding-top: 72%;
  width: 100%;
  border-bottom: 1px solid #888;
}
.teaserbox .img-holder a {
  width: 100%;
}
.teaserbox .img-holder img {
  position: absolute;
  inset: 0;
  /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: all 0.5s ease 0s;
}
.teaserbox .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 0;
  bottom: -20%;
  width: 100%;
  height: 100%;
  color: #282a2b;
  opacity: 0;
  filter: alpha(opacity=0);
  transition: 0.9s ease;
}
.teaserbox .overlay .bottom-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.teaserbox .overlay .bottom-box .btn {
  margin-right: 5px;
}
.teaserbox .overlay .content {
  background: #fff;
  text-align: left;
  padding: 15px;
}
.teaserbox .overlay .category {
  color: #fff;
  background: #464a4b;
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  padding: 8px 23px;
  margin-left: 15px;
  margin-bottom: 15px;
}
.teaserbox .overlay .text p {
  padding-bottom: 20px;
}
.teaserbox .overlay h4 {
  color: #303030;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 28px;
}
.teaserbox .overlay h4 a {
  color: #303030;
  transition: all 300ms ease;
  font-size: 18px;
}
.teaserbox .overlay h4 a:hover {
  color: #f00;
  transition: all 300ms ease;
}
.teaserbox .overlay .post-meta {
  color: #949494;
  font-size: 14px;
  margin-bottom: 7px;
}
.teaserbox .category.alert {
  color: white;
  background: red;
  border: none;
}
.teaserbox a.teaserlink {
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.teaserbox.subtitle_blink div.category {
  animation: subtitle_blink 3s infinite;
}
.teaserbox.no-title .lower-content .content h4 {
  display: none;
}
@keyframes subtitle_blink {
  0% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
