/* Ergänzung von SternLabor (tools/kugelbahn-uebernehmen.mjs): Weg zurück zur Experimentseite.
   Steht rechts im Header vor den Sprungmarken und bleibt auch auf dem Handy sichtbar, wo die Sprungmarken fehlen. */
.zurueck-sternlabor {
  flex-shrink: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 6px 0;
  color: var(--ink-soft);
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.zurueck-sternlabor:hover {
  color: var(--ink);
}

.zurueck-sternlabor:focus-visible {
  outline: 3px solid #d59a52;
  outline-offset: 4px;
  border-radius: 4px;
}

.zurueck-sternlabor svg {
  width: 0.8em;
  height: 0.8em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 520px) {
  .zurueck-sternlabor {
    font-size: 14px;
  }

  /* Platz für den Rückweg: Der Zusatz „ein Experiment“ am Schriftzug entfällt auf schmalen Bildschirmen */
  .wordmark__tag {
    display: none;
  }
}
