/*
Theme Name: Seespitz 37 Child
Theme URI: https://seespitz-37.at/seespitz-37-child
Description: Child Theme Seespitz 37
Author: S. Schäffler
Author URI: https://simon-schaeffler.com
Template: hello-elementor
Version: 1.1.5
Text Domain: seespitz-37-child
*/

:root {
 	--ebCiFontFamily: "DM Sans"; /* Schriftart für EB IBE */
 }

p {
    margin-block-end: 1.9rem !important;
}
strong {
    font-weight: 500 !important;
}
p > a {
    color: #1e5d75 !important;
}
button:focus {
    background-color: var(--m-btn-bg) !important; 
    color: #fff !important;
}
.btn-hov-px:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
}
.dialog-type-lightbox {
    z-index: 11001 !important;
}
/* Ultra-dünne Scrollbar mit Neon-Effekt */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: #1e5d75;
  box-shadow: 0 0 10px #1e5d75;
  border-radius: 10px;
}

/* .milky::after {
          content:""; position:absolute; left:0; right:0; bottom:0; height:30%;
          background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 85%);
          z-index:1; pointer-events:none;
} */
@media (max-width: 768px) {
.milky::after {
          content:""; position:absolute; left:0; right:0; top:0px; height:50%;
          background: linear-gradient(to bottom, rgba(255,255,255,1) 30%, rgba(255,255,255,0) 85%);
          z-index:1; pointer-events:none;
}}

.main-button {
  font-family: 'DM Sans' !important;
  background-color: #1E5D75;
  color: white;
  font-size: clamp(0.9rem, 0.8296rem + 0.2254vw, 1.1rem);
  font-weight: 600 !important;
  text-transform: uppercase;
  padding: clamp(0.8em, 1.2vw, 1em) clamp(1.5em, 4vw, 2.8em);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: transform 0.5s, box-shadow 0.5s, background-color 0.3s ease;
  box-shadow: none;
  display: inline-block;
  text-align: center;
  line-height: 1;
  text-decoration: none;
}

/* Hover-Zustand */
.main-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  background-color: #4a6d78;
  color: white;
}

/* Tastatur-Fokus */
.main-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(92, 131, 144, 0.5);
  background-color: #4a6d78;
}
.second-button {
  font-family: 'DM Sans' !important;
  background-color: transparent;
  color: #1E5D75;
  font-size: clamp(0.9rem, 0.8296rem + 0.2254vw, 1.1rem);
  font-weight: 600 !important;
  text-transform: uppercase;
  padding: clamp(0.8em, 1.2vw, 1em) clamp(1.5em, 4vw, 2.8em);
  border: 1px solid #1E5D75;
  border-radius: 9999px;
  cursor: pointer;
  transition: transform 0.5s, box-shadow 0.5s, background-color 0.3s ease;
  box-shadow: none;
  display: inline-block;
  text-align: center;
  line-height: 1;
  text-decoration: none;
}

/* Hover-Zustand */
.second-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  color: #5c8390;
  background-color: transparent;
}

/* Tastatur-Fokus */
.second-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(92, 131, 144, 0.5);
  background-color: transparent;
  color: #5c8390;
}

/* ========== start of hero mouse code ========== */
.hero-mouse {
  position: absolute;
  /* bottom: 12vh; */
  bottom: 25vh;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 100;
  font-size: 12px;
  text-transform: uppercase;
  color: white;
  font-weight: 600;
  letter-spacing: 1px;
  /* Bounce Animation */
  -webkit-animation: bounce 2s ease-in-out infinite;
          animation: bounce 2s ease-in-out infinite;
}

/* Halbtransparenter kreisrunder Hintergrund */
.hero-mouse::before {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15); /* Weiß mit 15% Transparenz */
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  /* Optional: Weicher Übergang für Hover-Effekte */
  transition: background 0.3s ease;
}

/* Optional: Hover-Effekt für den Hintergrund */
.hero-mouse:hover::before {
  background: rgba(255, 255, 255, 0.25);
}

/* Pausiere Bounce-Animation bei Hover */
.hero-mouse:hover {
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}

.mouse-icon {
  width: 25px;
  height: 45px;
  border-radius: 15px;
  position: relative;
  border: 2px solid #fff;
  text-align: center;
}

.mouse-icon span {
  width: 3px;
  height: 8px;
  margin: 2px auto 0;
  display: block;
  background: #fff;
  border-radius: 5px;
  -webkit-animation: 1.2s ease infinite wheel-up-down;
          animation: 1.2s ease infinite wheel-up-down;
}

@-webkit-keyframes wheel-up-down {
  0% {
    margin-top: 2px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    margin-top: 20px;
    opacity: 0;
  }
}

@keyframes wheel-up-down {
  0% {
    margin-top: 2px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    margin-top: 20px;
    opacity: 0;
  }
}

/* Bounce Animation für das gesamte Icon */
@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateX(-50%) translateY(0);
            transform: translateX(-50%) translateY(0);
  }
  40% {
    -webkit-transform: translateX(-50%) translateY(-10px);
            transform: translateX(-50%) translateY(-10px);
  }
  60% {
    -webkit-transform: translateX(-50%) translateY(-5px);
            transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateX(-50%) translateY(0);
            transform: translateX(-50%) translateY(0);
  }
  40% {
    -webkit-transform: translateX(-50%) translateY(-10px);
            transform: translateX(-50%) translateY(-10px);
  }
  60% {
    -webkit-transform: translateX(-50%) translateY(-5px);
            transform: translateX(-50%) translateY(-5px);
  }
}

/* ========== Mobile Tweaks (≤ 768px) ========== */
@media (max-width: 768px) {
  .hero-mouse {
    font-size: 10px; /* Text darunter etwas kleiner */
  }

  .hero-mouse::before {
    width: 56px;
    height: 56px; /* kleinerer, halbtransparenter Kreis */
  }

  .mouse-icon {
    width: 18px;
    height: 34px;
    border-width: 1.5px;
    border-radius: 12px; /* proportional angepasst */
  }

  .mouse-icon span {
    width: 2px;
    height: 6px; /* Scroll-Wheel etwas kleiner */
  }
}

/* ========== Very Small Phones (≤ 380px) ========== */
@media (max-width: 380px) {
  .hero-mouse {
    font-size: 9px;
  }

  .hero-mouse::before {
    width: 48px;
    height: 48px;
  }

  .mouse-icon {
    width: 16px;
    height: 30px;
    border-width: 1.5px;
    border-radius: 10px;
  }

  .mouse-icon span {
    width: 2px;
    height: 5px;
  }
}
/* ========== End of hero mouse code ========== */

#ebOfferContainer {
    margin: 0 !important;
    width: 85% !important;
  }
@media (max-width: 768px) {
  #ebOfferContainer {
    width: 100% !important;
  }
}  

/* verhindert off canvas hüpf effekt */
/* erzwingt, dass die vertikale Scrollbar auch ohne Inhalt immer sichtbar ist */
html {
  overflow-y: scroll;
  /* moderner (Chrome/Firefox), reserviert Platz für die Scrollbar */
  scrollbar-gutter: stable;
}

/* 0) Stelle sicher, dass der gesamte Nav-Container Overflow zulässt */
.elementor-nav-menu--main.elementor-nav-menu__container {
  overflow: visible !important;
}

/* 1) Eliminiere das Pfeil‐Icon */
.elementor-nav-menu__container .sub-arrow {
  display: none !important;
}

/* 2) Parent-Listenelemente relativ positionieren */
.elementor-nav-menu__container ul.elementor-nav-menu.sm-vertical li.menu-item-has-children {
  position: relative !important;
  overflow: visible !important;
}

/* 3) Sub-Menu in Spalte 2 rechts daneben – Standard unsichtbar */
.elementor-nav-menu__container ul.elementor-nav-menu.sm-vertical 
  li.menu-item-has-children > ul.sub-menu.elementor-nav-menu--dropdown {
  position: absolute !important;
  top: 0 !important;
  left: 100% !important;
  display: none !important;
  min-width: 200px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  padding: 0.5em 0 !important;
  z-index: 1000 !important;
  white-space: nowrap !important;
}

/* 4a) Anzeige bei Hover oder Tab-Fokus */
.elementor-nav-menu__container ul.elementor-nav-menu.sm-vertical 
  li.menu-item-has-children:hover > ul.sub-menu.elementor-nav-menu--dropdown,
.elementor-nav-menu__container ul.elementor-nav-menu.sm-vertical 
  li.menu-item-has-children:focus-within > ul.sub-menu.elementor-nav-menu--dropdown {
  display: block !important;
}

/* 4b) Anzeige bei Klick (SmartMenus toggelt aria-expanded) */
.elementor-nav-menu__container .has-submenu[aria-expanded="true"] 
  + ul.sub-menu.elementor-nav-menu--dropdown {
  display: block !important;
}
/* Global Styles for text-links to be EAA conform */
.text-link-deco {
  /* Unterstreichen als zusätzliches Merkmal */
  text-decoration: underline !important;
  /* Stärke der Unterstreichung je nach Geschmack anpassen */
  text-decoration-thickness: 1px !important;
  /* Farbe der Unterstreichung übernimmt die Textfarbe */
  text-decoration-color: var(--e-global-color-primary) !important;
  font-weight: 600 !important;
  color: var(--e-global-color-primary);
}

.text-link-deco:focus,
.text-link-deco:hover {
  /* sichtbares Outline für Tastaturnutzer und Hover-Effekt */
  outline: 2px dotted currentColor;
  outline-offset: 3px;
}

#elementor-popup-modal-2537 .dialog-close-button {
    display: flex;
    font-size: 2.5rem;
    z-index: 12000;
}