/* Scoped to the contact and service conversion path, not the Backoffice. */
.yenwa-contact-page .yenwa-contact-hero { min-height: 0; --yenwa-hero-band-height: 24px; }
.yenwa-contact-page .yenwa-contact-hero .yenwa-hero__grid {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  padding: 24px 0 48px;
}
.yenwa-contact-page .yenwa-contact-hero .yenwa-hero__copy { max-width: 960px; }
.yenwa-contact-page .yenwa-contact-hero h1 { max-width: 900px; font-size: clamp(28px, 3.4vw, 44px); }
.yenwa-contact-page .yenwa-contact-hero .yenwa-hero__trust { display: none; }
.yenwa-contact-page .yenwa-contact-hero .yenwa-actions { margin-top: 16px; }
.yenwa-contact-page #kontakt-formular { scroll-margin-top: 100px; }
.yenwa-service-references { padding: 36px 0; background: #f4fafd; }
.yenwa-service-references h2 { margin: 0 0 20px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.2; }
.yenwa-service-references__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.yenwa-service-reference { min-width: 0; }
.yenwa-service-reference > a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid #c5deeb; border-radius: 8px; background: #fff; color: #062134; text-decoration: none; box-shadow: 0 8px 24px #0621340a; }
.yenwa-service-reference > a:hover { border-color: #087baa; }
.yenwa-service-reference > a:focus-visible { outline: 3px solid #087baa; outline-offset: 4px; }
.yenwa-service-reference img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #eaf4f8; }
.yenwa-service-reference__copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; }
.yenwa-service-reference__copy h3 { margin: 0; font-size: 21px; font-weight: 750; line-height: 1.3; }
.yenwa-service-reference__copy strong { color: #37617c; }
.yenwa-service-reference__copy small { color: #37617c; font-size: 13px; }
.yenwa-service-reference__link { margin-top: auto; padding-top: 12px; color: #006691; font-weight: 700; }
@media (max-width: 700px) {
  .yenwa-service-references__grid { grid-template-columns: 1fr; }
  .yenwa-contact-page .yenwa-contact-hero .yenwa-hero__grid { padding: 20px 0 36px; }
  .yenwa-contact-page .yenwa-contact-hero p { font-size: 15px; }
  .yenwa-contact-page .yenwa-contact-main { padding-top: 16px; }
  .yenwa-contact-page .yenwa-contact-form-panel { padding: 20px 16px; }
}
