.sondernav {
  --snv-gold: #d4b673;
  --snv-gold-tief: #8a6a2c;
  --snv-creme: #efe5cf;
  position: relative; z-index: 2; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  gap: clamp(8px, 2vw, 26px);
  width: min(1080px, calc(100% - 2 * var(--rand)));

  margin: clamp(40px, 6vw, 72px) auto clamp(84px, 9vw, 104px);
  padding: 14px clamp(14px, 2.6vw, 30px);
  border-radius: 12px;
  color: var(--snv-creme);
  font-family: var(--f-titel);
  background:
    radial-gradient(120% 160% at 50% 0%, rgba(212, 182, 115, .2), transparent 58%),
    linear-gradient(172deg, #1e3a31, #12241e 78%);
  border: 1px solid rgba(212, 182, 115, .5);
  box-shadow: inset 0 0 0 4px rgba(18, 36, 30, .92), inset 0 0 0 5px rgba(212, 182, 115, .34), var(--schatten);
  -webkit-font-smoothing: antialiased;
}

.sondernav::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  --niet: radial-gradient(circle, #f3dfa6 0 1.4px, #b89553 2.1px, #6d5222 2.9px, transparent 3.4px);
  background: var(--niet) 9px 9px / 8px 8px no-repeat, var(--niet) calc(100% - 9px) 9px / 8px 8px no-repeat,
              var(--niet) 9px calc(100% - 9px) / 8px 8px no-repeat, var(--niet) calc(100% - 9px) calc(100% - 9px) / 8px 8px no-repeat;
  opacity: .9;
}

.snv-weg {
  display: inline-flex; align-items: center; gap: 12px; min-width: 0; min-height: 48px;
  padding: 8px 12px; border-radius: 8px;
  color: var(--snv-creme); text-decoration: none;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.snv-vor { justify-self: start; text-align: left; }
.snv-nach { justify-self: end; text-align: right; }
.snv-weg:hover, .snv-weg:focus-visible { color: #fff4dc; background: rgba(212, 182, 115, .12); }
.snv-pfeil { flex: none; font-family: var(--f-text); font-size: 1.15rem; color: var(--snv-gold); transition: transform .45s var(--ease); }
.snv-vor:hover .snv-pfeil, .snv-vor:focus-visible .snv-pfeil { transform: translateX(-4px); }
.snv-nach:hover .snv-pfeil, .snv-nach:focus-visible .snv-pfeil { transform: translateX(4px); }
.snv-zeichen {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  font-family: var(--f-text); font-size: 1.35rem; line-height: 1; color: var(--snv-gold);
  border: 1px solid rgba(212, 182, 115, .42);
  background: radial-gradient(circle at 34% 28%, rgba(212, 182, 115, .22), rgba(8, 20, 16, .35) 70%);
  text-shadow: 0 0 14px rgba(212, 182, 115, .55);
}
.snv-wort { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.snv-klein { font-family: var(--f-text); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(239, 229, 207, .72); }
.snv-name { font-style: italic; font-size: 1.22rem; line-height: 1.15; overflow-wrap: anywhere; }
.snv-kurz { display: none; }

.snv-mitte { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; padding: 0 clamp(4px, 1.6vw, 18px); }
.snv-mitte::before, .snv-mitte::after { content: ''; width: 84px; height: 1px; background: linear-gradient(90deg, transparent, rgba(212, 182, 115, .7), transparent); }
.snv-schild { margin: 4px 0 0; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.snv-ober { font-family: var(--f-text); font-size: .76rem; letter-spacing: .28em; text-transform: uppercase; color: var(--snv-gold); padding-left: .28em; }
.snv-zahl { font-size: 1.55rem; font-variant-numeric: oldstyle-nums; margin-top: 4px; color: #f6ead0; }
.snv-strich { margin: 0 .28em; color: var(--snv-gold); font-style: italic; }
.snv-alle {
  margin: 2px 0 4px; padding: 4px 8px; border-radius: 4px;
  font-style: italic; font-size: 1rem; color: var(--snv-gold); text-decoration: underline;
  text-decoration-color: rgba(212, 182, 115, .4); text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.snv-alle:hover, .snv-alle:focus-visible { color: #fff4dc; text-decoration-color: currentColor; }
.sondernav a:focus-visible { outline: 2px solid var(--snv-gold); outline-offset: 3px; }

:root[data-abend="an"] .sondernav {
  background:
    radial-gradient(120% 160% at 50% 0%, rgba(212, 182, 115, .16), transparent 58%),
    linear-gradient(172deg, #1a3029, #0e1c17 78%);
  border-color: rgba(212, 182, 115, .4);
}

.sondernav.snv-kino {
  width: auto; max-width: 640px; margin: 22px auto 0; padding: 16px 0 0;
  background: none; border: 0; border-top: 1px solid rgba(212, 182, 115, .3); border-radius: 0; box-shadow: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'mitte mitte' 'vor nach'; gap: 4px 10px;
}
.sondernav.snv-kino::before { display: none; }
.snv-kino .snv-mitte { grid-area: mitte; }
.snv-kino .snv-mitte::before, .snv-kino .snv-mitte::after { display: none; }
.snv-kino .snv-vor { grid-area: vor; }
.snv-kino .snv-nach { grid-area: nach; }
.snv-kino .snv-weg { gap: 9px; padding: 6px 8px; }
.snv-kino .snv-zeichen { width: 34px; height: 34px; font-size: 1.1rem; }
.snv-kino .snv-name { font-size: 1.08rem; }
.snv-kino .snv-klein { letter-spacing: .14em; font-size: .64rem; }
.snv-kino .snv-schild { flex-direction: row; align-items: baseline; gap: .7em; }
.snv-kino .snv-zahl { font-size: 1.25rem; margin: 0; }
.snv-kino .snv-lang { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.snv-kino .snv-kurz { display: inline; }

@media (max-height: 460px) {
  .sondernav.snv-kino { margin-top: 10px; padding-top: 8px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: 'vor mitte nach'; }
  .snv-kino .snv-schild { flex-direction: column; gap: 0; }
  .snv-kino .snv-klein { display: none; }
  .snv-kino .snv-weg { min-height: 40px; padding: 4px 6px; }
}

@media (max-width: 700px) {
  .sondernav { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'mitte mitte' 'vor nach'; row-gap: 6px; padding: 12px 12px 10px; }
  .snv-mitte { grid-area: mitte; }
  .snv-mitte::after { display: none; }
  .snv-vor { grid-area: vor; }
  .snv-nach { grid-area: nach; }
  .snv-weg { gap: 8px; padding: 6px 8px; }
  .snv-zeichen { width: 34px; height: 34px; font-size: 1.1rem; }
  .snv-name { font-size: 1.08rem; }
  .snv-klein { letter-spacing: .1em; font-size: .76rem; }
}
@media (max-width: 700px) {
  .sondernav .snv-lang { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sondernav .snv-kurz { display: inline; }
}

@media (max-width: 400px) {
  .sondernav .snv-pfeil { display: none; }
  .sondernav .snv-weg { padding: 6px 4px; gap: 7px; }
  .sondernav .snv-zeichen { width: 30px; height: 30px; font-size: 1rem; }
  .sondernav .snv-klein { letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
  .snv-weg, .snv-pfeil { transition: none; }
  .snv-vor:hover .snv-pfeil, .snv-nach:hover .snv-pfeil, .snv-vor:focus-visible .snv-pfeil, .snv-nach:focus-visible .snv-pfeil { transform: none; }
}
:root[data-ruhig="an"] .snv-weg, :root[data-ruhig="an"] .snv-pfeil { transition: none; }
:root[data-ruhig="an"] .snv-vor:hover .snv-pfeil, :root[data-ruhig="an"] .snv-nach:hover .snv-pfeil,
:root[data-ruhig="an"] .snv-vor:focus-visible .snv-pfeil, :root[data-ruhig="an"] .snv-nach:focus-visible .snv-pfeil { transform: none; }

@media print { .sondernav { display: none !important; } }
