/* =========================================================
   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;
}

/* TEXT */

#top .stb-service-content p {
  margin: 0;

  color: #333333;

  font-size: 17px;
  line-height: 1.75;

  hyphens: auto;
}

/* 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;
  }
}

/* =========================================================
   INDIVIDUELLE ICON-GRÖSSEN
   ========================================================= */

/* Rechnungswesen */

#top .stb-icon-chart img {
    width: 48px;
    height: 48px;
}

/* MOBILE */

@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);
}

/* =========================================================
   BILD UNTEN IN CARD
   ========================================================= */

#top .stb-service-bottom-image {
  margin-top: 28px;

  border-radius: 14px;

  overflow: hidden;
}

#top .stb-service-bottom-image img {
  width: 100%;
  height: 336px;

  object-fit: cover;

  display: block;
}

