/* Gemeinsame Kopfleiste des Leitfaden-Portals. Alle Klassen beginnen mit portal-,
   damit sie nicht mit den Stilen der eingebundenen Apps kollidieren.
   Farben nach dem Erscheinungsbild von Wandscher und Partner (rae-wandscher.de). */
.portal-kopf {
  --portal-grund: #ffffff;
  --portal-text: #3d3934;
  --portal-leise: #6b625b;
  --portal-linie: #d1cecd;
  --portal-rot: #e61e3a;
  --portal-hover: rgba(151, 138, 130, .14);
  --portal-logo-schrift: #3d3934;
  --portal-logo-zusatz: #978a82;

  background: var(--portal-grund);
  color: var(--portal-text);
  border-bottom: 1px solid var(--portal-linie);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  position: relative;
  z-index: 10;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .portal-kopf {
    --portal-grund: #211e1b;
    --portal-text: #ece8e4;
    --portal-leise: #a99f97;
    --portal-linie: #3a3530;
    --portal-rot: #ff5a6e;
    --portal-hover: rgba(255, 255, 255, .07);
    --portal-logo-schrift: #ece8e4;
    --portal-logo-zusatz: #b3a89f;
  }
}
:root[data-theme="dark"] .portal-kopf {
  --portal-grund: #211e1b;
  --portal-text: #ece8e4;
  --portal-leise: #a99f97;
  --portal-linie: #3a3530;
  --portal-rot: #ff5a6e;
  --portal-hover: rgba(255, 255, 255, .07);
  --portal-logo-schrift: #ece8e4;
  --portal-logo-zusatz: #b3a89f;
}

.portal-innen {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 68px;
}
.portal-marke {
  display: block;
  flex: none;
  line-height: 0;
  border-radius: 4px;
}
.portal-marke svg { display: block; width: 183px; height: 40px; }
.portal-logo-schrift { fill: var(--portal-logo-schrift); }
.portal-logo-zusatz { fill: var(--portal-logo-zusatz); }
.portal-logo-linie { fill: none; stroke: var(--portal-logo-zusatz); }
.portal-logo-zeichen { fill: #e72539; }

.portal-navi { display: flex; gap: 2px; align-self: stretch; }
.portal-navi a {
  display: flex;
  align-items: center;
  color: var(--portal-text);
  text-decoration: none;
  padding: 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  border-top: 3px solid transparent;
}
.portal-navi a:hover { color: var(--portal-rot); background: var(--portal-hover); }
.portal-navi a.aktiv { border-bottom-color: var(--portal-rot); }
.portal-navi a:focus-visible, .portal-marke:focus-visible { outline: 2px solid var(--portal-rot); outline-offset: 2px; }
.portal-heute { margin-left: auto; font-size: 13px; color: var(--portal-leise); white-space: nowrap; }

@media (max-width: 820px) {
  .portal-innen { flex-wrap: wrap; gap: 0 16px; padding: 10px 16px 0; min-height: 0; }
  .portal-marke svg { width: 146px; height: 32px; }
  .portal-heute { display: none; }
  .portal-navi { order: 3; width: 100%; overflow-x: auto; margin: 4px -12px 0; }
  .portal-navi a { padding: 8px 12px 6px; }
}
@media print {
  .portal-kopf { display: none; }
}
