.elementor-2269 .elementor-element.elementor-element-67ed10f{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-2269 .elementor-element.elementor-element-67ed10f{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}}/* Start custom CSS for html, class: .elementor-element-59a49b2 *//* =====================================================
   GALERIE PAGE - ER Fenster & Türen Montage
===================================================== */

.er-gallery-page {
  --dark: #111111;
  --soft: #f7f5f0;
  --border: #e7e2d8;
  --text: #333333;
  --gold: #b8aa94;
  font-family: inherit;
  color: var(--dark);
  overflow: hidden;
}

.er-gallery-page * {
  box-sizing: border-box;
}

.er-gallery-container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* HERO */

.er-gallery-hero {
  background:
    linear-gradient(135deg, rgba(17,17,17,0.9), rgba(17,17,17,0.62)),
    url("https://xn--erfenstertren-5ob.de/wp-content/uploads/2026/07/WhatsApp-Image-2026-07-08-at-09.04.58-1.jpeg");
  background-size: cover;
  background-position: center;
  padding: 105px 0;
  color: #ffffff;
  text-align: center;
}

.er-gallery-label {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.er-gallery-label.dark {
  color: #8d7f69;
}

.er-gallery-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.03;
  margin: 0 0 20px;
  color: #ffffff;
  font-weight: 850;
}

.er-gallery-hero p {
  max-width: 780px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.86);
}

/* SECTIONS */

.er-gallery-featured,
.er-gallery-section {
  padding: 86px 0;
}

.er-gallery-featured {
  background: #ffffff;
}

.er-gallery-section {
  background: var(--soft);
}

.er-gallery-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.er-gallery-heading.left {
  margin-left: 0;
  text-align: left;
}

.er-gallery-heading h2 {
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 850;
  color: #111111;
}

.er-gallery-heading p {
  font-size: 16.5px;
  line-height: 1.72;
  color: #444444;
  margin: 0;
}

/* FEATURED GRID */

.er-featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  grid-template-rows: repeat(2, 260px);
  gap: 18px;
}

.er-featured-main,
.er-featured-small {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  text-decoration: none !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.er-featured-main {
  grid-row: span 2;
}

.er-featured-main img,
.er-featured-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.er-featured-main::after,
.er-featured-small::after,
.er-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.05));
  z-index: 1;
}

.er-featured-main:hover img,
.er-featured-small:hover img,
.er-gallery-item:hover img {
  transform: scale(1.05);
}

.er-featured-main div,
.er-featured-small div {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 2;
}

.er-featured-main span,
.er-featured-small span,
.er-gallery-item span {
  display: inline-block;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.er-featured-main h3,
.er-featured-small h3 {
  color: #ffffff;
  font-size: 26px;
  line-height: 1.15;
  margin: 0;
  font-weight: 850;
}

/* GALLERY GRID */

.er-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}

.er-gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  text-decoration: none !important;
  background: #111111;
}

.er-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.er-gallery-item span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  margin: 0;
}

.er-gallery-item.tall {
  grid-row: span 2;
}

.er-gallery-item.wide {
  grid-column: span 2;
}

/* CTA */

.er-gallery-cta {
  padding: 82px 0;
  background: #111111;
  color: #ffffff;
  text-align: center;
}

.er-gallery-cta h2 {
  color: #ffffff;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  margin: 0 0 16px;
  font-weight: 850;
}

.er-gallery-cta p {
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
}

.er-gallery-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.er-gallery-btn {
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 850;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.er-gallery-btn.dark {
  background: #ffffff;
  color: #111111 !important;
}

.er-gallery-btn.light {
  background: transparent;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.65);
}

/* TABLET */

@media (max-width: 1024px) {
  .er-featured-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .er-featured-main,
  .er-featured-small {
    height: 360px;
  }

  .er-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .er-gallery-container {
    width: 91% !important;
  }

  .er-gallery-hero {
    padding: 58px 0 46px !important;
  }

  .er-gallery-hero h1 {
    font-size: 35px !important;
    line-height: 1.08 !important;
    margin-bottom: 15px !important;
  }

  .er-gallery-hero p {
    font-size: 15px !important;
    line-height: 1.62 !important;
  }

  .er-gallery-label {
    font-size: 11px !important;
    letter-spacing: 1.1px !important;
    margin-bottom: 9px !important;
  }

  .er-gallery-featured,
  .er-gallery-section {
    padding: 54px 0 !important;
  }

  .er-gallery-heading {
    text-align: left !important;
    margin-bottom: 25px !important;
  }

  .er-gallery-heading h2 {
    font-size: 27px !important;
    line-height: 1.15 !important;
    margin-bottom: 12px !important;
  }

  .er-gallery-heading p {
    font-size: 14.8px !important;
    line-height: 1.62 !important;
  }

  .er-featured-grid {
    gap: 13px !important;
  }

  .er-featured-main,
  .er-featured-small {
    height: 260px !important;
    border-radius: 22px !important;
  }

  .er-featured-main div,
  .er-featured-small div {
    left: 18px !important;
    right: 18px !important;
    bottom: 18px !important;
  }

  .er-featured-main h3,
  .er-featured-small h3 {
    font-size: 21px !important;
  }

  .er-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 170px !important;
    gap: 12px !important;
  }

  .er-gallery-item {
    border-radius: 18px !important;
  }

  .er-gallery-item.tall,
  .er-gallery-item.wide {
    grid-row: span 1 !important;
    grid-column: span 1 !important;
  }

  .er-gallery-item span {
    left: 13px !important;
    bottom: 13px !important;
    font-size: 10px !important;
  }

  .er-gallery-cta {
    padding: 54px 0 !important;
  }

  .er-gallery-cta h2 {
    font-size: 29px !important;
    line-height: 1.15 !important;
  }

  .er-gallery-cta p {
    font-size: 14.8px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
  }

  .er-gallery-buttons {
    flex-direction: column !important;
  }

  .er-gallery-btn {
    width: 100% !important;
    min-height: 46px !important;
    font-size: 13.5px !important;
  }
}

@media (max-width: 390px) {
  .er-gallery-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: 230px !important;
  }
}/* End custom CSS */