/* STARTPAGE – SERVICE BLOCKS
   -------------------------------------------------- */

/* base row */
.fr-service-row {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 48px 0;     /* vertical spacing between rows (desktop) */
}

/* alternating layout: image left / right */
.fr-service-row:nth-of-type(odd) {
  flex-direction: row;          /* image left, text right */
}

.fr-service-row:nth-of-type(even) {
  flex-direction: row-reverse;  /* image right, text left */
}

/* image column */
.fr-service-image {
  flex: 0 0 260px;              /* desktop image column width */
}

.fr-service-image .fr-mini-frame {
  width: 100%;
  aspect-ratio: 3 / 4;          /* identical 3:4 tiles */
  overflow: hidden;
}

.fr-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* text column */
.fr-service-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;      /* vertical centering */
}

/* push text slightly inward depending on side */
.fr-service-row:nth-of-type(odd) .fr-service-text {
  padding-left: 40px;           /* image left → text pushed right */
  padding-right: 0;
}

.fr-service-row:nth-of-type(even) .fr-service-text {
  padding-right: 40px;          /* image right → text pushed left */
  padding-left: 0;
}

/* typography spacing */
.fr-service-text h3 {
  margin: 0 0 0.4rem 0;
}

.fr-service-text p {
  margin: 0 0 0.4rem 0 !important;
}

/* --------------------------------------------------
   MOBILE – stack image + text, no alternation
   -------------------------------------------------- */
@media (max-width: 768px) {

  .fr-service-row,
  .fr-service-row:nth-of-type(even),
  .fr-service-row:nth-of-type(odd) {
    flex-direction: column;
    align-items: center;
    margin: 0 0 32px 0;         /* slightly tighter spacing on mobile */
  }

  .fr-service-image {
    flex: 0 0 auto;
    width: 80%;
    max-width: 320px;
  }

  .fr-service-text {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-top: 12px;
  }
}
@media (max-width: 768px) {
  .fr-service-row .fr-service-text {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
/* Anchor offset so sections are not hidden behind sticky header */
.fr-service-row, .fr-service-row-last {
  scroll-margin-top: 110px;
}
/* english rating banner */
.fr-rating-banner-en {
    text-align: center;
    font-size: 15px;
    padding: 14px 0;
    color: #444;
    margin: 25px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    line-height: 1.6;
}

.fr-rating-stars {
    color: #d4a017; /* same gold tone */
    font-size: 15px;
    letter-spacing: 1px;
    margin-right: 4px;
}

.fr-rating-score,
.fr-rating-date {
    color: #444;
}

.fr-rating-sep {
    margin: 0 6px;
    color: #999;
}
.fr-rating-link:hover {
    text-decoration: none;
}
#leistungen .fr-service-text p { margin-bottom: 0.3em !important; }