/* ==========================================================================
   Osmium – v6: Handy-Menü, Kristall-Knöpfe
   ========================================================================== */

/* ---------- Handy-/Tablet-Menü (unter 1021 px) ---------- */
.v6-menu-btn { display: none; padding: 0; width: 2.6rem; height: 2.6rem; justify-content: center; }
.v6-menu-btn__icon { width: 1.25rem; height: 1.25rem; }
.v6-menu-btn__icon path { transform-origin: 10px 10px; transition: transform .3s var(--ease-cinema, ease), opacity .2s ease; }
.v6-menu-btn[aria-expanded="true"] .v6-bar1 { transform: translateY(4.5px) rotate(45deg); }
.v6-menu-btn[aria-expanded="true"] .v6-bar2 { opacity: 0; }
.v6-menu-btn[aria-expanded="true"] .v6-bar3 { transform: translateY(-4.5px) rotate(-45deg); }
.v6-menu { display: none; }
@media (max-width: 1020px) {
  .v6-menu-btn { display: inline-flex; }
  .v6-menu:not([hidden]) {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100dvh - var(--header-h, 4.5rem)); overflow-y: auto; overscroll-behavior: contain;
    background: rgba(7, 10, 11, .96); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-amber-soft, rgba(255,176,32,.22));
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  }
  .v6-menu__list { list-style: none; margin: 0 auto; padding: .5rem 0 1rem; width: min(var(--container-max, 76rem), 100% - 2rem); }
  .v6-menu__list a {
    display: flex; align-items: center; min-height: 3rem; padding: .5rem .25rem;
    color: var(--ink-secondary, #C9D6DC); text-decoration: none; font-weight: 600; font-size: 1.05rem;
    border-bottom: 1px solid var(--line-subtle, rgba(201,214,220,.12));
  }
  .v6-menu__list a:hover, .v6-menu__list a:focus-visible { color: #fff; background: rgba(255,176,32,.07); }
  .v6-menu__list li:last-child a { border-bottom: 0; }
  .v6-menu__list a.v6-menu__goal { color: #FFB020; }
}


/* ---------- Kristall: Drehen per Knopf/Tastatur ---------- */
.v4-kern__stage:focus-visible { outline: 2px solid #FFB020; outline-offset: 4px; border-radius: 1rem; }
.v4-kern__rot { position: absolute; left: .25rem; right: .25rem; bottom: .1rem; display: flex; justify-content: space-between; pointer-events: none; z-index: 2; }
.v4-kern__rot[hidden] { display: none; }
.v4-kern__rot button {
  pointer-events: auto; width: 2.75rem; height: 2.75rem; border-radius: 999px; cursor: pointer;
  font: 600 1.25rem/1 var(--font-body); color: var(--ink-secondary, #C9D6DC);
  background: rgba(7,10,11,.72); border: 1px solid var(--line-strong, rgba(201,214,220,.26));
}
.v4-kern__rot button:hover { color: #FFB020; border-color: rgba(255,176,32,.6); }
.v4-kern__rot button:focus-visible { outline: 2px solid #FFB020; outline-offset: 2px; }

/* ---------- Dialoge: DE/EN-Blöcke ---------- */
[data-dlg][hidden] { display: none; }

/* ---------- Bewegung-Schalter: gedrückt = Bewegung an; „aus“ sichtbar durchgestrichen + Amber ---------- */
#motion-toggle[aria-pressed="true"] { border-color: var(--line-subtle); color: var(--ink-secondary); background: rgba(14, 20, 22, 0.78); }
#motion-toggle[aria-pressed="false"] { border-color: var(--brand-amber); color: var(--brand-amber); background: rgba(255, 176, 32, 0.13); }
#motion-toggle[aria-pressed="false"] .ctrl-btn__label { text-decoration: line-through; text-decoration-thickness: 1.5px; }

/* Sprachwechsel: Footer-Marke darf keinen doppelten view-transition-name haben (Konsolenfehler beim Umschalten) */
.footer-brand__mark { view-transition-name: none; }

