Hi, I am writing to you from Slovenia, which untill 1918 was part of the Austrian-Hungarian empire. It used to be called Carniola.
The name Kastelic is know over here. One familly lived in the same appartment block as my family. If you wish, I can ask my friend if she could help. She is a historian and so was her father. So you may be in luck there.