If they can detect the DDOS, they should be able to mitigate it, right?
(EDIT: of course Hetzner could choose to mitigate the DDOS by any number of methods - but they choose not to, because they have made a conscious decision based on cost.)
It's like a traffic jam. You can solve it by stopping the incoming cars at the ramp or by making the road wider, but both are outside of your control when you're just running the toll gates at some point ahead. You can only ask your "host" to do that (in this example, the owner of the road).
No. Detecting some types of DDOS attacks is pretty trivial. Just parse Netflow output and look for big bandwidth spikes. Actually blocking these requires significant effort to classify the attack to be able to block it without also blocking normal traffic.
when my dedicated was offline due to DDoS, I asked them to PAY for any kind of anti ddos protection, just to make my server online, and they refused that and told me they don't offer DDoS protection ...