/* Consistent navigation on all service and account pages. */
.site-header{background:#121d30;border-bottom:1px solid #ffffff14;color:#e4edf3}
.site-header .main-nav{gap:8px;font-size:13px}
.site-header .main-nav a{color:#c7d4e0;white-space:nowrap}
.site-header .main-nav a:hover,.site-header .main-nav a.is-active{background:#213449;color:#c0f3df}
.site-header .main-nav .nav-cta{background:#21364a;border:1px solid #ffffff1c;color:#e6f5ef;margin-left:8px;padding:12px 18px}
.site-header .main-nav .nav-cta:hover{background:#2b455b;color:#fff}
.site-header a:focus-visible,.site-header button:focus-visible{outline-color:#b4ead7}
.site-header .brand{flex-shrink:0}
@media(max-width:1080px){.site-header .main-nav{background:#152338;border:1px solid #ffffff24;top:calc(100% - 1px);gap:5px;box-shadow:0 20px 45px #0b17272b}.site-header .main-nav a{padding:13px 16px;border-radius:9px}.site-header .main-nav .nav-cta{margin:5px 0 0;justify-content:space-between}.site-header .nav-toggle{background:#ffffff0b;border-color:#ffffff2b}.site-header .nav-toggle span{background:#d0e1e9}}

/* Datenbanken-Seite – kompakter und professioneller */
.section-compact{padding:68px 0}
.db-overview{gap:58px}
.db-section-divider{border-top:1px solid #eef2f7}
.db-note{margin-top:28px;padding:24px;border:1px solid #d9e2ee;border-radius:20px;background:linear-gradient(135deg,#fff,#f8fbff)}
.db-note p{margin:0;color:#5d697c}
.db-note p+p{margin-top:14px}
.db-note-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.db-note-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid #d7e0eb;background:#fff;color:#20324c;font-weight:740;text-decoration:none;transition:transform 180ms ease,background 180ms ease,border-color 180ms ease,box-shadow 180ms ease}
.db-note-links a:hover{transform:translateY(-1px);border-color:#c2cfdd;background:#f9fbff;box-shadow:0 10px 24px rgba(16,21,34,.06)}
@media(max-width:980px){.section-compact{padding:56px 0}.db-overview{gap:34px}.db-note{padding:20px}.db-note-links{gap:10px}}

/* Neaforge – ruhige, globale Scroll-Motion für öffentliche Seiten.
   Standardmäßig bleibt jeder Inhalt sichtbar (auch ohne JavaScript). */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  html.nf-motion-enabled :is(.reveal, .nf-scroll) {
    opacity: 0;
    translate: 0 19px;
    transform: none;
    transition:
      opacity 650ms cubic-bezier(.18,.65,.32,1),
      translate 760ms cubic-bezier(.18,.65,.32,1);
    transition-delay: var(--nf-delay, 0ms);
  }

  html.nf-motion-enabled :is(.reveal, .nf-scroll).is-visible,
  html.nf-motion-enabled :is(.reveal, .nf-scroll):focus-within {
    opacity: 1;
    translate: 0 0;
  }

  html.nf-motion-enabled .nf-scroll-from-left { translate: -15px 0; }
  html.nf-motion-enabled .nf-scroll-from-right { translate: 15px 0; }
  html.nf-motion-enabled :is(.nf-scroll-from-left, .nf-scroll-from-right).is-visible,
  html.nf-motion-enabled :is(.nf-scroll-from-left, .nf-scroll-from-right):focus-within { translate: 0 0; }

  #nf-scroll-progress {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    pointer-events: none;
    background: linear-gradient(90deg, #5e8f9e, #70b0a2);
    transform-origin: left center;
    transform: scaleX(0);
    will-change: transform;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  html.nf-motion-enabled :is(.reveal, .nf-scroll) {
    translate: 0 12px;
    transition-duration: 500ms, 560ms;
    transition-delay: min(var(--nf-delay, 0ms), 100ms);
  }
  html.nf-motion-enabled :is(.nf-scroll-from-left, .nf-scroll-from-right) {
    translate: 0 12px;
  }
  html.nf-motion-enabled :is(.reveal, .nf-scroll).is-visible,
  html.nf-motion-enabled :is(.reveal, .nf-scroll):focus-within { translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .nf-scroll, html.nf-motion-enabled :is(.reveal, .nf-scroll) {
    opacity: 1 !important;
    translate: none !important;
    transform: none;
    transition: none !important;
  }
  #nf-scroll-progress { display: none; }
}
