A vowel is shortened when followed by a double consonant.
A vowel is lengthened by a subsequent 'h', or by a double vowel, depending on the word. An exception is 'i', which is lengthened by a following 'e' or 'eh'.
Examples: the h in Hahn makes the a long; the aa in Haar is also long, the e in Tier makes the i long.