/* =========================================================
   rp-bewertung-seite.css: /bewertung, «Bewertung Ihrer Immobilie» mit den Bäumen und «Transparenter Prozess»
   mit grossem Bild und weichem Übergang. Schritt 71, Stand 27.09.2026 (nach Kritik: Titel mit Zoom-Anteil,
   Schrift 19/18 px, Prozess bis 1199 px einspaltig, Knopfabstand am Handy).
   ========================================================= */

.rpbw {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 1200px;
  margin: clamp(48px, 7vw, 104px) auto 0;
  display: grid;
  gap: clamp(72px, 9vw, 136px);
  text-align: left;
}
/* Bäume über den Rezensionen (Nicolas 27.09.2026 abends) */
.rpbw.rpbw-oben { margin-bottom: clamp(64px, 8vw, 112px); }
.rpbw-text { max-width: 560px; }
.rpbw .rpv-eyebrow { font-size: 14px; }
.rpbw .rpv-eyebrow + h2 { max-width: none; }
.rpbw-h2 {
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(2.125rem, 1rem + 2.5vw, 3.125rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.rpbw-p { margin: 22px 0 0; color: #4d464a; font-size: 18px; line-height: 1.7; }
.rpbw-bild-satz { color: #1d1d1f; font-weight: 500; }
.rpbw .rpbw-knoepfe {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 12px 16px;
  margin-top: 36px;
}
.rpbw .rpbw-knoepfe .w-button { margin: 0; }

/* ---------- A: Text und Bäume ---------- */
.rpbw-a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.rpbw-a.hat-baeume { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 80px); }
.rpbw-baeume { min-width: 0; }

/* ---------- B: grosses Bild, links weich ins Weiss ---------- */
.rpbw-b {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.rpbw-bild {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  /* Am Desktop ohne Übergang (Nicolas 30.09.2026: «bei der PC-Ansicht … da muss der Übergang nicht sein. Das ist
     ja nur bei der Mobile-Version toll»); bis 1199 px bleibt der weiche Übergang nach unten (Regel weiter unten). */
  border-radius: 14px;
}
.rpbw-bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.rpbw-liste { list-style: none; margin: 28px 0 0; padding: 0; }
.rpbw-liste li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #e3e6ea;
  color: #4d464a;
  font-size: 18px;
  line-height: 1.55;
}
.rpbw-liste li:last-child { border-bottom: 1px solid #e3e6ea; }
.rpbw-liste strong { color: #1d1d1f; font-weight: 600; }
.rpbw-liste svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: #194963; }

@media (min-width: 992px) {
  .rpbw-p { font-size: 19px; }
}
/* Bis 1199 px Bild oben, Text in voller Breite darunter (bei 1024 px hatte die Liste nur 26 Zeichen pro Zeile) */
@media (max-width: 1199px) {
  .rpbw-b { grid-template-columns: minmax(0, 1fr); }
  .rpbw-b .rpbw-text { max-width: 720px; margin-top: -24px; }
  .rpbw-bild {
    border-radius: 14px 14px 0 0;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, rgba(0, 0, 0, .5) 84%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 62%, rgba(0, 0, 0, .5) 84%, transparent 100%);
  }
}
@media (max-width: 991px) {
  .rpbw-a.hat-baeume { grid-template-columns: minmax(0, 1fr); }
  .rpbw-text { max-width: 640px; }
}
@media (max-width: 479px) {
  .rpbw .rpbw-knoepfe .w-button { width: 100%; }
  /* Beschriftungen der Bäume untereinander (nebeneinander nur 19 Zeichen pro Zeile); die farbige Linie über jeder
     Beschriftung ordnet sie dem Baum zu */
  .rpbw .rpb-legende { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
}
