/* Einsatzbild für Kunden (ab 1.44.0-server.2) – NT-Farben: Navy, Oliv, Himmelblau. */
.nte-scene{--nte-navy:#00294b;--nte-olive:#c7ca66;--nte-sky:#669cca;--nte-soft:#e9f0f7;--nte-road:#081c2f;
 position:relative;overflow:hidden;border-radius:18px;margin:16px 0;color:#fff;color-scheme:only light;
 background:radial-gradient(90% 85% at 72% 92%,#14507f 0%,#06345d 45%,#00294b 75%);border-bottom:5px solid var(--nte-olive);
 box-shadow:0 14px 34px #00294b26;font-family:inherit;text-align:left}
.nte-head{position:relative;z-index:3;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px 20px;padding:22px 26px 0}
.nte-head>div:first-child{min-width:0}
.nte-kicker{display:block;font-size:11px;font-weight:750;letter-spacing:1.8px;color:var(--nte-olive)}
.nte-scene .nte-title{margin:6px 0 0;color:#e2ecf7;font-size:14px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
.nte-scene .nte-when{font-size:clamp(20px,2.4vw,27px);line-height:1.2;letter-spacing:-.4px;font-weight:750;color:#fff;margin:7px 0 3px;overflow-wrap:anywhere}
.nte-scene .nte-time{margin:0;color:#cfe0f2;font-size:14px;line-height:1.5}
.nte-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.nte-chip{display:inline-flex;align-items:center;gap:7px;border-radius:30px;padding:6px 12px;font-size:12px;font-weight:700;background:#ffffff1c;border:1px solid #ffffff33;color:#fff;white-space:nowrap}
.nte-chip.nte-count{background:var(--nte-olive);border-color:var(--nte-olive);color:var(--nte-navy)}
.nte-chip.nte-ok{background:#1c7a4e;border-color:#2c9a66}
.nte-chip.nte-warn{background:#fbebd7;border-color:#fbebd7;color:#8a4a08}
.nte-chip.nte-live{background:var(--nte-olive);border-color:var(--nte-olive);color:var(--nte-navy)}
.nte-chip.nte-live i{width:8px;height:8px;border-radius:50%;background:#1c7a4e;box-shadow:0 0 0 0 #1c7a4e88;animation:nte-pulse 1.8s ease-out infinite}

.nte-stage{position:relative;display:grid;grid-template-areas:"s";align-items:end;min-height:262px;padding:0 22px;margin-top:4px}
.nte-stage>.nte-vehicle,.nte-stage>.nte-crew{grid-area:s}
.nte-backdrop{position:absolute;left:0;bottom:58px;width:100%;height:180px;pointer-events:none;z-index:0}
.nte-road{position:absolute;left:0;right:0;bottom:0;height:72px;z-index:0;background:
 linear-gradient(#ffffff26,#ffffff26) top/100% 2px no-repeat,
 repeating-linear-gradient(90deg,var(--nte-olive) 0 34px,transparent 34px 68px) 0 26px/100% 3px no-repeat,var(--nte-road)}
.nte-vehicle{position:relative;z-index:1;justify-self:end;width:min(60%,520px);margin:0 0 34px}
.nte-truck-svg{display:block;width:100%;height:auto;overflow:visible}
.nte-crew{position:relative;z-index:2;justify-self:start;align-self:end;display:flex;flex-wrap:wrap;align-items:flex-start;gap:2px 16px;max-width:min(100%,620px);padding-bottom:8px}
.nte-person{margin:0;width:118px;text-align:center}
.nte-bust{position:relative;width:104px;height:116px;margin:0 auto}
.nte-face{position:absolute;z-index:2;left:50%;top:0;transform:translateX(-50%);width:80px;height:80px;border-radius:50%;object-fit:cover;background:var(--nte-soft);border:3px solid #fff;box-shadow:0 6px 16px #0006}
.nte-face.nte-ini,.nte-dot.nte-ini{display:flex;align-items:center;justify-content:center;font-weight:800;color:var(--nte-navy);letter-spacing:.5px}
.nte-face.nte-ini{font-size:26px}
.nte-lead .nte-face{border-color:var(--nte-olive)}
.nte-body{position:absolute;z-index:1;left:0;right:0;bottom:0;height:46px;border-radius:52px 52px 12px 12px;
 background:linear-gradient(90deg,transparent 0 21%,var(--nte-olive) 21% 29%,transparent 29% 71%,var(--nte-olive) 71% 79%,transparent 79%),
 linear-gradient(transparent 0 58%,#ffffffb3 58% 66%,transparent 66%),#123e69;box-shadow:inset 0 2px 0 #ffffff26}
.nte-lead .nte-body{background:linear-gradient(90deg,transparent 0 21%,#fff 21% 29%,transparent 29% 71%,#fff 71% 79%,transparent 79%),
 linear-gradient(transparent 0 58%,#ffffffb3 58% 66%,transparent 66%),#1d4f80}
.nte-person figcaption{margin-top:6px;padding:5px 6px 6px;border-radius:9px;background:#00294bd9;box-shadow:0 0 0 1px #ffffff14}
.nte-person figcaption b{display:block;font-size:13.5px;line-height:1.25;color:#fff;overflow-wrap:anywhere}
.nte-person figcaption small{display:block;margin-top:2px;font-size:11.5px;line-height:1.3;color:#c3d6ea;overflow-wrap:anywhere}
.nte-fn::before{content:" · "}
.nte-lead figcaption small{color:var(--nte-olive);font-weight:650}
.nte-scene .nte-pending{margin:0 0 26px;padding:12px 16px;border-radius:12px;background:#ffffff14;border:1px dashed #ffffff4d;color:#e2ecf7;font-size:14px;max-width:260px}
.nte-foot{position:relative;z-index:3;display:flex;flex-wrap:wrap;gap:6px 22px;padding:12px 26px 14px;background:#061f36;font-size:13px;color:#d4e3f2;line-height:1.45}
.nte-foot b{color:var(--nte-olive);font-weight:750;margin-right:6px;font-size:11px;letter-spacing:1.2px;text-transform:uppercase}

/* Einfahrt beim ersten Anzeigen, Rundumleuchte am Einsatztag. Ohne Bewegung bei reduzierter Animation. */
.nte-anim .nte-truck-svg{animation:nte-drive 1.25s cubic-bezier(.16,.8,.3,1) both}
.nte-anim .nte-wheel{transform-box:fill-box;transform-origin:center;animation:nte-spin .42s linear 3}
.nte-anim .nte-person{animation:nte-rise .5s ease-out both}
.nte-anim .nte-person:nth-child(2){animation-delay:.08s}.nte-anim .nte-person:nth-child(3){animation-delay:.16s}
.nte-anim .nte-person:nth-child(4){animation-delay:.24s}.nte-anim .nte-person:nth-child(n+5){animation-delay:.3s}
.nte-today .nte-glow{animation:nte-beacon 1.4s ease-in-out infinite}
@keyframes nte-drive{from{transform:translateX(-70%);opacity:0}35%{opacity:1}to{transform:none;opacity:1}}
@keyframes nte-spin{to{transform:rotate(360deg)}}
@keyframes nte-rise{from{transform:translateY(14px);opacity:0}to{transform:none;opacity:1}}
@keyframes nte-beacon{0%,100%{opacity:0}50%{opacity:.55}}
@keyframes nte-pulse{to{box-shadow:0 0 0 9px #1c7a4e00}}
@media (prefers-reduced-motion:reduce){.nte-scene *,.nte-scene{animation:none!important}}

/* Kompakte Zeile für zurückliegende Einsätze */
.nte-compact{display:flex;align-items:center;gap:12px 14px;flex-wrap:wrap;margin:12px 0;padding:12px 14px;border-radius:12px;background:#e9f0f7;color:#00294b;border-left:4px solid #c7ca66}
.nte-mini{width:52px;height:28px;flex:0 0 auto}
.nte-faces{display:flex;flex:0 0 auto}
.nte-dot{width:34px;height:34px;border-radius:50%;object-fit:cover;border:2px solid #fff;background:#fff;margin-left:-8px;font-size:12px;box-shadow:0 2px 6px #00294b1f}
.nte-faces>:first-child{margin-left:0}
.nte-ctext{min-width:0;flex:1 1 220px}
.nte-ctitle{display:block;font-size:11px;font-weight:750;letter-spacing:.6px;text-transform:uppercase;color:#4f6580;margin-bottom:2px;overflow-wrap:anywhere}
.nte-ctext b{display:block;font-size:13.5px;line-height:1.35;overflow-wrap:anywhere}
.nte-ctext small{display:block;font-size:12px;line-height:1.4;color:#4f6580;margin-top:2px;overflow-wrap:anywhere}

/* Telefon: Fahrzeug auf der Straße, Team darunter */
@media (max-width:640px){
 .nte-head{padding:18px 18px 0}
 .nte-chips{justify-content:flex-start}
 .nte-stage{display:block;min-height:0;padding:6px 0 0}
 .nte-backdrop{bottom:auto;top:0;height:112px}
 .nte-road{display:none}
 .nte-vehicle{width:auto;justify-self:stretch;margin:0;padding:8px 18px 14px}
 .nte-vehicle::before{content:"";position:absolute;z-index:-1;left:0;right:0;bottom:0;height:42px;background:
  linear-gradient(#ffffff26,#ffffff26) top/100% 2px no-repeat,
  repeating-linear-gradient(90deg,var(--nte-olive) 0 26px,transparent 26px 52px) 0 24px/100% 3px no-repeat,var(--nte-road)}
 .nte-crew{max-width:none;justify-self:stretch;width:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:8px 8px;padding:16px 12px 8px}
 .nte-person{width:auto}
 .nte-bust{width:78px;height:88px}
 .nte-face{width:62px;height:62px}
 .nte-face.nte-ini{font-size:21px}
 .nte-body{height:34px}
 .nte-person figcaption{padding:4px 4px 5px}
 .nte-person figcaption b{font-size:12.5px}
 .nte-person figcaption small{font-size:11px}
 .nte-fn{display:block}.nte-fn::before{content:none}
 .nte-pending{grid-column:1/-1;margin:0 4px 12px;max-width:none}
 .nte-foot{padding:12px 18px 14px;flex-direction:column}
}
