:root {
  --mh-editorial-gray: #f5f5f7;
  --mh-editorial-brown: #8c4518;
  --mh-editorial-radius: 26px;
  --mh-editorial-shadow: 0 6px 26px rgb(29 29 31 / .05);
  --mh-editorial-space: clamp(48px, 6vw, 80px);
  --mh-display-section: clamp(1.9rem, 3.7vw, 3.1rem);
  --mh-display-card: clamp(1.45rem, 2.5vw, 1.95rem);
  --mh-display-copy: clamp(1rem, 1.35vw, 1.125rem);
  --mh-display-eyebrow: .9375rem;
  --mh-action-wash: linear-gradient(162deg, #eaf4ff 0%, #f5faff 48%, #fff2da 100%);
  --mh-slogan-gradient: linear-gradient(100deg, #0071df, #008fbd 30%, #428e6d 53%, #c96b00 75%, #ed2556);
}

.mh-hero-background {
  background: var(--mh-white);
}

#main .mh-slogan-heading {
  padding-block: clamp(44px, 6vw, 82px);
}

.page-id-31 #main .mh-slogan-heading {
  padding-block-end: 0;
}

#main .mh-price-intro {
  text-align: center;
}

.mh-price-intro :is(h1, .page-lead, .eyebrow) {
  margin-inline: auto;
}

#main :is(.hero, .page-heading) h1.mh-slogan {
  background: none;
  color: var(--mh-text);
  -webkit-text-fill-color: currentColor;
  font-size: clamp(2.7rem, 6.5vw, 5.9rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

#main .mh-slogan-heading.has-visual h1.mh-slogan,
#main .hero h1.mh-slogan {
  font-size: clamp(2.55rem, 5.45vw, 5.25rem);
}

.mh-slogan-heading.has-visual .page-heading-media img {
  border-radius: var(--mh-editorial-radius);
  box-shadow: var(--mh-editorial-shadow);
}

.mh-slogan-accent {
  display: block;
  width: fit-content;
  max-width: 100%;
  color: #0064c7;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .mh-slogan-accent {
    /* Leave room for descenders below the tight headline line box. */
    padding-block-end: .12em;
    background-image: var(--mh-slogan-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

#main :is(.mh-hero-background, .mh-feature-band, .mh-help-band, .mh-review-band, .home-about) .eyebrow,
.page-id-31 #main .section.wash .eyebrow {
  color: var(--mh-editorial-brown);
}

#main :is(.hero, .page-heading) .eyebrow,
#main .mh-vouchers .voucher-eyebrow {
  color: var(--mh-editorial-brown);
  font-size: var(--mh-display-eyebrow);
}

#main .home-about h2,
#main .mh-feature-band .section-head h2 {
  font-size: var(--mh-display-section);
}

#main :is(.mh-help-banner, .mh-feature-band .offer-card, .offer-fallback) :is(h2, h3) {
  font-size: var(--mh-display-card);
}

#main :is(.mh-help-banner, .mh-feature-band .offer-card, .offer-fallback, .home-about) p:not(.eyebrow) {
  font-size: var(--mh-display-copy);
  font-weight: 450;
}

.home #main .offer-fallback + .home-panorama {
  margin-block-start: clamp(28px, 4vw, 48px);
}

#main :is(.offer-fallback, .cta-strip, .mh-help-banner--remote, .contact-support-panel),
#main .mh-feature-band .tariff-costs {
  background: var(--mh-action-wash);
}

#main :is(.offer-fallback, .contact-support-panel) {
  padding: clamp(20px, 3.5vw, 42px);
  border: 0;
  border-radius: var(--mh-editorial-radius);
}

#main .contact-support-panel > :is(h2, .contact-booking-options),
#main .contact-support-panel :is(.contact-booking-options, .request-form-light) > h3 {
  margin-block: 0;
}

#main .contact-support-panel :is(.contact-booking-options, .request-form-light) > h3 {
  --mh-contact-heading-space: clamp(18px, 2.2vw, 30px);
  margin-block: var(--mh-contact-heading-space);
}

#main .contact-support-panel .form-grid {
  margin-block-start: 0;
}

#main .contact-support-panel > .request-form-light {
  display: flow-root;
  padding: 0;
  border: 0;
  background: none;
}

@media (max-width: 480px) {
  #main .contact-support-panel :is(.contact-booking-options, .request-form-light) > h3 {
    font-size: 1.5rem;
  }
}

#main .offer-fallback .eyebrow {
  color: var(--mh-editorial-brown);
}

#main .offer-fallback p:last-child {
  margin-bottom: 0;
}

#main .mh-feature-band,
#main .mh-help-band,
#main .mh-review-band,
.page-id-31 #main .section.wash {
  background: var(--mh-editorial-gray);
}

#main .mh-feature-band {
  padding-block: var(--mh-editorial-space);
}

.page-id-27 #main .offer-services-band.mh-feature-band {
  padding-block: var(--mh-editorial-space);
}

#main .mh-feature-band :is(.offer-card, .offer-complement-detail, .tariff-panel, .tariff-costs),
.page-id-31 #main .reference,
.mh-help-banner,
.mh-review-card {
  border: 0;
  background: #fff;
  border-radius: var(--mh-editorial-radius);
  box-shadow: var(--mh-editorial-shadow);
}

.mh-feature-band .offer-card {
  padding: clamp(24px, 3.1vw, 40px);
}

#backup-schutz.offer-complement-detail {
  align-items: center;
}

#backup-schutz .checklist {
  margin-block: 0;
  font-weight: 700;
}

#backup-schutz .checklist li:last-child {
  margin-bottom: 0;
}

.mh-feature-band .offer-card .eyebrow {
  margin-bottom: 12px;
}

.mh-feature-band .offer-card .offer-actions {
  margin-top: auto;
  padding-top: 8px;
}

.mh-feature-band .mh-home-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
}

.mh-feature-band .mh-card-media {
  width: 100%;
  height: clamp(128px, 13vw, 190px);
  margin: 24px 0 0;
  overflow: hidden;
  border-radius: 14px;
}

.mh-card-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.mh-card-media--devices > img {
  object-fit: contain;
}

.mh-card-media--backup {
  display: grid;
  place-items: center;
  background: linear-gradient(125deg, #f8f5ff, #eae5fd);
}

.mh-card-media--backup .mh-feature-icon {
  width: 108px;
  height: 108px;
  margin: 0;
}

.mh-card-media--backup .mh-feature-icon img {
  width: 64px;
  height: 64px;
}

.mh-feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  border-radius: 15px;
  background: linear-gradient(140deg, #eff7ff, #cde6ff);
  --mh-icon-filter: invert(28%) sepia(80%) saturate(2030%) hue-rotate(192deg);
}

.mh-feature-icon img {
  width: 32px;
  height: 32px;
  filter: var(--mh-icon-filter);
}

.mh-feature-icon--laptop {
  background: linear-gradient(135deg, #fdf4e5, #ffe3ca);
  --mh-icon-filter: invert(35%) sepia(64%) saturate(1140%) hue-rotate(359deg);
}

:is(.mh-feature-icon--shield-check, .mh-feature-icon--hard-drives) {
  background: linear-gradient(135deg, #f3ebff, #e3d7fa);
  --mh-icon-filter: invert(28%) sepia(47%) saturate(2462%) hue-rotate(246deg);
}

.mh-feature-icon--house-line {
  background: linear-gradient(135deg, #ecf8f3, #d8eee3);
  --mh-icon-filter: invert(35%) sepia(59%) saturate(545%) hue-rotate(109deg);
}

.mh-help-band {
  padding-block: clamp(26px, 4vw, 50px);
}

#main .mh-help-band--compact {
  background: linear-gradient(to bottom, #fff, var(--mh-editorial-gray) clamp(80px, 12vw, 160px));
}

.mh-help-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

@media (min-width: 701px) {
  .mh-help-band--compact .mh-help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-help-band--compact :is(.mh-help-copy, .mh-help-onsite-copy) {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .mh-help-band--compact .mh-help-banner--onsite { display: flex; }
  .mh-help-band--compact .mh-help-onsite-copy { flex: 1; }
  .mh-help-band--compact .button-row { margin-top: auto; }
}

.mh-help-banner {
  min-width: 0;
  overflow: hidden;
}

.mh-help-banner--remote {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
}

.mh-help-banner--onsite,
.mh-help-copy {
  padding: clamp(24px, 3vw, 38px);
}

.mh-help-band--compact .mh-help-banner {
  position: relative;
  isolation: isolate;
}

.mh-help-band--compact .mh-help-banner--onsite {
  scroll-margin-top: 7rem;
}

.mh-help-band--compact :is(.mh-help-copy, .mh-help-onsite-copy) {
  position: relative;
  z-index: 1;
}

.mh-hausbesuch-photo {
  display: block;
  width: 100%;
  height: auto;
}

#main .mh-help-band--compact .mh-help-banner h2 {
  max-width: min(100%, 14.5ch);
}

.mh-help-band--compact .mh-help-banner p:not(.eyebrow) {
  max-inline-size: min(100%, 28.5ch, 19.25rem);
}

@media (min-width: 1001px) {
  .mh-help-band--compact .mh-help-banner--remote { grid-template-columns: 1fr; }
  .mh-help-band--compact .mh-help-photo {
    position: absolute;
    inset: 0 0 0 22%;
    mask-image: linear-gradient(to right, transparent, rgb(0 0 0 / .025) 20%, rgb(0 0 0 / .07) 51%, rgb(0 0 0 / .44) 72%, rgb(0 0 0 / .84) 84%, #000 96%);
  }
  .mh-help-band--compact .mh-help-photo img { object-position: 48% center; }
  .mh-hausbesuch-photo {
    position: absolute;
    inset: auto 0 0;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom;
    mask-image: linear-gradient(to bottom, transparent, rgb(0 0 0 / .12) 39%, #000 75%);
  }
}

#main .mh-help-banner h2 {
  margin-bottom: 12px;
  font-size: var(--mh-display-card);
}

.mh-help-banner .eyebrow {
  margin-bottom: 8px;
}

.mh-help-banner p:not(.eyebrow),
.mh-review-card p:not(.eyebrow) {
  color: var(--mh-muted);
}

.mh-help-photo {
  display: block;
  position: relative;
  min-height: 170px;
}

.mh-help-photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% center;
}

#main .mh-help-band + .mh-feature-band,
.page-id-27 #main .mh-help-band + .offer-services-band.mh-feature-band {
  padding-top: clamp(20px, 3vw, 36px);
}

#main .mh-quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--mh-link);
  text-decoration-thickness: .08em;
  font-weight: 600;
}

.mh-quiet-link svg {
  width: 18px;
  height: 18px;
}

.mh-feature-band .offer-support-ways {
  margin-top: 32px;
  padding-top: 24px;
}

.mh-feature-band .tariff-costs {
  padding: clamp(24px, 4vw, 42px);
  margin-top: 24px;
}

#main .mh-feature-band .tariff-panel .price {
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  letter-spacing: -.045em;
}

.page-id-31 #main .reference > a {
  background: #fff;
}

.page-id-31 #main .reference figcaption {
  border-top-color: #ececf0;
}

.mh-review-band {
  padding-block: 0 var(--mh-editorial-space);
}

.mh-review-card {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
}

.mh-review-card h2 {
  margin-bottom: 14px;
}

.mh-review-rating {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 22px;
  border-radius: 18px;
  background: #fcf7ee;
  color: var(--mh-text);
  text-align: center;
}

.mh-review-rating strong {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.15;
}

.mh-review-rating small {
  color: var(--mh-muted);
}

.mh-review-stars {
  color: #955813;
  font-size: clamp(1.2rem, 4vw, 1.7rem);
  letter-spacing: .13em;
}

@media (max-width: 1000px) {
  .mh-help-banner--remote { grid-template-columns: 1fr; }
  .mh-help-photo { min-height: 0; aspect-ratio: 3 / 1; }
  .mh-help-band--compact .mh-help-banner--onsite { padding: 0; }
  .mh-help-band--compact .mh-help-onsite-copy { padding: clamp(24px, 3vw, 38px); }
  .mh-hausbesuch-photo {
    align-self: end;
    mask-image: linear-gradient(to bottom, transparent, #000 14%);
  }
  .mh-help-band--compact .mh-help-photo {
    aspect-ratio: 1200 / 674;
    align-self: end;
    mask-image: linear-gradient(to bottom, transparent, rgb(0 0 0 / .55) 18%, #000 42%);
  }
}

/* Share the text row when the remote photo sits below its copy. */
@media (min-width: 701px) and (max-width: 1000px) {
  .mh-help-band--compact .mh-help-grid { row-gap: 0; }
  .mh-help-band--compact .mh-help-banner {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
  }
}

@media (max-width: 850px) {
  .mh-feature-band .mh-home-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .mh-help-grid,
  .mh-feature-band .mh-home-card-grid,
  .mh-review-card { grid-template-columns: 1fr; }
  .mh-help-photo { aspect-ratio: 2 / 1; }
  .mh-help-banner .button-row { align-items: flex-start; }
  .mh-review-rating { justify-items: start; text-align: left; }
}

@media (forced-colors: active), (prefers-contrast: more), print {
  .mh-slogan-accent {
    background: none;
    color: inherit;
    -webkit-text-fill-color: currentColor;
  }
}
