* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /*padding and border does not affect actual width and height */
    font-size: 16px;
  }

html {
  font-size: 62.5%;
  height: 100%;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url(Roboto/Roboto-Light.ttf);
}
@font-face {
  font-family: 'Robotolight';
  font-style: normal;
  font-weight: 100;
  src: url(Roboto/Roboto-Thin.ttf);
}
@font-face {
  font-family: 'Robotobold';
  font-style: normal;
  font-weight: 400;
  src: url(Roboto/Roboto-Medium.ttf);
}

body {
  font-family: 'Roboto';
  font-weight: 300;
  background-color: white;
  height: 100%;
  overflow-y: scroll;/*scrollbar displayed always*/
  overflow-x: hidden;
  overflow: overlay;
}
::-webkit-scrollbar-thumb {
  background: transparent;
  width: 0px;
}

::-webkit-scrollbar-track {
  background: transparent;
}
body::-webkit-scrollbar {
  background-color: transparent;
  width: 0px;

}
.menuopen::-webkit-scrollbar {
  background-color: black               /* width of the entire scrollbar */
}
.heading1 {
  font-size: 30px;
  font-weight: 300;
} 
.heading2 {
  font-size: 16px;
}
/*Menu bar */ 

.menu {
  background-color: transparent;
  color: black;
  position: fixed;
  max-height: 70px;
  height: 12%;
  min-height: 30px;
  width: 100%;
  padding-left: 5%;
  padding-right: 5%;
  left: 0;
  top: 0;
  z-index: 100;
  transition: all 300ms ease-in-out; /* scroll stuff*/
  display: flex; 
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

}
.menulogo {
  height: 25px;
  width: auto;
  background-repeat: no-repeat;
  background-size: cover; /* it is as tall and wide as the div */
  background-position: center center; 
  transition: all 300ms ease-in-out;
}
.menubar {
  background-color: transparent; 
  height: 29.7px;
  width: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  
  
}
.bar1 {
  background-color: black;
  width: 100%;
  height: 1.9px;
  
}

.menuopen {
  transform: translateX(-100%);
  color: gray;
  background-color: black;
  width: 100hv;
  min-width: 350px;
  height: auto;
  min-height: 100%;
  bottom: 0;
  top:0;
  gap:10px;
  z-index: 101;
  transition: transform 300ms ease;
  display: flex; 
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  overflow-y:scroll; /*scrollbar geht weg wenn man ihn nicht braucht */
  position: fixed; /*dafür das man wenn sich das menü öffnet nur man das menü scrollen kann fortsetzung ist beim content1*/
}
#menuOpenBlog {
  display: flex;
  flex-direction: row;
  background-color: transparent;
  justify-content: space-between;
  height: 85px;
  margin-top: -25px;
  margin-bottom: -25px;
  padding-top: 25px;
  overflow: visible;
  position: relative;
  margin-left: -20px;
  padding-left: 20px;
}
#blogEntries {
  display: flex;
  flex-direction: column;
  transition: transform 300ms ease;
  display: none;
  gap: 10px;
  background-color: transparent;
  margin-right: 5%;
  margin-top: -50px;
  height: 300px;
  position: absolute;
  right: 0;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 30px;
  text-align: right;
}

.blogEntry {
  font-size: 16px;
  color: gray;
}
.blogEntry:hover {
  color: white;
  transition-duration: 300ms;
}
.menuopen::-webkit-scrollbar {
  background-color: black; /*scrollbar gets black*/
}

.menuopentop{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-width: 100%;
  width: auto;
  padding-top: 10px;
  height: 70px;
  top: 0;
  z-index: 5;
  opacity: 1;
}
.menuclosecross {
  font-size: 50px;
  color: gray;
  transform: rotate(45deg);
  font-weight: 100;
  margin-right: 5%;
  font-family: 'Robotolight';
}

.menuclosecross:hover {
  color: white;
  transition-duration: 300ms;
}

.anmelden {
  display: flex; 
  flex-direction: row;
  background-color: transparent;
  gap: 10px;
  align-items: center;
  margin-left: 40px;
  text-decoration: none;
}

.anmeldentext {
  display: flex;
  flex-direction: row;
  gap: 5px;
}
.loginnormal {
  font-size: 16px;
  color:white;
  text-decoration: none;
}
.loginpremium {
  font-size: 16px;
  color:white;
  text-decoration: none;
}
.loginslash {
  font-size: 16px;
  color:white;
}

.loginpremium:hover {
  color: gray;
  transition-duration: 300ms;
}
.loginnormal:hover {
  color: gray;
  transition-duration: 300ms;
}


.menuopenbottom {
  bottom: 0;
  font-size: 16px;
  display: grid;
  grid-template-rows: 50% 50%; 
  grid-template-columns: 120px 60px;
  grid-column-gap: 30px;
  grid-row-gap: 5px;
  padding-left: 40px;
  padding-right: 15%;
  padding-top: 10px;
  padding-bottom: 10px;
  z-index: 5;
  width: 100%;
  height: 70px;
  z-index: 5;
  opacity: 1;
}
.mbt {
  color: gray;
  text-decoration: none;
}

.mbt:hover {
  color: white;
  text-decoration: underline;
  transition-duration: 300ms;
  
}

.menuopenmiddle {
  font-size: 30px;
  background-color: black;
  font-weight: 300;
  display: flex; 
  flex-direction: column;
  justify-content: end;
  gap: 25px;
  z-index: 1;
  font-weight: 350;
  padding-left: 40px;
  margin-bottom: 10px;
  margin-top: 10px;
}
.menuopenmiddletext {
  font-size: 30px;
  height: 35px;
}
.menuopenmiddletextdouble {
  font-size: 30px;
}

.menuopenmiddletext:hover {
  color: white;
  transition-duration: 100ms;
}



.material-icons {
  color: #FE7316;
  font-size: 18px;
}

content {
  display: flex; 
  flex-direction: column;
}

.contentmenuopen1 {
  overflow: hidden;
  position: fixed; /*man kann nur das menu scrollen den body scrollbar kann man nicht mehr verwenden */
  
}
/* content 1 */
.c1 {
    background-color: white;
    width: 90%;
    height:auto;
    margin-inline: 5%;
    margin-bottom: 80px;
    margin-top: 90px; 
    display: flex;
    flex-direction: column;
}
.c11 {
    font-size: 30px;
    position: relative;
    padding-bottom: 10px;
}
.c11::after {
    content: '';
    background-color: black;
    position: absolute; 
    height: 2px;
    width: 40px;
    border-radius: 15px;
    bottom: -60px;
    left: 3px;
}



.c12 {
    font-size: 16px;
    color: black ;
    background-color: transparent;
    margin-top: 15px;
    display: flex;
    flex-direction: row;
}
.c1mi {
  margin-right: 3px;
  background-image: url(my_icons/expand_more_black_24dp.svg);
  width: 20px;
  height: 17px;
  background-repeat: no-repeat;
  background-size: cover; /* it is as tall and wide as the div */
  background-position: center center; 
}

.c13 {
  background-color: transparent;
  transform: translateY(5px);
}
.c13shadow {
  box-shadow:  0px 0px 5px rgba(0,0,0,0.4);
  margin-left: 120px;
  width: 130px;
  position: absolute;
  z-index: 99;
}
.c14 {
  padding: 5px;
}

.c14flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.c15 {
  width: 130px;
  padding-top: 0px;
  background: white;
  display: none; 
  flex-direction: column;
}
.c15show {
  display: flex; 
}
.c16 {
  padding-top: 5px;
  padding-bottom: 5px;
   padding: 5px;
}
.c16:hover {
  background-color: rgba(0,0,0,0.1);
 
}

/*content 2*/
.c2 {
  margin-top: 30px;
  margin: 5%;
  margin-bottom: min(5%, 50px);
  width: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background-color:  #f3f3f3;
}

.c21 {
  background-color: white;
  width: 100px;
  height: auto;
  display: flex;
  padding: 5px;
  flex-direction: column;
  justify-content: center;
  text-align: justify; 
  box-shadow: 0 0 5px rgba(0,0,0,0.6);
}
#c21img {
  background-image: url(bilder/ex8di.png);
  background-size: 100%;
  background-repeat: no-repeat;
 /* it is as tall and wide as the div */
  background-position: center top;
  transition: 200ms background-size;
}
#c21img:hover {
  background-size: 110%;
  background-position: center;
  
}
#c22img {
  background-image: url(bilder/ex4diai.png);
  background-repeat: no-repeat;
  background-size: 100%; /* it is as tall and wide as the div */
  background-position: center center;
  transition: 200ms background-size;
}
#c22img:hover {
  background-size: 110%;
  background-position: center;
}
#c23img {
  background-image: url(bilder/ex4do.png);
  background-repeat: no-repeat;
  background-size: 100%; /* it is as tall and wide as the div */
  background-position: center center;
  transition: 200ms background-size;
}
#c23img:hover {
  background-size: 110%;
  background-position: center;
}
#c24img {
  background-image: url(bilder/pm.png);
  background-repeat: no-repeat;
  background-size: 100%; /* it is as tall and wide as the div */
  background-position: center top;
  transition: 200ms background-size;
}
#c24img:hover {
  background-size: 110%;
  background-position: top;
}
#c25img {
  background-image: url(bilder/bb.png);
  background-repeat: no-repeat;
  background-size: 100%; /* it is as tall and wide as the div */
  background-position: center center;
  transition: 200ms background-size;
}
#c25img:hover {
  background-size: 110%;
  background-position: center;
}
.c21heading {
  text-align: center;
  margin-top: 10px;
  padding-bottom: 5px;
  margin-bottom: 5px;
  font-weight: 400;
  position: relative;
}
.c21heading::after {
  content: "";
  background-color: black;
  height: 1px;
  width: 30%;
  position: absolute;
  bottom: 0;
  left: 35%;
}
.c211 {
  text-align: center;
}
/* content 2 overlay*/
.overlay {
  position: fixed;
  overflow-y: auto;/*not working rn*/
  overflow-x: hidden;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  visibility:  hidden;
  z-index: 100;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}
.popupinhalt {
  box-shadow: 0 0 10px rgba(0,0,0,0.6);
  position: relative;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
  min-width: 300px;
  min-height: 600px;
  max-width: 700px;
  width: 60%;
  height: auto;
  background-color: white;
  z-index: 400;
  margin-top: 25px;
  margin-left: 50%;
  transform: translateX(-50%);
  margin-bottom: 25px;
  padding: 15px;
}
.oc21close {
  position: absolute;
  right: 13px;
  top: 0;
  font-weight: 100;
  font-size: 50px;
  color: gray;
  transform: rotate(45deg);
  font-family: 'Robotolight';
}
.oc21close:hover {
  color: black;
}
.oc21img {
  background-image: url(bilder/ex8di.png);
  background-repeat: no-repeat;
  background-size: contain; /* it is as tall and wide as the div */
  background-position: center center;
  margin-left: 50%;
  transform: translate(-50%);
}
.oc22img {
  background-image: url(bilder/ex4diai.png);
  background-repeat: no-repeat;
  background-size: contain; /* it is as tall and wide as the div */
  background-position: center center;
  margin-left: 50%;
  transform: translate(-50%);
}
.oc23img {
  background-image: url(bilder/ex4do.png);
  background-repeat: no-repeat;
  background-size: contain; /* it is as tall and wide as the div */
  background-position: center center;
  margin-left: 50%;
  transform: translate(-50%);
}
.oc24img {
  background-image: url(bilder/pm.png);
  background-repeat: no-repeat;
  background-size: contain; /* it is as tall and wide as the div */
  background-position: center center;
  margin-left: 50%;
  transform: translate(-50%);
}
.oc25img {
  background-image: url(bilder/bb.png);
  background-repeat: no-repeat;
  background-size: contain; /* it is as tall and wide as the div */
  background-position: center center;
  margin-left: 50%;
  transform: translate(-50%);
}

.oc21heading {
  text-align: center;
}
.oc211 {
  text-align: left;
}
.oc213 {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-left: 7px;
  width: 100%;
  position:relative; 
  padding-top: 10px;
  text-align: justify;
  text-align-last: none;
}
  
.oc21a {
  text-decoration: none;
  color: black;
  font-weight: 400;
  transition: transform 300ms;
  position: relative;

}

.oc21a:hover {
  text-decoration: underline;
  color: black;
}

.oc214 {
  display: flex;
  flex-direction: row;
  gap: 10px;

}

/* content 3 Metering-to-go */
.c3 {
  margin: 5%;
  margin-top: min(5%, 50px);
  margin-bottom: min(2%, 20px);;
  text-align: justify;
	text-align-last: none;
}
.c3heading {
  padding-bottom: 5px;
}
.c3subheading::after {
  position: absolute;
  content: '';
  background-color: black;
  height: 2px;
  width: 40px;
  border-radius: 15px;
  left: 3px;
  bottom: 0;
}
.c3subheading {
  position: relative;
  padding-bottom: 10px;
  font-size: 16px;
  color: black;
}
.c31 {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  background-color: white;
}
.c31all {
  display: flex;
  flex-direction: row;
}
.c31text {
  display: flex;
  flex-direction: column;
}
.c32 {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
}

.c32 a {
  font-weight: 400;
  color: black;
  text-decoration: none;
}
.c32 a:hover {
  text-decoration: underline;
}
.c33 {
  display: flex;
  flex-direction: row;
  gap: 7px;
}
.c31img {
  background-image: url(bilder/work_black_24dp.svg);
  width:150px;
  height: 150px;
  background-repeat: no-repeat;
  background-size: contain; /* it is as tall and wide as the div */
  background-position: top center;
}
/*content 4 Relmatic */
.c4 {
  margin: 5%;
  margin-top: min(5%, 50px);
  margin-bottom: 7min(5%, 50px);
  text-align: justify;
	text-align-last: none;
}
.c41 {
  display: flex;
  flex-direction: column;
}
.c41text {
  display: flex;
  flex-direction: row-reverse;
  height: auto;
  justify-content: space-between;
  align-items: start;
  padding-top: 20px;
  background-color: antiquewhite;
  position: relative;
}
.c41img {
  background-image: url(bilder/relmaticp.gif);
  float: right;
  background-repeat: no-repeat;
  background-size: contain; /* it is as tall and wide as the div */
  background-position: top center;
  height: 157px;
  width: 200px;
  background-color: transparent;
  margin-left: 20px;
  margin-bottom: 20px;
}

.c41subhead {
  font-weight: 400;
  padding-top: 20px;
  padding-bottom: 5px;
  position: relative;
}
.c41li {
  margin-top: 10px;
  margin-bottom: 10px;
  list-style: none;

}
.c41li1::before {
  content: 'KBD-2:';
  font-weight: 400;
  margin-right: 10px;
  padding-bottom: 30px;
  
}
.c41li2::before {
  content: 'KBD-1/L:';
  font-weight: 400;
  margin-right: 10px;
  padding-bottom: 30px;
}
.c41li3::before {
  content: 'WDR-2:';
  font-weight: 400;
  margin-right: 10px;
  padding-bottom: 30px;
}
.c41li4::before {
  content: 'ZRM-103:';
  font-weight: 400;
  margin-right: 10px;
  padding-bottom: 30px;
}
#c41headtext {
  padding-top: 10px;
}

/* Scroll Stuff*/

.scroll-down .menu {
  transform: translate3d(0, -100%, 0);
}

.scroll-up .menu{
 background-color: black;
}

.scroll-up .bar1 {
  background-color: white;
}

.scroll-top .menu {
  background-color: transparent;
}
/*arrow stuff */
.myContainer {
  width: 25px;
  height: 20px;
  position: relative;
  background:transparent;
  overflow: hidden;
  align-items: center;
  padding-top: 5px;
  margin-bottom: 4px;
}
.RAR_arrow {
  position: absolute;
  width: 18px;
  height: 13px;
}
.arrow-normal  {
  width: 18px;
  height: 13px;
  margin-top: 3px;
}
.material-icons {
  filter:  invert(0%) opacity(100%);
  width: 30px;
  height: 30px;
 
}

/*botttom Webpage */
*::bevor, *::after {box-sizing:border-box}

.c5 {
    background-color: rgb(236, 237, 231);
    width: 100%;
    height: 100%;
    padding: 5%;
}
/*top */


.c5t2 {
    background-color: black;
    color: white;
    font-size: 16px;
    padding-top: 8px;
    padding-bottom: 10px;
    padding-inline: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    width: max-content;
}





/*middle*/
.c5m1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1.1px solid black;
    font-size: 16px;
    padding-left: 3px;
    background-color: transparent;
    z-index: 6;
}
.c5m2 {
    background-color: transparent;
    display: flex; 
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    transition: all 1s;
}
.c5m3{
    font-size: 30px;
    font-weight: 100;
    font-family: 'Robotolight';
    margin-right: 0px;
    transition: transform 300ms; /*die transition ist nur für die transform sachen der rest wird nicht verzögert*/
    line-height: 35px; /* macht höhe vom div streifen gleich hoch egal was für eine fontsize content hat*/
}
.c5m4 {
    height: 0px;
    transition-property: height;
    background-color: transparent;
    transition-duration: 700ms;
    overflow:hidden;
    font-weight: 300;
    
}
.c5m4 a {
    color:black;
    text-decoration: none;
}
.c5m4 a:hover {
    font-weight: 400;
    font-family: 'Robotobold';
}
/* middle lep*/

#c5m4lep {
    display: flex;
    flex-direction: column;
}
#c5m4lep a {
    padding-top: 7px;
    padding-bottom: 7px;
}
 /*middle Kontakt */
 
#c5m4kontakt {
    display: flex;
    flex-direction: row;
    background-color: transparent;
    height: 0;
   
    
}
#c5m4kontakt img {
    width: 35%;
    height: 100%;
    margin: 10px;
}

#c5m4kontakt div {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    margin-top: 10px;
}
.c5m41 {
    margin-left: 15px;
    font-weight: 400;
    margin-bottom: 7px;
    transition: transform 200ms;
    position: relative;
    background-color: transparent;
    display: inline-block;
}
.c5m41:hover {
    text-decoration: underline;
}
.c5m41::after {
    content: '';
    position: absolute;
    display: block;
    background-color: blue;
    height: 1px;
}

#c5m4kontakt table {
    border-spacing: 15px 15px;
}
#c5m4kontakt table td {
    vertical-align: top;
}

/* middle Vertriebskanäle */
#c5m4vertriebskanäle {
    display: flex; 
    flex-direction: column;
}
#c5m4vertriebskanäle a {
    padding-top: 7px;
    padding-bottom: 7px;
}

/* middle Anleitungen */ 
#c5m4anleitungen {
    display: flex; 
    flex-direction: column;
}
#c5m4anleitungen a {
    padding-top: 7px;
    padding-bottom: 7px;
}

/*middle Impressum & AGB */

#c5m4agb {
    display: flex;
    flex-direction: row;

}
.c5m4impressum {
    font-weight: 400;
    width: 100%;
    display: flex;
    flex-direction: column;
    display: block;
}

.c5m4impressum div{
    font-weight: 300;
    display: block;
    margin-top: 20px;
}
.c5m41impressum {
    margin-top: 20px;
    margin-bottom: 10px; 
}
.c5m4impressum table {
    border-spacing: 15px 15px;
    font-weight: 300;
}

.c5m4impressum table td {
    vertical-align: top;
}
.c5m4agb {
    font-weight: 400;
    width: 100%;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
  
   
}
.c5m4agb div {
    font-weight: 300;
    margin-top: 20px;
    margin-bottom: 10px; 
}
.c5m4agb a {
    padding: 7px;
    padding-left: 30px;
    font-weight: 300;
}

.c5m4agb a:hover  {
    font-weight: 400;
    font-family: 'Robotobold';
}

/*bottom*/
.c5b {
  margin-top: 20px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  font-size: 11px;
  color: gray;

}
.c5b1 {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
  color: black;
  background-color: transparent;
  width: max-content;
}
.c5b2 {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
gap: 7px;
}
.c5b3 {
font-size: 12px; padding-top: 2px; padding-left: 5px;
}
@media screen and (max-width: 601px) { 
  #c5m4agb {
    flex-direction: column-reverse;
  }
  .c5m4agb div {
    font-weight: 300;
    margin-top: 10px;
    margin-bottom: 10px; 
  }
  .c5m4agb a {
    padding: 7px;
    padding-left: 15px;
    font-weight: 300;
    text-decoration: underline;
  }
  .c5m4agb {
    padding-left: 0px;
  }
  .c5m4impressum {
    margin-top: 20px;
  }
  .c5m41impressum {
    margin-top: 5px;
  }
  .c5m4impressum div{
    font-weight: 300;
    display: block;
    margin-top: 10px;
  }
}
@media screen and (max-width: 401px) {
  .body::-webkit-scrollbar {
    background-color: transparent;
  }
  .menuopen {
    min-width: 100%;
  }
  #c5m4kontakt {
    display: flex;
    flex-direction: column;
    }
  #c5m4kontakt img {
    width: 50%;
    margin-left:25%;
  }
  .c5m4impressum table td {
    font-size: 14px;
  }
  .c41img {
    float: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }
  .c2 {
    gap: 13px;
  }

}

/*intersection observer*/


