/* Shared responsive rules for the German and English site. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-width:0}
header,main,footer,section,article,nav,figure{min-width:0}
.thesis-grid>*,.section-heading>*,.contact-grid>*,.toolbox>*,.work-visual>*,.footer-top>*,.leaders>*,.imprint-grid>*{min-width:0}
h1,h2,h3,h4,.body-copy,.small-title,.tags{overflow-wrap:break-word;hyphens:auto}
.brand,.footer-top .brand{height:auto;overflow:visible}
.brand img{width:100%;max-width:100%;height:auto}
/* Show only the ADA wordmark in Civil; preserve the full logo in Defense. */
.civil .brand img{aspect-ratio:262/64;object-fit:cover;object-position:center top}
.languages a{min-width:44px;min-height:44px;font-size:.875rem}
.button,.hero-link,.text-link,.contact .email{min-height:48px}
.footer-top{grid-template-columns:minmax(0,1fr) auto}
.footer-top nav,.footer-bottom nav{flex-wrap:wrap}
.footer-top nav a,.footer-bottom nav a{display:inline-flex;align-items:center;min-height:44px}
.footer-bottom{flex-wrap:wrap}
.editorial-photo figcaption,.photo-credit{overflow-wrap:anywhere}
.site-motion-toggle{min-width:44px;min-height:44px;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}
.section,.hero,.photo-band,footer{padding-left:max(var(--space),env(safe-area-inset-left));padding-right:max(var(--space),env(safe-area-inset-right))}
footer{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
#mobile-menu[hidden]{display:none}

/* Tablets keep the area switch and language choice visible alongside a full menu. */
@media(max-width:1100px){
 header{height:auto;min-height:104px;display:grid;grid-template-columns:minmax(110px,1fr) auto auto 44px;gap:16px;padding-block:20px}
 header>.brand{grid-column:1;grid-row:1;width:132px;max-width:100%}
 header>.worlds{grid-column:2;grid-row:1;width:auto;margin:0}
 header>.languages{grid-column:3;grid-row:1}
 .navigation{display:none}
 .menu-toggle{grid-column:4;grid-row:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:44px;height:44px;padding:10px;background:transparent;border:1px solid var(--line);border-radius:50%;cursor:pointer}
 .menu-toggle span{display:block;height:1px;width:22px;background:var(--text);transition:transform .12s}
 .menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3.5px) rotate(45deg)}
 .menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}
 #mobile-menu{max-height:calc(100svh - 110px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 20px 28px #00000018;padding-block:12px}
 #mobile-menu a{min-height:52px;display:flex;align-items:center;padding-block:14px;font-size:1rem;border-bottom:1px solid var(--line)}
 #mobile-menu a:last-child{border-bottom:0}
 .hero{min-height:clamp(520px,calc(100svh - 104px),720px)}
 .hero-content{padding-top:72px;padding-bottom:42px}
 .hero h1{font-size:clamp(2.5rem,6.2vw,4.75rem)}
 .hero h1>span{max-width:100%}
 .hero-bottom{align-items:flex-start;flex-wrap:wrap;gap:20px}
 .hero-bottom>p{max-width:38rem}
 .hero-link{flex-shrink:0}
 .section{padding-block:64px 76px}
 .section-label{margin-bottom:40px}
 .thesis-grid{grid-template-columns:minmax(0,.75fr) minmax(0,1.5fr);gap:32px}
 .process{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:40px}
 .process article,.process article+article{padding:26px 24px 30px 0;border-left:0}
 .process article:nth-child(even){padding-left:24px;border-left:1px solid var(--line)}
 .process article:nth-child(n+3){border-top:1px solid var(--line)}
 .process h3{font-size:1.5rem;margin-top:24px}
 .toolbox{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:32px;margin-top:64px}
 summary{grid-template-columns:30px minmax(0,1fr) 24px;gap:16px}
 summary h3{font-size:clamp(1.4rem,2.8vw,1.9rem)}
 .service-short{display:none}
 .service-body{padding-left:46px;padding-right:0;grid-template-columns:minmax(0,1fr)}
 .work-visual{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
 .contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
 .civil .contact h2,.defence .contact h2{font-size:clamp(2.1rem,4.4vw,3.4rem)}
 .footer-top{grid-template-columns:minmax(0,1fr) auto;gap:24px}
 .footer-top nav{grid-column:2;justify-content:flex-end;gap:12px 32px}
 .footer-bottom{gap:12px 24px;align-items:center}
}

@media(max-width:700px){
 :root{--space:clamp(18px,5vw,28px);scroll-padding-top:24px}
 header{grid-template-columns:minmax(0,1fr) auto 44px;grid-template-rows:auto auto;gap:14px 10px;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:16px;padding-left:max(var(--space),env(safe-area-inset-left));padding-right:max(var(--space),env(safe-area-inset-right))}
 header>.brand{width:112px;grid-column:1;grid-row:1}
 header>.languages{grid-column:2;grid-row:1}
 .languages{padding:2px}
 .languages a{padding:8px;min-width:44px;min-height:44px}
 .menu-toggle{grid-column:3;grid-row:1}
 header>.worlds{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;height:auto;padding:4px;gap:4px}
 .worlds a{min-width:0;min-height:48px;padding:10px 12px;font-size:1rem}
 #mobile-menu{max-height:calc(100svh - 152px)}
 .hero{min-height:0;padding-top:20px}
 .hero-content{padding-top:clamp(40px,7svh,68px);padding-bottom:32px}
 .hero h1{font-size:clamp(1.875rem,8.4vw,3.5rem);line-height:1.13;letter-spacing:-.035em}
 .hero h1>span{display:block}
 .hero h1 br{display:none}
 .hero-bottom{display:flex;flex-direction:column;gap:18px;margin-top:24px}
 .hero-bottom>p{max-width:none;font-size:1rem;line-height:1.7}
 .hero-link{margin-top:0;font-size:1rem;padding-block:14px}
 .hero-foot{padding-block:18px;font-size:.8125rem;line-height:1.6}
 .hero-foot>span:first-child{max-width:none}
 .section{padding-block:48px 56px}
 .section-label{margin-bottom:28px;gap:12px}
 h2{font-size:clamp(1.875rem,7.2vw,2.5rem);line-height:1.17;letter-spacing:-.025em}
 .thesis-grid,.toolbox,.work-visual,.contact-grid,.leaders,.imprint-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 .small-title{font-size:1rem;line-height:1.6}
 .body-copy{font-size:1rem;line-height:1.75;margin-top:24px}
 .section-heading{display:block;margin-bottom:28px}
 .section-heading>p{margin-top:20px}
 summary{padding-block:24px;grid-template-columns:24px minmax(0,1fr) 20px;gap:10px}
 summary h3{font-size:clamp(1.25rem,5.5vw,1.625rem);line-height:1.3;letter-spacing:-.015em}
 .service-body{padding:0 0 24px 34px;gap:14px}
 .service-body p{font-size:1rem}
 .tags{font-size:.875rem}
 .toolbox{margin-top:44px;padding-top:28px}
 .tool-list article{gap:14px;align-items:flex-start}
 .tool-list article>div{min-width:0}
 .tool-list article>span:first-child{padding-top:4px}
 .tool-list p{font-size:.9375rem;line-height:1.65}
 .work-visual h2{font-size:clamp(1.875rem,7.2vw,2.5rem)}
 .photo-band{padding-bottom:36px}
 .editorial-photo img{aspect-ratio:1.5}
 .photo-band [data-photo="defence-main"] img{aspect-ratio:1.5}
 .editorial-photo figcaption{font-size:.8125rem;line-height:1.6}
 .photo-credit,.photo-notice{font-size:.75rem;line-height:1.7}
 .civil .contact h2,.defence .contact h2{font-size:clamp(2rem,8vw,2.8rem);line-height:1.15}
 .contact-grid p{font-size:1rem}
 .contact .button{display:flex;width:100%;justify-content:center;padding:16px 20px;font-size:1rem}
 .contact .email{display:flex;align-items:center;overflow-wrap:anywhere;font-size:1rem;margin-top:12px}
 .about-hero h1{font-size:clamp(2rem,7.8vw,3rem);line-height:1.15;margin-top:28px}
 .leaders h2{font-size:clamp(1.875rem,7.5vw,2.5rem);line-height:1.2}
 .legal{padding-top:40px;padding-bottom:56px;margin-block:0}
 .legal h1{font-size:clamp(2rem,9vw,3rem);margin-block:24px}
 .legal h2{font-size:1.375rem;line-height:1.4;margin-top:32px}
 .imprint .imprint-grid h2{font-size:1.25rem}
 .imprint-grid{gap:24px}
 .footer-top{grid-template-columns:minmax(0,1fr);gap:24px;padding-bottom:28px}
 .footer-top .brand{width:124px;height:auto}
 .footer-top p{font-size:1rem;line-height:1.6}
 .footer-top nav{grid-column:1;justify-content:flex-start;gap:8px 28px}
 .footer-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding-top:22px}
 .footer-bottom>span:first-child{font-size:.8125rem}
 .footer-bottom nav{gap:8px 24px;font-size:.875rem}
 .site-motion-toggle{width:44px;height:44px;padding:12px;justify-content:center;border-radius:50%;backdrop-filter:none}
 .site-motion-toggle .motion-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}

@media(max-width:420px){
 .process{grid-template-columns:minmax(0,1fr)}
 .process article,.process article+article,.process article:nth-child(even){padding:24px 0;border-left:0;border-top:1px solid var(--line)}
 .process article:first-child{border-top:0}
 .process h3{font-size:1.375rem;margin:16px 0 10px}
 .process p{font-size:1rem}
}

/* Short landscape screens should not inherit a tall introductory panel. */
@media(max-height:520px) and (orientation:landscape){
 .hero{min-height:0}
 .hero-content{padding-top:28px;padding-bottom:28px}
 .hero-overline{min-height:24px}
 .hero h1{font-size:clamp(2rem,5vw,3.5rem)}
}

@media(pointer:coarse){
 .button:hover{transform:none}
 .button,.hero-link,.text-link{will-change:auto}
}

@media(min-width:1101px){#mobile-menu{display:none}}
