.card2 {
  width: 180px;
  height: 264px;
  padding: 6px;
  background-color: #15354a;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 15px;
}

.card2 .card2-title,
.card2 .writer {
  color: white;
}

.card2 .card2-title {
  font-size: 22px;
  font-weight: bold;
  padding: 9px 7px 0;
}

.card2 .card2-description {
  padding: 7px;
  font-size: 13px;
  color: white;
}

.card2 .writer {
  font-weight: 800;
}

.card2 img {
  width: 100%;
  height: 130px;
  background-color: #15354a;
}

.card2 .details {
  color: gray;
  font-size: 11px;
  padding-top: 11px;
}

.card2 img:hover {
  transform: scale(0.98);
}

.team_section .filters_menu {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  list-style-type: none;
  margin: 45px 0 20px 0;
}

.team_section .filters_menu li {
  padding: 7px 25px;
  cursor: pointer;
  border-radius: 25px;
}

.team_section .filters_menu li.active {
  background-color: #15354a;
  color: #ffffff;
}

.team_section .box {
  position: relative;
  margin-top: 25px;
  background-color: #ffffff;
  border-radius: 10px;
  color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(to bottom, #f1f2f3 25px, #15354a 25px);
}

.team_section .box .img-box {
  background: #f1f2f3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* use a min-height so very tall images keep their natural aspect ratio */
  min-height: 215px;
  border-radius: 0 0 0 45px;
  margin: -1px;
  padding: 25px;
}

.team_section .box .img-box img {
  /* keep original aspect ratio: constrain width but let height adjust automatically */
  max-width: 100%;
  height: auto;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  border-radius: 15px;
}

.team_section .box .detail-box {
  padding: 25px;
}

.team_section .box .detail-box h5 {
  font-weight: 600;
}

.team_section .box .detail-box p {
  font-size: 15px;
}

.team_section .box .detail-box h6 {
  margin-top: 10px;
}

.team_section .box .options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.team_section .box .options a {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: #6491f0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.team_section .box .options a svg {
  width: 18px;
  height: auto;
  fill: #ffffff;
}

.team_section .box:hover .img-box img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.team_section .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 45px;
}

.team_section .btn-box a {
  display: inline-block;
  padding: 10px 55px;
  background-color: #6491f0;
  color: #ffffff;
  border-radius: 45px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
}

.team_section .btn-box a:hover {
  background-color: #7d64f0;
}

.book_section .detail-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #6491f0;
  color: #ffffff;
  border-radius: 45px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
  margin-top: 10px;
}

.book_section .detail-box a:hover {
  background-color: #7d64f0;
}

/* New: stack buttons vertically only inside the "Termin anfragen" (#book) section */
#book .btn-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* Make each button take full available width (optional max-width) so they appear as stacked blocks */
#book .btn-vertical a {
  display: block;
  width: 100%;
  max-width: 360px;
  /* adjust if you want narrower buttons */
}

/* Partner carousel styles */

.partner-wrapper {
  padding: 18px 0 36px;
}
.partner-carousel .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 8px;
}
.partner-carousel .item img {
  max-width: 160px;
  max-height: 100px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  filter: none;
  background: transparent;
}

/* Slightly style nav arrows to match site */
.partner-carousel .owl-nav .owl-prev,
.partner-carousel .owl-nav .owl-next {
  background: rgba(21, 53, 74, 0.9);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
}
.partner-carousel .owl-nav .owl-prev i,
.partner-carousel .owl-nav .owl-next i {
  color: #fff;
}

/**---------------------------------------- */

.dienstleistung_section .box {
  position: relative;
  margin-top: 25px;
  background-color: #ffffff;
  border-radius: 10px;
  color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(to bottom, #f1f2f3 25px, #15354a 25px);
}

.dienstleistung_section .box .img-box {
  background: #f1f2f3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* use a min-height so very tall images keep their natural aspect ratio */
  min-height: 215px;
  border-radius: 0 0 0 45px;
  margin: -1px;
  padding: 25px;
}

.dienstleistung_section .box .img-box img {
  /* keep original aspect ratio: constrain width but let height adjust automatically */
  max-width: 100%;
  height: auto;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  border-radius: 15px;
}

.dienstleistung_section .box .detail-box {
  padding: 25px;
}

.dienstleistung_section .box .detail-box h5 {
  font-weight: 600;
}

.dienstleistung_section .box .detail-box p {
  font-size: 15px;
}

.dienstleistung_section .box .detail-box h6 {
  margin-top: 10px;
}

.dienstleistung_section .box .options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.dienstleistung_section .box .options a {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: #6491f0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.dienstleistung_section .box .options a svg {
  width: 18px;
  height: auto;
  fill: #ffffff;
}

.dienstleistung_section .box:hover .img-box img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.dienstleistung_section .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 45px;
}

.dienstleistung_section .btn-box a {
  display: inline-block;
  padding: 10px 55px;
  background-color: #6491f0;
  color: #ffffff;
  border-radius: 45px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
}

.dienstleistung_section .btn-box a:hover {
  background-color: #7d64f0;
}

/* ----------------------------------- */

.card-title {
  color: #262626;
  font-size: 1.5em;
  line-height: normal;
  font-weight: 700;
  margin-bottom: 0.5em;
}

.small-desc {
  font-size: 1em;
  font-weight: 400;
  line-height: 1.5em;
  color: #452c2c;
}

.small-desc {
  font-size: 1em;
}

.go-corner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 2em;
  height: 2em;
  overflow: hidden;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #6293c8, #384c6c);
  border-radius: 0 4px 0 32px;
}

.go-arrow {
  margin-top: -4px;
  margin-right: -4px;
  color: white;
  font-family: courier, sans;
}

.card3 {
  display: block;
  position: relative;
  max-width: 600px;
  max-height: 600px;
  background-color: #f2f8f9;
  border-radius: 10px;
  padding: 2em 1.2em;
  margin: 12px;
  text-decoration: none;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(to bottom, #6491f0, #6491f0);
  font-family: Arial, Helvetica, sans-serif;
}

.card3:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -16px;
  right: -16px;
  background: linear-gradient(135deg, #364a60, #384c6c);
  height: 32px;
  width: 32px;
  border-radius: 32px;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.35s ease-out;
}

.card3:hover:before {
  transform: scale(48);
}

.card3:hover .small-desc {
  transition: all 0.5s ease-out;
  color: rgba(255, 255, 255, 0.8);
}

.card3:hover .card-title {
  transition: all 0.5s ease-out;
  color: #ffffff;
}

/* ----------------------------------- */

.einsatzgebiet .filters_menu {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  list-style-type: none;
  margin: 45px 0 20px 0;
}

.einsatzgebiet .filters_menu li {
  padding: 7px 25px;
  cursor: pointer;
  border-radius: 25px;
}

.einsatzgebiet .filters_menu li.active {
  background-color: #15354a;
  color: #ffffff;
}

.einsatzgebiet .box {
  position: relative;
  margin-top: 25px;
  background-color: #ffffff;
  border-radius: 10px;
  color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(to bottom, #f1f2f3 25px, #15354a 25px);
}

.einsatzgebiet .box .img-box {
  background: #f1f2f3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 215px;
  border-radius: 0 0 0 45px;
  margin: -1px;
  padding: 25px;
}

.einsatzgebiet h2 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.1;
  font-weight: 700;
}

.einsatzgebiet p {
  font-size: 1.4rem;
}

.einsatzgebiet .box .img-box img {
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.einsatzgebiet .box .detail-box {
  padding: 25px;
}

.einsatzgebiet .box .detail-box h5 {
  font-weight: 600;
}

.einsatzgebiet .box .detail-box p {
  font-size: 15px;
}

.einsatzgebiet .box .detail-box h6 {
  margin-top: 10px;
}

.einsatzgebiet .box .options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.einsatzgebiet .box .options a {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: #6491f0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.einsatzgebiet .box .options a svg {
  width: 18px;
  height: auto;
  fill: #ffffff;
}

.einsatzgebiet .box:hover .img-box img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.einsatzgebiet .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 45px;
}

.einsatzgebiet .btn-box a {
  display: inline-block;
  padding: 10px 55px;
  background-color: #6491f0;
  color: #ffffff;
  border-radius: 45px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
}

.einsatzgebiet .btn-box a:hover {
  background-color: #7d64f0;
}

/* --- ------------- --- */

.direktservice .filters_menu {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  list-style-type: none;
  margin: 45px 0 20px 0;
}

.direktservice .filters_menu li {
  padding: 7px 25px;
  cursor: pointer;
  border-radius: 25px;
}

.direktservice .filters_menu li.active {
  background-color: #15354a;
  color: #ffffff;
}

.direktservice .box {
  position: relative;
  margin-top: 25px;
  background-color: #ffffff;
  border-radius: 10px;
  color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(to bottom, #f1f2f3 25px, #15354a 25px);
}

.direktservice .box .img-box {
  background: #f1f2f3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 215px;
  border-radius: 0 0 0 45px;
  margin: -1px;
  padding: 25px;
}

.direktservice .box .img-box img {
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.direktservice .box .detail-box {
  padding: 25px;
}

.direktservice h2 {
  text-transform: uppercase;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.1;
  font-weight: 700;
}

.direktservice ul {
  font-size: 1.8rem;
}

.direktservice .box .detail-box h5 {
  font-weight: 600;
}

.direktservice .box .detail-box p {
  font-size: 15px;
}

.direktservice .box .detail-box h6 {
  margin-top: 10px;
}

.direktservice .box .options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.direktservice .box .options a {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: #6491f0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.direktservice .box .options a svg {
  width: 18px;
  height: auto;
  fill: #ffffff;
}

.direktservice .box:hover .img-box img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.direktservice .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 45px;
}

.direktservice .btn-box a {
  display: inline-block;
  padding: 10px 55px;
  background-color: #6491f0;
  color: #ffffff;
  border-radius: 45px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
}

.direktservice .btn-box a:hover {
  background-color: #7d64f0;
}
