.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 2.5rem;
  margin: 0 -2rem 3rem;
  align-items: center;
  padding: 2rem 0 2.5rem;
  background: transparent;
  border-radius: 0;
  grid-column: revert;
  text-align: center;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: var(--color-section-green);
}
@media (min-width: 960px) and (max-width: 1024px) {
  .home-hero {
    margin: 0 -3rem 3rem;
  }
}
@media (min-width: 1025px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 30rem);
    gap: clamp(1rem, 1.4vw, 3.5rem);
    padding: 2.5rem 0 2.5rem;
    margin: 0 0 1rem;
    text-align: left;
  }
}
.home-hero h1, .home-hero__subheadline {
  font-family: var(--font-family-headline);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--color-primary);
}
.home-hero h1 {
  font-size: clamp(3.5rem, 5.4vw, 3.55rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
  max-width: none;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .home-hero h1 {
    font-size: 3.4rem;
  }
}
@media (min-width: 1025px) {
  .home-hero h1 {
    font-size: 4rem;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .home-hero .home-hero__subheadline {
    font-size: 2.32rem;
  }
}
@media (min-width: 1025px) {
  .home-hero .home-hero__subheadline {
    font-size: 2.3rem;
  }
}

.home-hero__content {
  padding: 0;
  margin: 0 1.5rem;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .home-hero__content {
    margin: 0 4rem;
  }
}
@media (min-width: 1025px) {
  .home-hero__content {
    margin: 0;
  }
}

.home-hero__subheadline {
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 1.8rem;
}

.home-hero__intro,
.home-section__text,
.home-section__details,
.home-hero__button,
.home-section__link {
  font-family: var(--font-family-sans);
}

.home-hero__intro {
  margin-bottom: 2rem;
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--color-black);
}
.home-hero__intro p {
  margin-bottom: 0;
}

.home-hero__button,
.home-section__link,
.home-offer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.8rem 1.35rem;
  border-radius: 0.5rem;
  background: var(--color-highlight);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
}
.home-hero__button:hover, .home-hero__button:focus-visible,
.home-section__link:hover,
.home-section__link:focus-visible,
.home-offer__button:hover,
.home-offer__button:focus-visible {
  background: var(--color-highlight);
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.home-offer {
  margin: 0 calc(var(--padding) * -1) 3rem;
  background: var(--color-white);
}

.home-offer__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.75rem;
  max-width: 68rem;
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 5rem) var(--padding);
  text-align: left;
}
@media (max-width: 959px) {
  .home-offer__inner {
    padding: 0rem var(--padding);
  }
}

.home-offer__logo {
  width: min(8.5rem, 42vw);
  margin: 0;
}
@media (max-width: 959px) {
  .home-offer__logo {
    width: 14rem;
  }
}
.home-offer__logo img {
  display: block;
  width: 100%;
  height: auto;
}
@media screen and (min-width: 60rem) {
  .home-offer__logo {
    position: absolute;
    top: 1.2rem;
    right: var(--padding);
    width: 14rem;
  }
}

.home-offer__content {
  display: grid;
  justify-items: center;
  gap: 1.35rem;
  max-width: 58rem;
}

.home-offer__terms {
  display: grid;
  gap: 1.5rem;
  width: min(100%, 54rem);
  margin-top: clamp(1.5rem, 4vw, 3rem);
}
@media screen and (min-width: 48rem) {
  .home-offer__terms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.home-offer__terms .info-card {
  max-width: none;
  margin: 0;
  box-shadow: none;
}
@media screen and (min-width: 48rem) {
  .home-offer__terms .info-card {
    max-width: none;
  }
}
@media screen and (min-width: 60rem) {
  .home-offer__terms .info-card {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    max-width: none;
  }
}
.home-offer__terms .info-card__icon {
  min-height: 10rem;
}
@media screen and (min-width: 60rem) {
  .home-offer__terms .info-card__icon {
    min-height: 11.5rem;
    padding: 1.5rem;
  }
}
@media screen and (min-width: 60rem) {
  .home-offer__terms .info-card__content {
    padding: 1.5rem;
  }
}

.home-offer__sections {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  width: 100%;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.home-offer__teasers {
  width: min(100%, 54rem);
}

.home-offer__teaser-label {
  justify-self: start;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--color-tafel-label);
  color: var(--color-black);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}
@media (prefers-contrast: more) {
  .home-offer__teaser-label {
    background: var(--color-tafel-label-high-contrast);
  }
}

.home-offer__headline {
  margin: 0;
  font-family: var(--font-family-headline);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
}

.home-offer__text {
  max-width: 54rem;
  font-family: var(--font-family-sans);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-black);
}
.home-offer__text p {
  margin-bottom: 0;
  text-align: center;
}

.home-hero__media {
  order: -1;
  overflow: hidden;
  border-radius: 0;
  min-height: 18rem;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .home-hero__media {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}
@media (min-width: 1025px) {
  .home-hero__media {
    min-height: 0;
    width: 100%;
    max-width: 32.5rem;
    justify-self: end;
    border-radius: 1.5rem;
    order: 0;
  }
}
.home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .home-hero__media img {
    width: 50%;
    height: auto;
  }
}

.home-wave {
  width: calc(100% + var(--padding) * 2);
  height: 1.75rem;
  margin-inline: calc(var(--padding) * -1);
  background-color: var(--color-white);
  -webkit-mask-image: var(--wave-mask-image);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  -webkit-mask-position: center top;
  mask-image: var(--wave-mask-image);
  mask-repeat: no-repeat;
  mask-size: cover;
  mask-position: center top;
}
@media screen and (min-width: 60rem) {
  .home-wave {
    height: 3.75rem;
  }
}

.home-wave--green {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: var(--color-section-green);
}

.home-wave--white {
  background-color: var(--color-white);
}

.home-section__media {
  display: flex;
  align-items: baseline;
  justify-content: center;
}
@media screen and (min-width: 60rem) {
  .home-section__media {
    min-height: 0;
  }
}
.home-section__media img {
  display: block;
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
}
@media screen and (min-width: 60rem) {
  .home-section__media img {
    max-width: 18rem;
    margin: 0;
  }
}

.home-section__content {
  max-width: 37rem;
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}
@media screen and (min-width: 60rem) {
  .home-section__content {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }
}

.home-section__headline {
  font-family: var(--font-family-headline);
  color: var(--color-black);
}
@media screen and (min-width: 60rem) {
  .home-section__headline {
    max-width: none;
  }
}

.home-section__subheadline {
  color: var(--color-primary);
}

.home-section__details {
  margin-bottom: 1.5rem;
  color: var(--color-black);
}
.home-section__details p {
  margin-bottom: 1rem;
}
.home-section__details p:last-child {
  margin-bottom: 0;
}
.home-section__details a {
  color: var(--color-highlight);
}

@media screen and (min-width: 60rem) {
  .home-section__text {
    width: 100%;
  }
}

.home-news {
  width: 100%;
}

.home-news__item .news-overview__meta {
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .home-hero__intro {
    max-width: 90%;
  }
}
@media screen and (min-width: 60rem) {
  .home-section__inner {
    grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
  }
  .home-section__inner .home-section__media {
    grid-area: 1/1/2/2;
  }
  .home-section__inner .home-section__content {
    grid-area: 1/2/2/3;
  }
  .home-section__inner .info-card {
    grid-area: 2/1/3/3;
  }
  .home-section .editorial-section__inner--right {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
  }
  .home-section .editorial-section__inner--right .home-section__media {
    grid-area: 1/2/2/3;
  }
  .home-section .editorial-section__inner--right .home-section__content {
    grid-area: 1/1/2/2;
  }
  .home-section .editorial-section__inner--right .home-section__media {
    justify-self: end;
  }
  .home-section .editorial-section__inner--left .home-section__media {
    justify-self: center;
  }
  .home-section .editorial-section__inner--right .home-section__content,
  .home-section .editorial-section__inner--left .home-section__content {
    justify-self: start;
    justify-items: start;
    text-align: left;
  }
  .home-section .home-section__inner--news {
    grid-template-columns: 1fr;
  }
  .home-section .home-section__inner--news .home-section__content {
    grid-area: auto;
    width: 100%;
  }
}
