And why do they say ‘right?’ every time? Because without it my ‘ja’ does not mean ‘yes, sir’, but rather ‘I hear you, go on’. So, same as everywhere else.
The answer to 'right?' usually is 'yeah', to indicate: yes, I agree.
So 'Ja? Ja.' in German
can be translated as
'Right? Yeah.' in English.