/* Language choice lives in compact navigation; desktop starts in the device language. */
.variant-b .header .language,.variant-b .header.b-header-floating .language{display:none}
.b-menu-language{display:none}
@media(max-width:900px){
 .b-menu-language{display:block;margin:0 30px 30px;padding-top:23px;border-top:1px solid #b7b7aa}
 .b-menu-language-title{display:block;margin:0 0 12px;font-size:12px;line-height:1.4;font-weight:600;color:#4b4b42}
 .b-menu-language-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;border:1px solid #c8c8ba;border-radius:20px;background:#e9e9df}
 .b-menu-language-options>a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:46px;padding:10px 6px;border-radius:14px;border:0;font-family:var(--sans);font-size:14px;line-height:1.3;font-weight:550;letter-spacing:0;text-align:center;text-decoration:none;color:#45453b;background:transparent;transition:background .22s ease,color .22s ease}
 .b-menu-language-options>a[aria-pressed=true]{color:#fff;background:#20201b;box-shadow:0 2px 6px #20201b1a}
 .b-menu-language-options>a:focus-visible{outline:2px solid #20201b;outline-offset:2px}
 .menu-content>a>span:first-child{min-width:0}
}
@media(max-width:640px){
 .b-menu-language{margin:0 25px 25px;padding-top:20px}
 .variant-b .header .b-brand-role,.variant-b .header.b-header-floating .b-brand-role{display:block;max-width:76px;font-size:12px;line-height:1.15;white-space:normal}
 html[lang=de] :is(h1,h2,h3){overflow-wrap:break-word;hyphens:auto}
 html[lang=de] .b-tag,html[lang=de] .b-project-label{max-width:100%;white-space:normal}
 html[lang=de] .star-skills>span{max-width:100%;white-space:normal;overflow-wrap:break-word}
}
@media(max-width:340px){
 .variant-b .header .b-brand-role,.variant-b .header.b-header-floating .b-brand-role{max-width:68px;font-size:11.5px}
 .b-menu-language{margin-inline:20px}
 .b-menu-language-options>a{font-size:13px;padding-inline:3px}
}
@media(prefers-reduced-motion:reduce){.b-menu-language-options>a{transition:none}}
