main {
  display: flex;
  justify-content: center;
}

.coaching-container,
.training-container {
  padding: 0;
  margin: 0;
  width: 1000px;
}

.container {
  display: flex;
  flex-direction: column;
  line-height: 3rem;
  padding: 0 1.5rem 1.5rem !important;
}

.container .subtitle {
  margin-bottom: -0.2rem;
}
.container .headerContainer {
  margin-bottom: 0.5rem;
}

.container h1 {
  font-size: 4rem;
  line-height: 5rem;
  font-weight: 900;
  margin: 2.3rem 0 1.2rem;
}

.container {
  font-size: 1.6rem;
  line-height: 2.6rem;
}

.subtitle {
  font-size: 2.2rem;
  line-height: 3.2rem;
  font-weight: 700;
  padding-right: 3rem;
}

/* Gutschein Code */
.subtitle span {
  font-weight: 900;
}

.headerContainer {
  display: flex;
  align-items: center;
}

.headerImg {
  flex: 1;
}

.headerImg img {
  width: 239px;
  margin: 0.5rem 3rem 0 0.2rem;
  border-radius: 1rem;
  background: #000;
  padding: 1.5rem;
}

.headerImg span {
  font-size: 1.3rem;
  font-weight: 900;
}

.headerContent {
  flex: 3;
  margin: 2.8rem 1.5rem 0 0;
}

.cardWrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 0.1rem solid #e1e1e1;
  gap: 2rem;

  display: flex;
  flex-direction: row;
  align-items: stretch;
}

/* Card */
.cardWrapper .card {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 0;
  /* -ms-flex: 0 1 calc(31% - 1rem);
  flex: 0 1 calc(31% - 1rem); */
  -ms-flex: 0 1 31.96%;
  flex: 0 1 31.96%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  padding: 2rem 2rem 0;
  /* margin: 1.5rem; */
  border-radius: 1rem;
  cursor: pointer;
  text-decoration: none;
  -webkit-box-shadow: 0px 1px 8px 0 rgba(133, 133, 133, 0.3019607843);
  box-shadow: 0px 1px 8px 0 rgba(133, 133, 133, 0.3019607843);
  background: #f9f9f9;
}

/* Letzte Card flex-start */
.cardWrapper:last-child {
  justify-content: flex-start;
  /* margin-left: 0.5rem; */
}

.cardWrapper .card:hover {
  -webkit-box-shadow: 0px 1px 8px 0 rgba(51, 108, 160, 0.302);
  box-shadow: inset 0 0 0 1px #336ca0;
}

.cardWrapper .card .imgContainer {
  display: flex;
  justify-content: center;
}

.cardWrapper .card img {
  width: 250px;
  height: auto;
  max-height: 150px;
  object-fit: cover;
}

.cardWrapper .card h3 {
  display: -webkit-box;
  height: 9.5rem;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 2.4rem;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  margin: 1rem 0;
  flex-grow: 1;
}

/* Coaching Card Beschreibung feste Höhe für längsten Textblock 14rem */
.cardWrapper .card p {
  display: -webkit-box;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 2.1rem;
  overflow: hidden;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  padding: 1rem 0 0;
  margin: 0;
  border-top: 0.1rem solid #c4c4c4;
  color: #c4c4c4;
  flex-grow: 1;
}

/* Training Card Beschreibung feste Höhe für längsten Textblock 16rem */
.training-container .cardWrapper .card p {
  display: -webkit-box;
  height: 16rem;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 2.1rem;
  overflow: hidden;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  padding: 1rem 0 0;
  margin: 0;
  border-top: 0.1rem solid #c4c4c4;
  color: #c4c4c4;
  flex-grow: 1;
}

.cardWrapper .card .seperator {
  border-top: 0.1rem solid #c4c4c4;
  margin: 1rem 0;
}

/* Alter Preis */
.cardWrapper .card .regularPrice {
  font-size: 1.6rem;
  line-height: 1.9rem;
  text-decoration: line-through;
  color: #959595;
}

/* Preis */
.cardWrapper .card .discountPrice {
  font-size: 2.3rem;
  font-weight: 700;
  margin: 0 0 2rem;
  color: #1c5c95;
}

/* Preis Nachlass beide Fälle mit Preis Ansicht abdecken */
.cardWrapper .card .discount {
  position: relative;
  display: inline-block;
  bottom: 4.3rem;
  left: 12.4rem;
  width: 13rem;
  font-size: 1.3rem;
  line-height: 2rem;
  text-align: center;
  padding: 0.1rem;
  color: #fff;
  background: #1a6ab0;
}

/* Title Tooltip */
/* .cardWrapper .card .discount[title]:hover {
  content: attr(title);
  display: block;
  position: absolute;
  top: 42.85rem;
  left: 14rem;
  width: 14rem;
  height: 3.8rem;
  border-radius: 0.4rem;
  z-index: 10000;
  padding: 0.4rem 0.8rem;
  font-size: 1.2rem;
  line-height: 1.5rem;
  text-align: center;
  color: #fff;
  background: #000;
} */

.cardWrapper .card:hover {
  -webkit-transition: -webkit-box-shadow 0.2s ease-in-out;
  transition: -webkit-box-shadow 0.2s ease-in-out;
  -o-transition: box-shadow 0.2s ease-in-out;
  transition: box-shadow 0.2s ease-in-out;
  transition: box-shadow 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
  will-change: box-shadow;
}

/* Tooltip Container */
.cardWrapper .card .tooltipContainer {
  display: block;
  position: absolute;
  top: 42.5rem;
  left: 14rem;
  width: 14rem;
  border-radius: 0.4rem;
  z-index: 10000;
  background: #000;
}

.cardWrapper .card .tooltipTriangle {
  display: block;
  position: absolute;
  width: 1rem;
  height: 1rem;
  top: 3.1rem;
  left: 6.5rem;
  z-index: 10001;
  background: #000;
  transform: rotate(45deg);
}

/* Tooltip Text*/
.cardWrapper .card .tooltipContainer span {
  display: block;
  padding: 0.4rem 0.8rem;
  font-size: 1.2rem;
  line-height: 1.5rem;
  text-align: center;
  color: #fff;
}

/* Tooltip Container Training */
.training-container .cardWrapper .card .tooltipContainer {
  display: block;
  position: absolute;
  top: 44.5rem;
  left: 14rem;
  width: 14rem;
  border-radius: 0.4rem;
  z-index: 10000;
  background: #000;
}

.training-container .cardWrapper .card .tooltipTriangle {
  display: block;
  position: absolute;
  width: 1rem;
  height: 1rem;
  top: 3.1rem;
  left: 6.5rem;
  z-index: 10001;
  background: #000;
  transform: rotate(45deg);
}
