Peel and chop the onions and garlic. Peel carrots and celery. Cut carrots into pieces. Wash and dice the celery. Dab meat dry and cut into cubes. Heat the fat in a roaster.
Fry the meat in portions for about 10 minutes. Remove the meat. Add celery, carrots, tomato paste, onions and garlic to the frying fat and fry briefly. Add meat again.
Deglaze with red wine, bring to the boil and simmer for about 3 minutes. Add 1 litre water and bay leaf, bring to the boil. Season vigorously with salt, pepper and sugar. Stew in a closed roaster for about 2 hours.
Meanwhile, for the crust, wash the rosemary, shake dry, remove all but one twig of the needles for garnishing and chop finely. Finely chop the almonds, mix with Panko, butter and rosemary, season with salt and pepper.
Peel and wash the potatoes and cut them into slices of about 2-3 mm. Cook the slices in boiling salted water for about 2 minutes. Drain, quench and let drain.
Season goulash with salt and pepper. Pour into an ovenproof casserole dish (approx. 20 x 25 cm, 5 cm deep). Spread the potato slices in flakes. Sprinkle with rosemary crumbs and drizzle with olive oil.
Bake in a preheated oven (electric cooker: 175 °C/ convection oven: 150 °C/ gas: see manufacturer) for approx. 20 minutes until golden brown. Remove the casserole from the oven and garnish with plucked rosemary.