The applicable time limit depends on the charge and the ground for detention: 2 months, 6 months, 1 year or 2 years under section 178 para 1 StPO.
Section 178 para 1 StPO has four tiers. If pre-trial detention is based solely on the risk of collusion under section 173 para 2 Z 2 StPO, it may last at most two months. Where the charge is a misdemeanour, the maximum duration is six months. Where the charge is a felony, the ceiling is one year. If the charge is a felony carrying a custodial sentence of more than five years, the maximum duration extends to two years. The decisive factor is the most serious charge on which the detention rests.
What to do now: First, examine the exact charge and the detention order to identify the applicable tier. Second, record the start of detention precisely, because the time limit runs from the first day of pre-trial detention. Third, discuss with the defence whether the classification of the offence as a misdemeanour or felony is correct and whether any objection is available.