/* Divi Theme Builder Header ausblenden */
#main-header {
  display: none !important;
}

/* Scrolleffekte */

.navigation.scroll-down {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.navigation.scroll-up {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ===========================================
   Desktop Header
=========================================== */

/*
Navigation 
*/
.desktop-navigation {
  background: rgba(235, 232, 227, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  flex: 1;  
  position: fixed;
  top: 0;
  left: 0 !important;
  height: 75px;
  padding-left: 10%;
  width: calc(100vw - 425px) !important;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  clip-path: polygon(
    0 0,
    calc(100% - 75px) 0,
    100% 75px,
    100% 100%,
    0 100%
  );
}

/* Hover-Animation */

.desktop-navigation a {
  position: relative;
  text-decoration: none !important;
  color: inherit;
}

.desktop-navigation a::before {
  content: "";
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  height: 2px;
  width: 100%;
  background-color: #b71923;
  transition: transform 0.3s ease-in-out;
}

.desktop-navigation a:hover::before {
  transform: translateX(-50%) scaleX(1);
}

/*
Kontakt
*/
.contact-corner {
  position: fixed;
  top: 0;
  right: 0;
  width: 500px;
  max-width: 500px;
  height: 75px;
  padding-left: 50px;
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 9999;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 75px 100%, 0 calc(100% - 75px));
  background: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* ✅ Hier ist der Schatten */
  transition: all 0.3s ease;
}

/* ===========================================
   Tablet Header
=========================================== */

.tablet-navigation {
  background: rgba(235, 232, 227, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  flex: 1;  
  position: fixed;
  top: 0;
  left: 0 !important;
  height: 75px;
  padding-left: 10%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Hover-Animation */

.tablet-navigation a {
  position: relative;
  text-decoration: none !important;
  color: inherit;
}

.tablet-navigation a::before {
  content: "";
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  height: 2px;
  width: 100%;
  background-color: #b71923;
  transition: transform 0.3s ease-in-out;
}

.tablet-navigation a:hover::before {
  transform: translateX(-50%) scaleX(1);
}