quran teachings are based entirely on hadith, not quran. If moslems want to know the will of their allah, they will take reference to the hadith, which is about the life and deeds of muhammad and his companion, who are all perfect people beyond reproach. If muhammad and his companions fucked little kids, it means child marriages are permissible in islam for all times. Same for slavery, banditry and stealing of land of non-moslems and non-arabs.
What the turkish courts ruled about child marriage is not new. In jiuhu kelantan, the PAS religious courts are rubber stamping child marriages at a furious pace.