The Luftwaffe looked initially at the SR177, then at the Lightning for 5 minutes with the British saying not to buy it before switching to the F104, this also involved a change of requirement from rapid climbing interceptor to nuclear strike.
If the Lightning has been chosen BAC would have developed the ground attack capabilities of the Lightning from the very start, as well as the electrical integrity and other requirement for US dual-key nuclear weapons delivery. This injection of development funds would have worked wonders for the aircraft, especially since it would have occurred very early in the the development cycle. For
example the Luftwaffe would have gotten the big belly tank from the very start, whereas the RAF didn't get it until the F6 in 1966 and retrofit it to F3 and F2A up to 1970. As such the Luftwaffe buy would likely drive RAF behavior, it's highly likely that when the manned aircraft being obsolescent dogma is dropped in 1960 the RAF turns to the Luftwaffe developed Lightning variants rather than the P1154.
Once the Lightning is in the Luftwaffe there is no need for the Marineflieger to conform, so they likely buy the Buccaneer. It is a better anti-ship platform than the F104, or Lighting for that matter, the Germans were interested in it IOTL and with a big lightning buy the connection with the British is well established.
This is all very interesting for the Germans, it gets them more capable air arms, but the real winner is likely to be Britian. The Luftwaffe got their F104s in mid 1960, so will like get Lightnings in the same period from the BAC production line, generating foreign exchange. Indeed the whole deal will be a huge earner for Britain when they desperately need it.