The remains of the Castle can be visited
Leienfels Castle (Ruin)

The Leienfels ruin is a former late medieval noble castle. It is located on a mountain spur in Franconian Switzerland, directly northwest of the village of Leienfels, which belongs to the town of Pottenstein in the Bayreuth district. This high castle ruin is an accessible viewpoint.
History+
The construction of Leienfels Castle is dated to the beginning of the 14th century. Seibot I von Egloffstein is considered the presumed builder. The castle was first documented in 1372, when Knight Götz von Egloffstein, after a feud, had to serve the Bishop of Bamberg with his share of the castle. In 1380, the castle was conquered by troops of the Bamberg bishop and the Nuremberg burgrave Friedrich V. Götz von Egloffstein was captured. The castle was repeatedly involved in feuds and was again captured in 1397, this time by the League of Cities. In 1502, Jobst I von Egloffstein sold the complex to the Bishop of Bamberg, after which it became the seat of a small episcopal office.
Source: Wikipedia · Licence: CC BY-SA 4.0
This description draws on the facts documented in the linked Wikipedia article; Wikipedia content is licensed under CC BY-SA 4.0. Wording and editing: Mobile History.
Location: 49.7092, 11.3699