/* Gemeinsame Gestaltung für die drei Marken. */
html[data-whv-family] {
  --family-navy: #102f40;
  --family-deep: #091f2c;
  --family-ink: #152d3a;
  --family-muted: #465b65;
  --family-line: #d7e0e3;
  --family-paper: #f4f7f7;
  --family-accent: #87dace;
  --family-accent-hover: #a8e7df;
  --family-wash: #e5f3f0;
  --family-radius: 7px;
  --family-shadow: 0 10px 35px #102f400c;
  --family-section-space: clamp(44px, 6.2vw, 94px);
  --family-content-gutter: max(var(--family-gutter), calc((100% - 1310px) / 2));
}

html[data-whv-family="jadeklar"] {
  --family-accent: #a8dabb;
  --family-accent-hover: #c5e8d1;
  --family-wash: #eaf4ed;
}

html[data-whv-family="cleververmieten"] {
  --family-accent: #efbd83;
  --family-accent-hover: #f9d4a8;
  --family-wash: #f8f0e6;
}

html[data-whv-family] :is(.mk-site.mk-pure, .mk-site.mk-jade, .coastal.c-cleververmieten)
  :is(.mk-header-inner, .c-header-row) {
  min-height: 83px;
}

html[data-whv-family] .mk-site.mk-pure .mk-topbar {
  border-bottom: 1px solid #e8eeef;
  font-size: .73rem;
  letter-spacing: .015em;
}

html[data-whv-family] :is(.mk-header, .c-header) :is(.mk-nav, .c-nav) a {
  font-weight: 620;
  text-decoration-color: var(--family-accent);
  text-decoration-thickness: 2px;
}

html[data-whv-family] :is(.mk-site.mk-pure, .mk-site.mk-jade, .coastal.c-cleververmieten)
  :is(.mk-button, .c-button) {
  border-radius: var(--family-radius);
}

html[data-whv-family] :is(.mk-hero, .c-hero, .mk-subhero, .c-inner-hero) :is(.mk-button-secondary, .c-secondary) {
  border-color: #bbd0db88;
  background: #ffffff08;
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-hero, .c-hero) {
  background:
    repeating-linear-gradient(90deg, #d5e8f007 0 1px, transparent 1px 82px),
    radial-gradient(ellipse at 20% 5%, #214858, transparent 61%),
    linear-gradient(115deg, var(--family-navy), var(--family-deep));
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-hero, .c-hero)::before {
  width: min(36%, 485px);
  opacity: .36;
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-hero-inner, .c-hero-inner) {
  padding-block: clamp(52px, 6vw, 90px) clamp(70px, 7vw, 104px);
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-hero, .c-hero) h1 {
  font-size: clamp(48px, 5.55vw, 84px);
  line-height: .99;
  letter-spacing: -.013em;
  text-wrap: balance;
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-hero-copy, .c-hero-copy) > p {
  max-width: 38ch;
  line-height: 1.62;
  color: #e5eef1;
}

html[data-whv-family] .coastal.c-home .c-hero-copy > p {
  max-width: 50ch;
}

html[data-whv-family] .coastal.c-home .c-hero-copy > p br {
  display: revert;
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-photo-badge, .c-hero-badge) {
  inset: auto var(--family-gutter) 25px auto;
  padding: 13px 18px;
  border: 1px solid #ffffff80;
  border-left: 3px solid var(--family-accent);
  border-radius: var(--family-radius);
  background: #ffffffef;
  box-shadow: 0 8px 28px #091f2c29;
}

@media (min-width: 761px) {
  /* Die Linie folgt genau der Schnittkante des 60 % breiten Fotos. */
  html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-hero, .c-hero)::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, var(--family-accent) 20% 78%, transparent);
    clip-path: polygon(calc(50.8% - 2px) 0, 50.8% 0, 40% 100%, calc(40% - 2px) 100%);
    opacity: .72;
  }
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-strengths, .c-strengths) {
  border-bottom-color: var(--family-line);
}

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

html[data-whv-family] :is(.mk-strengths-inner, .c-strengths) > div > svg {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: var(--family-radius);
  background: var(--family-wash);
  box-sizing: border-box;
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-services, .c-services) {
  padding: var(--family-section-space) var(--family-content-gutter);
  background: linear-gradient(180deg, #f7f9f9, #eef3f4);
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-section-heading, .c-section-heading) {
  align-items: end;
  margin-bottom: clamp(22px, 3vw, 40px);
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-section-heading, .c-section-heading) h2 {
  font-size: clamp(36px, 4.1vw, 61px);
  line-height: 1.02;
  text-wrap: balance;
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-service-card, .c-service) {
  display: flex;
  flex-direction: column;
  border-radius: var(--family-radius);
  border-color: #d6e0e4;
  box-shadow: var(--family-shadow);
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-service-card, .c-service):hover {
  border-color: #b4c8ce;
  box-shadow: 0 12px 28px #102f4015;
  transform: translateY(-3px);
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-service-image, .c-service-photo) {
  flex-shrink: 0;
  border-bottom: 2px solid var(--family-accent);
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-service-copy, .c-service-copy) {
  flex: 1;
  min-height: 151px;
  padding: 19px 22px 51px;
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-service-copy, .c-service-copy) p {
  color: var(--family-muted);
  font-size: .875rem;
  line-height: 1.55;
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-card-arrow, .c-service-link) {
  inset: auto auto 16px 22px;
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-feature, .c-feature) {
  background: white;
}

html[data-whv-family] .mk-site.mk-home :is(.mk-feature-grid, .mk-pure-feature),
html[data-whv-family] .coastal.c-home .c-feature {
  grid-template-columns: minmax(0, 43%) minmax(0, 1fr);
  gap: clamp(24px, 4.5vw, 68px);
  align-items: center;
  padding: var(--family-section-space) var(--family-content-gutter);
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-feature-photo, .c-feature-image) {
  height: clamp(280px, 32vw, 480px);
  min-height: 0;
  border-radius: var(--family-radius);
  box-shadow: 0 16px 40px #102f4015;
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-feature-copy, .c-feature-copy) {
  padding: 0;
}

html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-feature-copy, .c-feature-copy) h2 {
  line-height: 1.05;
  text-wrap: balance;
}

html[data-whv-family] .mk-site.mk-home .mk-audience > a {
  border-color: #dbe6e8;
  border-radius: var(--family-radius);
  background: #f7faf9;
}

html[data-whv-family] .mk-site.mk-home .mk-checks li {
  border-color: var(--family-line);
}

html[data-whv-family] :is(.mk-site.mk-pure, .mk-site.mk-jade, .coastal.c-cleververmieten)
  :is(.mk-contact-inner, .c-contact-copy) {
  padding-block: clamp(44px, 6vw, 84px);
}

@media (min-width: 761px) {
  html[data-whv-family] :is(.mk-site.mk-pure, .mk-site.mk-jade, .coastal.c-cleververmieten)
    :is(.mk-contact-band, .c-contact-band)::before {
    background: linear-gradient(90deg, #102f401f 0, #102f40df 28%, var(--family-navy) 44%),
                url("hafen.webp") no-repeat left 57% / 46% auto;
  }
}

html[data-whv-family] :is(.mk-contact-band, .c-contact-band) h2 {
  text-wrap: balance;
}

html[data-whv-family] :is(.mk-footer, .c-footer) :is(.mk-footer-main, .c-footer-row) {
  padding-block: 30px;
}

html[data-whv-family] :is(.mk-footer, .c-footer) :is(.mk-footer-bottom, .c-footer-bottom) {
  padding-block: 18px;
}

html[data-whv-family] :is(.mk-directory, .c-directory) summary {
  text-underline-offset: .25em;
}

html[data-whv-family] :is(.mk-directory, .c-directory) summary:hover {
  text-decoration: underline;
}

/* Unterseiten und bestehende Kontaktstrecken. */
html[data-whv-family] :is(.mk-site.mk-inner, .coastal.c-inner) :is(.mk-subhero, .c-inner-hero) {
  background: linear-gradient(115deg, #173b4c, var(--family-deep));
}

html[data-whv-family] :is(.mk-site.mk-inner, .coastal.c-inner) :is(.mk-subhero, .c-inner-hero) h1 {
  font-size: clamp(41px, 4.85vw, 69px);
  line-height: 1.03;
  text-wrap: balance;
}

html[data-whv-family] :is(.mk-site.mk-inner, .coastal.c-inner) main
  :is(.card, .service-card, .service-image-card, .service-plan, .l90-card, .contact08-form, .p4l-inquiry-form, .jade-inquiry-form) {
  border-radius: var(--family-radius);
  box-shadow: var(--family-shadow);
}

html[data-whv-family] :is(.p4l-inquiry-form, .jade-inquiry-form, .contact08-form)
  :is(input:not([type="checkbox"], [type="radio"], [type="hidden"]), textarea, select) {
  border-radius: 5px;
}

html[data-whv-family] :is(.p4l-inquiry-form, .jade-inquiry-form, .contact08-form) button[type="submit"] {
  border-radius: var(--family-radius);
}

@media (max-width: 970px) {
  html[data-whv-family] :is(.mk-header, .c-header) :is(.mk-menu, .c-menu) {
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--family-radius);
  }
}

@media (max-width: 760px) {
  html[data-whv-family] :is(.mk-site.mk-pure, .mk-site.mk-jade, .coastal.c-cleververmieten)
    :is(.mk-header-inner, .c-header-row) {
    min-height: 70px;
  }

  html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-hero-inner, .c-hero-inner) {
    padding-block: 38px 24px;
  }

  html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-hero, .c-hero) h1 {
    font-size: clamp(43px, 10vw, 63px);
    text-wrap: wrap;
  }

  html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-actions, .c-actions) > a {
    justify-content: space-between;
  }

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

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

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

  html[data-whv-family] :is(.mk-footer, .c-footer) :is(.mk-footer-main, .c-footer-row) {
    padding-block: 22px;
  }
}

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

  html[data-whv-family] .mk-site.mk-home .mk-audience {
    grid-template-columns: minmax(0, 1fr);
  }

  html[data-whv-family] .mk-site.mk-home .mk-audience > a {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 4px 12px;
    min-height: 0;
    padding: 12px;
  }

  html[data-whv-family] .mk-site.mk-home .mk-audience > a > svg:first-child {
    grid-row: span 2;
    align-self: center;
    width: 29px;
    height: 29px;
    margin: 0;
  }

  html[data-whv-family] .mk-site.mk-home .mk-audience > a > span {
    grid-column: 2;
    margin: 0;
  }
}

@media (max-width: 400px) {
  html[data-whv-family] .mk-site.mk-pure .mk-topbar {
    font-size: .625rem;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  html[data-whv-family] .mk-site.mk-pure.mk-home .mk-hero .mk-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-whv-family] :is(.mk-home, .coastal.c-home) :is(.mk-service-card, .c-service):hover {
    transform: none;
  }
}
