/* Seitenspezifisch: Inhaltsverzeichnis und Logo-Plaketten der Infrastruktur-Seite. Nur Tokens. */

.infra-section { scroll-margin-top: calc(var(--header-height) + 16px); }

.toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.toc a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
}
.toc a:hover { color: var(--accent); border-color: var(--accent); }
.toc span { color: var(--accent); }
@media (max-width: 860px) { .toc { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .toc { grid-template-columns: 1fr; } }

/* Logos einfarbig wie Schrift: dunkle Plakette, Logo als helle Silhouette (hell: dunkle Silhouette), voll deckend erst bei Hover. */
.logo-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.logo-row li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 8px 12px;
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  transition: border-color 160ms ease-out;
}
.logo-row li:hover { border-color: var(--line-strong); }
.logo-row img { display: block; height: 22px; width: auto; max-width: 130px; filter: brightness(0) invert(1); opacity: 0.72; transition: opacity 160ms ease-out; }
.logo-row li:hover img { opacity: 1; }
@media (prefers-color-scheme: light) { .logo-row img { filter: brightness(0); opacity: 0.62; } }

.infra-stack { display: grid; gap: 24px; align-content: start; }

/* Das Hero-Terminal ist hier breit (7/12): Topologie in Terminal-Schriftgröße statt im Kleindruck der Startseitenkarte. */
.page-hero .network-map { font-size: clamp(0.5625rem, 2.5vw, 0.875rem); }
.page-hero .term-body .network-caption { font-size: 0.75rem; }
