/* Grundstil */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Birthstone', sans-serif;
    height: 100%;
    overflow-x: hidden;
    background-color: #ece2d6; 
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    padding: 0 1rem;
    z-index: 1000;
    font-size: 2rem;
    background-color: #ece2d6;
    width: 100%;          
    height: 100px;
}

.navbar a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
}

/* Alle Links standardmäßig sichtbar auf Desktop */
.navbar > a {
    display: inline-block;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
}

/* Logo Größe */
.navbar .logo {
    width: 150px;
    height: auto;
}

/* ----------- BURGER BUTTON ----------- */
.burger {
    display: none; /* Desktop: unsichtbar */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1a1a1a;
    border-radius: 2px;
}

/* Hero-Video Bereich */
.hero-video {
  width: 100%;
  height: 85vh; /* Höhe des Hero-Bereichs */
  position: relative;
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77%; 
  height: 90%;
  transform: translate(-50%, -50%);
  border: none;
}


/* HOVER BILDER */
.hover-section {
position: relative;
padding: 0px 3% 5px;
}

.hover-bg-text {
  position: relative;          
  font-family: "Birthstone", cursive;
  font-size: 15rem !important;
  font-weight: 400;
  color: #27466A;
  margin: 0 0 5px 0; 
  text-align: center;
  z-index: 1;           /* unter den Bildern */
  pointer-events: none;
  margin-bottom: -110px; /* Abstand nach unten verringern */
}
  

.hover-grid {
  display: grid;
  position: relative;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  z-index: 2;
}

/* Hover-Effekt bleibt gleich */
.hover-item {
  position: relative;
  overflow: hidden;
  border:#642226 3.5px solid;
}

.hover-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hover-item:hover img {
  transform: scale(1.1);
}

.hover-text {
  position: absolute;
  inset: 0;
  background: #642226;
  border: 5px solid #642226;
  color: #D6B896;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 20px;
  font-family: 'Alumni Sans', sans-serif;
  font-size: 1.2rem;
}

.hover-item:hover .hover-text {
  opacity: 1;
}


/* Das biete ich dir*/

.info-content {
  display: flex;
  flex-direction: column; 
  justify-content: center; 
  height: 100%;            
}

.info-section {
 display: grid;
  grid-template-columns: 35% 65%; 
  gap: 30px; 
  padding:  150px 8%;
  align-items: start; 
}

.info-image img {
  width: 100%;   
  max-height: 500px;
  object-fit: cover;
  border: 3.5px solid #7b1e2b;
}

.info-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.info-box {
  background: #7b1e2b; /* Weinrot */
  color: #D6B896;      /* Hellbeige */
  padding: 16px;
  font-family: 'Alumni Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.2rem;
  text-align: center;
  border-radius: 8px;
  cursor: default;
  user-select: none;
}

.info-section h2,
.promise-section h2 {
  font-size: 3rem; /* deutlich größer */
  color: #7b1e2b; /* Weinrot */
  font-weight: 400; /* nicht fett */
  margin-bottom: 40px;

}



/*Versprechen an Kunden*/

.promise-section {
  display: grid;
  grid-template-columns: 50% 50%; /* linke Spalte kleiner, rechte größer */
  gap: 50px;
  padding: 0px 8% 80px 15%;
  align-items: center;
}

.promise-image img {
  width: auto;
  max-height: 500px;
  object-fit: cover;
  border: 3.5px solid #7b1e2b;
}


.promise-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.promise-box {
  background: #7b1e2b;
  color: #D6B896;
  padding: 16px;
  font-family: 'Alumni Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  font-size: 1.2rem;
  cursor: default;
  user-select: none;
  border-radius: 8px;
}


/* =========  FOOTER  ========= */
.footer {
  background-color:  #ece2d6;
  padding: 2rem 1rem 1.5rem;
  text-align: center;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto auto auto;
  column-gap: 40px; /* Abstand fein steuerbar */
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 1rem;
}

.footer-nav {
  display: flex;
  gap: 20px;
  font-family: 'Birthstone', cursive;
  color: #642226;
}

.footer-nav.left {
  justify-content: flex-start;
}

.footer-nav.right {
  justify-content: flex-end;
}

.footer-nav a {
  text-decoration: none;
  color: var(--red);
  font-size: 1.7rem;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.7;
}

/* Social Logos */
.socials {
  display: flex;
  gap: 18px;
}

.socials img {
  width: 88px;
  transition: transform 0.3s ease;
}

.socials a:hover img {
  transform: translateY(-3px);
}

/* Copyright */
.footer .copyright {
  font-family: 'Birthstone', cursive;
  color: var(--red);
  font-size: 1.1rem;
}

/* =========  RESPONSIVE  ========= */

/*Header*/

@media (max-width: 768px) {

    /* Navbar vertikal, linksbündig */
    .navbar {
        flex-direction: column;
        align-items: flex-start; /* alles linksbündig */
        padding: 1rem;
        gap: 0.5rem;
        justify-content: flex-start; /* Burger oben links */
    }

    /* Burger sichtbar */
    .burger {
        display: flex;
        order: -1;       /* zuerst im Flex */
        margin-bottom: 1rem;
        cursor: pointer;
    }

    /* Logo zentriert unter Burger */
    .navbar .logo {
        margin: 0 auto 1rem auto;
        width: 120px;
    }

    /* Alle Links außer Logo ausblenden, wenn Menü geschlossen */
    .navbar > a:not(.logo) {
        display: none;
    }

    /* Menü offen: Links erscheinen alle linksbündig */
    .navbar.menu-open > a {
        display: block !important; /* wichtig: überschreibt display:none */
        width: 100%;
        text-align: left;
        padding: 1rem 0;
        background-color: #ece2d6;
        font-size: 1.8rem;
    }
}


/* Video */
@media (max-width: 768px) {
  .video-wrapper iframe {
    width: 100%;
    height: 100%;
    transform: none;
    top: 0;
    left: 0;
  }

  .hero-video {
    height: 45vh;
  }
}

/* Nice to know */

@media (max-width: 768px) {
  .hover-bg-text {
    font-size: 5rem !important;
    margin-bottom: -20px;
  }

  .hover-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

 .hover-item:hover .hover-text {
    opacity: 1;
    pointer-events: auto;
  }

  .hover-item:hover img {
    transform: scale(1.1);
  }
}


/* Promise Section */
@media (max-width: 768px) {
  .info-section {
    grid-template-columns: 1fr;
  }

  .info-image {
    order: 2; /* Bild NACH Text */
  }

  .info-content {
    order: 1; /* Text zuerst */
  }
}

/* Versprechen Section */

@media (max-width: 768px) {
  .promise-section {
    grid-template-columns: 1fr;
    padding: 60px 5%;
    gap: 2rem;
  }

  .promise-boxes {
    grid-template-columns: 1fr;
  }

  .promise-section h2 {
    font-size: 2.2rem;
    text-align: center;
  }

  .promise-image img {
    max-height: 350px;
    width: 100%;
  }
}


/*Allgemein*/
@media (max-width: 768px) {
  h2 {
    font-size: 2.2rem;
  }

  .info-box,
  .promise-box {
    font-size: 1rem;
    padding: 14px;
  }
}


/* Footer */
@media (max-width: 768px) {

    .footer-inner {
        display: flex;
        flex-direction: column;
        align-items: center; /* alles zentriert */
        gap: 1rem;
        padding: 1rem;
    }

    /* Footer-Navigation ausblenden */
    .footer-nav {
        display: none;
    }

    /* Social-Icons zentrieren */
    .socials {
        display: flex;
        gap: 20px;
        justify-content: center;
    }

    /* Copyright zentriert */
    .footer .copyright {
        text-align: center;
        margin-top: 0.5rem;
    }
}