EC 261/2004 does not apply.
Technically it does not apply.
However, the OP may get a German court involved and try to argue for a bigger refund based on the civil code in Germany. His departure and destination was HAM. A German court has jurisdiction.