/* Smartmacherei — Zusatz fuer /ratgeber/alte-knx-anlage-modernisieren: Hero-Topologie (Inline-SVG
   aus tools/ratgeber-knx/gen-hero.mjs), Bleibt/Kommt-dazu-Listen, Icon-Reihen und die drei Wege
   in die Zentrale. Farben: Bestand grau-blau, neu Markenblau #0a6fbe, KNX-Bus #13875c. */

.lp-hero .visual .knx-svg { width: 100%; height: auto; display: block; border-radius: 20px; box-shadow: 0 30px 60px rgba(4,40,70,.35); background: #fff; }
.knx-svg .t { font: 500 10px var(--font-body); fill: #0a2a3d; }
.knx-svg .h { font: 700 11px var(--font-display); fill: #0a2a3d; }
.knx-svg .s { font: 500 9px var(--font-body); fill: #5b7180; }
.knx-svg .tele { fill: none; stroke: #13875c; stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 5 400; animation: knx-tele 4.5s linear infinite; }
.knx-svg .lan { fill: none; stroke: #0a6fbe; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 3 60; animation: knx-lan 1.4s linear infinite; }
@keyframes knx-tele { to { stroke-dashoffset: -405; } }
@keyframes knx-lan { to { stroke-dashoffset: -63; } }

/* Karten: "kommt dazu" in Markenblau, Listen mit Icons */
.rg-duo .card.neu { border-color: rgba(10,111,190,.45); background: linear-gradient(180deg, rgba(10,111,190,.07), transparent); }
.rg-duo .card .knx-tag { display: inline-block; margin: 0 0 8px; font: 600 11px var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); background: var(--card-soft); border-radius: 100px; padding: 3px 9px; }
.rg-duo .card.neu .knx-tag, .rg-duo .card.win .knx-tag { color: var(--deep); background: rgba(10,111,190,.08); }
.article .knx-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; font-size: 15px; }
.article .knx-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; margin: 0; }
.knx-list svg { width: 24px; height: 24px; fill: none; stroke: var(--ink-soft); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card.neu .knx-list svg { stroke: var(--deep); }

/* Icon-Reihen (KNX 2005 vs. KNX mit Zentrale heute) */
.article .knx-icons { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; padding: 0; list-style: none; }
.article .knx-icons li { display: grid; justify-items: center; align-content: start; gap: 4px; width: 70px; margin: 0; font: 600 11px var(--font-body); color: var(--ink-soft); text-align: center; line-height: 1.2; }
.knx-icons span { width: 44px; height: 44px; border-radius: 12px; background: var(--card-soft); display: grid; place-items: center; }
.knx-icons svg { width: 24px; height: 24px; fill: none; stroke: var(--ink-soft); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card.win .knx-icons span { background: rgba(19,135,92,.12); }
.card.win .knx-icons svg { stroke: #13875c; }
.card.win .knx-icons li { color: var(--ink); }

/* Drei Wege in die Zentrale: Bus, Netzwerk, Funk */
.article .knx-wege { display: grid; gap: 10px; margin: 12px 0 22px; padding: 0; list-style: none; }
.article .knx-wege li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; margin: 0; }
.knx-wege .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.knx-wege .ic svg { width: 26px; height: 26px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.knx-wege .bus .ic { background: rgba(19,135,92,.12); } .knx-wege .bus svg { stroke: #13875c; }
.knx-wege .lan .ic { background: rgba(10,111,190,.10); } .knx-wege .lan svg { stroke: #0a6fbe; }
.knx-wege .funk .ic { background: rgba(201,131,0,.16); } .knx-wege .funk svg { stroke: #c98300; }
.knx-wege h3 { margin: 0 0 2px; font-size: 16px; }
.knx-wege p { margin: 0; font-size: 14px; }

@media (min-width: 720px) {
  .article .knx-wege { grid-template-columns: repeat(3, 1fr); }
  .article .knx-wege li { grid-template-columns: 1fr; align-content: start; }
}
@media (prefers-reduced-motion: reduce) { .knx-svg .tele, .knx-svg .lan { animation: none; } }
