/* One outer content grid for public pages; full-width scenes retain their canvas. */
body.public-site-shell[data-public-layout]{--public-gutter:max(7.5%,calc((100% - 1150px)/2));--public-content:calc(100% - 2 * var(--public-gutter))}
body.public-site-shell[data-public-layout] main{box-sizing:border-box;min-width:0}
/* Shared vertical rhythm for ordinary content; scroll scenes keep their geometry. */
body.public-site-shell[data-public-layout]{--public-section-space:64px;--public-block-space:40px;--public-card-space:32px}
body.public-site-shell.home-topic-journey #coaching-einstieg{padding-top:var(--public-section-space)}
body[data-public-layout="inset"] .personal-topic-landing>:is(.exam-hero,.exam-section,.personal-offer-layout){margin-top:0;margin-bottom:var(--public-card-space)}
body[data-public-layout="inset"] .personal-topic-landing>.exam-section:last-child{margin-bottom:0}
body[data-public-layout="inset"] .main .view>.page-title{margin-bottom:var(--public-card-space)}
body[data-public-layout="inset"] #about>.qualification-section{margin-block:var(--public-block-space)}
body[data-public-layout="inset"] #about>.about-reviews{margin-top:var(--public-block-space)}
body[data-public-layout="inset"] #breathworkTopics>:is(.bw-hero,section){margin-bottom:0}
body[data-public-layout="inset"] #breathworkTopics>section{margin-top:var(--public-block-space)}
body[data-public-layout="inset"] #breathworkTopics>.card.legal-copy{box-sizing:border-box;width:100%;max-width:none}
body[data-public-layout="inset"] #appointments .public-schedule-group{margin-block:var(--public-block-space)}
body[data-public-layout="legacy-sectioned"] .public-frame main>.section{padding-block:var(--public-section-space)}
/* Adjacent magazine sections already have bottom space on the preceding block. */
body[data-public-layout="journal"] .journal-intro+.listing{padding-top:var(--public-block-space)}
body[data-public-layout="journal"] .journal-invitation+.article-related{padding-top:0}
/* The breadcrumb must span the two-column webinar layout, not occupy its first cell. */
body[data-public-layout="compact"] .public-frame>main>.life-path{grid-column:1 / -1;align-self:start}
body[data-public-layout="compact"] .public-frame>main:has(>img){row-gap:var(--public-card-space)}
@media(max-width:760px){
 body.public-site-shell[data-public-layout]{--public-section-space:48px;--public-block-space:32px;--public-card-space:24px}
}
body[data-public-layout="sectioned"] .life-main>:is(.life-section,.life-cta,.home-coaching-intro,.home-topic-picker,.home-patterns-intro,.transformation-story,.emotional-pattern,.fear-pattern,.phobia-pattern,.social-pattern,.relationship-pattern,.stories-hero,.stories-reviews,.stories-next,.topic-detail-intro,.topic-detail-stage,.topic-detail-cta,.hope-event-section,.hope-event-experience),
body[data-public-layout="sectioned"] #home-additional-story,
body[data-public-layout="sectioned"] .topic-detail-original>:is(section,header){padding-left:var(--public-gutter)!important;padding-right:var(--public-gutter)!important}
body[data-public-layout="sectioned"] .life-main>.unified-footer{padding-left:var(--public-gutter);padding-right:var(--public-gutter)}
body.hope-night-page[data-public-layout] .hope-event-final-ticket{width:100%;max-width:none}
body.home-topic-journey[data-public-layout] .home-topic-grid{max-width:none}
body.life-topic-aligned[data-public-layout] :is(.topic-ferrari-copy,.topic-awakening-copy-details){padding-left:var(--public-gutter)!important;padding-right:var(--public-gutter)!important}

/* Size each older page frame inside the available main width, excluding the sidebar. */
body[data-public-layout="inset"] main.main{padding-left:0!important;padding-right:0!important}
body[data-public-layout="inset"] main.main>:not(script):not(style):not(.unified-footer):not(.health-notice){box-sizing:border-box;width:var(--public-content);max-width:none;margin-left:auto;margin-right:auto}
body[data-public-layout="inset"] main.main>.unified-footer{padding-left:var(--public-gutter);padding-right:var(--public-gutter)}

/* Magazine, editorial pages, and the few standalone public landing pages. */
body[data-public-layout="journal"] .public-frame main>:is(.life-path,.journal-intro,.listing){box-sizing:border-box;width:100%;max-width:none;padding-left:var(--public-gutter);padding-right:var(--public-gutter)}
body[data-public-layout="journal"] :is(.article-header,.reading-layout){box-sizing:border-box;width:var(--public-content);max-width:none;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
body[data-public-layout="journal"] .journal-invitation{box-sizing:border-box;width:var(--public-content);max-width:none;margin-left:auto;margin-right:auto}
body[data-public-layout="legacy-sectioned"] .public-frame main .wrap{box-sizing:border-box;width:var(--public-content);max-width:none;margin-left:auto;margin-right:auto}
body[data-public-layout="legacy-sectioned"] .public-frame main>.hero:not(:has(.wrap)),
body[data-public-layout="legacy-sectioned"] .public-frame main>.life-path{padding-left:var(--public-gutter);padding-right:var(--public-gutter)}
body[data-public-layout="compact"] .public-frame>main{box-sizing:border-box;width:var(--public-content);max-width:none;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
body[data-public-layout="compact"] .public-frame>main>.life-path{padding-left:0;padding-right:0}
body[data-public-layout="standalone"]>main{box-sizing:border-box;width:calc(100% - 245px);max-width:none;margin-left:245px;margin-right:0;padding-left:0;padding-right:0}
body[data-public-layout="standalone"]>main>:not(.unified-footer){box-sizing:border-box;width:var(--public-content);max-width:none;margin-left:auto;margin-right:auto}
body[data-public-layout="standalone"]>main>.unified-footer{padding-left:var(--public-gutter);padding-right:var(--public-gutter)}
body[data-public-layout="standalone"]>main>.life-path{padding-left:0;padding-right:0}
body.public-site-shell[data-public-layout] .public-frame>.unified-footer{padding-left:var(--public-gutter);padding-right:var(--public-gutter)}

/* Consistent outer edges, with a more comfortable reading inset on desktop. */
body.public-site-shell[data-public-layout] #gesundheitshinweis.health-notice{box-sizing:border-box;width:var(--public-content);max-width:none;margin:28px auto;padding:34px clamp(40px,6vw,80px)!important}
body.public-site-shell[data-public-layout] #gesundheitshinweis.health-notice>p{max-width:none}
body.public-site-shell[data-public-layout="standalone"]>#gesundheitshinweis.health-notice{width:min(1150px,calc((100% - 245px) * .85));margin-left:calc(245px + (100% - 245px - min(1150px,calc((100% - 245px) * .85))) / 2);margin-right:auto}
body[data-public-layout="standalone"]>.unified-footer{box-sizing:border-box;width:calc(100% - 245px);margin-left:245px;padding-left:max(calc((100% - 245px) * .075),calc((100% - 245px - 1150px) / 2));padding-right:max(calc((100% - 245px) * .075),calc((100% - 245px - 1150px) / 2))}

@media(min-width:951px){
 /* Center the headline vertically within the scene and horizontally beside the navigation. */
 body.home-topic-journey #start.home-astral-scroll-ready .home-astral-headline{left:var(--public-gutter);right:var(--public-gutter);top:50%;bottom:auto;transform:translateY(-50%);text-align:center}
 body.home-topic-journey #start .home-astral-headline h1{margin-left:auto;margin-right:auto}
 body.home-topic-journey #start .life-hero-course{max-width:none;margin-left:auto;margin-right:auto;text-align:center}
 body.home-topic-journey #start .life-hero-copy>h1{margin-left:auto;margin-right:auto;text-align:center}
 body.home-topic-journey #start.home-astral-scroll-ready>.life-hero-copy{margin-top:var(--figure-clearance,0px);width:100%;max-width:none;box-sizing:border-box;padding-left:var(--public-gutter);padding-right:var(--public-gutter);background:linear-gradient(180deg,#071b36 0%,#0b273f 60%,#071b36 100%)}
 /* Blend only the gap below the feet, never the original full-size figure. */
 body.home-topic-journey #start.home-astral-scroll-ready>.life-hero-copy::before{content:"";position:absolute;inset:-24px 0 auto;height:24px;background:linear-gradient(180deg,transparent,#071b36);pointer-events:none}
 body.home-topic-journey #start .life-home-recognition{max-width:68ch;margin-left:auto;margin-right:auto;text-align:left}
 body.public-site-shell #appointments .appointment-integrated-hero .appointment-title-with-contact{max-width:62%}
}
@media(max-width:950px){
 body.public-site-shell[data-public-layout]{--public-gutter:25px}
 body[data-public-layout="standalone"]>main{width:100%;margin-left:0}
 body.public-site-shell[data-public-layout="standalone"]>#gesundheitshinweis.health-notice{width:calc(100% - 50px);margin-left:auto;margin-right:auto}
 body[data-public-layout="standalone"]>.unified-footer{width:100%;margin-left:0;padding-left:25px;padding-right:25px}
 body.public-site-shell[data-public-layout] #gesundheitshinweis.health-notice{padding:28px 32px!important}
}
@media(max-width:760px){
 body.public-site-shell[data-public-layout] #gesundheitshinweis.health-notice{margin-top:24px;margin-bottom:24px;padding:24px!important}
 body[data-public-layout="journal"] .journal-invitation{padding:28px}
}

/* Appointments begin with the same edge-to-edge image canvas as the other pages. */
body.public-site-shell[data-page="appointments"] main.main{padding-top:0!important}
body.public-site-shell[data-page="appointments"] main.main>#appointments{width:100%;margin:0;padding:0}
body.public-site-shell #appointments .appointment-full-hero{position:relative;display:block;isolation:isolate;overflow:hidden;min-height:0;padding:0;margin:0;border:0;border-radius:0;background:#0a2039;box-shadow:none}
body.public-site-shell #appointments .appointment-full-hero .appointment-welcome-image{position:relative;inset:auto;z-index:0;width:100%;height:auto;margin:0;aspect-ratio:auto;border-radius:0}
body.public-site-shell #appointments .appointment-full-hero .appointment-welcome-image img{display:block;width:100%;height:auto;max-height:none;max-width:none;object-fit:contain;object-position:center;border-radius:0}
body.public-site-shell #appointments .appointment-full-hero::after{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#071b3680,transparent 65%),linear-gradient(0deg,#0a2039,transparent 42%);pointer-events:none}
body.public-site-shell #appointments .appointment-hero-copy{position:absolute;z-index:2;left:var(--public-gutter);bottom:48px;width:48%;max-width:590px;padding:0}
body.public-site-shell #appointments .appointment-hero-copy h1{margin:0;padding:0;color:#f1f8fc;-webkit-text-fill-color:currentColor;font:600 clamp(34px,4vw,58px)/1.12 Arial,Helvetica,sans-serif;letter-spacing:-.035em;text-wrap:balance;text-shadow:0 2px 16px #04142580}
body.public-site-shell #appointments>#publicSchedule{box-sizing:border-box;width:var(--public-content);max-width:none;margin-left:auto;margin-right:auto}
body.public-site-shell #appointments .appointment-questions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:22px 0 0}
body.public-site-shell #appointments .appointment-questions p{margin:0;color:#edf6fb;font:500 16px/1.5 Arial,Helvetica,sans-serif}
body.public-site-shell #appointments .appointment-questions .whatsapp-contact{margin:0;position:relative;white-space:normal}
@media(max-width:760px){
 /* Keep the complete photograph at its natural width; continue its blue fade behind the copy. */
 body.public-site-shell #appointments .appointment-full-hero .appointment-welcome-image img{height:auto;object-fit:contain;mask-image:linear-gradient(#000 58%,#000d 74%,transparent 100%);-webkit-mask-image:linear-gradient(#000 58%,#000d 74%,transparent 100%)}
 body.public-site-shell #appointments .appointment-full-hero::after{display:none}
 body.public-site-shell #appointments .appointment-hero-copy{position:relative;left:auto;bottom:auto;width:var(--public-content);max-width:none;margin:-14px auto 0;padding:0 0 30px}
 body.public-site-shell #appointments .appointment-hero-copy h1{font-size:clamp(29px,7.3vw,40px);line-height:1.13}
 body.public-site-shell #appointments .appointment-questions{padding-top:18px;gap:10px 16px}
}
