/* Only the German inquiry introduction uses this tighter mobile spacing. */
@media (max-width: 600px) {
  .inquiry-entry .page-heading .intro { margin-top: .85rem; }
  .inquiry-entry .b2b-intro-action { margin-top: .9rem; }
}

/* Keep the title and native action together above the open consent notice on short phones. */
@media (max-height: 780px),
       (max-width: 680px) and (max-height: 805px),
       (max-width: 360px) and (max-height: 860px) {
  body:has(.analytics-consent:not([hidden])) .inquiry-entry .breadcrumbs { display: none; }
  body:has(.analytics-consent:not([hidden])) .inquiry-entry .page-heading { padding-top: .5rem; }
  body:has(.analytics-consent:not([hidden])) .inquiry-entry .page-heading > div {
    display: flex;
    flex-direction: column;
  }
  body:has(.analytics-consent:not([hidden])) .inquiry-entry .page-heading h1 { order: -2; }
  body:has(.analytics-consent:not([hidden])) .inquiry-entry .page-heading .eyebrow { display: none; }
  body:has(.analytics-consent:not([hidden])) .inquiry-entry .b2b-intro-action { display: contents; }
  body:has(.analytics-consent:not([hidden])) .inquiry-entry .b2b-intro-action > a {
    order: -1;
    align-self: flex-start;
    margin-top: .5rem;
  }
}

/* On the smallest screens only one action fits between the header and the notice. */
@media (max-width: 359px) and (max-height: 680px),
       (max-width: 600px) and (max-height: 640px) {
  body:has(.analytics-consent:not([hidden])) .inquiry-entry .b2b-intro-action > a {
    order: -3;
    margin: 0 0 .7rem;
  }
}
