/**
Theme Name: Apartment Usedom
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apartment-usedom
Template: astra
*/


/* Standard-Zustand ganz oben: Transparent */
#masthead {
  position: fixed !important;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
}

#masthead:not(.dropdown-open) {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Zustand beim Scrollen: Weiß mit leichtem Schatten */
#masthead.scrolled,
#masthead.dropdown-open {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}




#masthead:not(.scrolled) nav:not(.hfe-dropdown) a:not(.hfe-sub-menu-item),
#masthead .hfe-nav-menu__toggle{
  color: #fff;
}

/* Optional: Damit die Links/Icons beim weißen Hintergrund lesbar bleiben (falls vorher weiß auf Bild) */
#masthead.scrolled a,
#masthead.scrolled .hfe-nav-menu__toggle ,
#masthead.dropdown-open .hfe-nav-menu__toggle {
  color: #333333;
}


#masthead.scrolled a:hover {
  color: #D9B273;
}


#masthead .logo {
  width: 250px;
}

#masthead .logo svg path {
  fill: #fff;
}


#masthead.scrolled .logo svg path,
#masthead.dropdown-open .logo svg path {
  fill: #333333;
}

#masthead .hfe-dropdown .hfe-nav-menu{
  padding-top: 25px;
}


#masthead .hfe-dropdown .hfe-nav-menu a.hfe-sub-menu-item{
  background: #EEDBBD;
  }

  #masthead .hfe-dropdown .hfe-nav-menu li.menu-item{
  border-bottom-color: #fff;
  }


/* Bilderslider Startseite */


.home .swiper-slide-image {
  height: 100vh;
  object-fit: cover;
}

.home .swiper-wrapper::before {
content: '';
  background-color: #D9B273;
  left: 0;
  right: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0.75;
}








/* Bildergallerie Apartment */

/* 1. Das Grid-Layout für die Galerie definieren (z.B. 4 Spalten) */
#gallery-1.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 4 Spalten - passe die Zahl bei Bedarf an */
    gap: 15px; /* Abstand zwischen den Bildern */
}




/* 4. Die Bilder so skalieren, dass sie perfekt ausfüllen ohne zu verzerren */
#gallery-1 .gallery-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Schneidet überstehende Ränder sauber ab */
    display: block;
}

 .elementor-image-gallery .gallery-columns-4 .gallery-item {
    max-width: unset !important;}

    .elementor-14 .elementor-element.elementor-element-4c6a46c .gallery-item{
      padding: 0;
    }


#gallery-1 .gallery-icon {
  height: 100%;
}    




.luftbild a {
  width: 100%;
}



@media (min-width: 1024px) {

#gallery-1.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Spalten - passe die Zahl bei Bedarf an */
    gap: 15px; /* Abstand zwischen den Bildern */
}

}





/* Anfrageformular */


.metform-btn {
  box-shadow: none !important;
}


/* Cookie Button */
footer .cmplz-btn{
background: transparent !important;
  color: #333;
  letter-spacing: inherit;
  padding: 0;
}