But how was it in the end phase? Mostly the factories were bombed out,,so they did not produce new vehicles,which replaced the destroyed ones
This depends on what you call the end phase Nils. As you can see below that in 43 and 44 at the height of the allied bombing, German AFV production was at an all time high.
“Allied bombing failed in one major aspect and that is being the primary instrument in winning a war by destroying the enemy's war making ability.
The Combined Allied Bombing Offensive did hinder and interfere with German production and war aims but by far the biggest dividends came from concentrated attacks on transportation centers (railroad marshaling yards, bridges, and canals) and the sustained bombing of oil facilities. It helps to realize that 60% of the tonnage of bombs dropped on Germany were dropped during the last nine months of the war “
http://www.ww2guide.com/ 1943 1944 1945
Panther 1768 3777 439
Jagdpanther - 226 198
Tiger I 649 623
Tiger II 3 377 100
Jagdtiger 61 16
1941 1942 1943 1944 1945
Pz IV (long - - 870 3013 3126 385
StuG IV - - - 30 1006 105
Jagd IV - - - - - 769
Jagd IV/70 - - - - - 767 441
Sturm IV - - - - 66 215 17
Hummel - - - - 368 289 57
Hornisse - - - - 345 133 16
Mobelwagen - - - - - 205 35
Wirbelwind - - - - - 100 5
Ostwind - - - - - 15 28
http://www.battle-fleet.com/pw/his/Tank_Production_Germany_ww2.htm put bold text here