/* ─────────────────────────────────────────────
   BÖR — Untermenü „Die Tiefen" als Tiefenmesser
   Wird auf allen Seiten nach dem Seiten-CSS geladen.
   ───────────────────────────────────────────── */

@font-face {
  font-family: 'BOER Serif';
  src: url('../fonts/brand-font_01.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── Desktop-Dropdown ── */
#nav .nav-sub {
  top: calc(100% - 6px);
  min-width: 0;
  width: 300px;
  padding: 22px 0 14px;
  background: linear-gradient(to bottom, rgba(14,46,71,0.97) 0%, rgba(9,35,55,0.98) 45%, rgba(4,20,33,0.99) 100%);
  border: 1px solid rgba(187,149,84,0.22);
  border-top: 1px solid rgba(187,149,84,0.22);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Eyebrow-Zeile */
#nav .nav-sub::before {
  content: 'Ø  Die Tiefen';
  display: block;
  padding: 0 28px 14px;
  margin-bottom: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: pre;
  color: var(--gold, #BB9554);
  border-bottom: 1px solid rgba(187,149,84,0.14);
}

/* Senkrechte Tiefenskala: ein Segment pro Eintrag, von Punkt zu Punkt */
#nav .nav-sub li { position: relative; }
#nav .nav-sub li::before {
  content: '';
  position: absolute;
  left: 34px;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(187,149,84,0.3);
  pointer-events: none;
}
#nav .nav-sub li:first-child::before { top: 50%; background: linear-gradient(to bottom, rgba(187,149,84,0.55), rgba(187,149,84,0.3)); }
#nav .nav-sub li:last-child::before  { bottom: 50%; background: linear-gradient(to bottom, rgba(187,149,84,0.3), rgba(187,149,84,0.12)); }

#nav .nav-sub li a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 28px 14px 58px;
  font-size: inherit;
  letter-spacing: normal;
  text-transform: none;
  color: rgba(232,226,218,0.92);
  transition: background 0.3s, color 0.3s;
}

/* Markierung auf der Skala */
#nav .nav-sub li a::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 50%;
  width: 7px; height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  z-index: 1;
  border: 1px solid rgba(187,149,84,0.6);
  background: rgb(9,35,55);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

#nav .nav-sub .ns-depth {
  flex-shrink: 0;
  min-width: 78px;
  font-family: 'BOER Serif', 'Big Moore', Georgia, serif;
  font-size: 30px;
  line-height: 1;
  color: var(--gold, #BB9554);
  transition: color 0.3s, transform 0.3s;
}
#nav .nav-sub .ns-depth i {
  font-style: normal;
  font-size: 0.5em;
  margin-left: 3px;
  letter-spacing: 0.05em;
}

#nav .nav-sub .ns-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#nav .nav-sub .ns-type {
  font-family: 'Poppins', sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}
#nav .nav-sub .ns-note {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(232,226,218,0.66);
}

/* Hover / Fokus */
#nav .nav-sub li a:hover,
#nav .nav-sub li a:focus-visible {
  background: linear-gradient(to right, rgba(240,201,114,0.08), rgba(240,201,114,0));
  color: #fff;
  outline: none;
}
#nav .nav-sub li a:hover::before,
#nav .nav-sub li a:focus-visible::before {
  background: var(--gold-bright, #F0C972);
  border-color: var(--gold-bright, #F0C972);
  box-shadow: 0 0 0 4px rgba(240,201,114,0.14), 0 0 14px rgba(240,201,114,0.5);
}
#nav .nav-sub li a:hover .ns-depth,
#nav .nav-sub li a:focus-visible .ns-depth {
  color: var(--gold-bright, #F0C972);
  transform: translateX(3px);
}

/* Aktuelle Seite */
#nav .nav-sub li a[aria-current="page"]::before {
  background: var(--gold, #BB9554);
}
#nav .nav-sub li a[aria-current="page"] .ns-depth {
  color: var(--gold-bright, #F0C972);
}

/* ── Mobiles Menü ── */
#nav-drawer .drawer-sub {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0 12px 30px;
  letter-spacing: normal;
  text-transform: none;
  border-bottom: none;
}
/* Skala mit Punkt */
#nav-drawer .drawer-sub::before {
  content: '';
  position: absolute;
  left: 6px; top: 0; bottom: 0;
  width: 1px;
  background: rgba(187,149,84,0.3);
}
#nav-drawer .drawer-sub::after {
  content: '';
  position: absolute;
  left: 3px; top: 50%;
  width: 7px; height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  border: 1px solid rgba(187,149,84,0.6);
  background: rgb(9,35,55);
}
#nav-drawer .drawer-sub .ns-depth {
  min-width: 68px;
  font-family: 'BOER Serif', 'Big Moore', Georgia, serif;
  font-size: 26px;
  line-height: 1;
  color: var(--gold, #BB9554);
}
#nav-drawer .drawer-sub .ns-depth i {
  font-style: normal;
  font-size: 0.5em;
  margin-left: 3px;
}
#nav-drawer .drawer-sub .ns-type {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232,226,218,0.75);
}
#nav-drawer .drawer-sub:active .ns-depth,
#nav-drawer .drawer-sub:hover .ns-depth { color: var(--gold-bright, #F0C972); }
#nav-drawer .drawer-sub:active::after,
#nav-drawer .drawer-sub:hover::after { background: var(--gold-bright, #F0C972); border-color: var(--gold-bright, #F0C972); }
/* letzter Tiefen-Eintrag: Trennlinie zum restlichen Menü */
#nav-drawer .drawer-sub + a:not(.drawer-sub) { border-top: 1px solid rgba(232,226,218,0.05); }
