Many libraries (including university libraries and Goethe-Institut libraries) offer a "Media Loan." You can borrow the physical book and use a scanner at the library to create a personal PDF for private study. This is a gray area generally accepted for educational purposes, provided you don't share it.