/*
Theme Name: Hello Elementor Child
description: >-
  A child theme of the Hello Elementor WordPress
Author: Hingucker GmbH
Author URI: http://hingucker.ch
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

html {
    font-size: 17px;
	scroll-padding-top: 100px;
}

@media screen and (max-width: 1023px) {
	html {
		font-size: 16px;
	}
}

body {
    font-size: 1rem;
}

/* Elementor Checkbox Atom (Checkmark) */
/* Probably a bug in elementor forces us to add these custom styles here.
 * The checkmarks are not visible otherwise. */
.elementor .e-form-checkbox-base::before {
    width: 1em;
    height: 1em;
	transform: translate(-50%, -50%);
}

/* Grundlage */
.mbiz-step { position: relative; }
.mbiz-step .elementor-widget-icon { position: relative; z-index: 1; }

/* Desktop: waagrechte Linie vom Kreis bis zum nächsten Schritt */
.mbiz-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 29px;            /* Mitte des 60-px-Kreises */
  left: 60px;           /* beginnt rechts vom Kreis */
  right: -4rem;         /* = Spaltenabstand, reicht bis zum nächsten Schritt */
  height: 2px;
  background: var(--mbiz-col-gray-300);
}

.elementor-nav-menu .sub-arrow {
	padding-left: 5px;
}

/* Tablet/Mobile: senkrechter Zeitstrahl, Kreis links, Text rechts */
@media (max-width: 1024px) {
  .mbiz-step { padding-left: var(--biz–space-xxl); min-height: 55px; }
  .mbiz-step .elementor-widget-icon {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }
  .mbiz-step:not(:last-child)::after {
    top: 55px;          /* unter dem Kreis */
    bottom: -32px;      /* = Zeilenabstand, bis zum nächsten Kreis */
    left: 26.5px;
    right: auto;
    width: 2px;
    height: auto;
  }
}

/* Mobile: grössen */
@media (max-width: 767px) {
	.mbiz-step { padding-left: var(--biz–space-xxl); min-height: 50px; }
	.mbiz-step:not(:last-child)::after {
		top: 50px;          /* unter dem Kreis */
		bottom: -32px;      /* = Zeilenabstand, bis zum nächsten Kreis */
		left: 24px;
	}
}

.elementor #netzwerk.mbiz-section {
    padding-inline: 0 !important;
}

@media (min-width: 1921px) {
    .elementor #netzwerk.mbiz-section {
        padding-inline: max(
            8%,
            calc((100vw - 1920px) / 2 + 8rem)
        ) !important;
    }
}


@media screen and (max-width: 1023px) {
	:root {
		--mbiz-fontsize-lg: 1.15rem;
		--mbiz-fontsize-xl: 1.4rem;
		--mbiz-fontsize-xxl: 1.7rem;
		--mbiz-fontsize-3xl: 2.2rem;
	}
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
	#contact-phone-button.link-button > div,
	#contact-mail-button.link-button > div {
		display: none;
	}
}