Dab the goulash dry and possibly cut it a little smaller. Peel and chop the onions. Heat the lard in a casserole. Fry the goulash in portions over high heat until brown all around. Season each portion with salt and pepper.
Finally add onions and fry them.
Preheat oven (electric cooker: 200°C/circulating air: 175°C/gas: level 3). Put all meat back into the pot. Stir in tomato paste and briefly sauté. Sprinkle with flour and paprika and sauté briefly while stirring.
Deglaze with approx. 1 l water. Bring to the boil, stir in broth and braise covered in the hot oven for approx. 45 minutes.
In the meantime drain sauerkraut well. Peel and wash the potatoes, slice or slice them thinly.
After 45 minutes mix the sauerkraut with the goulash. Place the potato slices in 2-3 layers on the goulash. Pour 1/3 cream over each layer and season with salt and pepper.
Cover the pot again. Braise in the oven at the same temperature for about 1 hour.
Remove the lid of the pot. Spread butter in pieces on the potatoes and bake without lid for another 45-60 minutes until golden brown.