 /*
 Theme Name:   Star-Holding GmbH
 Theme URI:    https://www.diewebsupporter.de
 Description:  Star-Holding GmbH Child-Theme
 Author:       https://www.diewebsupporter.de
 Author URI:   https://www.diewebsupporter.de
 Template:     phoenix
 Version:      0.1
*/


/* inter light - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: local(''),
       url('fonts/inter-v12-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/inter-v12-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* inter medium - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: local(''),
       url('fonts/inter-v12-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/inter-v12-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* inter extrabold - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: local(''),
       url('fonts/inter-v12-latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/inter-v12-latin-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


:root {
  --gold: #CFB950;
  --grau: #3C3C3B
}


/************************************* TYPO *************************************/


*{font-family: Arial,sans-serif; color: var(--grau)}
h1,h2,h3,.introtext, .ff-zahl, .mission p{  font-family: "Inter", serif !important;}
h1,h2,h3{line-height: 1.1;font-weight: 800}
h1{font-weight: 800;font-size: 60px;position: relative;margin-bottom: 75px;}
h2{font-size: 60px;margin-bottom: 75px;position: relative;}
h3{font-size: 25px}
p{font-size: 18px;}


.introtext{
  font-size: 30px;
  line-height: 1.7;
  font-weight: 300;
}

.mission p{
  font-size: 24px;
  font-weight: 300;
}


h2::after, .hero h1::after{
    content: "";
  width: 100px;
  height: 10px;
  position: absolute;
  background-color: var(--gold);
  bottom: -40px;
  left: 0;
}
h2.mittig::after{
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}


@media(max-width:768px){
  h1{;font-size: 40px;hyphens: auto;-webkit-hyphens: auto;}
  h2{font-size: 35px}
  h3{font-size: 20px}
  .introtext{font-size: 24px}
}
@media(min-width:769px){
.chart p{font-size: 16px}
}
/************************************* HERO *************************************/

.hero{margin-bottom: 0!important;min-height: calc(100vh - 100px)!important}

.hero h1, .hero p{color: #ffffff !important;text-shadow: 0px 0px 10px rgba(0,0,0,0.37);}

.hero p{font-weight: bold;font-size: 20px;line-height: 1.3}

.hero .wp-block-button a{background-color: var(--gold)!important;color: #ffffff!important;transition: all 0.2s ease 0s;}

.hero .wp-block-button a:hover{background-color: #ffffff!important;color: var(--gold)!important;border-color: #ffffff !important;}

.hero .wp-block-group__inner-container {padding-bottom: 50px !important}


@media (max-width:1024px){
  .hero .wp-block-columns .wp-block-column{
    flex-basis: 100% !important;
  }
}
/************************************* INTRO-SECTION *************************************/

.intro-section{
   background-image: url("/wp-content/uploads/2022/09/background-left.svg"),url("/wp-content/uploads/2022/09/background-right.svg") ;
   background-repeat: no-repeat, no-repeat;
   background-position: left top, right top;
   background-size: 100px, contain;
} 


@media (min-width:769px){
  .intro-section > .wp-block-group__inner-container{
    padding-top: 200px !important;
  }
}


@media (max-width:768px){
  .intro-section{
    background-size: 0px, 40% !important
  }
}

/************************************* FUN FACTS *************************************/

.funfacts{
  border-radius: 5px;
background-color: #ffffff;
text-align: center;
}


.ff-zahl{
  font-weight: 800;
  font-size: 45px;
  margin-bottom: 5px;
}

@media(min-width:768px){
  .funfacts p{margin-bottom: 0}
}

@media (min-width:781px) and (max-width: 1050px){
  .ff-zahl{
  font-size: 30px;
  }
}
/************************************* MISSION & VISION KOMBI *************************************/

.mission{margin-bottom: 0!important}
.mission *{color: #ffffff;text-shadow: 0px 0px 4px rgba(0,0,0,0.37);}


/************************************* STÄRKEN *************************************/

.staerken-gruppe{background: linear-gradient(0deg, rgba(242,242,242,1) 0%, rgba(255,255,255,1) 100%);margin-bottom: 0!important}



.staerken .wp-block-column .wp-block-columns{ gap:1em }

@media (max-width:768px){
.staerken > .wp-block-column{margin-bottom: 25px}
.staerken .wp-block-column .wp-block-columns{ gap:0 }
}

.staerken img{width: 90%;margin-top: -25px}






/************************************* CHART *************************************/


.chart .wp-block-column {background-color: #ffffff;padding: 40px;border-radius: 4px;}
/*.chart figure{text-align: center;max-height: 120px;margin: auto;margin-bottom: 25px;aspect-ratio: 16 / 9;position: relative;}
.chart .wp-block-column img{max-height: 90px;width: 100%;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);}*/

.chart .wp-block-columns .wp-block-column{
  display: flex;
  flex-direction: column;
  -webkit-flex-direction:column;
}
.chart figure{margin-bottom: 25px;text-align: center;height:100px}
.chart .wp-block-column img{width:100%;max-width:250px;max-height:100%;object-fit: contain;width: 100%;}

.chart .wp-block-button, .chart .wp-block-button a{width: 100%;}

.chart .wp-block-columns .wp-block-column .wp-block-buttons{margin-top:auto}

@media (min-width: 782px) and (max-width: 1350px){

    .chart .wp-block-columns{ flex-wrap: wrap !important; }
    .chart .wp-block-columns > .wp-block-column{
      flex-basis: calc(50% - 2em) !important;
    }
}

/************************************* KONTAKT *************************************/


.kontakt{
   background-image: url("/wp-content/uploads/2022/10/kontakt2.svg") ;
   background-repeat:  no-repeat;
   background-position: 120% 100%;
   background-size: 800px
} 


@media (min-width: 769px) and (max-width: 1024px){
  .kontakt{
    background-position: 140% center;
    background-size: 600px
} 
}

@media (max-width: 768px){
  .kontakt{
     background: none !important;
} 
}





/************************************* BUTTON *************************************/

.wp-block-button a{border-radius: 4px!important;font-weight:700;color: var(--gold) !important; border: 1px solid var(--gold); background-color: #ffffff!important;transition: all 0.2s ease 0s;}
.wp-block-button__link:hover{background-color: var(--gold) !important; color: #ffffff !important;border: 1px solid var(--gold);}

.wp-block-button.soon a{}
.wp-block-button.soon a:hover{cursor: default;background-color: #ffffff!important;color: var(--gold)!important;}

/************************************* NAVI *************************************/

.site-header {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 999;
}

.main-navigation .main-nav ul li a{color: var(--blau)}
.mPS2id-highlight{color: var(--gold)!important}



/************************************* FOOTER *************************************/

.footer-widgets{background-color: #f2f2f2}
.footer-widgets a, .footer-widgets p{color: var(--grau);}
.footer-widgets a:hover{color: var(--gold)}
.site-info {background-color: #ffffff;}
.site-info a{color: var(--grau);}
.site-info .grid-container .copyright-bar{margin-left: auto;margin-right: 0;}
.footer-widget-1 img{padding-top:5px}


/************************************* HELPER *************************************/

img {
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
image-rendering: crisp-edges;
-ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
}

.wp-block-group:not(.funfacts) > .wp-block-group__inner-container {
  padding: 125px 40px;
}
.funfacts, .chart .wp-block-column, .wp-block-group:not(.chart) .wp-block-button a{
 -webkit-box-shadow:0px 0px 5px 3px rgba(0,0,0,0.04);
  -moz-box-shadow: 0px 0px 5px 3px rgba(0,0,0,0.04);
  box-shadow: 0px 0px 5px 3px rgba(0,0,0,0.04);
}

.wp-block-group:not(.chart) .wp-block-columns, .netzwerk{margin-bottom: 0!important}




/************************************* MOBILE OPT & DEBUG *************************************/

.staerken img{margin-bottom:25px}
@media (max-width: 781px){
  .staerken img{max-width: 100px;}
}

@media (max-width: 768px){
.wp-block-group:not(.funfacts) > .wp-block-group__inner-container {
  padding: 100px 25px;
}
.inside-header{padding-left: 25px;padding-right: 25px}

.wp-block-cover, .wp-block-cover-image{padding: 0!important}
