One thing upfront:
I am not an electrician and what I write here is not an instruction or anything similar! I can only strongly recommend you act very, very cautiously and, if in doubt, ALWAYS consult a REAL electrician!!!
When I look at the other picture you sent, I interpret:
N - blue
L - black (the single one) (here there should ALWAYS be 230V regardless of the switch position)
L_Hoch - phase for up
L_Runter - phase for down
You have to connect the Shelly 2.5 as follows:
N = N (blue)
L = permanent phase (in your case probably black where there is ALWAYS 230V)
SW1 = phase coming from the switch for up
O1 = phase going to the roller shutter for up
SW2 = phase coming from the switch for down
O1 = phase going to the roller shutter for down
In the first step, check whether 230V is present on the permanent phase. To do this, connect this and neutral to the Shelly and see if it turns on. (Always turn the fuse off/on)
You can check if it is on by seeing if you find a Shelly WLAN
Then connect the phases coming from the switch and going towards the roller shutter...
(again, always WITHOUT the fuse inserted and NO POWER on it)
If everything is connected correctly, download the Shelly app and integrate the Shelly into the WLAN.
Then set the button type to Momentary and configure and calibrate the Input Buttons Mode according to the switch (or push button)... done.
(Don't forget the firmware upgrade)