.sprog ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.sprog a { position: relative; display: inline-grid; place-items: center; min-width: 36px; min-height: 36px; padding: 4px 7px; border-radius: 999px;
  text-decoration: none; color: inherit; font: 500 .74rem/1 var(--mono); letter-spacing: .08em; opacity: .74; }
.sprog a:hover { opacity: 1; background: rgba(127, 120, 110, .16); }
.sprog a[aria-current] { opacity: 1; font-weight: 650; }
.sprog a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 16px; margin-left: -8px; height: var(--streg); border-radius: 2px; background: #f4b98a; }
.sprog-ftr { margin-left: auto; }
.sprog-ftr a { color: var(--ink); min-width: 40px; min-height: 40px; }
.sprog-ftr a[aria-current]::after { background: var(--red); }

.sprog-ftr ul { gap: 6px; }
.sprog-ftr a { opacity: 1; min-width: 44px; padding: 4px 9px 9px; }
.sprog-ftr a[aria-current]::after { bottom: 3px; width: 24px; margin-left: -12px; }

html:lang(de) body, html:lang(sv) body { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
html:lang(de) :is(.btn, .mono, .hdr-nav, .sprog, .flagvalg, .crumbs, .nw, .menu-links), html:lang(sv) :is(.btn, .mono, .hdr-nav, .sprog, .flagvalg, .crumbs, .nw, .menu-links) { -webkit-hyphens: manual; hyphens: manual; }

.flagvalg { position: relative; flex: none; }
.flag-knap { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 9px; border-radius: 999px; cursor: pointer; color: inherit; }
.flag-knap::-webkit-details-marker { display: none; }
.flag-knap::marker { content: ""; }
.flag-knap:hover, .flagvalg[open] .flag-knap { background: rgba(127, 120, 110, .2); }
.flag-knap:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.flag { display: inline-block; flex: none; line-height: 0; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(23, 21, 19, .3); }
.flag svg { display: block; }
.hdr .flag-knap .flag { box-shadow: 0 0 0 1px rgba(242, 237, 229, .5); }
.hdr[data-theme="light"].scrolled .flag-knap .flag { box-shadow: 0 0 0 1px rgba(23, 21, 19, .3); }
.flag-pil { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.flagvalg[open] .flag-pil { transform: translateY(1px) rotate(-135deg); }
.flag-liste { position: absolute; z-index: 60; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; min-width: 184px; box-sizing: border-box;
  background: var(--white); color: var(--ink); border-radius: 12px; box-shadow: 0 18px 40px -14px rgba(23, 21, 19, .5), 0 0 0 1px rgba(23, 21, 19, .1); }
.flag-liste a { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 8px;
  color: inherit; text-decoration: none; font-weight: 550; }
.flag-liste a:hover { background: rgba(127, 120, 110, .14); }
.flag-liste a:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.flag-liste a[aria-current] { font-weight: 700; }
.flag-liste a[aria-current]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

@media (max-width: 479px) {
  .hdr-in { gap: 6px; }
  .brand img { width: 104px; }
  .hdr-cta { padding: 10px 11px; font-size: .84rem; white-space: nowrap; }
  .flag-knap { gap: 4px; padding: 0 5px; }
}
@media (max-width: 379px) {
  .brand img { width: 88px; }
  .hdr-cta { padding: 9px 10px; font-size: .78rem; }
  .flag-knap { gap: 3px; padding: 0 4px; }
  .flag-pil { width: 5px; height: 5px; }
}

.flag svg { width: 1.5rem; height: 1rem; }
.flag-liste a { grid-template-columns: 1.5rem minmax(0, 1fr) auto; }
.sprog-ftr a[aria-current]::after { width: 1.5rem; margin-left: -.75rem; }
