/* Header language switcher (DE / EN / TR) — matches the header pill buttons. */
.lang-switch{position:relative;flex:none}
.lang-switch>summary{height:48px;padding:0 13px 0 14px;display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.42);border-radius:999px;background:rgba(7,27,51,.3);color:#fff;font-size:13px;font-weight:700;letter-spacing:.04em;list-style:none;cursor:pointer;user-select:none;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:transform .22s,background-color .22s,border-color .22s,box-shadow .22s}
.lang-switch>summary::-webkit-details-marker{display:none}
.lang-switch>summary::marker{content:""}
.lang-switch svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lang-switch .lang-chevron{width:14px;height:14px;stroke-width:2.2;opacity:.8;transition:transform .22s}
.lang-switch[open] .lang-chevron{transform:rotate(180deg)}
.lang-switch[open]>summary{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.7)}
@media(hover:hover){.lang-switch>summary:hover{transform:translateY(-2px);background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.7)}}
.lang-switch>summary:focus-visible{outline:3px solid #37c5f3;outline-offset:3px}
.lang-menu{position:absolute;right:0;top:calc(100% + 10px);z-index:60;min-width:178px;margin:0;padding:7px;list-style:none;border:1px solid rgba(93,174,244,.34);border-radius:15px;background:#102842;box-shadow:0 24px 55px rgba(2,12,25,.38);animation:gk-lang-in .18s ease-out}
.lang-menu a{display:flex;align-items:center;gap:12px;min-height:42px;padding:8px 12px;border-radius:10px;color:#dceafb;font-size:14px;font-weight:500;text-decoration:none;transition:background-color .18s,color .18s}
.lang-menu a b{width:24px;font-size:12px;font-weight:700;letter-spacing:.06em;color:#7fb6ea}
.lang-menu a:hover,.lang-menu a:focus-visible{background:rgba(8,127,232,.2);color:#fff;outline:none}
.lang-menu a[aria-current="true"]{background:var(--blue);color:#fff}
.lang-menu a[aria-current="true"] b{color:#fff}
@keyframes gk-lang-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media(max-width:900px){
  .gk-header .lang-switch{margin-left:auto}
  .gk-header .menu-btn{margin-left:4px}
  .lang-switch>summary{height:42px;padding:0 10px 0 11px}
  .menu-open .lang-switch{visibility:hidden}
  /* Let the logo give up only the room the switcher needs. */
  .gk-header{gap:12px}
  .gk-header .brand,.gk-header.is-scrolled .brand{flex-shrink:1;min-width:0}
}
@media(max-width:480px){
  .lang-switch>summary>svg:first-child{display:none}
  .lang-switch>summary{padding:0 9px 0 12px;gap:5px}
}
@media(prefers-reduced-motion:reduce){.lang-menu{animation:none}}

/* Notice on legal pages that stay German. */
.gk-legal-note{margin:0 0 28px;padding:14px 18px;border-left:3px solid var(--blue);border-radius:8px;background:#eef5fc;color:var(--navy);font-size:14px}
