/* Naitec Produktbühne – Schriften lokal (DSGVO), keine externen Quellen. */
@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; }
@property --nb-mood { syntax: "<color>"; inherits: true; initial-value: #59b6ff; }

.nb-buehne {
	--nb-bg1: #07101B;
	--nb-bg2: #0E1F33;
	--nb-ink: #EEF3F8;
	--nb-ink-2: color-mix(in srgb, var(--nb-ink) 62%, transparent);
	--nb-rule: color-mix(in srgb, var(--nb-ink) 12%, transparent);
	--nb-chip: color-mix(in srgb, var(--nb-ink) 6%, transparent);
	--nb-display: "NB Archivo", "Arial Narrow", "Roboto Condensed", sans-serif;
	--nb-mono: "NB Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	overflow: hidden;
	color: var(--nb-ink);
	background:
		radial-gradient(50% 55% at 50% 42%, color-mix(in srgb, var(--nb-mood) 18%, transparent), transparent 72%),
		linear-gradient(180deg, var(--nb-bg1) 0%, var(--nb-bg2) 100%);
	transition: --nb-mood 0.9s ease;
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
.nb-buehne *, .nb-buehne *::before, .nb-buehne *::after { box-sizing: border-box; }
.nb-buehne p, .nb-buehne h2, .nb-buehne h3, .nb-buehne dl, .nb-buehne dd { margin: 0; }
.nb-buehne [hidden], .nb-single [hidden] { display: none !important; }

/* Theme- und Elementor-Buttonstile neutralisieren */
.nb-buehne.nb-buehne button {
	background: none; border: 0; box-shadow: none; color: inherit; font: inherit; letter-spacing: normal; width: auto;
	text-transform: none; text-decoration: none; padding: 0; margin: 0; border-radius: 0; min-height: 0; line-height: 1.2; cursor: pointer;
}
.nb-buehne.nb-buehne button:hover, .nb-buehne.nb-buehne button:focus { background-color: transparent; box-shadow: none; color: inherit; text-decoration: none; }
.nb-buehne :focus-visible { outline: 2px solid var(--nb-mood); outline-offset: 3px; border-radius: 8px; }

.nb-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 40px 24px 28px; }
.nb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.nb-buehne .nb-title { font: 800 clamp(26px, 3.6vw, 40px)/1 var(--nb-display); font-stretch: 72%; color: var(--nb-ink); letter-spacing: 0; }
.nb-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--nb-chip); border: 1px solid var(--nb-rule); margin-left: auto; }
.nb-buehne.nb-buehne .nb-seg button { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--nb-ink-2); }
.nb-buehne.nb-buehne .nb-seg button[aria-pressed="true"], .nb-buehne.nb-buehne .nb-seg button[aria-pressed="true"]:hover { background: var(--nb-ink); color: var(--nb-bg1); }

/* Raster: Info · 3D-Bühne · Daten, darunter die Geräteleiste */
.nb-grid { display: grid; gap: 16px 32px; grid-template-columns: minmax(230px, 270px) minmax(0, 1fr) minmax(210px, 240px); grid-template-areas: "info stage specs" "nav nav nav"; align-items: center; }
.nb-info { grid-area: info; display: flex; flex-direction: column; gap: 12px; min-width: 0; position: relative; z-index: 2; }
.nb-stage { grid-area: stage; position: relative; height: clamp(320px, 36vw, 470px); min-width: 0; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline-offset: -2px; border-radius: 20px; }
.nb-stage:active { cursor: grabbing; }
.nb-specs { grid-area: specs; display: grid; gap: 6px; min-width: 0; position: relative; z-index: 2; }
.nb-nav { grid-area: nav; display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--nb-rule); padding-top: 16px; min-width: 0; position: relative; z-index: 2; }

.nb-buehne.nb-md .nb-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "stage stage" "nav nav" "info specs"; align-items: start; }
.nb-buehne.nb-md .nb-nav { flex-wrap: wrap; }
.nb-buehne.nb-md .nb-filter { flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.nb-buehne.nb-md .nb-filter::-webkit-scrollbar { display: none; }
.nb-buehne.nb-buehne.nb-md .nb-filter button { flex: none; }
.nb-buehne.nb-md .nb-strip-row { flex: 1 1 100%; }
.nb-buehne.nb-sm .nb-inner { padding: 24px 16px 20px; }
.nb-buehne.nb-sm .nb-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "nav" "info" "specs"; gap: 14px; }
.nb-buehne.nb-sm .nb-stage { height: clamp(230px, 62vw, 300px); }
.nb-buehne.nb-sm .nb-nav { padding-top: 12px; gap: 10px; }
.nb-buehne.nb-sm .nb-arrow { display: none !important; }
.nb-buehne.nb-sm .nb-specs { border-top: 1px solid var(--nb-rule); padding-top: 4px; }

/* Info */
.nb-eyebrow { font: 500 11px/1.3 var(--nb-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--nb-mood); }
.nb-buehne .nb-name { font: 800 clamp(40px, 5vw, 60px)/0.92 var(--nb-display); font-stretch: 68%; color: var(--nb-ink); letter-spacing: 0; text-wrap: balance; }
.nb-text { color: var(--nb-ink-2); font-size: 15px; max-width: 36ch; }
.nb-variants { display: flex; flex-wrap: wrap; gap: 6px; }
.nb-buehne.nb-buehne .nb-variants button { font: 500 12px/1 var(--nb-mono); padding: 8px 11px; border-radius: 9px; border: 1px solid var(--nb-rule); color: var(--nb-ink-2); }
.nb-buehne.nb-buehne .nb-variants button[aria-pressed="true"] { border-color: var(--nb-mood); color: var(--nb-ink); background: color-mix(in srgb, var(--nb-mood) 14%, transparent); }
.nb-price { display: grid; gap: 4px; padding-top: 4px; }
.nb-price-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nb-amount { font: 500 30px/1.05 var(--nb-mono); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.nb-amount small { font-size: 15px; margin-left: 4px; }
.nb-pricenote { font-size: 12px; color: var(--nb-ink-2); line-height: 1.45; }
.nb-buehne .nb-pricenote a { color: var(--nb-ink); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.nb-eclass { --ec: #50B848; display: inline-flex; align-items: center; height: 24px; padding: 0 15px 0 8px; font: 800 13px/1 var(--nb-display); font-stretch: 100%; color: #fff; background: var(--ec); clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 0 100%); }
.nb-eclass.is-light { color: #1b1b1b; }
.nb-eclass[data-k="A+++"] { --ec: #00A651; } .nb-eclass[data-k="A++"] { --ec: #50B848; }
.nb-eclass[data-k="A+"] { --ec: #BFD730; color: #1b1b1b; } .nb-eclass[data-k="A"] { --ec: #FFF200; color: #1b1b1b; }
.nb-buehne .nb-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; align-self: flex-start; padding: 13px 22px; border-radius: 999px; background: var(--nb-ink); color: var(--nb-bg1); font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .2s ease, background .3s ease; }
.nb-buehne .nb-cta:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--nb-ink) 85%, #fff); color: var(--nb-bg1); }
.nb-cta svg { width: 16px; height: 16px; flex: none; }
.nb-buehne.nb-sm .nb-cta { align-self: stretch; }

/* 3D-Bühne */
.nb-buehne .nb-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.nb-photo-wrap { position: absolute; inset: 6% 4% 10%; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.nb-buehne .nb-photo { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 26px 24px rgba(0,0,0,.4)); -webkit-user-drag: none; border-radius: 0; box-shadow: none; }
.nb-buehne .nb-photo.is-card { border-radius: 16px; filter: none; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.nb-nophoto { font: 500 12px var(--nb-mono); color: var(--nb-ink-2); }
.nb-hint { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font: 500 11px/1 var(--nb-mono); color: var(--nb-ink-2); pointer-events: none; padding: 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--nb-bg1) 55%, transparent); }
.nb-hint svg { width: 18px; height: 18px; }
.nb-viewseg { position: absolute; right: 8px; bottom: 6px; display: inline-flex; padding: 2px; border-radius: 999px; border: 1px solid var(--nb-rule); background: color-mix(in srgb, var(--nb-bg1) 55%, transparent); }
.nb-buehne.nb-buehne .nb-viewseg button { padding: 5px 10px; border-radius: 999px; font: 500 11px/1 var(--nb-mono); color: var(--nb-ink-2); }
.nb-buehne.nb-buehne .nb-viewseg button[aria-pressed="true"], .nb-buehne.nb-buehne .nb-viewseg button[aria-pressed="true"]:hover { background: var(--nb-ink); color: var(--nb-bg1); }
.nb-buehne.nb-sm .nb-hint { left: 8px; transform: none; }

/* Daten */
.nb-dl { display: grid; }
.nb-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--nb-rule); font-size: 13.5px; }
.nb-row dt { color: var(--nb-ink-2); }
.nb-row dd { font: 500 13.5px/1.3 var(--nb-mono); text-align: right; font-variant-numeric: tabular-nums; }
.nb-row dd small { font-size: 11px; color: var(--nb-ink-2); margin-left: 3px; }
.nb-buehne.nb-buehne .nb-more, .nb-buehne.nb-buehne .nb-more:hover, .nb-buehne.nb-buehne .nb-more:focus { justify-self: start; font-size: 13px; font-weight: 600; color: var(--nb-mood); padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }

/* Geräteleiste */
.nb-filter { display: flex; flex-wrap: wrap; gap: 4px; flex: none; }
.nb-buehne.nb-buehne .nb-filter button { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--nb-ink-2); }
.nb-buehne.nb-buehne .nb-filter button[aria-pressed="true"], .nb-buehne.nb-buehne .nb-filter button[aria-pressed="true"]:hover { background: var(--nb-chip); color: var(--nb-ink); box-shadow: inset 0 0 0 1px var(--nb-rule); }
.nb-strip-row { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.nb-strip { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 3px 2px; flex: 1; min-width: 0; }
.nb-strip::-webkit-scrollbar { display: none; }
.nb-buehne.nb-buehne .nb-arrow { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--nb-rule); display: grid; place-items: center; }
.nb-buehne.nb-buehne .nb-arrow:hover { border-color: var(--nb-mood); }
.nb-arrow svg { width: 15px; height: 15px; }
.nb-buehne.nb-buehne .nb-thumb { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--nb-rule); text-align: left; transition: border-color .3s ease, background .3s ease; }
.nb-buehne.nb-buehne .nb-thumb:hover { border-color: color-mix(in srgb, var(--nb-mood) 60%, transparent); }
.nb-buehne.nb-buehne .nb-thumb[aria-current="true"] { border-color: var(--nb-mood); background: color-mix(in srgb, var(--nb-mood) 14%, transparent); }
.nb-thumb-img { width: 46px; height: 28px; display: flex; align-items: center; justify-content: center; flex: none; }
.nb-buehne .nb-thumb-img img { max-width: 46px; max-height: 28px; width: auto; height: auto; object-fit: contain; border-radius: 0; }
.nb-buehne .nb-thumb-img img.is-card { border-radius: 6px; width: 46px; height: 28px; object-fit: cover; }
.nb-thumb-name { font: 700 13px/1 var(--nb-display); font-stretch: 85%; white-space: nowrap; }

/* Ersatz, bis das Skript die Breite gemessen hat */
@media (max-width: 1040px) {
	.nb-buehne:not(.nb-sized) .nb-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "stage stage" "nav nav" "info specs"; align-items: start; }
	.nb-buehne:not(.nb-sized) .nb-nav { flex-wrap: wrap; }
	.nb-buehne:not(.nb-sized) .nb-filter { flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.nb-buehne:not(.nb-sized) .nb-filter::-webkit-scrollbar { display: none; }
	.nb-buehne.nb-buehne:not(.nb-sized) .nb-filter button { flex: none; }
	.nb-buehne:not(.nb-sized) .nb-strip-row { flex: 1 1 100%; }
}
@media (max-width: 680px) {
	.nb-buehne:not(.nb-sized) .nb-inner { padding: 24px 16px 20px; }
	.nb-buehne:not(.nb-sized) .nb-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "nav" "info" "specs"; gap: 14px; }
	.nb-buehne:not(.nb-sized) .nb-stage { height: clamp(230px, 62vw, 300px); }
	.nb-buehne:not(.nb-sized) .nb-nav { padding-top: 12px; gap: 10px; }
	.nb-buehne:not(.nb-sized) .nb-arrow { display: none !important; }
	.nb-buehne:not(.nb-sized) .nb-specs { border-top: 1px solid var(--nb-rule); padding-top: 4px; }
}
@media (max-width: 680px) {
	.nb-buehne:not(.nb-sized) .nb-cta { align-self: stretch; }
}
@media (max-width: 680px) {
	.nb-buehne:not(.nb-sized) .nb-hint { left: 8px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.nb-buehne, .nb-buehne * { transition-duration: 0.01ms !important; }
	.nb-strip { scroll-behavior: auto; }
}

/* Geräte-Unterseite */
.nb-single { --nb-display: "NB Archivo", "Arial Narrow", sans-serif; --nb-mono: "NB Mono", ui-monospace, monospace; display: grid; gap: 28px; margin-bottom: 32px; }
.nb-single-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 760px) { .nb-single-top { grid-template-columns: minmax(0, 1fr); } }
.nb-single-photo { background: radial-gradient(60% 60% at 50% 45%, #e8f1fb, #f6f8fb 70%); border-radius: 20px; padding: 24px; display: grid; place-items: center; min-height: 260px; }
.nb-single-photo img { max-height: 360px; width: auto; object-fit: contain; }
.nb-single-info { display: grid; gap: 12px; }
.nb-single .nb-eyebrow { color: #1c6fc2; }
.nb-single-price { font: 500 30px/1.1 var(--nb-mono, monospace); }
.nb-single-price small { display: block; font-size: 13px; opacity: .7; margin-top: 4px; font-family: inherit; }
.nb-single-net { font-size: 14px; opacity: .75; }
.nb-single-label { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.nb-single .nb-cta-light { display: inline-block; padding: 13px 22px; border-radius: 999px; background: #0c1726; color: #fff; text-decoration: none; font-weight: 700; }
.nb-single-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.nb-single-table th, .nb-single-table td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; text-align: left; }
.nb-single-table th { font-weight: 500; opacity: .75; width: 45%; }
.nb-single-note { font-size: 13px; opacity: .75; }
