
.rb--home {
  --home-weich: 1px solid var(--rb-card-line);
}

.rb--home :is(.rb-flaeche, .rb-hero__flaeche, .rb-bento__media, .rb-quotes__bild) img {
  width: 100%;
  height: 100%;
  max-width: none;
}

.rb--home-welten {
  padding-bottom: 0;
}


.home-kopf .frame__img {
  background: var(--rand, var(--bild-dunkel));
}

.home-kopf .rb-hero__eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.home-kopf .banner__h {
  margin-top: 0.5rem;
}

.home-kopf .banner__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 3rem;
  max-width: none;
}

.home-kopf .banner__copy {
  max-width: 36em;
}

.home-kopf .rb-hero__actions {
  margin-top: 0;
}

.home-kopf .rb-link {
  color: #fff;
}

@media (max-width: 1023px) {
  .p-home .home-kopf .frame__img {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    container-type: inline-size;
    background: #2f3436;
  }

  .p-home .home-kopf .frame__img > picture {
    position: relative;
    display: block;
    order: 2;
    aspect-ratio: 4 / 3;
    margin-top: calc(-1 * var(--u));
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  }

  .p-home .home-kopf .frame__img > picture > img {
    left: 0;
    width: 100%;
  }

  .p-home .home-kopf .frame .banner__top,
  .p-home .home-kopf .banner__foot {
    position: relative;
    inset: auto;
  }

  .p-home .home-kopf .frame .banner__top {
    order: 1;
    padding: calc(2 * var(--u)) calc(4.75 * var(--u)) 0 calc(2 * var(--u));
  }

  .p-home .home-kopf .banner__foot {
    order: 3;
    padding: 0 calc(2 * var(--u)) calc(2 * var(--u));
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .p-home .home-kopf .frame__img > picture {
    aspect-ratio: 16 / 9;
  }
}


.home-stack__kopf {
  display: grid;
  gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 1.75rem + 2.5vw, 4rem);
}

.home-stack__kopf .rb-kopf {
  margin-bottom: 0;
}

.home-stack__flaeche {
  aspect-ratio: 16 / 9;
  box-shadow: var(--rb-shadow);
}

@media (min-width: 1024px) {
  .home-stack__kopf {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}


.home-loesungen__liste {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-loesungen__eintrag {
  display: flex;
  min-width: 0;
}

.home-loesung {
  flex: 1;
}

.home-loesung .rb-bento__media {
  aspect-ratio: 4 / 3;
}

.home-loesung__nr {
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--rb-line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: var(--rb-sub);
  font-variant-numeric: tabular-nums;
}

.home-loesung .rb-bento__h {
  margin-top: 0.35rem;
}

.home-loesung__wer {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--rb-ink);
}

.home-loesung__mehr {
  align-self: flex-start;
  margin-top: auto;
}

.home-loesung .rb-bento__p + .home-loesung__mehr {
  margin-top: auto;
  padding-top: 0.75rem;
}

.home-loesungen__eintrag:first-child .home-loesung__nr {
  border-color: rgba(88, 166, 24, 0.6);
  color: var(--rb-green-ink);
}

@media (hover: hover) {
  .home-loesung:hover .home-loesung__mehr {
    color: var(--rb-green-ink);
    border-color: currentColor;
  }
}


@media (max-width: 1023px) {
  .rb-quotes--gruender .home-gruender__bild {
    aspect-ratio: 4 / 5;
  }
}

.home-gruender__h {
  max-width: 18em;
  font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem);
}

.home-gruender__zeile {
  margin-top: 1rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.5;
  color: var(--rb-sub);
}

.home-gruender__zitat {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem);
}

.rb-quotes--gruender .home-gruender__inhalt {
  justify-content: flex-start;
  gap: 0;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .rb-quotes--gruender .home-gruender__bild {
    aspect-ratio: 4 / 3;
  }
}


.home-split__raster {
  display: grid;
  gap: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  align-items: center;
}

.home-split__flaeche {
  aspect-ratio: 3 / 2;
  box-shadow: var(--rb-shadow);
}

.home-split__text {
  min-width: 0;
}

.home-split__h {
  max-width: 18em;
  font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem);
}

.rb-ueber + div > .home-split__h,
.rb-ueber + div > .rb-h2 {
  margin-top: 1.1rem;
}

.rb--home .split__sub {
  margin: 1.25rem 0 0;
  max-width: 34em;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  font-weight: 350;
  line-height: 1.5;
  color: var(--rb-sub);
}

.home-split__p {
  margin-top: 1rem;
  max-width: 36em;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--rb-ink);
  text-wrap: pretty;
}

.home-split__mehr {
  margin-top: 1.75rem;
}

.home-liste {
  margin-top: 1.75rem;
  max-width: 36em;
  border-top: 1px solid var(--rb-line);
}

.home-liste > li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.5rem;
  border-bottom: 1px solid var(--rb-line);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--rb-ink);
}

.home-liste > li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.5rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rb-green);
}

@media (min-width: 1024px) {
  .home-split__raster {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(48px, 5vw, 96px);
  }
}


.home-referenz__in {
  padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(20px, 4vw, 64px);
  background: var(--rb-dark);
  border-radius: 24px;
  color: var(--rb-on-dark);
}

.home-referenz__in .rb-ueber {
  color: var(--rb-on-dark-2);
}

.home-referenz__h {
  color: var(--rb-on-dark);
}

.home-referenz__liste {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr);
  background: rgba(247, 245, 236, 0.16);
  border-color: rgba(247, 245, 236, 0.16);
}

.home-referenz__liste > li {
  min-width: 0;
  padding: clamp(1.25rem, 1rem + 1.2vw, 2rem) clamp(1.1rem, 0.75rem + 1.2vw, 2rem);
  background: var(--rb-dark);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 350;
  line-height: 1.35;
  color: var(--rb-on-dark);
}

@media (min-width: 768px) {
  .home-referenz__liste {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-referenz__liste--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-routine__flaeche {
  display: grid;
  gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
  background: var(--rb-card);
  border: var(--home-weich);
  border-radius: var(--rb-radius);
}

.home-routine__h {
  max-width: 18em;
  font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem);
}

.home-routine__wege {
  display: grid;
  gap: 12px;
  align-content: end;
}

.home-routine__weg {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  min-height: 7.5rem;
  padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  background: var(--rb-bg);
  border: var(--home-weich);
  border-radius: calc(var(--rb-radius) - 6px);
  color: var(--rb-ink);
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}

.home-routine__wer {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--rb-sub);
}

.home-routine__ziel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.home-routine__ziel::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}

.home-routine__weg:hover {
  background: var(--rb-tint);
  border-color: var(--rb-line);
}

.home-routine__wege > li:last-child .home-routine__weg {
  background: var(--rb-slate);
  border-color: var(--rb-slate);
  color: var(--rb-on-dark);
}

.home-routine__wege > li:last-child .home-routine__wer {
  color: var(--rb-on-dark-2);
}

@media (max-width: 479px) {
  .home-routine__weg {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {
  .home-routine__flaeche {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(48px, 5vw, 96px);
  }
}


.home-ueber__liste {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-ueber__eintrag {
  display: flex;
  min-width: 0;
}

.home-ueber__karte {
  flex: 1;
}

.home-ueber__karte .rb-bento__media {
  aspect-ratio: 16 / 10;
}

.home-ueber__karte .rb-bento__body {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.home-ueber__mehr {
  flex: none;
}

.home-ueber__karte .rb-bento__body .home-ueber__mehr {
  margin-top: 0;
  padding-top: 0;
}

@media (hover: hover) {
  .home-ueber__karte:hover .home-ueber__mehr {
    color: var(--rb-green-ink);
    border-color: currentColor;
  }
}


.rb--home .home-entdecken__raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 0;
  background: none;
}

.rb--home .home-entdecken__raster .tile {
  gap: 0;
  padding: 0 0 clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  overflow: clip;
  background: var(--rb-card);
  border: var(--home-weich);
  border-radius: var(--rb-radius);
  color: var(--rb-ink);
  text-decoration: none;
  transition: box-shadow 0.3s var(--rb-ease);
}

.rb--home .home-entdecken__raster .tile__img {
  aspect-ratio: 4 / 3;
  background: var(--rb-slate);
}

.rb--home .home-entdecken__raster .tile__img:has(.stage) {
  background: var(--rb-tint);
}

.rb--home .home-entdecken__raster .stage--paper {
  background: var(--rb-tint);
}

.rb--home .tile__img > img {
  width: 100%;
  height: 100%;
  max-width: none;
}

.rb--home .stage img {
  height: 100%;
  width: auto;
  max-width: 100%;
}

.rb--home .stage--2 img {
  max-width: 52%;
  height: 92%;
}

.rb--home .home-entdecken__raster .tile__label {
  margin-top: clamp(1.1rem, 0.9rem + 0.6vw, 1.5rem);
  padding-inline: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
}

.rb--home .home-entdecken__raster .t-h3 {
  color: var(--rb-ink);
  font-size: clamp(1.375rem, 1.15rem + 0.7vw, 1.875rem);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.rb--home .home-entdecken__raster .split__hinweis {
  margin-top: 0.6rem;
  padding: 0 clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--rb-sub);
}

@media (hover: hover) {
  .rb--home .home-entdecken__raster .tile:hover {
    box-shadow: var(--rb-shadow-hoch);
  }

  .rb--home .home-entdecken__raster .tile:hover .t-h3 {
    color: var(--rb-green-ink);
  }
}

@media (min-width: 768px) {
  .rb--home .home-entdecken__raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-schluss .rb-cta__p a {
  white-space: nowrap;
}
