 
.nz { --nz-cyan: 13, 204, 242; --nz-tuerkis: 23, 207, 151; position: fixed; inset: 0; z-index: 10020; pointer-events: none; font-family: var(--font-body); color: var(--color-text); }
.nz-schleier { position: absolute; inset: 0; background: rgba(7, 11, 20, 0.72); opacity: 0; pointer-events: auto; touch-action: none; transition: opacity 1.3s ease; }
.nz-da .nz-schleier { opacity: 1; }
.nz-raus .nz-schleier { opacity: 0; transition: opacity 0.7s ease; }
.nz-flaeche { pointer-events: auto; overscroll-behavior: contain; }

.nz-marke { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--color-gold); background: var(--color-gold-dim); border: 1px solid color-mix(in srgb, var(--color-gold) 45%, transparent); padding: 5px 11px; border-radius: 999px; }
.nz-marke::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-gold); box-shadow: 0 0 10px var(--color-gold); animation: nz-puls 2.2s ease-in-out infinite; }
@keyframes nz-puls { 50% { opacity: 0.35; } }
.nz h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 16px 0 12px; font-size: clamp(30px, 3.6vw, 46px); color: var(--color-text); }
.nz p { font-size: 16px; line-height: 1.55; color: var(--color-text-dim); margin: 0; max-width: 56ch; }
.nz small { display: block; margin-top: 12px; font-size: 12px; color: var(--color-text-muted); }
.nz-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.nz-knoepfe .btn { min-height: 46px; padding: 0 22px; font-size: 14px; font-weight: 700; }

 
.nz-vorschau { position: relative; width: 340px; aspect-ratio: 16 / 10; flex: none; overflow: hidden; border-radius: var(--radius-lg); padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: center;
  background: radial-gradient(240px 150px at 92% -10%, rgba(var(--nz-cyan), 0.26), transparent 70%), radial-gradient(200px 140px at 0% 110%, rgba(var(--nz-tuerkis), 0.18), transparent 70%), #080A0C;
  border: 1px solid rgba(var(--nz-cyan), 0.55); box-shadow: 0 0 34px rgba(var(--nz-cyan), 0.28); }
.nz-vorschau::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(61, 217, 245, 0.2) 50%, transparent 62%) no-repeat; background-size: 300% 100%; background-position: 110% 0; animation: nz-streifen 4.2s 2s ease-in-out infinite; }
@keyframes nz-streifen { 55%, 100% { background-position: -10% 0; } }
.nz-k { border: 1px solid rgba(var(--nz-cyan), 0.62); border-radius: var(--radius-md); padding: 10px 12px; background: linear-gradient(155deg, rgba(var(--nz-cyan), 0.12), transparent 60%); box-shadow: 0 0 12px rgba(var(--nz-cyan), 0.32); }
.nz-k { display: grid; gap: 8px; align-content: center; }
.nz-k i { display: block; height: 7px; width: 80%; border-radius: 99px; background: rgba(255, 255, 255, 0.16); }
.nz-k i:first-child { height: 14px; width: 62%; background: rgba(var(--nz-cyan), 0.8); box-shadow: 0 0 12px rgba(var(--nz-cyan), 0.6); }
.nz-balken { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.nz-balken i { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgb(var(--nz-cyan)), rgb(var(--nz-tuerkis))); box-shadow: 0 0 12px rgba(var(--nz-cyan), 0.7); }

 
.nz-folge > * { opacity: 0; transform: translateY(-16px); }
.nz-da .nz-folge > * { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.nz-da .nz-folge > *:nth-child(1) { transition-delay: 0.65s; }
.nz-da .nz-folge > *:nth-child(2) { transition-delay: 0.8s; }
.nz-da .nz-folge > *:nth-child(3) { transition-delay: 0.95s; }
.nz-da .nz-folge > *:nth-child(4) { transition-delay: 1.15s; }
.nz-da .nz-folge > *:nth-child(5) { transition-delay: 1.25s; }

 
.nz-vorhang .nz-flaeche { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 48px; max-height: 92vh; overflow-y: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 54px) clamp(24px, 7vw, 110px) 50px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-card) 84%, var(--color-accent)), var(--color-card) 70%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl); box-shadow: 0 34px 90px rgba(0, 0, 0, 0.6), 0 2px 0 rgba(var(--nz-cyan), 0.85), 0 12px 56px rgba(var(--nz-cyan), 0.26);
  transform: translateY(-106%); }
.nz-vorhang.nz-da .nz-flaeche { transform: none; transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1); }
.nz-vorhang.nz-raus .nz-flaeche { transform: translateY(-106%); transition: transform 0.75s cubic-bezier(0.7, 0, 0.84, 0); }
.nz-vorhang .nz-vorschau { opacity: 0; transform: translateY(-26px) scale(0.97); }
.nz-vorhang.nz-da .nz-vorschau { opacity: 1; transform: none; transition: opacity 0.9s 0.9s ease, transform 1.1s 0.9s cubic-bezier(0.16, 1, 0.3, 1); }

 
.nz-schild .nz-flaeche { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 84px); left: 50%; width: min(600px, calc(100% - 32px)); margin-left: calc(min(600px, 100% - 32px) / -2);
  padding: 30px 32px 32px; background: var(--color-card); border: 1px solid rgba(var(--nz-cyan), 0.55); border-radius: var(--radius-xl); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 44px rgba(var(--nz-cyan), 0.2);
  transform-origin: 50% -84px; transform: translateY(-130vh); }
.nz-schild .nz-flaeche::before, .nz-schild .nz-flaeche::after { content: ""; position: absolute; bottom: 100%; width: 1px; height: 100vh; background: linear-gradient(0deg, rgba(var(--nz-cyan), 0.9), rgba(var(--nz-cyan), 0.15)); box-shadow: 0 0 8px rgba(var(--nz-cyan), 0.7); }
.nz-schild .nz-flaeche::before { left: 18%; }
.nz-schild .nz-flaeche::after { right: 18%; }
.nz-schild.nz-da .nz-flaeche { transform: none; animation: nz-pendeln 2.8s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
@keyframes nz-pendeln { 0% { transform: translateY(-130vh) rotate(0); } 52% { transform: translateY(0) rotate(1.5deg); } 68% { transform: rotate(-1deg); } 82% { transform: rotate(0.5deg); } 92% { transform: rotate(-0.2deg); } 100% { transform: none; } }
.nz-schild.nz-raus .nz-flaeche { animation: none; transform: translateY(-130vh); transition: transform 0.85s cubic-bezier(0.7, 0, 0.84, 0); }
.nz-schild .nz-vorschau { width: 100%; aspect-ratio: auto; margin-bottom: 20px; }
.nz-schild .nz-folge > *:nth-child(1) { transition-delay: 1.1s; }
.nz-schild .nz-folge > *:nth-child(2) { transition-delay: 1.25s; }
.nz-schild .nz-folge > *:nth-child(3) { transition-delay: 1.4s; }
.nz-schild .nz-folge > *:nth-child(4) { transition-delay: 1.6s; }
.nz-schild .nz-folge > *:nth-child(5) { transition-delay: 1.7s; }
.nz-schild h2 { font-size: clamp(26px, 3vw, 36px); }

 
.nz-buehne .nz-schleier { background: var(--color-bg); overflow: hidden; }
.nz-buehne .nz-schleier::before { content: ""; position: absolute; left: 50%; top: -4%; width: 220vmax; height: 120%; margin-left: -110vmax; transform-origin: 50% 0; transform: scaleY(0);
  background: conic-gradient(from 167deg at 50% 0, transparent 0deg, rgba(var(--nz-cyan), 0.34) 13deg, transparent 26deg); filter: blur(10px); }
.nz-buehne.nz-da .nz-schleier::before { transform: none; transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1); }
.nz-buehne .nz-flaeche { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow-y: auto; padding: calc(env(safe-area-inset-top, 0px) + 28px) 20px 28px; }
.nz-buehne .nz-folge { display: flex; flex-direction: column; align-items: center; }
.nz-buehne h2 { font-size: clamp(38px, 6vw, 76px); margin-top: 18px; }
.nz-buehne p { font-size: 17px; }
.nz-buehne .nz-knoepfe { justify-content: center; }
.nz-buehne .nz-folge > * { transform: translateY(-42px); }
.nz-buehne.nz-da .nz-folge > * { transform: none; transition: opacity 1s ease, transform 1.3s cubic-bezier(0.16, 1, 0.3, 1); }
.nz-buehne.nz-da .nz-folge > *:nth-child(1) { transition-delay: 0.9s; }
.nz-buehne.nz-da .nz-folge > *:nth-child(2) { transition-delay: 1.15s; }
.nz-buehne.nz-da .nz-folge > *:nth-child(3) { transition-delay: 1.45s; }
.nz-buehne.nz-da .nz-folge > *:nth-child(4) { transition-delay: 1.9s; }
.nz-buehne.nz-da .nz-folge > *:nth-child(5) { transition-delay: 2.05s; }
.nz-buehne .nz-vorschau { order: -1; margin-bottom: 26px; opacity: 0; transform: translateY(-70px) scale(0.94); }
.nz-buehne.nz-da .nz-vorschau { opacity: 1; transform: none; transition: opacity 1.1s 0.5s ease, transform 1.5s 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.nz-buehne.nz-raus .nz-flaeche { opacity: 0; transform: translateY(-40px); transition: opacity 0.55s ease, transform 0.7s ease; }

 
.nz-leiste { z-index: 45; }
.nz-leiste .nz-schleier { display: none; }
.nz-leiste .nz-vorschau, .nz-leiste small { display: none; }
.nz-leiste .nz-flaeche { position: absolute; top: var(--header-height-total); left: var(--sidebar-width); right: 0; padding: 14px 24px; background: linear-gradient(90deg, color-mix(in srgb, var(--color-card) 80%, var(--color-accent)), var(--color-card) 60%); border-bottom: 1px solid rgba(var(--nz-cyan), 0.6); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); transform: translateY(-120%); opacity: 0; }
.nz-leiste.nz-da .nz-flaeche { transform: none; opacity: 1; transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease; }
.nz-leiste.nz-raus .nz-flaeche { transform: translateY(-120%); opacity: 0; transition: transform 0.6s ease-in, opacity 0.5s ease; }
.nz-leiste .nz-folge { display: flex; align-items: center; gap: 14px; }
.nz-leiste .nz-folge > * { opacity: 1; transform: none; }
.nz-leiste h2 { font-size: 16px; margin: 0; white-space: nowrap; letter-spacing: 0; }
.nz-leiste p { flex: 1; font-size: 13px; line-height: 1.4; }
.nz-leiste .nz-marke { flex: none; }
.nz-leiste .nz-knoepfe { flex: none; margin: 0; flex-wrap: nowrap; }
.nz-leiste .nz-knoepfe .btn { min-height: 36px; padding: 0 14px; font-size: 13px; }

 
.nz-wechsel .main, .nz-wechsel .main-header, .nz-wechsel .sidebar, .nz-wechsel .card, .nz-wechsel .kpi-card, .nz-wechsel .btn-primary, .nz-wechsel .nav-item { transition: background 0.9s ease, border-color 0.9s ease, box-shadow 0.9s ease, color 0.9s ease !important; }
.nz-meldung { position: fixed; z-index: 10021; left: 50%; bottom: 28px; transform: translate(-50%, 24px); opacity: 0; display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 24px); padding: 12px 16px; font-size: 13px; color: var(--color-text); background: var(--color-card); border: 1px solid var(--color-border-light, var(--color-border)); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.nz-meldung.nz-da { opacity: 1; transform: translate(-50%, 0); transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.nz-meldung button { flex: none; background: none; border: 0; padding: 4px 2px; font: inherit; font-weight: 700; color: var(--color-accent); cursor: pointer; }

 
@media (max-width: 768px) {
  .nz h2 { font-size: 30px; }
  .nz p { font-size: 15px; }
  .nz-knoepfe { flex-direction: column; }
  .nz-knoepfe .btn { width: 100%; min-height: 48px; justify-content: center; }
  .nz-vorschau { width: 100%; aspect-ratio: auto; padding: 12px; }
  .nz-k { padding: 8px 10px; }

  .nz-vorhang .nz-flaeche { flex-direction: column-reverse; align-items: stretch; gap: 18px; padding: calc(env(safe-area-inset-top, 0px) + 22px) 18px 22px; max-height: 90dvh; overscroll-behavior: contain; }
  .nz-schild .nz-flaeche { top: calc(env(safe-area-inset-top, 0px) + 40px); width: calc(100% - 24px); margin-left: calc((100% - 24px) / -2); padding: 18px; transform-origin: 50% -40px; max-height: calc(100dvh - 60px); overflow-y: auto; overscroll-behavior: contain; }
  .nz-schild .nz-vorschau { margin-bottom: 14px; }
  .nz-schild h2 { font-size: 26px; }
  .nz-buehne h2 { font-size: 30px; }
  .nz-buehne .nz-folge, .nz-buehne .nz-knoepfe { width: 100%; }
  .nz-buehne .nz-vorschau { margin-bottom: 16px; }

  .nz-leiste .nz-flaeche { left: 0; padding: 12px 14px 14px; }
  .nz-leiste .nz-folge { flex-wrap: wrap; gap: 8px 10px; }
  .nz-leiste h2 { font-size: 15px; white-space: normal; flex: 1 1 60%; }
  .nz-leiste p { flex: 1 1 100%; }
  .nz-leiste .nz-knoepfe { flex: 1 1 100%; flex-direction: row; gap: 8px; }
  .nz-leiste .nz-knoepfe .btn { flex: 1; min-height: 44px; }

  .nz-meldung { bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); }
}

 
@media (prefers-reduced-motion: reduce) {
  .nz-flaeche, .nz-vorschau, .nz-folge > *, .nz-buehne .nz-schleier::before { transform: none !important; animation: none !important; transition: opacity 0.4s ease !important; transition-delay: 0s !important; }
  .nz-flaeche { opacity: 0; }
  .nz-da .nz-flaeche, .nz-da .nz-vorschau, .nz-da .nz-folge > * { opacity: 1 !important; }
  .nz-raus .nz-flaeche { opacity: 0 !important; }
  .nz-marke::before, .nz-vorschau::after { animation: none; }
}
