/* @ondemand */
.kkh-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-rows: auto auto auto auto;
  width: 100%;
  color: var(--kkh-text);
}

.kkh-page-hero__main,
.kkh-page-hero__aside {
  display: contents;
}

.kkh-page-hero__title-panel {
  display: flex;
  align-items: flex-end;
  padding: var(--sp-40) var(--kkh-gutter) var(--sp-24);
  position: sticky;
  left: 0;
  z-index: 2;
  grid-column: 1/-1;
  grid-row: 1;
  background: var(--kkh-stein);
}

.kkh-page-hero__title {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  overflow-wrap: break-word;
  hyphens: manual;
  font-family: var(--kkh-font-serif);
  font-size: clamp(3rem, calc(3rem + (5.6 - 3) * 10 * ((100vw - 325px) / (1920 - 325))), 5.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.kkh-page-hero__title em,
.kkh-page-hero__title i {
  font-family: inherit;
  font-style: italic;
  font-weight: inherit;
}

.kkh-page-hero__kicker {
  display: block;
  font-size: clamp(1.4rem, calc(1.4rem + (2.2 - 1.4) * 10 * ((100vw - 325px) / (1920 - 325))), 2.2rem);
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-align: end;
  text-transform: uppercase;
}

.kkh-page-hero__image-main {
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1412/686;
  grid-column: 1/-1;
  grid-row: 2;
  object-fit: cover;
}

.kkh-page-hero__image-small {
  display: block;
  width: 100%;
  aspect-ratio: 2/1;
  grid-column: 2;
  grid-row: 3;
  object-fit: cover;
  object-position: center top;
}

.kkh-page-hero__accent {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  grid-column: 1;
  grid-row: 3;
  position: relative;
  z-index: 3;
  background: var(--kkh-stein);
}
.kkh-page-hero__accent::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: var(--hero-sign-width, 50%);
  aspect-ratio: var(--hero-sign-ratio, 1);
  background: var(--hero-sign, var(--kkh-sand));
  translate: -50% -50%;
}

.kkh-page-hero__intro {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: var(--sp-40);
  width: 100%;
  padding: var(--sp-40) var(--kkh-gutter);
  position: sticky;
  left: 0;
  z-index: 2;
  grid-column: 1/-1;
  grid-row: 4;
  background: var(--kkh-salbei);
}

.kkh-page-hero__intro-text {
  margin: 0;
  font-family: var(--kkh-font-sans);
  font-size: clamp(1.6rem, calc(1.6rem + (2 - 1.6) * 10 * ((100vw - 325px) / (1920 - 325))), 2rem);
  font-weight: 400;
  line-height: 1.2;
}

@media (min-width: 1200px) {
  .kkh-page-hero {
    grid-template-columns: minmax(0, 1412fr) minmax(26rem, 429fr);
    grid-template-rows: auto;
    column-gap: 0;
    padding-inline-start: 4.1145833333vw;
    overflow: visible;
    scroll-snap-type: none;
  }
  .kkh-page-hero__main {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: flex-start;
    min-width: 0;
  }
  .kkh-page-hero__aside {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--kkh-salbei);
  }
  .kkh-page-hero__title-panel {
    position: static;
    height: 9.4791666667vw;
    padding: 0 4.0104166667vw 1.3020833333vw;
  }
  .kkh-page-hero__image-main {
    grid-column: auto;
    grid-row: auto;
    flex: 1 1 auto;
    scroll-snap-align: none;
    height: 35.7291666667vw;
    aspect-ratio: auto;
  }
  .kkh-page-hero__image-small {
    grid-column: auto;
    grid-row: auto;
    height: 9.4791666667vw;
    scroll-snap-align: none;
    aspect-ratio: auto;
  }
  .kkh-page-hero__accent {
    position: relative;
    z-index: 3;
    height: 10.3645833333vw;
    aspect-ratio: auto;
  }
  .kkh-page-hero__accent::before {
    content: "";
    position: absolute;
    top: 7.3958333333vw;
    left: 8.0729166667vw;
    width: 5.9375vw;
    aspect-ratio: 1;
    background: var(--kkh-sand);
    translate: none;
  }
  .kkh-page-hero__intro {
    position: static;
    grid-column: auto;
    grid-row: auto;
    min-height: 26.40625vw;
    padding: 2.0833333333vw 4.1666666667vw 2.5vw;
    gap: 1.875vw;
  }
  .kkh-page-hero__intro-text {
    max-width: 24ch;
  }
  .kkh-page-hero__intro .kkh-button {
    width: 100%;
    padding-inline: clamp(1.2rem, calc(1.2rem + (2.4 - 1.2) * 10 * ((100vw - 1200px) / (1920 - 1200))), 2.4rem);
    gap: clamp(0.8rem, calc(0.8rem + (1.6 - 0.8) * 10 * ((100vw - 1200px) / (1920 - 1200))), 1.6rem);
    overflow-wrap: normal;
    white-space: normal;
    hyphens: auto;
  }
}
