Stepping down 25V-11V to power 5V micro-controller
I suggest you have a look at these Recom or these Murata "drop in" replacement for the 78xx voltage regulators.

This is the Murata model:



These can be used as the 78xx linear regulators we all know but they are not linear regulators, they're buck converters designed to replace them.