/* ========== Grundlayout & Rahmen ========== */
body {
  background: #f4ecd6;
  margin: 0;
  font-family: 'Georgia', serif;
  color: #474747;
  font-size: 1.1em;
  line-height: 1.6;
}

button:focus {
	outline: 2px solid #9e8d61;
	outline-offset: 2px;
}

nav a[aria-current="page"] {
	font-weight: bold;
	text-decoration: none;
}

/* Äußerer Rahmen */
.rahmen {
  max-width: 950px;
  min-width: 320px;
  min-height: 600px;
  margin: 40px auto;
  padding: 32px 24px 24px 24px;
  border: 8px double #6a5a3a;
  border-radius: 32px;
  background: #fffdfa;
  box-shadow: 0 0 40px #bca87a;
}

/* Inhaltsbreite: Standard für Unterseiten */
.rahmen main {
  max-width: 650px;
  margin: 0 auto;
}

/* Inhaltsbreite: Filmprogramm (volle Rahmenbreite) */
main.filmprogramm {
  max-width: none;
  width: 100%;
}

/* ========== Verschnörkelte Überschrift ========== */
header h1, #caption h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 3.2em;
  font-weight: 400;
  text-align: center;
  color: #222;
  margin: 20px 0 10px 0;
  text-shadow: 1px 1px 2px #ccc;
}

/* ========== Navigation ========== */
nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}
nav ul li {
  display: inline;
}
nav a {
  font-family: 'Georgia', serif;
  font-size: 1.1em;
  color: #635436;
  background: #f4ecd6;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;y
  transition: background 0.2s;
}
nav a:hover, nav a:focus {
  background: #e5d2a2;
  outline: 2px solid #5E5136;
}

/* ========== Filmprogramm ========== */
#program h2 {
  text-align: center;
  color: #635436;
  font-family: 'Georgia', serif;
  font-size: 1.8em;
  margin-bottom: 20px;
}

.film {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin: 30px 0 40px 0;
  padding: 18px;
  background: #f7f2e3;
  border: 2px solid #d2c19b;
  border-radius: 16px;
  box-shadow: 0 2px 12px #e6dec3;
}

.poster-link {
  flex-shrink: 0;
  display: block;
}

.film-poster, .film img.film {
  width: 220px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid #bca87a;
  box-shadow: 0 2px 8px #e6dec3;
  margin-bottom: 10px;
  transition: transform 0.2s;
  background: #fff;
  display: block;
}

.poster-link:hover .film-poster,
.poster-link:focus .film-poster {
  transform: scale(1.04);
  outline: 2px solid #9e8d61;
}

.film-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.film-info h3, .film h3 {
  font-family: 'Georgia', serif;
  color: #6a5a3a;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.5em;
}

ul.playtime {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}
ul.playtime li {
  display: inline-block;
  background: #e5d2a2;
  color: #5E5136;
  margin: 0 6px 6px 0;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 1em;
}

.fsk, .runtime {
  font-size: 1em;
  color: #7a6a4a;
  margin: 3px 0;
}

.tech img {
  height: 18px;
  margin: 6px 10px 0 0;
  vertical-align: middle;
}

.film-info p, .film p {
  margin-top: 10px;
  color: #444;
  font-size: 1em;
  line-height: 1.5;
}

/* ========== Hinweise (z.B. auf Programmseite) ========== */
.info ul {
  padding: 8px 0 8px 18px;
  color: #7a6a4a;
  font-size: 1em;
  margin-bottom: 18px;
}
.info ul li {
  margin-bottom: 5px;
}

/* ========== Reservierungs-Hinweis ========== */
#reservation {
  display: block;
  color: #7a6a4a;
  border-top: 1px solid #bca87a;
  text-align: center;
  margin-top: 15px;
  padding-top: 8px;
  font-size: 1em;
}

/* ========== Footer ========== */
footer {
  margin-top: 30px;
  text-align: center;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 18px;
}
footer ul li {
  display: inline;
}
footer a {
  color: #6a5a3a;
  text-decoration: none;
  font-family: 'Georgia', serif;
  font-size: 1em;
}
footer a:hover, footer a:focus {
  text-decoration: underline;
  outline: 2px solid #9e8d61;
}

/* ========== Allgemeine Überschriften & Text für Unterseiten ========== */
main h2 {
  font-family: 'Georgia', serif;
  font-size: 1.7em;
  color: #6a5a3a;
  margin: 30px 0 18px 0;
  text-align: center;
}
main h3 {
  font-family: 'Georgia', serif;
  font-size: 1.2em;
  color: #5a5a5a;
  margin: 22px 0 10px 0;
}

main h4 {
  font-family: 'Georgia', serif;
  font-size: 1em;
  color: #5a5a5a;
  margin: 22px 0 10px 0;
}
main p, main ul, main li {
  font-size: 1.05em;
  color: #444;
}

/* ========== Historie-Seite ========== */
.history {
  display: block;
  max-width: 500px;
  width: 100%;
  margin: 20px auto 20px auto;
  border-radius: 16px;
  border: 1px solid #bca87a;
  box-shadow: 0 2px 8px #e6dec3;
}

.bildreihe {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 30px 0;
}
.bildreihe figure {
  flex: 1 1 0;
  margin: 0;
  text-align: center;
}
.bildreihe img {
  width: 100%;
  max-width: 220px;
  border-radius: 14px;
  border: 2px solid #bca87a;
  box-shadow: 0 2px 8px #e6dec3;
  background: #fff;
  margin-bottom: 8px;
  transition: transform 0.2s;
  cursor: pointer
}
.bildreihe img:hover,
.bildreihe img:focus {
  transform:scale(1.08);
  outline: 2px solid #9e8d61;
}
.bildreihe figcaption {
  font-size: 1em;
  color: #6a5a3a;
  margin-top: 4px;
}
@media (max-width: 700px) {
  .bildreihe {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .bildreihe img {
    max-width: 90vw;
  }
}

/* ========== Impressum & Datenschutz ========== */
.impressum, .datenschutz {
  margin: 24px 0;
}
.impressum h3, .datenschutz h3 {
  margin-top: 24px;
}

/* ========== Sitzplan-Seite ========== */
.seatplan {
  display: block;
  max-width: 600px;
  width: 100%;
  margin: 20px auto 20px auto;
  border-radius: 16px;
  border: 1px solid #bca87a;
  box-shadow: 0 2px 8px #e6dec3;
}

/* ========== Barrierefreiheit-Seite ========== */
.barrierefreiheit {
  margin: 24px 0;
}
.barrierefreiheit ul {
  margin: 12px 0 12px 24px;
}

/* ========== Fokus für Barrierefreiheit ========== */
a:focus {
  outline: 2px solid #9e8d61;
  outline-offset: 2px;
}

/* ========== Responsive Design ========== */
@media (max-width: 700px) {
  .rahmen {
    padding: 8px;
    min-width: 0;
  }
  .rahmen main,
  main.filmprogramm {
    max-width: 100%;
    padding: 0;
  }
  .film {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 10px;
  }
  .film-poster, .film img.film, .history, .seatplan {
    width: 100%;
    max-width: 350px;
    margin: 0 auto 10px auto;
    display: block;
  }
}