/* Block „RF Zitat“ – template-parts/blocks/rf-quote.php */

.rf-quote {
  padding: 0 0 160px;
}
.rf-quote--box {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 465px;
  margin: 0;
  overflow: hidden;
  background-color: var(--cyan);
}
.rf-quote--text {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 60px 40px 60px 120px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.6;
}
.rf-quote--text blockquote {
  margin: 0 0 25px;
}
.rf-quote--text strong,
.rf-quote--text span {
  display: block;
}
.rf-quote--marks {
  position: absolute;
  right: -87px;
  top: 50%;
  width: 542px;
  height: auto;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
@media (max-width: 1399px) {
  .rf-quote--text {
    max-width: 62%;
    padding-left: 70px;
  }
  .rf-quote--marks {
    right: -6%;
    width: 38%;
  }
}
@media (max-width: 991px) {
  .rf-quote {
    padding-bottom: 80px;
  }
  .rf-quote--box {
    min-height: 0;
  }
  .rf-quote--text {
    max-width: none;
    padding: 45px 40px;
    font-size: 18px;
  }
  .rf-quote--marks {
    display: none;
  }
}

.rf-quote--text {
  color: var(--navy);
}

/* Smartphone: Zitatzeichen unten rechts */
@media (max-width: 767px) {
  .rf-quote {
    padding-bottom: 60px;
  }
  .rf-quote--text {
    padding: 35px 30px 200px;
  }
  .rf-quote--marks {
    display: block;
    top: auto;
    right: -4.6%;
    bottom: 12px;
    width: 65.7%;
    -webkit-transform: none;
            transform: none;
  }
}

/* Text bleibt neben den Zitatzeichen */
@media (min-width: 992px) {
  .rf-quote--text {
    box-sizing: border-box;
    width: 100%;
    max-width: 66%;
  }
}
@media (min-width: 1400px) {
  .rf-quote--text {
    max-width: calc(100% - 465px);
    padding-right: 30px;
  }
}
