Your rights:

If you miss a connection due to the delay of your previous train and no free alternative is offered to you by the carrier, you are entitled to compensation. It is calculated on the basis of the delay of the train preceding your connection and not on the whole journey (25% of the ticket price if you arrive less than 2 hours late or 50% for a delay of 2 hours or more).

Please note:

If, at the time of purchase, the seller did not inform you that the journey is operated by different carriers and that they are not contractually bound, you may demand reimbursement of the missed train(s) and a compensation of 75% of the total ticket price.