:root {
  --teaser-text-color: rgb(61, 50, 46);
  --teaser-heading-color: rgb(112, 97, 30);
  --teaser-bg-color: #e4dfcb;
  --transition-duration: 0.8s;
  --transition-timing: ease-out;
}
section.teaser {
  padding-top: 1.5em;
  padding-bottom: 3em;
  contain: paint;
}
section.teaser p {
  padding-bottom: 1em;
}
section.teaser.page-inactive {
  opacity: 0.6;
}
section.teaser a {
  text-decoration: none;
  color: var(--teaser-text-color);
  position: relative;
  display: block;
  height: 100%;
  padding-bottom: 0.15em;
}
section.teaser span.read-more {
  font-size: 1.4rem;
  line-height: 1.5em;
  margin: -1.25em 0 1.25em;
  display: block;
  width: 100%;
  position: absolute;
  top: 100%;
}
section.teaser h2 {
  font-size: calc(1.325rem + 2.6vw);
  margin-top: 0.25em;
  color: var(--teaser-heading-color);
  font-weight: normal;
}
section.teaser h3 {
  font-size: 1.55rem;
  color: var(--teaser-heading-color);
  font-style: italic;
  min-height: 2.5em;
  margin-bottom: 0.5em;
  font-weight: normal;
}
section.teaser b,
section.teaser strong {
  font-weight: bold;
  margin: 0.25em;
}
section.teaser figure {
  overflow: hidden;
}
section.teaser figure img,
section.teaser-bunt figure img {
  transition: transform var(--transition-duration) ease-in-out;
}
section.teaser figure img:hover,
section.teaser-bunt figure img:hover {
  transform: scale(1.1);
}
section.teaser-bunt {
  margin-bottom: 1.4em;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
section.teaser-bunt figure {
  margin: 0;
}
section.teaser-bunt a {
  text-decoration: none;
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}
section.teaser-bunt h2 {
  color: white;
  background: var(--main-color);
  padding: 18px 12px 16px;
  margin: 0;
  line-height: 1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: normal;
}
section.teaser-bunt h2 br {
  white-space: nowrap;
  display: none;
}
section.teaser-bunt h3 {
  background: var(--teaser-bg-color);
  font-family: Arial, Helvetica, sans-serif;
  padding: 18px 12px 18px;
  margin: 0;
  line-height: 1.4em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 66px;
}
section.teaser-bunt a div.teaser-wrapper {
  background: var(--teaser-bg-color);
  padding: 0 12px 18px;
  margin: 0;
}
section.teaser-bunt a div.teaser-wrapper p {
  margin: 0 0 0 0;
  height: 95px;
  overflow: hidden;
  text-overflow: ellipsis;
}
section.teaser-bunt .image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

section.teaser-bunt .image-wrapper:has(figure:nth-of-type(2)) figure {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
}
section.teaser-bunt .image-wrapper:has(figure:nth-of-type(2)) figure:first-of-type {
  z-index: 1;
  opacity: 1;
}
section.teaser-bunt .image-wrapper:has(figure:nth-of-type(2)) figure:last-of-type {
  z-index: 2;
  opacity: 0;
}

section.teaser-bunt a:hover .image-wrapper:has(figure:nth-of-type(2)) figure:first-of-type {
  opacity: 0;
}
section.teaser-bunt a:hover .image-wrapper:has(figure:nth-of-type(2)) figure:last-of-type {
  opacity: 1;
}
section.teaser-bunt a:hover div.teaser-wrapper,
section.teaser-bunt a:hover h3 {
  background: var(--hover-color);
  transition: background-color var(--transition-duration) var(--transition-timing);
}
@media screen and (min-width: 768px) {
  section.teaser h2.size-xs {
    font-size: 2.45rem;
  }
  section.teaser h2.size-s {
    font-size: 2.5rem;
  }
  section.teaser h2.size-m {
    font-size: 2.55rem;
  }
  section.teaser h2 {
    font-size: 2.6rem;
  }
  section.teaser h2.size-l {
    font-size: 2.7rem;
  }
  section.teaser h2.size-xl {
    font-size: 2.8rem;
  }
  section.teaser h2.size-xxl {
    font-size: 2.9rem;
  }
  section.teaser h2.size-xl3 {
    font-size: 3.0rem;
  }
  section.teaser h2.size-xl4 {
    font-size: 3.1rem;
  }
  section.teaser h3.size-l {
    font-size: 1.45rem;
  }
  section.teaser h3.size-xl {
    font-size: 1.5rem;
  }
  section.teaser h3.size-xxl {
    font-size: 1.55rem;
  }
  section.teaser h3.size-xl3 {
    font-size: 1.6rem;
  }
  section.teaser h3.size-xl4 {
    font-size: 1.65rem;
  }
}