/*
Theme Name: hello-child
Description: CSS Reparaturinitiative
Author: tp
Author URI: https://angenehme-gestaltung.de
Author Email: mail@thorstenprobst.de
Version: 1.0.0
Text Domain: hello-elementor-child
Template: hello-elementor
*/


/*
custom styles 
*/

html {
  font-size: 16px;
}

/* Headroom - Header-höhe automatisch erkennen und als Variable setzen */

:root {
  --header-height: 100px; 
}

.hero-container {
  padding-top: var(--header-height);
}

/*.e-parent {margin-bottom: 4rem!important;}*/

p {
  line-height: 1.7;
}

p a {
  font-size: 1rem!important;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 2px dotted var(--e-global-color-primary);
}

p a:hover {
  color: var(--e-global-color-6466990);
  border-bottom: 2px dotted var(--e-global-color-6466990);
}

h2 {margin: 2rem 0;}
h3 {letter-spacing: -0.02rem;}

ul, ol {padding-left: 1rem;}
ul {list-style: square;}

li {
   margin-bottom: 0.5rem;
}

.button_small a {
  padding: 6px 12px;
  margin: 0.25rem;
  border-color: var(--e-global-color-primary)!important;
  background-color: var(--e-global-color-primary)!important;
}

.button_small a:hover, .button_small a:focus {
  color: var(--e-global-color-primary)!important;
  border-color: var(--e-global-color-primary)!important;
  background-color: white!important;
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem; /* Abstand vertikal / horizontal, ersetzt margin-Gefrickel */
}

.button_small .hero a {
  border-color: transparent;
  background-color: transparent!important;
  color: var(--e-global-color-primary)!important;
}

.button_small .hero a:hover {
  color: var(--e-global-color-primary)!important;
  border-color: white!important;
  background-color: white!important;
}

.button-container > * {
  flex: 0 0 auto; /* verhindert, dass Buttons gestaucht oder gestreckt werden */
}

.infobox p, .infobox .elementor-icon-list-text {
  font-size: 1rem;
  line-height: 1.5rem;
}


/* Formatierung für Fristen / h2 für Hero, h3 & h4 für content, je nach Kontext */

.frist-box h2, .frist-box h3, .frist-box h4 {
  font-size: 2.2rem!important;
  font-weight: 600!important;
  line-height: 2.6rem!important;
  font-family: var(--e-global-typography-primary-font-family), Sans-serif!important;
} 

.icon_mail .elementor-icon {
  background-color: white;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; 
}

.icon_mail .elementor-icon svg {
  max-width: 60%;
  max-height: 60%;
  width: auto;
  height: auto;
}


.large-list ol {
  list-style: none;
  padding-left: 0;
  counter-reset: large-list-counter;
}

.large-list ol > li {
  counter-increment: large-list-counter;
  display: grid;
  grid-template-columns: 70px 1fr;
  column-gap: 2.5rem;
  row-gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.large-list ol > li::before {
  content: counter(large-list-counter);
  background-color: var(--e-global-color-95fcc1e);
  color: white;
  font-size: 45px;
  font-weight: 600;
  line-height: 1;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  grid-column: 1;
  grid-row: 1 / span 2;
}

.large-list ol > li h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}


.off-canvas-footer li a, footer li a, .off-canvas-navi li a {
  padding: 0 0 0.25rem 0 !important;
  /*margin: 0 2rem 2rem 0 !important;*/
  line-height: 1.4 !important;
  text-decoration-line: underline !important;
  text-decoration-style: dotted !important;
  text-decoration-color: transparent !important;
  text-underline-offset: 8px !important;
  text-decoration-thickness: 2px !important;
}

.off-canvas-footer li a:hover, .off-canvas-footer li a:active,
footer li a:hover, footer li a:active,
.off-canvas-navi li a:hover, .off-canvas-navi li a:active {
  line-height: 1.4 !important;
  text-decoration-color: white !important;
  color: white !important;
}

.off-canvas-navi .elementor-item::before,
.off-canvas-navi .elementor-item::after,
.off-canvas-footer .elementor-item::before,
.off-canvas-footer .elementor-item::after {
  display: none !important;
  content: none !important;
}

.off-canvas-navi li a {
  margin-bottom: 1.5rem;
}

.off-canvas-footer li a {
  margin-bottom: 1rem;
}

.big-link a {
  display: inline-flex!important;
  align-items: center!important;
  justify-content: center!important;
  min-width: 44px!important;
  min-height: 44px!important;
  padding: 0.5rem 0.75rem!important; /* echtes Padding statt fixem px-Wert, flexibel je nach Textlänge */
  box-sizing: border-box!important;
}

.img-opacity {opacity: 0.25;}

.header_underline p {
    display: inline;
    background-color: white;
    padding: 0.2rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    line-height: 1.8; /* Etwas mehr Zeilenhöhe für bessere Lesbarkeit */
}



/* burger menue */

.site-navigation-toggle-holder {
    align-items: flex-start;
    padding: 0!important;
  }





/* headroom  */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.5s ease-in-out;
}

header.headroom--unpinned {
    top: -120px; /* ersetzen: exakte Höhe deines Headers in px, negativ */
}

header.headroom--pinned {
    top: 0;
}

/* headroom logo und header-bg oben ausblenden, auf der seite einblenden */

.header-container {
    background-image: none!important;
}

  .header-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--e-global-color-b8a3d27);
    opacity: 0!important;
    transition: opacity 0.4s ease 0.5s; 
    pointer-events: none;
}

  .headroom--not-top .header-container::before {opacity: 1!important;}

  .headroom--top .header-container::before {opacity: 0!important;}

  .header-logo {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease 0.5s;
}

  .headroom--not-top .header-logo {
    opacity: 1;
    visibility: visible;
}

/* Responsive styles for views below 750px */

@media (max-width: 1024px) {

  .elementor-8 .elementor-element.elementor-element-eeeea53 {
        margin: 70% 0% calc(var(--kit-widget-spacing, 0px) + 0%) -10%;
      }

  
}


/* Responsive styles for views below 750px */

@media (max-width: 749px) {
  
  .site-description {display: none}

  .large-list ol > li {
    grid-template-columns: 40px 1fr;
    column-gap: 1.2rem;
  }

  .large-list ol > li::before {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
  }

  .frist-box h2, .frist-box h3, .frist-box h4 {
    font-size: 1.8rem!important;
    font-weight: 600!important;
    line-height: 2rem!important;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif!important;
  } 

  .frist-box .large-header h3 {
    font-size: 1.5rem!important;
    line-height: 1.8rem!important;
  }

    .elementor-8 .elementor-element.elementor-element-eeeea53 {
      margin: 148% 0% calc(var(--kit-widget-spacing, 0px) + 0%) -36%;
    }

    .elementor-element-eeeea53 img {
    width: 110%;
    max-width: none;
    height: auto;
  }
}

