Upvote:1
You must apply at the consulate for the main destination of your trip. If there are no special factors, that would be the place where you stay longest. Are you doing anything in Germany that could be convincingly argued as the main purpose of the trip?
If not, applying for a German visa would mean that the German consulate will turn your application down because they're not responsible for your trip.