Put on a new chain, flip the sprocket. Your sprocket looks amazingly good for that distance and if your chain is worn. My sprocket was more worn than that when I finally flipped it.
Your chainring looks more worn than the sprocket does, that surprises me. I would replace the sprocket chainring at this time.
You might consider measuring your chain later. The cheap small chain checkers are not very accurate, but you can measure the length of an entire chain when it hangs from a hook. One link is a half inch when new, thus 100 links is 50 inches from center of pin to center of pin. If it is 50.5 inches, that is one percent elongation. I think on a Rohloff bike replacing the chain when you are a bit over one percent elongation is a good time to replace it.
EDIT: I made a correction above, I meant to suggest replacing the chainring, but used the word sprocket inadvertently.