/* BOO-395: Apple-artige Highlight-Navigation fuer das Saeulen-Band (#motions).
   Progressives Enhancement: ohne JS bleibt der Kachel-Stapel bestehen.
   Das JS setzt .itn-hl-on auf die Section und baut die Steuerleiste. */

#motions.itn-hl-on .itn-motion-slot {
  display: none;
}
#motions.itn-hl-on .itn-motion-slot.itn-hl-aktiv {
  display: grid;
  animation: itn-hl-ein 0.32s ease;
}
@keyframes itn-hl-ein {
  from { opacity: 0.35; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  #motions.itn-hl-on .itn-motion-slot.itn-hl-aktiv { animation: none; }
  .itn-hl-dot, .itn-hl-gruppe, .itn-hl-pfeil { transition: none !important; }
}

.itn-hl-bar {
  width: min(1380px, 100%);
  margin: 0 auto 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.itn-hl-zeile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.itn-hl-gruppe {
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(36, 28, 20, 0.28);
  background: transparent;
  color: #3a2f22;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.itn-hl-gruppe:hover { background: rgba(36, 28, 20, 0.08); }
.itn-hl-gruppe.itn-hl-an {
  background: #241c14;
  color: #efe4cf;
  border-color: #241c14;
}

.itn-hl-pfeil {
  font: inherit;
  font-size: 20px;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(36, 28, 20, 0.28);
  background: transparent;
  color: #3a2f22;
  cursor: pointer;
  transition: background 0.2s ease;
}
.itn-hl-pfeil:hover:not(:disabled) { background: rgba(36, 28, 20, 0.08); }
.itn-hl-pfeil:disabled { opacity: 0.35; cursor: default; }

.itn-hl-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}
.itn-hl-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: rgba(36, 28, 20, 0.25);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.itn-hl-dot:hover { background: rgba(36, 28, 20, 0.45); }
.itn-hl-dot.itn-hl-an {
  width: 26px;
  background: #d68512;
}

.itn-hl-gruppe:focus-visible,
.itn-hl-pfeil:focus-visible,
.itn-hl-dot:focus-visible {
  outline: 2px solid #d68512;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .itn-hl-gruppe { font-size: 12.5px; padding: 8px 13px; }
  .itn-hl-pfeil { width: 36px; height: 36px; }
}
