/* =========================================
   EAA-Testurteil – Card-Design
   Farbpalette aus der Website:
   #BFF600 (Lime)
   #01A8B0 (Teal)
   #FFB700 (Amber)
   ========================================= */

.eaa-testurteil-box {
  position: relative;
  margin: 1.5rem 0;
  padding: 16px 18px 16px 25px;
  border: 1px solid var(--light-grey);
  background: rgba(1,168,176,0.03);
}

/* Linke Akzentlinie = klarer Look, kein Siegel-Feeling */
.eaa-testurteil-box::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(
    180deg,
    #01A8B0,
    #BFF600
  );
  opacity: 0.9;
}

.eaa-testurteil-box__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Label bewusst editorial, nicht wie "Approved" */
.eaa-testurteil-box__label {
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 1.05rem;
}

/* Zahl + Sterne in einer ruhigen Reihe */
.eaa-testurteil-box__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.eaa-testurteil-box__number {
  font-weight: 700;
  font-size: 1rem;
}

/* Sterne-Container */
.eaa-testurteil-stars {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-size: 1rem; /* passt gut neben der Zahl */
}

/* Hintergrundsterne */
.eaa-testurteil-stars__bg {
  opacity: 0.22;
  display: inline-flex;
  gap: 3px;
}

/* Vordergrundsterne */
.eaa-testurteil-stars__fg {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  display: inline-flex;
  gap: 3px;
}

/* Farbgebung der Sterne: amber für Wärme, aber nicht zu "awardig" */
.eaa-testurteil-stars i {
  color: #FFB700;
}

/* Textbereich */
.eaa-testurteil-box__text {
  margin-top: 1rem;
  font-size: 0.96rem;
  line-height: 1.45;
  hyphens: auto;
}

/* Methodik-Link: dezent, nicht wie CTA */
.eaa-testurteil-box__method {
  margin-left: 6px;
}

/* Hover nur subtil */
.eaa-testurteil-box__method:hover {
  opacity: 0.85;
}

/* Mobile Feintuning */
@media (max-width: 600px) {
  .eaa-testurteil-box {
    padding: 14px 16px 14px 25px;
  }
  .eaa-testurteil-box__label {
    font-size: 1rem;
  }
}