/* Codex · Ergänzung zu Design V2.1 · 24.10.2026.
   Nach start.css laden. Keine neue Farbpalette, keine Änderung der Originaldatei. */
.site-header .brand,
footer .brand {
  min-height: 44px;
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 0;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.legal-links a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 2px;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* Eine einzige Veröffentlichung bekommt die volle Zeile, ohne leere zweite Karte. */
.project-feed > .feed-card:only-child {
  grid-column: 1 / -1;
  grid-row: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.project-feed > .feed-card:only-child .feed-body {
  align-self: center;
}
.embedded-runtime {
  position: relative;
}
/* Der Laufzeit-Frame bleibt direktes Kind. Kein Wrapper mit unbestimmter Höhe. */
.embedded-runtime > iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Gehört in die Produkt-CSS, nicht nur in die lokale Prüfgestaltung. */
.prototype-offer .prototype-status {
  margin: 20px 0 0;
  max-width: 650px;
  font-size: 12px;
  line-height: 1.6;
}
.runtime-state {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 20px;
  padding: clamp(24px, 4vw, 48px);
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  overflow: auto;
}
.runtime-state[hidden] {
  display: none;
}
.runtime-state h3 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  max-width: 560px;
}
.runtime-state p {
  max-width: 460px;
  font-size: 14px;
  line-height: 1.6;
}
.runtime-state .runtime-state-note {
  font-size: 11px;
}
.runtime-loader {
  width: 46px;
  height: 46px;
  border: 2px solid var(--paper);
  border-top: 5px solid var(--lime);
  border-radius: 50%;
  animation: runtime-turn 1.8s linear infinite;
}
.runtime-state-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.runtime-state-actions .text-link {
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
}
@keyframes runtime-turn {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .runtime-loader { animation: none; }
}
@media (max-width: 720px) {
  .project-feed > .feed-card:only-child { grid-template-columns: minmax(0, 1fr); }
  .runtime-state { gap: 16px; padding: 24px 20px; }
  .runtime-state p { font-size: 12px; }
  .runtime-state h3 { font-size: 29px; }
}
