/* Aufklappmenüs der Topbar */
.tn-item { position: relative; }
.tn-caret { font-size: .62em; opacity: .6; transition: transform 140ms ease; }
.tn-toggle[aria-expanded="true"] { background: rgba(47, 143, 189, .1); }
.tn-toggle[aria-expanded="true"] .tn-caret { transform: rotate(180deg); }
.tn-panel {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 1000; width: max-content; max-width: calc(100vw - 24px);
  background: #fff; border: 1px solid #dbe2e6; border-radius: 12px; box-shadow: 0 14px 36px rgba(10, 20, 30, .18);
}
.tn-panel[hidden] { display: none; }
.tn-cols { display: flex; gap: 4px; padding: 12px; }
.tn-col { min-width: 210px; }
.tn-title { padding: 4px 12px 6px; font-size: .8rem; font-weight: 600; color: #607380; white-space: nowrap; }
.topnav .tn-panel a {
  display: flex; justify-content: flex-start; gap: 8px; margin: 0; padding: 9px 12px; border-radius: 8px;
  font-size: .92rem; font-weight: 400; color: #21343a; white-space: nowrap; text-decoration: none; transition: none;
}
.topnav .tn-panel a:hover { background: #eef2f4; transform: none; box-shadow: none; }
.topnav .tn-panel a.is-current { background: #e1eaef; font-weight: 600; }
.topnav .tn-panel a i { margin: 0; color: #5e7c92; }
.tn-toggle:focus-visible, .topnav .tn-panel a:focus-visible, .tn-mobil summary:focus-visible { outline: 2px solid #4c6b7c; outline-offset: 1px; }
.tn-foot { border-top: 1px solid #edf1f3; padding: 8px 12px; }

.tn-mobil { border-bottom: 1px solid #f1f3f5; }
.tn-mobil summary { display: flex; align-items: center; padding: 15px 20px; font-weight: 600; color: #223; cursor: pointer; list-style: none; }
.tn-mobil summary::-webkit-details-marker { display: none; }
.tn-mobil summary .tn-caret { margin-left: auto; }
.tn-mobil[open] summary .tn-caret { transform: rotate(180deg); }
.tn-mobil .tn-title { padding: 10px 24px 4px; }
.mobile-menu .tn-mobil a { padding: 11px 24px; font-weight: 400; border-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .tn-caret { transition: none; } }
