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

.kkh-projects__head {
  align-self: stretch;
  padding: 0 max(var(--kkh-gutter), 4.1666666667vw) clamp(2.4rem, calc(2.4rem + (4 - 2.4) * 10 * ((100vw - 325px) / (1920 - 325))), 4rem);
}

.kkh-projects__title {
  margin: 0;
  font-family: var(--kkh-font-sans);
  font-size: clamp(3.6rem, calc(3.6rem + (6.4 - 3.6) * 10 * ((100vw - 325px) / (1920 - 325))), 6.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.kkh-projects__title em {
  font-family: var(--kkh-font-serif);
  font-style: italic;
}

.kkh-projects__grid {
  container-type: inline-size;
  display: grid;
  overflow: clip;
}

.kkh-projects__column {
  position: relative;
  display: grid;
  align-content: stretch;
}
.kkh-projects__column:not(:first-child)::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100cqw;
  border-top: 0.7px solid var(--kkh-linie-stark);
  pointer-events: none;
}

.kkh-projects__item {
  position: relative;
  display: grid;
  align-content: start;
  gap: clamp(2rem, calc(2rem + (4 - 2) * 10 * ((100vw - 325px) / (1920 - 325))), 4rem);
  height: 100%;
  padding: clamp(3.2rem, calc(3.2rem + (6 - 3.2) * 10 * ((100vw - 325px) / (1920 - 325))), 6rem) clamp(2rem, calc(2rem + (4 - 2) * 10 * ((100vw - 325px) / (1920 - 325))), 4rem);
}

.kkh-projects__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  font-family: var(--kkh-font-sans);
  font-size: clamp(1.2rem, calc(1.2rem + (1.4 - 1.2) * 10 * ((100vw - 325px) / (1920 - 325))), 1.4rem);
  line-height: 0.82;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.kkh-projects__chip {
  padding: 1rem;
  border-radius: 3px;
  background: var(--kkh-creme-dunkel);
}

.kkh-projects__image {
  display: block;
  width: 100%;
  height: clamp(18rem, calc(18rem + (29.6 - 18) * 10 * ((100vw - 325px) / (1920 - 325))), 29.6rem);
  object-fit: contain;
  mix-blend-mode: multiply;
}

.kkh-projects__image--tall {
  height: clamp(18rem, calc(18rem + (29.6 - 18) * 10 * ((100vw - 325px) / (1920 - 325))), 29.6rem);
}

.kkh-projects__body {
  display: grid;
  justify-items: start;
  gap: 2rem;
}

.kkh-projects__item-title {
  max-width: 41rem;
  margin: 0;
  font-family: var(--kkh-font-sans);
  font-size: clamp(1.9rem, calc(1.9rem + (2.4 - 1.9) * 10 * ((100vw - 325px) / (1920 - 325))), 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

.kkh-projects__links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
}

.kkh-projects__link {
  padding-bottom: 0.2em;
  border-bottom: 0.7px solid currentColor;
  color: var(--kkh-text);
  font-family: var(--kkh-font-sans);
  font-size: clamp(1.2rem, calc(1.2rem + (1.4 - 1.2) * 10 * ((100vw - 325px) / (1920 - 325))), 1.4rem);
  line-height: 1.19;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}
.kkh-projects__link:hover {
  color: var(--area-ink, var(--kkh-rot));
}
.kkh-projects__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.kkh-projects__link:focus-visible {
  outline: 0;
}

.kkh-projects__item:has(.kkh-projects__link) {
  cursor: pointer;
}
.kkh-projects__item:has(.kkh-projects__link):hover .kkh-projects__item-title, .kkh-projects__item:has(.kkh-projects__link):hover .kkh-projects__link {
  color: var(--area-ink, var(--kkh-rot));
}
.kkh-projects__item:has(.kkh-projects__link):has(.kkh-projects__link:focus-visible) {
  outline: 2px solid var(--kkh-rot);
  outline-offset: -2px;
}

.kkh-projects__more {
  display: flex;
  justify-content: center;
  padding: clamp(3.2rem, calc(3.2rem + (4 - 3.2) * 10 * ((100vw - 325px) / (1920 - 325))), 4rem) var(--kkh-gutter) 0;
}

@media (max-width: 1199.98px) {
  .kkh-projects__item {
    padding-inline: 0;
  }
  .kkh-projects__column:last-child .kkh-projects__item {
    padding-bottom: 0;
  }
}
@media (min-width: 1200px) {
  .kkh-projects__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-inline: 0;
    box-sizing: border-box;
    width: calc(min(100%, var(--kkh-container) + 2 * var(--kkh-gutter)) - 2 * max(var(--kkh-gutter), 8.3333333333vw));
    max-width: none;
    margin-inline: auto;
  }
  .kkh-projects__column:not(:nth-child(3n+1)) {
    border-left: 0.7px solid var(--kkh-linie-stark);
  }
  .kkh-projects__column:not(:nth-child(3n+1))::before {
    content: none;
  }
  .kkh-projects__column:nth-child(3n+1):not(:first-child)::before {
    content: "";
  }
}
