.rating-wrapper {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  max-width: 100% !important;
  min-height: 46px;
  box-sizing: border-box;
  margin-top: 8px;
  padding: 10px;
  background: linear-gradient(135deg, #fff7df 0%, #fff1bf 100%);
  border: 1px solid rgba(245, 179, 1, 0.45);
  border-radius: 5px;
  box-shadow: 0 8px 22px rgba(245, 179, 1, 0.18);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

/* Sterne */
.rating-wrapper .rating {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

.rating-wrapper .img-ct.icon {
  width: 20px;
  height: 20px;
}

.rating-wrapper svg {
  fill: #f5b301;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.18));
}

/* Text */
.rating-text {
  font-size: 13px;
  font-weight: 700;
  color: #2d2d2d;
  white-space: nowrap;
}

/* Hover Hinweis */
.rating-wrapper::before {
  content: "Bewertungen ansehen";
  position: absolute;
  bottom: -15px;
  left: 12px;
  font-size: 10px;
  font-weight: 600;
  color: #8a6500;
  opacity: 0;
  transition: all 0.25s ease;
}

/* Hover */
.rating-wrapper:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #fff3c9 0%, #ffe89a 100%);
  box-shadow: 0 12px 28px rgba(245, 179, 1, 0.28);
}

.rating-wrapper:hover::before {
  opacity: 1;
}

/* Link klickbar */
.rating-wrapper a {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Mobile */
@media (max-width: 575px) {
  .rating-wrapper {
    width: 100% !important;
    padding: 10px;
    gap: 7px;
  }

  .rating-text {
    font-size: 12px;
    white-space: nowrap;
  }

  .rating-wrapper .img-ct.icon {
    width: 18px;
    height: 18px;
  }
}

/* ================================
   DESKTOP FIX – EINHEITLICHE BREITE
   ================================ */
@media (min-width: 768px) {

  .rating-wrapper {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px;

    margin: 8px 0 14px 0;
    padding: 12px 16px;

    align-items: center;
    gap: 12px;

    border-radius: 5px;
    box-sizing: border-box;
    box-shadow: none;
  }

  .rating-wrapper .rating {
    flex-shrink: 0;
  }

  .rating-text {
    font-size: 14px;
    font-weight: 700;
  }

}