.gateway-map{padding:26px 30px 18px;border:1px solid #304046;border-radius:12px;background:radial-gradient(ellipse at 50% 50%,#19303455,transparent 60%),#101a1e}.flow-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:22px;border-bottom:1px solid #ffffff12}.flow-toolbar>span{font:10px Consolas,monospace;letter-spacing:1.5px;color:var(--accent)}.flow-control{display:flex;gap:7px;align-items:center;font-size:11px;color:#b6c2c4;cursor:pointer}.flow-control input{accent-color:#c98c58;width:14px;height:14px}.flow-column-headings{display:grid;grid-template-columns:26% 48% 26%;margin-top:25px;font-size:12px;color:#bac5c8}.flow-column-headings span:nth-child(2){text-align:center}.flow-canvas{position:relative;height:400px}.flow-wires{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.flow-wire-base path{fill:none;stroke:#c98c5866;stroke-width:1.5;vector-effect:non-scaling-stroke}.flow-wire-pulse path{fill:none;stroke:#e8ac79;stroke-width:2;stroke-dasharray:5 14;vector-effect:non-scaling-stroke;animation:flow-travel 2s linear infinite}.flow-wire-pulse path:nth-child(-n+2){stroke:#69c9be}.flow-node{position:absolute;display:flex;align-items:center;gap:12px;border:1px solid #304249;border-radius:8px;padding:14px;background:linear-gradient(120deg,#1b2c32,#142128);width:26%;height:76px}.flow-node strong{display:block;font-size:14px;font-weight:500;line-height:1.4;color:#edf2ef}.flow-node small{display:block;font-size:10px;color:#a6b9bf;line-height:1.5;margin-top:5px}.flow-icon{display:grid;place-items:center;width:32px;height:36px;border-radius:6px;background:#b8753030;color:#e8ac79;flex-shrink:0}.flow-icon svg{width:20px;height:20px}.source-can{left:0;top:67px}.source-modbus{left:0;top:257px}.output-web{right:0;top:12px}.output-mqtt{right:0;top:112px}.output-modbus{right:0;top:212px}.output-json{right:0;top:312px}.flow-hub{position:absolute;left:40%;top:108px;width:20%;height:184px;border:1px solid #c98c58;border-radius:13px;background:#10171b;box-shadow:0 0 40px #c98c5812;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.flow-hub img{width:55px;height:auto;margin-bottom:8px}.flow-hub strong{font-size:16px;font-weight:500;color:#f4f1ea}.flow-hub>span{font-size:10px;color:#bac5c8}.flow-hub small{font-size:10px;line-height:1.6;color:#78cbbd;margin-top:10px}.flow-caption{font-size:12px;color:#a6b9bf;text-align:center;margin:10px 0 0}.gateway-map:has(.flow-control input:not(:checked)) .flow-wire-pulse path{animation-play-state:paused;opacity:0}.motion-paused .flow-wire-pulse path{animation:none}@keyframes flow-travel{to{stroke-dashoffset:-38}}@media(max-width:1000px){.gateway-map{padding:22px 18px}.flow-node{gap:7px;padding:10px}.flow-node strong{font-size:12px}.flow-node small{font-size:9px}.flow-icon{width:25px}.flow-icon svg{width:17px}}@media(max-width:760px){.gateway-map{padding:20px 16px}.flow-toolbar{flex-wrap:wrap;padding-bottom:16px}.flow-toolbar>span{font-size:9px}.flow-column-headings,.flow-wires{display:none}.flow-canvas{height:auto;display:flex;flex-direction:column;align-items:stretch;padding-top:22px}.flow-node{position:static;width:100%;height:auto;min-height:77px;padding:12px;gap:12px}.flow-node strong{font-size:14px}.flow-node small{font-size:11px}.flow-icon{width:32px}.flow-sources,.flow-outputs{display:grid;grid-template-columns:1fr;gap:10px}.flow-sources:before{content:'Datenquellen';font-size:12px;color:#a6b9bf}.flow-outputs:before{content:'Datenausgänge';font-size:12px;color:#a6b9bf}.flow-hub{position:relative;inset:auto;width:190px;height:184px;margin:50px auto}.flow-hub:before,.flow-hub:after{content:'↓';position:absolute;left:50%;transform:translateX(-50%);height:35px;color:#c98c58;font-size:24px}.flow-hub:before{top:-43px}.flow-hub:after{bottom:-40px}.flow-caption{margin-top:22px}.flow-control{display:none}}
@media(prefers-reduced-motion:reduce){.flow-wire-pulse path{animation:none}.flow-control{display:none}}

/* Visible animated data packets and a gently pulsing gateway. */
.flow-wire-pulse{opacity:.35}.flow-hub{animation:gateway-receive 3s ease-in-out infinite}.gateway-map:has(.flow-control input:not(:checked)) .flow-packets{display:none}.gateway-map:has(.flow-control input:not(:checked)) .flow-hub{animation:none}.motion-paused .flow-packets{display:none}.motion-paused .flow-hub{animation:none}@keyframes gateway-receive{0%,100%{box-shadow:0 0 14px #c98c5814;border-color:#b37e50}50%{box-shadow:0 0 35px #c98c583c;border-color:#ffca98}}
@media(max-width:760px){.flow-control{display:flex}.flow-hub:before,.flow-hub:after{animation:mobile-data-travel 1.8s ease-in-out infinite}.flow-hub:after{animation-delay:.9s}.gateway-map:has(.flow-control input:not(:checked)) .flow-hub:before,.gateway-map:has(.flow-control input:not(:checked)) .flow-hub:after{animation:none}}@keyframes mobile-data-travel{0%{opacity:.2;transform:translate(-50%,-5px)}60%{opacity:1}100%{opacity:.2;transform:translate(-50%,5px)}}@media(prefers-reduced-motion:reduce){.flow-packets{display:none}.flow-hub,.flow-hub:before,.flow-hub:after{animation:none}.flow-control{display:none}}

.board-concept{margin:0}.board-concept img{width:100%;height:auto;display:block;border-radius:10px;border:1px solid #304046}.board-concept figcaption{font-size:11px;line-height:1.6;color:var(--muted);margin-top:12px}

/* Integrated PCB: live typography and animated connections, no concept sheet. */
.pcb-map{background:#101a1e}.pcb-hub{left:32%;top:12px;width:36%;height:380px;border:0;background:none;box-shadow:none;animation:none!important;justify-content:center;pointer-events:none}.pcb-hub img{width:100%;max-width:350px;height:auto;margin:0;mask-image:radial-gradient(ellipse at center,#000 58%,transparent 73%)}.pcb-hub strong{margin-top:-14px;font-size:19px}.pcb-hub>span{font-size:12px}.pcb-hub small{margin-top:6px;font-size:10px;color:#b5c4c8}.pcb-map .flow-node{z-index:2}.pcb-map .flow-wires{z-index:1}.pcb-hub{z-index:2}.pcb-map .flow-caption{margin-top:20px}@media(max-width:760px){.pcb-hub{position:relative;inset:auto;width:100%;height:auto;max-width:320px;margin:42px auto;padding:0 0 12px}.pcb-hub img{width:100%;max-width:280px}.pcb-hub strong{margin-top:-10px}.pcb-hub:before{top:-30px}.pcb-hub:after{bottom:-35px}}

/* Flat chip illustration, replacing the realistic PCB. */
.chip-hub{left:34%;top:92px;width:32%;height:270px;border:0;background:none;box-shadow:none;animation:none!important;z-index:2;justify-content:flex-start}.gateway-chip{position:relative;width:174px;height:174px;padding:16px;margin:0 auto 23px}.chip-face{position:relative;width:100%;height:100%;background:#172328;border:1px solid #c98c58;border-radius:7px;box-shadow:inset 0 0 0 6px #101a1e,0 0 25px #c98c5812;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.chip-face img{width:58px;height:auto;margin:0}.chip-face>span{font:8px Consolas,monospace;letter-spacing:1.5px;color:#c7aa8d}.chip-face>i{position:absolute;left:12px;top:12px;width:4px;height:4px;border-radius:50%;background:#c98c58}.chip-pins{position:absolute;background:repeating-linear-gradient(90deg,#c98c58 0 5px,transparent 5px 15px);width:110px;height:13px;left:32px}.pins-top{top:3px}.pins-bottom{bottom:3px}.pins-left,.pins-right{top:32px;left:3px;width:13px;height:110px;background:repeating-linear-gradient(0deg,#c98c58 0 5px,transparent 5px 15px)}.pins-right{left:auto;right:3px}.chip-hub>strong{font-size:18px}.chip-hub>span{font-size:11px;color:#b5c4c8}.chip-face{animation:chip-signal 3s ease-in-out infinite}@keyframes chip-signal{0%,100%{border-color:#b78354;box-shadow:inset 0 0 0 6px #101a1e,0 0 12px #c98c5810}50%{border-color:#f5bd86;box-shadow:inset 0 0 0 6px #101a1e,0 0 28px #c98c5835}}.gateway-map:has(.flow-control input:not(:checked)) .chip-face{animation:none}.motion-paused .chip-face{animation:none}@media(max-width:760px){.chip-hub{position:relative;inset:auto;width:100%;height:auto;margin:50px auto;padding:0}.gateway-chip{margin-bottom:16px}.chip-hub:before{top:-43px}.chip-hub:after{bottom:-40px}}@media(prefers-reduced-motion:reduce){.chip-face{animation:none}}
