/* Repairs validated across portrait, landscape, tablet and desktop layouts. */
html{scroll-padding-top:96px;scroll-padding-bottom:32px}
h1,h2,h3,h4,p,dt,dd,li,label,button{overflow-wrap:anywhere}
html[lang^="de"] h1,html[lang^="de"] h2,html[lang^="de"] h3{hyphens:auto}
.case-page>.wrap,.health-case-page>.wrap{width:100%;box-sizing:border-box;padding-left:clamp(22px,4vw,70px);padding-right:clamp(22px,4vw,70px)}
.health-case-page>.wrap{--health-gutter:clamp(22px,4vw,70px)}
.health-case-page .health-role,.health-case-page .health-case-note,.health-case-page .sail-system,.health-case-page .reference-gallery{margin-inline:calc(-1*var(--health-gutter));padding-inline:var(--health-gutter);width:auto;max-width:none;box-sizing:border-box}
.case-scene>*,.health-case-hero>*,.chapter-panel>*,.project-card>*,.contact-actions>*{min-width:0}
.case-scene h1{width:100%;max-width:12em;overflow-wrap:anywhere}
.chapter-panel{overflow:visible}
.chapter-text{min-width:0}
.chapter-text h3{padding-inline:2px}
.world-person .person-identity,.world-cv .career-panel,.world-contact .contact-panel{overflow:visible}
.world-cover h1{font-size:var(--world-intro-font,clamp(30px,6vw,84px))}
.world-cover .world-name{font-size:var(--world-intro-name,32px)}
.career-compact{display:none}
.supporting-links .healthcare-case-link{min-height:0;height:auto}
.case-scene>figure.native-campaign-reference{flex:none;width:100%;height:auto;max-height:none;max-width:100%;align-self:stretch;overflow:visible;box-sizing:border-box}
.native-campaign-reference .contribution-route{min-width:0}
.native-campaign-reference .contribution-route>div{min-width:0;height:auto}
.native-campaign-reference .contribution-route strong,.native-campaign-reference .contribution-route small{display:block;overflow-wrap:anywhere}
.native-campaign-reference .contribution-route strong{line-height:1.35}
.sail-hero.case-scene{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.case-scene figure figcaption,.case-scene>.case-hero-art figcaption{background:#f4f1eb;color:#374c5d}
#about,#career,footer#contact,.pg-tour-target{scroll-margin-top:0}
.world-overview section[tabindex="-1"]:focus,footer[tabindex="-1"]:focus,.chapter-panel[tabindex="-1"]:focus{outline:none}
/* A header control keeps the closed guide clear of case text and links. */
.header nav .pg-header-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 10px;border:1px solid var(--line,#c5cbd0);border-radius:0;background:transparent;color:inherit;font:500 12px/1.3 'DM Sans',Arial,sans-serif;white-space:nowrap;cursor:pointer;flex:none}
.pg-header-trigger:focus-visible{outline:3px solid currentColor;outline-offset:3px}
body.world-menu-mode .pg-header-trigger{display:none}
body:not(.world-menu-mode) .portfolio-guide:not(.pg-open):not(.pg-tour-active) .pg-mini-stage{visibility:hidden;pointer-events:none}
@media(min-width:701px) and (max-width:1000px){
 .sail-hero.case-scene{display:flex;flex-direction:column;align-items:stretch}
 .sail-hero.case-scene>figure.native-campaign-reference{width:100%;align-self:stretch}
}
@media(max-width:700px){
 .case-scene>.case-hero-art,.case-scene>figure{width:100%;align-self:stretch;box-sizing:border-box}
 .case-scene>figure.native-campaign-reference{max-height:none;height:auto}
}
@media(max-width:600px){
 html{scroll-padding-top:110px}
 .header,body:has(.portfolio-world) .header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;column-gap:12px;row-gap:7px;padding:10px 16px}
 .header .wordmark,body:has(.portfolio-world) .header .wordmark{flex:1 1 100%;max-width:none;font-size:22px;white-space:nowrap}
 .header .wordmark span{display:none}
 .header nav,body:has(.portfolio-world) .header nav{display:flex;flex:1 1 100%;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;margin:0;min-width:0;font-size:12px}
 .header nav a{min-height:36px;display:inline-flex;align-items:center}
 .header nav .pg-header-trigger{font-size:11px;padding:5px 8px}
 body.world-menu-mode .header nav{flex:0 1 auto}
 body.world-menu-mode .header .wordmark{flex:0 0 auto}
 .world-controls{padding-inline:12px}
 .world-direct{gap:12px}
}
/* The horizontal phone composition uses two staggered rows, with real viewport height. */
@media(max-height:550px) and (min-width:600px) and (max-width:991px){
 body:has(.portfolio-world) .header{min-height:44px;padding:5px 16px}
 body:has(.portfolio-world) .wordmark{font-size:22px}
 body:has(.portfolio-world) .wordmark span{display:none}
 .portfolio-world{--world-button:64px;--world-gap:6px}
 .world-enhanced .world-dock{height:36px}
 .world-enhanced .world-controls{height:44px;min-height:44px;padding:0 14px}
 .world-enhanced .world-grid{inset:36px 0 44px}
 .world-enhanced .world-tile{padding:8px;gap:4px}
 .world-enhanced .world-tile:nth-child(1){left:var(--world-gap);right:auto;top:var(--world-gap);bottom:auto;width:calc(20% - var(--world-gap)*2);height:calc(50% + var(--world-button)/2 - var(--world-gap));transform-origin:100% 100%}
 .world-enhanced .world-tile:nth-child(2){left:20%;right:auto;top:var(--world-gap);bottom:auto;width:calc(30% + var(--world-button)/2);height:calc(50% - var(--world-button)/2 - var(--world-gap)*2);transform-origin:100% 100%}
 .world-enhanced .world-tile:nth-child(3){left:auto;right:20%;top:var(--world-gap);bottom:auto;width:calc(30% - var(--world-button)/2 - var(--world-gap));height:calc(50% + var(--world-button)/2 - var(--world-gap));transform-origin:0 100%}
 .world-enhanced .world-tile:nth-child(4){left:auto;right:var(--world-gap);top:var(--world-gap);bottom:auto;width:calc(20% - var(--world-gap)*2);height:calc(50% - var(--world-button)/2 - var(--world-gap)*2);transform-origin:0 100%}
 .world-enhanced .world-tile:nth-child(5){left:var(--world-gap);right:auto;top:auto;bottom:var(--world-gap);width:calc(20% - var(--world-gap)*2);height:calc(50% - var(--world-button)/2 - var(--world-gap)*2);transform-origin:100% 0}
 .world-enhanced .world-tile:nth-child(6){left:20%;right:auto;top:auto;bottom:var(--world-gap);width:calc(30% - var(--world-button)/2 - var(--world-gap));height:calc(50% + var(--world-button)/2 - var(--world-gap));transform-origin:100% 0}
 .world-enhanced .world-tile:nth-child(7){left:auto;right:20%;top:auto;bottom:var(--world-gap);width:calc(30% + var(--world-button)/2);height:calc(50% - var(--world-button)/2 - var(--world-gap)*2);transform-origin:0 0}
 .world-enhanced .world-tile:nth-child(8){left:auto;right:var(--world-gap);top:auto;bottom:var(--world-gap);width:calc(20% - var(--world-gap)*2);height:calc(50% + var(--world-button)/2 - var(--world-gap));transform-origin:0 0}
 .world-enhanced .world-cover{top:calc(50% - 4px)}
 .world-tile-label{font-size:9px;line-height:1.3;letter-spacing:0}
 .world-tile-label>span:last-child{font-size:15px}
 .world-tile-caption{display:none}
 .world-cover-content{gap:12px}
 .world-cover h1{font-size:var(--world-intro-font,clamp(27px,4vw,38px))}
 .world-role{font-size:8px;letter-spacing:.03em}
 .world-name{font-size:26px}
 .world-description{display:none}
 .world-dock-ready strong{font-size:10px}
 .world-dock-ready{font-size:9px}
 .world-person .person-identity-name{font-size:clamp(18px,2.9vw,24px)}
 .world-contact .contact-panel-title{font-size:clamp(22px,3.5vw,30px)}
 .career-mini-timeline{gap:3px}
 .career-mini-timeline strong{font-size:12px}
}
@media(max-height:360px) and (min-width:600px) and (max-width:991px){
 .world-enhanced .world-tile{padding:4px 6px;gap:2px}
 .world-tile-label{font-size:8px;line-height:1.25}
 .world-tile-label>span:last-child{font-size:12px}
 .world-cv .career-mini-timeline{display:none}
 .world-cv .career-compact{display:block;font:500 12px/1.25 'DM Sans',Arial,sans-serif}
}
@media(max-width:360px),(max-height:550px){
 body.world-menu-mode .header nav .pg-header-trigger{display:inline-flex}
 body.world-menu-mode .portfolio-guide:not(.pg-open):not(.pg-tour-active) .pg-mini-stage{visibility:hidden;pointer-events:none}
}
