/* =============================================================
   SHELL — eine Navigation für App und Seiten (js/shell.js)
   Handy: schwebende Leiste unten, nur die fünf Tabs.
   Ab 1024 px: helle Seitenleiste links mit allen Bereichen.
   ============================================================= */
.sh{--sh-w:240px;position:fixed;z-index:330;left:0;right:0;bottom:0;display:flex;justify-content:space-around;
  padding:5px 6px calc(5px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.9);
  backdrop-filter:saturate(170%) blur(18px);-webkit-backdrop-filter:saturate(170%) blur(18px);
  border-top:1px solid var(--line-2);font-family:var(--sans)}
.sh[hidden]{display:none}
.sh-marke,.sh-label,.sh-fuss{display:none}
.sh-gruppe{display:contents}
.sh-link{display:none}
.sh-tab{flex:1;max-width:96px;min-height:46px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  border-radius:12px;color:var(--muted);font-size:10.5px;font-weight:600;letter-spacing:.01em;text-decoration:none;-webkit-tap-highlight-color:transparent}
.sh-tab svg{width:23px;height:23px}
.sh-tab.sh-mobil-an{color:var(--accent-2)}
.sh-tab:active{opacity:.6}

@media (min-width:1024px){
  .sh{top:0;right:auto;width:var(--sh-w);flex-direction:column;justify-content:flex-start;gap:0;overflow-y:auto;
    padding:18px 14px 16px;background:rgba(255,255,255,.94);border-top:0;border-right:1px solid var(--line-2);
    box-shadow:8px 0 26px -30px rgba(32,48,68,.45);scrollbar-width:thin}
  .sh-marke{display:flex;align-items:center;gap:11px;padding:4px 8px 22px;text-decoration:none;color:var(--ink)}
  .sh-marke i{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:var(--accent);color:#fff;
    font:600 17px/1 var(--serif);font-style:normal;box-shadow:0 5px 14px -8px rgba(54,93,118,.8)}
  .sh-marke span{display:flex;flex-direction:column;line-height:1.15}
  .sh-marke b{font-size:15px;font-weight:700;letter-spacing:.02em}
  .sh-marke em{font:italic 400 12.5px/1.2 var(--serif);color:var(--muted)}
  .sh-gruppe{display:flex;flex-direction:column;gap:2px;margin:0 0 16px}
  .sh-gruppe--ende{margin-top:auto;margin-bottom:6px}
  .sh-label{display:block;padding:0 11px 6px;font-size:10px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:var(--faint)}
  .sh-link,.sh-tab{display:flex;flex:none;max-width:none;min-height:0;flex-direction:row;justify-content:flex-start;align-items:center;gap:10px;
    padding:8px 11px;border-radius:10px;color:var(--ink-2);font-size:13.5px;font-weight:500;letter-spacing:0;text-decoration:none;transition:background .12s,color .12s}
  .sh-link svg,.sh-tab svg{width:17px;height:17px;flex:none;color:var(--muted)}
  .sh-link:hover{background:var(--surface-2);color:var(--accent-2)}
  .sh-link[aria-current="page"]{background:var(--accent-soft);color:var(--accent-2);font-weight:650}
  .sh-link[aria-current="page"] svg{color:var(--accent)}
  .sh-tab.sh-mobil-an:not([aria-current]){color:var(--ink-2)}
  .sh-fuss{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid var(--line-2)}
  .sh-fuss button{background:none;border:0;color:var(--muted);font:inherit;font-size:12.5px;text-align:left;padding:4px 11px;cursor:pointer}
  .sh-fuss button:hover{color:var(--accent-2)}
}
@media (prefers-reduced-transparency:reduce){.sh{background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none}}
