/* Gemeinsame Navigation für Katalog und Informationsseiten. */
.portal-header {
  box-sizing: border-box;
  max-width: none;
  margin: 0;
  padding: 12px max(36px, calc((100vw - 1200px) / 2));
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
  background: #fff;
  border-bottom: 1px solid #d7deda;
  color: #12242d;
  font: 1rem/1.4 system-ui, sans-serif;
}
.portal-header a { color: #12242d; text-decoration: none; }
.portal-logo { white-space: nowrap; font-size: 24px; font-weight: 800; letter-spacing: -.04em; }
.portal-logo span { color: #287c3a; }
.portal-header .portal-nav { display: flex; align-items: center; justify-content: center; gap: 28px; flex: 1; margin: 0; }
.portal-nav a, .portal-mobile-nav a { font-weight: 600; }
.portal-header a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.portal-saved { padding: 8px 14px; border: 1px solid #b5c3c3; border-radius: 24px; white-space: nowrap; }
.portal-mobile-nav { display: none; position: relative; }
.portal-mobile-nav summary { cursor: pointer; padding: 8px; font-weight: 700; }
.portal-mobile-nav nav { position: absolute; right: 0; z-index: 20; display: flex; flex-direction: column; min-width: 200px; background: white; border: 1px solid #596b64; box-shadow: 0 4px 12px #0002; }
.portal-mobile-nav nav a { padding: 12px 16px; }
.portal-header :focus-visible, .portal-skip:focus-visible { outline: 3px solid #18547a; outline-offset: 3px; }
.portal-skip { position: absolute; left: -10000px; }
.portal-skip:focus { left: 1rem; top: 1rem; z-index: 30; padding: .5rem; background: white; }
@media (max-width: 899px) {
  .portal-header { padding: 12px 16px; min-height: 60px; gap: 12px; }
  .portal-header .portal-nav { display: none; }
  .portal-logo { font-size: 20px; }
  .portal-saved { margin-left: auto; }
  .portal-mobile-nav { display: block; }
}
@media (max-width: 380px) { .portal-saved { font-size: .85rem; padding: 7px; } }

/* Sichtbarer Fokus auch am Rand eines scrollbaren Menüs. */
.portal-mobile-nav nav { scroll-padding: 6px; padding-block: 6px; }
