Work the flour with butter into a crumbly mass in a bowl, then add 3 tablespoons of water and a pinch of salt and knead to form a soft dough. Shape it into a ball and leave it lightly ground under a bowl for 30 minutes.
Preheat the oven to 180 ° C fan oven. Grease a springform pan well.
Line the springform pan with the dough, prick the base several times with a fork and prebake for about 15 minutes.
Filling (prepare for the dough during the resting time):
Blanch the chard in salted water, drain, squeeze out and cut into strips. Finely chop the garlic clove. Coarsely chop the pine nuts.
Heat 2 tablespoons of olive oil and 1 teaspoon of butter in a pan, sauté the garlic, add the chard and fry until the liquid has evaporated.
Remove the pan from the heat and mix with the ricotta, the crumbled sheep`s cheese and the grated Parmesan, the egg and the pine nuts. Possibly add some sour cream. Season to taste with salt.
Put the mixture on the pre-baked base and bake for another 40 minutes. Serve warm.