To find the enclosed areas between the pipe path, I had to increase the whole grid by a factor of two, so that the "running between the pipes" works as expected.
For the final result, the grid is scaled down again (throwing away all entries with odd coordinates).
Redditor u/Boojum has crafted a nice surprise input.
When visualized, it looks like this: