Busy week that carried into the weekend, so I'm entering fray late . . .
I second the motions that your first handgun should be a .22, and IMO a revolver. The 6" S&W K-22 (Model 17) is kinda spendy, and the 4" Model 18 is right tough to find anymore and will be higher in $$$. A used 6" Model 17 should be around $300. That will be the best $300 you've ever spent and will give HOURS of shooting enjoyment with very little outlay. Any trigger discipline gained with a 22 revolver OR 22 auto like the Ruger MkII, Buckmark, or if you have the $600-$700, a S&W Model 41 will count towards trigger discipline with a centerfire handgun.
Regarding the 9mms, I also stress that you should go with what is the most comfortable above all, because you will naturally shoot it better. I once owned two Glocks, a 17 and a 19, but sold them after I bought another polymer-framed auto, a Springfield XD9 (actually the predecessor, the HS2000 -- same gun). The XD fit my hand much better than the "furring strip" - like Glock grip, and my groups tightened by between 1/2" and 1" at 25 yards with the XD/HS. So I kept the XD/HS.
Having been brought up on 1911s and Browning High Powers, I gravitate to those in autos. I much prefer the curved backstrap of the BHP, and the similar grips of the Springfield XD and the CZ 75 and CZ 85. They are intrinsically comfortable grips, not unlike that of the SIG 220/226 but IMO more comfortable.
IMO, you owe it to yourself to try a 9mm BHP, CZ 75, and maybe a Springfield XD. Of the three, only the CZ 75 is double action; the BHP and XD are single action, so the CZ, SIG, Beretta, and H&K are all similar in that regard. The Ruger auto is a robust handgun, but they DO NOT fit my hand and thus I cannot hit scheisse with one -- again, buy something that is comfortable.
The CZ is an outstanding buy; it is a time-tested design, well built, and priced generally less than $400 in the rest of the US, dunno about Kali.
I've owned two Beretta 92s at different times, neither of which was regulated well and did not hit POI to POA. Both got sold. Berettas also had trouble early on with slides cracking in the area of the locking lug recesses. YMMV.
I own two SIG P220s, one is the 70s-vintage Browning BDA 45 with the heel mag release, which I tend to prefer for some perverted reason. The other is a 90s vintage 220. Both are tackdrivers, well-made, and very comfortable to shoot. Lots of police trade-in P226s out on the market at the moment if you are looking for something inexpensive. The trades are going for around $375 to $450 in PA, about the price for a NEW CZ 75B.
I briefly had an H&K 45 that belonged to a friend. I "gun sat" for him while he was away for 8 months, and got to play with them and clean them. I did exercise the H&K and decided it was too big, and typically too complicated in a Teutonic sort of way (I can say that; I'm half German). Lotsa little bitty parts and pins and whatnot inside. That said, not that the CZ and the SIG are NOT complicated, it's just that the H&K is a bit more complicated, IMO.
My standard for complicated are the 1911 and the BHP. I maintained 1911s as a Marine armorer (2111) in the early 70s, and it and the BHP are about the simplest designs out there. Very easy to disassemble and maintain. Glocks and XDs are also very simple and easy to care for. However, that should be a secondary or tertiary factor for you. First, get a .22 and practice a LOT. Second, select a centerfire handgun on the basis of comfort, accuracy, and simplicity in that order. A 9mm will be the least expensive to shoot because ammo for it tends to be 20% to 30% less than that for something chambered in 40 S&W or 45 ACP. And forget the 45 GAP, IMO. The 45 ACP can do anything it can do.
Finally, don't succumb to the "Ultra-Micro-Carry-Compact" fever that is raging in the marketplace at the moment. Stick with a full size centerfire auto for the first one, and master shooting with it.
You are absolutely doing the right thing by "test driving" different handguns at courses and ranges. But everybody has opinions, and the ones to be wary of are the ones proffered by young "Gun Shop Commando" clerks. You want additional advice, seek somebody that has BTDT, or a graybeard, not somebody that still uses Clearasil.
Best wishes!
Noah