(AP) Gay marriage in Germany was made possible by a surprise vote in parliament three months earlier.