/* Mobile reading order and navigation. Desktop composition stays unchanged. */
.hahn-menu-icon{display:block;flex:0 0 24px;width:24px;height:24px;color:#035f31}
.hahn-service-panel>div a:has(.hahn-menu-icon){gap:14px}
.hahn-mobile-submenu>a:has(.hahn-menu-icon){gap:14px}
.hahn-about-hero{background:#f8f1e8;padding:65px 0 70px}
.hahn-about-hero>.hahn-seo-shell{display:grid;grid-template-columns:1.15fr 1fr;gap:80px;align-items:end}
#hahn-main .hahn-about-hero h1{color:#035f31;font-size:clamp(40px,5.5vw,76px);font-weight:500;line-height:1.08;letter-spacing:-.045em;margin:0}
.hahn-about-hero .hahn-seo-eyebrow{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#586b5c;font-weight:600;margin:0 0 24px}
.hahn-about-hero p:not(.hahn-seo-eyebrow){font-size:18px;line-height:1.8;max-width:50ch;color:#405449;margin:0 0 20px}
.hahn-about-hero .hahn-seo-link{margin:0}
#hahn-main .hahn-about-work{background:#f8f1e8}
.hahn-about-contact-links{display:grid;justify-items:start;gap:2px;margin:22px 0}
.hahn-about-contact-links .hahn-seo-link{justify-content:flex-start!important;gap:14px!important;overflow-wrap:anywhere}
#hahn-main p.hahn-about-review-note{font-size:14px;color:#405449;margin-top:24px}
.hahn-about-review-note a{color:#035f31;text-underline-offset:4px}
@media(max-width:800px){.hahn-about-hero{padding:40px 0}.hahn-about-hero>.hahn-seo-shell{grid-template-columns:1fr;gap:28px}.hahn-about-hero p:not(.hahn-seo-eyebrow){font-size:16px}}
@media(max-width:1000px){
 .hahn-mobile:not([open])>nav{display:none}
 .hahn-header{--hahn-mobile-height:82px}
 .hahn-header-home{--hahn-mobile-height:106px}
 .hahn-mobile>nav{padding:12px 20px 24px;overscroll-behavior:contain;align-content:start;min-height:calc(100svh - var(--hahn-mobile-height));max-height:calc(100svh - var(--hahn-mobile-height))!important;box-sizing:border-box}
 html.hahn-menu-open{overflow:hidden}
 .hahn-mobile>summary{gap:0;width:48px;min-height:48px;justify-content:center}
 .hahn-menu-symbol{width:24px;height:18px;position:relative;border-block:2px solid currentColor}
 .hahn-menu-symbol:before{content:'';position:absolute;left:0;right:0;top:6px;border-top:2px solid currentColor}
 .hahn-mobile[open]>summary .hahn-menu-symbol{border:0}
 .hahn-mobile[open]>summary .hahn-menu-symbol:before,.hahn-mobile[open]>summary .hahn-menu-symbol:after{content:'';position:absolute;left:0;right:0;top:6px;border-top:2px solid currentColor;transform:rotate(45deg)}
 .hahn-mobile[open]>summary .hahn-menu-symbol:after{transform:rotate(-45deg)}
 .hahn-mobile-group{display:grid;grid-template-columns:minmax(0,1fr) 48px;border-bottom:1px solid #cfbeaa}
 .hahn-mobile-group>a,.hahn-mobile nav>a{display:flex;align-items:center;font-size:18px!important;line-height:1.4;min-height:58px;padding:12px 0;color:#035f31!important;font-weight:600;text-decoration:none}
 .hahn-mobile-group>.hahn-service-toggle{height:58px;width:48px}
 .hahn-mobile-submenu{grid-column:1/-1;display:grid;padding:0 0 12px 16px}
 .hahn-mobile-submenu[hidden]{display:none}
 .hahn-mobile-submenu>a{display:flex;align-items:center;min-height:46px;padding:8px 0;color:#035f31!important;font-size:15px;text-decoration:none;border-top:1px solid #e6d9c9;line-height:1.45}
 .hahn-mobile a[aria-current=page]{text-decoration:underline;text-underline-offset:5px}
 body:has(.hahn-mobile[open]) .hahn-call-float{visibility:hidden}
}
@media(max-width:420px){.hahn-header-home{--hahn-mobile-height:98px}}
@media(max-width:600px){
 /* Keep the requested large homepage mark, with one consistent reading margin. */
 #hahn-main .hahn-seo-shell,#gbh-page .gbh-shell,.hahn-header-inner{width:calc(100% - 40px)}
 #gbh-startseite .gbh-start-hero{min-height:0;padding:42px 0 36px}
 #gbh-startseite .gbh-start-hero h1{font-size:clamp(30px,8.4vw,40px);line-height:1.1;letter-spacing:-.04em;margin-bottom:20px}
 #gbh-startseite .gbh-start-hero .gbh-start-kicker{margin-bottom:20px}
 #gbh-startseite .gbh-start-lead{font-size:15px;line-height:1.65}
 #gbh-startseite .gbh-start-actions{gap:12px;margin-top:22px}
 #gbh-startseite .gbh-start-proof{margin-top:22px;padding-top:16px;font-size:11px;line-height:1.65}
 #gbh-startseite .gbh-hybrid-overview-head{gap:16px}
 #gbh-startseite .gbh-hybrid-overview-head h2{font-size:30px;line-height:1.15}
 #gbh-startseite .gbh-hybrid-overview-head>p{font-size:15px;line-height:1.7}
 #gbh-startseite .gbh-hybrid-service-links{grid-template-columns:1fr;gap:0}
 #gbh-startseite .gbh-hybrid-service-links a{grid-template-columns:24px minmax(0,1fr) 22px;min-height:56px;font-size:16px;padding:14px 0;gap:15px;overflow-wrap:normal}
 #gbh-startseite .gbh-hybrid-service-links a>span{hyphens:none}
 #gbh-startseite .gbh-hybrid-arrow{display:inline-flex}
 #gbh-startseite .gbh-hybrid-copy h2{font-size:30px;line-height:1.17}
 #gbh-startseite .gbh-hybrid-copy>p:not(.gbh-hybrid-eyebrow){font-size:16px;line-height:1.75}
 #gbh-startseite .gbh-hybrid-copy li a{font-size:15px;min-height:48px}
 /* On service pages, show the subject and its photo before the longer explanation. */
 #gbh-page .gbh-service-hero-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;padding-block:30px}
 #gbh-page .gbh-service-hero-stack>.gbh-hero-copy{display:contents}
 #gbh-page .gbh-service-hero-stack h1{order:0;font-size:clamp(29px,8.4vw,38px);line-height:1.14;margin:0!important}
 #gbh-page .gbh-service-hero-media{order:1;margin:0;aspect-ratio:16/10}
 #gbh-page .gbh-service-hero-stack .gbh-hero-copy>p{order:2;margin:0;font-size:16px;line-height:1.7}
 #gbh-page .gbh-service-hero-stack .gbh-hero-actions{order:3;display:grid;grid-template-columns:1fr;gap:4px;margin:0}
 #gbh-page .gbh-hero-actions .gbh-button{min-height:52px;padding:14px 18px;justify-content:space-between;font-size:14px}
 #gbh-page .gbh-hero-actions .gbh-button.secondary{background:transparent;border-color:transparent;min-height:48px;padding-inline:0;justify-content:flex-start;gap:12px}
 #gbh-page .gbh-hero-actions .gbh-button.secondary>span{text-decoration:underline;text-underline-offset:4px}
 #hahn-main .hahn-seo-section{padding-block:48px}
 #hahn-main .hahn-seo-section h2{font-size:29px;line-height:1.2;margin-bottom:22px}
 #hahn-main .hahn-seo-section h3{font-size:21px;line-height:1.35}
 #hahn-main .hahn-seo-section p{font-size:16px;line-height:1.75}
 #hahn-main .hahn-seo-split{gap:22px}
 #hahn-main .hahn-seo-work article{grid-template-columns:1fr;gap:0}
 #hahn-main .hahn-seo-work article>.hahn-seo-icon{margin:0 0 16px}
 #hahn-main .hahn-seo-work article>p{grid-column:auto}
 #hahn-main .hahn-seo-index>div{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;padding-block:12px}
 #hahn-main .hahn-seo-index a{font-size:13px;min-height:44px;gap:8px}
 #hahn-main .hahn-seo-index a:last-child{margin-left:0}
 #hahn-main .hahn-seo-eyebrow{font-size:11px}
 #hahn-main .hahn-career-hero h1{font-size:32px}
 #hahn-main .hahn-region-hub-title h1{font-size:36px;line-height:1.12}
 #hahn-main .hahn-region-directory>a{font-size:18px;padding-block:16px}
 #hahn-main .hahn-region-hero h1{font-size:34px}
 #gbh-startseite .hahn-home-people h2{font-size:38px}
 .hahn-home-person-story>p{font-size:16px;line-height:1.75}
 .hahn-home-person-links{display:grid;gap:4px}
 .hahn-home-person-links a{justify-content:space-between}
 .hahn-call-float{right:14px!important;bottom:calc(14px + env(safe-area-inset-bottom))!important;width:50px!important;height:50px!important;min-height:50px!important}
 #gbh-startseite .gbh-neu-backtop{bottom:calc(78px + env(safe-area-inset-bottom))!important;right:17px!important}
 .hahn-header:has(.hahn-mobile[open]){box-shadow:0 8px 25px #01442618}
}

/* All branded service and example photos retain their full 3:2 frame. */
#gbh-page .gbh-service-hero-media.hahn-branded-image,
#gbh-page .hahn-service-card .gbh-service-visual.hahn-branded-image,
#hahn-main .hahn-seo-project-images>figure.hahn-branded-image{aspect-ratio:3/2}
#gbh-page figure.hahn-branded-image>img{display:block;width:100%;height:auto;object-fit:contain;object-position:center}

/* Long legal headings remain readable on narrow phones. */
#gbh-page .hahn-legal h1{overflow-wrap:anywhere;hyphens:auto}

/* Phone refinements: clear entry points, comfortable touch targets and a shorter footer. */
@media(max-width:1000px){
 html.hahn-menu-open,html.hahn-menu-open body{overflow:hidden;overscroll-behavior:none}
 .hahn-mobile>nav{min-height:calc(100svh - var(--hahn-header-height,var(--hahn-mobile-height)));max-height:calc(100svh - var(--hahn-header-height,var(--hahn-mobile-height)))!important;padding-bottom:max(24px,env(safe-area-inset-bottom));touch-action:pan-y;scrollbar-gutter:stable}
 .hahn-mobile-submenu>a{min-height:48px}
 @supports(height:100dvh){.hahn-mobile>nav{min-height:calc(100dvh - var(--hahn-header-height,var(--hahn-mobile-height)));max-height:calc(100dvh - var(--hahn-header-height,var(--hahn-mobile-height)))!important}}
}
@media(max-width:600px){
 #gbh-startseite .gbh-start-hero{padding-block:32px}
 #gbh-startseite .gbh-start-hero-image{z-index:0;object-position:60% center}
 #gbh-startseite .gbh-start-hero::after{z-index:1}
 #gbh-startseite .gbh-start-hero-inner{z-index:2}
 #gbh-startseite .gbh-start-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:stretch}
 #gbh-startseite .gbh-start-actions>.gbh-start-button{width:100%;min-height:52px;padding:14px 18px}
 #gbh-startseite .gbh-start-actions>.gbh-start-textlink{min-height:44px;width:fit-content}
 #gbh-startseite .gbh-start-proof{margin-top:16px;padding-top:14px}
 #gbh-page .gbh-hero-grid.gbh-hero-solo{min-height:0}
 #gbh-page .gbh-hero-grid>.gbh-hero-copy{padding:30px 0 32px}
 #gbh-page .gbh-hero-grid h1{font-size:clamp(29px,8.2vw,35px);line-height:1.15;margin-bottom:20px}
 #gbh-page .gbh-hero-grid .gbh-hero-copy>p{font-size:16px;line-height:1.65}
 #gbh-page .gbh-hero-grid .gbh-kicker{font-size:11px;line-height:1.5;letter-spacing:.075em;margin-bottom:18px}
 #gbh-page .gbh-hero-grid .gbh-hero-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin-top:22px}
 #gbh-page .gbh-hero-grid .gbh-hero-actions .gbh-button{width:100%;min-height:50px;white-space:normal}
 #hahn-main .hahn-career-hero{padding-block:30px}
 #hahn-main .hahn-career-hero>.hahn-seo-shell{gap:24px}
 #hahn-main .hahn-career-hero h1{font-size:clamp(29px,8.1vw,34px);margin-bottom:20px}
 #hahn-main .hahn-career-hero p{font-size:16px;line-height:1.65;margin-bottom:20px}
 #hahn-main .hahn-career-hero .hahn-seo-eyebrow{font-size:11px;line-height:1.5;margin-bottom:18px}
 #hahn-main .hahn-career-hero .hahn-seo-button{width:100%;justify-content:space-between;min-height:50px}
 #hahn-main .hahn-seo-section{padding-block:40px}
 #gbh-page .hahn-editorial{padding-block:44px}
 #hahn-main .hahn-seo-breadcrumb ol{padding-block:0;gap:0 10px;min-height:44px;align-items:center}
 #hahn-main .hahn-seo-breadcrumb a,.hahn-team-crumb a,.hahn-region-crumb a{display:inline-flex;align-items:center;min-height:44px}
 #hahn-main .hahn-seo-index a{font-size:14px;min-height:48px}
 #gbh-startseite .hahn-review-source,#gbh-startseite .hahn-reviews-heading>a{display:inline-flex;align-items:center;min-height:44px;line-height:1.5}
 #gbh-startseite .hahn-footer,#gbh-page .hahn-footer{padding-top:44px;padding-bottom:94px}
 .hahn-footer .hahn-footer-grid{gap:28px;margin-bottom:32px}
 .hahn-footer nav ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
 #gbh-startseite .hahn-footer li>a,#gbh-page .hahn-footer li>a{display:flex;align-items:center;min-height:44px;font-size:14px;line-height:1.45;padding-block:8px;hyphens:auto;overflow-wrap:anywhere}
 #gbh-startseite .hahn-footer .hahn-footer-all,#gbh-page .hahn-footer .hahn-footer-all{min-height:44px;margin-top:8px}
 .hahn-footer .hahn-footer-contact-row>div>a{display:inline-flex;align-items:center;min-height:44px}
 .hahn-footer .hahn-footer-bottom nav{gap:0 18px}
 #gbh-startseite .hahn-footer .hahn-footer-bottom a,#gbh-page .hahn-footer .hahn-footer-bottom a{display:inline-flex;align-items:center;min-height:44px;font-size:13px}
 .hahn-footer .hahn-footer-strip{padding-top:24px;margin-bottom:20px;gap:10px 20px}
 .hahn-call-float{width:50px!important;height:50px!important;box-shadow:0 3px 14px #01442626}
 a,button,summary{touch-action:manipulation}
}

/* Shorter homepage entry on phones; full copy remains on larger screens. */
#gbh-startseite .gbh-start-button>.hahn-home-long,
#gbh-startseite .gbh-start-button>.hahn-home-short{font-size:inherit;flex-shrink:1}
#gbh-startseite .gbh-start-hero .hahn-home-short{display:none}
@media(max-width:600px){
 #gbh-startseite .gbh-start-hero .hahn-home-long,
 #gbh-startseite .gbh-start-actions>.gbh-start-textlink,
 #gbh-startseite .gbh-start-hero .gbh-start-proof{display:none}
 #gbh-startseite .gbh-start-hero .hahn-home-short{display:inline}
}

/* Keep the header in the viewport while the page is locked, also after scrolling. */
@media(max-width:1000px){
 html.hahn-menu-open body{position:fixed;top:var(--hahn-lock-top,0px);left:0;right:0;width:100%;padding-top:var(--hahn-header-height,99px);overflow:visible}
 html.hahn-menu-open .hahn-header{position:fixed;top:0;left:0;right:0;width:100%}
 .hahn-mobile[open]>nav{animation:none}
}

/* A compact, factual company introduction; scoped to the about page. */
.hahn-about-hero.hahn-about-neutral{padding:48px 0}
.hahn-about-hero.hahn-about-neutral>.hahn-seo-shell{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:64px;align-items:center}
#hahn-main .hahn-about-neutral h1{font-size:clamp(36px,4.5vw,60px);line-height:1.12;margin:0 0 24px}
.hahn-about-neutral .hahn-about-intro{min-width:0}
.hahn-about-neutral .hahn-about-intro>p:not(.hahn-seo-eyebrow){font-size:17px;line-height:1.8;margin:0 0 22px;max-width:48ch}
.hahn-about-hero.hahn-about-neutral .hahn-about-stock{width:100%;max-width:none;margin:0;aspect-ratio:4/3}
#hahn-main .hahn-about-neutral-contact h2{font-size:clamp(30px,3.5vw,46px);line-height:1.18}
@media(max-width:800px){
 .hahn-about-hero.hahn-about-neutral{padding:30px 0 32px}
 .hahn-about-hero.hahn-about-neutral>.hahn-seo-shell{grid-template-columns:minmax(0,1fr);gap:28px}
 #hahn-main .hahn-about-neutral h1{font-size:clamp(31px,7.8vw,42px);margin-bottom:20px}
 .hahn-about-neutral .hahn-about-intro>p:not(.hahn-seo-eyebrow){font-size:16px;line-height:1.7}
 .hahn-about-hero.hahn-about-neutral .hahn-about-stock{aspect-ratio:3/2}
}
