/* Hauptmenü: gruppierte Dropdowns (ersetzt die alte Reiter-Leiste) */
.top .bar { position: relative; }
.mn { display: flex; align-items: stretch; gap: 2px; flex: 1; align-self: stretch; margin-left: 12px; }
.mg { position: relative; display: flex; }
.mg-b { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; color: #d4d4d4; font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .07em;
  padding: 0 14px; border-bottom: 3px solid transparent; transition: color .15s; }
.mg-b svg { opacity: .6; transition: transform .2s; }
.mg:hover > .mg-b, .mg.open > .mg-b, .mg:focus-within > .mg-b { color: #fff; }
.mg.on > .mg-b { color: #fff; border-image: var(--flag) 1; border-bottom-width: 3px; border-bottom-style: solid; }
.mg.open > .mg-b svg { transform: rotate(180deg); }
.mg-p { display: none; position: absolute; top: 100%; left: 0; min-width: 300px; background: #0e0e0e; border: 1px solid var(--line-2); border-top: 3px solid var(--red);
  border-radius: 0 0 12px 12px; box-shadow: 0 28px 60px rgba(0,0,0,.65); padding: 18px; gap: 26px; z-index: 70; }
.mg-p.two { min-width: 580px; }
.mg.open > .mg-p, .mg:focus-within > .mg-p { display: flex; }
@media (hover: hover) and (min-width: 861px) { .mg:hover > .mg-p { display: flex; } .mg:hover > .mg-b svg { transform: rotate(180deg); } }
.mg-c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mg-c h5 { font: 800 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px 10px; }
.mg-c a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; color: #e8e8e8; }
.mg-c a:hover, .mg-c a:focus-visible { background: #1b1b1b; color: #fff; }
.mg-c a.on { background: rgba(255,198,26,.08); }
.mg-c b { display: block; font: 700 15px/1.2 var(--body); }
.mg-c small { display: block; margin-top: 3px; font: 500 12.5px/1.3 var(--body); color: var(--muted); }
.mg-n { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #1d1d1d; border: 1px solid var(--line-2); color: var(--gold); font: 800 15px/1 var(--display); font-style: normal; }
.mg-c a:hover .mg-n { background: var(--red); border-color: var(--red); color: #fff; }
.mn-m { display: none; }
.mn-r { display: flex; align-items: center; gap: 10px; flex: none; }
.mn-pill { font: 800 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1.5px solid rgba(255,198,26,.5); padding: 8px 10px; border-radius: 6px; }
.mn-pill:hover { background: var(--gold); color: #111; }
.mn-sbtn { width: 40px; height: 40px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 50%; color: #fff; cursor: pointer; }
.mn-sbtn:hover, .top.s-open .mn-sbtn { border-color: var(--gold); color: var(--gold); }
.mn-burger { display: none; }
.top .mn-search { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 14px 20px; background: #0b0b0b; border-bottom: 1px solid var(--line-2); justify-content: center; box-shadow: 0 24px 40px rgba(0,0,0,.5); }
.top.s-open .mn-search { display: flex; }
.mn-sbox { position: relative; width: min(680px, 100%); }
.top .mn-sbox input[type=search] { width: 100%; font-size: 17px; padding: 14px 16px; border-radius: 10px; }
.mn-sbox .ls-drop { left: 0; right: 0; width: auto; border-radius: 10px; overflow: hidden; }
.top .mn-search { z-index: 65; }
.mg-p .mg-c:only-child { min-width: 270px; }
@media (max-width: 1100px) { .mg-b { padding: 0 9px; font-size: 14px; } .brand span { display: none; } }
@media (max-width: 860px) {
  .top .bar { gap: 8px; }
  .mn-r { margin-left: auto; gap: 8px; }
  .mn-pill, .mn-cta { display: none; }
  .userchip span { display: none; }
  .userchip { padding: 4px; }
  .mn-burger { display: grid; gap: 4px; align-content: center; width: 42px; height: 40px; padding: 0 10px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
  .mn-burger i { display: block; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .top.open .mn-burger i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); } .top.open .mn-burger i:nth-child(2) { opacity: 0; } .top.open .mn-burger i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .mn { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; background: #080808; border-top: 1px solid var(--line);
    max-height: calc(100vh - 70px - var(--top)); max-height: calc(100dvh - 70px - var(--top)); overflow-y: auto; padding: 6px 20px 28px; box-shadow: 0 30px 50px rgba(0,0,0,.6); }
  .top.open .mn { display: flex; }
  .mg { display: block; border-bottom: 1px solid var(--line); }
  .mg-b { width: 100%; justify-content: space-between; padding: 17px 0; font-size: 17px; border-bottom: 0 !important; border-image: none !important; }
  .mg.on > .mg-b { color: var(--gold); }
  .mg-p, .mg-p.two { position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 12px; background: none; flex-direction: column; gap: 14px; border-radius: 0; }
  .mg:focus-within > .mg-p { display: none; } .mg.open > .mg-p { display: flex; }
  .mg-c a { padding: 11px 6px; }
  .mn-m { display: block; padding-top: 14px; }
  .mn-m h5 { font: 800 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 6px 0 4px; }
  .mn-m a { display: block; padding: 12px 0; font: 700 16px var(--body); color: #fff; }
  .top .mn-search { padding: 12px 16px; }
}
@media (min-width: 1101px) { .top .brand span { display: block; } .top .userchip span { display: inline; } .top .userchip { padding-inline: 12px; } }
