/* Bildergalerie – flexible Albumübersicht und natürliche Fotoansicht */
.gallery-intro {
  padding: clamp(3rem, 7vw, 5.5rem) 1.25rem 3.3rem;
  text-align: center;
  background: linear-gradient(135deg, #f8f1e5, #e9eee5);
}
.gallery-intro .eyebrow, .album-hero .eyebrow {
  color: #9a712e; font-size: .75rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; margin: 0 0 .7rem;
}
.gallery-intro h1, .album-hero h1 {
  margin: 0 0 1rem; color: #30291f;
  font: normal clamp(2.25rem, 5vw, 3.8rem)/1.1 Georgia, "Times New Roman", serif;
}
.gallery-intro p:last-child { max-width: 760px; margin: 0 auto; color: #6f6659; font-size: 1.05rem; line-height: 1.7; }
.album-list { max-width: 900px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; display: grid; gap: .85rem; }
.album-link {
  display: flex; flex-direction: column; gap: .4rem; padding: 1.35rem 1.5rem;
  color: inherit; text-decoration: none; background: #fffdf8;
  border: 1px solid rgba(125,99,61,.2); border-radius: 12px;
  box-shadow: 0 5px 18px rgba(48,41,31,.055); transition: border-color .2s ease, transform .2s ease;
}
.album-link:hover { border-color: #b28a4b; transform: translateY(-2px); }
.album-link-title { color: #30291f; font: normal 1.55rem/1.25 Georgia, "Times New Roman", serif; }
.album-link-description { color: #71685d; font-size: .96rem; line-height: 1.55; }
.album-link .album-open { margin-top: .3rem; color: #8b6429; font-weight: 700; font-size: .88rem; }
.album-future { padding: 1.1rem 1.5rem; color: #746b5e; border-left: 3px solid #b28a4b; background: #f8f5ee; display: flex; flex-direction: column; gap: .25rem; }
.album-future strong { color: #514638; }
.album-hero { padding: 3.6rem 1.25rem 2.6rem; text-align: center; background: linear-gradient(135deg, #f8f1e5, #e9eee5); }
.album-hero p:last-child { max-width: 720px; margin: 0 auto; color: #6f6659; line-height: 1.65; }
.album-content { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.25rem 1rem; }
.album-content .album-note { margin: 0 0 1.5rem; color: #756b5e; text-align: center; }
/* Kompakte Fotoübersicht: Vorschaubilder werden vollständig gezeigt, nie beschnitten. */
.album-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.album-photo-grid figure, .album-photo-grid figure.wide {
  min-width: 0; margin: 0; padding: .55rem;
  overflow: hidden; border: 1px solid rgba(125,99,61,.16);
  border-radius: 10px; background: #fffdf8;
  box-shadow: 0 4px 14px rgba(48,41,31,.06);
  text-align: center;
}
.album-photo-grid figure.wide { grid-column: auto; }
.album-photo-grid img {
  display: block; width: 100%; height: 220px;
  object-fit: contain; margin: 0 auto;
  background: #f4f0e8; cursor: zoom-in;
}
.album-photo-grid figcaption { padding: .55rem .35rem .15rem; color: #62594d; font-size: .88rem; }
.album-lightbox {
  position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: center; justify-content: center; padding: 3.5rem 4.5rem 4rem;
  background: rgba(20,18,15,.94);
}
.album-lightbox.is-open { display: flex; }
.album-lightbox img {
  display: block; max-width: 100%; max-height: calc(100vh - 7.5rem);
  width: auto; height: auto; object-fit: contain; box-shadow: 0 8px 40px #0008;
}
.album-lightbox button {
  position: absolute; border: 0; border-radius: 50%; width: 44px; height: 44px;
  color: #fff; background: rgba(255,255,255,.16); font-size: 1.65rem;
  cursor: pointer;
}
.album-lightbox button:hover { background: rgba(255,255,255,.28); }
.album-lightbox .lightbox-close { top: 1rem; right: 1rem; }
.album-lightbox .lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.album-lightbox .lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.album-lightbox .lightbox-caption {
  position: absolute; bottom: 1rem; left: 4rem; right: 4rem;
  color: #fff; text-align: center; font-size: .95rem;
}
@media(max-width:720px) {
  .album-photo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem; }
  .album-photo-grid img { height: 150px; }
  .album-lightbox { padding: 3.5rem 2.8rem 4rem; }
  .album-lightbox .lightbox-prev { left: .35rem; }
  .album-lightbox .lightbox-next { right: .35rem; }
  .album-lightbox .lightbox-caption { left: 2.5rem; right: 2.5rem; }
}
@media(max-width:720px) {
  .album-list { padding: 2rem 1rem 3rem; }
  .album-link { padding: 1.15rem 1.1rem; }
  .album-content { padding: 1.5rem .85rem 1rem; }
}
