For the hearty sauerkraut casserole, heat the oil and sauté the finely chopped onions until translucent. Add sauerkraut, tomato paste, juniper berries, bay leaf, caraway seeds, salt, pepper, paprika powder and beer and steam everything for about 20 minutes.
Then heat the oil and fry the diced pork shoulder all around.Boil, peel and dice the potatoes. Grease an ovenproof dish and layer the sauerkraut, meat and potatoes, the top layer should be sauerkraut.
Spread the finely chopped gherkins and breadcrumbs on top, place butter flakes on top and bake in the oven for about 30 minutes at 200°C.