/* White text */
.ce_revolutionslider_text.caption.tp-caption.bold.txt-color-white.block {
  font-size: clamp(20px, 2.5vw, 38px) !important;
  margin-top: -20px;
  font-weight: 600;
  line-height: 1.2;
}

/* Black text */
.ce_revolutionslider_text.caption.tp-caption.block:not(.bold) {
  margin-top: 20px !important;
  font-size: clamp(14px, 2vw, 20px) !important;
  font-weight: 400 !important;
  line-height: 1.4; /* Bessere Lesbarkeit */
  white-space: normal;
}


.tp-parallax-wrap,
.tp-loop-wrap,
.tp-mask-wrap,
.ce_revolutionslider_image,
.ce_revolutionslider_text {
  transform: translateY(clamp(10px, 4vh, 40px));
}


a.hyperlink_txt.ce_revolutionslider_hyperlink.caption.tp-caption.text-link.block {
  display: none;
}

@media only screen and (max-width: 767px) {
  .tp-parallax-wrap,
  .tp-loop-wrap,
  .tp-mask-wrap,
  .ce_revolutionslider_image,
  .ce_revolutionslider_text {
    transform: translateY(2vh);
  }
  
  /* White text */
  .ce_revolutionslider_text.caption.tp-caption.bold.txt-color-white.block {
    font-size: clamp(18px, 4vw, 34px) !important;
    line-height: 1.3 !important;
    margin-top: -10px;
  }

  /* Black text */
  .ce_revolutionslider_text.caption.tp-caption.block:not(.bold) {
    margin-top: 30px !important;
    left: -5px; /* Weniger starke Verschiebung */
    font-size: clamp(12px, 3vw, 18px) !important;
    line-height: 1.5 !important;
  }
}

.no-hyphens {
  hyphens: none !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  white-space: normal !important;
}
