The advice when an airline goes bankrupt is to get your money back for future tickets from your credit card company. If a business doesn’t provide the services you paid for, your credit card company will get you your money back (usually).
German law has an interesting quirk though. Apparently people who pay for services they haven’t received are considered unsecured creditors in bankruptcy, and getting your money back via a credit card chargeback is considered ‘queue jumping’.