/* @ondemand */
.kkh-thematik {
  width: 100%;
  padding-block: var(--kkh-section-y);
  background: var(--kkh-creme);
  color: var(--kkh-text);
}

.kkh-thematik__inner {
  display: grid;
  gap: var(--sp-80);
  width: 100%;
  max-width: calc(var(--kkh-container) + 2 * var(--kkh-gutter));
  margin-inline: auto;
  padding-inline: var(--kkh-gutter);
}

.kkh-thematik__title {
  max-width: 14ch;
  margin: 0;
  font-family: var(--kkh-font-serif);
  font-size: clamp(3.2rem, calc(3.2rem + (6.4 - 3.2) * 10 * ((100vw - 325px) / (1920 - 325))), 6.4rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.kkh-thematik__title em,
.kkh-thematik__title i {
  font-family: inherit;
  font-style: italic;
  font-weight: inherit;
}

.kkh-thematik__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-40);
}

.kkh-thematik__column {
  max-width: 38ch;
  font-family: var(--kkh-font-sans);
  font-size: var(--fs-r-lg);
  font-weight: 400;
  line-height: 1.2;
}
.kkh-thematik__column > :first-child {
  margin-top: 0;
}
.kkh-thematik__column > :last-child {
  margin-bottom: 0;
}

.kkh-thematik--lead .kkh-thematik__title {
  max-width: 26ch;
  font-family: var(--kkh-font-sans);
  font-size: clamp(2.4rem, calc(2.4rem + (4 - 2.4) * 10 * ((100vw - 325px) / (1920 - 325))), 4rem);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .kkh-thematik__content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .kkh-thematik__inner {
    grid-template-columns: minmax(0, 1fr) min(64%, 102.8rem);
    grid-template-rows: 1fr auto;
    gap: var(--sp-40) clamp(4rem, calc(4rem + (8 - 4) * 10 * ((100vw - 325px) / (1920 - 325))), 8rem);
  }
  .kkh-thematik__title {
    position: sticky;
    top: calc(var(--kkh-header-offset, 0px) + 10rem);
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }
  .kkh-thematik__title em {
    white-space: nowrap;
  }
  .kkh-thematik__inner:has(> .kkh-button) .kkh-thematik__title {
    padding-bottom: calc(var(--sp-40) + 8rem);
  }
  .kkh-thematik__content {
    grid-column: 2;
    grid-row: 1/3;
    width: 100%;
    margin-top: clamp(4rem, calc(4rem + (19 - 4) * 10 * ((100vw - 325px) / (1920 - 325))), 19rem);
    gap: var(--sp-40);
  }
  .kkh-thematik__content:has(> .kkh-thematik__column:only-child) {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 84rem);
  }
  .kkh-thematik__content > .kkh-thematik__column:only-child {
    max-width: none;
  }
  .kkh-thematik__inner > .kkh-button {
    position: relative;
    z-index: 1;
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    justify-self: start;
  }
  .kkh-thematik--lead .kkh-thematik__content {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 64rem);
  }
}
