/* Naitec – Vollbild mit Zoom (liegt direkt im <body>) */
@font-face { font-family: "NB Archivo"; src: url("fonts/archivo-variable.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "NB Mono"; src: url("fonts/spline-sans-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
.nb-lb { --nb-bg1: #07101B; --nb-ink: #EEF3F8; --nb-mood: #59b6ff; position: fixed; inset: 0; z-index: 2147483000; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; color: var(--nb-ink); background-color: var(--nb-bg1); background-image: radial-gradient(55% 55% at 50% 46%, color-mix(in srgb, var(--nb-mood) 14%, transparent), transparent 72%); -webkit-font-smoothing: antialiased; font-family: "NB Archivo", system-ui, sans-serif; line-height: 1.4; }
.nb-lb *, .nb-lb *::before, .nb-lb *::after { box-sizing: border-box; }
.nb-lb.nb-lb button { background: none; border: 0; box-shadow: none; color: inherit; font: inherit; padding: 0; margin: 0; border-radius: 0; min-height: 0; line-height: 1.2; cursor: pointer; text-transform: none; letter-spacing: normal; width: auto; }
.nb-lb.nb-lb button:focus-visible { outline: 2px solid var(--nb-mood); outline-offset: 2px; }
.nb-lb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 6px 22px; }
.nb-lb .nb-lb-title { margin: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 15px; color: var(--nb-ink); }
.nb-lb-title strong { font: 800 22px/1.1 "NB Archivo", system-ui, sans-serif; font-stretch: 72%; }
.nb-lb-label { font: 500 12px/1.2 "NB Mono", ui-monospace, monospace; color: color-mix(in srgb, var(--nb-ink) 65%, transparent); letter-spacing: .04em; }
.nb-lb.nb-lb .nb-lb-x { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--nb-ink) 18%, transparent); flex: none; }
.nb-lb.nb-lb .nb-lb-x:hover { border-color: var(--nb-mood); }
.nb-lb-x svg { width: 20px; height: 20px; }
.nb-lb-view { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; cursor: zoom-in; user-select: none; -webkit-user-select: none; padding: 8px 64px; }
.nb-lb.is-zoomed .nb-lb-view { cursor: grab; }
.nb-lb.is-zoomed .nb-lb-view:active { cursor: grabbing; }
.nb-lb .nb-lb-img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transform-origin: center center; transition: opacity .2s ease; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); -webkit-user-drag: none; border-radius: 0; box-shadow: none; }
.nb-lb.nb-lb .nb-lb-arrow { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--nb-bg1) 60%, transparent); border: 1px solid color-mix(in srgb, var(--nb-ink) 18%, transparent); z-index: 2; }
.nb-lb.nb-lb .nb-lb-arrow:hover { border-color: var(--nb-mood); }
.nb-lb.nb-lb .nb-lb-arrow[data-d="-1"] { left: 14px; }
.nb-lb.nb-lb .nb-lb-arrow[data-d="1"] { right: 14px; }
.nb-lb-arrow svg { width: 22px; height: 22px; }
.nb-lb-bottom { display: grid; justify-items: center; gap: 6px; padding: 6px 12px 14px; }
.nb-lb-thumbs { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.nb-lb-thumbs::-webkit-scrollbar { display: none; }
.nb-lb.nb-lb .nb-lb-thumbs button { flex: none; display: grid; justify-items: center; gap: 4px; width: 92px; padding: 6px 6px 5px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--nb-ink) 14%, transparent); opacity: .7; transition: opacity .2s ease, border-color .2s ease, background .2s ease; }
.nb-lb.nb-lb .nb-lb-thumbs button:hover { opacity: 1; }
.nb-lb.nb-lb .nb-lb-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--nb-mood); background: color-mix(in srgb, var(--nb-mood) 16%, transparent); }
.nb-lb .nb-lb-thumbs img { width: 78px; height: 40px; object-fit: contain; display: block; border-radius: 0; box-shadow: none; }
.nb-lb .nb-lb-thumbs img.is-card { object-fit: cover; border-radius: 6px; }
.nb-lb-thumbs span { font: 500 11px/1.2 "NB Mono", ui-monospace, monospace; color: color-mix(in srgb, var(--nb-ink) 75%, transparent); white-space: nowrap; }
.nb-lb .nb-lb-hint { margin: 0; font: 500 11px/1.3 "NB Mono", ui-monospace, monospace; color: color-mix(in srgb, var(--nb-ink) 50%, transparent); }
@media (max-width: 640px) {
	.nb-lb-top { padding: 10px 10px 4px 16px; }
	.nb-lb-title strong { font-size: 19px; }
	.nb-lb-view { padding: 4px 8px; }
	.nb-lb.nb-lb .nb-lb-arrow { display: none; }
	.nb-lb.nb-lb .nb-lb-thumbs button { width: 74px; }
	.nb-lb .nb-lb-thumbs img { width: 62px; height: 32px; }
}
@media (hover: none) { .nb-lb .nb-lb-hint { visibility: hidden; } }


/* helle Variante (Produktübersicht) */
.nb-lb.nb-lb--light { --nb-bg1: #FFFFFF; --nb-ink: #16202E; --nb-mood: #2B8CEB; background-image: none; font-family: inherit; }
.nb-lb--light .nb-lb-img { filter: drop-shadow(0 24px 30px rgba(15,30,50,.14)); }
.nb-lb--light .nb-lb-title strong { font-family: inherit; font-weight: 700; font-size: 20px; line-height: 1.2; font-stretch: normal; }
.nb-lb--light .nb-lb-label, .nb-lb--light .nb-lb-thumbs span, .nb-lb--light .nb-lb-hint { font-family: inherit; letter-spacing: 0; }
.nb-lb.nb-lb--light .nb-lb-arrow { background: #fff; box-shadow: 0 4px 14px rgba(15,30,50,.1); }
.nb-lb.nb-lb--light .nb-lb-thumbs button { background: #F3F6FA; border-color: transparent; opacity: 1; }
.nb-lb.nb-lb--light .nb-lb-thumbs button[aria-current="true"] { border-color: var(--nb-mood); background: #E6F1FD; }
