.ausbildungsbutton {
position: absolute;
top: 350px;
left: 10%;
width: 350px;
z-index: 200;
}



.card {
  flex: initial;
  position: relative;
  width: 350px;
  height: 280px;
  -moz-perspective: 200rem;
  perspective: 200rem;
  margin: 2rem;
  border: 0px solid;
  border-radius: 0px;
  background-color: transparent;
}
.card__side {
  width: 350px;
  height: 280px;
  transition: all 0.8s ease;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-backface-visibility: hidden;
  /* We don't want to see the back part of the element. */
  backface-visibility: hidden;
  /* We don't want to see the back part of the element. */
  border-radius: 0px;
  overflow: hidden;
  /* The image is overflowing the parent. */
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.15);
}
.card__side--front {
  background-image: url("../daten/home/teaser_ausbildung.jpg");
  background-size: cover;
}
.card__side--back {
  background-color: #fff;
  transform: rotateY(180deg);
}
.card:hover .card__side--back {
  transform: rotateY(0);
}
.card:hover .card__side--front {
  transform: rotateY(-180deg);
}
.card__theme {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 54%;
  width: 90%;
  text-align: center;
}
.card__theme-box {
  color: #fff;
  margin-bottom: 8rem;
}
.card__subject {
  font-family: "Inconsolata", monospace;
  letter-spacing: 0.8rem;
  font-size: 1.6rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.card__title {
  font-family: 'Noto Sans SC', sans-serif;
  text-transform: uppercase;
  font-size: 6rem;
  font-weight: 100;
}
.card__cover {
  position: relative;
  background-size: cover;
  height: 60px;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;

}
.card__heading {
  text-align: center;
  color: #fff;
  position: absolute;
  top: 30px;
  width: 100%;
  text-align: center;
  
}

#font_schwarz {color: #000;}

.card__heading-span {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 15px 10px;
  color: #000;
  text-align: center;
}
.card__details {
  font-family: 'Noto Sans SC', sans-serif;
  padding: 10px 10px;
}

.card__details p {font-size: 18px; line-height: 26px; text-align: center;}

.card__details ul {
  list-style: none;
  width: 80%;
  margin: 0 auto;
}
.card__details ul li {
  text-align: center;
  font-size: 1.8rem;
  padding: 1rem;
}
.card__details ul li:not(:last-child) {
  border-bottom: 1px solid #eee;
}
@media only screen and (max-width: 37.5em), only screen and (hover: none) {
  .card {
    height: auto;
    border-radius: 0px;
    background-color: #fff;
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.15);
  }
  .card__side {
    height: auto;
    position: relative;
    box-shadow: none;
  }
  .card__side--front {
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
  }
  .card__side--back {
    transform: rotateY(0);
  }
  .card:hover .card__side--front {
    transform: rotateY(0);
  }
  .card__details {
    padding: 3rem 2rem;
  }
  .card__theme {
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0);
    width: 100%;
    padding: 5rem 4rem 1.5rem 4rem;
    text-align: right;
  }
  .card__theme-box {
    margin-bottom: 1.5rem;
  }
  .card__title {
    font-size: 4rem;
  }
}





@media (max-width: 1180px) {

.ausbildungsbutton {
position: absolute;
top: 300px;
left: 5%;
width: 300px;
z-index: 1;
}


.card {
  width: 300px;
  height: 230px;
}
.card__side {
  width: 300px;
  height: 230px;
}

}



@media (max-width: 768px) {

.ausbildungsbutton {display: none;}

}

