Use mobile internet though connected to WLAN
The solution was to let the Android device create a tethering Hotspot and make the PC/Pi connect to it instead. Then the Android device is able to connected to the Webserver on the PC/Pi while still beeing able to talk to the internet. Additionally the PC/Pi is able, too.