/* Webmaster: Mobile-Korrekturen und Hover der vier Geschäftsfeld-Kästen. */
img, video { max-width: 100%; height: auto; }

.wb-gbox { --wb-g: #4285F4; }
.wb-gbox--blue { --wb-g: #4285F4; }
.wb-gbox--red { --wb-g: #EA4335; }
.wb-gbox--yellow { --wb-g: #FBBC05; }
.wb-gbox--green { --wb-g: #34A853; }

.wb-gbox {
  transition: transform 200ms ease;
}
.wb-gbox > .tve-content-box-background,
.wb-gbox .thrv_icon,
.wb-gbox .tcb-icon,
.wb-gbox svg {
  transition: box-shadow 200ms ease, color 200ms ease, fill 200ms ease;
}

.wb-gbox:hover,
.wb-gbox:focus-visible,
.wb-gbox:has(:focus-visible),
.wb-gbox:active {
  transform: translateY(-4px);
}
.wb-gbox:hover > .tve-content-box-background,
.wb-gbox:focus-visible > .tve-content-box-background,
.wb-gbox:has(:focus-visible) > .tve-content-box-background,
.wb-gbox:active > .tve-content-box-background {
  box-shadow:
    rgba(0, 0, 0, 0.09) 0px 0px 12px 0px,
    0 8px 28px color-mix(in srgb, var(--wb-g) 45%, transparent) !important;
}
.wb-gbox:hover .thrv_icon,
.wb-gbox:focus-visible .thrv_icon,
.wb-gbox:has(:focus-visible) .thrv_icon,
.wb-gbox:active .thrv_icon {
  --tcb-local-color-icon: var(--wb-g);
  --tcb-local-color-var: var(--wb-g);
}
.wb-gbox:hover .thrv_icon :first-child,
.wb-gbox:hover .tcb-icon,
.wb-gbox:hover svg,
.wb-gbox:hover svg path,
.wb-gbox:focus-visible .thrv_icon :first-child,
.wb-gbox:focus-visible .tcb-icon,
.wb-gbox:focus-visible svg,
.wb-gbox:focus-visible svg path,
.wb-gbox:has(:focus-visible) .thrv_icon :first-child,
.wb-gbox:has(:focus-visible) .tcb-icon,
.wb-gbox:has(:focus-visible) svg,
.wb-gbox:has(:focus-visible) svg path,
.wb-gbox:active .thrv_icon :first-child,
.wb-gbox:active .tcb-icon,
.wb-gbox:active svg,
.wb-gbox:active svg path {
  color: var(--wb-g) !important;
  fill: var(--wb-g);
}

@media (prefers-reduced-motion: reduce) {
  .wb-gbox,
  .wb-gbox > .tve-content-box-background,
  .wb-gbox .thrv_icon,
  .wb-gbox .tcb-icon,
  .wb-gbox svg {
    transition: box-shadow 200ms ease, color 200ms ease, fill 200ms ease;
  }
  .wb-gbox:hover,
  .wb-gbox:focus-visible,
  .wb-gbox:has(:focus-visible),
  .wb-gbox:active {
    transform: none;
  }
}

@media (max-width: 767px) {
  img, video { max-width: 100% !important; height: auto !important; }
  .tcb-moved-image { width: 100% !important; max-width: 100% !important; }

  /* Feste Thrive-Breiten auf Identity und anderswo nicht über den Kasten hinausragen lassen. */
  .thrv_text_element {
    width: auto !important;
    max-width: 100% !important;
    --tve-applied-width: 100% !important;
    box-sizing: border-box;
  }

  .tcb-button-link {
    min-height: 44px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
  }
  #thrive-footer a,
  .thrv_footer a,
  footer a,
  .tcb-logo {
    min-height: 44px;
    padding-top: 8px;
    padding-bottom: 8px;
    box-sizing: border-box;
  }
  #thrive-footer img,
  .thrv_footer img,
  footer img {
    max-width: 140px !important;
    height: auto !important;
  }
}
