/* 2.9.27: Festlayouts 41–47 – Slogan rechts auf gleicher Höhe wie die H1.
   Die Kachel passt sich an den eingegebenen Text an, statt eine feste Breite zu erzwingen. */
@media (min-width: 901px) {
  body .ttf-praxiswebseite:is(.layout-skandi_fest,.layout-freundlich_fest,.layout-nordisch_fest,.layout-weitblick_fest,.layout-freiheit_fest,.layout-balance_fest,.layout-vertrauen_fest) .ttf-praxis-hero-text {
    position:relative!important;
    overflow:visible!important;
  }
  body .ttf-praxiswebseite:is(.layout-skandi_fest,.layout-freundlich_fest,.layout-nordisch_fest,.layout-weitblick_fest,.layout-freiheit_fest,.layout-balance_fest,.layout-vertrauen_fest) .ttf-praxis-hero-text .ttf-fest-claim {
    position:absolute!important;
    top:0!important;
    bottom:auto!important;
    left:auto!important;
    right:calc(600px - 100vw + clamp(22px,8vw,150px) + clamp(22px,8vw,150px))!important;
    transform:none!important;
    display:block!important;
    align-self:auto!important;
    width:max-content!important;
    min-width:0!important;
    max-width:min(440px,34vw)!important;
    height:auto!important;
    margin:0!important;
    padding:clamp(16px,2vw,26px) clamp(20px,2.4vw,34px)!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    box-sizing:border-box!important;
  }
}
@media (min-width: 901px) and (max-width: 1199px) {
  body .ttf-praxiswebseite:is(.layout-skandi_fest,.layout-freundlich_fest,.layout-nordisch_fest,.layout-weitblick_fest,.layout-freiheit_fest,.layout-balance_fest,.layout-vertrauen_fest) .ttf-praxis-hero-text .ttf-fest-claim {
    max-width:32vw!important;
    font-size:clamp(22px,2.4vw,32px)!important;
  }
}
@media (max-width: 900px) {
  body .ttf-praxiswebseite:is(.layout-skandi_fest,.layout-freundlich_fest,.layout-nordisch_fest,.layout-weitblick_fest,.layout-freiheit_fest,.layout-balance_fest,.layout-vertrauen_fest) .ttf-praxis-hero-text .ttf-fest-claim {
    position:relative!important;
    top:auto!important;right:auto!important;left:auto!important;
    transform:none!important;
    width:max-content!important;
    max-width:100%!important;
    height:auto!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
  }
}
