/*! The Golden Club · Compiaz Design · © 2026 */

.gc-album-seite {
  --gc-gold: #a79927;
  --gc-gold-hell: #c9b937;
  --gc-navy: #202550;
  --gc-navy-dunkel: #14173a;
  --gc-bg: #f1f4fa;
  --gc-radius: 14px;
  --gc-head: 'Plus Jakarta Sans', Roboto, sans-serif;
  background: var(--gc-bg);
  font-family: Roboto, -apple-system, 'Segoe UI', sans-serif;
}

#Content.gc-album-seite { padding-top: 0 !important; }

/* Hero */
.gc-album-hero { position: relative; overflow: hidden; background: var(--gc-navy-dunkel); color: #fff; isolation: isolate; }
.gc-album-hero-bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; max-width: none; height: 100%;
  object-fit: cover; object-position: center 35%; filter: saturate(1.05); transform: scale(1.04);
  animation: gc-album-zoom 14s ease-out both;
}
.gc-album-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 23, 58, .92) 0%, rgba(20, 23, 58, .7) 45%, rgba(20, 23, 58, .25) 100%),
    linear-gradient(0deg, rgba(20, 23, 58, .85) 0%, transparent 50%);
}
.gc-album-hero-in { display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; max-width: 1240px; margin: 0 auto; padding: 56px 24px 64px; }
.gc-album-hero-in .gc-album-zurueck { align-self: flex-start; margin-bottom: auto; }
.gc-album-hero-in .gc-album-datum { margin-top: 56px; }
.gc-album-zurueck {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 40px; padding: 8px 16px 8px 12px;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; color: #fff; font-size: 14px; line-height: 1;
  text-decoration: none; transition: background .2s, border-color .2s;
}
.gc-album-zurueck:hover, .gc-album-zurueck:focus-visible { background: var(--gc-gold); border-color: var(--gc-gold); color: #fff; text-decoration: none; }
.gc-album-zurueck svg { width: 16px; height: 16px; }
.gc-album-datum {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--gc-gold-hell);
  font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.gc-album-datum::before { content: ""; width: 36px; height: 2px; background: currentColor; }
.gc-album-titel {
  max-width: 900px; margin: 0; color: #fff; font-family: var(--gc-head); font-weight: 800;
  font-size: clamp(34px, 5.4vw, 68px); line-height: 1.05; letter-spacing: -.02em;
}
.gc-album-anzahl { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; color: rgba(255, 255, 255, .75); font-size: 15px; }
.gc-album-anzahl svg { width: 18px; height: 18px; color: var(--gc-gold-hell); }

/* Galerie */
.gc-album { max-width: 1240px; margin: 0 auto; padding: 56px 24px 40px; }
.gc-album .gc-video { max-width: 1040px; margin: 0 auto 32px; border-radius: var(--gc-radius); }
.gc-album-grid { --zeile: 300px; display: flex; flex-wrap: wrap; gap: 14px; }
.gc-album-grid::after { content: ""; flex: 999 1 0; }
.gc-album-grid.is-wenig { max-width: 1040px; margin: 0 auto; }
.gc-album-grid.is-wenig::after { display: none; }
.gc-foto {
  position: relative; display: block; flex: var(--r, 1) 1 calc(var(--r, 1) * var(--zeile)); overflow: hidden;
  border-radius: var(--gc-radius); background: #dde3ee; cursor: zoom-in; box-shadow: 0 1px 2px rgba(20, 23, 58, .06);
  transition: box-shadow .35s, transform .35s;
}
.gc-foto img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: var(--r, auto); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.gc-foto::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .35s;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") no-repeat center / 22px,
    radial-gradient(circle at center, var(--gc-gold) 0 26px, transparent 27px),
    linear-gradient(180deg, transparent 40%, rgba(20, 23, 58, .45));
}
.gc-foto:hover, .gc-foto:focus-visible { box-shadow: 0 18px 40px -16px rgba(20, 23, 58, .45); transform: translateY(-3px); }
.gc-foto:hover img, .gc-foto:focus-visible img { transform: scale(1.05); }
.gc-foto:hover::after, .gc-foto:focus-visible::after { opacity: 1; }
.gc-foto:focus-visible { outline: 3px solid var(--gc-gold); outline-offset: 3px; }

.gc-album-grid.is-bereit .gc-foto { opacity: 0; transform: translateY(24px); }
.gc-album-grid.is-bereit .gc-foto.is-sichtbar { opacity: 1; transform: none; transition: opacity .6s ease-out, transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.gc-album-grid.is-bereit .gc-foto.is-sichtbar:hover { transform: translateY(-3px); }

/* Weitere Anlässe */
.gc-album-mehr { max-width: 1240px; margin: 0 auto; padding: 24px 24px 90px; }
.gc-album-mehr-kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.gc-album-mehr-titel { margin: 0; color: var(--gc-navy); font-family: var(--gc-head); font-weight: 800; font-size: 30px; line-height: 1.2; letter-spacing: -.01em; }
.gc-album-alle {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  background: var(--gc-gold); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none; transition: background .2s;
}
.gc-album-alle:hover, .gc-album-alle:focus-visible { background: var(--gc-navy); color: #fff; text-decoration: none; }
.gc-album-alle svg { width: 16px; height: 16px; }
.gc-album-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gc-album-nav-item {
  position: relative; display: flex; align-items: flex-end; min-height: 240px; padding: 28px; overflow: hidden;
  border-radius: var(--gc-radius); background: var(--gc-navy); color: #fff; text-decoration: none; isolation: isolate;
}
.gc-album-nav-item img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.gc-album-nav-item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 23, 58, .1) 20%, rgba(20, 23, 58, .88)); transition: background .35s; }
.gc-album-nav-item:hover, .gc-album-nav-item:focus-visible { color: #fff; text-decoration: none; }
.gc-album-nav-item:hover img, .gc-album-nav-item:focus-visible img { transform: scale(1.06); }
.gc-album-nav-item.is-neuer { justify-content: flex-end; text-align: right; }
.gc-album-nav-text { display: flex; flex-direction: column; gap: 6px; }
.gc-album-nav-klein { color: var(--gc-gold-hell); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.gc-album-nav-name { font-family: var(--gc-head); font-size: 22px; font-weight: 800; line-height: 1.2; }
.gc-album-nav-datum { color: rgba(255, 255, 255, .75); font-size: 14px; }
.gc-album-nav-item.is-allein { grid-column: 1 / -1; }

@keyframes gc-album-zoom { from { transform: scale(1.14); } to { transform: scale(1.04); } }

@media (max-width: 767px) {
  .gc-album-hero-in { min-height: 360px; padding: 24px 20px 40px; }
  .gc-album-hero::after { background: linear-gradient(0deg, rgba(20, 23, 58, .95) 10%, rgba(20, 23, 58, .35) 100%); }
  .gc-album { padding: 20px 10px 24px; }
  .gc-album-grid { --zeile: 150px; gap: 8px; }
  .gc-foto { border-radius: 10px; }
  .gc-album-mehr { padding: 16px 12px 60px; }
  .gc-album-mehr-titel { font-size: 24px; }
  .gc-album-nav { grid-template-columns: 1fr; gap: 10px; }
  .gc-album-nav-item { min-height: 180px; padding: 20px; }
  .gc-album-nav-item.is-neuer { justify-content: flex-start; text-align: left; }
  .gc-album-nav-name { font-size: 19px; }
}

/* Lightbox */
.gc-lb {
  position: fixed; inset: 0; z-index: 1000000; display: grid; grid-template-rows: auto 1fr auto;
  background: rgba(12, 14, 36, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-family: Roboto, -apple-system, 'Segoe UI', sans-serif;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
}
.gc-lb.is-offen { opacity: 1; visibility: visible; transition: opacity .3s; }
.gc-lb-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.gc-lb-info { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.gc-lb-zahl { color: var(--gc-gold-hell, #c9b937); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gc-lb-titel { overflow: hidden; color: rgba(255, 255, 255, .8); font-size: 15px; white-space: nowrap; text-overflow: ellipsis; }
.gc-lb-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff;
  cursor: pointer; transition: background .2s, border-color .2s;
}
.gc-lb-btn:hover, .gc-lb-btn:focus-visible { background: #a79927; border-color: #a79927; outline: none; }
.gc-lb-btn svg { width: 22px; height: 22px; }
.gc-lb-buehne { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 84px; }
.gc-lb-bild {
  display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 6px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); transition: opacity .25s, transform .25s;
}
.gc-lb-bild.is-wechsel { opacity: 0; transform: scale(.985); }
.gc-lb-zurueck, .gc-lb-weiter { position: absolute; top: 50%; margin-top: -24px; }
.gc-lb-zurueck { left: 20px; }
.gc-lb-weiter { right: 20px; }
.gc-lb-leiste { display: flex; gap: 8px; padding: 16px 20px 20px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.gc-lb-leiste::-webkit-scrollbar { display: none; }
.gc-lb-mini {
  flex: none; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden;
  background: #2a2e5c; cursor: pointer; opacity: .45; transition: opacity .2s, border-color .2s;
}
.gc-lb-mini img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gc-lb-mini:hover, .gc-lb-mini:focus-visible { opacity: .85; outline: none; }
.gc-lb-mini.is-aktiv { opacity: 1; border-color: #a79927; }

@media (max-width: 767px) {
  .gc-lb-kopf { padding: 12px; }
  .gc-lb-buehne { padding: 0 8px; }
  .gc-lb-zurueck, .gc-lb-weiter { top: auto; bottom: 16px; margin: 0; width: 44px; height: 44px; }
  .gc-lb-zurueck { left: 16px; }
  .gc-lb-weiter { right: 16px; }
  .gc-lb-buehne { padding-bottom: 76px; }
  .gc-lb-leiste { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gc-album-hero-bg { animation: none; }
  .gc-album-grid.is-bereit .gc-foto { opacity: 1; transform: none; }
  .gc-foto, .gc-foto img, .gc-album-nav-item img, .gc-lb, .gc-lb-bild { transition: none; }
}
