/* Startseiten: diagonale Fotokante, Hafenlinie und kompakte Leistungskarten. */
html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero, .c-hero) {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  padding: 0;
  overflow: clip;
  background: linear-gradient(116deg, var(--family-navy), var(--family-deep));
  color: white;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero, .c-hero)::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: min(36%, 450px);
  height: 92px;
  background: url("skyline.svg") no-repeat left bottom / contain;
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero, .c-hero)::after,
html[data-whv-family] .mk-hero-photo::after {
  content: none;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero-photo, .c-hero-art) {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto auto;
  width: 60%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  object-fit: cover;
  object-position: 68% center;
}

html[data-whv-family] .mk-site.mk-home .mk-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-ambient, .mk-droplet, .hero-wave, .c-hero-panel) {
  display: none;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero-inner, .c-hero-inner) {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding: 48px var(--family-gutter) 85px;
  pointer-events: none;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero-copy, .c-hero-copy) {
  width: 46%;
  max-width: 640px;
  padding: 0;
  color: white;
  pointer-events: auto;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero, .c-hero) h1 {
  color: white;
  font-family: var(--family-heading);
  font-size: clamp(52px, 6vw, 94px);
  font-weight: 800;
  letter-spacing: -.018em;
  line-height: .96;
  margin: 0 0 23px;
  overflow-wrap: normal;
}

html[data-whv-family] .mk-site.mk-home .mk-hero h1 em {
  color: var(--family-accent);
  background: none;
  -webkit-text-fill-color: currentColor;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero-copy, .c-hero-copy) > p {
  max-width: 450px;
  margin: 0 0 25px;
  color: #e6eff3;
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.6;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero, .c-hero) :is(.mk-eyebrow, .c-eyebrow) {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 19px;
  color: #eef5f9;
  font-size: 10px;
  letter-spacing: .19em;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero, .c-hero) :is(.mk-eyebrow, .c-eyebrow)::before {
  content: "";
  flex: 0 0 36px;
  height: 2px;
  background: var(--family-accent);
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-actions, .c-actions) {
  gap: 12px;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-photo-badge, .c-hero-badge) {
  z-index: 4;
  inset: auto var(--family-gutter) 22px auto;
  width: auto;
  max-width: min(270px, 40vw);
  padding: 15px 19px;
  border: 0;
  border-radius: 2px;
  background: #fff;
  color: var(--family-ink);
  box-shadow: 0 5px 18px #071f2c26;
  backdrop-filter: none;
  text-shadow: none;
}

html[data-whv-family] .c-hero-badge > strong {
  font: 800 22px/1.05 var(--family-heading);
  margin-bottom: 9px;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-strengths, .c-strengths) {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #e0e6e9;
  border-radius: 0;
  background: white;
  box-shadow: none;
  backdrop-filter: none;
}

html[data-whv-family] .coastal.c-home .c-strengths {
  padding-inline: var(--family-gutter);
}

html[data-whv-family] .mk-site.mk-home .mk-strengths-inner {
  padding: 22px var(--family-gutter);
}

html[data-whv-family] :is(.mk-strengths-inner, .c-strengths) > div > svg {
  color: var(--family-navy);
  width: 34px;
  height: 34px;
  filter: none;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-services, .c-services) {
  max-width: none;
  padding: clamp(30px, 4vw, 58px) var(--family-gutter);
  background: var(--family-paper);
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-section-heading, .c-section-heading) h2 {
  font-size: clamp(38px, 4.3vw, 66px);
  line-height: .98;
  white-space: normal;
}

html[data-whv-family] :is(.mk-service-grid, .c-service-grid) {
  gap: clamp(12px, 1.8vw, 24px);
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-service-card, .c-service) {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0e6e9;
  border-radius: 0;
  background: white;
  box-shadow: none;
}

html[data-whv-family] .mk-site.mk-home .mk-service-image {
  aspect-ratio: 1.75;
  border-radius: 0;
  box-shadow: none;
}

html[data-whv-family] .coastal.c-home .c-service-photo {
  height: auto;
  aspect-ratio: 1.75;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-service-copy, .c-service-copy) {
  min-height: 135px;
  padding: 17px 19px 45px;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-service-copy, .c-service-copy) h3 {
  padding: 0;
  font: 800 clamp(24px, 2.3vw, 33px)/1.06 var(--family-heading);
  color: var(--family-ink);
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-card-arrow, .c-service-link) {
  position: absolute;
  inset: auto auto 13px 19px;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--family-ink);
}

html[data-whv-family] :is(.mk-card-arrow, .c-service-link)::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--family-accent);
}

html[data-whv-family] .coastal.c-home .c-service-icon {
  display: none;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-feature, .c-feature) {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  background: linear-gradient(115deg, #e6ecee, #f4f6f7);
}

html[data-whv-family] .mk-site.mk-home :is(.mk-feature-grid, .mk-pure-feature),
html[data-whv-family] .coastal.c-home .c-feature {
  display: grid;
  grid-template-columns: minmax(0, 39%) minmax(0, 1fr);
  max-width: none;
  align-items: stretch;
  padding: 0;
  gap: 0;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-feature-photo, .c-feature-image) {
  order: -1;
  min-height: 330px;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-feature-copy, .c-feature-copy) {
  align-self: center;
  padding: 36px var(--family-gutter);
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-feature-copy, .c-feature-copy)::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 15px;
  background: var(--family-accent);
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-feature-copy, .c-feature-copy) h2 {
  font-size: clamp(34px, 3.7vw, 54px);
}

html[data-whv-family] .mk-site.mk-home .mk-audience > a {
  border: 1px solid var(--family-line);
  border-radius: 2px;
  background: white;
  box-shadow: none;
}

@media (min-width: 761px) and (max-width: 1050px) {
  html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero, .c-hero) h1 {
    font-size: clamp(46px, 6.1vw, 66px);
  }
}

@media (max-width: 760px) {
  html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero, .c-hero) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero, .c-hero)::before {
    display: none;
  }

  html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero-photo, .c-hero-art) {
    position: relative;
    grid-row: 2;
    inset: auto;
    width: 100%;
    height: clamp(210px, 58vw, 390px);
    clip-path: polygon(0 9%, 100% 0, 100% 100%, 0 100%);
  }

  /* The old mockups set their mobile photo geometry as !important. */
  html[data-whv-family] .mk-site.mk-home .mk-hero .mk-hero-photo {
    width: 100% !important;
    height: clamp(210px, 58vw, 390px) !important;
    margin: 0;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    clip-path: polygon(0 9%, 100% 0, 100% 100%, 0 100%) !important;
  }

  html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero-inner, .c-hero-inner) {
    grid-row: 1;
    min-height: 0;
    padding: 34px var(--family-gutter) 24px;
  }

  html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero-copy, .c-hero-copy) {
    width: 100%;
    max-width: none;
  }

  html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero, .c-hero) h1 {
    font-size: clamp(46px, 9.7vw, 66px);
  }

  html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-photo-badge, .c-hero-badge) {
    display: none;
  }

  html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-section-heading, .c-section-heading) {
    display: grid;
    gap: 15px;
  }

  html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-service-grid, .c-service-grid),
  html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-feature-grid, .mk-pure-feature, .c-feature) {
    grid-template-columns: minmax(0, 1fr);
  }

  html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-feature-photo, .c-feature-image) {
    min-height: 0;
    height: clamp(190px, 53vw, 300px);
  }

  html[data-whv-family] .mk-site.mk-home .mk-strengths-inner {
    padding-block: 15px;
  }
}

html[data-whv-family] :is(.mk-site.mk-jade.mk-home, .coastal.c-cleververmieten.c-home) :is(.mk-hero, .c-hero) h1 {
  color: var(--family-accent);
}

html[data-whv-family] :is(.mk-site.mk-jade.mk-home, .coastal.c-cleververmieten.c-home) :is(.mk-hero, .c-hero) h1::first-line {
  color: white;
}

html[data-whv-family] :is(.mk-site.mk-home, .coastal.c-home) :is(.mk-hero, .c-hero) :is(.mk-button, .c-button) {
  min-height: 52px;
  padding-inline: clamp(12px, 1.6vw, 23px);
  gap: 12px;
}

html[data-whv-family] .coastal.c-home :is(.c-hero-inner, .c-services) {
  width: 100%;
}

@media (min-width: 761px) {
  html[data-whv-family] .coastal.c-home .c-hero h1 {
    font-size: clamp(46px, 5.6vw, 88px);
  }
}
