Hi @Laurin,
You can change from a permit for Ausbilung (16a Aufenthaltsgesetz) to a permit for qualified work (18a Aufenthaltsgesetz). You need to find a job which requires a third-level university or vocational qualification. You also have to show you have a qualification and if necessary, have it recognised as applicable in Germany.
Best,
Éanna