*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:#f8f6f0;
  color:#17231c;
  font-family:"Manrope",sans-serif;
}

a{
  color:inherit;
}

.gallery-header{
  position:sticky;
  top:0;
  z-index:100;

  height:86px;

  display:grid;
  grid-template-columns:220px 1fr auto;
  align-items:center;

  padding:0 clamp(24px,5vw,76px);

  background:rgba(255,255,255,.97);

  border-bottom:1px solid rgba(6,63,38,.08);

  box-shadow:0 8px 28px rgba(6,63,38,.08);
}

.gallery-brand img{
  display:block;
  width:130px;
  max-height:70px;
}

.gallery-header nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
}

.gallery-header nav a{
  color:#273029;
  font-size:14px;
  font-weight:800;
  text-decoration:none;
}

.gallery-header nav a:hover{
  color:#063f26;
}

.gallery-contact{
  display:flex;
  gap:8px;
}

.gallery-contact a{
  width:42px;
  height:42px;

  display:grid;
  place-items:center;

  border-radius:50%;

  background:#f4f0e5;
  color:#063f26;

  text-decoration:none;
}

.gallery-contact a:hover{
  background:#063f26;
  color:#fff;
}


.gallery-hero{
  min-height:460px;

  display:flex;
  flex-direction:column;
  justify-content:flex-end;

  padding:
    80px
    clamp(24px,7vw,120px)
    70px;

  color:#fff;

  background:
    linear-gradient(90deg,rgba(2,27,17,.91),rgba(2,27,17,.48)),
    url("images/neu/community-1.jpg")
    center/cover no-repeat;
}

.eyebrow{
  color:#d7ae56;

  font-size:12px;
  font-weight:800;

  letter-spacing:.13em;
  text-transform:uppercase;
}

.gallery-hero h1,
.album-title h1{
  margin:12px 0 20px;

  font-size:clamp(50px,6vw,86px);
  line-height:.95;
  letter-spacing:-.055em;
}

.gallery-hero p{
  max-width:660px;
  margin:0;

  font-size:18px;
  line-height:1.65;

  color:rgba(255,255,255,.88);
}


.album-overview{
  max-width:1460px;
  margin:auto;

  padding:
    clamp(55px,7vw,100px)
    clamp(20px,5vw,70px);

  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.album-card{
  overflow:hidden;

  background:#fff;

  border-radius:16px;

  text-decoration:none;

  box-shadow:0 12px 35px rgba(20,38,27,.08);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.album-card:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 45px rgba(20,38,27,.13);
}

.album-image{
  position:relative;
  height:280px;
  overflow:hidden;
}

.album-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;

  transition:transform .4s ease;
}

.album-card:hover .album-image img{
  transform:scale(1.035);
}

.album-count{
  position:absolute;
  right:14px;
  bottom:14px;

  padding:8px 11px;

  border-radius:999px;

  background:rgba(2,27,17,.78);
  color:#fff;

  font-size:11px;
  font-weight:800;
}

.album-content{
  padding:22px 23px 25px;
}

.album-content > span{
  color:#aa7e29;

  font-size:11px;
  font-weight:800;

  text-transform:uppercase;
  letter-spacing:.08em;
}

.album-content h2{
  margin:6px 0 20px;

  font-size:26px;
  letter-spacing:-.035em;
}

.album-content strong{
  color:#063f26;

  font-size:13px;
}


.album-title{
  padding:
    75px
    clamp(22px,7vw,120px)
    45px;

  background:#063f26;
  color:#fff;
}

.album-title p{
  color:rgba(255,255,255,.7);
}

.back-link{
  display:inline-flex;
  align-items:center;
  gap:8px;

  margin-bottom:35px;

  color:#fff;

  font-size:13px;
  font-weight:800;

  text-decoration:none;
}


.gallery-grid{
  max-width:1560px;
  margin:auto;

  padding:
    28px
    clamp(12px,3vw,40px)
    90px;

  display:grid;
  grid-template-columns:repeat(4,1fr);
  grid-auto-rows:230px;
  gap:10px;
}

.gallery-photo{
  width:100%;
  height:100%;

  padding:0;

  overflow:hidden;

  border:0;
  border-radius:10px;

  background:#ddd;

  cursor:pointer;
}

.gallery-photo img{
  display:block;

  width:100%;
  height:100%;

  object-fit:cover;

  transition:transform .35s ease;
}

.gallery-photo:hover img{
  transform:scale(1.04);
}


#galleryLightbox{
  width:min(1300px,94vw);
  max-width:none;

  padding:0;

  overflow:visible;

  border:0;
  background:transparent;
}

#galleryLightbox::backdrop{
  background:rgba(0,0,0,.88);
  backdrop-filter:blur(5px);
}

#galleryLightbox img{
  display:block;

  max-width:100%;
  max-height:88vh;

  margin:auto;

  object-fit:contain;

  border-radius:10px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next{
  position:fixed;

  width:46px;
  height:46px;

  display:grid;
  place-items:center;

  border:1px solid rgba(255,255,255,.35);
  border-radius:50%;

  background:rgba(0,0,0,.48);
  color:#fff;

  cursor:pointer;
}

.lightbox-close{
  top:22px;
  right:22px;
}

.lightbox-prev{
  left:22px;
  top:50%;
}

.lightbox-next{
  right:22px;
  top:50%;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover{
  background:#d7ae56;
  color:#063f26;
}


.gallery-footer{
  min-height:90px;

  padding:25px clamp(22px,6vw,90px);

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;

  background:#042d1c;
  color:rgba(255,255,255,.72);

  font-size:12px;
}

.gallery-footer a{
  color:#fff;
  text-decoration:none;
}


@media(max-width:1000px){

  .album-overview{
    grid-template-columns:repeat(2,1fr);
  }

  .gallery-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .gallery-header{
    grid-template-columns:150px 1fr auto;
  }

  .gallery-header nav{
    gap:15px;
  }
}


@media(max-width:720px){

  .gallery-header{
    height:72px;
    grid-template-columns:1fr auto;
    padding:0 15px;
  }

  .gallery-brand img{
    width:105px;
  }

  .gallery-header nav{
    display:none;
  }

  .gallery-hero{
    min-height:390px;
  }

  .album-overview{
    grid-template-columns:1fr;
    padding-left:15px;
    padding-right:15px;
  }

  .album-image{
    height:250px;
  }

  .gallery-grid{
    grid-template-columns:repeat(2,1fr);
    grid-auto-rows:180px;
  }

  .gallery-footer{
    flex-direction:column;
    align-items:flex-start;
  }
}


@media(max-width:440px){

  .gallery-grid{
    grid-template-columns:1fr 1fr;
    grid-auto-rows:145px;
    gap:6px;
  }

  .gallery-contact a{
    width:38px;
    height:38px;
  }
}


/* GALLERY MAIN HEADER START */

.gallery-header,
.gallery-top{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;

  z-index:1000 !important;

  min-height:92px !important;

  display:flex !important;
  align-items:center !important;

  padding:8px clamp(28px,5vw,80px) !important;

  background:transparent !important;

  border:0 !important;

  box-shadow:none !important;

  transition:
    background .25s ease,
    box-shadow .25s ease,
    min-height .25s ease !important;
}


/* Logo */
.gallery-header img,
.gallery-top img{
  display:block !important;

  width:150px !important;
  height:auto !important;

  max-width:none !important;
  max-height:78px !important;

  object-fit:contain !important;
}


/* Navigation */
.gallery-header nav,
.gallery-top nav{
  display:flex !important;
  align-items:center !important;
  gap:27px !important;
}


.gallery-header nav a,
.gallery-top nav a{
  color:#ffffff !important;

  font-size:16px !important;
  font-weight:700 !important;

  text-decoration:none !important;

  text-shadow:0 2px 8px rgba(0,0,0,.38);

  transition:color .2s ease !important;
}


.gallery-header nav a:hover,
.gallery-top nav a:hover{
  color:#e1bd67 !important;
  text-decoration:none !important;
}


/* Telefon / Mail */
.gallery-header .header-contact-link,
.gallery-top .header-contact-link,
.gallery-header .gallery-contact a,
.gallery-top .gallery-contact a{
  width:42px !important;
  height:42px !important;

  display:inline-grid !important;
  place-items:center !important;

  border:1px solid rgba(255,255,255,.55) !important;
  border-radius:50% !important;

  background:rgba(6,63,38,.42) !important;
  color:#ffffff !important;

  text-decoration:none !important;

  backdrop-filter:blur(6px);
}


/*
 * GESCROLLTER ZUSTAND
 */
.gallery-header.is-scrolled,
.gallery-top.is-scrolled{
  min-height:78px !important;

  background:rgba(255,255,255,.97) !important;

  box-shadow:
    0 8px 28px rgba(6,63,38,.08) !important;
}


.gallery-header.is-scrolled nav a,
.gallery-top.is-scrolled nav a{
  color:#19231d !important;
  text-shadow:none !important;
}


.gallery-header.is-scrolled nav a:hover,
.gallery-top.is-scrolled nav a:hover{
  color:#0b5b37 !important;
}


.gallery-header.is-scrolled .header-contact-link,
.gallery-top.is-scrolled .header-contact-link,
.gallery-header.is-scrolled .gallery-contact a,
.gallery-top.is-scrolled .gallery-contact a{
  background:#f7f3e9 !important;
  color:#063f26 !important;

  border-color:rgba(6,63,38,.12) !important;
}


/*
 * Galerie-Hero läuft unter dem Header durch.
 */
.gallery-hero{
  margin-top:0 !important;
}


/* Tablet */
@media(max-width:900px){

  .gallery-header,
  .gallery-top{
    min-height:80px !important;
    padding:7px 20px !important;
  }

  .gallery-header img,
  .gallery-top img{
    width:122px !important;
  }

  .gallery-header nav,
  .gallery-top nav{
    gap:16px !important;
  }

  .gallery-header nav a,
  .gallery-top nav a{
    font-size:14px !important;
  }

}


/* Smartphone */
@media(max-width:680px){

  .gallery-header,
  .gallery-top{
    min-height:72px !important;
    padding:6px 15px !important;
  }

  .gallery-header img,
  .gallery-top img{
    width:100px !important;
  }

}

/* GALLERY MAIN HEADER END */

/* GALLERY HEADER FINAL START */

.gallery-header{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;

  z-index:1000 !important;

  width:100% !important;
  min-height:92px !important;

  display:grid !important;
  grid-template-columns:1fr auto 1fr !important;
  align-items:center !important;

  padding:7px clamp(32px,6.5vw,118px) !important;

  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}


/* LOGO LINKS */

.gallery-brand{
  justify-self:start !important;

  display:flex !important;
  align-items:center !important;

  margin:0 !important;
  padding:0 !important;
}

.gallery-brand img{
  display:block !important;

  width:150px !important;
  height:auto !important;

  max-width:none !important;
  max-height:82px !important;

  object-fit:contain !important;
}


/* MENÜ EXAKT MITTIG */

.gallery-main-nav{
  justify-self:center !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  gap:24px !important;

  margin:0 !important;
  padding:0 !important;

  white-space:nowrap;
}

.gallery-main-nav a{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;

  padding:9px 0 !important;

  color:#fff !important;

  font-size:16px !important;
  font-weight:700 !important;
  line-height:1 !important;

  text-decoration:none !important;

  text-shadow:0 2px 8px rgba(0,0,0,.40);

  transition:
    color .2s ease,
    border-color .2s ease !important;
}

.gallery-main-nav a i{
  color:#e1bd67 !important;

  font-size:12px !important;
}

.gallery-main-nav a:hover{
  color:#e1bd67 !important;
  text-decoration:none !important;
}


/* TELEFON / MAIL GANZ RECHTS */

.gallery-contact{
  justify-self:end !important;

  display:flex !important;
  align-items:center !important;

  gap:10px !important;

  margin:0 !important;
  padding:0 !important;
}

.gallery-contact a{
  width:42px !important;
  height:42px !important;

  display:grid !important;
  place-items:center !important;

  margin:0 !important;

  border:1px solid rgba(255,255,255,.55) !important;
  border-radius:50% !important;

  background:rgba(6,63,38,.42) !important;

  color:#fff !important;

  text-decoration:none !important;

  backdrop-filter:blur(6px);
}


/* GESCROLLTER HEADER */

.gallery-header.is-scrolled{
  min-height:78px !important;

  background:rgba(255,255,255,.97) !important;

  box-shadow:
    0 8px 28px rgba(6,63,38,.08) !important;
}

.gallery-header.is-scrolled .gallery-main-nav a{
  color:#19231d !important;
  text-shadow:none !important;
}

.gallery-header.is-scrolled .gallery-main-nav a i{
  color:#c79a42 !important;
}

.gallery-header.is-scrolled .gallery-main-nav a:hover{
  color:#0b5b37 !important;
}

.gallery-header.is-scrolled .gallery-contact a{
  background:#f7f3e9 !important;
  color:#063f26 !important;

  border-color:rgba(6,63,38,.12) !important;
}


/* KLEINERE DESKTOPS */

@media(max-width:1280px){

  .gallery-header{
    padding-left:28px !important;
    padding-right:28px !important;
  }

  .gallery-main-nav{
    gap:17px !important;
  }

  .gallery-main-nav a{
    font-size:14px !important;
  }

  .gallery-brand img{
    width:128px !important;
  }

}


/* TABLET */

@media(max-width:980px){

  .gallery-header{
    grid-template-columns:auto 1fr auto !important;

    padding:7px 18px !important;
  }

  .gallery-main-nav{
    gap:12px !important;
  }

  .gallery-main-nav a{
    font-size:13px !important;
  }

  .gallery-main-nav a i{
    display:none !important;
  }

  .gallery-brand img{
    width:108px !important;
  }

}


/* GALLERY HEADER FINAL END */
