/* Ergänzungen für die Netzwerktechnik-Plattform */
.fig { margin: 18px 0; text-align: center; }
.fig svg { width: 100%; max-width: 760px; height: auto; font-family: system-ui, "Segoe UI", sans-serif; }
.fig figcaption { font-size: .9rem; color: #666; margin-top: 6px; }
.fig text { fill: #222; }
.fig text.b { font-weight: 700; }
.fig .n { fill: #fff; stroke: #444; stroke-width: 1.5; }
.fig .o { fill: #f7b267; stroke: #b3621a; stroke-width: 1.5; }
.fig .c1 { fill: #eef3fb; stroke: #9db4d8; }
.fig .c2 { fill: #dde8f7; stroke: #9db4d8; }
.fig .c3 { fill: #cfe0f5; stroke: #6f93c7; stroke-width: 1.5; }
.fig .c4 { fill: #d7efd9; stroke: #5d9e63; stroke-width: 1.5; }
.fig .d { fill: #555; }
.fig .l { stroke: #555; stroke-width: 2; fill: none; }
.fig .lt { stroke: #333; stroke-width: 4; fill: none; }
.fig .hot { stroke: #e0662a; stroke-width: 4; }
.fig .ah { fill: #555; }
.fig .ring { fill: none; stroke: #333; stroke-width: 4; }
.fig .pk { fill: #ffe58a; stroke: #b39500; }
.fig .mantel { fill: #e9e9e9; stroke: #666; stroke-width: 2; }
.fig .schirm { fill: none; stroke: #888; stroke-width: 3; stroke-dasharray: 5 3; }
.fig .p0 { fill: #f39c12; } .fig .p1 { fill: #27ae60; } .fig .p2 { fill: #2e86de; } .fig .p3 { fill: #8e5a3c; }
.fig .geb { fill: #fafafa; stroke: #444; stroke-width: 2; }
.fig .pri { stroke: #e0662a; stroke-width: 7; } .fig .sek { stroke: #2e86de; stroke-width: 5; } .fig .ter { stroke: #27ae60; stroke-width: 2; }
.fig .rack { fill: none; stroke: #2e86de; stroke-width: 2; stroke-dasharray: 6 4; }
.tab { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: .95rem; }
.tab th, .tab td { border: 1px solid #ddd; padding: 6px 9px; text-align: left; vertical-align: top; }
.tab th { background: #f3f3f3; }
.tab-wrap, .card.lern { overflow-x: auto; }
.card.info { border-left: 6px solid #2e86de; background: #eef5fd; box-shadow: none; margin: 14px 0; }
.kapgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.kap { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 10px; background: #fff; border: 2px solid #eee; text-decoration: none; color: inherit; transition: border-color .15s; }
.kap:hover, .kap:focus { border-color: #f39200; }
.kap .nr { font-size: 1.6rem; font-weight: 800; color: #f39200; }
.kap small { color: #555; }
.kap .kp { margin-top: auto; font-weight: 700; font-size: .9rem; }
.blaettern { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* ===== Farbdesign Gruen-Weiss (ueberschreibt style.css) ===== */
:root {
  --salmon: #c8ecd4; --orange: #1a7f4b; --orange-dark: #12603a; --dark: #10301f; --light: #1d2b23;
  --lemon: #9fd8b3; --green: #1a7f4b; --night: #f4faf6;
  --bg: #f4faf6; --navy: #10301f; --blue: #1a7f4b; --blue-dark: #12603a; --teal: #4f6b5b;
  --text: #1d2b23; --muted: #5b6e63; --ok: #d6f2df; --bad: #fbe0e0; --link: #12603a;
}
body { background: #f4faf6; background-image: radial-gradient(circle at 1px 1px, #d9ecdf 1px, transparent 0); background-size: 22px 22px; color: var(--text); font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
.topbar { background: #0f5132; border-bottom: 0; box-shadow: 0 2px 10px rgba(15, 81, 50, .25); }
.brand, .brand span { color: #fff; }
.brand::before { background: #7dd3a0; }
.topbar nav a { color: #e8f6ee; background: rgba(255, 255, 255, .1); }
.topbar nav a:hover { background: rgba(255, 255, 255, .22); }
.topbar nav a.active { background: #fff; color: #0f5132; }
.topbar nav a.fortschritt { border: 1px solid rgba(255, 255, 255, .55); }
.hero { background: linear-gradient(120deg, #0f5132, #1a7f4b 65%, #2fa565); border-left: 0; border-radius: 14px; box-shadow: 0 12px 30px rgba(15, 81, 50, .25); }
.hero .tag { background: #fff; color: #0f5132; }
.card { border-radius: 12px; box-shadow: 0 4px 18px rgba(15, 81, 50, .08); border: 1px solid #dcefe3; }
.card.accent { border-left: 6px solid #1a7f4b; background: #f0faf3; }
.card.warn { border-left: 6px solid #6cc08e; background: #effaf2; border-top: 0; border-right: 0; border-bottom: 0; }
.card.info { border-left: 6px solid #2a9d8f; background: #eaf7f5; border-top: 0; border-right: 0; border-bottom: 0; }
.card h2 { color: #0f5132; }
.pill { background: #d6f2df; color: #0f5132; }
.toc { background: #fff; border: 1px solid #dcefe3; box-shadow: 0 4px 14px rgba(15, 81, 50, .08); }
.toc h4 { color: #1a7f4b; }
.toc a { color: #1d2b23; }
.toc a:hover { background: #e6f5eb; }
.toc a.active { background: #1a7f4b; color: #fff; }
.footer-note { color: #5b6e63; }
.footer-note a { color: #12603a; }
.tab th { background: #e6f5eb; color: #0f5132; }
.kap { border-color: #dcefe3; }
.kap:hover, .kap:focus { border-color: #1a7f4b; box-shadow: 0 6px 18px rgba(15, 81, 50, .15); }
.kap .nr { color: #1a7f4b; }
.fig .o { fill: #9fdcb5; stroke: #1a7f4b; }
.fig .hot { stroke: #1a7f4b; }
.fig .pri { stroke: #0f5132; }
