.refs-hero {
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(1.3rem, 3.8vw, 4rem);
  padding: clamp(1.15rem, 3.8vw, 3.6rem);
  border-radius: .75rem;
  background: radial-gradient(ellipse at 86% 13%, #583c65, #211a2a 76%);
  color: #fff8f0;
}
.refs-hero h1 {
  margin: 0;
  font-size: clamp(2.85rem, 7vw, 7.15rem);
  line-height: .96;
}
.refs-hero h1 span { color: #dcff51; }
.refs-hero p { margin: .85rem 0 1.2rem; color: #f0e2f1; font-size: clamp(1rem, 1.55vw, 1.28rem); }
.refs-hero .company-button { background: #f2e5f8; color: #211a2a; }
.refs-hero .company-button:hover { background: #fff8ef; }

.refs-hero-visual {
  position: relative;
  min-width: 0;
  padding: .2rem 8% 7% 0;
}
.refs-hero-visual img { display: block; border: 1px solid #9a84a5; }
.refs-hero-desktop {
  width: 100%;
  height: auto;
  border-radius: .45rem;
  box-shadow: 0 1rem 2rem #140c2166;
}
.refs-hero-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24%;
  height: auto;
  border-radius: .65rem;
  box-shadow: 0 .65rem 1.75rem #140c218f;
}
.refs-jump { margin-top: 1.15rem; }
.refs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.05rem, 2.7vw, 2.5rem);
}
.refs-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d8cbdc;
  border-radius: .65rem;
  background: #fffbf5;
}
.refs-card:hover,
.refs-card:focus-within { border-color: #9c7eaf; }
.refs-card > img,
.refs-cover img { display: block; width: 100%; height: auto; }
.refs-cover { display: block; }
.refs-cover:focus-visible { outline-offset: -4px; }
.refs-card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1rem, 2.35vw, 1.85rem);
}
.refs-role {
  margin: 0 0 .38rem;
  color: #654876;
  font-size: .82rem;
  font-weight: 680;
}
.refs-card h3 {
  margin: 0;
  font: 400 clamp(1.85rem, 3.15vw, 3.4rem)/1.01 var(--haasarts-c-heading-font, Georgia, serif);
  letter-spacing: -.035em;
}
.refs-description { margin: .7rem 0 1rem; color: var(--company-muted); }
.refs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .8rem;
  align-items: center;
  margin-top: auto;
}
.refs-actions .company-button { margin-right: .25rem; }
.refs-award {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-height: 44px;
  max-width: 100%;
  margin: .65rem 0 0;
  padding: .3rem .6rem .3rem .35rem;
  border: 1px solid #c9ab71;
  border-radius: .36rem;
  background: #fbedd1;
  color: #513700;
  font-size: .85rem;
  line-height: 1.25;
  text-decoration: none;
}
.refs-award img { width: 29px; height: auto; flex: none; }
.refs-award:hover { color: #392600; text-decoration: underline; }
.refs-award--silber { border-color: #ac9db6; background: #eee8f1; color: #44384e; }
.refs-award--silber:hover { color: #32253d; }

.refs-solar {
  padding: clamp(1rem, 3vw, 2.6rem);
  border: 1px solid #d0bfd9;
  border-radius: .75rem;
  background: #f0e8f3;
}
.refs-card--feature {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  align-items: center;
  margin-bottom: clamp(1rem, 2.5vw, 2rem);
}
.refs-card--feature .refs-cover {
  height: 100%;
  background: #153658;
}
.refs-card--feature .refs-cover img { height: 100%; object-fit: cover; object-position: left center; }
.refs-grid--solar { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 1.7vw, 1.5rem); }
.refs-grid--solar .refs-card h3 { font-size: clamp(1.74rem, 2.7vw, 2.95rem); }
.refs-grid--solar .refs-card-copy > .company-link { margin-top: auto; }

@media (max-width: 1020px) {
  .refs-grid--solar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .refs-hero,
  .refs-card--feature,
  .refs-grid { grid-template-columns: minmax(0, 1fr); }
  .refs-card--feature .refs-cover img { height: auto; }
}
