/* Site language control, isolated from page components. */
html body .site-header .header-inner{gap:20px}
html body .site-header:has(.rf-language-switch[open]){overflow:visible!important;max-height:none!important}
.rf-language-switch{position:relative;flex:0 0 auto;align-self:center;font:600 12px/1.2 Arial,sans-serif;color:#542830}
.rf-language-switch>summary{display:flex!important;align-items:center;gap:7px;padding:14px 10px!important;min-height:48px;list-style:none;border:1px solid #ddd4cc;border-radius:4px;background:#fff;cursor:pointer;white-space:nowrap;font:600 12px/1.2 Arial,sans-serif!important}
.rf-language-switch>summary::-webkit-details-marker{display:none}.rf-language-switch>summary::marker{content:''}
.rf-language-switch svg{width:17px!important;height:17px!important;fill:none;stroke:currentColor;stroke-width:1.4;flex:none}
.rf-language-switch .rf-language-chevron{width:10px!important;height:10px!important;transition:transform .2s}.rf-language-switch[open] .rf-language-chevron{transform:rotate(180deg)}
.rf-language-menu{position:absolute;right:0;top:calc(100% + 10px);min-width:172px;padding:8px;background:#fff;border:1px solid #e4ddd6;border-radius:7px;box-shadow:0 12px 36px #251d1924;z-index:50}
.rf-language-menu a{display:flex!important;align-items:center;gap:12px;padding:12px!important;min-height:44px;font:400 14px/1.3 Arial,sans-serif!important;color:#292622!important;border-radius:3px;white-space:nowrap;text-decoration:none!important}
.rf-language-menu a b{font:600 11px/1 Arial,sans-serif;color:#75565b;min-width:22px}.rf-language-menu a:hover,.rf-language-menu a[aria-current]{background:#f4efec;color:#542830!important}
html[lang]:not([lang=de]) body a.rf-cta,html[lang]:not([lang=de]) body button.rf-cta{white-space:normal!important;text-align:center;line-height:1.3!important;height:auto!important;min-height:48px!important;padding-block:12px!important}
@media(min-width:1351px){.site-header #navigation{margin-left:auto}.site-header #navigation>ul{gap:18px!important}.site-header .rf-language-switch{margin-left:0}}
@media(min-width:1351px) and (max-width:1550px){html body .site-header .header-inner{padding-inline:24px;gap:14px}.site-header #navigation>ul{gap:12px!important}.site-header #navigation>ul>li>a,.site-header #navigation>ul>li>details>summary{font-size:14px!important}.site-header #navigation .nav-cta .rf-cta{width:180px!important}}
@media(max-width:1350px){html body .site-header .header-inner{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.site-header .brand{margin-right:auto}.site-header .menu-toggle{order:2;margin:0!important}.site-header .rf-language-switch{order:3}.site-header #navigation{order:4;flex-basis:100%;width:100%!important}.site-header #navigation:not(.is-open){display:none!important}.rf-language-menu{top:100%;margin-top:6px}}
@media(max-width:480px){html body .site-header .header-inner{padding:16px 18px;gap:8px}.site-header .brand{font-size:1.65rem!important}.site-header .brand span{font-size:8px!important;letter-spacing:.15em!important}.site-header button.menu-toggle{padding:10px 12px!important;font-size:13px!important;min-height:42px}.rf-language-switch>summary{padding:10px 8px!important;min-height:42px;gap:5px}.rf-language-switch svg{width:15px!important;height:15px!important}.rf-language-switch .rf-language-chevron{display:none}}
@media(max-width:360px){.site-header .brand{font-size:1.4rem!important}.site-header .brand span{font-size:7px!important}.site-header button.menu-toggle{padding-inline:9px!important}}
@media(max-width:480px){html body .site-header .header-inner{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center}html body .site-header .header-inner>a.brand{grid-column:1;grid-row:1;min-width:0;margin:0;font-size:clamp(22px,7vw,27px)!important}html body .site-header .header-inner>a.brand span{font-size:7px!important;letter-spacing:.12em!important;white-space:nowrap}html body .site-header .menu-toggle{grid-column:2;grid-row:1}html body .site-header .rf-language-switch{grid-column:3;grid-row:1}html body .site-header #navigation{grid-column:1/-1;grid-row:2}}
@media(max-width:600px){html[lang]:not([lang=de]) main *{min-width:0}html[lang]:not([lang=de]) main h1,html[lang]:not([lang=de]) main h2,html[lang]:not([lang=de]) main h3,html[lang]:not([lang=de]) main p{overflow-wrap:anywhere!important;white-space:normal!important;hyphens:auto}html[lang]:not([lang=de]) .qg-gates,html[lang]:not([lang=de]) .qg-four{grid-template-columns:minmax(0,1fr)!important}}

.rf-language-switch .rf-language-flag{display:block!important;width:24px!important;height:16px!important;max-width:none!important;object-fit:cover;flex:none;border-radius:2px;box-shadow:0 0 0 1px #211b171a}
.rf-language-switch>summary{justify-content:center;min-width:62px;gap:9px!important}
.rf-language-menu{width:210px;max-height:min(65vh,480px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.rf-language-menu a{gap:14px!important}
.rf-language-menu a:focus-visible,.rf-language-switch>summary:focus-visible{outline:2px solid #542830;outline-offset:2px}
@media(max-width:480px){.rf-language-switch>summary{min-width:48px}.rf-language-menu{max-width:calc(100vw - 36px);max-height:65vh}.rf-language-switch .rf-language-flag{width:24px!important;height:16px!important}}

@media(max-width:600px){html[lang]:not([lang=de]) .ffe-hero-single-line{white-space:normal!important;max-width:100%;overflow-wrap:anywhere}}
