.elementor-kit-7{--e-global-color-primary:#008B7D;--e-global-color-secondary:#1D1D1F;--e-global-color-text:#1D1D1F;--e-global-color-accent:#F9D423;--e-global-color-bg_light:#F5F5F7;--e-global-color-white:#FFFFFF;--e-global-color-teal_hover:#00776B;--e-global-color-text_secondary:#6E6E73;--e-global-color-hairline:#D2D2D7;--e-global-color-charcoal:#1D1D1F;--e-global-typography-primary-font-family:"Inter";--e-global-typography-primary-font-weight:600;--e-global-typography-primary-letter-spacing:-0.03em;--e-global-typography-secondary-font-family:"Inter";--e-global-typography-secondary-font-weight:600;--e-global-typography-secondary-letter-spacing:-0.02em;--e-global-typography-text-font-family:"Inter";--e-global-typography-text-font-weight:400;--e-global-typography-text-line-height:1.55em;--e-global-typography-accent-font-family:"Inter";--e-global-typography-accent-font-weight:500;background-color:#F5F5F7;}.elementor-kit-7 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1200px;}.e-con{--container-max-width:1200px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ============ HEADER · GLASSMORPHISM ============ */
.gh-glassnav{
  background: rgba(255,255,255,0.72) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: box-shadow .24s cubic-bezier(.16,1,.3,1);
}
.gh-glassnav.elementor-sticky--effects{ box-shadow: 0 1px 12px rgba(0,0,0,.06); }
.elementor-location-header{ position: relative; z-index: 999; }

/* Fallback: Browser ohne backdrop-filter bekommen deckendes Weiss */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  .gh-glassnav{ background: rgba(255,255,255,0.96) !important; }
}

/* Logo- und Nav-Block duerfen nicht schrumpfen (Schutz gegen Umbruch) */
.elementor-element-gh0111, .elementor-element-gh0114,
.elementor-element-gh0211, .elementor-element-gh0213, .elementor-element-gh0216{
  flex: 0 0 auto;
  min-width: 0;
}

/* ============ NAVIGATION ============ */
.gh-glassnav .elementor-nav-menu--main .elementor-item{
  border-radius: 999px;
  transition: color .18s ease, background-color .18s ease;
}
.gh-glassnav .elementor-nav-menu--main .elementor-item:hover,
.gh-glassnav .elementor-nav-menu--main .elementor-item.elementor-item-active{
  background-color: #EEF8F6;
}
.gh-glassnav .elementor-nav-menu--main .elementor-item:focus-visible{
  outline: 2px solid #008B7D;
  outline-offset: 2px;
}

/* Mobile-Dropdown ebenfalls als Glas-Flaeche */
.gh-glassnav .elementor-nav-menu--dropdown{
  background-color: rgba(255,255,255,0.96) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,.10);
  overflow: hidden;
}
.gh-glassnav .elementor-menu-toggle{
  background-color: transparent;
  border-radius: 999px;
  padding: 8px;
}
.gh-glassnav .elementor-menu-toggle:hover{ background-color: #EEF8F6; }

/* ============ BUTTONS · Anti-Gigantismus ============ */
.gh-btn-primary .elementor-button{
  line-height: 1.2;
  transition: transform .24s cubic-bezier(.16,1,.3,1), background-color .24s ease;
}
.gh-btn-primary .elementor-button:hover{ transform: scale(1.04); }
/* Im Header bewusst ohne Teal-Glow – der Glow bleibt den Seiten-CTAs vorbehalten */
.gh-glassnav .gh-btn-primary .elementor-button{ box-shadow: none; }

/* ============ FOOTER ============ */
.gh-footer .elementor-heading-title a{
  text-decoration: none;
  transition: color .18s ease;
}
.gh-footer .elementor-heading-title a:hover{ color: #008B7D; }
.gh-footer .elementor-heading-title{ line-height: 1.4; }

@media (max-width: 767px){
  .gh-footer{ text-align: center; }
  .elementor-element-gh0211, .elementor-element-gh0216{ width: 100% !important; justify-content: center; }
}

/* ============ ZUGAENGLICHKEIT ============ */
@media (prefers-reduced-motion: reduce){
  .gh-btn-primary .elementor-button:hover{ transform: none; }
  *{ transition-duration: .01ms !important; }
}
/* ============ BENTO-KACHELN ============ */
.gh-bento{
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  transition: transform .32s cubic-bezier(.16,1,.3,1), box-shadow .32s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  cursor: default;
  will-change: transform;
}
.gh-bento:hover{
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0,0,0,.12);
}
.gh-bento h3, .gh-bento span{ position: relative; z-index: 1; }

/* Glas-Button im Hero */
.gh-btn-glass .elementor-button{
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform .24s cubic-bezier(.16,1,.3,1), background-color .24s ease, color .24s ease;
}
.gh-btn-glass .elementor-button:hover{ transform: scale(1.04); }

/* ============ WPFORMS · Apple-Look ============ */
.wpforms-container{ margin: 0 !important; }
.wpforms-container .wpforms-field{ padding: 0 0 18px 0 !important; }
.wpforms-container .wpforms-field-label{
  font-family: Inter, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1D1D1F !important;
  margin-bottom: 8px !important;
}
.wpforms-container input[type=text],
.wpforms-container input[type=email],
.wpforms-container input[type=tel],
.wpforms-container select,
.wpforms-container textarea{
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  color: #1D1D1F !important;
  background: #F5F5F7 !important;
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  padding: 13px 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-shadow: none !important;
  transition: border-color .18s ease, background-color .18s ease;
}
.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus{
  background: #FFFFFF !important;
  border-color: #008B7D !important;
  outline: none !important;
}
.wpforms-container textarea{ min-height: 130px !important; resize: vertical; }
.wpforms-container .wpforms-required-label{ color: #008B7D !important; }
.wpforms-container button[type=submit]{
  font-family: Inter, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: -.01em;
  color: #FFFFFF !important;
  background: #008B7D !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 12px 26px !important;
  box-shadow: 0 10px 30px rgba(0,139,125,.28);
  transition: transform .24s cubic-bezier(.16,1,.3,1), background-color .24s ease;
  cursor: pointer;
}
.wpforms-container button[type=submit]:hover{
  background: #00776B !important;
  transform: scale(1.03);
}
.wpforms-confirmation-container-full{
  background: #EEF8F6 !important;
  border: 1px solid #A9E0D9 !important;
  border-radius: 16px !important;
  color: #00776B !important;
  font-family: Inter, sans-serif !important;
}

/* ============ ICON-BOX (Karriere) ============ */
.elementor-widget-icon-box .elementor-icon-box-title{ margin-bottom: 8px; }

/* ============ TEXT-EDITOR Links ============ */
.elementor-widget-text-editor a{ color: #00776B; text-decoration: none; border-bottom: 1px solid rgba(0,119,107,.3); }
.elementor-widget-text-editor a:hover{ border-bottom-color: #00776B; }

/* ===== HERO ===== */
.gh-hero-title .elementor-heading-title{ text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.gh-badge-yellow .elementor-heading-title{ display:inline-block; background:#F9D423; padding:7px 16px; border-radius:999px; text-transform:uppercase; }

/* ===== BENTO ===== */
.gh-bento{ overflow:hidden; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease; }
.gh-bento:hover{ transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.14); }
.gh-bento .elementor-heading-title{ text-shadow: 0 1px 8px rgba(0,0,0,.45); }

/* ===== CHIPS ===== */
.gh-chips-white .elementor-icon-list-items{ justify-content:center; }
.gh-chips-white .elementor-icon-list-item{ background:#FFFFFF; border-radius:999px; padding:11px 20px !important; box-shadow:0 1px 3px rgba(0,0,0,.05); }
.gh-chips-teal .elementor-icon-list-item{ background:#EEF8F6; border-radius:999px; padding:8px 16px !important; }
.gh-chips-white .elementor-icon-list-icon, .gh-chips-teal .elementor-icon-list-icon{ display:none; }

/* ===== PREIS-MATRIX ===== */
.gh-preis{ transition: transform .24s cubic-bezier(.16,1,.3,1); }
.gh-preis:hover{ transform: translateY(-3px); }
.gh-preis .elementor-icon-list-item{ align-items:flex-start; }

/* ===== KARRIERE ===== */
.gh-perk .elementor-icon-box-icon{ margin-bottom:14px !important; }
.gh-perk .elementor-icon-box-wrapper{ text-align:left; }

/* ===== BUTTONS ===== */
.gh-btn-ghost .elementor-button{ backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border:1px solid rgba(255,255,255,.35); transition: transform .24s cubic-bezier(.16,1,.3,1), background-color .24s ease; }
.gh-btn-ghost .elementor-button:hover{ transform: scale(1.04); }
.gh-btn-white .elementor-button{ border:1px solid #D2D2D7; transition: transform .24s cubic-bezier(.16,1,.3,1), background-color .24s ease; }
.gh-btn-white .elementor-button:hover{ transform: scale(1.04); }
.gh-btn-yellow .elementor-button{ box-shadow:0 10px 30px rgba(249,212,35,.3); transition: transform .24s cubic-bezier(.16,1,.3,1), background-color .24s ease; }
.gh-btn-yellow .elementor-button:hover{ transform: scale(1.04); }

@media (max-width:767px){ .gh-perk{ width:100% !important; } }


/* ===== VIDEO-PLATZHALTER (Hochformat) ===== */
.gh-video{ overflow:hidden; cursor:pointer; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease; }
.gh-video:hover{ transform: translateY(-6px); box-shadow: 0 18px 44px rgba(0,0,0,.18); }
.gh-video .elementor-icon{ transition: transform .24s cubic-bezier(.16,1,.3,1); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.gh-video:hover .elementor-icon{ transform: scale(1.1); }
.gh-video .elementor-heading-title{ text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* ===== KARRIERE-KARTEN ===== */
.gh-perk-card{ transition: transform .24s cubic-bezier(.16,1,.3,1), background-color .24s ease, border-color .24s ease; }
.gh-perk-card:hover{ transform: translateY(-4px); background-color: rgba(255,255,255,.09) !important; border-color: rgba(255,255,255,.22) !important; }

/* ===== TESTIMONIALS ===== */
.gh-stimme{ transition: transform .24s cubic-bezier(.16,1,.3,1), box-shadow .24s ease; }
.gh-stimme:hover{ transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.1) !important; }
.gh-stimme p{ margin:0; }

/* ===== CHIPS auf hellgrau ===== */
.gh-chips-grey .elementor-icon-list-items{ justify-content:center; }
.gh-chips-grey .elementor-icon-list-item{ background:#F5F5F7; border:1px solid #E8E8ED; border-radius:999px; padding:11px 20px !important; }
.gh-chips-grey .elementor-icon-list-icon{ display:none; }

/* ===== NICHT KLICKBARE LINKS (Entwurfsmodus) ===== */
.gh-glassnav .elementor-nav-menu li.gh-nolink > a,
.gh-nolink .elementor-button{
  pointer-events: none;
  cursor: default;
}
/* ===== FREIZEIT-CHIPS: gleicher Abstand horizontal & vertikal ===== */
.gh-chips-grey .elementor-icon-list-items{ display:flex; flex-wrap:wrap; justify-content:center; gap:16px 16px !important; }
.gh-chips-grey .elementor-icon-list-item{ margin:0 !important; }


/* Karriere: sanftes Scrollen zum Bewerbungsformular */
html{ scroll-behavior:smooth; }
#bewerbung{ scroll-margin-top:96px; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }


/* ===== GHL-Formulare in Karten ===== */
.gh-formcard-wrap{ background:#FFFFFF; border:1px solid #E8E8ED; border-radius:24px; padding:16px; box-shadow:0 4px 24px rgba(0,0,0,.06); }
.gh-formcard-wrap iframe{ display:block; border-radius:12px !important; }


/* ===== JOB-KARTEN ===== */
.gh-jobcard{ transition: transform .24s cubic-bezier(.16,1,.3,1), box-shadow .24s ease; }
.gh-jobcard:hover{ transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.08); }
.gh-jobcard .elementor-icon-list-icon svg{ width:13px; height:13px; }


/* ===== PLATZHALTER-LABEL in Kacheln ===== */
.gh-ph-label{ background:rgba(0,0,0,0.55); padding:6px 12px; border-radius:999px; backdrop-filter:blur(4px); z-index:2; }


/* ===== HEADER FIX: immer oben fixiert ===== */
.gh-glassnav{ position:fixed !important; top:0; left:0; right:0; width:100%; z-index:9999; }
[data-elementor-type='header']{ position:fixed; top:0; left:0; right:0; width:100%; z-index:9999; }
body:not(.elementor-editor-active){ padding-top:72px; }
@media (max-width:767px){ body:not(.elementor-editor-active){ padding-top:64px; } }
.admin-bar [data-elementor-type='header']{ top:32px; }
.admin-bar .gh-glassnav{ top:32px; }
@media (max-width:782px){ .admin-bar [data-elementor-type='header'], .admin-bar .gh-glassnav{ top:46px; } }


/* Footer: nicht klickbare Seitenpunkte */
.gh-foot-nolink{ pointer-events:none; }


/* ===== FAQ ACCORDION (CI-Style) ===== */
.gh-faq .elementor-accordion-item{ background:#FFFFFF; border:1px solid #E8E8ED !important; border-radius:16px; margin-bottom:14px; overflow:hidden; transition:border-color .24s ease, box-shadow .24s ease, transform .24s ease; }
.gh-faq .elementor-accordion-item:hover{ border-color:#B8E0D9 !important; box-shadow:0 6px 24px rgba(0,139,125,.08); }
.gh-faq .elementor-accordion-item:has(.elementor-active){ border-color:#008B7D !important; box-shadow:0 10px 34px rgba(0,139,125,.12); }
.gh-faq .elementor-tab-title{ padding:22px 24px !important; border:none !important; font-size:17px; font-weight:600; color:#1D1D1F; transition:color .2s ease; }
.gh-faq .elementor-tab-title:hover{ color:#008B7D; }
.gh-faq .elementor-tab-title.elementor-active{ color:#008B7D; }
.gh-faq .elementor-accordion-icon{ display:none !important; }
.gh-faq .elementor-tab-title{ position:relative; padding-right:60px !important; }
.gh-faq .elementor-tab-title::after{ content:''; position:absolute; right:24px; top:50%; width:22px; height:22px; margin-top:-11px; border-radius:50%; background:#EEF8F6; transition:background .24s ease, transform .24s ease; }
.gh-faq .elementor-tab-title::before{ content:''; position:absolute; right:31px; top:50%; width:8px; height:8px; margin-top:-4px; z-index:1; background:linear-gradient(#008B7D,#008B7D) center/8px 2px no-repeat, linear-gradient(#008B7D,#008B7D) center/2px 8px no-repeat; transition:transform .24s cubic-bezier(.16,1,.3,1), background .24s ease; }
.gh-faq .elementor-tab-title.elementor-active::after{ background:#008B7D; }
.gh-faq .elementor-tab-title.elementor-active::before{ background:linear-gradient(#fff,#fff) center/8px 2px no-repeat; transform:rotate(180deg); }
.gh-faq .elementor-tab-content{ padding:0 24px 24px !important; border:none !important; font-size:16px; line-height:1.65; color:#6E6E73; }


/* ===== RECHTSTEXTE (Impressum/Datenschutz/Cookie) CI-Styling ===== */
.page-id-40 .entry-content, .page-id-41 .entry-content, .page-id-102 .entry-content{ max-width:860px; margin:0 auto; padding:120px 24px 90px; font-family:Inter,sans-serif; color:#424245; line-height:1.7; }
.page-id-40 .entry-content h1, .page-id-41 .entry-content h1, .page-id-102 .entry-content h1{ font-size:44px; font-weight:600; letter-spacing:-0.03em; color:#1D1D1F; margin-bottom:8px; }
.page-id-40 .entry-content h2, .page-id-41 .entry-content h2, .page-id-102 .entry-content h2{ font-size:26px; font-weight:600; letter-spacing:-0.02em; color:#1D1D1F; margin-top:44px; margin-bottom:14px; padding-top:24px; border-top:1px solid #E8E8ED; }
.page-id-40 .entry-content h3, .page-id-41 .entry-content h3, .page-id-102 .entry-content h3{ font-size:19px; font-weight:600; color:#1D1D1F; margin-top:28px; margin-bottom:8px; }
.page-id-40 .entry-content h4, .page-id-41 .entry-content h4, .page-id-102 .entry-content h4{ font-size:16px; font-weight:600; color:#1D1D1F; margin-top:20px; margin-bottom:6px; }
.page-id-40 .entry-content p, .page-id-41 .entry-content p, .page-id-102 .entry-content p{ margin-bottom:14px; font-size:16px; }
.page-id-40 .entry-content a, .page-id-41 .entry-content a, .page-id-102 .entry-content a{ color:#008B7D; text-decoration:none; }
.page-id-40 .entry-content a:hover, .page-id-41 .entry-content a:hover, .page-id-102 .entry-content a:hover{ text-decoration:underline; }
.page-id-40 .entry-content > *:first-child h2, .page-id-41 .entry-content h1 + h2{ border-top:none; padding-top:0; }


/* Rechtstexte: doppelten Seitentitel ausblenden */
.page-id-40 .entry-title, .page-id-41 .entry-title, .page-id-102 .entry-title, .page-id-40 .page-title, .page-id-41 .page-title, .page-id-102 .page-title{ display:none !important; }
/* gh-hide-page-title */
.page-id-40 .entry-content, .page-id-41 .entry-content, .page-id-102 .entry-content{ padding-top:96px; }


/* ===== BENTO HOVER-ZOOM ===== */
.gh-bento{ overflow:hidden; }
.gh-bento{ transition: background-size .6s cubic-bezier(.2,.6,.2,1), box-shadow .3s ease, transform .3s ease; background-size:100% auto; }
.gh-bento{ background-size:cover; }
.gh-bento:hover{ background-size:118%; box-shadow:0 18px 50px rgba(0,0,0,.18); }
.gh-bento:hover{ transform:translateY(-3px); }
@media (prefers-reduced-motion:reduce){ .gh-bento{ transition:none; } .gh-bento:hover{ background-size:cover; transform:none; } }


/* ===== TESTIMONIAL-KARTEN ===== */
.gh-tcard{ transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease; }
.gh-tcard:hover{ box-shadow:0 18px 44px rgba(0,0,0,.10); transform:translateY(-3px); border-color:#D9EFEA !important; }


/* ============ VIDEO-PLATZHALTER-KACHELN (9:16) ============ */
.gh-vtile{
  aspect-ratio: 9 / 16 !important;
  height: auto !important;
}


/* ============ HOVER-ANIMATIONEN (SITE-WEIT) ============ */
/* Primaer-Buttons: Lift + Schatten beim Hover */
.gh-btn-primary{ transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s cubic-bezier(.16,1,.3,1), background-color .25s ease !important; }
.gh-btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,139,125,0.35); }

/* Alle Icon-Widgets: sanftes Pop beim Hover (Feature-Karten, Benefit-Kacheln etc.) */
.elementor-widget-icon .elementor-icon{ transition: transform .3s cubic-bezier(.34,1.56,.64,1), background-color .25s ease !important; }
.elementor-widget-icon:hover .elementor-icon{ transform: scale(1.14) rotate(-4deg); }

/* Testimonial-Karten (.gh-tcard): Lift beim Hover, wie die Bento-Kacheln */
.gh-tcard{ transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s cubic-bezier(.16,1,.3,1) !important; }
.gh-tcard:hover{ transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,.08); }

/* Footer Social-Icons: sanftes Wachsen zusaetzlich zur Farbaenderung */
.elementor-widget-icon a{ transition: transform .25s cubic-bezier(.34,1.56,.64,1) !important; }
.elementor-widget-icon a:hover{ transform: scale(1.1); }

/* Footer-/Seiten-Links: sanfter Farb-Uebergang statt hartem Wechsel */
footer a, .elementor-nav-menu .elementor-item{ transition: color .2s ease !important; }


/* ============ SANFTES SLIDE-IN (statt animate.css Standard-Ruckeln) ============ */
.elementor-widget.animated.slideInUp{
  animation-name: gh-slide-in-up !important;
  animation-duration: .9s !important;
  animation-timing-function: cubic-bezier(.16,1,.3,1) !important;
  animation-fill-mode: both !important;
}
@keyframes gh-slide-in-up{
  0%{ opacity:0; transform: translateY(28px); }
  100%{ opacity:1; transform: translateY(0); }
}



}


/* ============ VIDEO-EMBEDS IN 9:16-KACHELN ============ */
.gh-video-embed{
  width: 100% !important;
  height: 100% !important;
  flex: 1 1 auto !important;
  align-self: stretch !important;
  min-height: 260px;
  position: relative;
  display: block !important;
}


/* ============ HERO-VIDEO: Fade-in erst wenn Player wirklich spielt ============ */
.elementor-background-video-container{
  opacity: 0;
  animation: gh-video-fade-in .6s ease-in 1.4s forwards;
}


/* ============ HERO-VIDEO: echtes Poster-Bild erzwingen (Elementor rendert bei Embed-Video keins) ============ */
body.page-id-17 .elementor-element-gh2001{
  background-image: url('https://seniorenheim-glashuetten.de/wp-content/uploads/2026/08/gla-32-scaled.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
}

@keyframes gh-video-fade-in{
  0%{ opacity: 0; }
  100%{ opacity: 1; }
}


/* ============ MOBIL/TABLET-MENU: echtes Slide-in von rechts ============ */
@media(max-width:1024px){
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container{
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    height: 100vh !important;
    width: 320px !important;
    max-width: 85vw !important;
    background: #FFFFFF !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 32px !important;
    box-shadow: -16px 0 48px rgba(0,0,0,.18) !important;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.16,1,.3,1);
    z-index: 999;
  }
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container:not(.e--pointer-none){
    transform: translateX(0);
  }
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li{
    width: 100%; text-align: center;
  }
  .gh-mobile-cta-slot{
    position: relative !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 28px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
  }
  .gh-mobile-cta-slot .elementor-element-gh0116{
    width: 100% !important;
  }
  .gh-mobile-cta-slot .elementor-button{
    width: 100% !important;
    justify-content: center !important;
  }
  body.elementor-page:has(.elementor-nav-menu__container:not(.e--pointer-none)) .elementor-menu-toggle{
    z-index: 1001; position: relative;
  }
}


/* ============ MOBIL-MENU: optischer Feinschliff ============ */
@media(max-width:1024px){
  /* Burger-Icon: klare, ruhige Kreisflaeche statt Standard-Elementor-Look */
  .elementor-menu-toggle{
    background: #F5F5F7 !important;
    border-radius: 999px !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background .2s ease;
  }
  .elementor-menu-toggle:hover{ background: #EBEBF0 !important; }

  /* Panel: leichte Rundung links, sauberer Header-Bereich */
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container{
    border-radius: 20px 0 0 20px !important;
    padding: 100px 0 40px !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  /* Menuepunkte: Trennlinien, klare Abstaende, sanfter Uebergang */
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li{
    width: 100%;
    border-bottom: 1px solid #F0F0F2;
  }
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li:last-child{
    border-bottom: none;
  }
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a{
    padding: 18px 32px !important;
    display: block !important;
    font-weight: 600 !important;
    transition: background .2s ease, padding-left .2s ease;
  }
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a:hover{
    background: #F5F5F7 !important;
    padding-left: 40px !important;
  }

  /* Close-Button: dezenter, oben rechts im Panel statt frei schwebend */
  .elementor-menu-toggle .eicon-close, .elementor-menu-toggle .eicon-menu-bar{
    font-size: 20px !important;
  }

  /* Sanftes Einblenden des Panels von rechts + Hintergrund-Abdunklung */
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container{
    box-shadow: -20px 0 60px rgba(0,0,0,.2) !important;
  }
}


/* ============ HEADER MOBILE: alles in einer Zeile, X-Button rechts aussen ============ */
@media(max-width:1024px){
  .gh-logo-text{ display: none !important; }
  .elementor-element-gh0110{ flex-wrap: nowrap !important; gap: 8px; }
  .elementor-element-gh0111{ flex: 0 0 auto; min-width: 0; }
  .elementor-element-gh0114{ flex: 0 0 auto; min-width: 0; }
}


/* ============ MOBIL-MENU: aktiver Punkt gleich grou00df wie die anderen ============ */
@media(max-width:1024px){
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a{
    box-sizing: border-box !important;
    margin: 0 !important;
    line-height: 1.3 !important;
  }
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a.elementor-item-active,
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a.elementor-item-active:hover{
    background: #EEF8F6 !important;
    color: #008B7D !important;
    padding: 18px 32px !important;
    padding-left: 32px !important;
  }
}


/* ============ MOBIL-MENU: alle Zustu00e4nde rund statt rechteckig ============ */
@media(max-width:1024px){
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li{
    border-bottom: none !important;
    padding: 3px 16px !important;
  }
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a{
    box-sizing: border-box !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
  }
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a:hover{
    background: #F5F5F7 !important;
    padding-left: 20px !important;
    border-radius: 14px !important;
  }
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a.elementor-item-active,
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a.elementor-item-active:hover{
    background: #EEF8F6 !important;
    color: #008B7D !important;
    border-radius: 14px !important;
  }
  .elementor-menu-toggle:focus, .elementor-menu-toggle:focus-visible{
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(0,139,125,0.15) !important;
    border-radius: 999px !important;
  }
}


/* ============ MOBIL-MENU: sauberer Tap-/Fokus-Zustand statt grauer Standard-Box ============ */
@media(max-width:1024px){
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a{
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
  }
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a:active,
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a:focus,
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a:focus-visible{
    background: #EEF8F6 !important;
    color: #1D1D1F !important;
    opacity: 1 !important;
    border-radius: 14px !important;
    outline: none !important;
    box-shadow: none !important;
  }
}




/* ============ MOBIL/TABLET: Button als echtes Menue-Item, nicht mehr im Header ============ */
@media(min-width:1025px){
  .gh-menu-cta{ display: none !important; }
}
@media(max-width:1024px){
  .elementor-element-gh0116{ display: none !important; }
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li.gh-menu-cta{
    margin-top: 20px !important;
    padding: 0 12px !important;
  }
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li.gh-menu-cta a{
    background: #008B7D !important;
    color: #FFFFFF !important;
    text-align: center !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    padding: 16px 20px !important;
  }
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li.gh-menu-cta a:hover{
    background: #00776B !important;
    padding-left: 20px !important;
  }
}


/* ============ FINALER FIX: Header IMMER als Zeile, egal was vorher steht ============ */
html body .elementor-element-gh0110,
html body .elementor-element.elementor-element-gh0110{
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: auto !important;
}
html body .elementor-element-gh0111{
  width: auto !important;
  flex: 0 0 auto !important;
}
html body .elementor-element-gh0114{
  width: auto !important;
  flex: 0 0 auto !important;
  flex-direction: row !important;
}


/* ============ FINALER FIX: JEDER Fokus-/Tap-Zustand im Menue einheitlich ============ */
@media(max-width:1024px){
  html body .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a,
  html body .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a:link,
  html body .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a:visited{
    background-color: transparent !important;
    color: #1D1D1F !important;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
  }
  html body .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a:hover,
  html body .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a:focus,
  html body .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a:focus-visible,
  html body .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a:focus-within,
  html body .elementor-nav-menu--dropdown-tablet .elementor-nav-menu__container li a:active{
    background-color: #F5F5F7 !important;
    color: #008B7D !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
  }
}


/* ============ FINALER FIX: Google-Maps-Karten erzwungen korrekt ============ */
html body .elementor-element-ko009,
html body .elementor-element-gh2166{
  height: 460px !important;
  min-height: 460px !important;
  max-height: 460px !important;
  align-self: flex-start !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}
html body .gh-video-embed{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
html body .gh-video-embed iframe{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}


/* ============ FIX: Header garantiert buendig oben (mobile) ============ */
html, body{ overflow-x: hidden; }
.elementor-location-header, .elementor-location-header *{ transform: none !important; }
.gh-glassnav.elementor-sticky--stuck,
.gh-glassnav.elementor-sticky--effects{
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}
/* ===== HERO VIDEO: Standbild-Fallback + Steuerung aus ===== */
.elementor-element-gh2001{ background-image:url('https://seniorenheim-glashuetten.de/wp-content/uploads/2026/08/gla-32-scaled.jpg') !important; background-size:cover !important; background-position:center center !important; }
.elementor-element-gh2001 .elementor-background-video-container{ background:transparent !important; pointer-events:none !important; }
.elementor-element-gh2001 .elementor-background-video-container iframe{ background:transparent !important; pointer-events:none !important; }
.elementor-background-video-container .ytp-chrome-top,.elementor-background-video-container .ytp-chrome-bottom,.elementor-background-video-container .ytp-large-play-button,.elementor-background-video-container .ytp-pause-overlay,.elementor-background-video-container .ytp-watermark{ display:none !important; opacity:0 !important; }
.elementor-custom-embed-play,.elementor-video-play-button{ display:none !important; }


/* ===== KONTAKT MAP FUELLT HOEHE (global) ===== */
.gh-mapfill{ position:relative; height:100%; min-height:inherit; }
.gh-mapfill .elementor-widget-container{ position:absolute; inset:0; height:100%; }
.gh-mapfill iframe{ width:100%!important; height:100%!important; }


/* Startseite Kontakt: Map = Hoehe der linken Karte */
.elementor-element-gh2166{ height:auto !important; min-height:0 !important; max-height:none !important; overflow:visible !important; align-self:stretch !important; }
.elementor-element-gh2166 .gh-mapfill{ position:relative !important; height:100% !important; min-height:340px !important; flex:1 1 auto !important; }
.elementor-element-gh2166 .gh-mapfill .elementor-widget-container{ position:absolute !important; inset:0 !important; }
.elementor-element-gh2166 .gh-mapfill iframe{ width:100%!important; height:100%!important; }/* End custom CSS */