

.nl-wahl { position: relative; display: inline-flex; }
.nl-knopf { margin: 0; padding: 6px 8px; border: 1px solid transparent; background: none; color: var(--text-leise);
  font: inherit; line-height: inherit; letter-spacing: inherit; opacity: .5; cursor: help;
  -webkit-tap-highlight-color: transparent; transition: opacity .15s; }
.nl-knopf:focus-visible { outline: 2px solid var(--glut); outline-offset: 3px; }
.nl-wahl.nl-offen .nl-knopf, .nl-knopf:focus-visible { opacity: .85; }
@media (hover: hover) { .nl-wahl:hover .nl-knopf { opacity: .85; } }

.nl-schild { display: none; position: absolute; top: 100%; right: -10px; z-index: 40; width: 236px; padding-top: 20px;
  transform-origin: 50% 0; text-align: left; }
.nl-schild::before, .nl-schild::after { content: ""; position: absolute; top: 0; width: 3px; height: 24px; border-radius: 2px;
  background: repeating-linear-gradient(180deg, #9aa2ab 0 3px, #555c64 3px 4px, transparent 4px 6px); }
.nl-schild::before { left: 34px; } .nl-schild::after { right: 34px; }

@media (hover: hover) { .nl-wahl:hover .nl-schild { display: block; } }
.nl-knopf:focus-visible + .nl-schild, .nl-wahl.nl-offen .nl-schild { display: block; }

html:not(.nl-js) .nl-knopf:focus + .nl-schild { display: block; }

.nl-blech { position: relative; display: block; padding: 17px 22px 13px; border: 1px solid var(--kante); border-radius: 3px;
  background:
    radial-gradient(circle at 9px 15px, #c3cad1 0 1.3px, #4a525a 2.1px, transparent 3.2px),
    radial-gradient(circle at calc(100% - 9px) 15px, #c3cad1 0 1.3px, #4a525a 2.1px, transparent 3.2px),
    radial-gradient(circle at 9px calc(100% - 9px), #c3cad1 0 1.3px, #4a525a 2.1px, transparent 3.2px),
    radial-gradient(circle at calc(100% - 9px) calc(100% - 9px), #c3cad1 0 1.3px, #4a525a 2.1px, transparent 3.2px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
    linear-gradient(165deg, #30363d 0%, #1e2227 60%, #171a1e 100%);
  box-shadow: 0 14px 28px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.07); }

.nl-blech::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 2px 2px 0 0;
  background: repeating-linear-gradient(-45deg, #c9a03a 0 6px, #15171a 6px 12px); opacity: .9; }
.nl-blech > span { display: block; hyphens: manual; -webkit-hyphens: manual; }
.nl-schild-ober { font-family: var(--titel); font-weight: 600; font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--glut-hell); }
.nl-schild-titel { margin-top: 2px; font-family: var(--titel); font-weight: 700; font-size: 1.32rem; line-height: 1.1; letter-spacing: .05em;
  text-transform: uppercase; color: var(--text); text-shadow: 0 1px 0 rgba(0,0,0,.75), 0 -1px 0 rgba(255,255,255,.08); }
.nl-schild-zeile { font-family: var(--titel); font-weight: 600; font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-leise);
  text-shadow: 0 1px 0 rgba(0,0,0,.7); }
.nl-schild-de { margin-top: 9px; padding-top: 7px; border-top: 1px solid var(--linie); font-family: var(--schrift); font-size: .84rem; line-height: 1.35; color: var(--text-leise); }

.menue-sprache { position: relative; margin: 0 20px 20px; padding-top: 18px; }

.menue:not([open]) .menue-sprache { display: none; }
.menue-sprache::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--kante); opacity: .6; }
.nl-schild.nl-schild-menue { display: block; position: relative; top: auto; right: auto; width: min(100%, 300px); margin: 0 auto; padding-top: 0; }
.nl-schild.nl-schild-menue::before, .nl-schild.nl-schild-menue::after { top: -18px; height: 18px; }

@media (prefers-reduced-motion: no-preference) {
  @media (hover: hover) { .nl-wahl:hover .nl-schild { animation: nl-pendel 1.15s cubic-bezier(.25,.7,.3,1) both; } }
  .nl-knopf:focus-visible + .nl-schild, .nl-wahl.nl-offen .nl-schild,
  .menue[open] .nl-schild-menue { animation: nl-pendel 1.15s cubic-bezier(.25,.7,.3,1) both; }
}
@keyframes nl-pendel {
  0%   { opacity: 0; transform: translateY(-8px) rotate(-6deg); }
  20%  { opacity: 1; }
  38%  { transform: translateY(0) rotate(3.5deg); }
  58%  { transform: rotate(-1.8deg); }
  78%  { transform: rotate(.8deg); }
  100% { opacity: 1; transform: none; }
}
@media (forced-colors: active) {
  .nl-blech { border: 1px solid CanvasText; background: Canvas; }
  .nl-blech::before, .nl-schild::before, .nl-schild::after { background: CanvasText; }
}
@media print { .nl-schild, .menue-sprache { display: none !important; } }
