/* 2.9.03: Festlayouts 41–47 – real hero matches gallery artwork. */
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 {display:flex!important;align-items:center!important;justify-content:flex-start!important;min-height:clamp(580px,43vw,760px)!important;padding:70px 0 115px!important;overflow:hidden!important;position:relative!important;isolation:isolate!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 {width:min(490px,85vw)!important;max-width:490px!important;box-sizing:border-box!important;margin-left:clamp(28px,10vw,190px)!important;margin-right:0!important;padding:clamp(27px,3vw,45px)!important;text-align:center!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 :is(h1,h2,.ttf-praxis-beruf,.ttf-praxis-ort) {text-align:center!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 {font:400 clamp(25px,2.4vw,39px)/1.16 Georgia,serif!important;letter-spacing:-.02em!important;margin:0 auto 22px!important;max-width:390px!important;color:var(--primary,#465f52)!important;text-wrap:balance!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 h1 {font-size:clamp(22px,1.85vw,30px)!important;line-height:1.2!important;margin:0 0 8px!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 h2 {font-size:clamp(16px,1.2vw,20px)!important;margin:0 0 10px!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-praxis-button {display:inline-flex!important;margin:16px auto 0!important;}
/* The forest meadow is exclusive to design 44, also in the actual page. */
body .ttf-praxiswebseite.layout-weitblick_fest .ttf-praxis-hero {background-image:url('../assets/ttf-fixed-meadow.webp')!important;background-size:cover!important;background-position:center center!important;}
body .ttf-praxiswebseite.layout-weitblick_fest .ttf-praxis-hero::before {background:linear-gradient(90deg,rgba(248,248,238,.85),rgba(248,248,238,.33) 52%,transparent 85%)!important;}
/* Explicit photo layer: fix the tiny coastal strip and missing stone/hand photos. */
body .ttf-praxiswebseite:is(.layout-freiheit_fest,.layout-balance_fest,.layout-vertrauen_fest) .ttf-praxis-hero {background-image:none!important;}
body .ttf-praxiswebseite:is(.layout-freiheit_fest,.layout-balance_fest,.layout-vertrauen_fest) .ttf-praxis-hero::before {content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:-1!important;background-image:linear-gradient(90deg,var(--bg) 0%,rgba(248,247,243,.58) 26%,transparent 56%),var(--ttf-hero-photo)!important;background-position:center,center center!important;background-size:cover,cover!important;background-repeat:no-repeat!important;-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 75%,transparent 100%)!important;mask-image:linear-gradient(to bottom,#000 0%,#000 75%,transparent 100%)!important;-webkit-mask-composite:initial!important;mask-composite:initial!important;opacity:1!important;transform:none!important;}
body .ttf-praxiswebseite.layout-freiheit_fest .ttf-praxis-hero::before {background-image:linear-gradient(90deg,#f6f9fa 0%,rgba(246,249,250,.60) 25%,transparent 58%),url('../assets/ttf-fixed-freiheit.webp')!important;}
body .ttf-praxiswebseite.layout-balance_fest .ttf-praxis-hero::before {background-image:linear-gradient(90deg,#faf8f3 0%,rgba(250,248,243,.57) 25%,transparent 58%),url('../assets/ttf-fixed-balance.webp')!important;}
body .ttf-praxiswebseite.layout-vertrauen_fest .ttf-praxis-hero::before {background-image:linear-gradient(90deg,#faf6f2 0%,rgba(250,246,242,.50) 26%,transparent 60%),url('../assets/ttf-fixed-vertrauen.webp')!important;}
/* Natural smooth ending rather than the old polygon edge. */
body .ttf-praxiswebseite:is(.layout-freiheit_fest,.layout-balance_fest,.layout-vertrauen_fest) .ttf-praxis-hero::after {content:none!important;display:none!important;}
@media(max-width:700px){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 {min-height:570px!important;padding:50px 16px 110px!important;align-items:flex-start!important;justify-content:center!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 {margin:0 auto!important;width:min(100%,440px)!important;padding:26px 22px!important;}body .ttf-praxiswebseite:is(.layout-freiheit_fest,.layout-balance_fest,.layout-vertrauen_fest) .ttf-praxis-hero::before {background-position:center,65% center!important;-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 75%,transparent 100%)!important;mask-image:linear-gradient(to bottom,#000 0%,#000 75%,transparent 100%)!important;}}

/* 2.9.15 – Praxisname und folgende Angaben zwei Zeilen tiefer.
   Die transparente Slogan-Kachel bleibt an ihrer bisherigen Position.
   Gilt ausschließlich für die sieben neuen Festlayouts (41–47). */
@media (min-width: 768px) {
 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 h1 {
   margin-top: 2.1em !important;
 }
}
@media (max-width: 767px) {
 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 h1 {
   margin-top: 1.15em !important;
 }
}
