/* Dezenten Hover für echte Glas-Kacheln (Hero und Seitenleisten gleicher Optik).
   Klasse .ez-glass und den Dateilink setzt v3tools/glass_hover.py (über apply_partials).
   Nicht betroffen: Team-Namenskacheln, Buttons, Header, Hinweisboxen.

   Werte: translateY(-4px), 350 ms ease-out,
   weicher Schatten mit großem Blur, geringer Deckkraft und leicht warmem Ton.
   Nur bei echter Maus (hover:hover + pointer:fine).
   Bei prefers-reduced-motion: nur der Schatten, keine Bewegung.
   Kein Layout-Sprung (nur transform/box-shadow). Backdrop-Filter bleibt in ::before.
*/

html body .ez-glass.ez-glass,
html body .eau-header-hero .eau-header-hero-box,
html body .eau-header-hero .elementor-element-427b5d92 > .e-con-inner > .e-con:first-child,
html body .elementor-element-2b0f0325 > .e-con-inner,
html body .elementor-element-675d98f0 > .e-con-inner,
html body .elementor-element.elementor-element-69acae89,
html body .elementor-element.elementor-element-50a8f2a3,
html body .elementor-element.elementor-element-7e0805eb,
html body .eau-magazin-intro,
html body .cmsmasters-single-post-title.entry-header,
html body .ez-side-tile,
html body .elementor-widget-sidebar .wp-block-group{
  transition:transform .35s ease-out, box-shadow .35s ease-out !important;
  /* überschreibt das frühere transform:none / transition:none der Schärfe-Regel */
  transform:translateY(0) !important;
  will-change:auto !important;
}

/* Die Glasfläche (::before) bewegt sich mit der Kachel, bleibt selbst untransformiert. */
html body .ez-glass.ez-glass::before,
html body .eau-header-hero .eau-header-hero-box::before,
html body .elementor-element-2b0f0325 > .e-con-inner::before,
html body .elementor-element-675d98f0 > .e-con-inner::before,
html body .elementor-element.elementor-element-69acae89::before,
html body .elementor-element.elementor-element-50a8f2a3::before,
html body .elementor-element.elementor-element-7e0805eb::before,
html body .eau-magazin-intro::before,
html body .cmsmasters-single-post-title.entry-header::before,
html body .ez-side-tile::before,
html body .elementor-widget-sidebar .wp-block-group::before{
  transform:none !important;
}

@media (hover:hover) and (pointer:fine){
  html body .ez-glass.ez-glass:hover,
  html body .eau-header-hero .eau-header-hero-box:hover,
  html body .eau-header-hero .elementor-element-427b5d92 > .e-con-inner > .e-con:first-child:hover,
  html body .elementor-element-2b0f0325 > .e-con-inner:hover,
  html body .elementor-element-675d98f0 > .e-con-inner:hover,
  html body .elementor-element.elementor-element-69acae89:hover,
  html body .elementor-element.elementor-element-50a8f2a3:hover,
  html body .elementor-element.elementor-element-7e0805eb:hover,
  html body .eau-magazin-intro:hover,
  html body .cmsmasters-single-post-title.entry-header:hover,
  html body .ez-side-tile:hover,
  html body .elementor-widget-sidebar .wp-block-group:hover{
    transform:translateY(-4px) !important;
    box-shadow:
      0 22px 50px -18px rgba(38,48,68,.22),
      0 12px 32px -14px rgba(110,82,55,.16),
      inset 0 1px 0 rgba(255,255,255,.7) !important;
    will-change:transform !important;
  }

  /* Buttons in der Kachel heben nicht extra an; die Kachel als Ganzes schon. */
  html body .ez-glass .eau-tag a:hover,
  html body .eau-header-hero-box .eau-tag a:hover{
    transform:none !important;
  }

  /* Schatten darf am Hero-Rand sichtbar bleiben, nur während des Hovers. */
  html body .eau-header-hero:has(.ez-glass:hover),
  html body .ez-hero:has(.ez-glass:hover),
  html body .elementor-element-2b0f0325:has(.e-con-inner:hover),
  html body .elementor-element-675d98f0:has(.e-con-inner:hover){
    overflow:visible;
  }
}

@media (prefers-reduced-motion:reduce){
  html body .ez-glass.ez-glass,
  html body .eau-header-hero .eau-header-hero-box,
  html body .eau-header-hero .elementor-element-427b5d92 > .e-con-inner > .e-con:first-child,
  html body .elementor-element-2b0f0325 > .e-con-inner,
  html body .elementor-element-675d98f0 > .e-con-inner,
  html body .elementor-element.elementor-element-69acae89,
  html body .elementor-element.elementor-element-50a8f2a3,
  html body .elementor-element.elementor-element-7e0805eb,
  html body .eau-magazin-intro,
  html body .cmsmasters-single-post-title.entry-header,
  html body .ez-side-tile,
  html body .elementor-widget-sidebar .wp-block-group{
    transition:box-shadow .35s ease-out !important;
    transform:none !important;
  }
  @media (hover:hover) and (pointer:fine){
    html body .ez-glass.ez-glass:hover,
    html body .eau-header-hero .eau-header-hero-box:hover,
    html body .eau-header-hero .elementor-element-427b5d92 > .e-con-inner > .e-con:first-child:hover,
    html body .elementor-element-2b0f0325 > .e-con-inner:hover,
    html body .elementor-element-675d98f0 > .e-con-inner:hover,
    html body .elementor-element.elementor-element-69acae89:hover,
    html body .elementor-element.elementor-element-50a8f2a3:hover,
    html body .elementor-element.elementor-element-7e0805eb:hover,
    html body .eau-magazin-intro:hover,
    html body .cmsmasters-single-post-title.entry-header:hover,
    html body .ez-side-tile:hover,
    html body .elementor-widget-sidebar .wp-block-group:hover{
      transform:none !important;
      will-change:auto !important;
      box-shadow:
        0 22px 50px -18px rgba(38,48,68,.22),
        0 12px 32px -14px rgba(110,82,55,.16),
        inset 0 1px 0 rgba(255,255,255,.7) !important;
    }
  }
}
