/* Shared extensions for the completed static site. Accepted German homepage layout is preserved. */
.language-popover a{display:flex;align-items:center;gap:8px;min-height:40px;padding:6px 8px;border-radius:4px;font-size:12px;white-space:nowrap}.language-popover a:hover{background:var(--soft)}
.language-popover{width:170px}.language-popover .flag{width:20px;height:20px}.language-popover .language-check{width:14px;height:14px}
.site-footer{margin-top:44px;padding:38px 39px 86px;border-top:1px solid #dfe3e6;background:#f6f7f7;font-size:13px;line-height:1.7}.footer-top{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:38px}.footer-top strong{font-size:20px}.footer-top p{margin-top:10px;color:#535b61}.footer-top nav{display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:0 15px}.footer-top a{display:flex;align-items:center;min-height:40px;overflow-wrap:anywhere}.footer-top>div:last-child{display:flex;flex-direction:column;gap:3px}.footer-top span{font-size:11px;color:#535b61;margin-top:12px}.footer-bottom{display:flex;gap:23px;flex-wrap:wrap;border-top:1px solid #dfe3e6;padding-top:18px;margin-top:28px;align-items:center}.footer-bottom>a{min-height:40px;display:flex;align-items:center}.footer-bottom>span{margin-right:auto}.site-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.editorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px}.editorial-width{max-width:850px!important;margin-inline:auto}.editorial-section{padding:40px 0}.editorial-section+.editorial-section{border-top:1px solid #e1e5e7}.editorial-grid>.editorial-section{border:0}.editorial-section h2{font-size:clamp(25px,2.5vw,32px);font-weight:650;margin-bottom:21px}.editorial-section h3{font-size:20px;margin:28px 0 12px}.editorial-section p{margin-top:16px;line-height:1.8;font-size:15px}.editorial-section ul{padding-left:23px;margin-top:18px;color:var(--text);font-size:15px;line-height:1.8}.editorial-section li+li{margin-top:10px}.editorial-section a:not(.button){text-decoration:underline;text-underline-offset:4px}.text-arrow{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-weight:600;font-size:14px;margin-top:17px}.text-arrow .icon{width:18px;height:18px}.role-gender{font-size:.45em;white-space:nowrap;letter-spacing:0}.field-grid{padding-block:42px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.field-card{padding:28px 24px;border:1px solid #dfe3e6;border-radius:10px;position:relative;background:#fff}.field-card:hover{border-color:#c5941b;background:#fffcf4;text-decoration:none!important}.field-card>.icon:first-child{width:38px;height:38px;margin-bottom:28px}.field-card h2{font-size:25px;line-height:1.2;font-weight:650}.field-card p:last-of-type{font-size:13px;color:#535b61;margin-top:20px}.field-card>.icon:last-child{margin-top:20px;width:20px;height:20px}.field-card .eyebrow{font-size:10px}.legal-preview-note{margin-top:30px;padding:18px 21px;background:#fff6dc;border-left:3px solid var(--amber);font-size:14px;line-height:1.7}.contact-interest{font-size:13px;padding:12px;background:#f4f6f7;margin-bottom:13px;line-height:1.5}.editorial-section .contact-methods{margin-top:20px}.editorial-section .contact-methods a{text-decoration:none}
.candidate-footer{padding-bottom:20px}.candidate-main>.candidate-contact{margin-top:18px}.candidate-main>.candidate-intro .candidate-lead{max-width:700px}.candidate-intro:has(.candidate-intro-grid) .candidate-lead{max-width:530px}
/* Translations use flow layout so longer copy cannot collide with fixed reference coordinates. */
html:not([lang=de]) .brand-line{font-size:calc(10.5 * var(--u))}html:not([lang=de]) .main-nav{gap:calc(15 * var(--u));font-size:calc(12.5 * var(--u));left:calc(362 * var(--u))}
@media(min-width:1001px){html:not([lang=de]) .hero{min-height:calc(380 * var(--u));height:auto}html:not([lang=de]) .hero-copy{position:relative;inset:auto;padding:calc(30 * var(--u)) calc(39 * var(--u));width:59%;min-height:calc(380 * var(--u))}html:not([lang=de]) .hero h1{position:static;font-size:calc(35 * var(--u));max-width:calc(560 * var(--u))}html:not([lang=de]) .hero-copy>p{position:static;margin-top:calc(22 * var(--u));font-size:calc(15.5 * var(--u));line-height:1.55;max-width:calc(480 * var(--u))}html:not([lang=de]) .desktop-break{display:none}html:not([lang=de]) .hero-actions{position:static;flex-wrap:wrap;margin-top:calc(23 * var(--u));gap:10px}html:not([lang=de]) .hero-actions>.button{width:auto;min-height:47px;font-size:calc(15 * var(--u));gap:12px}html:not([lang=de]) .hero-cover{background:linear-gradient(90deg,#090b0d 0%,#090b0df2 35%,#090b0dbb 50%,#090b0d00 66%)}
html:not([lang=de]) .jobs{height:auto;padding-bottom:24px}html:not([lang=de]) .jobs-heading{height:auto;min-height:70px;align-items:center;gap:16px}html:not([lang=de]) .jobs-heading p{font-size:14px;line-height:1.5;white-space:normal}html:not([lang=de]) .jobs-heading h2{font-size:27px}html:not([lang=de]) .job-card h3{font-size:calc(18 * var(--cu));max-width:60%}html:not([lang=de]) .process{height:auto;padding-bottom:30px}html:not([lang=de]) .process h2{font-size:28px}html:not([lang=de]) .steps{position:relative;top:auto;margin-top:18px}html:not([lang=de]) .steps h3{font-size:15px;line-height:1.4}html:not([lang=de]) .steps p{font-size:14px;line-height:1.5}html:not([lang=de]) .steps p br{display:none}html:not([lang=de]) .step-connectors{display:none}html:not([lang=de]) .benefits{height:auto;min-height:170px;align-items:center;padding-block:23px}html:not([lang=de]) .benefits h2{font-size:27px}html:not([lang=de]) .benefit h3{font-size:12px;line-height:1.4}html:not([lang=de]) .benefit p{font-size:13px;line-height:1.5}html:not([lang=de]) .benefit p br{display:none}html:not([lang=de]) .about{height:auto;display:grid;grid-template-columns:32% 1fr 22%;gap:22px;padding:24px 20px 0;align-items:start}html:not([lang=de]) .portrait,html:not([lang=de]) .about-copy,html:not([lang=de]) .contact-panel{position:relative;inset:auto;width:auto;height:auto}html:not([lang=de]) .portrait{aspect-ratio:382/201}html:not([lang=de]) .about h2{font-size:25px}html:not([lang=de]) .about-copy p{font-size:13px;line-height:1.6}html:not([lang=de]) .about-copy>.button{width:auto;font-size:14px;gap:16px;margin-top:12px}html:not([lang=de]) .contact-panel{padding:12px}.main-nav>.nav-dropdown:last-of-type .nav-popover{left:auto;right:0}}
@media(max-width:1000px){.site-footer{padding-inline:22px}.footer-top{grid-template-columns:1fr 1fr;gap:25px}.footer-top>div:last-child{grid-column:1/-1}.editorial-grid{gap:35px}.field-grid{gap:15px}.field-card{padding:23px 18px}.field-card h2{font-size:22px}html:not([lang=de]) .brand-line{font-size:10.5px}}
@media(max-width:640px){.footer-top,.field-grid,.editorial-grid{grid-template-columns:1fr}.footer-top>div:last-child{grid-column:auto}.field-grid{padding-block:28px}.field-card{padding:24px}.field-card>.icon:first-child{margin-bottom:20px}.editorial-grid{gap:0}.editorial-grid>.editorial-section+.editorial-section{border-top:1px solid #e1e5e7}.editorial-section{padding:30px 0}.editorial-section p,.editorial-section ul{font-size:14px}.site-footer{margin-top:30px}.footer-bottom{gap:6px 20px}.footer-bottom>span{width:100%}.language-popover{right:0}.candidate-intro h1{overflow-wrap:break-word}.candidate-contact h2{font-size:28px}.contact-options-heading{flex-wrap:wrap}}
@media(min-width:1001px){html:not([lang=de]) .hero-picture{bottom:auto;height:calc(357 * var(--u))}html:not([lang=de]) .hero-cover{background:linear-gradient(90deg,#090b0d 0%,#090b0d 44%,#090b0dbb 50%,#090b0d00 66%)}}
.main-nav a[aria-current=page]{text-decoration:underline;text-decoration-color:var(--ink);text-decoration-thickness:3px;text-underline-offset:8px}.nav-popover a[aria-current=page],.mobile-menu a[aria-current=page]{background:#fff7df;text-decoration:underline;text-decoration-color:var(--ink);text-decoration-thickness:2px;text-underline-offset:4px}
.main-nav>.nav-dropdown.active:after{background:var(--ink)}
html:not([lang=de]) .about-copy>.button{width:max-content;max-width:100%;height:auto;min-height:45px;white-space:normal;padding:11px 15px;font-size:14px;gap:12px}

/* Approved contact preview. Direct contact channels stay available alongside it. */
.contact-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:52px;align-items:start;padding-bottom:32px}
.contact-layout>.editorial-section{border-top:0;min-width:0}
.contact-layout #anfrage{scroll-margin-top:24px}
.contact-layout .contact-audience-title{font-size:20px;margin:28px 0 12px}.contact-layout .contact-audience-title:first-child{margin-top:0}
@media(max-width:1000px){.contact-layout{gap:28px}}
@media(max-width:720px){.contact-layout{grid-template-columns:1fr;gap:0}.contact-layout>.editorial-section+.editorial-section{border-top:1px solid #e1e5e7}}

/* Keep the mobile contact page above its persistent controls. The bottom row
   grows with translated labels instead of covering links in the scroll area. */
@media(max-width:480px){
  body:has(.contact-layout){display:grid;grid-template-columns:minmax(0,1fr) max-content;grid-template-rows:minmax(0,1fr) auto;height:100dvh;scroll-behavior:inherit}
  .site:has(.contact-layout){grid-area:1 / 1 / 2 / -1;min-width:0;min-height:0;overflow-y:auto;scroll-behavior:inherit}
  body:has(.contact-layout)>.sample-badge{position:static;grid-area:2 / 1;align-self:end;justify-self:start;min-width:0;max-width:calc(100% - 16px);margin:8px;margin-left:max(8px,env(safe-area-inset-left));margin-bottom:max(8px,env(safe-area-inset-bottom))}
  body:has(.contact-layout)>.contact-dock{position:static;grid-area:2 / 2;align-self:end;margin:12px 12px 12px 4px;margin-right:max(12px,env(safe-area-inset-right));margin-bottom:max(12px,env(safe-area-inset-bottom))}
}
