/* =========================================================
   ICON ÜBER CARD – STB GLINDEMANN
   ========================================================= */

#top .stb-service-card {
  position: relative;

  padding: 78px 34px 34px;
  min-height: 390px;

  background: linear-gradient(180deg, #f9fbf5 0%, #ffffff 100%);
  border: 1px solid #dfe8cf;
  border-radius: 18px;

  box-shadow: 0 10px 28px rgba(0,0,0,0.045);

  text-align: center;

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;

  overflow: visible;
}

#top .stb-service-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 20px 40px rgba(0,0,0,0.08);
}


/* =========================================================
   ICON-KREIS
   ========================================================= */

#top .stb-service-icon {
  position: absolute;

  top: -48px;
  left: 50%;

  transform: translateX(-50%);

  width: 96px;
  height: 96px;

  border-radius: 50%;

  background: linear-gradient(180deg, #b8d96f 0%, #a7cc59 100%);

  border: 5px solid #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 8px 20px rgba(0,0,0,0.12);
}


/* =========================================================
   SVG
   ========================================================= */

#top .stb-service-icon img {
  width: 60px;
  height: 60px;

  display: block;

  object-fit: contain;

  filter: brightness(0) invert(1);
}


/* =========================================================
   ÜBERSCHRIFT
   ========================================================= */

#top .stb-service-content h3 {
  margin: 0;

  color: #111111;

  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.2px;

  text-transform: uppercase;
}


/* =========================================================
   LINIE
   ========================================================= */

#top .stb-service-content span {
  display: block;

  width: 58px;
  height: 3px;

  margin: 24px auto 26px;

  background: #b7d77b;

  border-radius: 20px;
}


/* =========================================================
   STANDARD TEXT
   ========================================================= */

#top .stb-service-content p {
  margin: 0;

  color: #333333;

  font-size: 17px;
  line-height: 1.75;

  hyphens: auto;
}


/* =========================================================
   DETAIL-LISTE INNERHALB SERVICE-CARD
   ========================================================= */

#top .stb-service-card-detail {
  text-align: left;
}

#top .stb-service-card-detail .stb-service-content h3 {
  text-align: center;
}

#top .stb-service-card-detail .stb-service-content span {
  margin-left: auto;
  margin-right: auto;
}

#top .stb-service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 18px;

  margin-top: 6px;
}

#top .stb-service-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

#top .stb-service-detail-check {
  flex: 0 0 34px;

  width: 34px;
  height: 34px;

  border-radius: 50%;

  background: #f7f8f2;
  border: 1px solid #dfe6cb;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #92b245;

  font-size: 19px;
  font-weight: 700;
}

#top .stb-service-detail-item p {
  margin: 0;

  color: #333333;

  font-size: 16px;
  line-height: 1.6;

  text-align: left;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media only screen and (max-width: 767px) {

  #top .stb-service-card {
    min-height: auto;
    padding: 72px 26px 50px;
  }

  #top .stb-service-icon {
    width: 82px;
    height: 82px;

    top: -40px;
  }

  #top .stb-service-icon img {
    width: 55px;
    height: 55px;
  }

  #top .stb-service-content h3 {
    font-size: 18px;
  }

  #top .stb-service-content p {
    font-size: 15px;
    line-height: 1.65;
  }

  #top .stb-service-detail-list {
    gap: 16px;
  }

  #top .stb-service-detail-item {
    gap: 12px;
  }

  #top .stb-service-detail-check {
    width: 30px;
    height: 30px;

    flex-basis: 30px;

    font-size: 16px;
  }

  #top .stb-service-detail-item p {
    font-size: 15px;
    line-height: 1.55;
  }
}


/* =========================================================
   INDIVIDUELLE ICON-GRÖSSEN
   ========================================================= */

/* Rechnungswesen */

#top .stb-icon-chart img {
  width: 48px;
  height: 48px;
}


/* =========================================================
   MOBILE ICON-GRÖSSEN
   ========================================================= */

@media only screen and (max-width: 767px) {

  #top .stb-icon-chart img {
    width: 40px;
    height: 40px;
  }

}


/* =========================================================
   MOBILE ABSTAND ZWISCHEN DEN CARDS
   ========================================================= */

@media only screen and (max-width: 767px) {

  #top .flex_column.av_one_third {
    margin-bottom: 70px !important;
  }

  #top .stb-service-card {
    margin-bottom: 0 !important;
  }

}


/* =========================================================
   SERVICE LINK
   ========================================================= */

#top .stb-service-link {
  display: inline-block;

  margin-top: 24px;

  color: #a7cc59;
  font-size: 15px;
  font-weight: 700;

  text-decoration: none;

  transition: all 0.25s ease;
}

#top .stb-service-link:hover {
  color: #86ad37;

  transform: translateX(4px);
}

/* ÜBERSCHRIFT DESKTOP GRÖSSER */
#top .stb-service-card-detail .stb-service-content h3 {
  font-size: 24px;
}


/* MEHR ABSTAND UNTEN NACH LETZTEM PUNKT */
#top .stb-service-detail-list {
  padding-bottom: 30px;
}

/* =========================================================
   MEHR ABSTAND ZWISCHEN DEN BOXEN
   ========================================================= */

/* DESKTOP */

#top .flex_column.av_one_half {
  margin-bottom: 90px !important;
}


/* =========================================================
   MOBILE OPTIMIERUNG
   ========================================================= */

@media only screen and (max-width: 767px) {

  /* volle Breite sauber nutzen */
  #top .flex_column.av_one_half {
    width: 100% !important;
    margin-left: 0 !important;

    margin-bottom: 80px !important;
  }

  /* untere beiden Boxen angleichen */
  #top .stb-service-card {
    min-height: auto !important;
  }

}



