/* Foto-Upload für Gäste */
body.photos { background: var(--cream); }
.photos__top { position: sticky; }
.photos__main > .wrap { padding-block: clamp(32px, 6vw, 72px) clamp(48px, 8vw, 96px); display: grid; gap: clamp(40px, 6vw, 64px); }
.photos__intro { max-width: 760px; }
.photos__form { margin: 0; padding: clamp(1.5rem, 4vw, 2.5rem); background: #fff; border: 1px solid var(--line); border-radius: 6px; gap: 1.5rem; }
.drop {
  display: grid; justify-items: center; gap: .5rem; padding: 2rem 1.5rem; text-align: center;
  border: 1px dashed var(--blue-300); border-radius: var(--radius); background: var(--blue-50); cursor: pointer; transition: background .2s, border-color .2s;
}
.drop:hover, .drop.is-over { background: var(--blue-100); border-color: var(--blue-600); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-600); color: #fff; font: 300 2rem/1 var(--font-body); }
.drop__text { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; }
.queue { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .75rem; }
.queue:empty { display: none; }
.q { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--blue-100); }
.q img { width: 100%; height: 100%; object-fit: cover; }
.q__rm { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(34, 48, 74, .7); color: #fff; font-size: 1rem; cursor: pointer; }
.q__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .5); }
.q__bar i { display: block; height: 100%; width: 0; background: var(--blue-600); transition: width .3s; }
.q.is-done::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(92, 127, 168, .55); color: #fff; font-size: 1.6rem; }
.q.is-error::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(169, 69, 63, .6); color: #fff; font-size: 1.6rem; }

.gallery-wrap { display: grid; gap: 1.25rem; }
.gallery { columns: 2; column-gap: 10px; }
@media (min-width: 640px) { .gallery { columns: 3; column-gap: 14px; } }
@media (min-width: 1000px) { .gallery { columns: 4; } }
.gallery__item { break-inside: avoid; margin: 0 0 10px; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--blue-100); cursor: zoom-in; }
@media (min-width: 640px) { .gallery__item { margin-bottom: 14px; } }
.gallery__item img { width: 100%; height: auto; display: block; opacity: 0; transition: opacity .5s; }
.gallery__item img.is-loaded { opacity: 1; }
.gallery__item figcaption { padding: .5rem .6rem .65rem; font-size: .8rem; line-height: 1.35; color: var(--muted); background: #fff; text-align: left; }
.gallery__item figcaption b { display: block; font-weight: 500; color: var(--fg); }
.gallery__more { margin: 0; text-align: center; }
.footer--small { padding-block: 2.5rem calc(2rem + env(safe-area-inset-bottom, 0px)); }
.photos .admin__cfgHint { padding: .9rem 1.1rem; border-left: 2px solid var(--blue-600); background: var(--blue-50); }
.q.is-file::before { content: "HEIC"; position: absolute; inset: 0; display: grid; place-items: center; font: 500 .8rem var(--font-body); letter-spacing: .1em; color: var(--blue-600); }
