You should be able to email German Customs asking if straight razors are prohibited from being imported and also the German Post to see if they have any shipping restrictions on them.

Bob