I believe macvlan doesn’t work on hetzner because they restrict the network port to only be allowed one MAC address. Although worth confirming that with them.
Others on this forum have successfully used the routed
NIC type with hetzner to pass external IPs into their containers.